]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
PR libstdc++/89466 avoid slow xsltproc command in configure
[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 XMLCATALOG
673 DOT
674 DOXYGEN
675 BUILD_INFO_FALSE
676 BUILD_INFO_TRUE
677 ENABLE_FILESYSTEM_TS_FALSE
678 ENABLE_FILESYSTEM_TS_TRUE
679 baseline_subdir_switch
680 baseline_dir
681 HWCAP_CFLAGS
682 GLIBCXX_LDBL_COMPAT_FALSE
683 GLIBCXX_LDBL_COMPAT_TRUE
684 LONG_DOUBLE_COMPAT_FLAGS
685 ENABLE_CXX11_ABI_FALSE
686 ENABLE_CXX11_ABI_TRUE
687 glibcxx_cxx98_abi
688 ENABLE_DUAL_ABI_FALSE
689 ENABLE_DUAL_ABI_TRUE
690 ENABLE_VISIBILITY_FALSE
691 ENABLE_VISIBILITY_TRUE
692 libtool_VERSION
693 ENABLE_SYMVERS_SUN_FALSE
694 ENABLE_SYMVERS_SUN_TRUE
695 ENABLE_SYMVERS_DARWIN_FALSE
696 ENABLE_SYMVERS_DARWIN_TRUE
697 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699 ENABLE_SYMVERS_GNU_FALSE
700 ENABLE_SYMVERS_GNU_TRUE
701 ENABLE_SYMVERS_FALSE
702 ENABLE_SYMVERS_TRUE
703 port_specific_symbol_files
704 SYMVER_FILE
705 CXXFILT
706 LTLIBICONV
707 LIBICONV
708 OPT_LDFLAGS
709 SECTION_LDFLAGS
710 GLIBCXX_LIBS
711 ENABLE_VTABLE_VERIFY_FALSE
712 ENABLE_VTABLE_VERIFY_TRUE
713 VTV_CYGMIN_FALSE
714 VTV_CYGMIN_TRUE
715 VTV_CXXLINKFLAGS
716 VTV_PCH_CXXFLAGS
717 VTV_CXXFLAGS
718 ENABLE_WERROR_FALSE
719 ENABLE_WERROR_TRUE
720 ENABLE_PYTHONDIR_FALSE
721 ENABLE_PYTHONDIR_TRUE
722 python_mod_dir
723 ENABLE_EXTERN_TEMPLATE_FALSE
724 ENABLE_EXTERN_TEMPLATE_TRUE
725 EXTRA_CXX_FLAGS
726 GLIBCXX_BUILD_DEBUG_FALSE
727 GLIBCXX_BUILD_DEBUG_TRUE
728 DEBUG_FLAGS
729 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733 GLIBCXX_C_HEADERS_C_STD_FALSE
734 GLIBCXX_C_HEADERS_C_STD_TRUE
735 GLIBCXX_C_HEADERS_C_FALSE
736 GLIBCXX_C_HEADERS_C_TRUE
737 C_INCLUDE_DIR
738 ALLOCATOR_NAME
739 ALLOCATOR_H
740 ENABLE_ALLOCATOR_NEW_FALSE
741 ENABLE_ALLOCATOR_NEW_TRUE
742 CLOCALE_INTERNAL_H
743 CLOCALE_CC
744 CTIME_CC
745 CTIME_H
746 CNUMERIC_CC
747 CMONEY_CC
748 CMESSAGES_CC
749 CCTYPE_CC
750 CCOLLATE_CC
751 CCODECVT_CC
752 CMESSAGES_H
753 CLOCALE_H
754 USE_NLS
755 glibcxx_localedir
756 glibcxx_POFILES
757 glibcxx_MOFILES
758 check_msgfmt
759 BASIC_FILE_CC
760 BASIC_FILE_H
761 CSTDIO_H
762 SECTION_FLAGS
763 ENABLE_FLOAT128_FALSE
764 ENABLE_FLOAT128_TRUE
765 thread_header
766 glibcxx_PCHFLAGS
767 GLIBCXX_BUILD_PCH_FALSE
768 GLIBCXX_BUILD_PCH_TRUE
769 GLIBCXX_HOSTED_FALSE
770 GLIBCXX_HOSTED_TRUE
771 glibcxx_compiler_shared_flag
772 glibcxx_compiler_pic_flag
773 glibcxx_lt_pic_flag
774 enable_static
775 enable_shared
776 lt_host_flags
777 CXXCPP
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 OBJDUMP
784 NM
785 ac_ct_DUMPBIN
786 DUMPBIN
787 LD
788 FGREP
789 SED
790 LIBTOOL
791 EGREP
792 GREP
793 CPP
794 MAINT
795 MAINTAINER_MODE_FALSE
796 MAINTAINER_MODE_TRUE
797 RANLIB
798 AR
799 AS
800 LN_S
801 toplevel_srcdir
802 toplevel_builddir
803 glibcxx_srcdir
804 glibcxx_builddir
805 ac_ct_CXX
806 CXXFLAGS
807 CXX
808 OBJEXT
809 EXEEXT
810 ac_ct_CC
811 CPPFLAGS
812 LDFLAGS
813 CFLAGS
814 CC
815 AM_BACKSLASH
816 AM_DEFAULT_VERBOSITY
817 AM_DEFAULT_V
818 AM_V
819 am__untar
820 am__tar
821 AMTAR
822 am__leading_dot
823 SET_MAKE
824 AWK
825 mkdir_p
826 MKDIR_P
827 INSTALL_STRIP_PROGRAM
828 STRIP
829 install_sh
830 MAKEINFO
831 AUTOHEADER
832 AUTOMAKE
833 AUTOCONF
834 ACLOCAL
835 VERSION
836 PACKAGE
837 CYGPATH_W
838 am__isrc
839 INSTALL_DATA
840 INSTALL_SCRIPT
841 INSTALL_PROGRAM
842 target_os
843 target_vendor
844 target_cpu
845 target
846 host_os
847 host_vendor
848 host_cpu
849 host
850 build_os
851 build_vendor
852 build_cpu
853 build
854 multi_basedir
855 target_alias
856 host_alias
857 build_alias
858 LIBS
859 ECHO_T
860 ECHO_N
861 ECHO_C
862 DEFS
863 mandir
864 localedir
865 libdir
866 psdir
867 pdfdir
868 dvidir
869 htmldir
870 infodir
871 docdir
872 oldincludedir
873 includedir
874 localstatedir
875 sharedstatedir
876 sysconfdir
877 datadir
878 datarootdir
879 libexecdir
880 sbindir
881 bindir
882 program_transform_name
883 prefix
884 exec_prefix
885 PACKAGE_URL
886 PACKAGE_BUGREPORT
887 PACKAGE_STRING
888 PACKAGE_VERSION
889 PACKAGE_TARNAME
890 PACKAGE_NAME
891 PATH_SEPARATOR
892 SHELL'
893 ac_subst_files=''
894 ac_user_opts='
895 enable_option_checking
896 enable_multilib
897 enable_silent_rules
898 with_target_subdir
899 with_cross_host
900 with_newlib
901 enable_maintainer_mode
902 enable_shared
903 enable_static
904 with_pic
905 enable_fast_install
906 with_gnu_ld
907 enable_libtool_lock
908 enable_hosted_libstdcxx
909 enable_libstdcxx_verbose
910 enable_libstdcxx_pch
911 with_libstdcxx_lock_policy
912 enable_cstdio
913 enable_clocale
914 enable_nls
915 enable_libstdcxx_allocator
916 enable_cheaders
917 enable_long_long
918 enable_wchar_t
919 enable_c99
920 enable_concept_checks
921 enable_libstdcxx_debug_flags
922 enable_libstdcxx_debug
923 enable_cxx_flags
924 enable_fully_dynamic_string
925 enable_extern_template
926 with_python_dir
927 enable_werror
928 enable_vtable_verify
929 enable_libstdcxx_time
930 enable_tls
931 enable_rpath
932 with_libiconv_prefix
933 with_system_libunwind
934 enable_linux_futex
935 enable_symvers
936 enable_libstdcxx_visibility
937 enable_libstdcxx_dual_abi
938 with_default_libstdcxx_abi
939 enable_libstdcxx_threads
940 enable_libstdcxx_filesystem_ts
941 enable_cet
942 with_gxx_include_dir
943 enable_version_specific_runtime_libs
944 with_gcc_major_version_only
945 '
946 ac_precious_vars='build_alias
947 host_alias
948 target_alias
949 CC
950 CFLAGS
951 LDFLAGS
952 LIBS
953 CPPFLAGS
954 CXX
955 CXXFLAGS
956 CCC
957 CPP
958 CXXCPP
959 CXXFILT'
960
961
962 # Initialize some variables set by options.
963 ac_init_help=
964 ac_init_version=false
965 ac_unrecognized_opts=
966 ac_unrecognized_sep=
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
969 cache_file=/dev/null
970 exec_prefix=NONE
971 no_create=
972 no_recursion=
973 prefix=NONE
974 program_prefix=NONE
975 program_suffix=NONE
976 program_transform_name=s,x,x,
977 silent=
978 site=
979 srcdir=
980 verbose=
981 x_includes=NONE
982 x_libraries=NONE
983
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir='${exec_prefix}/bin'
991 sbindir='${exec_prefix}/sbin'
992 libexecdir='${exec_prefix}/libexec'
993 datarootdir='${prefix}/share'
994 datadir='${datarootdir}'
995 sysconfdir='${prefix}/etc'
996 sharedstatedir='${prefix}/com'
997 localstatedir='${prefix}/var'
998 includedir='${prefix}/include'
999 oldincludedir='/usr/include'
1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir='${datarootdir}/info'
1002 htmldir='${docdir}'
1003 dvidir='${docdir}'
1004 pdfdir='${docdir}'
1005 psdir='${docdir}'
1006 libdir='${exec_prefix}/lib'
1007 localedir='${datarootdir}/locale'
1008 mandir='${datarootdir}/man'
1009
1010 ac_prev=
1011 ac_dashdash=
1012 for ac_option
1013 do
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\$ac_option
1017 ac_prev=
1018 continue
1019 fi
1020
1021 case $ac_option in
1022 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 *=) ac_optarg= ;;
1024 *) ac_optarg=yes ;;
1025 esac
1026
1027 # Accept the important Cygnus configure options, so we can diagnose typos.
1028
1029 case $ac_dashdash$ac_option in
1030 --)
1031 ac_dashdash=yes ;;
1032
1033 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1034 ac_prev=bindir ;;
1035 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1036 bindir=$ac_optarg ;;
1037
1038 -build | --build | --buil | --bui | --bu)
1039 ac_prev=build_alias ;;
1040 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1041 build_alias=$ac_optarg ;;
1042
1043 -cache-file | --cache-file | --cache-fil | --cache-fi \
1044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1045 ac_prev=cache_file ;;
1046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1048 cache_file=$ac_optarg ;;
1049
1050 --config-cache | -C)
1051 cache_file=config.cache ;;
1052
1053 -datadir | --datadir | --datadi | --datad)
1054 ac_prev=datadir ;;
1055 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1056 datadir=$ac_optarg ;;
1057
1058 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1059 | --dataroo | --dataro | --datar)
1060 ac_prev=datarootdir ;;
1061 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1062 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1063 datarootdir=$ac_optarg ;;
1064
1065 -disable-* | --disable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 as_fn_error $? "invalid feature name: $ac_useropt"
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1073 *"
1074 "enable_$ac_useropt"
1075 "*) ;;
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1078 esac
1079 eval enable_$ac_useropt=no ;;
1080
1081 -docdir | --docdir | --docdi | --doc | --do)
1082 ac_prev=docdir ;;
1083 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1084 docdir=$ac_optarg ;;
1085
1086 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1087 ac_prev=dvidir ;;
1088 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1089 dvidir=$ac_optarg ;;
1090
1091 -enable-* | --enable-*)
1092 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid feature name: $ac_useropt"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1099 *"
1100 "enable_$ac_useropt"
1101 "*) ;;
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1104 esac
1105 eval enable_$ac_useropt=\$ac_optarg ;;
1106
1107 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1108 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1109 | --exec | --exe | --ex)
1110 ac_prev=exec_prefix ;;
1111 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1112 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1113 | --exec=* | --exe=* | --ex=*)
1114 exec_prefix=$ac_optarg ;;
1115
1116 -gas | --gas | --ga | --g)
1117 # Obsolete; use --with-gas.
1118 with_gas=yes ;;
1119
1120 -help | --help | --hel | --he | -h)
1121 ac_init_help=long ;;
1122 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1123 ac_init_help=recursive ;;
1124 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1125 ac_init_help=short ;;
1126
1127 -host | --host | --hos | --ho)
1128 ac_prev=host_alias ;;
1129 -host=* | --host=* | --hos=* | --ho=*)
1130 host_alias=$ac_optarg ;;
1131
1132 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1133 ac_prev=htmldir ;;
1134 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135 | --ht=*)
1136 htmldir=$ac_optarg ;;
1137
1138 -includedir | --includedir | --includedi | --included | --include \
1139 | --includ | --inclu | --incl | --inc)
1140 ac_prev=includedir ;;
1141 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1142 | --includ=* | --inclu=* | --incl=* | --inc=*)
1143 includedir=$ac_optarg ;;
1144
1145 -infodir | --infodir | --infodi | --infod | --info | --inf)
1146 ac_prev=infodir ;;
1147 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1148 infodir=$ac_optarg ;;
1149
1150 -libdir | --libdir | --libdi | --libd)
1151 ac_prev=libdir ;;
1152 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1153 libdir=$ac_optarg ;;
1154
1155 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1156 | --libexe | --libex | --libe)
1157 ac_prev=libexecdir ;;
1158 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1159 | --libexe=* | --libex=* | --libe=*)
1160 libexecdir=$ac_optarg ;;
1161
1162 -localedir | --localedir | --localedi | --localed | --locale)
1163 ac_prev=localedir ;;
1164 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1165 localedir=$ac_optarg ;;
1166
1167 -localstatedir | --localstatedir | --localstatedi | --localstated \
1168 | --localstate | --localstat | --localsta | --localst | --locals)
1169 ac_prev=localstatedir ;;
1170 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1171 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1172 localstatedir=$ac_optarg ;;
1173
1174 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1175 ac_prev=mandir ;;
1176 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1177 mandir=$ac_optarg ;;
1178
1179 -nfp | --nfp | --nf)
1180 # Obsolete; use --without-fp.
1181 with_fp=no ;;
1182
1183 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1184 | --no-cr | --no-c | -n)
1185 no_create=yes ;;
1186
1187 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1188 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1189 no_recursion=yes ;;
1190
1191 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1192 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1193 | --oldin | --oldi | --old | --ol | --o)
1194 ac_prev=oldincludedir ;;
1195 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1196 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1197 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1198 oldincludedir=$ac_optarg ;;
1199
1200 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1201 ac_prev=prefix ;;
1202 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1203 prefix=$ac_optarg ;;
1204
1205 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1206 | --program-pre | --program-pr | --program-p)
1207 ac_prev=program_prefix ;;
1208 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1209 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1210 program_prefix=$ac_optarg ;;
1211
1212 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1213 | --program-suf | --program-su | --program-s)
1214 ac_prev=program_suffix ;;
1215 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1216 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1217 program_suffix=$ac_optarg ;;
1218
1219 -program-transform-name | --program-transform-name \
1220 | --program-transform-nam | --program-transform-na \
1221 | --program-transform-n | --program-transform- \
1222 | --program-transform | --program-transfor \
1223 | --program-transfo | --program-transf \
1224 | --program-trans | --program-tran \
1225 | --progr-tra | --program-tr | --program-t)
1226 ac_prev=program_transform_name ;;
1227 -program-transform-name=* | --program-transform-name=* \
1228 | --program-transform-nam=* | --program-transform-na=* \
1229 | --program-transform-n=* | --program-transform-=* \
1230 | --program-transform=* | --program-transfor=* \
1231 | --program-transfo=* | --program-transf=* \
1232 | --program-trans=* | --program-tran=* \
1233 | --progr-tra=* | --program-tr=* | --program-t=*)
1234 program_transform_name=$ac_optarg ;;
1235
1236 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1237 ac_prev=pdfdir ;;
1238 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1239 pdfdir=$ac_optarg ;;
1240
1241 -psdir | --psdir | --psdi | --psd | --ps)
1242 ac_prev=psdir ;;
1243 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1244 psdir=$ac_optarg ;;
1245
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1248 silent=yes ;;
1249
1250 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1251 ac_prev=sbindir ;;
1252 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1253 | --sbi=* | --sb=*)
1254 sbindir=$ac_optarg ;;
1255
1256 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1257 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1258 | --sharedst | --shareds | --shared | --share | --shar \
1259 | --sha | --sh)
1260 ac_prev=sharedstatedir ;;
1261 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1262 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1263 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1264 | --sha=* | --sh=*)
1265 sharedstatedir=$ac_optarg ;;
1266
1267 -site | --site | --sit)
1268 ac_prev=site ;;
1269 -site=* | --site=* | --sit=*)
1270 site=$ac_optarg ;;
1271
1272 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1273 ac_prev=srcdir ;;
1274 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1275 srcdir=$ac_optarg ;;
1276
1277 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1278 | --syscon | --sysco | --sysc | --sys | --sy)
1279 ac_prev=sysconfdir ;;
1280 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1281 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1282 sysconfdir=$ac_optarg ;;
1283
1284 -target | --target | --targe | --targ | --tar | --ta | --t)
1285 ac_prev=target_alias ;;
1286 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1287 target_alias=$ac_optarg ;;
1288
1289 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1290 verbose=yes ;;
1291
1292 -version | --version | --versio | --versi | --vers | -V)
1293 ac_init_version=: ;;
1294
1295 -with-* | --with-*)
1296 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1299 as_fn_error $? "invalid package name: $ac_useropt"
1300 ac_useropt_orig=$ac_useropt
1301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302 case $ac_user_opts in
1303 *"
1304 "with_$ac_useropt"
1305 "*) ;;
1306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1307 ac_unrecognized_sep=', ';;
1308 esac
1309 eval with_$ac_useropt=\$ac_optarg ;;
1310
1311 -without-* | --without-*)
1312 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1313 # Reject names that are not valid shell variable names.
1314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315 as_fn_error $? "invalid package name: $ac_useropt"
1316 ac_useropt_orig=$ac_useropt
1317 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1318 case $ac_user_opts in
1319 *"
1320 "with_$ac_useropt"
1321 "*) ;;
1322 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1323 ac_unrecognized_sep=', ';;
1324 esac
1325 eval with_$ac_useropt=no ;;
1326
1327 --x)
1328 # Obsolete; use --with-x.
1329 with_x=yes ;;
1330
1331 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1332 | --x-incl | --x-inc | --x-in | --x-i)
1333 ac_prev=x_includes ;;
1334 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1335 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1336 x_includes=$ac_optarg ;;
1337
1338 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1339 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1340 ac_prev=x_libraries ;;
1341 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1342 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1343 x_libraries=$ac_optarg ;;
1344
1345 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1346 Try \`$0 --help' for more information"
1347 ;;
1348
1349 *=*)
1350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1351 # Reject names that are not valid shell variable names.
1352 case $ac_envvar in #(
1353 '' | [0-9]* | *[!_$as_cr_alnum]* )
1354 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1355 esac
1356 eval $ac_envvar=\$ac_optarg
1357 export $ac_envvar ;;
1358
1359 *)
1360 # FIXME: should be removed in autoconf 3.0.
1361 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1362 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1363 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1364 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1365 ;;
1366
1367 esac
1368 done
1369
1370 if test -n "$ac_prev"; then
1371 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1372 as_fn_error $? "missing argument to $ac_option"
1373 fi
1374
1375 if test -n "$ac_unrecognized_opts"; then
1376 case $enable_option_checking in
1377 no) ;;
1378 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1379 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1380 esac
1381 fi
1382
1383 # Check all directory arguments for consistency.
1384 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1385 datadir sysconfdir sharedstatedir localstatedir includedir \
1386 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1387 libdir localedir mandir
1388 do
1389 eval ac_val=\$$ac_var
1390 # Remove trailing slashes.
1391 case $ac_val in
1392 */ )
1393 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1394 eval $ac_var=\$ac_val;;
1395 esac
1396 # Be sure to have absolute directory names.
1397 case $ac_val in
1398 [\\/$]* | ?:[\\/]* ) continue;;
1399 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1400 esac
1401 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1402 done
1403
1404 # There might be people who depend on the old broken behavior: `$host'
1405 # used to hold the argument of --host etc.
1406 # FIXME: To remove some day.
1407 build=$build_alias
1408 host=$host_alias
1409 target=$target_alias
1410
1411 # FIXME: To remove some day.
1412 if test "x$host_alias" != x; then
1413 if test "x$build_alias" = x; then
1414 cross_compiling=maybe
1415 elif test "x$build_alias" != "x$host_alias"; then
1416 cross_compiling=yes
1417 fi
1418 fi
1419
1420 ac_tool_prefix=
1421 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1422
1423 test "$silent" = yes && exec 6>/dev/null
1424
1425
1426 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1427 ac_ls_di=`ls -di .` &&
1428 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1429 as_fn_error $? "working directory cannot be determined"
1430 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431 as_fn_error $? "pwd does not report name of working directory"
1432
1433
1434 # Find the source files, if location was not specified.
1435 if test -z "$srcdir"; then
1436 ac_srcdir_defaulted=yes
1437 # Try the directory containing this script, then the parent directory.
1438 ac_confdir=`$as_dirname -- "$as_myself" ||
1439 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1440 X"$as_myself" : 'X\(//\)[^/]' \| \
1441 X"$as_myself" : 'X\(//\)$' \| \
1442 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1443 $as_echo X"$as_myself" |
1444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445 s//\1/
1446 q
1447 }
1448 /^X\(\/\/\)[^/].*/{
1449 s//\1/
1450 q
1451 }
1452 /^X\(\/\/\)$/{
1453 s//\1/
1454 q
1455 }
1456 /^X\(\/\).*/{
1457 s//\1/
1458 q
1459 }
1460 s/.*/./; q'`
1461 srcdir=$ac_confdir
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 srcdir=..
1464 fi
1465 else
1466 ac_srcdir_defaulted=no
1467 fi
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1469 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1470 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1471 fi
1472 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1473 ac_abs_confdir=`(
1474 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1475 pwd)`
1476 # When building in place, set srcdir=.
1477 if test "$ac_abs_confdir" = "$ac_pwd"; then
1478 srcdir=.
1479 fi
1480 # Remove unnecessary trailing slashes from srcdir.
1481 # Double slashes in file names in object file debugging info
1482 # mess up M-x gdb in Emacs.
1483 case $srcdir in
1484 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 esac
1486 for ac_var in $ac_precious_vars; do
1487 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_env_${ac_var}_value=\$${ac_var}
1489 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1490 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1491 done
1492
1493 #
1494 # Report the --help message.
1495 #
1496 if test "$ac_init_help" = "long"; then
1497 # Omit some internal or obsolete options to make the list less imposing.
1498 # This message is too long to be a string in the A/UX 3.1 sh.
1499 cat <<_ACEOF
1500 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1501
1502 Usage: $0 [OPTION]... [VAR=VALUE]...
1503
1504 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1505 VAR=VALUE. See below for descriptions of some of the useful variables.
1506
1507 Defaults for the options are specified in brackets.
1508
1509 Configuration:
1510 -h, --help display this help and exit
1511 --help=short display options specific to this package
1512 --help=recursive display the short help of all the included packages
1513 -V, --version display version information and exit
1514 -q, --quiet, --silent do not print \`checking ...' messages
1515 --cache-file=FILE cache test results in FILE [disabled]
1516 -C, --config-cache alias for \`--cache-file=config.cache'
1517 -n, --no-create do not create output files
1518 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519
1520 Installation directories:
1521 --prefix=PREFIX install architecture-independent files in PREFIX
1522 [$ac_default_prefix]
1523 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1524 [PREFIX]
1525
1526 By default, \`make install' will install all the files in
1527 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1528 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1529 for instance \`--prefix=\$HOME'.
1530
1531 For better control, use the options below.
1532
1533 Fine tuning of the installation directories:
1534 --bindir=DIR user executables [EPREFIX/bin]
1535 --sbindir=DIR system admin executables [EPREFIX/sbin]
1536 --libexecdir=DIR program executables [EPREFIX/libexec]
1537 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1538 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1539 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1540 --libdir=DIR object code libraries [EPREFIX/lib]
1541 --includedir=DIR C header files [PREFIX/include]
1542 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1543 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1544 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1545 --infodir=DIR info documentation [DATAROOTDIR/info]
1546 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1547 --mandir=DIR man documentation [DATAROOTDIR/man]
1548 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1549 --htmldir=DIR html documentation [DOCDIR]
1550 --dvidir=DIR dvi documentation [DOCDIR]
1551 --pdfdir=DIR pdf documentation [DOCDIR]
1552 --psdir=DIR ps documentation [DOCDIR]
1553 _ACEOF
1554
1555 cat <<\_ACEOF
1556
1557 Program names:
1558 --program-prefix=PREFIX prepend PREFIX to installed program names
1559 --program-suffix=SUFFIX append SUFFIX to installed program names
1560 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1561
1562 System types:
1563 --build=BUILD configure for building on BUILD [guessed]
1564 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1565 --target=TARGET configure for building compilers for TARGET [HOST]
1566 _ACEOF
1567 fi
1568
1569 if test -n "$ac_init_help"; then
1570 case $ac_init_help in
1571 short | recursive ) echo "Configuration of package-unused version-unused:";;
1572 esac
1573 cat <<\_ACEOF
1574
1575 Optional Features:
1576 --disable-option-checking ignore unrecognized --enable/--with options
1577 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579 --enable-multilib build many library versions (default)
1580 --enable-silent-rules less verbose build output (undo: "make V=1")
1581 --disable-silent-rules verbose build output (undo: "make V=0")
1582 --enable-maintainer-mode
1583 enable make rules and dependencies not useful (and
1584 sometimes confusing) to the casual installer
1585 --enable-shared[=PKGS] build shared libraries [default=yes]
1586 --enable-static[=PKGS] build static libraries [default=yes]
1587 --enable-fast-install[=PKGS]
1588 optimize for fast installation [default=yes]
1589 --disable-libtool-lock avoid locking (might break parallel builds)
1590 --disable-hosted-libstdcxx
1591 only build freestanding C++ runtime support
1592 --disable-libstdcxx-verbose
1593 disable termination messages to standard error
1594 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1595 [default=$is_hosted]
1596 --enable-cstdio[=PACKAGE]
1597 use target-specific I/O package [default=stdio]
1598 --enable-clocale[=MODEL]
1599 use MODEL for target locale package [default=auto]
1600 --enable-nls use Native Language Support (default)
1601 --enable-libstdcxx-allocator[=KIND]
1602 use KIND for target std::allocator base
1603 [default=auto]
1604 --enable-cheaders[=KIND]
1605 construct "C" headers for g++ [default=$c_model]
1606 --enable-long-long enable template specializations for 'long long'
1607 [default=yes]
1608 --enable-wchar_t enable template specializations for 'wchar_t'
1609 [default=yes]
1610 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1611 --enable-concept-checks use Boost-derived template checks [default=no]
1612 --enable-libstdcxx-debug-flags=FLAGS
1613 pass compiler FLAGS when building debug library
1614 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1615 --enable-libstdcxx-debug
1616 build extra debug library [default=no]
1617 --enable-cxx-flags=FLAGS
1618 pass compiler FLAGS when building library [default=]
1619 --enable-fully-dynamic-string
1620 do not put empty strings in per-process static
1621 memory [default=no]
1622 --enable-extern-template
1623 enable extern template [default=yes]
1624 --enable-werror turns on -Werror [default=no]
1625 --enable-vtable-verify enable vtable verify [default=no]
1626 --enable-libstdcxx-time[=KIND]
1627 use KIND for check type [default=auto]
1628 --enable-tls Use thread-local storage [default=yes]
1629 --disable-rpath do not hardcode runtime library paths
1630 --enable-linux-futex use the Linux futex system call [default=default]
1631 --enable-symvers[=STYLE]
1632 enables symbol versioning of the shared library
1633 [default=yes]
1634 --enable-libstdcxx-visibility
1635 enables visibility safe usage [default=yes]
1636 --enable-libstdcxx-dual-abi
1637 support two versions of std::string [default=yes]
1638 --enable-libstdcxx-threads
1639 enable C++11 threads support [default=auto]
1640 --enable-libstdcxx-filesystem-ts
1641 turns on ISO/IEC TS 18822 support [default=auto]
1642 --enable-cet enable Intel CET in target libraries [default=no]
1643 --enable-version-specific-runtime-libs
1644 Specify that runtime libraries should be installed
1645 in a compiler-specific directory
1646
1647 Optional Packages:
1648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1650 --with-target-subdir=SUBDIR
1651 configuring in a subdirectory
1652 --with-cross-host=HOST configuring with a cross compiler
1653 --with-newlib assume newlib as a system C library
1654 --with-pic try to use only PIC/non-PIC objects [default=use
1655 both]
1656 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1657 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1658 synchronization policy for shared_ptr reference
1659 counting [default=auto]
1660 --with-python-dir the location to install Python modules. This path is
1661 relative starting from the prefix.
1662 --with-gnu-ld assume the C compiler uses GNU ld default=no
1663 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1664 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1665 --with-system-libunwind use installed libunwind
1666 --with-default-libstdcxx-abi
1667 set the std::string ABI to use by default
1668 --with-gxx-include-dir=DIR
1669 installation directory for include files
1670 --with-gcc-major-version-only
1671 use only GCC major number in filesystem paths
1672
1673 Some influential environment variables:
1674 CC C compiler command
1675 CFLAGS C compiler flags
1676 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1677 nonstandard directory <lib dir>
1678 LIBS libraries to pass to the linker, e.g. -l<library>
1679 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1680 you have headers in a nonstandard directory <include dir>
1681 CXX C++ compiler command
1682 CXXFLAGS C++ compiler flags
1683 CPP C preprocessor
1684 CXXCPP C++ preprocessor
1685 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1686 `c++filt', `gc++filt' on PATH.
1687
1688 Use these variables to override the choices made by `configure' or to help
1689 it to find libraries and programs with nonstandard names/locations.
1690
1691 Report bugs to the package provider.
1692 _ACEOF
1693 ac_status=$?
1694 fi
1695
1696 if test "$ac_init_help" = "recursive"; then
1697 # If there are subdirs, report their specific --help.
1698 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1699 test -d "$ac_dir" ||
1700 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1701 continue
1702 ac_builddir=.
1703
1704 case "$ac_dir" in
1705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1706 *)
1707 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1708 # A ".." for each directory in $ac_dir_suffix.
1709 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1710 case $ac_top_builddir_sub in
1711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1713 esac ;;
1714 esac
1715 ac_abs_top_builddir=$ac_pwd
1716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1717 # for backward compatibility:
1718 ac_top_builddir=$ac_top_build_prefix
1719
1720 case $srcdir in
1721 .) # We are building in place.
1722 ac_srcdir=.
1723 ac_top_srcdir=$ac_top_builddir_sub
1724 ac_abs_top_srcdir=$ac_pwd ;;
1725 [\\/]* | ?:[\\/]* ) # Absolute name.
1726 ac_srcdir=$srcdir$ac_dir_suffix;
1727 ac_top_srcdir=$srcdir
1728 ac_abs_top_srcdir=$srcdir ;;
1729 *) # Relative name.
1730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1731 ac_top_srcdir=$ac_top_build_prefix$srcdir
1732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1733 esac
1734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1735
1736 cd "$ac_dir" || { ac_status=$?; continue; }
1737 # Check for guested configure.
1738 if test -f "$ac_srcdir/configure.gnu"; then
1739 echo &&
1740 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1741 elif test -f "$ac_srcdir/configure"; then
1742 echo &&
1743 $SHELL "$ac_srcdir/configure" --help=recursive
1744 else
1745 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1746 fi || ac_status=$?
1747 cd "$ac_pwd" || { ac_status=$?; break; }
1748 done
1749 fi
1750
1751 test -n "$ac_init_help" && exit $ac_status
1752 if $ac_init_version; then
1753 cat <<\_ACEOF
1754 package-unused configure version-unused
1755 generated by GNU Autoconf 2.69
1756
1757 Copyright (C) 2012 Free Software Foundation, Inc.
1758 This configure script is free software; the Free Software Foundation
1759 gives unlimited permission to copy, distribute and modify it.
1760 _ACEOF
1761 exit
1762 fi
1763
1764 ## ------------------------ ##
1765 ## Autoconf initialization. ##
1766 ## ------------------------ ##
1767
1768 # ac_fn_c_try_compile LINENO
1769 # --------------------------
1770 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_c_try_compile ()
1772 {
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 rm -f conftest.$ac_objext
1775 if { { ac_try="$ac_compile"
1776 case "(($ac_try" in
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_compile") 2>conftest.err
1783 ac_status=$?
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1788 fi
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest.$ac_objext; then :
1794 ac_retval=0
1795 else
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1798
1799 ac_retval=1
1800 fi
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1803
1804 } # ac_fn_c_try_compile
1805
1806 # ac_fn_cxx_try_compile LINENO
1807 # ----------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_cxx_try_compile ()
1810 {
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext
1813 if { { ac_try="$ac_compile"
1814 case "(($ac_try" in
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1817 esac
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1821 ac_status=$?
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1826 fi
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_cxx_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1836
1837 ac_retval=1
1838 fi
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1841
1842 } # ac_fn_cxx_try_compile
1843
1844 # ac_fn_c_try_cpp LINENO
1845 # ----------------------
1846 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_c_try_cpp ()
1848 {
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_cpp conftest.$ac_ext"
1851 case "(($ac_try" in
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1858 ac_status=$?
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1863 fi
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } > conftest.i && {
1866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1868 }; then :
1869 ac_retval=0
1870 else
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1873
1874 ac_retval=1
1875 fi
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1878
1879 } # ac_fn_c_try_cpp
1880
1881 # ac_fn_c_try_link LINENO
1882 # -----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_c_try_link ()
1885 {
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 rm -f conftest.$ac_objext conftest$ac_exeext
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>conftest.err
1896 ac_status=$?
1897 if test -s conftest.err; then
1898 grep -v '^ *+' conftest.err >conftest.er1
1899 cat conftest.er1 >&5
1900 mv -f conftest.er1 conftest.err
1901 fi
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && {
1904 test -z "$ac_c_werror_flag" ||
1905 test ! -s conftest.err
1906 } && test -s conftest$ac_exeext && {
1907 test "$cross_compiling" = yes ||
1908 test -x conftest$ac_exeext
1909 }; then :
1910 ac_retval=0
1911 else
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=1
1916 fi
1917 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1918 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1919 # interfere with the next link command; also delete a directory that is
1920 # left behind by Apple's compiler. We do this before executing the actions.
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status $ac_retval
1924
1925 } # ac_fn_c_try_link
1926
1927 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1928 # -------------------------------------------------------
1929 # Tests whether HEADER exists and can be compiled using the include files in
1930 # INCLUDES, setting the cache variable VAR accordingly.
1931 ac_fn_c_check_header_compile ()
1932 {
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1938 else
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1941 $4
1942 #include <$2>
1943 _ACEOF
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 eval "$3=yes"
1946 else
1947 eval "$3=no"
1948 fi
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 fi
1951 eval ac_res=\$$3
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955
1956 } # ac_fn_c_check_header_compile
1957
1958 # ac_fn_c_try_run LINENO
1959 # ----------------------
1960 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1961 # that executables *can* be run.
1962 ac_fn_c_try_run ()
1963 {
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_link"
1966 case "(($ac_try" in
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1969 esac
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_link") 2>&5
1973 ac_status=$?
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1976 { { case "(($ac_try" in
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_try") 2>&5
1983 ac_status=$?
1984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1985 test $ac_status = 0; }; }; then :
1986 ac_retval=0
1987 else
1988 $as_echo "$as_me: program exited with status $ac_status" >&5
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1991
1992 ac_retval=$ac_status
1993 fi
1994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 as_fn_set_status $ac_retval
1997
1998 } # ac_fn_c_try_run
1999
2000 # ac_fn_c_check_func LINENO FUNC VAR
2001 # ----------------------------------
2002 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2003 ac_fn_c_check_func ()
2004 {
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \${$3+:} false; then :
2009 $as_echo_n "(cached) " >&6
2010 else
2011 if test x$gcc_no_link = xyes; then
2012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2013 fi
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2016 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2018 #define $2 innocuous_$2
2019
2020 /* System header to define __stub macros and hopefully few prototypes,
2021 which can conflict with char $2 (); below.
2022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2023 <limits.h> exists even on freestanding compilers. */
2024
2025 #ifdef __STDC__
2026 # include <limits.h>
2027 #else
2028 # include <assert.h>
2029 #endif
2030
2031 #undef $2
2032
2033 /* Override any GCC internal prototype to avoid an error.
2034 Use char because int might match the return type of a GCC
2035 builtin and then its argument prototype would still apply. */
2036 #ifdef __cplusplus
2037 extern "C"
2038 #endif
2039 char $2 ();
2040 /* The GNU C library defines this for functions which it implements
2041 to always fail with ENOSYS. Some functions are actually named
2042 something starting with __ and the normal name is an alias. */
2043 #if defined __stub_$2 || defined __stub___$2
2044 choke me
2045 #endif
2046
2047 int
2048 main ()
2049 {
2050 return $2 ();
2051 ;
2052 return 0;
2053 }
2054 _ACEOF
2055 if ac_fn_c_try_link "$LINENO"; then :
2056 eval "$3=yes"
2057 else
2058 eval "$3=no"
2059 fi
2060 rm -f core conftest.err conftest.$ac_objext \
2061 conftest$ac_exeext conftest.$ac_ext
2062 fi
2063 eval ac_res=\$$3
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067
2068 } # ac_fn_c_check_func
2069
2070 # ac_fn_cxx_try_cpp LINENO
2071 # ------------------------
2072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2073 ac_fn_cxx_try_cpp ()
2074 {
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 if { { ac_try="$ac_cpp conftest.$ac_ext"
2077 case "(($ac_try" in
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2080 esac
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2084 ac_status=$?
2085 if test -s conftest.err; then
2086 grep -v '^ *+' conftest.err >conftest.er1
2087 cat conftest.er1 >&5
2088 mv -f conftest.er1 conftest.err
2089 fi
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; } > conftest.i && {
2092 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2093 test ! -s conftest.err
2094 }; then :
2095 ac_retval=0
2096 else
2097 $as_echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.$ac_ext >&5
2099
2100 ac_retval=1
2101 fi
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 as_fn_set_status $ac_retval
2104
2105 } # ac_fn_cxx_try_cpp
2106
2107 # ac_fn_cxx_try_link LINENO
2108 # -------------------------
2109 # Try to link conftest.$ac_ext, and return whether this succeeded.
2110 ac_fn_cxx_try_link ()
2111 {
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 rm -f conftest.$ac_objext conftest$ac_exeext
2114 if { { ac_try="$ac_link"
2115 case "(($ac_try" in
2116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2117 *) ac_try_echo=$ac_try;;
2118 esac
2119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2120 $as_echo "$ac_try_echo"; } >&5
2121 (eval "$ac_link") 2>conftest.err
2122 ac_status=$?
2123 if test -s conftest.err; then
2124 grep -v '^ *+' conftest.err >conftest.er1
2125 cat conftest.er1 >&5
2126 mv -f conftest.er1 conftest.err
2127 fi
2128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2129 test $ac_status = 0; } && {
2130 test -z "$ac_cxx_werror_flag" ||
2131 test ! -s conftest.err
2132 } && test -s conftest$ac_exeext && {
2133 test "$cross_compiling" = yes ||
2134 test -x conftest$ac_exeext
2135 }; then :
2136 ac_retval=0
2137 else
2138 $as_echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2140
2141 ac_retval=1
2142 fi
2143 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2144 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2145 # interfere with the next link command; also delete a directory that is
2146 # left behind by Apple's compiler. We do this before executing the actions.
2147 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149 as_fn_set_status $ac_retval
2150
2151 } # ac_fn_cxx_try_link
2152
2153 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2154 # -------------------------------------------------------
2155 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2156 # the include files in INCLUDES and setting the cache variable VAR
2157 # accordingly.
2158 ac_fn_c_check_header_mongrel ()
2159 {
2160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2161 if eval \${$3+:} false; then :
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2163 $as_echo_n "checking for $2... " >&6; }
2164 if eval \${$3+:} false; then :
2165 $as_echo_n "(cached) " >&6
2166 fi
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 else
2171 # Is the header compilable?
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2173 $as_echo_n "checking $2 usability... " >&6; }
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2176 $4
2177 #include <$2>
2178 _ACEOF
2179 if ac_fn_c_try_compile "$LINENO"; then :
2180 ac_header_compiler=yes
2181 else
2182 ac_header_compiler=no
2183 fi
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2186 $as_echo "$ac_header_compiler" >&6; }
2187
2188 # Is the header present?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2190 $as_echo_n "checking $2 presence... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2193 #include <$2>
2194 _ACEOF
2195 if ac_fn_c_try_cpp "$LINENO"; then :
2196 ac_header_preproc=yes
2197 else
2198 ac_header_preproc=no
2199 fi
2200 rm -f conftest.err conftest.i conftest.$ac_ext
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2202 $as_echo "$ac_header_preproc" >&6; }
2203
2204 # So? What about this header?
2205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2206 yes:no: )
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2208 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2210 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2211 ;;
2212 no:yes:* )
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2214 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2216 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2218 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2220 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2222 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2223 ;;
2224 esac
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2226 $as_echo_n "checking for $2... " >&6; }
2227 if eval \${$3+:} false; then :
2228 $as_echo_n "(cached) " >&6
2229 else
2230 eval "$3=\$ac_header_compiler"
2231 fi
2232 eval ac_res=\$$3
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2235 fi
2236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237
2238 } # ac_fn_c_check_header_mongrel
2239
2240 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2241 # ---------------------------------------------------------
2242 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2243 # the include files in INCLUDES and setting the cache variable VAR
2244 # accordingly.
2245 ac_fn_cxx_check_header_mongrel ()
2246 {
2247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248 if eval \${$3+:} false; then :
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2250 $as_echo_n "checking for $2... " >&6; }
2251 if eval \${$3+:} false; then :
2252 $as_echo_n "(cached) " >&6
2253 fi
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 else
2258 # Is the header compilable?
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2260 $as_echo_n "checking $2 usability... " >&6; }
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2263 $4
2264 #include <$2>
2265 _ACEOF
2266 if ac_fn_cxx_try_compile "$LINENO"; then :
2267 ac_header_compiler=yes
2268 else
2269 ac_header_compiler=no
2270 fi
2271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2273 $as_echo "$ac_header_compiler" >&6; }
2274
2275 # Is the header present?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2277 $as_echo_n "checking $2 presence... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280 #include <$2>
2281 _ACEOF
2282 if ac_fn_cxx_try_cpp "$LINENO"; then :
2283 ac_header_preproc=yes
2284 else
2285 ac_header_preproc=no
2286 fi
2287 rm -f conftest.err conftest.i conftest.$ac_ext
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2289 $as_echo "$ac_header_preproc" >&6; }
2290
2291 # So? What about this header?
2292 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2293 yes:no: )
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2295 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2298 ;;
2299 no:yes:* )
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2301 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2303 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2305 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2307 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2309 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2310 ;;
2311 esac
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2313 $as_echo_n "checking for $2... " >&6; }
2314 if eval \${$3+:} false; then :
2315 $as_echo_n "(cached) " >&6
2316 else
2317 eval "$3=\$ac_header_compiler"
2318 fi
2319 eval ac_res=\$$3
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2322 fi
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324
2325 } # ac_fn_cxx_check_header_mongrel
2326
2327 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2328 # --------------------------------------------
2329 # Tries to find the compile-time value of EXPR in a program that includes
2330 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2331 # computed
2332 ac_fn_c_compute_int ()
2333 {
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 if test "$cross_compiling" = yes; then
2336 # Depending upon the size, compute the lo and hi bounds.
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2339 $4
2340 int
2341 main ()
2342 {
2343 static int test_array [1 - 2 * !(($2) >= 0)];
2344 test_array [0] = 0;
2345 return test_array [0];
2346
2347 ;
2348 return 0;
2349 }
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=0 ac_mid=0
2353 while :; do
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2356 $4
2357 int
2358 main ()
2359 {
2360 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2361 test_array [0] = 0;
2362 return test_array [0];
2363
2364 ;
2365 return 0;
2366 }
2367 _ACEOF
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_hi=$ac_mid; break
2370 else
2371 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2372 if test $ac_lo -le $ac_mid; then
2373 ac_lo= ac_hi=
2374 break
2375 fi
2376 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2377 fi
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379 done
2380 else
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2383 $4
2384 int
2385 main ()
2386 {
2387 static int test_array [1 - 2 * !(($2) < 0)];
2388 test_array [0] = 0;
2389 return test_array [0];
2390
2391 ;
2392 return 0;
2393 }
2394 _ACEOF
2395 if ac_fn_c_try_compile "$LINENO"; then :
2396 ac_hi=-1 ac_mid=-1
2397 while :; do
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 int
2402 main ()
2403 {
2404 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2405 test_array [0] = 0;
2406 return test_array [0];
2407
2408 ;
2409 return 0;
2410 }
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_lo=$ac_mid; break
2414 else
2415 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2416 if test $ac_mid -le $ac_hi; then
2417 ac_lo= ac_hi=
2418 break
2419 fi
2420 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2421 fi
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423 done
2424 else
2425 ac_lo= ac_hi=
2426 fi
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 fi
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 # Binary search between lo and hi bounds.
2431 while test "x$ac_lo" != "x$ac_hi"; do
2432 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2435 $4
2436 int
2437 main ()
2438 {
2439 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2440 test_array [0] = 0;
2441 return test_array [0];
2442
2443 ;
2444 return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_hi=$ac_mid
2449 else
2450 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2451 fi
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 case $ac_lo in #((
2455 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2456 '') ac_retval=1 ;;
2457 esac
2458 else
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2461 $4
2462 static long int longval () { return $2; }
2463 static unsigned long int ulongval () { return $2; }
2464 #include <stdio.h>
2465 #include <stdlib.h>
2466 int
2467 main ()
2468 {
2469
2470 FILE *f = fopen ("conftest.val", "w");
2471 if (! f)
2472 return 1;
2473 if (($2) < 0)
2474 {
2475 long int i = longval ();
2476 if (i != ($2))
2477 return 1;
2478 fprintf (f, "%ld", i);
2479 }
2480 else
2481 {
2482 unsigned long int i = ulongval ();
2483 if (i != ($2))
2484 return 1;
2485 fprintf (f, "%lu", i);
2486 }
2487 /* Do not output a trailing newline, as this causes \r\n confusion
2488 on some platforms. */
2489 return ferror (f) || fclose (f) != 0;
2490
2491 ;
2492 return 0;
2493 }
2494 _ACEOF
2495 if ac_fn_c_try_run "$LINENO"; then :
2496 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2497 else
2498 ac_retval=1
2499 fi
2500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2501 conftest.$ac_objext conftest.beam conftest.$ac_ext
2502 rm -f conftest.val
2503
2504 fi
2505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506 as_fn_set_status $ac_retval
2507
2508 } # ac_fn_c_compute_int
2509
2510 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2511 # -------------------------------------------
2512 # Tests whether TYPE exists after having included INCLUDES, setting cache
2513 # variable VAR accordingly.
2514 ac_fn_c_check_type ()
2515 {
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2518 $as_echo_n "checking for $2... " >&6; }
2519 if eval \${$3+:} false; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 eval "$3=no"
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2525 $4
2526 int
2527 main ()
2528 {
2529 if (sizeof ($2))
2530 return 0;
2531 ;
2532 return 0;
2533 }
2534 _ACEOF
2535 if ac_fn_c_try_compile "$LINENO"; then :
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2538 $4
2539 int
2540 main ()
2541 {
2542 if (sizeof (($2)))
2543 return 0;
2544 ;
2545 return 0;
2546 }
2547 _ACEOF
2548 if ac_fn_c_try_compile "$LINENO"; then :
2549
2550 else
2551 eval "$3=yes"
2552 fi
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 fi
2555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556 fi
2557 eval ac_res=\$$3
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2559 $as_echo "$ac_res" >&6; }
2560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2561
2562 } # ac_fn_c_check_type
2563
2564 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2565 # ---------------------------------------------
2566 # Tests whether TYPE exists after having included INCLUDES, setting cache
2567 # variable VAR accordingly.
2568 ac_fn_cxx_check_type ()
2569 {
2570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2572 $as_echo_n "checking for $2... " >&6; }
2573 if eval \${$3+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 eval "$3=no"
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2579 $4
2580 int
2581 main ()
2582 {
2583 if (sizeof ($2))
2584 return 0;
2585 ;
2586 return 0;
2587 }
2588 _ACEOF
2589 if ac_fn_cxx_try_compile "$LINENO"; then :
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2592 $4
2593 int
2594 main ()
2595 {
2596 if (sizeof (($2)))
2597 return 0;
2598 ;
2599 return 0;
2600 }
2601 _ACEOF
2602 if ac_fn_cxx_try_compile "$LINENO"; then :
2603
2604 else
2605 eval "$3=yes"
2606 fi
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 fi
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 fi
2611 eval ac_res=\$$3
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615
2616 } # ac_fn_cxx_check_type
2617 cat >config.log <<_ACEOF
2618 This file contains any messages produced by compilers while
2619 running configure, to aid debugging if configure makes a mistake.
2620
2621 It was created by package-unused $as_me version-unused, which was
2622 generated by GNU Autoconf 2.69. Invocation command line was
2623
2624 $ $0 $@
2625
2626 _ACEOF
2627 exec 5>>config.log
2628 {
2629 cat <<_ASUNAME
2630 ## --------- ##
2631 ## Platform. ##
2632 ## --------- ##
2633
2634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2639
2640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2641 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2642
2643 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2644 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2646 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2647 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2648 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2649 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2650
2651 _ASUNAME
2652
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 $as_echo "PATH: $as_dir"
2659 done
2660 IFS=$as_save_IFS
2661
2662 } >&5
2663
2664 cat >&5 <<_ACEOF
2665
2666
2667 ## ----------- ##
2668 ## Core tests. ##
2669 ## ----------- ##
2670
2671 _ACEOF
2672
2673
2674 # Keep a trace of the command line.
2675 # Strip out --no-create and --no-recursion so they do not pile up.
2676 # Strip out --silent because we don't want to record it for future runs.
2677 # Also quote any args containing shell meta-characters.
2678 # Make two passes to allow for proper duplicate-argument suppression.
2679 ac_configure_args=
2680 ac_configure_args0=
2681 ac_configure_args1=
2682 ac_must_keep_next=false
2683 for ac_pass in 1 2
2684 do
2685 for ac_arg
2686 do
2687 case $ac_arg in
2688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2690 | -silent | --silent | --silen | --sile | --sil)
2691 continue ;;
2692 *\'*)
2693 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2694 esac
2695 case $ac_pass in
2696 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2697 2)
2698 as_fn_append ac_configure_args1 " '$ac_arg'"
2699 if test $ac_must_keep_next = true; then
2700 ac_must_keep_next=false # Got value, back to normal.
2701 else
2702 case $ac_arg in
2703 *=* | --config-cache | -C | -disable-* | --disable-* \
2704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2706 | -with-* | --with-* | -without-* | --without-* | --x)
2707 case "$ac_configure_args0 " in
2708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2709 esac
2710 ;;
2711 -* ) ac_must_keep_next=true ;;
2712 esac
2713 fi
2714 as_fn_append ac_configure_args " '$ac_arg'"
2715 ;;
2716 esac
2717 done
2718 done
2719 { ac_configure_args0=; unset ac_configure_args0;}
2720 { ac_configure_args1=; unset ac_configure_args1;}
2721
2722 # When interrupted or exit'd, cleanup temporary files, and complete
2723 # config.log. We remove comments because anyway the quotes in there
2724 # would cause problems or look ugly.
2725 # WARNING: Use '\'' to represent an apostrophe within the trap.
2726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2727 trap 'exit_status=$?
2728 # Save into config.log some information that might help in debugging.
2729 {
2730 echo
2731
2732 $as_echo "## ---------------- ##
2733 ## Cache variables. ##
2734 ## ---------------- ##"
2735 echo
2736 # The following way of writing the cache mishandles newlines in values,
2737 (
2738 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2739 eval ac_val=\$$ac_var
2740 case $ac_val in #(
2741 *${as_nl}*)
2742 case $ac_var in #(
2743 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2745 esac
2746 case $ac_var in #(
2747 _ | IFS | as_nl) ;; #(
2748 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2749 *) { eval $ac_var=; unset $ac_var;} ;;
2750 esac ;;
2751 esac
2752 done
2753 (set) 2>&1 |
2754 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2755 *${as_nl}ac_space=\ *)
2756 sed -n \
2757 "s/'\''/'\''\\\\'\'''\''/g;
2758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2759 ;; #(
2760 *)
2761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2762 ;;
2763 esac |
2764 sort
2765 )
2766 echo
2767
2768 $as_echo "## ----------------- ##
2769 ## Output variables. ##
2770 ## ----------------- ##"
2771 echo
2772 for ac_var in $ac_subst_vars
2773 do
2774 eval ac_val=\$$ac_var
2775 case $ac_val in
2776 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2777 esac
2778 $as_echo "$ac_var='\''$ac_val'\''"
2779 done | sort
2780 echo
2781
2782 if test -n "$ac_subst_files"; then
2783 $as_echo "## ------------------- ##
2784 ## File substitutions. ##
2785 ## ------------------- ##"
2786 echo
2787 for ac_var in $ac_subst_files
2788 do
2789 eval ac_val=\$$ac_var
2790 case $ac_val in
2791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2792 esac
2793 $as_echo "$ac_var='\''$ac_val'\''"
2794 done | sort
2795 echo
2796 fi
2797
2798 if test -s confdefs.h; then
2799 $as_echo "## ----------- ##
2800 ## confdefs.h. ##
2801 ## ----------- ##"
2802 echo
2803 cat confdefs.h
2804 echo
2805 fi
2806 test "$ac_signal" != 0 &&
2807 $as_echo "$as_me: caught signal $ac_signal"
2808 $as_echo "$as_me: exit $exit_status"
2809 } >&5
2810 rm -f core *.core core.conftest.* &&
2811 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2812 exit $exit_status
2813 ' 0
2814 for ac_signal in 1 2 13 15; do
2815 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2816 done
2817 ac_signal=0
2818
2819 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2820 rm -f -r conftest* confdefs.h
2821
2822 $as_echo "/* confdefs.h */" > confdefs.h
2823
2824 # Predefined preprocessor variables.
2825
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE_NAME "$PACKAGE_NAME"
2828 _ACEOF
2829
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2832 _ACEOF
2833
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2836 _ACEOF
2837
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_STRING "$PACKAGE_STRING"
2840 _ACEOF
2841
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2844 _ACEOF
2845
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_URL "$PACKAGE_URL"
2848 _ACEOF
2849
2850
2851 # Let the site file select an alternate cache file if it wants to.
2852 # Prefer an explicitly selected file to automatically selected ones.
2853 ac_site_file1=NONE
2854 ac_site_file2=NONE
2855 if test -n "$CONFIG_SITE"; then
2856 # We do not want a PATH search for config.site.
2857 case $CONFIG_SITE in #((
2858 -*) ac_site_file1=./$CONFIG_SITE;;
2859 */*) ac_site_file1=$CONFIG_SITE;;
2860 *) ac_site_file1=./$CONFIG_SITE;;
2861 esac
2862 elif test "x$prefix" != xNONE; then
2863 ac_site_file1=$prefix/share/config.site
2864 ac_site_file2=$prefix/etc/config.site
2865 else
2866 ac_site_file1=$ac_default_prefix/share/config.site
2867 ac_site_file2=$ac_default_prefix/etc/config.site
2868 fi
2869 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2870 do
2871 test "x$ac_site_file" = xNONE && continue
2872 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2874 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2875 sed 's/^/| /' "$ac_site_file" >&5
2876 . "$ac_site_file" \
2877 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2879 as_fn_error $? "failed to load site script $ac_site_file
2880 See \`config.log' for more details" "$LINENO" 5; }
2881 fi
2882 done
2883
2884 if test -r "$cache_file"; then
2885 # Some versions of bash will fail to source /dev/null (special files
2886 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2887 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2889 $as_echo "$as_me: loading cache $cache_file" >&6;}
2890 case $cache_file in
2891 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2892 *) . "./$cache_file";;
2893 esac
2894 fi
2895 else
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2897 $as_echo "$as_me: creating cache $cache_file" >&6;}
2898 >$cache_file
2899 fi
2900
2901 # Check that the precious variables saved in the cache have kept the same
2902 # value.
2903 ac_cache_corrupted=false
2904 for ac_var in $ac_precious_vars; do
2905 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2906 eval ac_new_set=\$ac_env_${ac_var}_set
2907 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2908 eval ac_new_val=\$ac_env_${ac_var}_value
2909 case $ac_old_set,$ac_new_set in
2910 set,)
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2912 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2913 ac_cache_corrupted=: ;;
2914 ,set)
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2916 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2917 ac_cache_corrupted=: ;;
2918 ,);;
2919 *)
2920 if test "x$ac_old_val" != "x$ac_new_val"; then
2921 # differences in whitespace do not lead to failure.
2922 ac_old_val_w=`echo x $ac_old_val`
2923 ac_new_val_w=`echo x $ac_new_val`
2924 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2926 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2927 ac_cache_corrupted=:
2928 else
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2930 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2931 eval $ac_var=\$ac_old_val
2932 fi
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2934 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2936 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2937 fi;;
2938 esac
2939 # Pass precious variables to config.status.
2940 if test "$ac_new_set" = set; then
2941 case $ac_new_val in
2942 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2943 *) ac_arg=$ac_var=$ac_new_val ;;
2944 esac
2945 case " $ac_configure_args " in
2946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2947 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2948 esac
2949 fi
2950 done
2951 if $ac_cache_corrupted; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2955 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2956 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2957 fi
2958 ## -------------------- ##
2959 ## Main body of script. ##
2960 ## -------------------- ##
2961
2962 ac_ext=c
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2967
2968
2969
2970
2971
2972
2973 ac_config_headers="$ac_config_headers config.h"
2974
2975
2976 # This works around the fact that libtool configuration may change LD
2977 # for this particular configuration, but some shells, instead of
2978 # keeping the changes in LD private, export them just because LD is
2979 # exported. Only used at the end of this file.
2980 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2981
2982 # Find the rest of the source tree framework.
2983 # Default to --enable-multilib
2984 # Check whether --enable-multilib was given.
2985 if test "${enable_multilib+set}" = set; then :
2986 enableval=$enable_multilib; case "$enableval" in
2987 yes) multilib=yes ;;
2988 no) multilib=no ;;
2989 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2990 esac
2991 else
2992 multilib=yes
2993 fi
2994
2995
2996 # We may get other options which we leave undocumented:
2997 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2998 # See config-ml.in if you want the gory details.
2999
3000 if test "$srcdir" = "."; then
3001 if test "$with_target_subdir" != "."; then
3002 multi_basedir="$srcdir/$with_multisrctop../.."
3003 else
3004 multi_basedir="$srcdir/$with_multisrctop.."
3005 fi
3006 else
3007 multi_basedir="$srcdir/.."
3008 fi
3009
3010
3011 # Even if the default multilib is not a cross compilation,
3012 # it may be that some of the other multilibs are.
3013 if test $cross_compiling = no && test $multilib = yes \
3014 && test "x${with_multisubdir}" != x ; then
3015 cross_compiling=maybe
3016 fi
3017
3018 ac_config_commands="$ac_config_commands default-1"
3019
3020
3021 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3022 #
3023 # You will slowly go insane if you do not grok the following fact: when
3024 # building v3 as part of the compiler, the top-level /target/ becomes the
3025 # library's /host/. configure then causes --target to default to --host,
3026 # exactly like any other package using autoconf. Therefore, 'target' and
3027 # 'host' will always be the same. This makes sense both for native and
3028 # cross compilers, just think about it for a little while. :-)
3029 #
3030 # Also, if v3 is being configured as part of a cross compiler, the top-level
3031 # configure script will pass the "real" host as $with_cross_host.
3032 #
3033 # Do not delete or change the following two lines. For why, see
3034 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3035 ac_aux_dir=
3036 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3037 if test -f "$ac_dir/install-sh"; then
3038 ac_aux_dir=$ac_dir
3039 ac_install_sh="$ac_aux_dir/install-sh -c"
3040 break
3041 elif test -f "$ac_dir/install.sh"; then
3042 ac_aux_dir=$ac_dir
3043 ac_install_sh="$ac_aux_dir/install.sh -c"
3044 break
3045 elif test -f "$ac_dir/shtool"; then
3046 ac_aux_dir=$ac_dir
3047 ac_install_sh="$ac_aux_dir/shtool install -c"
3048 break
3049 fi
3050 done
3051 if test -z "$ac_aux_dir"; then
3052 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3053 fi
3054
3055 # These three variables are undocumented and unsupported,
3056 # and are intended to be withdrawn in a future Autoconf release.
3057 # They can cause serious problems if a builder's source tree is in a directory
3058 # whose full name contains unusual characters.
3059 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3060 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3061 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3062
3063
3064 # Make sure we can run config.sub.
3065 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3066 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3067
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3069 $as_echo_n "checking build system type... " >&6; }
3070 if ${ac_cv_build+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 ac_build_alias=$build_alias
3074 test "x$ac_build_alias" = x &&
3075 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3076 test "x$ac_build_alias" = x &&
3077 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3079 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3080
3081 fi
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3083 $as_echo "$ac_cv_build" >&6; }
3084 case $ac_cv_build in
3085 *-*-*) ;;
3086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3087 esac
3088 build=$ac_cv_build
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_build
3091 shift
3092 build_cpu=$1
3093 build_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 build_os=$*
3098 IFS=$ac_save_IFS
3099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3100
3101
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103 $as_echo_n "checking host system type... " >&6; }
3104 if ${ac_cv_host+:} false; then :
3105 $as_echo_n "(cached) " >&6
3106 else
3107 if test "x$host_alias" = x; then
3108 ac_cv_host=$ac_cv_build
3109 else
3110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3112 fi
3113
3114 fi
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116 $as_echo "$ac_cv_host" >&6; }
3117 case $ac_cv_host in
3118 *-*-*) ;;
3119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3120 esac
3121 host=$ac_cv_host
3122 ac_save_IFS=$IFS; IFS='-'
3123 set x $ac_cv_host
3124 shift
3125 host_cpu=$1
3126 host_vendor=$2
3127 shift; shift
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3130 host_os=$*
3131 IFS=$ac_save_IFS
3132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3133
3134
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3136 $as_echo_n "checking target system type... " >&6; }
3137 if ${ac_cv_target+:} false; then :
3138 $as_echo_n "(cached) " >&6
3139 else
3140 if test "x$target_alias" = x; then
3141 ac_cv_target=$ac_cv_host
3142 else
3143 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3145 fi
3146
3147 fi
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3149 $as_echo "$ac_cv_target" >&6; }
3150 case $ac_cv_target in
3151 *-*-*) ;;
3152 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3153 esac
3154 target=$ac_cv_target
3155 ac_save_IFS=$IFS; IFS='-'
3156 set x $ac_cv_target
3157 shift
3158 target_cpu=$1
3159 target_vendor=$2
3160 shift; shift
3161 # Remember, the first character of IFS is used to create $*,
3162 # except with old shells:
3163 target_os=$*
3164 IFS=$ac_save_IFS
3165 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3166
3167
3168 # The aliases save the names the user supplied, while $host etc.
3169 # will get canonicalized.
3170 test -n "$target_alias" &&
3171 test "$program_prefix$program_suffix$program_transform_name" = \
3172 NONENONEs,x,x, &&
3173 program_prefix=${target_alias}-
3174
3175 target_alias=${target_alias-$host_alias}
3176
3177 # Handy for debugging:
3178 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3179
3180 if test "$build" != "$host"; then
3181 # We are being configured with some form of cross compiler.
3182 GLIBCXX_IS_NATIVE=false
3183 case "$host","$target" in
3184 # Darwin crosses can use the host system's libraries and headers,
3185 # because of the fat library support. Of course, it must be the
3186 # same version of Darwin on both sides. Allow the user to
3187 # just say --target=foo-darwin without a version number to mean
3188 # "the version on this system".
3189 *-*-darwin*,*-*-darwin*)
3190 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3191 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3192 if test $hostos = $targetos -o $targetos = darwin ; then
3193 GLIBCXX_IS_NATIVE=true
3194 fi
3195 ;;
3196
3197 *)
3198
3199 ;;
3200 esac
3201 else
3202 GLIBCXX_IS_NATIVE=true
3203 fi
3204
3205 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3206 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3207 # 1.x: minimum required version
3208 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3209 # of other PACKAGE_* variables will, however, and there's nothing
3210 # we can do about that; they come from AC_INIT).
3211 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3212 # file in the top srcdir, etc, etc), so stop complaining.
3213 # no-dependencies: turns off auto dependency generation (just for now)
3214 # no-dist: we don't want 'dist' and related rules.
3215 # -Wall: turns on all automake warnings...
3216 # -Wno-portability: ...except this one, since GNU make is now required.
3217 am__api_version='1.15'
3218
3219 # Find a good install program. We prefer a C program (faster),
3220 # so one script is as good as another. But avoid the broken or
3221 # incompatible versions:
3222 # SysV /etc/install, /usr/sbin/install
3223 # SunOS /usr/etc/install
3224 # IRIX /sbin/install
3225 # AIX /bin/install
3226 # AmigaOS /C/install, which installs bootblocks on floppy discs
3227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3230 # OS/2's system install, which has a completely different semantic
3231 # ./install, which can be erroneously created by make from ./install.sh.
3232 # Reject install programs that cannot install multiple files.
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3234 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3235 if test -z "$INSTALL"; then
3236 if ${ac_cv_path_install+:} false; then :
3237 $as_echo_n "(cached) " >&6
3238 else
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH
3241 do
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 # Account for people who put trailing slashes in PATH elements.
3245 case $as_dir/ in #((
3246 ./ | .// | /[cC]/* | \
3247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3248 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3249 /usr/ucb/* ) ;;
3250 *)
3251 # OSF1 and SCO ODT 3.0 have their own names for install.
3252 # Don't use installbsd from OSF since it installs stuff as root
3253 # by default.
3254 for ac_prog in ginstall scoinst install; do
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3257 if test $ac_prog = install &&
3258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3259 # AIX install. It has an incompatible calling convention.
3260 :
3261 elif test $ac_prog = install &&
3262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3263 # program-specific install script used by HP pwplus--don't use.
3264 :
3265 else
3266 rm -rf conftest.one conftest.two conftest.dir
3267 echo one > conftest.one
3268 echo two > conftest.two
3269 mkdir conftest.dir
3270 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3271 test -s conftest.one && test -s conftest.two &&
3272 test -s conftest.dir/conftest.one &&
3273 test -s conftest.dir/conftest.two
3274 then
3275 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3276 break 3
3277 fi
3278 fi
3279 fi
3280 done
3281 done
3282 ;;
3283 esac
3284
3285 done
3286 IFS=$as_save_IFS
3287
3288 rm -rf conftest.one conftest.two conftest.dir
3289
3290 fi
3291 if test "${ac_cv_path_install+set}" = set; then
3292 INSTALL=$ac_cv_path_install
3293 else
3294 # As a last resort, use the slow shell script. Don't cache a
3295 # value for INSTALL within a source directory, because that will
3296 # break other packages using the cache if that directory is
3297 # removed, or if the value is a relative name.
3298 INSTALL=$ac_install_sh
3299 fi
3300 fi
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3302 $as_echo "$INSTALL" >&6; }
3303
3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3305 # It thinks the first close brace ends the variable substitution.
3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3307
3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3309
3310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3311
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3313 $as_echo_n "checking whether build environment is sane... " >&6; }
3314 # Reject unsafe characters in $srcdir or the absolute working directory
3315 # name. Accept space and tab only in the latter.
3316 am_lf='
3317 '
3318 case `pwd` in
3319 *[\\\"\#\$\&\'\`$am_lf]*)
3320 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3321 esac
3322 case $srcdir in
3323 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3324 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3325 esac
3326
3327 # Do 'set' in a subshell so we don't clobber the current shell's
3328 # arguments. Must try -L first in case configure is actually a
3329 # symlink; some systems play weird games with the mod time of symlinks
3330 # (eg FreeBSD returns the mod time of the symlink's containing
3331 # directory).
3332 if (
3333 am_has_slept=no
3334 for am_try in 1 2; do
3335 echo "timestamp, slept: $am_has_slept" > conftest.file
3336 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3337 if test "$*" = "X"; then
3338 # -L didn't work.
3339 set X `ls -t "$srcdir/configure" conftest.file`
3340 fi
3341 if test "$*" != "X $srcdir/configure conftest.file" \
3342 && test "$*" != "X conftest.file $srcdir/configure"; then
3343
3344 # If neither matched, then we have a broken ls. This can happen
3345 # if, for instance, CONFIG_SHELL is bash and it inherits a
3346 # broken ls alias from the environment. This has actually
3347 # happened. Such a system could not be considered "sane".
3348 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3349 alias in your environment" "$LINENO" 5
3350 fi
3351 if test "$2" = conftest.file || test $am_try -eq 2; then
3352 break
3353 fi
3354 # Just in case.
3355 sleep 1
3356 am_has_slept=yes
3357 done
3358 test "$2" = conftest.file
3359 )
3360 then
3361 # Ok.
3362 :
3363 else
3364 as_fn_error $? "newly created file is older than distributed files!
3365 Check your system clock" "$LINENO" 5
3366 fi
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3368 $as_echo "yes" >&6; }
3369 # If we didn't sleep, we still need to ensure time stamps of config.status and
3370 # generated files are strictly newer.
3371 am_sleep_pid=
3372 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3373 ( sleep 1 ) &
3374 am_sleep_pid=$!
3375 fi
3376
3377 rm -f conftest.file
3378
3379 test "$program_prefix" != NONE &&
3380 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3381 # Use a double $ so make ignores it.
3382 test "$program_suffix" != NONE &&
3383 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3384 # Double any \ or $.
3385 # By default was `s,x,x', remove it if useless.
3386 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3387 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3388
3389 # Expand $ac_aux_dir to an absolute path.
3390 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3391
3392 if test x"${MISSING+set}" != xset; then
3393 case $am_aux_dir in
3394 *\ * | *\ *)
3395 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3396 *)
3397 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3398 esac
3399 fi
3400 # Use eval to expand $SHELL
3401 if eval "$MISSING --is-lightweight"; then
3402 am_missing_run="$MISSING "
3403 else
3404 am_missing_run=
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3406 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3407 fi
3408
3409 if test x"${install_sh+set}" != xset; then
3410 case $am_aux_dir in
3411 *\ * | *\ *)
3412 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3413 *)
3414 install_sh="\${SHELL} $am_aux_dir/install-sh"
3415 esac
3416 fi
3417
3418 # Installed binaries are usually stripped using 'strip' when the user
3419 # run "make install-strip". However 'strip' might not be the right
3420 # tool to use in cross-compilation environments, therefore Automake
3421 # will honor the 'STRIP' environment variable to overrule this program.
3422 if test "$cross_compiling" != no; then
3423 if test -n "$ac_tool_prefix"; then
3424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3425 set dummy ${ac_tool_prefix}strip; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_STRIP+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 if test -n "$STRIP"; then
3432 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3436 do
3437 IFS=$as_save_IFS
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 break 2
3444 fi
3445 done
3446 done
3447 IFS=$as_save_IFS
3448
3449 fi
3450 fi
3451 STRIP=$ac_cv_prog_STRIP
3452 if test -n "$STRIP"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3454 $as_echo "$STRIP" >&6; }
3455 else
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3458 fi
3459
3460
3461 fi
3462 if test -z "$ac_cv_prog_STRIP"; then
3463 ac_ct_STRIP=$STRIP
3464 # Extract the first word of "strip", so it can be a program name with args.
3465 set dummy strip; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 if test -n "$ac_ct_STRIP"; then
3472 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481 ac_cv_prog_ac_ct_STRIP="strip"
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 break 2
3484 fi
3485 done
3486 done
3487 IFS=$as_save_IFS
3488
3489 fi
3490 fi
3491 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3492 if test -n "$ac_ct_STRIP"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3494 $as_echo "$ac_ct_STRIP" >&6; }
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 fi
3499
3500 if test "x$ac_ct_STRIP" = x; then
3501 STRIP=":"
3502 else
3503 case $cross_compiling:$ac_tool_warned in
3504 yes:)
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3507 ac_tool_warned=yes ;;
3508 esac
3509 STRIP=$ac_ct_STRIP
3510 fi
3511 else
3512 STRIP="$ac_cv_prog_STRIP"
3513 fi
3514
3515 fi
3516 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3517
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3519 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3520 if test -z "$MKDIR_P"; then
3521 if ${ac_cv_path_mkdir+:} false; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3526 do
3527 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3529 for ac_prog in mkdir gmkdir; do
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3532 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3533 'mkdir (GNU coreutils) '* | \
3534 'mkdir (coreutils) '* | \
3535 'mkdir (fileutils) '4.1*)
3536 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3537 break 3;;
3538 esac
3539 done
3540 done
3541 done
3542 IFS=$as_save_IFS
3543
3544 fi
3545
3546 test -d ./--version && rmdir ./--version
3547 if test "${ac_cv_path_mkdir+set}" = set; then
3548 MKDIR_P="$ac_cv_path_mkdir -p"
3549 else
3550 # As a last resort, use the slow shell script. Don't cache a
3551 # value for MKDIR_P within a source directory, because that will
3552 # break other packages using the cache if that directory is
3553 # removed, or if the value is a relative name.
3554 MKDIR_P="$ac_install_sh -d"
3555 fi
3556 fi
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3558 $as_echo "$MKDIR_P" >&6; }
3559
3560 for ac_prog in gawk mawk nawk awk
3561 do
3562 # Extract the first word of "$ac_prog", so it can be a program name with args.
3563 set dummy $ac_prog; ac_word=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if ${ac_cv_prog_AWK+:} false; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 if test -n "$AWK"; then
3570 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3571 else
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 for as_dir in $PATH
3574 do
3575 IFS=$as_save_IFS
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_AWK="$ac_prog"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 break 2
3582 fi
3583 done
3584 done
3585 IFS=$as_save_IFS
3586
3587 fi
3588 fi
3589 AWK=$ac_cv_prog_AWK
3590 if test -n "$AWK"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3592 $as_echo "$AWK" >&6; }
3593 else
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 fi
3597
3598
3599 test -n "$AWK" && break
3600 done
3601
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3603 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3604 set x ${MAKE-make}
3605 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3606 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 cat >conftest.make <<\_ACEOF
3610 SHELL = /bin/sh
3611 all:
3612 @echo '@@@%%%=$(MAKE)=@@@%%%'
3613 _ACEOF
3614 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3615 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3616 *@@@%%%=?*=@@@%%%*)
3617 eval ac_cv_prog_make_${ac_make}_set=yes;;
3618 *)
3619 eval ac_cv_prog_make_${ac_make}_set=no;;
3620 esac
3621 rm -f conftest.make
3622 fi
3623 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3625 $as_echo "yes" >&6; }
3626 SET_MAKE=
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3630 SET_MAKE="MAKE=${MAKE-make}"
3631 fi
3632
3633 rm -rf .tst 2>/dev/null
3634 mkdir .tst 2>/dev/null
3635 if test -d .tst; then
3636 am__leading_dot=.
3637 else
3638 am__leading_dot=_
3639 fi
3640 rmdir .tst 2>/dev/null
3641
3642 # Check whether --enable-silent-rules was given.
3643 if test "${enable_silent_rules+set}" = set; then :
3644 enableval=$enable_silent_rules;
3645 fi
3646
3647 case $enable_silent_rules in # (((
3648 yes) AM_DEFAULT_VERBOSITY=0;;
3649 no) AM_DEFAULT_VERBOSITY=1;;
3650 *) AM_DEFAULT_VERBOSITY=1;;
3651 esac
3652 am_make=${MAKE-make}
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3654 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3655 if ${am_cv_make_support_nested_variables+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if $as_echo 'TRUE=$(BAR$(V))
3659 BAR0=false
3660 BAR1=true
3661 V=1
3662 am__doit:
3663 @$(TRUE)
3664 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3665 am_cv_make_support_nested_variables=yes
3666 else
3667 am_cv_make_support_nested_variables=no
3668 fi
3669 fi
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3671 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3672 if test $am_cv_make_support_nested_variables = yes; then
3673 AM_V='$(V)'
3674 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3675 else
3676 AM_V=$AM_DEFAULT_VERBOSITY
3677 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3678 fi
3679 AM_BACKSLASH='\'
3680
3681 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3682 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3683 # is not polluted with repeated "-I."
3684 am__isrc=' -I$(srcdir)'
3685 # test to see if srcdir already configured
3686 if test -f $srcdir/config.status; then
3687 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3688 fi
3689 fi
3690
3691 # test whether we have cygpath
3692 if test -z "$CYGPATH_W"; then
3693 if (cygpath --version) >/dev/null 2>/dev/null; then
3694 CYGPATH_W='cygpath -w'
3695 else
3696 CYGPATH_W=echo
3697 fi
3698 fi
3699
3700
3701 # Define the identity of the package.
3702 PACKAGE='libstdc++'
3703 VERSION='version-unused'
3704
3705
3706 # Some tools Automake needs.
3707
3708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3709
3710
3711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3712
3713
3714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3715
3716
3717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3718
3719
3720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3721
3722 # For better backward compatibility. To be removed once Automake 1.9.x
3723 # dies out for good. For more background, see:
3724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3726 mkdir_p='$(MKDIR_P)'
3727
3728 # We need awk for the "check" target (and possibly the TAP driver). The
3729 # system "awk" is bad on some platforms.
3730 # Always define AMTAR for backward compatibility. Yes, it's still used
3731 # in the wild :-( We should find a proper way to deprecate it ...
3732 AMTAR='$${TAR-tar}'
3733
3734
3735 # We'll loop over all known methods to create a tar archive until one works.
3736 _am_tools='gnutar pax cpio none'
3737
3738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3739
3740
3741
3742
3743
3744
3745 # POSIX will say in a future version that running "rm -f" with no argument
3746 # is OK; and we want to be able to make that assumption in our Makefile
3747 # recipes. So use an aggressive probe to check that the usage we want is
3748 # actually supported "in the wild" to an acceptable degree.
3749 # See automake bug#10828.
3750 # To make any issue more visible, cause the running configure to be aborted
3751 # by default if the 'rm' program in use doesn't match our expectations; the
3752 # user can still override this though.
3753 if rm -f && rm -fr && rm -rf; then : OK; else
3754 cat >&2 <<'END'
3755 Oops!
3756
3757 Your 'rm' program seems unable to run without file operands specified
3758 on the command line, even when the '-f' option is present. This is contrary
3759 to the behaviour of most rm programs out there, and not conforming with
3760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3761
3762 Please tell bug-automake@gnu.org about your system, including the value
3763 of your $PATH and any error possibly output before this message. This
3764 can help us improve future automake versions.
3765
3766 END
3767 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3768 echo 'Configuration will proceed anyway, since you have set the' >&2
3769 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3770 echo >&2
3771 else
3772 cat >&2 <<'END'
3773 Aborting the configuration process, to ensure you take notice of the issue.
3774
3775 You can download and install GNU coreutils to get an 'rm' implementation
3776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3777
3778 If you want to complete the configuration process using your problematic
3779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3780 to "yes", and re-run configure.
3781
3782 END
3783 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3784 fi
3785 fi
3786
3787
3788
3789
3790 # -fno-builtin must be present here so that a non-conflicting form of
3791 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3792
3793 save_CXXFLAGS="$CXXFLAGS"
3794 CXXFLAGS="$CXXFLAGS -fno-builtin"
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 if test -n "$ac_tool_prefix"; then
3801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3813 do
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3821 fi
3822 done
3823 done
3824 IFS=$as_save_IFS
3825
3826 fi
3827 fi
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3835 fi
3836
3837
3838 fi
3839 if test -z "$ac_cv_prog_CC"; then
3840 ac_ct_CC=$CC
3841 # Extract the first word of "gcc", so it can be a program name with args.
3842 set dummy gcc; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$ac_ct_CC"; then
3849 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3850 else
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3853 do
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_CC="gcc"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 break 2
3861 fi
3862 done
3863 done
3864 IFS=$as_save_IFS
3865
3866 fi
3867 fi
3868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3869 if test -n "$ac_ct_CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3871 $as_echo "$ac_ct_CC" >&6; }
3872 else
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3875 fi
3876
3877 if test "x$ac_ct_CC" = x; then
3878 CC=""
3879 else
3880 case $cross_compiling:$ac_tool_warned in
3881 yes:)
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned=yes ;;
3885 esac
3886 CC=$ac_ct_CC
3887 fi
3888 else
3889 CC="$ac_cv_prog_CC"
3890 fi
3891
3892 if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3895 set dummy ${ac_tool_prefix}cc; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_CC+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test -n "$CC"; then
3902 ac_cv_prog_CC="$CC" # Let the user override the test.
3903 else
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3906 do
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_CC="${ac_tool_prefix}cc"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 break 2
3914 fi
3915 done
3916 done
3917 IFS=$as_save_IFS
3918
3919 fi
3920 fi
3921 CC=$ac_cv_prog_CC
3922 if test -n "$CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3924 $as_echo "$CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3928 fi
3929
3930
3931 fi
3932 fi
3933 if test -z "$CC"; then
3934 # Extract the first word of "cc", so it can be a program name with args.
3935 set dummy cc; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 ac_prog_rejected=no
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3947 do
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3953 ac_prog_rejected=yes
3954 continue
3955 fi
3956 ac_cv_prog_CC="cc"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3959 fi
3960 done
3961 done
3962 IFS=$as_save_IFS
3963
3964 if test $ac_prog_rejected = yes; then
3965 # We found a bogon in the path, so make sure we never use it.
3966 set dummy $ac_cv_prog_CC
3967 shift
3968 if test $# != 0; then
3969 # We chose a different compiler from the bogus one.
3970 # However, it has the same basename, so the bogon will be chosen
3971 # first if we set CC to just the basename; use the full file name.
3972 shift
3973 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3974 fi
3975 fi
3976 fi
3977 fi
3978 CC=$ac_cv_prog_CC
3979 if test -n "$CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3981 $as_echo "$CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3985 fi
3986
3987
3988 fi
3989 if test -z "$CC"; then
3990 if test -n "$ac_tool_prefix"; then
3991 for ac_prog in cl.exe
3992 do
3993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if ${ac_cv_prog_CC+:} false; then :
3998 $as_echo_n "(cached) " >&6
3999 else
4000 if test -n "$CC"; then
4001 ac_cv_prog_CC="$CC" # Let the user override the test.
4002 else
4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 for as_dir in $PATH
4005 do
4006 IFS=$as_save_IFS
4007 test -z "$as_dir" && as_dir=.
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 break 2
4013 fi
4014 done
4015 done
4016 IFS=$as_save_IFS
4017
4018 fi
4019 fi
4020 CC=$ac_cv_prog_CC
4021 if test -n "$CC"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4023 $as_echo "$CC" >&6; }
4024 else
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4027 fi
4028
4029
4030 test -n "$CC" && break
4031 done
4032 fi
4033 if test -z "$CC"; then
4034 ac_ct_CC=$CC
4035 for ac_prog in cl.exe
4036 do
4037 # Extract the first word of "$ac_prog", so it can be a program name with args.
4038 set dummy $ac_prog; ac_word=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4043 else
4044 if test -n "$ac_ct_CC"; then
4045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4046 else
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $PATH
4049 do
4050 IFS=$as_save_IFS
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_CC="$ac_prog"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 break 2
4057 fi
4058 done
4059 done
4060 IFS=$as_save_IFS
4061
4062 fi
4063 fi
4064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4065 if test -n "$ac_ct_CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4067 $as_echo "$ac_ct_CC" >&6; }
4068 else
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4071 fi
4072
4073
4074 test -n "$ac_ct_CC" && break
4075 done
4076
4077 if test "x$ac_ct_CC" = x; then
4078 CC=""
4079 else
4080 case $cross_compiling:$ac_tool_warned in
4081 yes:)
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned=yes ;;
4085 esac
4086 CC=$ac_ct_CC
4087 fi
4088 fi
4089
4090 fi
4091
4092
4093 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095 as_fn_error $? "no acceptable C compiler found in \$PATH
4096 See \`config.log' for more details" "$LINENO" 5; }
4097
4098 # Provide some information about the compiler.
4099 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4100 set X $ac_compile
4101 ac_compiler=$2
4102 for ac_option in --version -v -V -qversion; do
4103 { { ac_try="$ac_compiler $ac_option >&5"
4104 case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107 esac
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4111 ac_status=$?
4112 if test -s conftest.err; then
4113 sed '10a\
4114 ... rest of stderr output deleted ...
4115 10q' conftest.err >conftest.er1
4116 cat conftest.er1 >&5
4117 fi
4118 rm -f conftest.er1 conftest.err
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }
4121 done
4122
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4125
4126 int
4127 main ()
4128 {
4129
4130 ;
4131 return 0;
4132 }
4133 _ACEOF
4134 # FIXME: Cleanup?
4135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4136 (eval $ac_link) 2>&5
4137 ac_status=$?
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; then :
4140 gcc_no_link=no
4141 else
4142 gcc_no_link=yes
4143 fi
4144 if test x$gcc_no_link = xyes; then
4145 # Setting cross_compile will disable run tests; it will
4146 # also disable AC_CHECK_FILE but that's generally
4147 # correct if we can't link.
4148 cross_compiling=yes
4149 EXEEXT=
4150 else
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4153
4154 int
4155 main ()
4156 {
4157
4158 ;
4159 return 0;
4160 }
4161 _ACEOF
4162 ac_clean_files_save=$ac_clean_files
4163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4164 # Try to create an executable without -o first, disregard a.out.
4165 # It will help us diagnose broken compilers, and finding out an intuition
4166 # of exeext.
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4168 $as_echo_n "checking whether the C compiler works... " >&6; }
4169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4170
4171 # The possible output files:
4172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4173
4174 ac_rmfiles=
4175 for ac_file in $ac_files
4176 do
4177 case $ac_file in
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4180 esac
4181 done
4182 rm -f $ac_rmfiles
4183
4184 if { { ac_try="$ac_link_default"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_link_default") 2>&5
4192 ac_status=$?
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }; then :
4195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4198 # so that the user can short-circuit this test for compilers unknown to
4199 # Autoconf.
4200 for ac_file in $ac_files ''
4201 do
4202 test -f "$ac_file" || continue
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4205 ;;
4206 [ab].out )
4207 # We found the default executable, but exeext='' is most
4208 # certainly right.
4209 break;;
4210 *.* )
4211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4212 then :; else
4213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4214 fi
4215 # We set ac_cv_exeext here because the later test for it is not
4216 # safe: cross compilers may not add the suffix if given an `-o'
4217 # argument, so we may need to know it at that point already.
4218 # Even if this section looks crufty: it has the advantage of
4219 # actually working.
4220 break;;
4221 * )
4222 break;;
4223 esac
4224 done
4225 test "$ac_cv_exeext" = no && ac_cv_exeext=
4226
4227 else
4228 ac_file=''
4229 fi
4230 if test -z "$ac_file"; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4235
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error 77 "C compiler cannot create executables
4239 See \`config.log' for more details" "$LINENO" 5; }
4240 else
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4243 fi
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4245 $as_echo_n "checking for C compiler default output file name... " >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4247 $as_echo "$ac_file" >&6; }
4248 ac_exeext=$ac_cv_exeext
4249
4250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4251 ac_clean_files=$ac_clean_files_save
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4253 $as_echo_n "checking for suffix of executables... " >&6; }
4254 if { { ac_try="$ac_link"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_link") 2>&5
4262 ac_status=$?
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; then :
4265 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4266 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4267 # work properly (i.e., refer to `conftest.exe'), while it won't with
4268 # `rm'.
4269 for ac_file in conftest.exe conftest conftest.*; do
4270 test -f "$ac_file" || continue
4271 case $ac_file in
4272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4273 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4274 break;;
4275 * ) break;;
4276 esac
4277 done
4278 else
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4282 See \`config.log' for more details" "$LINENO" 5; }
4283 fi
4284 rm -f conftest conftest$ac_cv_exeext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4286 $as_echo "$ac_cv_exeext" >&6; }
4287
4288 rm -f conftest.$ac_ext
4289 EXEEXT=$ac_cv_exeext
4290 ac_exeext=$EXEEXT
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #include <stdio.h>
4294 int
4295 main ()
4296 {
4297 FILE *f = fopen ("conftest.out", "w");
4298 return ferror (f) || fclose (f) != 0;
4299
4300 ;
4301 return 0;
4302 }
4303 _ACEOF
4304 ac_clean_files="$ac_clean_files conftest.out"
4305 # Check that the compiler produces executables we can run. If not, either
4306 # the compiler is broken, or we cross compile.
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4308 $as_echo_n "checking whether we are cross compiling... " >&6; }
4309 if test "$cross_compiling" != yes; then
4310 { { ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4316 $as_echo "$ac_try_echo"; } >&5
4317 (eval "$ac_link") 2>&5
4318 ac_status=$?
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 if { ac_try='./conftest$ac_cv_exeext'
4322 { { case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_try") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; }; then
4332 cross_compiling=no
4333 else
4334 if test "$cross_compiling" = maybe; then
4335 cross_compiling=yes
4336 else
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $? "cannot run C compiled programs.
4340 If you meant to cross compile, use \`--host'.
4341 See \`config.log' for more details" "$LINENO" 5; }
4342 fi
4343 fi
4344 fi
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4346 $as_echo "$cross_compiling" >&6; }
4347
4348 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4349 ac_clean_files=$ac_clean_files_save
4350 fi
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4352 $as_echo_n "checking for suffix of object files... " >&6; }
4353 if ${ac_cv_objext+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358
4359 int
4360 main ()
4361 {
4362
4363 ;
4364 return 0;
4365 }
4366 _ACEOF
4367 rm -f conftest.o conftest.obj
4368 if { { ac_try="$ac_compile"
4369 case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4372 esac
4373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4374 $as_echo "$ac_try_echo"; } >&5
4375 (eval "$ac_compile") 2>&5
4376 ac_status=$?
4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378 test $ac_status = 0; }; then :
4379 for ac_file in conftest.o conftest.obj conftest.*; do
4380 test -f "$ac_file" || continue;
4381 case $ac_file in
4382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4383 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4384 break;;
4385 esac
4386 done
4387 else
4388 $as_echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.$ac_ext >&5
4390
4391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4393 as_fn_error $? "cannot compute suffix of object files: cannot compile
4394 See \`config.log' for more details" "$LINENO" 5; }
4395 fi
4396 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4397 fi
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4399 $as_echo "$ac_cv_objext" >&6; }
4400 OBJEXT=$ac_cv_objext
4401 ac_objext=$OBJEXT
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4403 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4404 if ${ac_cv_c_compiler_gnu+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4409
4410 int
4411 main ()
4412 {
4413 #ifndef __GNUC__
4414 choke me
4415 #endif
4416
4417 ;
4418 return 0;
4419 }
4420 _ACEOF
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422 ac_compiler_gnu=yes
4423 else
4424 ac_compiler_gnu=no
4425 fi
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4428
4429 fi
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4432 if test $ac_compiler_gnu = yes; then
4433 GCC=yes
4434 else
4435 GCC=
4436 fi
4437 ac_test_CFLAGS=${CFLAGS+set}
4438 ac_save_CFLAGS=$CFLAGS
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4441 if ${ac_cv_prog_cc_g+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 ac_save_c_werror_flag=$ac_c_werror_flag
4445 ac_c_werror_flag=yes
4446 ac_cv_prog_cc_g=no
4447 CFLAGS="-g"
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4450
4451 int
4452 main ()
4453 {
4454
4455 ;
4456 return 0;
4457 }
4458 _ACEOF
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_prog_cc_g=yes
4461 else
4462 CFLAGS=""
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4465
4466 int
4467 main ()
4468 {
4469
4470 ;
4471 return 0;
4472 }
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475
4476 else
4477 ac_c_werror_flag=$ac_save_c_werror_flag
4478 CFLAGS="-g"
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481
4482 int
4483 main ()
4484 {
4485
4486 ;
4487 return 0;
4488 }
4489 _ACEOF
4490 if ac_fn_c_try_compile "$LINENO"; then :
4491 ac_cv_prog_cc_g=yes
4492 fi
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 fi
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 fi
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 ac_c_werror_flag=$ac_save_c_werror_flag
4499 fi
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4501 $as_echo "$ac_cv_prog_cc_g" >&6; }
4502 if test "$ac_test_CFLAGS" = set; then
4503 CFLAGS=$ac_save_CFLAGS
4504 elif test $ac_cv_prog_cc_g = yes; then
4505 if test "$GCC" = yes; then
4506 CFLAGS="-g -O2"
4507 else
4508 CFLAGS="-g"
4509 fi
4510 else
4511 if test "$GCC" = yes; then
4512 CFLAGS="-O2"
4513 else
4514 CFLAGS=
4515 fi
4516 fi
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4518 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4519 if ${ac_cv_prog_cc_c89+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 ac_cv_prog_cc_c89=no
4523 ac_save_CC=$CC
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 #include <stdarg.h>
4527 #include <stdio.h>
4528 struct stat;
4529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4530 struct buf { int x; };
4531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4532 static char *e (p, i)
4533 char **p;
4534 int i;
4535 {
4536 return p[i];
4537 }
4538 static char *f (char * (*g) (char **, int), char **p, ...)
4539 {
4540 char *s;
4541 va_list v;
4542 va_start (v,p);
4543 s = g (p, va_arg (v,int));
4544 va_end (v);
4545 return s;
4546 }
4547
4548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4549 function prototypes and stuff, but not '\xHH' hex character constants.
4550 These don't provoke an error unfortunately, instead are silently treated
4551 as 'x'. The following induces an error, until -std is added to get
4552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4553 array size at least. It's necessary to write '\x00'==0 to get something
4554 that's true only with -std. */
4555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4556
4557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4558 inside strings and character constants. */
4559 #define FOO(x) 'x'
4560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4561
4562 int test (int i, double x);
4563 struct s1 {int (*f) (int a);};
4564 struct s2 {int (*f) (double a);};
4565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4566 int argc;
4567 char **argv;
4568 int
4569 main ()
4570 {
4571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4572 ;
4573 return 0;
4574 }
4575 _ACEOF
4576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4578 do
4579 CC="$ac_save_CC $ac_arg"
4580 if ac_fn_c_try_compile "$LINENO"; then :
4581 ac_cv_prog_cc_c89=$ac_arg
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext
4584 test "x$ac_cv_prog_cc_c89" != "xno" && break
4585 done
4586 rm -f conftest.$ac_ext
4587 CC=$ac_save_CC
4588
4589 fi
4590 # AC_CACHE_VAL
4591 case "x$ac_cv_prog_cc_c89" in
4592 x)
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4594 $as_echo "none needed" >&6; } ;;
4595 xno)
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4597 $as_echo "unsupported" >&6; } ;;
4598 *)
4599 CC="$CC $ac_cv_prog_cc_c89"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4602 esac
4603 if test "x$ac_cv_prog_cc_c89" != xno; then :
4604
4605 fi
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612
4613 ac_ext=c
4614 ac_cpp='$CPP $CPPFLAGS'
4615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4619 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4620 if ${am_cv_prog_cc_c_o+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625
4626 int
4627 main ()
4628 {
4629
4630 ;
4631 return 0;
4632 }
4633 _ACEOF
4634 # Make sure it works both with $CC and with simple cc.
4635 # Following AC_PROG_CC_C_O, we do the test twice because some
4636 # compilers refuse to overwrite an existing .o file with -o,
4637 # though they will create one.
4638 am_cv_prog_cc_c_o=yes
4639 for am_i in 1 2; do
4640 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4641 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4642 ac_status=$?
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } \
4645 && test -f conftest2.$ac_objext; then
4646 : OK
4647 else
4648 am_cv_prog_cc_c_o=no
4649 break
4650 fi
4651 done
4652 rm -f core conftest*
4653 unset am_i
4654 fi
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4656 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4657 if test "$am_cv_prog_cc_c_o" != yes; then
4658 # Losing compiler, so override with the script.
4659 # FIXME: It is wrong to rewrite CC.
4660 # But if we don't then we get into trouble of one sort or another.
4661 # A longer-term fix would be to have automake use am__CC in this case,
4662 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4663 CC="$am_aux_dir/compile $CC"
4664 fi
4665 ac_ext=c
4666 ac_cpp='$CPP $CPPFLAGS'
4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670
4671
4672 ac_ext=cpp
4673 ac_cpp='$CXXCPP $CPPFLAGS'
4674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4677 if test -z "$CXX"; then
4678 if test -n "$CCC"; then
4679 CXX=$CCC
4680 else
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4683 do
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_CXX+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if test -n "$CXX"; then
4692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4696 do
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4704 fi
4705 done
4706 done
4707 IFS=$as_save_IFS
4708
4709 fi
4710 fi
4711 CXX=$ac_cv_prog_CXX
4712 if test -n "$CXX"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4714 $as_echo "$CXX" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4718 fi
4719
4720
4721 test -n "$CXX" && break
4722 done
4723 fi
4724 if test -z "$CXX"; then
4725 ac_ct_CXX=$CXX
4726 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4727 do
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 if test -n "$ac_ct_CXX"; then
4736 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4737 else
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 for as_dir in $PATH
4740 do
4741 IFS=$as_save_IFS
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_CXX="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 break 2
4748 fi
4749 done
4750 done
4751 IFS=$as_save_IFS
4752
4753 fi
4754 fi
4755 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4756 if test -n "$ac_ct_CXX"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4758 $as_echo "$ac_ct_CXX" >&6; }
4759 else
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4762 fi
4763
4764
4765 test -n "$ac_ct_CXX" && break
4766 done
4767
4768 if test "x$ac_ct_CXX" = x; then
4769 CXX="g++"
4770 else
4771 case $cross_compiling:$ac_tool_warned in
4772 yes:)
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned=yes ;;
4776 esac
4777 CXX=$ac_ct_CXX
4778 fi
4779 fi
4780
4781 fi
4782 fi
4783 # Provide some information about the compiler.
4784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4785 set X $ac_compile
4786 ac_compiler=$2
4787 for ac_option in --version -v -V -qversion; do
4788 { { ac_try="$ac_compiler $ac_option >&5"
4789 case "(($ac_try" in
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4792 esac
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4796 ac_status=$?
4797 if test -s conftest.err; then
4798 sed '10a\
4799 ... rest of stderr output deleted ...
4800 10q' conftest.err >conftest.er1
4801 cat conftest.er1 >&5
4802 fi
4803 rm -f conftest.er1 conftest.err
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4806 done
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4809 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4810 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4815
4816 int
4817 main ()
4818 {
4819 #ifndef __GNUC__
4820 choke me
4821 #endif
4822
4823 ;
4824 return 0;
4825 }
4826 _ACEOF
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4828 ac_compiler_gnu=yes
4829 else
4830 ac_compiler_gnu=no
4831 fi
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4834
4835 fi
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4837 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4838 if test $ac_compiler_gnu = yes; then
4839 GXX=yes
4840 else
4841 GXX=
4842 fi
4843 ac_test_CXXFLAGS=${CXXFLAGS+set}
4844 ac_save_CXXFLAGS=$CXXFLAGS
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4846 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4847 if ${ac_cv_prog_cxx_g+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4851 ac_cxx_werror_flag=yes
4852 ac_cv_prog_cxx_g=no
4853 CXXFLAGS="-g"
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4856
4857 int
4858 main ()
4859 {
4860
4861 ;
4862 return 0;
4863 }
4864 _ACEOF
4865 if ac_fn_cxx_try_compile "$LINENO"; then :
4866 ac_cv_prog_cxx_g=yes
4867 else
4868 CXXFLAGS=""
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4871
4872 int
4873 main ()
4874 {
4875
4876 ;
4877 return 0;
4878 }
4879 _ACEOF
4880 if ac_fn_cxx_try_compile "$LINENO"; then :
4881
4882 else
4883 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4884 CXXFLAGS="-g"
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887
4888 int
4889 main ()
4890 {
4891
4892 ;
4893 return 0;
4894 }
4895 _ACEOF
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 ac_cv_prog_cxx_g=yes
4898 fi
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 fi
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 fi
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4905 fi
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4907 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4908 if test "$ac_test_CXXFLAGS" = set; then
4909 CXXFLAGS=$ac_save_CXXFLAGS
4910 elif test $ac_cv_prog_cxx_g = yes; then
4911 if test "$GXX" = yes; then
4912 CXXFLAGS="-g -O2"
4913 else
4914 CXXFLAGS="-g"
4915 fi
4916 else
4917 if test "$GXX" = yes; then
4918 CXXFLAGS="-O2"
4919 else
4920 CXXFLAGS=
4921 fi
4922 fi
4923 ac_ext=c
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4928
4929 CXXFLAGS="$save_CXXFLAGS"
4930
4931 # Runs configure.host, and assorted other critical bits. Sets
4932 # up critical shell variables.
4933
4934 ac_ext=c
4935 ac_cpp='$CPP $CPPFLAGS'
4936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4940 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4941 # On Suns, sometimes $CPP names a directory.
4942 if test -n "$CPP" && test -d "$CPP"; then
4943 CPP=
4944 fi
4945 if test -z "$CPP"; then
4946 if ${ac_cv_prog_CPP+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 # Double quotes because CPP needs to be expanded
4950 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4951 do
4952 ac_preproc_ok=false
4953 for ac_c_preproc_warn_flag in '' yes
4954 do
4955 # Use a header file that comes with gcc, so configuring glibc
4956 # with a fresh cross-compiler works.
4957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4958 # <limits.h> exists even on freestanding compilers.
4959 # On the NeXT, cc -E runs the code through the compiler's parser,
4960 # not just through cpp. "Syntax error" is here to catch this case.
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4963 #ifdef __STDC__
4964 # include <limits.h>
4965 #else
4966 # include <assert.h>
4967 #endif
4968 Syntax error
4969 _ACEOF
4970 if ac_fn_c_try_cpp "$LINENO"; then :
4971
4972 else
4973 # Broken: fails on valid input.
4974 continue
4975 fi
4976 rm -f conftest.err conftest.i conftest.$ac_ext
4977
4978 # OK, works on sane cases. Now check whether nonexistent headers
4979 # can be detected and how.
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4982 #include <ac_nonexistent.h>
4983 _ACEOF
4984 if ac_fn_c_try_cpp "$LINENO"; then :
4985 # Broken: success on invalid input.
4986 continue
4987 else
4988 # Passes both tests.
4989 ac_preproc_ok=:
4990 break
4991 fi
4992 rm -f conftest.err conftest.i conftest.$ac_ext
4993
4994 done
4995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4996 rm -f conftest.i conftest.err conftest.$ac_ext
4997 if $ac_preproc_ok; then :
4998 break
4999 fi
5000
5001 done
5002 ac_cv_prog_CPP=$CPP
5003
5004 fi
5005 CPP=$ac_cv_prog_CPP
5006 else
5007 ac_cv_prog_CPP=$CPP
5008 fi
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5010 $as_echo "$CPP" >&6; }
5011 ac_preproc_ok=false
5012 for ac_c_preproc_warn_flag in '' yes
5013 do
5014 # Use a header file that comes with gcc, so configuring glibc
5015 # with a fresh cross-compiler works.
5016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 # <limits.h> exists even on freestanding compilers.
5018 # On the NeXT, cc -E runs the code through the compiler's parser,
5019 # not just through cpp. "Syntax error" is here to catch this case.
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5022 #ifdef __STDC__
5023 # include <limits.h>
5024 #else
5025 # include <assert.h>
5026 #endif
5027 Syntax error
5028 _ACEOF
5029 if ac_fn_c_try_cpp "$LINENO"; then :
5030
5031 else
5032 # Broken: fails on valid input.
5033 continue
5034 fi
5035 rm -f conftest.err conftest.i conftest.$ac_ext
5036
5037 # OK, works on sane cases. Now check whether nonexistent headers
5038 # can be detected and how.
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <ac_nonexistent.h>
5042 _ACEOF
5043 if ac_fn_c_try_cpp "$LINENO"; then :
5044 # Broken: success on invalid input.
5045 continue
5046 else
5047 # Passes both tests.
5048 ac_preproc_ok=:
5049 break
5050 fi
5051 rm -f conftest.err conftest.i conftest.$ac_ext
5052
5053 done
5054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5055 rm -f conftest.i conftest.err conftest.$ac_ext
5056 if $ac_preproc_ok; then :
5057
5058 else
5059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5061 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5062 See \`config.log' for more details" "$LINENO" 5; }
5063 fi
5064
5065 ac_ext=c
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070
5071
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5073 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5074 if ${ac_cv_path_GREP+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -z "$GREP"; then
5078 ac_path_GREP_found=false
5079 # Loop through the user's path and test for each of PROGNAME-LIST
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5082 do
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_prog in grep ggrep; do
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5088 as_fn_executable_p "$ac_path_GREP" || continue
5089 # Check for GNU ac_path_GREP and select it if it is found.
5090 # Check for GNU $ac_path_GREP
5091 case `"$ac_path_GREP" --version 2>&1` in
5092 *GNU*)
5093 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5094 *)
5095 ac_count=0
5096 $as_echo_n 0123456789 >"conftest.in"
5097 while :
5098 do
5099 cat "conftest.in" "conftest.in" >"conftest.tmp"
5100 mv "conftest.tmp" "conftest.in"
5101 cp "conftest.in" "conftest.nl"
5102 $as_echo 'GREP' >> "conftest.nl"
5103 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5104 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5105 as_fn_arith $ac_count + 1 && ac_count=$as_val
5106 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5107 # Best one so far, save it but keep looking for a better one
5108 ac_cv_path_GREP="$ac_path_GREP"
5109 ac_path_GREP_max=$ac_count
5110 fi
5111 # 10*(2^10) chars as input seems more than enough
5112 test $ac_count -gt 10 && break
5113 done
5114 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5115 esac
5116
5117 $ac_path_GREP_found && break 3
5118 done
5119 done
5120 done
5121 IFS=$as_save_IFS
5122 if test -z "$ac_cv_path_GREP"; then
5123 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5124 fi
5125 else
5126 ac_cv_path_GREP=$GREP
5127 fi
5128
5129 fi
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5131 $as_echo "$ac_cv_path_GREP" >&6; }
5132 GREP="$ac_cv_path_GREP"
5133
5134
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5136 $as_echo_n "checking for egrep... " >&6; }
5137 if ${ac_cv_path_EGREP+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5141 then ac_cv_path_EGREP="$GREP -E"
5142 else
5143 if test -z "$EGREP"; then
5144 ac_path_EGREP_found=false
5145 # Loop through the user's path and test for each of PROGNAME-LIST
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5148 do
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_prog in egrep; do
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5154 as_fn_executable_p "$ac_path_EGREP" || continue
5155 # Check for GNU ac_path_EGREP and select it if it is found.
5156 # Check for GNU $ac_path_EGREP
5157 case `"$ac_path_EGREP" --version 2>&1` in
5158 *GNU*)
5159 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5160 *)
5161 ac_count=0
5162 $as_echo_n 0123456789 >"conftest.in"
5163 while :
5164 do
5165 cat "conftest.in" "conftest.in" >"conftest.tmp"
5166 mv "conftest.tmp" "conftest.in"
5167 cp "conftest.in" "conftest.nl"
5168 $as_echo 'EGREP' >> "conftest.nl"
5169 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5171 as_fn_arith $ac_count + 1 && ac_count=$as_val
5172 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5173 # Best one so far, save it but keep looking for a better one
5174 ac_cv_path_EGREP="$ac_path_EGREP"
5175 ac_path_EGREP_max=$ac_count
5176 fi
5177 # 10*(2^10) chars as input seems more than enough
5178 test $ac_count -gt 10 && break
5179 done
5180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5181 esac
5182
5183 $ac_path_EGREP_found && break 3
5184 done
5185 done
5186 done
5187 IFS=$as_save_IFS
5188 if test -z "$ac_cv_path_EGREP"; then
5189 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5190 fi
5191 else
5192 ac_cv_path_EGREP=$EGREP
5193 fi
5194
5195 fi
5196 fi
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5198 $as_echo "$ac_cv_path_EGREP" >&6; }
5199 EGREP="$ac_cv_path_EGREP"
5200
5201
5202
5203 # Keep these sync'd with the list in Makefile.am. The first provides an
5204 # expandable list at autoconf time; the second provides an expandable list
5205 # (i.e., shell variable) at configure time.
5206
5207 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5208
5209 # These need to be absolute paths, yet at the same time need to
5210 # canonicalize only relative paths, because then amd will not unmount
5211 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5212 glibcxx_builddir=`${PWDCMD-pwd}`
5213 case $srcdir in
5214 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5215 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5216 esac
5217 toplevel_builddir=${glibcxx_builddir}/..
5218 toplevel_srcdir=${glibcxx_srcdir}/..
5219
5220
5221
5222
5223
5224 # We use these options to decide which functions to include. They are
5225 # set from the top level.
5226
5227 # Check whether --with-target-subdir was given.
5228 if test "${with_target_subdir+set}" = set; then :
5229 withval=$with_target_subdir;
5230 fi
5231
5232
5233
5234 # Check whether --with-cross-host was given.
5235 if test "${with_cross_host+set}" = set; then :
5236 withval=$with_cross_host;
5237 fi
5238
5239
5240
5241 # Check whether --with-newlib was given.
5242 if test "${with_newlib+set}" = set; then :
5243 withval=$with_newlib;
5244 fi
5245
5246
5247 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5248 # available). Uncomment the next line to force a particular method.
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5250 $as_echo_n "checking whether ln -s works... " >&6; }
5251 LN_S=$as_ln_s
5252 if test "$LN_S" = "ln -s"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5254 $as_echo "yes" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5257 $as_echo "no, using $LN_S" >&6; }
5258 fi
5259
5260 #LN_S='cp -p'
5261
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5264 set dummy ${ac_tool_prefix}as; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_AS+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$AS"; then
5271 ac_cv_prog_AS="$AS" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5275 do
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_AS="${ac_tool_prefix}as"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5283 fi
5284 done
5285 done
5286 IFS=$as_save_IFS
5287
5288 fi
5289 fi
5290 AS=$ac_cv_prog_AS
5291 if test -n "$AS"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5293 $as_echo "$AS" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 fi
5298
5299
5300 fi
5301 if test -z "$ac_cv_prog_AS"; then
5302 ac_ct_AS=$AS
5303 # Extract the first word of "as", so it can be a program name with args.
5304 set dummy as; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$ac_ct_AS"; then
5311 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5315 do
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_AS="as"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5323 fi
5324 done
5325 done
5326 IFS=$as_save_IFS
5327
5328 fi
5329 fi
5330 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5331 if test -n "$ac_ct_AS"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5333 $as_echo "$ac_ct_AS" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5337 fi
5338
5339 if test "x$ac_ct_AS" = x; then
5340 AS=""
5341 else
5342 case $cross_compiling:$ac_tool_warned in
5343 yes:)
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346 ac_tool_warned=yes ;;
5347 esac
5348 AS=$ac_ct_AS
5349 fi
5350 else
5351 AS="$ac_cv_prog_AS"
5352 fi
5353
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5356 set dummy ${ac_tool_prefix}ar; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_AR+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 if test -n "$AR"; then
5363 ac_cv_prog_AR="$AR" # Let the user override the test.
5364 else
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5367 do
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_AR="${ac_tool_prefix}ar"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 break 2
5375 fi
5376 done
5377 done
5378 IFS=$as_save_IFS
5379
5380 fi
5381 fi
5382 AR=$ac_cv_prog_AR
5383 if test -n "$AR"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5385 $as_echo "$AR" >&6; }
5386 else
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5389 fi
5390
5391
5392 fi
5393 if test -z "$ac_cv_prog_AR"; then
5394 ac_ct_AR=$AR
5395 # Extract the first word of "ar", so it can be a program name with args.
5396 set dummy ar; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -n "$ac_ct_AR"; then
5403 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5404 else
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_AR="ar"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5415 fi
5416 done
5417 done
5418 IFS=$as_save_IFS
5419
5420 fi
5421 fi
5422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5423 if test -n "$ac_ct_AR"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5425 $as_echo "$ac_ct_AR" >&6; }
5426 else
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5429 fi
5430
5431 if test "x$ac_ct_AR" = x; then
5432 AR=""
5433 else
5434 case $cross_compiling:$ac_tool_warned in
5435 yes:)
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned=yes ;;
5439 esac
5440 AR=$ac_ct_AR
5441 fi
5442 else
5443 AR="$ac_cv_prog_AR"
5444 fi
5445
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_RANLIB+:} false; then :
5452 $as_echo_n "(cached) " >&6
5453 else
5454 if test -n "$RANLIB"; then
5455 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5459 do
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5467 fi
5468 done
5469 done
5470 IFS=$as_save_IFS
5471
5472 fi
5473 fi
5474 RANLIB=$ac_cv_prog_RANLIB
5475 if test -n "$RANLIB"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5477 $as_echo "$RANLIB" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5481 fi
5482
5483
5484 fi
5485 if test -z "$ac_cv_prog_RANLIB"; then
5486 ac_ct_RANLIB=$RANLIB
5487 # Extract the first word of "ranlib", so it can be a program name with args.
5488 set dummy ranlib; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$ac_ct_RANLIB"; then
5495 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5499 do
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_ac_ct_RANLIB="ranlib"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5507 fi
5508 done
5509 done
5510 IFS=$as_save_IFS
5511
5512 fi
5513 fi
5514 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5515 if test -n "$ac_ct_RANLIB"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5517 $as_echo "$ac_ct_RANLIB" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5521 fi
5522
5523 if test "x$ac_ct_RANLIB" = x; then
5524 RANLIB="ranlib-not-found-in-path-error"
5525 else
5526 case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned=yes ;;
5531 esac
5532 RANLIB=$ac_ct_RANLIB
5533 fi
5534 else
5535 RANLIB="$ac_cv_prog_RANLIB"
5536 fi
5537
5538
5539
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5541 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5542 # Check whether --enable-maintainer-mode was given.
5543 if test "${enable_maintainer_mode+set}" = set; then :
5544 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5545 else
5546 USE_MAINTAINER_MODE=no
5547 fi
5548
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5550 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5551 if test $USE_MAINTAINER_MODE = yes; then
5552 MAINTAINER_MODE_TRUE=
5553 MAINTAINER_MODE_FALSE='#'
5554 else
5555 MAINTAINER_MODE_TRUE='#'
5556 MAINTAINER_MODE_FALSE=
5557 fi
5558
5559 MAINT=$MAINTAINER_MODE_TRUE
5560
5561
5562
5563 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5564 # which are themselves conditionally expanded.
5565 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5566 ## other macros from doing the same. This should be automated.) -pme
5567
5568 # Check for C library flavor since GNU/Linux platforms use different
5569 # configuration directories depending on the C library in use.
5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5572
5573 #include <stdio.h>
5574 #if __UCLIBC__
5575 _using_uclibc
5576 #endif
5577
5578 _ACEOF
5579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5580 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5581 uclibc=yes
5582 else
5583 uclibc=no
5584 fi
5585 rm -f conftest*
5586
5587
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590
5591 #include <stdio.h>
5592 #if __BIONIC__
5593 _using_bionic
5594 #endif
5595
5596 _ACEOF
5597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5598 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5599 bionic=yes
5600 else
5601 bionic=no
5602 fi
5603 rm -f conftest*
5604
5605
5606 # Find platform-specific directories containing configuration info.
5607 # Also possibly modify flags used elsewhere, as needed by the platform.
5608
5609 . $glibcxx_srcdir/configure.host
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5611 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5613 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5614
5615
5616
5617 # Libtool setup.
5618 if test "x${with_newlib}" != "xyes"; then
5619 enable_dlopen=yes
5620
5621
5622
5623 fi
5624 case `pwd` in
5625 *\ * | *\ *)
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5627 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5628 esac
5629
5630
5631
5632 macro_version='2.2.7a'
5633 macro_revision='1.3134'
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647 ltmain="$ac_aux_dir/ltmain.sh"
5648
5649 # Backslashify metacharacters that are still active within
5650 # double-quoted strings.
5651 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5652
5653 # Same as above, but do not quote variable references.
5654 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5655
5656 # Sed substitution to delay expansion of an escaped shell variable in a
5657 # double_quote_subst'ed string.
5658 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5659
5660 # Sed substitution to delay expansion of an escaped single quote.
5661 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5662
5663 # Sed substitution to avoid accidental globbing in evaled expressions
5664 no_glob_subst='s/\*/\\\*/g'
5665
5666 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5668 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5669
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5671 $as_echo_n "checking how to print strings... " >&6; }
5672 # Test print first, because it will be a builtin if present.
5673 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5674 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5675 ECHO='print -r --'
5676 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5677 ECHO='printf %s\n'
5678 else
5679 # Use this function as a fallback that always works.
5680 func_fallback_echo ()
5681 {
5682 eval 'cat <<_LTECHO_EOF
5683 $1
5684 _LTECHO_EOF'
5685 }
5686 ECHO='func_fallback_echo'
5687 fi
5688
5689 # func_echo_all arg...
5690 # Invoke $ECHO with all args, space-separated.
5691 func_echo_all ()
5692 {
5693 $ECHO ""
5694 }
5695
5696 case "$ECHO" in
5697 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5698 $as_echo "printf" >&6; } ;;
5699 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5700 $as_echo "print -r" >&6; } ;;
5701 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5702 $as_echo "cat" >&6; } ;;
5703 esac
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5719 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5720 if ${ac_cv_path_SED+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5724 for ac_i in 1 2 3 4 5 6 7; do
5725 ac_script="$ac_script$as_nl$ac_script"
5726 done
5727 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5728 { ac_script=; unset ac_script;}
5729 if test -z "$SED"; then
5730 ac_path_SED_found=false
5731 # Loop through the user's path and test for each of PROGNAME-LIST
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5734 do
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_prog in sed gsed; do
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5740 as_fn_executable_p "$ac_path_SED" || continue
5741 # Check for GNU ac_path_SED and select it if it is found.
5742 # Check for GNU $ac_path_SED
5743 case `"$ac_path_SED" --version 2>&1` in
5744 *GNU*)
5745 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5746 *)
5747 ac_count=0
5748 $as_echo_n 0123456789 >"conftest.in"
5749 while :
5750 do
5751 cat "conftest.in" "conftest.in" >"conftest.tmp"
5752 mv "conftest.tmp" "conftest.in"
5753 cp "conftest.in" "conftest.nl"
5754 $as_echo '' >> "conftest.nl"
5755 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5757 as_fn_arith $ac_count + 1 && ac_count=$as_val
5758 if test $ac_count -gt ${ac_path_SED_max-0}; then
5759 # Best one so far, save it but keep looking for a better one
5760 ac_cv_path_SED="$ac_path_SED"
5761 ac_path_SED_max=$ac_count
5762 fi
5763 # 10*(2^10) chars as input seems more than enough
5764 test $ac_count -gt 10 && break
5765 done
5766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5767 esac
5768
5769 $ac_path_SED_found && break 3
5770 done
5771 done
5772 done
5773 IFS=$as_save_IFS
5774 if test -z "$ac_cv_path_SED"; then
5775 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5776 fi
5777 else
5778 ac_cv_path_SED=$SED
5779 fi
5780
5781 fi
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5783 $as_echo "$ac_cv_path_SED" >&6; }
5784 SED="$ac_cv_path_SED"
5785 rm -f conftest.sed
5786
5787 test -z "$SED" && SED=sed
5788 Xsed="$SED -e 1s/^X//"
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5801 $as_echo_n "checking for fgrep... " >&6; }
5802 if ${ac_cv_path_FGREP+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5806 then ac_cv_path_FGREP="$GREP -F"
5807 else
5808 if test -z "$FGREP"; then
5809 ac_path_FGREP_found=false
5810 # Loop through the user's path and test for each of PROGNAME-LIST
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5813 do
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_prog in fgrep; do
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5819 as_fn_executable_p "$ac_path_FGREP" || continue
5820 # Check for GNU ac_path_FGREP and select it if it is found.
5821 # Check for GNU $ac_path_FGREP
5822 case `"$ac_path_FGREP" --version 2>&1` in
5823 *GNU*)
5824 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5825 *)
5826 ac_count=0
5827 $as_echo_n 0123456789 >"conftest.in"
5828 while :
5829 do
5830 cat "conftest.in" "conftest.in" >"conftest.tmp"
5831 mv "conftest.tmp" "conftest.in"
5832 cp "conftest.in" "conftest.nl"
5833 $as_echo 'FGREP' >> "conftest.nl"
5834 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5836 as_fn_arith $ac_count + 1 && ac_count=$as_val
5837 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5838 # Best one so far, save it but keep looking for a better one
5839 ac_cv_path_FGREP="$ac_path_FGREP"
5840 ac_path_FGREP_max=$ac_count
5841 fi
5842 # 10*(2^10) chars as input seems more than enough
5843 test $ac_count -gt 10 && break
5844 done
5845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5846 esac
5847
5848 $ac_path_FGREP_found && break 3
5849 done
5850 done
5851 done
5852 IFS=$as_save_IFS
5853 if test -z "$ac_cv_path_FGREP"; then
5854 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5855 fi
5856 else
5857 ac_cv_path_FGREP=$FGREP
5858 fi
5859
5860 fi
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5863 $as_echo "$ac_cv_path_FGREP" >&6; }
5864 FGREP="$ac_cv_path_FGREP"
5865
5866
5867 test -z "$GREP" && GREP=grep
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887 # Check whether --with-gnu-ld was given.
5888 if test "${with_gnu_ld+set}" = set; then :
5889 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5890 else
5891 with_gnu_ld=no
5892 fi
5893
5894 ac_prog=ld
5895 if test "$GCC" = yes; then
5896 # Check if gcc -print-prog-name=ld gives a path.
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5898 $as_echo_n "checking for ld used by $CC... " >&6; }
5899 case $host in
5900 *-*-mingw*)
5901 # gcc leaves a trailing carriage return which upsets mingw
5902 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5903 *)
5904 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5905 esac
5906 case $ac_prog in
5907 # Accept absolute paths.
5908 [\\/]* | ?:[\\/]*)
5909 re_direlt='/[^/][^/]*/\.\./'
5910 # Canonicalize the pathname of ld
5911 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5912 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5913 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5914 done
5915 test -z "$LD" && LD="$ac_prog"
5916 ;;
5917 "")
5918 # If it fails, then pretend we aren't using GCC.
5919 ac_prog=ld
5920 ;;
5921 *)
5922 # If it is relative, then search for the first ld in PATH.
5923 with_gnu_ld=unknown
5924 ;;
5925 esac
5926 elif test "$with_gnu_ld" = yes; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5928 $as_echo_n "checking for GNU ld... " >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5931 $as_echo_n "checking for non-GNU ld... " >&6; }
5932 fi
5933 if ${lt_cv_path_LD+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -z "$LD"; then
5937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5938 for ac_dir in $PATH; do
5939 IFS="$lt_save_ifs"
5940 test -z "$ac_dir" && ac_dir=.
5941 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5942 lt_cv_path_LD="$ac_dir/$ac_prog"
5943 # Check to see if the program is GNU ld. I'd rather use --version,
5944 # but apparently some variants of GNU ld only accept -v.
5945 # Break only if it was the GNU/non-GNU ld that we prefer.
5946 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5947 *GNU* | *'with BFD'*)
5948 test "$with_gnu_ld" != no && break
5949 ;;
5950 *)
5951 test "$with_gnu_ld" != yes && break
5952 ;;
5953 esac
5954 fi
5955 done
5956 IFS="$lt_save_ifs"
5957 else
5958 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5959 fi
5960 fi
5961
5962 LD="$lt_cv_path_LD"
5963 if test -n "$LD"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5965 $as_echo "$LD" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5969 fi
5970 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5972 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5973 if ${lt_cv_prog_gnu_ld+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5977 case `$LD -v 2>&1 </dev/null` in
5978 *GNU* | *'with BFD'*)
5979 lt_cv_prog_gnu_ld=yes
5980 ;;
5981 *)
5982 lt_cv_prog_gnu_ld=no
5983 ;;
5984 esac
5985 fi
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5987 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5988 with_gnu_ld=$lt_cv_prog_gnu_ld
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5999 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6000 if ${lt_cv_path_NM+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 if test -n "$NM"; then
6004 # Let the user override the test.
6005 lt_cv_path_NM="$NM"
6006 else
6007 lt_nm_to_check="${ac_tool_prefix}nm"
6008 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6009 lt_nm_to_check="$lt_nm_to_check nm"
6010 fi
6011 for lt_tmp_nm in $lt_nm_to_check; do
6012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6013 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6014 IFS="$lt_save_ifs"
6015 test -z "$ac_dir" && ac_dir=.
6016 tmp_nm="$ac_dir/$lt_tmp_nm"
6017 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6018 # Check to see if the nm accepts a BSD-compat flag.
6019 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6020 # nm: unknown option "B" ignored
6021 # Tru64's nm complains that /dev/null is an invalid object file
6022 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6023 */dev/null* | *'Invalid file or object type'*)
6024 lt_cv_path_NM="$tmp_nm -B"
6025 break
6026 ;;
6027 *)
6028 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6029 */dev/null*)
6030 lt_cv_path_NM="$tmp_nm -p"
6031 break
6032 ;;
6033 *)
6034 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6035 continue # so that we can try to find one that supports BSD flags
6036 ;;
6037 esac
6038 ;;
6039 esac
6040 fi
6041 done
6042 IFS="$lt_save_ifs"
6043 done
6044 : ${lt_cv_path_NM=no}
6045 fi
6046 fi
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6048 $as_echo "$lt_cv_path_NM" >&6; }
6049 if test "$lt_cv_path_NM" != "no"; then
6050 NM="$lt_cv_path_NM"
6051 else
6052 # Didn't find any BSD compatible name lister, look for dumpbin.
6053 if test -n "$DUMPBIN"; then :
6054 # Let the user override the test.
6055 else
6056 if test -n "$ac_tool_prefix"; then
6057 for ac_prog in dumpbin "link -dump"
6058 do
6059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_DUMPBIN+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$DUMPBIN"; then
6067 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6079 fi
6080 done
6081 done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 DUMPBIN=$ac_cv_prog_DUMPBIN
6087 if test -n "$DUMPBIN"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6089 $as_echo "$DUMPBIN" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095
6096 test -n "$DUMPBIN" && break
6097 done
6098 fi
6099 if test -z "$DUMPBIN"; then
6100 ac_ct_DUMPBIN=$DUMPBIN
6101 for ac_prog in dumpbin "link -dump"
6102 do
6103 # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 set dummy $ac_prog; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$ac_ct_DUMPBIN"; then
6111 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6115 do
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6123 fi
6124 done
6125 done
6126 IFS=$as_save_IFS
6127
6128 fi
6129 fi
6130 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6131 if test -n "$ac_ct_DUMPBIN"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6133 $as_echo "$ac_ct_DUMPBIN" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6137 fi
6138
6139
6140 test -n "$ac_ct_DUMPBIN" && break
6141 done
6142
6143 if test "x$ac_ct_DUMPBIN" = x; then
6144 DUMPBIN=":"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 DUMPBIN=$ac_ct_DUMPBIN
6153 fi
6154 fi
6155
6156 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6157 *COFF*)
6158 DUMPBIN="$DUMPBIN -symbols"
6159 ;;
6160 *)
6161 DUMPBIN=:
6162 ;;
6163 esac
6164 fi
6165
6166 if test "$DUMPBIN" != ":"; then
6167 NM="$DUMPBIN"
6168 fi
6169 fi
6170 test -z "$NM" && NM=nm
6171
6172
6173
6174
6175
6176
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6178 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6179 if ${lt_cv_nm_interface+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 lt_cv_nm_interface="BSD nm"
6183 echo "int some_variable = 0;" > conftest.$ac_ext
6184 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6185 (eval "$ac_compile" 2>conftest.err)
6186 cat conftest.err >&5
6187 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6188 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6189 cat conftest.err >&5
6190 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6191 cat conftest.out >&5
6192 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6193 lt_cv_nm_interface="MS dumpbin"
6194 fi
6195 rm -f conftest*
6196 fi
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6198 $as_echo "$lt_cv_nm_interface" >&6; }
6199
6200 # find the maximum length of command line arguments
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6202 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6203 if ${lt_cv_sys_max_cmd_len+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 i=0
6207 teststring="ABCD"
6208
6209 case $build_os in
6210 msdosdjgpp*)
6211 # On DJGPP, this test can blow up pretty badly due to problems in libc
6212 # (any single argument exceeding 2000 bytes causes a buffer overrun
6213 # during glob expansion). Even if it were fixed, the result of this
6214 # check would be larger than it should be.
6215 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6216 ;;
6217
6218 gnu*)
6219 # Under GNU Hurd, this test is not required because there is
6220 # no limit to the length of command line arguments.
6221 # Libtool will interpret -1 as no limit whatsoever
6222 lt_cv_sys_max_cmd_len=-1;
6223 ;;
6224
6225 cygwin* | mingw* | cegcc*)
6226 # On Win9x/ME, this test blows up -- it succeeds, but takes
6227 # about 5 minutes as the teststring grows exponentially.
6228 # Worse, since 9x/ME are not pre-emptively multitasking,
6229 # you end up with a "frozen" computer, even though with patience
6230 # the test eventually succeeds (with a max line length of 256k).
6231 # Instead, let's just punt: use the minimum linelength reported by
6232 # all of the supported platforms: 8192 (on NT/2K/XP).
6233 lt_cv_sys_max_cmd_len=8192;
6234 ;;
6235
6236 mint*)
6237 # On MiNT this can take a long time and run out of memory.
6238 lt_cv_sys_max_cmd_len=8192;
6239 ;;
6240
6241 amigaos*)
6242 # On AmigaOS with pdksh, this test takes hours, literally.
6243 # So we just punt and use a minimum line length of 8192.
6244 lt_cv_sys_max_cmd_len=8192;
6245 ;;
6246
6247 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6248 # This has been around since 386BSD, at least. Likely further.
6249 if test -x /sbin/sysctl; then
6250 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6251 elif test -x /usr/sbin/sysctl; then
6252 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6253 else
6254 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6255 fi
6256 # And add a safety zone
6257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6258 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6259 ;;
6260
6261 interix*)
6262 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6263 lt_cv_sys_max_cmd_len=196608
6264 ;;
6265
6266 osf*)
6267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6269 # nice to cause kernel panics so lets avoid the loop below.
6270 # First set a reasonable default.
6271 lt_cv_sys_max_cmd_len=16384
6272 #
6273 if test -x /sbin/sysconfig; then
6274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6275 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6276 esac
6277 fi
6278 ;;
6279 sco3.2v5*)
6280 lt_cv_sys_max_cmd_len=102400
6281 ;;
6282 sysv5* | sco5v6* | sysv4.2uw2*)
6283 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6284 if test -n "$kargmax"; then
6285 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6286 else
6287 lt_cv_sys_max_cmd_len=32768
6288 fi
6289 ;;
6290 *)
6291 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6292 if test -n "$lt_cv_sys_max_cmd_len"; then
6293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6294 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6295 else
6296 # Make teststring a little bigger before we do anything with it.
6297 # a 1K string should be a reasonable start.
6298 for i in 1 2 3 4 5 6 7 8 ; do
6299 teststring=$teststring$teststring
6300 done
6301 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6302 # If test is not a shell built-in, we'll probably end up computing a
6303 # maximum length that is only half of the actual maximum length, but
6304 # we can't tell.
6305 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6306 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6307 test $i != 17 # 1/2 MB should be enough
6308 do
6309 i=`expr $i + 1`
6310 teststring=$teststring$teststring
6311 done
6312 # Only check the string length outside the loop.
6313 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6314 teststring=
6315 # Add a significant safety factor because C++ compilers can tack on
6316 # massive amounts of additional arguments before passing them to the
6317 # linker. It appears as though 1/2 is a usable value.
6318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6319 fi
6320 ;;
6321 esac
6322
6323 fi
6324
6325 if test -n $lt_cv_sys_max_cmd_len ; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6327 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6328 else
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6330 $as_echo "none" >&6; }
6331 fi
6332 max_cmd_len=$lt_cv_sys_max_cmd_len
6333
6334
6335
6336
6337
6338
6339 : ${CP="cp -f"}
6340 : ${MV="mv -f"}
6341 : ${RM="rm -f"}
6342
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6344 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6345 # Try some XSI features
6346 xsi_shell=no
6347 ( _lt_dummy="a/b/c"
6348 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6349 = c,a/b,, \
6350 && eval 'test $(( 1 + 1 )) -eq 2 \
6351 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6352 && xsi_shell=yes
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6354 $as_echo "$xsi_shell" >&6; }
6355
6356
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6358 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6359 lt_shell_append=no
6360 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6361 >/dev/null 2>&1 \
6362 && lt_shell_append=yes
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6364 $as_echo "$lt_shell_append" >&6; }
6365
6366
6367 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6368 lt_unset=unset
6369 else
6370 lt_unset=false
6371 fi
6372
6373
6374
6375
6376
6377 # test EBCDIC or ASCII
6378 case `echo X|tr X '\101'` in
6379 A) # ASCII based system
6380 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6381 lt_SP2NL='tr \040 \012'
6382 lt_NL2SP='tr \015\012 \040\040'
6383 ;;
6384 *) # EBCDIC based system
6385 lt_SP2NL='tr \100 \n'
6386 lt_NL2SP='tr \r\n \100\100'
6387 ;;
6388 esac
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6399 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6400 if ${lt_cv_ld_reload_flag+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 lt_cv_ld_reload_flag='-r'
6404 fi
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6406 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6407 reload_flag=$lt_cv_ld_reload_flag
6408 case $reload_flag in
6409 "" | " "*) ;;
6410 *) reload_flag=" $reload_flag" ;;
6411 esac
6412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6413 case $host_os in
6414 darwin*)
6415 if test "$GCC" = yes; then
6416 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6417 else
6418 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6419 fi
6420 ;;
6421 esac
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_OBJDUMP+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$OBJDUMP"; then
6440 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6452 fi
6453 done
6454 done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 OBJDUMP=$ac_cv_prog_OBJDUMP
6460 if test -n "$OBJDUMP"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6462 $as_echo "$OBJDUMP" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469 fi
6470 if test -z "$ac_cv_prog_OBJDUMP"; then
6471 ac_ct_OBJDUMP=$OBJDUMP
6472 # Extract the first word of "objdump", so it can be a program name with args.
6473 set dummy objdump; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_OBJDUMP"; then
6480 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6484 do
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6492 fi
6493 done
6494 done
6495 IFS=$as_save_IFS
6496
6497 fi
6498 fi
6499 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6500 if test -n "$ac_ct_OBJDUMP"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6502 $as_echo "$ac_ct_OBJDUMP" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6506 fi
6507
6508 if test "x$ac_ct_OBJDUMP" = x; then
6509 OBJDUMP="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 OBJDUMP=$ac_ct_OBJDUMP
6518 fi
6519 else
6520 OBJDUMP="$ac_cv_prog_OBJDUMP"
6521 fi
6522
6523 test -z "$OBJDUMP" && OBJDUMP=objdump
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6534 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6535 if ${lt_cv_deplibs_check_method+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 lt_cv_file_magic_cmd='$MAGIC_CMD'
6539 lt_cv_file_magic_test_file=
6540 lt_cv_deplibs_check_method='unknown'
6541 # Need to set the preceding variable on all platforms that support
6542 # interlibrary dependencies.
6543 # 'none' -- dependencies not supported.
6544 # `unknown' -- same as none, but documents that we really don't know.
6545 # 'pass_all' -- all dependencies passed with no checks.
6546 # 'test_compile' -- check by making test program.
6547 # 'file_magic [[regex]]' -- check by looking for files in library path
6548 # which responds to the $file_magic_cmd with a given extended regex.
6549 # If you have `file' or equivalent on your system and you're not sure
6550 # whether `pass_all' will *always* work, you probably want this one.
6551
6552 case $host_os in
6553 aix[4-9]*)
6554 lt_cv_deplibs_check_method=pass_all
6555 ;;
6556
6557 beos*)
6558 lt_cv_deplibs_check_method=pass_all
6559 ;;
6560
6561 bsdi[45]*)
6562 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6563 lt_cv_file_magic_cmd='/usr/bin/file -L'
6564 lt_cv_file_magic_test_file=/shlib/libc.so
6565 ;;
6566
6567 cygwin*)
6568 # func_win32_libid is a shell function defined in ltmain.sh
6569 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6570 lt_cv_file_magic_cmd='func_win32_libid'
6571 ;;
6572
6573 mingw* | pw32*)
6574 # Base MSYS/MinGW do not provide the 'file' command needed by
6575 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6576 # unless we find 'file', for example because we are cross-compiling.
6577 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6578 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6579 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6580 lt_cv_file_magic_cmd='func_win32_libid'
6581 else
6582 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6583 lt_cv_file_magic_cmd='$OBJDUMP -f'
6584 fi
6585 ;;
6586
6587 cegcc*)
6588 # use the weaker test based on 'objdump'. See mingw*.
6589 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6590 lt_cv_file_magic_cmd='$OBJDUMP -f'
6591 ;;
6592
6593 darwin* | rhapsody*)
6594 lt_cv_deplibs_check_method=pass_all
6595 ;;
6596
6597 freebsd* | dragonfly*)
6598 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6599 case $host_cpu in
6600 i*86 )
6601 # Not sure whether the presence of OpenBSD here was a mistake.
6602 # Let's accept both of them until this is cleared up.
6603 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6604 lt_cv_file_magic_cmd=/usr/bin/file
6605 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6606 ;;
6607 esac
6608 else
6609 lt_cv_deplibs_check_method=pass_all
6610 fi
6611 ;;
6612
6613 gnu*)
6614 lt_cv_deplibs_check_method=pass_all
6615 ;;
6616
6617 haiku*)
6618 lt_cv_deplibs_check_method=pass_all
6619 ;;
6620
6621 hpux10.20* | hpux11*)
6622 lt_cv_file_magic_cmd=/usr/bin/file
6623 case $host_cpu in
6624 ia64*)
6625 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6626 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6627 ;;
6628 hppa*64*)
6629 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]'
6630 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6631 ;;
6632 *)
6633 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6634 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6635 ;;
6636 esac
6637 ;;
6638
6639 interix[3-9]*)
6640 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6642 ;;
6643
6644 irix5* | irix6* | nonstopux*)
6645 case $LD in
6646 *-32|*"-32 ") libmagic=32-bit;;
6647 *-n32|*"-n32 ") libmagic=N32;;
6648 *-64|*"-64 ") libmagic=64-bit;;
6649 *) libmagic=never-match;;
6650 esac
6651 lt_cv_deplibs_check_method=pass_all
6652 ;;
6653
6654 # This must be Linux ELF.
6655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6656 lt_cv_deplibs_check_method=pass_all
6657 ;;
6658
6659 netbsd*)
6660 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6662 else
6663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6664 fi
6665 ;;
6666
6667 newos6*)
6668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6669 lt_cv_file_magic_cmd=/usr/bin/file
6670 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6671 ;;
6672
6673 *nto* | *qnx*)
6674 lt_cv_deplibs_check_method=pass_all
6675 ;;
6676
6677 openbsd*)
6678 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6679 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6680 else
6681 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6682 fi
6683 ;;
6684
6685 osf3* | osf4* | osf5*)
6686 lt_cv_deplibs_check_method=pass_all
6687 ;;
6688
6689 rdos*)
6690 lt_cv_deplibs_check_method=pass_all
6691 ;;
6692
6693 solaris*)
6694 lt_cv_deplibs_check_method=pass_all
6695 ;;
6696
6697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6698 lt_cv_deplibs_check_method=pass_all
6699 ;;
6700
6701 sysv4 | sysv4.3*)
6702 case $host_vendor in
6703 motorola)
6704 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]'
6705 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6706 ;;
6707 ncr)
6708 lt_cv_deplibs_check_method=pass_all
6709 ;;
6710 sequent)
6711 lt_cv_file_magic_cmd='/bin/file'
6712 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6713 ;;
6714 sni)
6715 lt_cv_file_magic_cmd='/bin/file'
6716 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6717 lt_cv_file_magic_test_file=/lib/libc.so
6718 ;;
6719 siemens)
6720 lt_cv_deplibs_check_method=pass_all
6721 ;;
6722 pc)
6723 lt_cv_deplibs_check_method=pass_all
6724 ;;
6725 esac
6726 ;;
6727
6728 tpf*)
6729 lt_cv_deplibs_check_method=pass_all
6730 ;;
6731 esac
6732
6733 fi
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6735 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6736 file_magic_cmd=$lt_cv_file_magic_cmd
6737 deplibs_check_method=$lt_cv_deplibs_check_method
6738 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6753 set dummy ${ac_tool_prefix}ar; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_AR+:} false; then :
6757 $as_echo_n "(cached) " >&6
6758 else
6759 if test -n "$AR"; then
6760 ac_cv_prog_AR="$AR" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6764 do
6765 IFS=$as_save_IFS
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_AR="${ac_tool_prefix}ar"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6771 break 2
6772 fi
6773 done
6774 done
6775 IFS=$as_save_IFS
6776
6777 fi
6778 fi
6779 AR=$ac_cv_prog_AR
6780 if test -n "$AR"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6782 $as_echo "$AR" >&6; }
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6786 fi
6787
6788
6789 fi
6790 if test -z "$ac_cv_prog_AR"; then
6791 ac_ct_AR=$AR
6792 # Extract the first word of "ar", so it can be a program name with args.
6793 set dummy ar; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 if test -n "$ac_ct_AR"; then
6800 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6801 else
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 for as_dir in $PATH
6804 do
6805 IFS=$as_save_IFS
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_ac_ct_AR="ar"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 break 2
6812 fi
6813 done
6814 done
6815 IFS=$as_save_IFS
6816
6817 fi
6818 fi
6819 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6820 if test -n "$ac_ct_AR"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6822 $as_echo "$ac_ct_AR" >&6; }
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6826 fi
6827
6828 if test "x$ac_ct_AR" = x; then
6829 AR="false"
6830 else
6831 case $cross_compiling:$ac_tool_warned in
6832 yes:)
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6835 ac_tool_warned=yes ;;
6836 esac
6837 AR=$ac_ct_AR
6838 fi
6839 else
6840 AR="$ac_cv_prog_AR"
6841 fi
6842
6843 test -z "$AR" && AR=ar
6844 test -z "$AR_FLAGS" && AR_FLAGS=cru
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856 if test -n "$ac_tool_prefix"; then
6857 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6858 set dummy ${ac_tool_prefix}strip; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_STRIP+:} false; then :
6862 $as_echo_n "(cached) " >&6
6863 else
6864 if test -n "$STRIP"; then
6865 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6869 do
6870 IFS=$as_save_IFS
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 break 2
6877 fi
6878 done
6879 done
6880 IFS=$as_save_IFS
6881
6882 fi
6883 fi
6884 STRIP=$ac_cv_prog_STRIP
6885 if test -n "$STRIP"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6887 $as_echo "$STRIP" >&6; }
6888 else
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6891 fi
6892
6893
6894 fi
6895 if test -z "$ac_cv_prog_STRIP"; then
6896 ac_ct_STRIP=$STRIP
6897 # Extract the first word of "strip", so it can be a program name with args.
6898 set dummy strip; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900 $as_echo_n "checking for $ac_word... " >&6; }
6901 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 if test -n "$ac_ct_STRIP"; then
6905 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6906 else
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH
6909 do
6910 IFS=$as_save_IFS
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_ac_ct_STRIP="strip"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 break 2
6917 fi
6918 done
6919 done
6920 IFS=$as_save_IFS
6921
6922 fi
6923 fi
6924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6925 if test -n "$ac_ct_STRIP"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6927 $as_echo "$ac_ct_STRIP" >&6; }
6928 else
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6931 fi
6932
6933 if test "x$ac_ct_STRIP" = x; then
6934 STRIP=":"
6935 else
6936 case $cross_compiling:$ac_tool_warned in
6937 yes:)
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6940 ac_tool_warned=yes ;;
6941 esac
6942 STRIP=$ac_ct_STRIP
6943 fi
6944 else
6945 STRIP="$ac_cv_prog_STRIP"
6946 fi
6947
6948 test -z "$STRIP" && STRIP=:
6949
6950
6951
6952
6953
6954
6955 if test -n "$ac_tool_prefix"; then
6956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_RANLIB+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 if test -n "$RANLIB"; then
6964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6968 do
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6976 fi
6977 done
6978 done
6979 IFS=$as_save_IFS
6980
6981 fi
6982 fi
6983 RANLIB=$ac_cv_prog_RANLIB
6984 if test -n "$RANLIB"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6986 $as_echo "$RANLIB" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6990 fi
6991
6992
6993 fi
6994 if test -z "$ac_cv_prog_RANLIB"; then
6995 ac_ct_RANLIB=$RANLIB
6996 # Extract the first word of "ranlib", so it can be a program name with args.
6997 set dummy ranlib; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$ac_ct_RANLIB"; then
7004 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7008 do
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_ac_ct_RANLIB="ranlib"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7016 fi
7017 done
7018 done
7019 IFS=$as_save_IFS
7020
7021 fi
7022 fi
7023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7024 if test -n "$ac_ct_RANLIB"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7026 $as_echo "$ac_ct_RANLIB" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7030 fi
7031
7032 if test "x$ac_ct_RANLIB" = x; then
7033 RANLIB=":"
7034 else
7035 case $cross_compiling:$ac_tool_warned in
7036 yes:)
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7039 ac_tool_warned=yes ;;
7040 esac
7041 RANLIB=$ac_ct_RANLIB
7042 fi
7043 else
7044 RANLIB="$ac_cv_prog_RANLIB"
7045 fi
7046
7047 test -z "$RANLIB" && RANLIB=:
7048
7049
7050
7051
7052
7053
7054 # Determine commands to create old-style static archives.
7055 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7056 old_postinstall_cmds='chmod 644 $oldlib'
7057 old_postuninstall_cmds=
7058
7059 if test -n "$RANLIB"; then
7060 case $host_os in
7061 openbsd*)
7062 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7063 ;;
7064 *)
7065 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7066 ;;
7067 esac
7068 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7069 fi
7070
7071 case $host_os in
7072 darwin*)
7073 lock_old_archive_extraction=yes ;;
7074 *)
7075 lock_old_archive_extraction=no ;;
7076 esac
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
7112
7113
7114
7115
7116 # If no C compiler was specified, use CC.
7117 LTCC=${LTCC-"$CC"}
7118
7119 # If no C compiler flags were specified, use CFLAGS.
7120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7121
7122 # Allow CC to be a program name with arguments.
7123 compiler=$CC
7124
7125
7126 # Check for command to grab the raw symbol name followed by C symbol from nm.
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7128 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7129 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132
7133 # These are sane defaults that work on at least a few old systems.
7134 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7135
7136 # Character class describing NM global symbol codes.
7137 symcode='[BCDEGRST]'
7138
7139 # Regexp to match symbols that can be accessed directly from C.
7140 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7141
7142 # Define system-specific variables.
7143 case $host_os in
7144 aix*)
7145 symcode='[BCDT]'
7146 ;;
7147 cygwin* | mingw* | pw32* | cegcc*)
7148 symcode='[ABCDGISTW]'
7149 ;;
7150 hpux*)
7151 if test "$host_cpu" = ia64; then
7152 symcode='[ABCDEGRST]'
7153 fi
7154 ;;
7155 irix* | nonstopux*)
7156 symcode='[BCDEGRST]'
7157 ;;
7158 osf*)
7159 symcode='[BCDEGQRST]'
7160 ;;
7161 solaris*)
7162 symcode='[BDRT]'
7163 ;;
7164 sco3.2v5*)
7165 symcode='[DT]'
7166 ;;
7167 sysv4.2uw2*)
7168 symcode='[DT]'
7169 ;;
7170 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7171 symcode='[ABDT]'
7172 ;;
7173 sysv4)
7174 symcode='[DFNSTU]'
7175 ;;
7176 esac
7177
7178 # If we're using GNU nm, then use its standard symbol codes.
7179 case `$NM -V 2>&1` in
7180 *GNU* | *'with BFD'*)
7181 symcode='[ABCDGIRSTW]' ;;
7182 esac
7183
7184 # Transform an extracted symbol line into a proper C declaration.
7185 # Some systems (esp. on ia64) link data and code symbols differently,
7186 # so use this general approach.
7187 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7188
7189 # Transform an extracted symbol line into symbol name and symbol address
7190 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7191 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'"
7192
7193 # Handle CRLF in mingw tool chain
7194 opt_cr=
7195 case $build_os in
7196 mingw*)
7197 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7198 ;;
7199 esac
7200
7201 # Try without a prefix underscore, then with it.
7202 for ac_symprfx in "" "_"; do
7203
7204 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7205 symxfrm="\\1 $ac_symprfx\\2 \\2"
7206
7207 # Write the raw and C identifiers.
7208 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7209 # Fake it for dumpbin and say T for any non-static function
7210 # and D for any global variable.
7211 # Also find C++ and __fastcall symbols from MSVC++,
7212 # which start with @ or ?.
7213 lt_cv_sys_global_symbol_pipe="$AWK '"\
7214 " {last_section=section; section=\$ 3};"\
7215 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7216 " \$ 0!~/External *\|/{next};"\
7217 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7218 " {if(hide[section]) next};"\
7219 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7220 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7221 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7222 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7223 " ' prfx=^$ac_symprfx"
7224 else
7225 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7226 fi
7227
7228 # Check to see that the pipe works correctly.
7229 pipe_works=no
7230
7231 rm -f conftest*
7232 cat > conftest.$ac_ext <<_LT_EOF
7233 #ifdef __cplusplus
7234 extern "C" {
7235 #endif
7236 char nm_test_var;
7237 void nm_test_func(void);
7238 void nm_test_func(void){}
7239 #ifdef __cplusplus
7240 }
7241 #endif
7242 int main(){nm_test_var='a';nm_test_func();return(0);}
7243 _LT_EOF
7244
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 # Now try to grab the symbols.
7251 nlist=conftest.nm
7252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7253 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7254 ac_status=$?
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; } && test -s "$nlist"; then
7257 # Try sorting and uniquifying the output.
7258 if sort "$nlist" | uniq > "$nlist"T; then
7259 mv -f "$nlist"T "$nlist"
7260 else
7261 rm -f "$nlist"T
7262 fi
7263
7264 # Make sure that we snagged all the symbols we need.
7265 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7266 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7267 cat <<_LT_EOF > conftest.$ac_ext
7268 #ifdef __cplusplus
7269 extern "C" {
7270 #endif
7271
7272 _LT_EOF
7273 # Now generate the symbol file.
7274 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7275
7276 cat <<_LT_EOF >> conftest.$ac_ext
7277
7278 /* The mapping between symbol names and symbols. */
7279 const struct {
7280 const char *name;
7281 void *address;
7282 }
7283 lt__PROGRAM__LTX_preloaded_symbols[] =
7284 {
7285 { "@PROGRAM@", (void *) 0 },
7286 _LT_EOF
7287 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7288 cat <<\_LT_EOF >> conftest.$ac_ext
7289 {0, (void *) 0}
7290 };
7291
7292 /* This works around a problem in FreeBSD linker */
7293 #ifdef FREEBSD_WORKAROUND
7294 static const void *lt_preloaded_setup() {
7295 return lt__PROGRAM__LTX_preloaded_symbols;
7296 }
7297 #endif
7298
7299 #ifdef __cplusplus
7300 }
7301 #endif
7302 _LT_EOF
7303 # Now try linking the two files.
7304 mv conftest.$ac_objext conftstm.$ac_objext
7305 lt_save_LIBS="$LIBS"
7306 lt_save_CFLAGS="$CFLAGS"
7307 LIBS="conftstm.$ac_objext"
7308 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7310 (eval $ac_link) 2>&5
7311 ac_status=$?
7312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7313 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7314 pipe_works=yes
7315 fi
7316 LIBS="$lt_save_LIBS"
7317 CFLAGS="$lt_save_CFLAGS"
7318 else
7319 echo "cannot find nm_test_func in $nlist" >&5
7320 fi
7321 else
7322 echo "cannot find nm_test_var in $nlist" >&5
7323 fi
7324 else
7325 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7326 fi
7327 else
7328 echo "$progname: failed program was:" >&5
7329 cat conftest.$ac_ext >&5
7330 fi
7331 rm -rf conftest* conftst*
7332
7333 # Do not use the global_symbol_pipe unless it works.
7334 if test "$pipe_works" = yes; then
7335 break
7336 else
7337 lt_cv_sys_global_symbol_pipe=
7338 fi
7339 done
7340
7341 fi
7342
7343 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7344 lt_cv_sys_global_symbol_to_cdecl=
7345 fi
7346 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7348 $as_echo "failed" >&6; }
7349 else
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7351 $as_echo "ok" >&6; }
7352 fi
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375 # Check whether --enable-libtool-lock was given.
7376 if test "${enable_libtool_lock+set}" = set; then :
7377 enableval=$enable_libtool_lock;
7378 fi
7379
7380 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7381
7382 # Some flags need to be propagated to the compiler or linker for good
7383 # libtool support.
7384 case $host in
7385 ia64-*-hpux*)
7386 # Find out which ABI we are using.
7387 echo 'int i;' > conftest.$ac_ext
7388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7389 (eval $ac_compile) 2>&5
7390 ac_status=$?
7391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7392 test $ac_status = 0; }; then
7393 case `/usr/bin/file conftest.$ac_objext` in
7394 *ELF-32*)
7395 HPUX_IA64_MODE="32"
7396 ;;
7397 *ELF-64*)
7398 HPUX_IA64_MODE="64"
7399 ;;
7400 esac
7401 fi
7402 rm -rf conftest*
7403 ;;
7404 *-*-irix6*)
7405 # Find out which ABI we are using.
7406 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7409 ac_status=$?
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 if test "$lt_cv_prog_gnu_ld" = yes; then
7413 case `/usr/bin/file conftest.$ac_objext` in
7414 *32-bit*)
7415 LD="${LD-ld} -melf32bsmip"
7416 ;;
7417 *N32*)
7418 LD="${LD-ld} -melf32bmipn32"
7419 ;;
7420 *64-bit*)
7421 LD="${LD-ld} -melf64bmip"
7422 ;;
7423 esac
7424 else
7425 case `/usr/bin/file conftest.$ac_objext` in
7426 *32-bit*)
7427 LD="${LD-ld} -32"
7428 ;;
7429 *N32*)
7430 LD="${LD-ld} -n32"
7431 ;;
7432 *64-bit*)
7433 LD="${LD-ld} -64"
7434 ;;
7435 esac
7436 fi
7437 fi
7438 rm -rf conftest*
7439 ;;
7440
7441 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7442 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7443 # Find out which ABI we are using.
7444 echo 'int i;' > conftest.$ac_ext
7445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7446 (eval $ac_compile) 2>&5
7447 ac_status=$?
7448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7449 test $ac_status = 0; }; then
7450 case `/usr/bin/file conftest.o` in
7451 *32-bit*)
7452 case $host in
7453 x86_64-*kfreebsd*-gnu)
7454 LD="${LD-ld} -m elf_i386_fbsd"
7455 ;;
7456 x86_64-*linux*)
7457 case `/usr/bin/file conftest.o` in
7458 *x86-64*)
7459 LD="${LD-ld} -m elf32_x86_64"
7460 ;;
7461 *)
7462 LD="${LD-ld} -m elf_i386"
7463 ;;
7464 esac
7465 ;;
7466 powerpc64le-*linux*)
7467 LD="${LD-ld} -m elf32lppclinux"
7468 ;;
7469 powerpc64-*linux*)
7470 LD="${LD-ld} -m elf32ppclinux"
7471 ;;
7472 s390x-*linux*)
7473 LD="${LD-ld} -m elf_s390"
7474 ;;
7475 sparc64-*linux*)
7476 LD="${LD-ld} -m elf32_sparc"
7477 ;;
7478 esac
7479 ;;
7480 *64-bit*)
7481 case $host in
7482 x86_64-*kfreebsd*-gnu)
7483 LD="${LD-ld} -m elf_x86_64_fbsd"
7484 ;;
7485 x86_64-*linux*)
7486 LD="${LD-ld} -m elf_x86_64"
7487 ;;
7488 powerpcle-*linux*)
7489 LD="${LD-ld} -m elf64lppc"
7490 ;;
7491 powerpc-*linux*)
7492 LD="${LD-ld} -m elf64ppc"
7493 ;;
7494 s390*-*linux*|s390*-*tpf*)
7495 LD="${LD-ld} -m elf64_s390"
7496 ;;
7497 sparc*-*linux*)
7498 LD="${LD-ld} -m elf64_sparc"
7499 ;;
7500 esac
7501 ;;
7502 esac
7503 fi
7504 rm -rf conftest*
7505 ;;
7506
7507 *-*-sco3.2v5*)
7508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7509 SAVE_CFLAGS="$CFLAGS"
7510 CFLAGS="$CFLAGS -belf"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7512 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7513 if ${lt_cv_cc_needs_belf+:} false; then :
7514 $as_echo_n "(cached) " >&6
7515 else
7516 ac_ext=c
7517 ac_cpp='$CPP $CPPFLAGS'
7518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7521
7522 if test x$gcc_no_link = xyes; then
7523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7524 fi
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527
7528 int
7529 main ()
7530 {
7531
7532 ;
7533 return 0;
7534 }
7535 _ACEOF
7536 if ac_fn_c_try_link "$LINENO"; then :
7537 lt_cv_cc_needs_belf=yes
7538 else
7539 lt_cv_cc_needs_belf=no
7540 fi
7541 rm -f core conftest.err conftest.$ac_objext \
7542 conftest$ac_exeext conftest.$ac_ext
7543 ac_ext=c
7544 ac_cpp='$CPP $CPPFLAGS'
7545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7548
7549 fi
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7551 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7552 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7553 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7554 CFLAGS="$SAVE_CFLAGS"
7555 fi
7556 ;;
7557 sparc*-*solaris*)
7558 # Find out which ABI we are using.
7559 echo 'int i;' > conftest.$ac_ext
7560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7561 (eval $ac_compile) 2>&5
7562 ac_status=$?
7563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7564 test $ac_status = 0; }; then
7565 case `/usr/bin/file conftest.o` in
7566 *64-bit*)
7567 case $lt_cv_prog_gnu_ld in
7568 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7569 *)
7570 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7571 LD="${LD-ld} -64"
7572 fi
7573 ;;
7574 esac
7575 ;;
7576 esac
7577 fi
7578 rm -rf conftest*
7579 ;;
7580 esac
7581
7582 need_locks="$enable_libtool_lock"
7583
7584
7585 case $host_os in
7586 rhapsody* | darwin*)
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7593 $as_echo_n "(cached) " >&6
7594 else
7595 if test -n "$DSYMUTIL"; then
7596 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7600 do
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7608 fi
7609 done
7610 done
7611 IFS=$as_save_IFS
7612
7613 fi
7614 fi
7615 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7616 if test -n "$DSYMUTIL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7618 $as_echo "$DSYMUTIL" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7622 fi
7623
7624
7625 fi
7626 if test -z "$ac_cv_prog_DSYMUTIL"; then
7627 ac_ct_DSYMUTIL=$DSYMUTIL
7628 # Extract the first word of "dsymutil", so it can be a program name with args.
7629 set dummy dsymutil; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 if test -n "$ac_ct_DSYMUTIL"; then
7636 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7640 do
7641 IFS=$as_save_IFS
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 break 2
7648 fi
7649 done
7650 done
7651 IFS=$as_save_IFS
7652
7653 fi
7654 fi
7655 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7656 if test -n "$ac_ct_DSYMUTIL"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7658 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7659 else
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7662 fi
7663
7664 if test "x$ac_ct_DSYMUTIL" = x; then
7665 DSYMUTIL=":"
7666 else
7667 case $cross_compiling:$ac_tool_warned in
7668 yes:)
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7672 esac
7673 DSYMUTIL=$ac_ct_DSYMUTIL
7674 fi
7675 else
7676 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7677 fi
7678
7679 if test -n "$ac_tool_prefix"; then
7680 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7681 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_NMEDIT+:} false; then :
7685 $as_echo_n "(cached) " >&6
7686 else
7687 if test -n "$NMEDIT"; then
7688 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7689 else
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 for as_dir in $PATH
7692 do
7693 IFS=$as_save_IFS
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 break 2
7700 fi
7701 done
7702 done
7703 IFS=$as_save_IFS
7704
7705 fi
7706 fi
7707 NMEDIT=$ac_cv_prog_NMEDIT
7708 if test -n "$NMEDIT"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7710 $as_echo "$NMEDIT" >&6; }
7711 else
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7714 fi
7715
7716
7717 fi
7718 if test -z "$ac_cv_prog_NMEDIT"; then
7719 ac_ct_NMEDIT=$NMEDIT
7720 # Extract the first word of "nmedit", so it can be a program name with args.
7721 set dummy nmedit; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723 $as_echo_n "checking for $ac_word... " >&6; }
7724 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 if test -n "$ac_ct_NMEDIT"; then
7728 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7732 do
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7740 fi
7741 done
7742 done
7743 IFS=$as_save_IFS
7744
7745 fi
7746 fi
7747 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7748 if test -n "$ac_ct_NMEDIT"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7750 $as_echo "$ac_ct_NMEDIT" >&6; }
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7754 fi
7755
7756 if test "x$ac_ct_NMEDIT" = x; then
7757 NMEDIT=":"
7758 else
7759 case $cross_compiling:$ac_tool_warned in
7760 yes:)
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7763 ac_tool_warned=yes ;;
7764 esac
7765 NMEDIT=$ac_ct_NMEDIT
7766 fi
7767 else
7768 NMEDIT="$ac_cv_prog_NMEDIT"
7769 fi
7770
7771 if test -n "$ac_tool_prefix"; then
7772 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7773 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_LIPO+:} false; then :
7777 $as_echo_n "(cached) " >&6
7778 else
7779 if test -n "$LIPO"; then
7780 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7781 else
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 for as_dir in $PATH
7784 do
7785 IFS=$as_save_IFS
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 break 2
7792 fi
7793 done
7794 done
7795 IFS=$as_save_IFS
7796
7797 fi
7798 fi
7799 LIPO=$ac_cv_prog_LIPO
7800 if test -n "$LIPO"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7802 $as_echo "$LIPO" >&6; }
7803 else
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7806 fi
7807
7808
7809 fi
7810 if test -z "$ac_cv_prog_LIPO"; then
7811 ac_ct_LIPO=$LIPO
7812 # Extract the first word of "lipo", so it can be a program name with args.
7813 set dummy lipo; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7817 $as_echo_n "(cached) " >&6
7818 else
7819 if test -n "$ac_ct_LIPO"; then
7820 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7824 do
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_ac_ct_LIPO="lipo"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7832 fi
7833 done
7834 done
7835 IFS=$as_save_IFS
7836
7837 fi
7838 fi
7839 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7840 if test -n "$ac_ct_LIPO"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7842 $as_echo "$ac_ct_LIPO" >&6; }
7843 else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7846 fi
7847
7848 if test "x$ac_ct_LIPO" = x; then
7849 LIPO=":"
7850 else
7851 case $cross_compiling:$ac_tool_warned in
7852 yes:)
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7855 ac_tool_warned=yes ;;
7856 esac
7857 LIPO=$ac_ct_LIPO
7858 fi
7859 else
7860 LIPO="$ac_cv_prog_LIPO"
7861 fi
7862
7863 if test -n "$ac_tool_prefix"; then
7864 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7865 set dummy ${ac_tool_prefix}otool; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_OTOOL+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 if test -n "$OTOOL"; then
7872 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7873 else
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 for as_dir in $PATH
7876 do
7877 IFS=$as_save_IFS
7878 test -z "$as_dir" && as_dir=.
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 break 2
7884 fi
7885 done
7886 done
7887 IFS=$as_save_IFS
7888
7889 fi
7890 fi
7891 OTOOL=$ac_cv_prog_OTOOL
7892 if test -n "$OTOOL"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7894 $as_echo "$OTOOL" >&6; }
7895 else
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7898 fi
7899
7900
7901 fi
7902 if test -z "$ac_cv_prog_OTOOL"; then
7903 ac_ct_OTOOL=$OTOOL
7904 # Extract the first word of "otool", so it can be a program name with args.
7905 set dummy otool; ac_word=$2
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907 $as_echo_n "checking for $ac_word... " >&6; }
7908 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7909 $as_echo_n "(cached) " >&6
7910 else
7911 if test -n "$ac_ct_OTOOL"; then
7912 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7913 else
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 for as_dir in $PATH
7916 do
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7921 ac_cv_prog_ac_ct_OTOOL="otool"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7924 fi
7925 done
7926 done
7927 IFS=$as_save_IFS
7928
7929 fi
7930 fi
7931 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7932 if test -n "$ac_ct_OTOOL"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7934 $as_echo "$ac_ct_OTOOL" >&6; }
7935 else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7938 fi
7939
7940 if test "x$ac_ct_OTOOL" = x; then
7941 OTOOL=":"
7942 else
7943 case $cross_compiling:$ac_tool_warned in
7944 yes:)
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7947 ac_tool_warned=yes ;;
7948 esac
7949 OTOOL=$ac_ct_OTOOL
7950 fi
7951 else
7952 OTOOL="$ac_cv_prog_OTOOL"
7953 fi
7954
7955 if test -n "$ac_tool_prefix"; then
7956 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7957 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_OTOOL64+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$OTOOL64"; then
7964 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7968 do
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7976 fi
7977 done
7978 done
7979 IFS=$as_save_IFS
7980
7981 fi
7982 fi
7983 OTOOL64=$ac_cv_prog_OTOOL64
7984 if test -n "$OTOOL64"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7986 $as_echo "$OTOOL64" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7990 fi
7991
7992
7993 fi
7994 if test -z "$ac_cv_prog_OTOOL64"; then
7995 ac_ct_OTOOL64=$OTOOL64
7996 # Extract the first word of "otool64", so it can be a program name with args.
7997 set dummy otool64; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$ac_ct_OTOOL64"; then
8004 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8008 do
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_ac_ct_OTOOL64="otool64"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8016 fi
8017 done
8018 done
8019 IFS=$as_save_IFS
8020
8021 fi
8022 fi
8023 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8024 if test -n "$ac_ct_OTOOL64"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8026 $as_echo "$ac_ct_OTOOL64" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8030 fi
8031
8032 if test "x$ac_ct_OTOOL64" = x; then
8033 OTOOL64=":"
8034 else
8035 case $cross_compiling:$ac_tool_warned in
8036 yes:)
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8039 ac_tool_warned=yes ;;
8040 esac
8041 OTOOL64=$ac_ct_OTOOL64
8042 fi
8043 else
8044 OTOOL64="$ac_cv_prog_OTOOL64"
8045 fi
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8074 $as_echo_n "checking for -single_module linker flag... " >&6; }
8075 if ${lt_cv_apple_cc_single_mod+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 lt_cv_apple_cc_single_mod=no
8079 if test -z "${LT_MULTI_MODULE}"; then
8080 # By default we will add the -single_module flag. You can override
8081 # by either setting the environment variable LT_MULTI_MODULE
8082 # non-empty at configure time, or by adding -multi_module to the
8083 # link flags.
8084 rm -rf libconftest.dylib*
8085 echo "int foo(void){return 1;}" > conftest.c
8086 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8087 -dynamiclib -Wl,-single_module conftest.c" >&5
8088 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8089 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8090 _lt_result=$?
8091 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8092 lt_cv_apple_cc_single_mod=yes
8093 else
8094 cat conftest.err >&5
8095 fi
8096 rm -rf libconftest.dylib*
8097 rm -f conftest.*
8098 fi
8099 fi
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8101 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8103 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8104 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 lt_cv_ld_exported_symbols_list=no
8108 save_LDFLAGS=$LDFLAGS
8109 echo "_main" > conftest.sym
8110 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8111 if test x$gcc_no_link = xyes; then
8112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8113 fi
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116
8117 int
8118 main ()
8119 {
8120
8121 ;
8122 return 0;
8123 }
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 lt_cv_ld_exported_symbols_list=yes
8127 else
8128 lt_cv_ld_exported_symbols_list=no
8129 fi
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 LDFLAGS="$save_LDFLAGS"
8133
8134 fi
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8136 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8138 $as_echo_n "checking for -force_load linker flag... " >&6; }
8139 if ${lt_cv_ld_force_load+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 lt_cv_ld_force_load=no
8143 cat > conftest.c << _LT_EOF
8144 int forced_loaded() { return 2;}
8145 _LT_EOF
8146 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8147 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8148 echo "$AR cru libconftest.a conftest.o" >&5
8149 $AR cru libconftest.a conftest.o 2>&5
8150 cat > conftest.c << _LT_EOF
8151 int main() { return 0;}
8152 _LT_EOF
8153 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8154 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8155 _lt_result=$?
8156 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8157 lt_cv_ld_force_load=yes
8158 else
8159 cat conftest.err >&5
8160 fi
8161 rm -f conftest.err libconftest.a conftest conftest.c
8162 rm -rf conftest.dSYM
8163
8164 fi
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8166 $as_echo "$lt_cv_ld_force_load" >&6; }
8167 case $host_os in
8168 rhapsody* | darwin1.[012])
8169 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8170 darwin1.*)
8171 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8172 darwin*) # darwin 5.x on
8173 # if running on 10.5 or later, the deployment target defaults
8174 # to the OS version, if on x86, and 10.4, the deployment
8175 # target defaults to 10.4. Don't you love it?
8176 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8177 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8178 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8179 10.[012][,.]*)
8180 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8181 10.*)
8182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8183 esac
8184 ;;
8185 esac
8186 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8187 _lt_dar_single_mod='$single_module'
8188 fi
8189 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8190 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8191 else
8192 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8193 fi
8194 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8195 _lt_dsymutil='~$DSYMUTIL $lib || :'
8196 else
8197 _lt_dsymutil=
8198 fi
8199 ;;
8200 esac
8201
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8203 $as_echo_n "checking for ANSI C header files... " >&6; }
8204 if ${ac_cv_header_stdc+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 #include <stdlib.h>
8210 #include <stdarg.h>
8211 #include <string.h>
8212 #include <float.h>
8213
8214 int
8215 main ()
8216 {
8217
8218 ;
8219 return 0;
8220 }
8221 _ACEOF
8222 if ac_fn_c_try_compile "$LINENO"; then :
8223 ac_cv_header_stdc=yes
8224 else
8225 ac_cv_header_stdc=no
8226 fi
8227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8228
8229 if test $ac_cv_header_stdc = yes; then
8230 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 #include <string.h>
8234
8235 _ACEOF
8236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8237 $EGREP "memchr" >/dev/null 2>&1; then :
8238
8239 else
8240 ac_cv_header_stdc=no
8241 fi
8242 rm -f conftest*
8243
8244 fi
8245
8246 if test $ac_cv_header_stdc = yes; then
8247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 #include <stdlib.h>
8251
8252 _ACEOF
8253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8254 $EGREP "free" >/dev/null 2>&1; then :
8255
8256 else
8257 ac_cv_header_stdc=no
8258 fi
8259 rm -f conftest*
8260
8261 fi
8262
8263 if test $ac_cv_header_stdc = yes; then
8264 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8265 if test "$cross_compiling" = yes; then :
8266 :
8267 else
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 #include <ctype.h>
8271 #include <stdlib.h>
8272 #if ((' ' & 0x0FF) == 0x020)
8273 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8274 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8275 #else
8276 # define ISLOWER(c) \
8277 (('a' <= (c) && (c) <= 'i') \
8278 || ('j' <= (c) && (c) <= 'r') \
8279 || ('s' <= (c) && (c) <= 'z'))
8280 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8281 #endif
8282
8283 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8284 int
8285 main ()
8286 {
8287 int i;
8288 for (i = 0; i < 256; i++)
8289 if (XOR (islower (i), ISLOWER (i))
8290 || toupper (i) != TOUPPER (i))
8291 return 2;
8292 return 0;
8293 }
8294 _ACEOF
8295 if ac_fn_c_try_run "$LINENO"; then :
8296
8297 else
8298 ac_cv_header_stdc=no
8299 fi
8300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8301 conftest.$ac_objext conftest.beam conftest.$ac_ext
8302 fi
8303
8304 fi
8305 fi
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8307 $as_echo "$ac_cv_header_stdc" >&6; }
8308 if test $ac_cv_header_stdc = yes; then
8309
8310 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8311
8312 fi
8313
8314 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8315 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8316 inttypes.h stdint.h unistd.h
8317 do :
8318 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8319 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8320 "
8321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8322 cat >>confdefs.h <<_ACEOF
8323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8324 _ACEOF
8325
8326 fi
8327
8328 done
8329
8330
8331 for ac_header in dlfcn.h
8332 do :
8333 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8334 "
8335 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8336 cat >>confdefs.h <<_ACEOF
8337 #define HAVE_DLFCN_H 1
8338 _ACEOF
8339
8340 fi
8341
8342 done
8343
8344
8345
8346
8347
8348
8349 # Set options
8350
8351
8352
8353
8354 enable_win32_dll=no
8355
8356
8357 # Check whether --enable-shared was given.
8358 if test "${enable_shared+set}" = set; then :
8359 enableval=$enable_shared; p=${PACKAGE-default}
8360 case $enableval in
8361 yes) enable_shared=yes ;;
8362 no) enable_shared=no ;;
8363 *)
8364 enable_shared=no
8365 # Look at the argument we got. We use all the common list separators.
8366 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8367 for pkg in $enableval; do
8368 IFS="$lt_save_ifs"
8369 if test "X$pkg" = "X$p"; then
8370 enable_shared=yes
8371 fi
8372 done
8373 IFS="$lt_save_ifs"
8374 ;;
8375 esac
8376 else
8377 enable_shared=yes
8378 fi
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388 # Check whether --enable-static was given.
8389 if test "${enable_static+set}" = set; then :
8390 enableval=$enable_static; p=${PACKAGE-default}
8391 case $enableval in
8392 yes) enable_static=yes ;;
8393 no) enable_static=no ;;
8394 *)
8395 enable_static=no
8396 # Look at the argument we got. We use all the common list separators.
8397 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8398 for pkg in $enableval; do
8399 IFS="$lt_save_ifs"
8400 if test "X$pkg" = "X$p"; then
8401 enable_static=yes
8402 fi
8403 done
8404 IFS="$lt_save_ifs"
8405 ;;
8406 esac
8407 else
8408 enable_static=yes
8409 fi
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420 # Check whether --with-pic was given.
8421 if test "${with_pic+set}" = set; then :
8422 withval=$with_pic; pic_mode="$withval"
8423 else
8424 pic_mode=default
8425 fi
8426
8427
8428 test -z "$pic_mode" && pic_mode=default
8429
8430
8431
8432
8433
8434
8435
8436 # Check whether --enable-fast-install was given.
8437 if test "${enable_fast_install+set}" = set; then :
8438 enableval=$enable_fast_install; p=${PACKAGE-default}
8439 case $enableval in
8440 yes) enable_fast_install=yes ;;
8441 no) enable_fast_install=no ;;
8442 *)
8443 enable_fast_install=no
8444 # Look at the argument we got. We use all the common list separators.
8445 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8446 for pkg in $enableval; do
8447 IFS="$lt_save_ifs"
8448 if test "X$pkg" = "X$p"; then
8449 enable_fast_install=yes
8450 fi
8451 done
8452 IFS="$lt_save_ifs"
8453 ;;
8454 esac
8455 else
8456 enable_fast_install=yes
8457 fi
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469 # This can be used to rebuild libtool when needed
8470 LIBTOOL_DEPS="$ltmain"
8471
8472 # Always use our own libtool.
8473 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500 test -z "$LN_S" && LN_S="ln -s"
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515 if test -n "${ZSH_VERSION+set}" ; then
8516 setopt NO_GLOB_SUBST
8517 fi
8518
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8520 $as_echo_n "checking for objdir... " >&6; }
8521 if ${lt_cv_objdir+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 rm -f .libs 2>/dev/null
8525 mkdir .libs 2>/dev/null
8526 if test -d .libs; then
8527 lt_cv_objdir=.libs
8528 else
8529 # MS-DOS does not allow filenames that begin with a dot.
8530 lt_cv_objdir=_libs
8531 fi
8532 rmdir .libs 2>/dev/null
8533 fi
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8535 $as_echo "$lt_cv_objdir" >&6; }
8536 objdir=$lt_cv_objdir
8537
8538
8539
8540
8541
8542 cat >>confdefs.h <<_ACEOF
8543 #define LT_OBJDIR "$lt_cv_objdir/"
8544 _ACEOF
8545
8546
8547
8548
8549 case $host_os in
8550 aix3*)
8551 # AIX sometimes has problems with the GCC collect2 program. For some
8552 # reason, if we set the COLLECT_NAMES environment variable, the problems
8553 # vanish in a puff of smoke.
8554 if test "X${COLLECT_NAMES+set}" != Xset; then
8555 COLLECT_NAMES=
8556 export COLLECT_NAMES
8557 fi
8558 ;;
8559 esac
8560
8561 # Global variables:
8562 ofile=libtool
8563 can_build_shared=yes
8564
8565 # All known linkers require a `.a' archive for static linking (except MSVC,
8566 # which needs '.lib').
8567 libext=a
8568
8569 with_gnu_ld="$lt_cv_prog_gnu_ld"
8570
8571 old_CC="$CC"
8572 old_CFLAGS="$CFLAGS"
8573
8574 # Set sane defaults for various variables
8575 test -z "$CC" && CC=cc
8576 test -z "$LTCC" && LTCC=$CC
8577 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8578 test -z "$LD" && LD=ld
8579 test -z "$ac_objext" && ac_objext=o
8580
8581 for cc_temp in $compiler""; do
8582 case $cc_temp in
8583 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8584 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8585 \-*) ;;
8586 *) break;;
8587 esac
8588 done
8589 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8590
8591
8592 # Only perform the check for file, if the check method requires it
8593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8594 case $deplibs_check_method in
8595 file_magic*)
8596 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8598 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8599 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 case $MAGIC_CMD in
8603 [\\/*] | ?:[\\/]*)
8604 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8605 ;;
8606 *)
8607 lt_save_MAGIC_CMD="$MAGIC_CMD"
8608 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8609 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8610 for ac_dir in $ac_dummy; do
8611 IFS="$lt_save_ifs"
8612 test -z "$ac_dir" && ac_dir=.
8613 if test -f $ac_dir/${ac_tool_prefix}file; then
8614 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8615 if test -n "$file_magic_test_file"; then
8616 case $deplibs_check_method in
8617 "file_magic "*)
8618 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8619 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8620 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8621 $EGREP "$file_magic_regex" > /dev/null; then
8622 :
8623 else
8624 cat <<_LT_EOF 1>&2
8625
8626 *** Warning: the command libtool uses to detect shared libraries,
8627 *** $file_magic_cmd, produces output that libtool cannot recognize.
8628 *** The result is that libtool may fail to recognize shared libraries
8629 *** as such. This will affect the creation of libtool libraries that
8630 *** depend on shared libraries, but programs linked with such libtool
8631 *** libraries will work regardless of this problem. Nevertheless, you
8632 *** may want to report the problem to your system manager and/or to
8633 *** bug-libtool@gnu.org
8634
8635 _LT_EOF
8636 fi ;;
8637 esac
8638 fi
8639 break
8640 fi
8641 done
8642 IFS="$lt_save_ifs"
8643 MAGIC_CMD="$lt_save_MAGIC_CMD"
8644 ;;
8645 esac
8646 fi
8647
8648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8649 if test -n "$MAGIC_CMD"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8651 $as_echo "$MAGIC_CMD" >&6; }
8652 else
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8655 fi
8656
8657
8658
8659
8660
8661 if test -z "$lt_cv_path_MAGIC_CMD"; then
8662 if test -n "$ac_tool_prefix"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8664 $as_echo_n "checking for file... " >&6; }
8665 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $MAGIC_CMD in
8669 [\\/*] | ?:[\\/]*)
8670 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8671 ;;
8672 *)
8673 lt_save_MAGIC_CMD="$MAGIC_CMD"
8674 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8675 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8676 for ac_dir in $ac_dummy; do
8677 IFS="$lt_save_ifs"
8678 test -z "$ac_dir" && ac_dir=.
8679 if test -f $ac_dir/file; then
8680 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8681 if test -n "$file_magic_test_file"; then
8682 case $deplibs_check_method in
8683 "file_magic "*)
8684 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8685 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8686 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8687 $EGREP "$file_magic_regex" > /dev/null; then
8688 :
8689 else
8690 cat <<_LT_EOF 1>&2
8691
8692 *** Warning: the command libtool uses to detect shared libraries,
8693 *** $file_magic_cmd, produces output that libtool cannot recognize.
8694 *** The result is that libtool may fail to recognize shared libraries
8695 *** as such. This will affect the creation of libtool libraries that
8696 *** depend on shared libraries, but programs linked with such libtool
8697 *** libraries will work regardless of this problem. Nevertheless, you
8698 *** may want to report the problem to your system manager and/or to
8699 *** bug-libtool@gnu.org
8700
8701 _LT_EOF
8702 fi ;;
8703 esac
8704 fi
8705 break
8706 fi
8707 done
8708 IFS="$lt_save_ifs"
8709 MAGIC_CMD="$lt_save_MAGIC_CMD"
8710 ;;
8711 esac
8712 fi
8713
8714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8715 if test -n "$MAGIC_CMD"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8717 $as_echo "$MAGIC_CMD" >&6; }
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8721 fi
8722
8723
8724 else
8725 MAGIC_CMD=:
8726 fi
8727 fi
8728
8729 fi
8730 ;;
8731 esac
8732
8733 # Use C for the default configuration in the libtool script
8734
8735 lt_save_CC="$CC"
8736 ac_ext=c
8737 ac_cpp='$CPP $CPPFLAGS'
8738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8741
8742
8743 # Source file extension for C test sources.
8744 ac_ext=c
8745
8746 # Object file extension for compiled C test sources.
8747 objext=o
8748 objext=$objext
8749
8750 # Code to be used in simple compile tests
8751 lt_simple_compile_test_code="int some_variable = 0;"
8752
8753 # Code to be used in simple link tests
8754 lt_simple_link_test_code='int main(){return(0);}'
8755
8756
8757
8758
8759
8760
8761
8762 # If no C compiler was specified, use CC.
8763 LTCC=${LTCC-"$CC"}
8764
8765 # If no C compiler flags were specified, use CFLAGS.
8766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8767
8768 # Allow CC to be a program name with arguments.
8769 compiler=$CC
8770
8771 # Save the default compiler, since it gets overwritten when the other
8772 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8773 compiler_DEFAULT=$CC
8774
8775 # save warnings/boilerplate of simple test code
8776 ac_outfile=conftest.$ac_objext
8777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8779 _lt_compiler_boilerplate=`cat conftest.err`
8780 $RM conftest*
8781
8782 ac_outfile=conftest.$ac_objext
8783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8785 _lt_linker_boilerplate=`cat conftest.err`
8786 $RM -r conftest*
8787
8788
8789 ## CAVEAT EMPTOR:
8790 ## There is no encapsulation within the following macros, do not change
8791 ## the running order or otherwise move them around unless you know exactly
8792 ## what you are doing...
8793 if test -n "$compiler"; then
8794
8795 lt_prog_compiler_no_builtin_flag=
8796
8797 if test "$GCC" = yes; then
8798 case $cc_basename in
8799 nvcc*)
8800 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8801 *)
8802 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8803 esac
8804
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8806 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8807 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 lt_cv_prog_compiler_rtti_exceptions=no
8811 ac_outfile=conftest.$ac_objext
8812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8813 lt_compiler_flag="-fno-rtti -fno-exceptions"
8814 # Insert the option either (1) after the last *FLAGS variable, or
8815 # (2) before a word containing "conftest.", or (3) at the end.
8816 # Note that $ac_compile itself does not contain backslashes and begins
8817 # with a dollar sign (not a hyphen), so the echo should work correctly.
8818 # The option is referenced via a variable to avoid confusing sed.
8819 lt_compile=`echo "$ac_compile" | $SED \
8820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8822 -e 's:$: $lt_compiler_flag:'`
8823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8824 (eval "$lt_compile" 2>conftest.err)
8825 ac_status=$?
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 if (exit $ac_status) && test -s "$ac_outfile"; then
8829 # The compiler can only warn and ignore the option if not recognized
8830 # So say no if there are warnings other than the usual output.
8831 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8833 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8834 lt_cv_prog_compiler_rtti_exceptions=yes
8835 fi
8836 fi
8837 $RM conftest*
8838
8839 fi
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8841 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8842
8843 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8844 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8845 else
8846 :
8847 fi
8848
8849 fi
8850
8851
8852
8853
8854
8855
8856 lt_prog_compiler_wl=
8857 lt_prog_compiler_pic=
8858 lt_prog_compiler_static=
8859
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8861 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8862
8863 if test "$GCC" = yes; then
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_static='-static'
8866
8867 case $host_os in
8868 aix*)
8869 # All AIX code is PIC.
8870 if test "$host_cpu" = ia64; then
8871 # AIX 5 now supports IA64 processor
8872 lt_prog_compiler_static='-Bstatic'
8873 fi
8874 lt_prog_compiler_pic='-fPIC'
8875 ;;
8876
8877 amigaos*)
8878 case $host_cpu in
8879 powerpc)
8880 # see comment about AmigaOS4 .so support
8881 lt_prog_compiler_pic='-fPIC'
8882 ;;
8883 m68k)
8884 # FIXME: we need at least 68020 code to build shared libraries, but
8885 # adding the `-m68020' flag to GCC prevents building anything better,
8886 # like `-m68040'.
8887 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8888 ;;
8889 esac
8890 ;;
8891
8892 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8893 # PIC is the default for these OSes.
8894 ;;
8895
8896 mingw* | cygwin* | pw32* | os2* | cegcc*)
8897 # This hack is so that the source file can tell whether it is being
8898 # built for inclusion in a dll (and should export symbols for example).
8899 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8900 # (--disable-auto-import) libraries
8901 lt_prog_compiler_pic='-DDLL_EXPORT'
8902 ;;
8903
8904 darwin* | rhapsody*)
8905 # PIC is the default on this platform
8906 # Common symbols not allowed in MH_DYLIB files
8907 lt_prog_compiler_pic='-fno-common'
8908 ;;
8909
8910 haiku*)
8911 # PIC is the default for Haiku.
8912 # The "-static" flag exists, but is broken.
8913 lt_prog_compiler_static=
8914 ;;
8915
8916 hpux*)
8917 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8918 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8919 # sets the default TLS model and affects inlining.
8920 case $host_cpu in
8921 hppa*64*)
8922 # +Z the default
8923 ;;
8924 *)
8925 lt_prog_compiler_pic='-fPIC'
8926 ;;
8927 esac
8928 ;;
8929
8930 interix[3-9]*)
8931 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8932 # Instead, we relocate shared libraries at runtime.
8933 ;;
8934
8935 msdosdjgpp*)
8936 # Just because we use GCC doesn't mean we suddenly get shared libraries
8937 # on systems that don't support them.
8938 lt_prog_compiler_can_build_shared=no
8939 enable_shared=no
8940 ;;
8941
8942 *nto* | *qnx*)
8943 # QNX uses GNU C++, but need to define -shared option too, otherwise
8944 # it will coredump.
8945 lt_prog_compiler_pic='-fPIC -shared'
8946 ;;
8947
8948 sysv4*MP*)
8949 if test -d /usr/nec; then
8950 lt_prog_compiler_pic=-Kconform_pic
8951 fi
8952 ;;
8953
8954 *)
8955 lt_prog_compiler_pic='-fPIC'
8956 ;;
8957 esac
8958
8959 case $cc_basename in
8960 nvcc*) # Cuda Compiler Driver 2.2
8961 lt_prog_compiler_wl='-Xlinker '
8962 lt_prog_compiler_pic='-Xcompiler -fPIC'
8963 ;;
8964 esac
8965 else
8966 # PORTME Check for flag to pass linker flags through the system compiler.
8967 case $host_os in
8968 aix*)
8969 lt_prog_compiler_wl='-Wl,'
8970 if test "$host_cpu" = ia64; then
8971 # AIX 5 now supports IA64 processor
8972 lt_prog_compiler_static='-Bstatic'
8973 else
8974 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8975 fi
8976 ;;
8977
8978 mingw* | cygwin* | pw32* | os2* | cegcc*)
8979 # This hack is so that the source file can tell whether it is being
8980 # built for inclusion in a dll (and should export symbols for example).
8981 lt_prog_compiler_pic='-DDLL_EXPORT'
8982 ;;
8983
8984 hpux9* | hpux10* | hpux11*)
8985 lt_prog_compiler_wl='-Wl,'
8986 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8987 # not for PA HP-UX.
8988 case $host_cpu in
8989 hppa*64*|ia64*)
8990 # +Z the default
8991 ;;
8992 *)
8993 lt_prog_compiler_pic='+Z'
8994 ;;
8995 esac
8996 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8997 lt_prog_compiler_static='${wl}-a ${wl}archive'
8998 ;;
8999
9000 irix5* | irix6* | nonstopux*)
9001 lt_prog_compiler_wl='-Wl,'
9002 # PIC (with -KPIC) is the default.
9003 lt_prog_compiler_static='-non_shared'
9004 ;;
9005
9006 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9007 case $cc_basename in
9008 # old Intel for x86_64 which still supported -KPIC.
9009 ecc*)
9010 lt_prog_compiler_wl='-Wl,'
9011 lt_prog_compiler_pic='-KPIC'
9012 lt_prog_compiler_static='-static'
9013 ;;
9014 # icc used to be incompatible with GCC.
9015 # ICC 10 doesn't accept -KPIC any more.
9016 icc* | ifort*)
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_pic='-fPIC'
9019 lt_prog_compiler_static='-static'
9020 ;;
9021 # Lahey Fortran 8.1.
9022 lf95*)
9023 lt_prog_compiler_wl='-Wl,'
9024 lt_prog_compiler_pic='--shared'
9025 lt_prog_compiler_static='--static'
9026 ;;
9027 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9028 # Portland Group compilers (*not* the Pentium gcc compiler,
9029 # which looks to be a dead project)
9030 lt_prog_compiler_wl='-Wl,'
9031 lt_prog_compiler_pic='-fpic'
9032 lt_prog_compiler_static='-Bstatic'
9033 ;;
9034 ccc*)
9035 lt_prog_compiler_wl='-Wl,'
9036 # All Alpha code is PIC.
9037 lt_prog_compiler_static='-non_shared'
9038 ;;
9039 xl* | bgxl* | bgf* | mpixl*)
9040 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9041 lt_prog_compiler_wl='-Wl,'
9042 lt_prog_compiler_pic='-qpic'
9043 lt_prog_compiler_static='-qstaticlink'
9044 ;;
9045 *)
9046 case `$CC -V 2>&1 | sed 5q` in
9047 *Sun\ F* | *Sun*Fortran*)
9048 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9049 lt_prog_compiler_pic='-KPIC'
9050 lt_prog_compiler_static='-Bstatic'
9051 lt_prog_compiler_wl=''
9052 ;;
9053 *Sun\ C*)
9054 # Sun C 5.9
9055 lt_prog_compiler_pic='-KPIC'
9056 lt_prog_compiler_static='-Bstatic'
9057 lt_prog_compiler_wl='-Wl,'
9058 ;;
9059 esac
9060 ;;
9061 esac
9062 ;;
9063
9064 newsos6)
9065 lt_prog_compiler_pic='-KPIC'
9066 lt_prog_compiler_static='-Bstatic'
9067 ;;
9068
9069 *nto* | *qnx*)
9070 # QNX uses GNU C++, but need to define -shared option too, otherwise
9071 # it will coredump.
9072 lt_prog_compiler_pic='-fPIC -shared'
9073 ;;
9074
9075 osf3* | osf4* | osf5*)
9076 lt_prog_compiler_wl='-Wl,'
9077 # All OSF/1 code is PIC.
9078 lt_prog_compiler_static='-non_shared'
9079 ;;
9080
9081 rdos*)
9082 lt_prog_compiler_static='-non_shared'
9083 ;;
9084
9085 solaris*)
9086 lt_prog_compiler_pic='-KPIC'
9087 lt_prog_compiler_static='-Bstatic'
9088 case $cc_basename in
9089 f77* | f90* | f95*)
9090 lt_prog_compiler_wl='-Qoption ld ';;
9091 *)
9092 lt_prog_compiler_wl='-Wl,';;
9093 esac
9094 ;;
9095
9096 sunos4*)
9097 lt_prog_compiler_wl='-Qoption ld '
9098 lt_prog_compiler_pic='-PIC'
9099 lt_prog_compiler_static='-Bstatic'
9100 ;;
9101
9102 sysv4 | sysv4.2uw2* | sysv4.3*)
9103 lt_prog_compiler_wl='-Wl,'
9104 lt_prog_compiler_pic='-KPIC'
9105 lt_prog_compiler_static='-Bstatic'
9106 ;;
9107
9108 sysv4*MP*)
9109 if test -d /usr/nec ;then
9110 lt_prog_compiler_pic='-Kconform_pic'
9111 lt_prog_compiler_static='-Bstatic'
9112 fi
9113 ;;
9114
9115 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9116 lt_prog_compiler_wl='-Wl,'
9117 lt_prog_compiler_pic='-KPIC'
9118 lt_prog_compiler_static='-Bstatic'
9119 ;;
9120
9121 unicos*)
9122 lt_prog_compiler_wl='-Wl,'
9123 lt_prog_compiler_can_build_shared=no
9124 ;;
9125
9126 uts4*)
9127 lt_prog_compiler_pic='-pic'
9128 lt_prog_compiler_static='-Bstatic'
9129 ;;
9130
9131 *)
9132 lt_prog_compiler_can_build_shared=no
9133 ;;
9134 esac
9135 fi
9136
9137 case $host_os in
9138 # For platforms which do not support PIC, -DPIC is meaningless:
9139 *djgpp*)
9140 lt_prog_compiler_pic=
9141 ;;
9142 *)
9143 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9144 ;;
9145 esac
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9147 $as_echo "$lt_prog_compiler_pic" >&6; }
9148
9149
9150
9151
9152
9153
9154 #
9155 # Check to make sure the PIC flag actually works.
9156 #
9157 if test -n "$lt_prog_compiler_pic"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9159 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9160 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9161 $as_echo_n "(cached) " >&6
9162 else
9163 lt_cv_prog_compiler_pic_works=no
9164 ac_outfile=conftest.$ac_objext
9165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9166 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9167 # Insert the option either (1) after the last *FLAGS variable, or
9168 # (2) before a word containing "conftest.", or (3) at the end.
9169 # Note that $ac_compile itself does not contain backslashes and begins
9170 # with a dollar sign (not a hyphen), so the echo should work correctly.
9171 # The option is referenced via a variable to avoid confusing sed.
9172 lt_compile=`echo "$ac_compile" | $SED \
9173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9175 -e 's:$: $lt_compiler_flag:'`
9176 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9177 (eval "$lt_compile" 2>conftest.err)
9178 ac_status=$?
9179 cat conftest.err >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 if (exit $ac_status) && test -s "$ac_outfile"; then
9182 # The compiler can only warn and ignore the option if not recognized
9183 # So say no if there are warnings other than the usual output.
9184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9185 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9186 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9187 lt_cv_prog_compiler_pic_works=yes
9188 fi
9189 fi
9190 $RM conftest*
9191
9192 fi
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9194 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9195
9196 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9197 case $lt_prog_compiler_pic in
9198 "" | " "*) ;;
9199 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9200 esac
9201 else
9202 lt_prog_compiler_pic=
9203 lt_prog_compiler_can_build_shared=no
9204 fi
9205
9206 fi
9207
9208
9209
9210
9211
9212
9213 #
9214 # Check to make sure the static flag actually works.
9215 #
9216 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9218 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9219 if ${lt_cv_prog_compiler_static_works+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 lt_cv_prog_compiler_static_works=no
9223 save_LDFLAGS="$LDFLAGS"
9224 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9225 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9227 # The linker can only warn and ignore the option if not recognized
9228 # So say no if there are warnings
9229 if test -s conftest.err; then
9230 # Append any errors to the config.log.
9231 cat conftest.err 1>&5
9232 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9233 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9234 if diff conftest.exp conftest.er2 >/dev/null; then
9235 lt_cv_prog_compiler_static_works=yes
9236 fi
9237 else
9238 lt_cv_prog_compiler_static_works=yes
9239 fi
9240 fi
9241 $RM -r conftest*
9242 LDFLAGS="$save_LDFLAGS"
9243
9244 fi
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9246 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9247
9248 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9249 :
9250 else
9251 lt_prog_compiler_static=
9252 fi
9253
9254
9255
9256
9257
9258
9259
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9262 if ${lt_cv_prog_compiler_c_o+:} false; then :
9263 $as_echo_n "(cached) " >&6
9264 else
9265 lt_cv_prog_compiler_c_o=no
9266 $RM -r conftest 2>/dev/null
9267 mkdir conftest
9268 cd conftest
9269 mkdir out
9270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9271
9272 lt_compiler_flag="-o out/conftest2.$ac_objext"
9273 # Insert the option either (1) after the last *FLAGS variable, or
9274 # (2) before a word containing "conftest.", or (3) at the end.
9275 # Note that $ac_compile itself does not contain backslashes and begins
9276 # with a dollar sign (not a hyphen), so the echo should work correctly.
9277 lt_compile=`echo "$ac_compile" | $SED \
9278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280 -e 's:$: $lt_compiler_flag:'`
9281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9282 (eval "$lt_compile" 2>out/conftest.err)
9283 ac_status=$?
9284 cat out/conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9287 then
9288 # The compiler can only warn and ignore the option if not recognized
9289 # So say no if there are warnings
9290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9293 lt_cv_prog_compiler_c_o=yes
9294 fi
9295 fi
9296 chmod u+w . 2>&5
9297 $RM conftest*
9298 # SGI C++ compiler will create directory out/ii_files/ for
9299 # template instantiation
9300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9301 $RM out/* && rmdir out
9302 cd ..
9303 $RM -r conftest
9304 $RM conftest*
9305
9306 fi
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9309
9310
9311
9312
9313
9314
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9316 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9317 if ${lt_cv_prog_compiler_c_o+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 lt_cv_prog_compiler_c_o=no
9321 $RM -r conftest 2>/dev/null
9322 mkdir conftest
9323 cd conftest
9324 mkdir out
9325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9326
9327 lt_compiler_flag="-o out/conftest2.$ac_objext"
9328 # Insert the option either (1) after the last *FLAGS variable, or
9329 # (2) before a word containing "conftest.", or (3) at the end.
9330 # Note that $ac_compile itself does not contain backslashes and begins
9331 # with a dollar sign (not a hyphen), so the echo should work correctly.
9332 lt_compile=`echo "$ac_compile" | $SED \
9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9335 -e 's:$: $lt_compiler_flag:'`
9336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9337 (eval "$lt_compile" 2>out/conftest.err)
9338 ac_status=$?
9339 cat out/conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9342 then
9343 # The compiler can only warn and ignore the option if not recognized
9344 # So say no if there are warnings
9345 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9346 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9347 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9348 lt_cv_prog_compiler_c_o=yes
9349 fi
9350 fi
9351 chmod u+w . 2>&5
9352 $RM conftest*
9353 # SGI C++ compiler will create directory out/ii_files/ for
9354 # template instantiation
9355 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9356 $RM out/* && rmdir out
9357 cd ..
9358 $RM -r conftest
9359 $RM conftest*
9360
9361 fi
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9363 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9364
9365
9366
9367
9368 hard_links="nottested"
9369 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9370 # do not overwrite the value of need_locks provided by the user
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9372 $as_echo_n "checking if we can lock with hard links... " >&6; }
9373 hard_links=yes
9374 $RM conftest*
9375 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9376 touch conftest.a
9377 ln conftest.a conftest.b 2>&5 || hard_links=no
9378 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9380 $as_echo "$hard_links" >&6; }
9381 if test "$hard_links" = no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9383 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9384 need_locks=warn
9385 fi
9386 else
9387 need_locks=no
9388 fi
9389
9390
9391
9392
9393
9394
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9396 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9397
9398 runpath_var=
9399 allow_undefined_flag=
9400 always_export_symbols=no
9401 archive_cmds=
9402 archive_expsym_cmds=
9403 compiler_needs_object=no
9404 enable_shared_with_static_runtimes=no
9405 export_dynamic_flag_spec=
9406 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9407 hardcode_automatic=no
9408 hardcode_direct=no
9409 hardcode_direct_absolute=no
9410 hardcode_libdir_flag_spec=
9411 hardcode_libdir_flag_spec_ld=
9412 hardcode_libdir_separator=
9413 hardcode_minus_L=no
9414 hardcode_shlibpath_var=unsupported
9415 inherit_rpath=no
9416 link_all_deplibs=unknown
9417 module_cmds=
9418 module_expsym_cmds=
9419 old_archive_from_new_cmds=
9420 old_archive_from_expsyms_cmds=
9421 thread_safe_flag_spec=
9422 whole_archive_flag_spec=
9423 # include_expsyms should be a list of space-separated symbols to be *always*
9424 # included in the symbol list
9425 include_expsyms=
9426 # exclude_expsyms can be an extended regexp of symbols to exclude
9427 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9428 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9429 # as well as any symbol that contains `d'.
9430 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9431 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9432 # platforms (ab)use it in PIC code, but their linkers get confused if
9433 # the symbol is explicitly referenced. Since portable code cannot
9434 # rely on this symbol name, it's probably fine to never include it in
9435 # preloaded symbol tables.
9436 # Exclude shared library initialization/finalization symbols.
9437 extract_expsyms_cmds=
9438
9439 case $host_os in
9440 cygwin* | mingw* | pw32* | cegcc*)
9441 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9442 # When not using gcc, we currently assume that we are using
9443 # Microsoft Visual C++.
9444 if test "$GCC" != yes; then
9445 with_gnu_ld=no
9446 fi
9447 ;;
9448 interix*)
9449 # we just hope/assume this is gcc and not c89 (= MSVC++)
9450 with_gnu_ld=yes
9451 ;;
9452 openbsd*)
9453 with_gnu_ld=no
9454 ;;
9455 esac
9456
9457 ld_shlibs=yes
9458
9459 # On some targets, GNU ld is compatible enough with the native linker
9460 # that we're better off using the native interface for both.
9461 lt_use_gnu_ld_interface=no
9462 if test "$with_gnu_ld" = yes; then
9463 case $host_os in
9464 aix*)
9465 # The AIX port of GNU ld has always aspired to compatibility
9466 # with the native linker. However, as the warning in the GNU ld
9467 # block says, versions before 2.19.5* couldn't really create working
9468 # shared libraries, regardless of the interface used.
9469 case `$LD -v 2>&1` in
9470 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9471 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9472 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9473 *)
9474 lt_use_gnu_ld_interface=yes
9475 ;;
9476 esac
9477 ;;
9478 *)
9479 lt_use_gnu_ld_interface=yes
9480 ;;
9481 esac
9482 fi
9483
9484 if test "$lt_use_gnu_ld_interface" = yes; then
9485 # If archive_cmds runs LD, not CC, wlarc should be empty
9486 wlarc='${wl}'
9487
9488 # Set some defaults for GNU ld with shared library support. These
9489 # are reset later if shared libraries are not supported. Putting them
9490 # here allows them to be overridden if necessary.
9491 runpath_var=LD_RUN_PATH
9492 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9493 export_dynamic_flag_spec='${wl}--export-dynamic'
9494 # ancient GNU ld didn't support --whole-archive et. al.
9495 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9496 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9497 else
9498 whole_archive_flag_spec=
9499 fi
9500 supports_anon_versioning=no
9501 case `$LD -v 2>&1` in
9502 *GNU\ gold*) supports_anon_versioning=yes ;;
9503 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9504 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9505 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9506 *\ 2.11.*) ;; # other 2.11 versions
9507 *) supports_anon_versioning=yes ;;
9508 esac
9509
9510 # See if GNU ld supports shared libraries.
9511 case $host_os in
9512 aix[3-9]*)
9513 # On AIX/PPC, the GNU linker is very broken
9514 if test "$host_cpu" != ia64; then
9515 ld_shlibs=no
9516 cat <<_LT_EOF 1>&2
9517
9518 *** Warning: the GNU linker, at least up to release 2.19, is reported
9519 *** to be unable to reliably create shared libraries on AIX.
9520 *** Therefore, libtool is disabling shared libraries support. If you
9521 *** really care for shared libraries, you may want to install binutils
9522 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9523 *** You will then need to restart the configuration process.
9524
9525 _LT_EOF
9526 fi
9527 ;;
9528
9529 amigaos*)
9530 case $host_cpu in
9531 powerpc)
9532 # see comment about AmigaOS4 .so support
9533 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 archive_expsym_cmds=''
9535 ;;
9536 m68k)
9537 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)'
9538 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_minus_L=yes
9540 ;;
9541 esac
9542 ;;
9543
9544 beos*)
9545 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9546 allow_undefined_flag=unsupported
9547 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9548 # support --undefined. This deserves some investigation. FIXME
9549 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 else
9551 ld_shlibs=no
9552 fi
9553 ;;
9554
9555 cygwin* | mingw* | pw32* | cegcc*)
9556 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9557 # as there is no search path for DLLs.
9558 hardcode_libdir_flag_spec='-L$libdir'
9559 export_dynamic_flag_spec='${wl}--export-all-symbols'
9560 allow_undefined_flag=unsupported
9561 always_export_symbols=no
9562 enable_shared_with_static_runtimes=yes
9563 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9564
9565 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9567 # If the export-symbols file already is a .def file (1st line
9568 # is EXPORTS), use it as is; otherwise, prepend...
9569 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9570 cp $export_symbols $output_objdir/$soname.def;
9571 else
9572 echo EXPORTS > $output_objdir/$soname.def;
9573 cat $export_symbols >> $output_objdir/$soname.def;
9574 fi~
9575 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9576 else
9577 ld_shlibs=no
9578 fi
9579 ;;
9580
9581 haiku*)
9582 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9583 link_all_deplibs=yes
9584 ;;
9585
9586 interix[3-9]*)
9587 hardcode_direct=no
9588 hardcode_shlibpath_var=no
9589 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9590 export_dynamic_flag_spec='${wl}-E'
9591 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9592 # Instead, shared libraries are loaded at an image base (0x10000000 by
9593 # default) and relocated if they conflict, which is a slow very memory
9594 # consuming and fragmenting process. To avoid this, we pick a random,
9595 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9596 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9597 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9598 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'
9599 ;;
9600
9601 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9602 tmp_diet=no
9603 if test "$host_os" = linux-dietlibc; then
9604 case $cc_basename in
9605 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9606 esac
9607 fi
9608 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9609 && test "$tmp_diet" = no
9610 then
9611 tmp_addflag=' $pic_flag'
9612 tmp_sharedflag='-shared'
9613 case $cc_basename,$host_cpu in
9614 pgcc*) # Portland Group C compiler
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'
9617 ;;
9618 pgf77* | pgf90* | pgf95* | pgfortran*)
9619 # Portland Group f77 and f90 compilers
9620 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'
9621 tmp_addflag=' $pic_flag -Mnomain' ;;
9622 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9623 tmp_addflag=' -i_dynamic' ;;
9624 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9625 tmp_addflag=' -i_dynamic -nofor_main' ;;
9626 ifc* | ifort*) # Intel Fortran compiler
9627 tmp_addflag=' -nofor_main' ;;
9628 lf95*) # Lahey Fortran 8.1
9629 whole_archive_flag_spec=
9630 tmp_sharedflag='--shared' ;;
9631 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9632 tmp_sharedflag='-qmkshrobj'
9633 tmp_addflag= ;;
9634 nvcc*) # Cuda Compiler Driver 2.2
9635 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'
9636 compiler_needs_object=yes
9637 ;;
9638 esac
9639 case `$CC -V 2>&1 | sed 5q` in
9640 *Sun\ C*) # Sun C 5.9
9641 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'
9642 compiler_needs_object=yes
9643 tmp_sharedflag='-G' ;;
9644 *Sun\ F*) # Sun Fortran 8.3
9645 tmp_sharedflag='-G' ;;
9646 esac
9647 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648
9649 if test "x$supports_anon_versioning" = xyes; then
9650 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9651 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9652 echo "local: *; };" >> $output_objdir/$libname.ver~
9653 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9654 fi
9655
9656 case $cc_basename in
9657 xlf* | bgf* | bgxlf* | mpixlf*)
9658 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9659 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9660 hardcode_libdir_flag_spec=
9661 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9662 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9663 if test "x$supports_anon_versioning" = xyes; then
9664 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9665 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9666 echo "local: *; };" >> $output_objdir/$libname.ver~
9667 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9668 fi
9669 ;;
9670 esac
9671 else
9672 ld_shlibs=no
9673 fi
9674 ;;
9675
9676 netbsd*)
9677 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9678 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9679 wlarc=
9680 else
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9683 fi
9684 ;;
9685
9686 solaris*)
9687 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9688 ld_shlibs=no
9689 cat <<_LT_EOF 1>&2
9690
9691 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9692 *** create shared libraries on Solaris systems. Therefore, libtool
9693 *** is disabling shared libraries support. We urge you to upgrade GNU
9694 *** binutils to release 2.9.1 or newer. Another option is to modify
9695 *** your PATH or compiler configuration so that the native linker is
9696 *** used, and then restart.
9697
9698 _LT_EOF
9699 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9701 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9702 else
9703 ld_shlibs=no
9704 fi
9705 ;;
9706
9707 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9708 case `$LD -v 2>&1` in
9709 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9710 ld_shlibs=no
9711 cat <<_LT_EOF 1>&2
9712
9713 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9714 *** reliably create shared libraries on SCO systems. Therefore, libtool
9715 *** is disabling shared libraries support. We urge you to upgrade GNU
9716 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9717 *** your PATH or compiler configuration so that the native linker is
9718 *** used, and then restart.
9719
9720 _LT_EOF
9721 ;;
9722 *)
9723 # For security reasons, it is highly recommended that you always
9724 # use absolute paths for naming shared libraries, and exclude the
9725 # DT_RUNPATH tag from executables and libraries. But doing so
9726 # requires that you compile everything twice, which is a pain.
9727 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9728 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731 else
9732 ld_shlibs=no
9733 fi
9734 ;;
9735 esac
9736 ;;
9737
9738 sunos4*)
9739 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9740 wlarc=
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9743 ;;
9744
9745 *)
9746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9749 else
9750 ld_shlibs=no
9751 fi
9752 ;;
9753 esac
9754
9755 if test "$ld_shlibs" = no; then
9756 runpath_var=
9757 hardcode_libdir_flag_spec=
9758 export_dynamic_flag_spec=
9759 whole_archive_flag_spec=
9760 fi
9761 else
9762 # PORTME fill in a description of your system's linker (not GNU ld)
9763 case $host_os in
9764 aix3*)
9765 allow_undefined_flag=unsupported
9766 always_export_symbols=yes
9767 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'
9768 # Note: this linker hardcodes the directories in LIBPATH if there
9769 # are no directories specified by -L.
9770 hardcode_minus_L=yes
9771 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9772 # Neither direct hardcoding nor static linking is supported with a
9773 # broken collect2.
9774 hardcode_direct=unsupported
9775 fi
9776 ;;
9777
9778 aix[4-9]*)
9779 if test "$host_cpu" = ia64; then
9780 # On IA64, the linker does run time linking by default, so we don't
9781 # have to do anything special.
9782 aix_use_runtimelinking=no
9783 exp_sym_flag='-Bexport'
9784 no_entry_flag=""
9785 else
9786 # If we're using GNU nm, then we don't want the "-C" option.
9787 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9788 # Also, AIX nm treats weak defined symbols like other global
9789 # defined symbols, whereas GNU nm marks them as "W".
9790 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9791 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'
9792 else
9793 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'
9794 fi
9795 aix_use_runtimelinking=no
9796
9797 # Test if we are trying to use run time linking or normal
9798 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9799 # need to do runtime linking.
9800 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9801 for ld_flag in $LDFLAGS; do
9802 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9803 aix_use_runtimelinking=yes
9804 break
9805 fi
9806 done
9807 ;;
9808 esac
9809
9810 exp_sym_flag='-bexport'
9811 no_entry_flag='-bnoentry'
9812 fi
9813
9814 # When large executables or shared objects are built, AIX ld can
9815 # have problems creating the table of contents. If linking a library
9816 # or program results in "error TOC overflow" add -mminimal-toc to
9817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9819
9820 archive_cmds=''
9821 hardcode_direct=yes
9822 hardcode_direct_absolute=yes
9823 hardcode_libdir_separator=':'
9824 link_all_deplibs=yes
9825 file_list_spec='${wl}-f,'
9826
9827 if test "$GCC" = yes; then
9828 case $host_os in aix4.[012]|aix4.[012].*)
9829 # We only want to do this on AIX 4.2 and lower, the check
9830 # below for broken collect2 doesn't work under 4.3+
9831 collect2name=`${CC} -print-prog-name=collect2`
9832 if test -f "$collect2name" &&
9833 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9834 then
9835 # We have reworked collect2
9836 :
9837 else
9838 # We have old collect2
9839 hardcode_direct=unsupported
9840 # It fails to find uninstalled libraries when the uninstalled
9841 # path is not listed in the libpath. Setting hardcode_minus_L
9842 # to unsupported forces relinking
9843 hardcode_minus_L=yes
9844 hardcode_libdir_flag_spec='-L$libdir'
9845 hardcode_libdir_separator=
9846 fi
9847 ;;
9848 esac
9849 shared_flag='-shared'
9850 if test "$aix_use_runtimelinking" = yes; then
9851 shared_flag="$shared_flag "'${wl}-G'
9852 fi
9853 else
9854 # not using gcc
9855 if test "$host_cpu" = ia64; then
9856 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9857 # chokes on -Wl,-G. The following line is correct:
9858 shared_flag='-G'
9859 else
9860 if test "$aix_use_runtimelinking" = yes; then
9861 shared_flag='${wl}-G'
9862 else
9863 shared_flag='${wl}-bM:SRE'
9864 fi
9865 fi
9866 fi
9867
9868 export_dynamic_flag_spec='${wl}-bexpall'
9869 # It seems that -bexpall does not export symbols beginning with
9870 # underscore (_), so it is better to generate a list of symbols to export.
9871 always_export_symbols=yes
9872 if test "$aix_use_runtimelinking" = yes; then
9873 # Warning - without using the other runtime loading flags (-brtl),
9874 # -berok will link without error, but may produce a broken library.
9875 allow_undefined_flag='-berok'
9876 # Determine the default libpath from the value encoded in an
9877 # empty executable.
9878 if test x$gcc_no_link = xyes; then
9879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9880 fi
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883
9884 int
9885 main ()
9886 {
9887
9888 ;
9889 return 0;
9890 }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893
9894 lt_aix_libpath_sed='
9895 /Import File Strings/,/^$/ {
9896 /^0/ {
9897 s/^0 *\(.*\)$/\1/
9898 p
9899 }
9900 }'
9901 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9902 # Check for a 64-bit object if we didn't find anything.
9903 if test -z "$aix_libpath"; then
9904 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9905 fi
9906 fi
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9910
9911 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9912 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"
9913 else
9914 if test "$host_cpu" = ia64; then
9915 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9916 allow_undefined_flag="-z nodefs"
9917 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"
9918 else
9919 # Determine the default libpath from the value encoded in an
9920 # empty executable.
9921 if test x$gcc_no_link = xyes; then
9922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9923 fi
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926
9927 int
9928 main ()
9929 {
9930
9931 ;
9932 return 0;
9933 }
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936
9937 lt_aix_libpath_sed='
9938 /Import File Strings/,/^$/ {
9939 /^0/ {
9940 s/^0 *\(.*\)$/\1/
9941 p
9942 }
9943 }'
9944 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$aix_libpath"; then
9947 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9948 fi
9949 fi
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9953
9954 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9955 # Warning - without using the other run time loading flags,
9956 # -berok will link without error, but may produce a broken library.
9957 no_undefined_flag=' ${wl}-bernotok'
9958 allow_undefined_flag=' ${wl}-berok'
9959 if test "$with_gnu_ld" = yes; then
9960 # We only use this code for GNU lds that support --whole-archive.
9961 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9962 else
9963 # Exported symbols can be pulled into shared objects from archives
9964 whole_archive_flag_spec='$convenience'
9965 fi
9966 archive_cmds_need_lc=yes
9967 # This is similar to how AIX traditionally builds its shared libraries.
9968 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'
9969 fi
9970 fi
9971 ;;
9972
9973 amigaos*)
9974 case $host_cpu in
9975 powerpc)
9976 # see comment about AmigaOS4 .so support
9977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9978 archive_expsym_cmds=''
9979 ;;
9980 m68k)
9981 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)'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9984 ;;
9985 esac
9986 ;;
9987
9988 bsdi[45]*)
9989 export_dynamic_flag_spec=-rdynamic
9990 ;;
9991
9992 cygwin* | mingw* | pw32* | cegcc*)
9993 # When not using gcc, we currently assume that we are using
9994 # Microsoft Visual C++.
9995 # hardcode_libdir_flag_spec is actually meaningless, as there is
9996 # no search path for DLLs.
9997 hardcode_libdir_flag_spec=' '
9998 allow_undefined_flag=unsupported
9999 # Tell ltmain to make .lib files, not .a files.
10000 libext=lib
10001 # Tell ltmain to make .dll files, not .so files.
10002 shrext_cmds=".dll"
10003 # FIXME: Setting linknames here is a bad hack.
10004 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10005 # The linker will automatically build a .lib file if we build a DLL.
10006 old_archive_from_new_cmds='true'
10007 # FIXME: Should let the user specify the lib program.
10008 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10009 fix_srcfile_path='`cygpath -w "$srcfile"`'
10010 enable_shared_with_static_runtimes=yes
10011 ;;
10012
10013 darwin* | rhapsody*)
10014
10015
10016 archive_cmds_need_lc=no
10017 hardcode_direct=no
10018 hardcode_automatic=yes
10019 hardcode_shlibpath_var=unsupported
10020 if test "$lt_cv_ld_force_load" = "yes"; then
10021 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\"`'
10022 else
10023 whole_archive_flag_spec=''
10024 fi
10025 link_all_deplibs=yes
10026 allow_undefined_flag="$_lt_dar_allow_undefined"
10027 case $cc_basename in
10028 ifort*) _lt_dar_can_shared=yes ;;
10029 *) _lt_dar_can_shared=$GCC ;;
10030 esac
10031 if test "$_lt_dar_can_shared" = "yes"; then
10032 output_verbose_link_cmd=func_echo_all
10033 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10034 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10035 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}"
10036 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}"
10037
10038 else
10039 ld_shlibs=no
10040 fi
10041
10042 ;;
10043
10044 dgux*)
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_libdir_flag_spec='-L$libdir'
10047 hardcode_shlibpath_var=no
10048 ;;
10049
10050 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10051 # support. Future versions do this automatically, but an explicit c++rt0.o
10052 # does not break anything, and helps significantly (at the cost of a little
10053 # extra space).
10054 freebsd2.2*)
10055 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10056 hardcode_libdir_flag_spec='-R$libdir'
10057 hardcode_direct=yes
10058 hardcode_shlibpath_var=no
10059 ;;
10060
10061 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10062 freebsd2.*)
10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_direct=yes
10065 hardcode_minus_L=yes
10066 hardcode_shlibpath_var=no
10067 ;;
10068
10069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10070 freebsd* | dragonfly*)
10071 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10072 hardcode_libdir_flag_spec='-R$libdir'
10073 hardcode_direct=yes
10074 hardcode_shlibpath_var=no
10075 ;;
10076
10077 hpux9*)
10078 if test "$GCC" = yes; then
10079 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'
10080 else
10081 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'
10082 fi
10083 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10084 hardcode_libdir_separator=:
10085 hardcode_direct=yes
10086
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L=yes
10090 export_dynamic_flag_spec='${wl}-E'
10091 ;;
10092
10093 hpux10*)
10094 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10095 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10096 else
10097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10098 fi
10099 if test "$with_gnu_ld" = no; then
10100 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10101 hardcode_libdir_flag_spec_ld='+b $libdir'
10102 hardcode_libdir_separator=:
10103 hardcode_direct=yes
10104 hardcode_direct_absolute=yes
10105 export_dynamic_flag_spec='${wl}-E'
10106 # hardcode_minus_L: Not really in the search PATH,
10107 # but as the default location of the library.
10108 hardcode_minus_L=yes
10109 fi
10110 ;;
10111
10112 hpux11*)
10113 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10114 case $host_cpu in
10115 hppa*64*)
10116 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 ;;
10118 ia64*)
10119 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10120 ;;
10121 *)
10122 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10123 ;;
10124 esac
10125 else
10126 case $host_cpu in
10127 hppa*64*)
10128 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 ;;
10130 ia64*)
10131 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10132 ;;
10133 *)
10134
10135 # Older versions of the 11.00 compiler do not understand -b yet
10136 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10138 $as_echo_n "checking if $CC understands -b... " >&6; }
10139 if ${lt_cv_prog_compiler__b+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 lt_cv_prog_compiler__b=no
10143 save_LDFLAGS="$LDFLAGS"
10144 LDFLAGS="$LDFLAGS -b"
10145 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10146 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10147 # The linker can only warn and ignore the option if not recognized
10148 # So say no if there are warnings
10149 if test -s conftest.err; then
10150 # Append any errors to the config.log.
10151 cat conftest.err 1>&5
10152 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10154 if diff conftest.exp conftest.er2 >/dev/null; then
10155 lt_cv_prog_compiler__b=yes
10156 fi
10157 else
10158 lt_cv_prog_compiler__b=yes
10159 fi
10160 fi
10161 $RM -r conftest*
10162 LDFLAGS="$save_LDFLAGS"
10163
10164 fi
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10166 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10167
10168 if test x"$lt_cv_prog_compiler__b" = xyes; then
10169 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10170 else
10171 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10172 fi
10173
10174 ;;
10175 esac
10176 fi
10177 if test "$with_gnu_ld" = no; then
10178 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10179 hardcode_libdir_separator=:
10180
10181 case $host_cpu in
10182 hppa*64*|ia64*)
10183 hardcode_direct=no
10184 hardcode_shlibpath_var=no
10185 ;;
10186 *)
10187 hardcode_direct=yes
10188 hardcode_direct_absolute=yes
10189 export_dynamic_flag_spec='${wl}-E'
10190
10191 # hardcode_minus_L: Not really in the search PATH,
10192 # but as the default location of the library.
10193 hardcode_minus_L=yes
10194 ;;
10195 esac
10196 fi
10197 ;;
10198
10199 irix5* | irix6* | nonstopux*)
10200 if test "$GCC" = yes; then
10201 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'
10202 # Try to use the -exported_symbol ld option, if it does not
10203 # work, assume that -exports_file does not work either and
10204 # implicitly export all symbols.
10205 save_LDFLAGS="$LDFLAGS"
10206 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10207 if test x$gcc_no_link = xyes; then
10208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 fi
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 int foo(void) {}
10213 _ACEOF
10214 if ac_fn_c_try_link "$LINENO"; then :
10215 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'
10216
10217 fi
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LDFLAGS="$save_LDFLAGS"
10221 else
10222 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'
10223 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'
10224 fi
10225 archive_cmds_need_lc='no'
10226 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10227 hardcode_libdir_separator=:
10228 inherit_rpath=yes
10229 link_all_deplibs=yes
10230 ;;
10231
10232 netbsd*)
10233 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10234 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10235 else
10236 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10237 fi
10238 hardcode_libdir_flag_spec='-R$libdir'
10239 hardcode_direct=yes
10240 hardcode_shlibpath_var=no
10241 ;;
10242
10243 newsos6)
10244 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10245 hardcode_direct=yes
10246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10247 hardcode_libdir_separator=:
10248 hardcode_shlibpath_var=no
10249 ;;
10250
10251 *nto* | *qnx*)
10252 ;;
10253
10254 openbsd*)
10255 if test -f /usr/libexec/ld.so; then
10256 hardcode_direct=yes
10257 hardcode_shlibpath_var=no
10258 hardcode_direct_absolute=yes
10259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10260 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10262 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10263 export_dynamic_flag_spec='${wl}-E'
10264 else
10265 case $host_os in
10266 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10267 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_libdir_flag_spec='-R$libdir'
10269 ;;
10270 *)
10271 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10272 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10273 ;;
10274 esac
10275 fi
10276 else
10277 ld_shlibs=no
10278 fi
10279 ;;
10280
10281 os2*)
10282 hardcode_libdir_flag_spec='-L$libdir'
10283 hardcode_minus_L=yes
10284 allow_undefined_flag=unsupported
10285 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'
10286 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10287 ;;
10288
10289 osf3*)
10290 if test "$GCC" = yes; then
10291 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10292 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'
10293 else
10294 allow_undefined_flag=' -expect_unresolved \*'
10295 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'
10296 fi
10297 archive_cmds_need_lc='no'
10298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10299 hardcode_libdir_separator=:
10300 ;;
10301
10302 osf4* | osf5*) # as osf3* with the addition of -msym flag
10303 if test "$GCC" = yes; then
10304 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10305 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'
10306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10307 else
10308 allow_undefined_flag=' -expect_unresolved \*'
10309 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'
10310 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~
10311 $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'
10312
10313 # Both c and cxx compiler support -rpath directly
10314 hardcode_libdir_flag_spec='-rpath $libdir'
10315 fi
10316 archive_cmds_need_lc='no'
10317 hardcode_libdir_separator=:
10318 ;;
10319
10320 solaris*)
10321 no_undefined_flag=' -z defs'
10322 if test "$GCC" = yes; then
10323 wlarc='${wl}'
10324 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10326 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10327 else
10328 case `$CC -V 2>&1` in
10329 *"Compilers 5.0"*)
10330 wlarc=''
10331 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10332 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10334 ;;
10335 *)
10336 wlarc='${wl}'
10337 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10338 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10339 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10340 ;;
10341 esac
10342 fi
10343 hardcode_libdir_flag_spec='-R$libdir'
10344 hardcode_shlibpath_var=no
10345 case $host_os in
10346 solaris2.[0-5] | solaris2.[0-5].*) ;;
10347 *)
10348 # The compiler driver will combine and reorder linker options,
10349 # but understands `-z linker_flag'. GCC discards it without `$wl',
10350 # but is careful enough not to reorder.
10351 # Supported since Solaris 2.6 (maybe 2.5.1?)
10352 if test "$GCC" = yes; then
10353 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10354 else
10355 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10356 fi
10357 ;;
10358 esac
10359 link_all_deplibs=yes
10360 ;;
10361
10362 sunos4*)
10363 if test "x$host_vendor" = xsequent; then
10364 # Use $CC to link under sequent, because it throws in some extra .o
10365 # files that make .init and .fini sections work.
10366 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10367 else
10368 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10369 fi
10370 hardcode_libdir_flag_spec='-L$libdir'
10371 hardcode_direct=yes
10372 hardcode_minus_L=yes
10373 hardcode_shlibpath_var=no
10374 ;;
10375
10376 sysv4)
10377 case $host_vendor in
10378 sni)
10379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10380 hardcode_direct=yes # is this really true???
10381 ;;
10382 siemens)
10383 ## LD is ld it makes a PLAMLIB
10384 ## CC just makes a GrossModule.
10385 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10386 reload_cmds='$CC -r -o $output$reload_objs'
10387 hardcode_direct=no
10388 ;;
10389 motorola)
10390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10392 ;;
10393 esac
10394 runpath_var='LD_RUN_PATH'
10395 hardcode_shlibpath_var=no
10396 ;;
10397
10398 sysv4.3*)
10399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_shlibpath_var=no
10401 export_dynamic_flag_spec='-Bexport'
10402 ;;
10403
10404 sysv4*MP*)
10405 if test -d /usr/nec; then
10406 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407 hardcode_shlibpath_var=no
10408 runpath_var=LD_RUN_PATH
10409 hardcode_runpath_var=yes
10410 ld_shlibs=yes
10411 fi
10412 ;;
10413
10414 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10415 no_undefined_flag='${wl}-z,text'
10416 archive_cmds_need_lc=no
10417 hardcode_shlibpath_var=no
10418 runpath_var='LD_RUN_PATH'
10419
10420 if test "$GCC" = yes; then
10421 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 else
10424 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10426 fi
10427 ;;
10428
10429 sysv5* | sco3.2v5* | sco5v6*)
10430 # Note: We can NOT use -z defs as we might desire, because we do not
10431 # link with -lc, and that would cause any symbols used from libc to
10432 # always be unresolved, which means just about no library would
10433 # ever link correctly. If we're not using GNU ld we use -z text
10434 # though, which does catch some bad symbols but isn't as heavy-handed
10435 # as -z defs.
10436 no_undefined_flag='${wl}-z,text'
10437 allow_undefined_flag='${wl}-z,nodefs'
10438 archive_cmds_need_lc=no
10439 hardcode_shlibpath_var=no
10440 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10441 hardcode_libdir_separator=':'
10442 link_all_deplibs=yes
10443 export_dynamic_flag_spec='${wl}-Bexport'
10444 runpath_var='LD_RUN_PATH'
10445
10446 if test "$GCC" = yes; then
10447 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449 else
10450 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10452 fi
10453 ;;
10454
10455 uts4*)
10456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10457 hardcode_libdir_flag_spec='-L$libdir'
10458 hardcode_shlibpath_var=no
10459 ;;
10460
10461 *)
10462 ld_shlibs=no
10463 ;;
10464 esac
10465
10466 if test x$host_vendor = xsni; then
10467 case $host in
10468 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10469 export_dynamic_flag_spec='${wl}-Blargedynsym'
10470 ;;
10471 esac
10472 fi
10473 fi
10474
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10476 $as_echo "$ld_shlibs" >&6; }
10477 test "$ld_shlibs" = no && can_build_shared=no
10478
10479 with_gnu_ld=$with_gnu_ld
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495 #
10496 # Do we need to explicitly link libc?
10497 #
10498 case "x$archive_cmds_need_lc" in
10499 x|xyes)
10500 # Assume -lc should be added
10501 archive_cmds_need_lc=yes
10502
10503 if test "$enable_shared" = yes && test "$GCC" = yes; then
10504 case $archive_cmds in
10505 *'~'*)
10506 # FIXME: we may have to deal with multi-command sequences.
10507 ;;
10508 '$CC '*)
10509 # Test whether the compiler implicitly links with -lc since on some
10510 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10511 # to ld, don't add -lc before -lgcc.
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10513 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10514 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 $RM conftest*
10518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10519
10520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10521 (eval $ac_compile) 2>&5
10522 ac_status=$?
10523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10524 test $ac_status = 0; } 2>conftest.err; then
10525 soname=conftest
10526 lib=conftest
10527 libobjs=conftest.$ac_objext
10528 deplibs=
10529 wl=$lt_prog_compiler_wl
10530 pic_flag=$lt_prog_compiler_pic
10531 compiler_flags=-v
10532 linker_flags=-v
10533 verstring=
10534 output_objdir=.
10535 libname=conftest
10536 lt_save_allow_undefined_flag=$allow_undefined_flag
10537 allow_undefined_flag=
10538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10539 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10540 ac_status=$?
10541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10542 test $ac_status = 0; }
10543 then
10544 lt_cv_archive_cmds_need_lc=no
10545 else
10546 lt_cv_archive_cmds_need_lc=yes
10547 fi
10548 allow_undefined_flag=$lt_save_allow_undefined_flag
10549 else
10550 cat conftest.err 1>&5
10551 fi
10552 $RM conftest*
10553
10554 fi
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10556 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10557 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10558 ;;
10559 esac
10560 fi
10561 ;;
10562 esac
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
10716
10717
10718
10719
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10721 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10722
10723 if test "$GCC" = yes; then
10724 case $host_os in
10725 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10726 *) lt_awk_arg="/^libraries:/" ;;
10727 esac
10728 case $host_os in
10729 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10730 *) lt_sed_strip_eq="s,=/,/,g" ;;
10731 esac
10732 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10733 case $lt_search_path_spec in
10734 *\;*)
10735 # if the path contains ";" then we assume it to be the separator
10736 # otherwise default to the standard path separator (i.e. ":") - it is
10737 # assumed that no part of a normal pathname contains ";" but that should
10738 # okay in the real world where ";" in dirpaths is itself problematic.
10739 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10740 ;;
10741 *)
10742 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10743 ;;
10744 esac
10745 # Ok, now we have the path, separated by spaces, we can step through it
10746 # and add multilib dir if necessary.
10747 lt_tmp_lt_search_path_spec=
10748 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10749 for lt_sys_path in $lt_search_path_spec; do
10750 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10751 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10752 else
10753 test -d "$lt_sys_path" && \
10754 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10755 fi
10756 done
10757 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10758 BEGIN {RS=" "; FS="/|\n";} {
10759 lt_foo="";
10760 lt_count=0;
10761 for (lt_i = NF; lt_i > 0; lt_i--) {
10762 if ($lt_i != "" && $lt_i != ".") {
10763 if ($lt_i == "..") {
10764 lt_count++;
10765 } else {
10766 if (lt_count == 0) {
10767 lt_foo="/" $lt_i lt_foo;
10768 } else {
10769 lt_count--;
10770 }
10771 }
10772 }
10773 }
10774 if (lt_foo != "") { lt_freq[lt_foo]++; }
10775 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10776 }'`
10777 # AWK program above erroneously prepends '/' to C:/dos/paths
10778 # for these hosts.
10779 case $host_os in
10780 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10781 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10782 esac
10783 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10784 else
10785 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10786 fi
10787 library_names_spec=
10788 libname_spec='lib$name'
10789 soname_spec=
10790 shrext_cmds=".so"
10791 postinstall_cmds=
10792 postuninstall_cmds=
10793 finish_cmds=
10794 finish_eval=
10795 shlibpath_var=
10796 shlibpath_overrides_runpath=unknown
10797 version_type=none
10798 dynamic_linker="$host_os ld.so"
10799 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10800 need_lib_prefix=unknown
10801 hardcode_into_libs=no
10802
10803 # when you set need_version to no, make sure it does not cause -set_version
10804 # flags to be left without arguments
10805 need_version=unknown
10806
10807 case $host_os in
10808 aix3*)
10809 version_type=linux
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10811 shlibpath_var=LIBPATH
10812
10813 # AIX 3 has no versioning support, so we append a major version to the name.
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 ;;
10816
10817 aix[4-9]*)
10818 version_type=linux
10819 need_lib_prefix=no
10820 need_version=no
10821 hardcode_into_libs=yes
10822 if test "$host_cpu" = ia64; then
10823 # AIX 5 supports IA64
10824 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10825 shlibpath_var=LD_LIBRARY_PATH
10826 else
10827 # With GCC up to 2.95.x, collect2 would create an import file
10828 # for dependence libraries. The import file would start with
10829 # the line `#! .'. This would cause the generated library to
10830 # depend on `.', always an invalid library. This was fixed in
10831 # development snapshots of GCC prior to 3.0.
10832 case $host_os in
10833 aix4 | aix4.[01] | aix4.[01].*)
10834 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10835 echo ' yes '
10836 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10837 :
10838 else
10839 can_build_shared=no
10840 fi
10841 ;;
10842 esac
10843 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10844 # soname into executable. Probably we can add versioning support to
10845 # collect2, so additional links can be useful in future.
10846 if test "$aix_use_runtimelinking" = yes; then
10847 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10848 # instead of lib<name>.a to let people know that these are not
10849 # typical AIX shared libraries.
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 else
10852 # We preserve .a as extension for shared libraries through AIX4.2
10853 # and later when we are not doing run time linking.
10854 library_names_spec='${libname}${release}.a $libname.a'
10855 soname_spec='${libname}${release}${shared_ext}$major'
10856 fi
10857 shlibpath_var=LIBPATH
10858 fi
10859 ;;
10860
10861 amigaos*)
10862 case $host_cpu in
10863 powerpc)
10864 # Since July 2007 AmigaOS4 officially supports .so libraries.
10865 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 ;;
10868 m68k)
10869 library_names_spec='$libname.ixlibrary $libname.a'
10870 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10871 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'
10872 ;;
10873 esac
10874 ;;
10875
10876 beos*)
10877 library_names_spec='${libname}${shared_ext}'
10878 dynamic_linker="$host_os ld.so"
10879 shlibpath_var=LIBRARY_PATH
10880 ;;
10881
10882 bsdi[45]*)
10883 version_type=linux
10884 need_version=no
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10890 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10891 # the default ld.so.conf also contains /usr/contrib/lib and
10892 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10893 # libtool to hard-code these into programs
10894 ;;
10895
10896 cygwin* | mingw* | pw32* | cegcc*)
10897 version_type=windows
10898 shrext_cmds=".dll"
10899 need_version=no
10900 need_lib_prefix=no
10901
10902 case $GCC,$host_os in
10903 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10904 library_names_spec='$libname.dll.a'
10905 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10906 postinstall_cmds='base_file=`basename \${file}`~
10907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10908 dldir=$destdir/`dirname \$dlpath`~
10909 test -d \$dldir || mkdir -p \$dldir~
10910 $install_prog $dir/$dlname \$dldir/$dlname~
10911 chmod a+x \$dldir/$dlname~
10912 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10913 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10914 fi'
10915 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10916 dlpath=$dir/\$dldll~
10917 $RM \$dlpath'
10918 shlibpath_overrides_runpath=yes
10919
10920 case $host_os in
10921 cygwin*)
10922 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10923 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10924
10925 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10926 ;;
10927 mingw* | cegcc*)
10928 # MinGW DLLs use traditional 'lib' prefix
10929 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10930 ;;
10931 pw32*)
10932 # pw32 DLLs use 'pw' prefix rather than 'lib'
10933 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10934 ;;
10935 esac
10936 ;;
10937
10938 *)
10939 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10940 ;;
10941 esac
10942 dynamic_linker='Win32 ld.exe'
10943 # FIXME: first we should search . and the directory the executable is in
10944 shlibpath_var=PATH
10945 ;;
10946
10947 darwin* | rhapsody*)
10948 dynamic_linker="$host_os dyld"
10949 version_type=darwin
10950 need_lib_prefix=no
10951 need_version=no
10952 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10953 soname_spec='${libname}${release}${major}$shared_ext'
10954 shlibpath_overrides_runpath=yes
10955 shlibpath_var=DYLD_LIBRARY_PATH
10956 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10957
10958 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10959 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10960 ;;
10961
10962 dgux*)
10963 version_type=linux
10964 need_lib_prefix=no
10965 need_version=no
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 ;;
10970
10971 freebsd* | dragonfly*)
10972 # DragonFly does not have aout. When/if they implement a new
10973 # versioning mechanism, adjust this.
10974 if test -x /usr/bin/objformat; then
10975 objformat=`/usr/bin/objformat`
10976 else
10977 case $host_os in
10978 freebsd[23].*) objformat=aout ;;
10979 *) objformat=elf ;;
10980 esac
10981 fi
10982 version_type=freebsd-$objformat
10983 case $version_type in
10984 freebsd-elf*)
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10986 need_version=no
10987 need_lib_prefix=no
10988 ;;
10989 freebsd-*)
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10991 need_version=yes
10992 ;;
10993 esac
10994 shlibpath_var=LD_LIBRARY_PATH
10995 case $host_os in
10996 freebsd2.*)
10997 shlibpath_overrides_runpath=yes
10998 ;;
10999 freebsd3.[01]* | freebsdelf3.[01]*)
11000 shlibpath_overrides_runpath=yes
11001 hardcode_into_libs=yes
11002 ;;
11003 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11004 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11005 shlibpath_overrides_runpath=no
11006 hardcode_into_libs=yes
11007 ;;
11008 *) # from 4.6 on, and DragonFly
11009 shlibpath_overrides_runpath=yes
11010 hardcode_into_libs=yes
11011 ;;
11012 esac
11013 ;;
11014
11015 gnu*)
11016 version_type=linux
11017 need_lib_prefix=no
11018 need_version=no
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 hardcode_into_libs=yes
11023 ;;
11024
11025 haiku*)
11026 version_type=linux
11027 need_lib_prefix=no
11028 need_version=no
11029 dynamic_linker="$host_os runtime_loader"
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11035 hardcode_into_libs=yes
11036 ;;
11037
11038 hpux9* | hpux10* | hpux11*)
11039 # Give a soname corresponding to the major version so that dld.sl refuses to
11040 # link against other versions.
11041 version_type=sunos
11042 need_lib_prefix=no
11043 need_version=no
11044 case $host_cpu in
11045 ia64*)
11046 shrext_cmds='.so'
11047 hardcode_into_libs=yes
11048 dynamic_linker="$host_os dld.so"
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 if test "X$HPUX_IA64_MODE" = X32; then
11054 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11055 else
11056 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11057 fi
11058 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11059 ;;
11060 hppa*64*)
11061 shrext_cmds='.sl'
11062 hardcode_into_libs=yes
11063 dynamic_linker="$host_os dld.sl"
11064 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11065 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 soname_spec='${libname}${release}${shared_ext}$major'
11068 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11069 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11070 ;;
11071 *)
11072 shrext_cmds='.sl'
11073 dynamic_linker="$host_os dld.sl"
11074 shlibpath_var=SHLIB_PATH
11075 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 soname_spec='${libname}${release}${shared_ext}$major'
11078 ;;
11079 esac
11080 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11081 postinstall_cmds='chmod 555 $lib'
11082 # or fails outright, so override atomically:
11083 install_override_mode=555
11084 ;;
11085
11086 interix[3-9]*)
11087 version_type=linux
11088 need_lib_prefix=no
11089 need_version=no
11090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11091 soname_spec='${libname}${release}${shared_ext}$major'
11092 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11093 shlibpath_var=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath=no
11095 hardcode_into_libs=yes
11096 ;;
11097
11098 irix5* | irix6* | nonstopux*)
11099 case $host_os in
11100 nonstopux*) version_type=nonstopux ;;
11101 *)
11102 if test "$lt_cv_prog_gnu_ld" = yes; then
11103 version_type=linux
11104 else
11105 version_type=irix
11106 fi ;;
11107 esac
11108 need_lib_prefix=no
11109 need_version=no
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11112 case $host_os in
11113 irix5* | nonstopux*)
11114 libsuff= shlibsuff=
11115 ;;
11116 *)
11117 case $LD in # libtool.m4 will add one of these switches to LD
11118 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11119 libsuff= shlibsuff= libmagic=32-bit;;
11120 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11121 libsuff=32 shlibsuff=N32 libmagic=N32;;
11122 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11123 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11124 *) libsuff= shlibsuff= libmagic=never-match;;
11125 esac
11126 ;;
11127 esac
11128 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11129 shlibpath_overrides_runpath=no
11130 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11131 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11132 hardcode_into_libs=yes
11133 ;;
11134
11135 # No shared lib support for Linux oldld, aout, or coff.
11136 linux*oldld* | linux*aout* | linux*coff*)
11137 dynamic_linker=no
11138 ;;
11139
11140 # This must be Linux ELF.
11141 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11142 version_type=linux
11143 need_lib_prefix=no
11144 need_version=no
11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 soname_spec='${libname}${release}${shared_ext}$major'
11147 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11148 shlibpath_var=LD_LIBRARY_PATH
11149 shlibpath_overrides_runpath=no
11150
11151 # Some binutils ld are patched to set DT_RUNPATH
11152 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 lt_cv_shlibpath_overrides_runpath=no
11156 save_LDFLAGS=$LDFLAGS
11157 save_libdir=$libdir
11158 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11159 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11160 if test x$gcc_no_link = xyes; then
11161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11162 fi
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165
11166 int
11167 main ()
11168 {
11169
11170 ;
11171 return 0;
11172 }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11176 lt_cv_shlibpath_overrides_runpath=yes
11177 fi
11178 fi
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LDFLAGS=$save_LDFLAGS
11182 libdir=$save_libdir
11183
11184 fi
11185
11186 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11187
11188 # This implies no fast_install, which is unacceptable.
11189 # Some rework will be needed to allow for fast_install
11190 # before this can be enabled.
11191 hardcode_into_libs=yes
11192
11193 # Append ld.so.conf contents to the search path
11194 if test -f /etc/ld.so.conf; then
11195 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' ' '`
11196 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11197 fi
11198
11199 # We used to test for /lib/ld.so.1 and disable shared libraries on
11200 # powerpc, because MkLinux only supported shared libraries with the
11201 # GNU dynamic linker. Since this was broken with cross compilers,
11202 # most powerpc-linux boxes support dynamic linking these days and
11203 # people can always --disable-shared, the test was removed, and we
11204 # assume the GNU/Linux dynamic linker is in use.
11205 dynamic_linker='GNU/Linux ld.so'
11206 ;;
11207
11208 netbsd*)
11209 version_type=sunos
11210 need_lib_prefix=no
11211 need_version=no
11212 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11214 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11215 dynamic_linker='NetBSD (a.out) ld.so'
11216 else
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11218 soname_spec='${libname}${release}${shared_ext}$major'
11219 dynamic_linker='NetBSD ld.elf_so'
11220 fi
11221 shlibpath_var=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath=yes
11223 hardcode_into_libs=yes
11224 ;;
11225
11226 newsos6)
11227 version_type=linux
11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 shlibpath_overrides_runpath=yes
11231 ;;
11232
11233 *nto* | *qnx*)
11234 version_type=qnx
11235 need_lib_prefix=no
11236 need_version=no
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 soname_spec='${libname}${release}${shared_ext}$major'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 shlibpath_overrides_runpath=no
11241 hardcode_into_libs=yes
11242 dynamic_linker='ldqnx.so'
11243 ;;
11244
11245 openbsd*)
11246 version_type=sunos
11247 sys_lib_dlsearch_path_spec="/usr/lib"
11248 need_lib_prefix=no
11249 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11250 case $host_os in
11251 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11252 *) need_version=no ;;
11253 esac
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11255 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11256 shlibpath_var=LD_LIBRARY_PATH
11257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11258 case $host_os in
11259 openbsd2.[89] | openbsd2.[89].*)
11260 shlibpath_overrides_runpath=no
11261 ;;
11262 *)
11263 shlibpath_overrides_runpath=yes
11264 ;;
11265 esac
11266 else
11267 shlibpath_overrides_runpath=yes
11268 fi
11269 ;;
11270
11271 os2*)
11272 libname_spec='$name'
11273 shrext_cmds=".dll"
11274 need_lib_prefix=no
11275 library_names_spec='$libname${shared_ext} $libname.a'
11276 dynamic_linker='OS/2 ld.exe'
11277 shlibpath_var=LIBPATH
11278 ;;
11279
11280 osf3* | osf4* | osf5*)
11281 version_type=osf
11282 need_lib_prefix=no
11283 need_version=no
11284 soname_spec='${libname}${release}${shared_ext}$major'
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 shlibpath_var=LD_LIBRARY_PATH
11287 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11288 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11289 ;;
11290
11291 rdos*)
11292 dynamic_linker=no
11293 ;;
11294
11295 solaris*)
11296 version_type=linux
11297 need_lib_prefix=no
11298 need_version=no
11299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300 soname_spec='${libname}${release}${shared_ext}$major'
11301 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11303 hardcode_into_libs=yes
11304 # ldd complains unless libraries are executable
11305 postinstall_cmds='chmod +x $lib'
11306 ;;
11307
11308 sunos4*)
11309 version_type=sunos
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11311 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11312 shlibpath_var=LD_LIBRARY_PATH
11313 shlibpath_overrides_runpath=yes
11314 if test "$with_gnu_ld" = yes; then
11315 need_lib_prefix=no
11316 fi
11317 need_version=yes
11318 ;;
11319
11320 sysv4 | sysv4.3*)
11321 version_type=linux
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323 soname_spec='${libname}${release}${shared_ext}$major'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 case $host_vendor in
11326 sni)
11327 shlibpath_overrides_runpath=no
11328 need_lib_prefix=no
11329 runpath_var=LD_RUN_PATH
11330 ;;
11331 siemens)
11332 need_lib_prefix=no
11333 ;;
11334 motorola)
11335 need_lib_prefix=no
11336 need_version=no
11337 shlibpath_overrides_runpath=no
11338 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11339 ;;
11340 esac
11341 ;;
11342
11343 sysv4*MP*)
11344 if test -d /usr/nec ;then
11345 version_type=linux
11346 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11347 soname_spec='$libname${shared_ext}.$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 fi
11350 ;;
11351
11352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11353 version_type=freebsd-elf
11354 need_lib_prefix=no
11355 need_version=no
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 shlibpath_var=LD_LIBRARY_PATH
11359 shlibpath_overrides_runpath=yes
11360 hardcode_into_libs=yes
11361 if test "$with_gnu_ld" = yes; then
11362 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11363 else
11364 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11365 case $host_os in
11366 sco3.2v5*)
11367 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11368 ;;
11369 esac
11370 fi
11371 sys_lib_dlsearch_path_spec='/usr/lib'
11372 ;;
11373
11374 tpf*)
11375 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11376 version_type=linux
11377 need_lib_prefix=no
11378 need_version=no
11379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 shlibpath_var=LD_LIBRARY_PATH
11381 shlibpath_overrides_runpath=no
11382 hardcode_into_libs=yes
11383 ;;
11384
11385 uts4*)
11386 version_type=linux
11387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388 soname_spec='${libname}${release}${shared_ext}$major'
11389 shlibpath_var=LD_LIBRARY_PATH
11390 ;;
11391
11392 *)
11393 dynamic_linker=no
11394 ;;
11395 esac
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11397 $as_echo "$dynamic_linker" >&6; }
11398 test "$dynamic_linker" = no && can_build_shared=no
11399
11400 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11401 if test "$GCC" = yes; then
11402 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11403 fi
11404
11405 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11406 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11407 fi
11408 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11409 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11410 fi
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
11499
11500
11501
11502
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11504 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11505 hardcode_action=
11506 if test -n "$hardcode_libdir_flag_spec" ||
11507 test -n "$runpath_var" ||
11508 test "X$hardcode_automatic" = "Xyes" ; then
11509
11510 # We can hardcode non-existent directories.
11511 if test "$hardcode_direct" != no &&
11512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11513 # have to relink, otherwise we might link with an installed library
11514 # when we should be linking with a yet-to-be-installed one
11515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11516 test "$hardcode_minus_L" != no; then
11517 # Linking always hardcodes the temporary library directory.
11518 hardcode_action=relink
11519 else
11520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11521 hardcode_action=immediate
11522 fi
11523 else
11524 # We cannot hardcode anything, or else we can only hardcode existing
11525 # directories.
11526 hardcode_action=unsupported
11527 fi
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11529 $as_echo "$hardcode_action" >&6; }
11530
11531 if test "$hardcode_action" = relink ||
11532 test "$inherit_rpath" = yes; then
11533 # Fast installation is not supported
11534 enable_fast_install=no
11535 elif test "$shlibpath_overrides_runpath" = yes ||
11536 test "$enable_shared" = no; then
11537 # Fast installation is not necessary
11538 enable_fast_install=needless
11539 fi
11540
11541
11542
11543
11544
11545
11546 if test "x$enable_dlopen" != xyes; then
11547 enable_dlopen=unknown
11548 enable_dlopen_self=unknown
11549 enable_dlopen_self_static=unknown
11550 else
11551 lt_cv_dlopen=no
11552 lt_cv_dlopen_libs=
11553
11554 case $host_os in
11555 beos*)
11556 lt_cv_dlopen="load_add_on"
11557 lt_cv_dlopen_libs=
11558 lt_cv_dlopen_self=yes
11559 ;;
11560
11561 mingw* | pw32* | cegcc*)
11562 lt_cv_dlopen="LoadLibrary"
11563 lt_cv_dlopen_libs=
11564 ;;
11565
11566 cygwin*)
11567 lt_cv_dlopen="dlopen"
11568 lt_cv_dlopen_libs=
11569 ;;
11570
11571 darwin*)
11572 # if libdl is installed we need to link against it
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11575 if ${ac_cv_lib_dl_dlopen+:} false; then :
11576 $as_echo_n "(cached) " >&6
11577 else
11578 ac_check_lib_save_LIBS=$LIBS
11579 LIBS="-ldl $LIBS"
11580 if test x$gcc_no_link = xyes; then
11581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11582 fi
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char dlopen ();
11593 int
11594 main ()
11595 {
11596 return dlopen ();
11597 ;
11598 return 0;
11599 }
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 ac_cv_lib_dl_dlopen=yes
11603 else
11604 ac_cv_lib_dl_dlopen=no
11605 fi
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_lib_save_LIBS
11609 fi
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11611 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11612 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11613 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11614 else
11615
11616 lt_cv_dlopen="dyld"
11617 lt_cv_dlopen_libs=
11618 lt_cv_dlopen_self=yes
11619
11620 fi
11621
11622 ;;
11623
11624 *)
11625 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11626 if test "x$ac_cv_func_shl_load" = xyes; then :
11627 lt_cv_dlopen="shl_load"
11628 else
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11630 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11631 if ${ac_cv_lib_dld_shl_load+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_lib_save_LIBS=$LIBS
11635 LIBS="-ldld $LIBS"
11636 if test x$gcc_no_link = xyes; then
11637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11638 fi
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char shl_load ();
11649 int
11650 main ()
11651 {
11652 return shl_load ();
11653 ;
11654 return 0;
11655 }
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 ac_cv_lib_dld_shl_load=yes
11659 else
11660 ac_cv_lib_dld_shl_load=no
11661 fi
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_lib_save_LIBS
11665 fi
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11667 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11668 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11669 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11670 else
11671 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11672 if test "x$ac_cv_func_dlopen" = xyes; then :
11673 lt_cv_dlopen="dlopen"
11674 else
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11676 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11677 if ${ac_cv_lib_dl_dlopen+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-ldl $LIBS"
11682 if test x$gcc_no_link = xyes; then
11683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11684 fi
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11687
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char dlopen ();
11695 int
11696 main ()
11697 {
11698 return dlopen ();
11699 ;
11700 return 0;
11701 }
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 ac_cv_lib_dl_dlopen=yes
11705 else
11706 ac_cv_lib_dl_dlopen=no
11707 fi
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_lib_save_LIBS
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11714 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11715 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11718 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11719 if ${ac_cv_lib_svld_dlopen+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_lib_save_LIBS=$LIBS
11723 LIBS="-lsvld $LIBS"
11724 if test x$gcc_no_link = xyes; then
11725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11726 fi
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11729
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char dlopen ();
11737 int
11738 main ()
11739 {
11740 return dlopen ();
11741 ;
11742 return 0;
11743 }
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 ac_cv_lib_svld_dlopen=yes
11747 else
11748 ac_cv_lib_svld_dlopen=no
11749 fi
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11753 fi
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11755 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11756 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11757 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11760 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11761 if ${ac_cv_lib_dld_dld_link+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_lib_save_LIBS=$LIBS
11765 LIBS="-ldld $LIBS"
11766 if test x$gcc_no_link = xyes; then
11767 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11768 fi
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char dld_link ();
11779 int
11780 main ()
11781 {
11782 return dld_link ();
11783 ;
11784 return 0;
11785 }
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 ac_cv_lib_dld_dld_link=yes
11789 else
11790 ac_cv_lib_dld_dld_link=no
11791 fi
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11795 fi
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11797 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11798 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11799 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11800 fi
11801
11802
11803 fi
11804
11805
11806 fi
11807
11808
11809 fi
11810
11811
11812 fi
11813
11814
11815 fi
11816
11817 ;;
11818 esac
11819
11820 if test "x$lt_cv_dlopen" != xno; then
11821 enable_dlopen=yes
11822 else
11823 enable_dlopen=no
11824 fi
11825
11826 case $lt_cv_dlopen in
11827 dlopen)
11828 save_CPPFLAGS="$CPPFLAGS"
11829 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11830
11831 save_LDFLAGS="$LDFLAGS"
11832 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11833
11834 save_LIBS="$LIBS"
11835 LIBS="$lt_cv_dlopen_libs $LIBS"
11836
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11838 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11839 if ${lt_cv_dlopen_self+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 if test "$cross_compiling" = yes; then :
11843 lt_cv_dlopen_self=cross
11844 else
11845 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11846 lt_status=$lt_dlunknown
11847 cat > conftest.$ac_ext <<_LT_EOF
11848 #line 11848 "configure"
11849 #include "confdefs.h"
11850
11851 #if HAVE_DLFCN_H
11852 #include <dlfcn.h>
11853 #endif
11854
11855 #include <stdio.h>
11856
11857 #ifdef RTLD_GLOBAL
11858 # define LT_DLGLOBAL RTLD_GLOBAL
11859 #else
11860 # ifdef DL_GLOBAL
11861 # define LT_DLGLOBAL DL_GLOBAL
11862 # else
11863 # define LT_DLGLOBAL 0
11864 # endif
11865 #endif
11866
11867 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11868 find out it does not work in some platform. */
11869 #ifndef LT_DLLAZY_OR_NOW
11870 # ifdef RTLD_LAZY
11871 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11872 # else
11873 # ifdef DL_LAZY
11874 # define LT_DLLAZY_OR_NOW DL_LAZY
11875 # else
11876 # ifdef RTLD_NOW
11877 # define LT_DLLAZY_OR_NOW RTLD_NOW
11878 # else
11879 # ifdef DL_NOW
11880 # define LT_DLLAZY_OR_NOW DL_NOW
11881 # else
11882 # define LT_DLLAZY_OR_NOW 0
11883 # endif
11884 # endif
11885 # endif
11886 # endif
11887 #endif
11888
11889 /* When -fvisbility=hidden is used, assume the code has been annotated
11890 correspondingly for the symbols needed. */
11891 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11892 void fnord () __attribute__((visibility("default")));
11893 #endif
11894
11895 void fnord () { int i=42; }
11896 int main ()
11897 {
11898 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11899 int status = $lt_dlunknown;
11900
11901 if (self)
11902 {
11903 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11904 else
11905 {
11906 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11907 else puts (dlerror ());
11908 }
11909 /* dlclose (self); */
11910 }
11911 else
11912 puts (dlerror ());
11913
11914 return status;
11915 }
11916 _LT_EOF
11917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11918 (eval $ac_link) 2>&5
11919 ac_status=$?
11920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11921 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11922 (./conftest; exit; ) >&5 2>/dev/null
11923 lt_status=$?
11924 case x$lt_status in
11925 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11926 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11927 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11928 esac
11929 else :
11930 # compilation failed
11931 lt_cv_dlopen_self=no
11932 fi
11933 fi
11934 rm -fr conftest*
11935
11936
11937 fi
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11939 $as_echo "$lt_cv_dlopen_self" >&6; }
11940
11941 if test "x$lt_cv_dlopen_self" = xyes; then
11942 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11944 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11945 if ${lt_cv_dlopen_self_static+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 if test "$cross_compiling" = yes; then :
11949 lt_cv_dlopen_self_static=cross
11950 else
11951 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11952 lt_status=$lt_dlunknown
11953 cat > conftest.$ac_ext <<_LT_EOF
11954 #line 11954 "configure"
11955 #include "confdefs.h"
11956
11957 #if HAVE_DLFCN_H
11958 #include <dlfcn.h>
11959 #endif
11960
11961 #include <stdio.h>
11962
11963 #ifdef RTLD_GLOBAL
11964 # define LT_DLGLOBAL RTLD_GLOBAL
11965 #else
11966 # ifdef DL_GLOBAL
11967 # define LT_DLGLOBAL DL_GLOBAL
11968 # else
11969 # define LT_DLGLOBAL 0
11970 # endif
11971 #endif
11972
11973 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11974 find out it does not work in some platform. */
11975 #ifndef LT_DLLAZY_OR_NOW
11976 # ifdef RTLD_LAZY
11977 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11978 # else
11979 # ifdef DL_LAZY
11980 # define LT_DLLAZY_OR_NOW DL_LAZY
11981 # else
11982 # ifdef RTLD_NOW
11983 # define LT_DLLAZY_OR_NOW RTLD_NOW
11984 # else
11985 # ifdef DL_NOW
11986 # define LT_DLLAZY_OR_NOW DL_NOW
11987 # else
11988 # define LT_DLLAZY_OR_NOW 0
11989 # endif
11990 # endif
11991 # endif
11992 # endif
11993 #endif
11994
11995 /* When -fvisbility=hidden is used, assume the code has been annotated
11996 correspondingly for the symbols needed. */
11997 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11998 void fnord () __attribute__((visibility("default")));
11999 #endif
12000
12001 void fnord () { int i=42; }
12002 int main ()
12003 {
12004 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12005 int status = $lt_dlunknown;
12006
12007 if (self)
12008 {
12009 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12010 else
12011 {
12012 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12013 else puts (dlerror ());
12014 }
12015 /* dlclose (self); */
12016 }
12017 else
12018 puts (dlerror ());
12019
12020 return status;
12021 }
12022 _LT_EOF
12023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12024 (eval $ac_link) 2>&5
12025 ac_status=$?
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12028 (./conftest; exit; ) >&5 2>/dev/null
12029 lt_status=$?
12030 case x$lt_status in
12031 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12032 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12033 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12034 esac
12035 else :
12036 # compilation failed
12037 lt_cv_dlopen_self_static=no
12038 fi
12039 fi
12040 rm -fr conftest*
12041
12042
12043 fi
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12045 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12046 fi
12047
12048 CPPFLAGS="$save_CPPFLAGS"
12049 LDFLAGS="$save_LDFLAGS"
12050 LIBS="$save_LIBS"
12051 ;;
12052 esac
12053
12054 case $lt_cv_dlopen_self in
12055 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12056 *) enable_dlopen_self=unknown ;;
12057 esac
12058
12059 case $lt_cv_dlopen_self_static in
12060 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12061 *) enable_dlopen_self_static=unknown ;;
12062 esac
12063 fi
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081 striplib=
12082 old_striplib=
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12084 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12085 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12086 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12087 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 $as_echo "yes" >&6; }
12090 else
12091 # FIXME - insert some real tests, host_os isn't really good enough
12092 case $host_os in
12093 darwin*)
12094 if test -n "$STRIP" ; then
12095 striplib="$STRIP -x"
12096 old_striplib="$STRIP -S"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12098 $as_echo "yes" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12102 fi
12103 ;;
12104 *)
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12107 ;;
12108 esac
12109 fi
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122 # Report which library types will actually be built
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12124 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12126 $as_echo "$can_build_shared" >&6; }
12127
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12129 $as_echo_n "checking whether to build shared libraries... " >&6; }
12130 test "$can_build_shared" = "no" && enable_shared=no
12131
12132 # On AIX, shared libraries and static libraries use the same namespace, and
12133 # are all built from PIC.
12134 case $host_os in
12135 aix3*)
12136 test "$enable_shared" = yes && enable_static=no
12137 if test -n "$RANLIB"; then
12138 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12139 postinstall_cmds='$RANLIB $lib'
12140 fi
12141 ;;
12142
12143 aix[4-9]*)
12144 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12145 test "$enable_shared" = yes && enable_static=no
12146 fi
12147 ;;
12148 esac
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12150 $as_echo "$enable_shared" >&6; }
12151
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12153 $as_echo_n "checking whether to build static libraries... " >&6; }
12154 # Make sure either enable_shared or enable_static is yes.
12155 test "$enable_shared" = yes || enable_static=yes
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12157 $as_echo "$enable_static" >&6; }
12158
12159
12160
12161
12162 fi
12163 ac_ext=c
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12168
12169 CC="$lt_save_CC"
12170
12171 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12172 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12173 (test "X$CXX" != "Xg++"))) ; then
12174 ac_ext=cpp
12175 ac_cpp='$CXXCPP $CPPFLAGS'
12176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12180 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12181 if test -z "$CXXCPP"; then
12182 if ${ac_cv_prog_CXXCPP+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 # Double quotes because CXXCPP needs to be expanded
12186 for CXXCPP in "$CXX -E" "/lib/cpp"
12187 do
12188 ac_preproc_ok=false
12189 for ac_cxx_preproc_warn_flag in '' yes
12190 do
12191 # Use a header file that comes with gcc, so configuring glibc
12192 # with a fresh cross-compiler works.
12193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12194 # <limits.h> exists even on freestanding compilers.
12195 # On the NeXT, cc -E runs the code through the compiler's parser,
12196 # not just through cpp. "Syntax error" is here to catch this case.
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #ifdef __STDC__
12200 # include <limits.h>
12201 #else
12202 # include <assert.h>
12203 #endif
12204 Syntax error
12205 _ACEOF
12206 if ac_fn_cxx_try_cpp "$LINENO"; then :
12207
12208 else
12209 # Broken: fails on valid input.
12210 continue
12211 fi
12212 rm -f conftest.err conftest.i conftest.$ac_ext
12213
12214 # OK, works on sane cases. Now check whether nonexistent headers
12215 # can be detected and how.
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12218 #include <ac_nonexistent.h>
12219 _ACEOF
12220 if ac_fn_cxx_try_cpp "$LINENO"; then :
12221 # Broken: success on invalid input.
12222 continue
12223 else
12224 # Passes both tests.
12225 ac_preproc_ok=:
12226 break
12227 fi
12228 rm -f conftest.err conftest.i conftest.$ac_ext
12229
12230 done
12231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12232 rm -f conftest.i conftest.err conftest.$ac_ext
12233 if $ac_preproc_ok; then :
12234 break
12235 fi
12236
12237 done
12238 ac_cv_prog_CXXCPP=$CXXCPP
12239
12240 fi
12241 CXXCPP=$ac_cv_prog_CXXCPP
12242 else
12243 ac_cv_prog_CXXCPP=$CXXCPP
12244 fi
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12246 $as_echo "$CXXCPP" >&6; }
12247 ac_preproc_ok=false
12248 for ac_cxx_preproc_warn_flag in '' yes
12249 do
12250 # Use a header file that comes with gcc, so configuring glibc
12251 # with a fresh cross-compiler works.
12252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12253 # <limits.h> exists even on freestanding compilers.
12254 # On the NeXT, cc -E runs the code through the compiler's parser,
12255 # not just through cpp. "Syntax error" is here to catch this case.
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #ifdef __STDC__
12259 # include <limits.h>
12260 #else
12261 # include <assert.h>
12262 #endif
12263 Syntax error
12264 _ACEOF
12265 if ac_fn_cxx_try_cpp "$LINENO"; then :
12266
12267 else
12268 # Broken: fails on valid input.
12269 continue
12270 fi
12271 rm -f conftest.err conftest.i conftest.$ac_ext
12272
12273 # OK, works on sane cases. Now check whether nonexistent headers
12274 # can be detected and how.
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #include <ac_nonexistent.h>
12278 _ACEOF
12279 if ac_fn_cxx_try_cpp "$LINENO"; then :
12280 # Broken: success on invalid input.
12281 continue
12282 else
12283 # Passes both tests.
12284 ac_preproc_ok=:
12285 break
12286 fi
12287 rm -f conftest.err conftest.i conftest.$ac_ext
12288
12289 done
12290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12291 rm -f conftest.i conftest.err conftest.$ac_ext
12292 if $ac_preproc_ok; then :
12293
12294 else
12295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12297 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12298 See \`config.log' for more details" "$LINENO" 5; }
12299 fi
12300
12301 ac_ext=c
12302 ac_cpp='$CPP $CPPFLAGS'
12303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12306
12307 else
12308 _lt_caught_CXX_error=yes
12309 fi
12310
12311 ac_ext=cpp
12312 ac_cpp='$CXXCPP $CPPFLAGS'
12313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12316
12317 archive_cmds_need_lc_CXX=no
12318 allow_undefined_flag_CXX=
12319 always_export_symbols_CXX=no
12320 archive_expsym_cmds_CXX=
12321 compiler_needs_object_CXX=no
12322 export_dynamic_flag_spec_CXX=
12323 hardcode_direct_CXX=no
12324 hardcode_direct_absolute_CXX=no
12325 hardcode_libdir_flag_spec_CXX=
12326 hardcode_libdir_flag_spec_ld_CXX=
12327 hardcode_libdir_separator_CXX=
12328 hardcode_minus_L_CXX=no
12329 hardcode_shlibpath_var_CXX=unsupported
12330 hardcode_automatic_CXX=no
12331 inherit_rpath_CXX=no
12332 module_cmds_CXX=
12333 module_expsym_cmds_CXX=
12334 link_all_deplibs_CXX=unknown
12335 old_archive_cmds_CXX=$old_archive_cmds
12336 reload_flag_CXX=$reload_flag
12337 reload_cmds_CXX=$reload_cmds
12338 no_undefined_flag_CXX=
12339 whole_archive_flag_spec_CXX=
12340 enable_shared_with_static_runtimes_CXX=no
12341
12342 # Source file extension for C++ test sources.
12343 ac_ext=cpp
12344
12345 # Object file extension for compiled C++ test sources.
12346 objext=o
12347 objext_CXX=$objext
12348
12349 # No sense in running all these tests if we already determined that
12350 # the CXX compiler isn't working. Some variables (like enable_shared)
12351 # are currently assumed to apply to all compilers on this platform,
12352 # and will be corrupted by setting them based on a non-working compiler.
12353 if test "$_lt_caught_CXX_error" != yes; then
12354 # Code to be used in simple compile tests
12355 lt_simple_compile_test_code="int some_variable = 0;"
12356
12357 # Code to be used in simple link tests
12358 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12359
12360 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12361
12362
12363
12364
12365
12366
12367 # If no C compiler was specified, use CC.
12368 LTCC=${LTCC-"$CC"}
12369
12370 # If no C compiler flags were specified, use CFLAGS.
12371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12372
12373 # Allow CC to be a program name with arguments.
12374 compiler=$CC
12375
12376
12377 # save warnings/boilerplate of simple test code
12378 ac_outfile=conftest.$ac_objext
12379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12381 _lt_compiler_boilerplate=`cat conftest.err`
12382 $RM conftest*
12383
12384 ac_outfile=conftest.$ac_objext
12385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12387 _lt_linker_boilerplate=`cat conftest.err`
12388 $RM -r conftest*
12389
12390
12391 # Allow CC to be a program name with arguments.
12392 lt_save_CC=$CC
12393 lt_save_LD=$LD
12394 lt_save_GCC=$GCC
12395 GCC=$GXX
12396 lt_save_with_gnu_ld=$with_gnu_ld
12397 lt_save_path_LD=$lt_cv_path_LD
12398 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12399 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12400 else
12401 $as_unset lt_cv_prog_gnu_ld
12402 fi
12403 if test -n "${lt_cv_path_LDCXX+set}"; then
12404 lt_cv_path_LD=$lt_cv_path_LDCXX
12405 else
12406 $as_unset lt_cv_path_LD
12407 fi
12408 test -z "${LDCXX+set}" || LD=$LDCXX
12409 CC=${CXX-"c++"}
12410 compiler=$CC
12411 compiler_CXX=$CC
12412 for cc_temp in $compiler""; do
12413 case $cc_temp in
12414 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12415 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12416 \-*) ;;
12417 *) break;;
12418 esac
12419 done
12420 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12421
12422
12423 if test -n "$compiler"; then
12424 # We don't want -fno-exception when compiling C++ code, so set the
12425 # no_builtin_flag separately
12426 if test "$GXX" = yes; then
12427 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12428 else
12429 lt_prog_compiler_no_builtin_flag_CXX=
12430 fi
12431
12432 if test "$GXX" = yes; then
12433 # Set up default GNU C++ configuration
12434
12435
12436
12437 # Check whether --with-gnu-ld was given.
12438 if test "${with_gnu_ld+set}" = set; then :
12439 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12440 else
12441 with_gnu_ld=no
12442 fi
12443
12444 ac_prog=ld
12445 if test "$GCC" = yes; then
12446 # Check if gcc -print-prog-name=ld gives a path.
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12448 $as_echo_n "checking for ld used by $CC... " >&6; }
12449 case $host in
12450 *-*-mingw*)
12451 # gcc leaves a trailing carriage return which upsets mingw
12452 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12453 *)
12454 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12455 esac
12456 case $ac_prog in
12457 # Accept absolute paths.
12458 [\\/]* | ?:[\\/]*)
12459 re_direlt='/[^/][^/]*/\.\./'
12460 # Canonicalize the pathname of ld
12461 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12462 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12463 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12464 done
12465 test -z "$LD" && LD="$ac_prog"
12466 ;;
12467 "")
12468 # If it fails, then pretend we aren't using GCC.
12469 ac_prog=ld
12470 ;;
12471 *)
12472 # If it is relative, then search for the first ld in PATH.
12473 with_gnu_ld=unknown
12474 ;;
12475 esac
12476 elif test "$with_gnu_ld" = yes; then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12478 $as_echo_n "checking for GNU ld... " >&6; }
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12481 $as_echo_n "checking for non-GNU ld... " >&6; }
12482 fi
12483 if ${lt_cv_path_LD+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 if test -z "$LD"; then
12487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12488 for ac_dir in $PATH; do
12489 IFS="$lt_save_ifs"
12490 test -z "$ac_dir" && ac_dir=.
12491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12492 lt_cv_path_LD="$ac_dir/$ac_prog"
12493 # Check to see if the program is GNU ld. I'd rather use --version,
12494 # but apparently some variants of GNU ld only accept -v.
12495 # Break only if it was the GNU/non-GNU ld that we prefer.
12496 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12497 *GNU* | *'with BFD'*)
12498 test "$with_gnu_ld" != no && break
12499 ;;
12500 *)
12501 test "$with_gnu_ld" != yes && break
12502 ;;
12503 esac
12504 fi
12505 done
12506 IFS="$lt_save_ifs"
12507 else
12508 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12509 fi
12510 fi
12511
12512 LD="$lt_cv_path_LD"
12513 if test -n "$LD"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12515 $as_echo "$LD" >&6; }
12516 else
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12519 fi
12520 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12522 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12523 if ${lt_cv_prog_gnu_ld+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12527 case `$LD -v 2>&1 </dev/null` in
12528 *GNU* | *'with BFD'*)
12529 lt_cv_prog_gnu_ld=yes
12530 ;;
12531 *)
12532 lt_cv_prog_gnu_ld=no
12533 ;;
12534 esac
12535 fi
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12537 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12538 with_gnu_ld=$lt_cv_prog_gnu_ld
12539
12540
12541
12542
12543
12544
12545
12546 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12547 # archiving commands below assume that GNU ld is being used.
12548 if test "$with_gnu_ld" = yes; then
12549 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 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'
12551
12552 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12553 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12554
12555 # If archive_cmds runs LD, not CC, wlarc should be empty
12556 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12557 # investigate it a little bit more. (MM)
12558 wlarc='${wl}'
12559
12560 # ancient GNU ld didn't support --whole-archive et. al.
12561 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12562 $GREP 'no-whole-archive' > /dev/null; then
12563 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12564 else
12565 whole_archive_flag_spec_CXX=
12566 fi
12567 else
12568 with_gnu_ld=no
12569 wlarc=
12570
12571 # A generic and very simple default shared library creation
12572 # command for GNU C++ for the case where it uses the native
12573 # linker, instead of GNU ld. If possible, this setting should
12574 # overridden to take advantage of the native linker features on
12575 # the platform it is being used on.
12576 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12577 fi
12578
12579 # Commands to make compiler produce verbose output that lists
12580 # what "hidden" libraries, object files and flags are used when
12581 # linking a shared library.
12582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12583
12584 else
12585 GXX=no
12586 with_gnu_ld=no
12587 wlarc=
12588 fi
12589
12590 # PORTME: fill in a description of your system's C++ link characteristics
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12592 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12593 ld_shlibs_CXX=yes
12594 case $host_os in
12595 aix3*)
12596 # FIXME: insert proper C++ library support
12597 ld_shlibs_CXX=no
12598 ;;
12599 aix[4-9]*)
12600 if test "$host_cpu" = ia64; then
12601 # On IA64, the linker does run time linking by default, so we don't
12602 # have to do anything special.
12603 aix_use_runtimelinking=no
12604 exp_sym_flag='-Bexport'
12605 no_entry_flag=""
12606 else
12607 aix_use_runtimelinking=no
12608
12609 # Test if we are trying to use run time linking or normal
12610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12611 # need to do runtime linking.
12612 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12613 for ld_flag in $LDFLAGS; do
12614 case $ld_flag in
12615 *-brtl*)
12616 aix_use_runtimelinking=yes
12617 break
12618 ;;
12619 esac
12620 done
12621 ;;
12622 esac
12623
12624 exp_sym_flag='-bexport'
12625 no_entry_flag='-bnoentry'
12626 fi
12627
12628 # When large executables or shared objects are built, AIX ld can
12629 # have problems creating the table of contents. If linking a library
12630 # or program results in "error TOC overflow" add -mminimal-toc to
12631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12633
12634 archive_cmds_CXX=''
12635 hardcode_direct_CXX=yes
12636 hardcode_direct_absolute_CXX=yes
12637 hardcode_libdir_separator_CXX=':'
12638 link_all_deplibs_CXX=yes
12639 file_list_spec_CXX='${wl}-f,'
12640
12641 if test "$GXX" = yes; then
12642 case $host_os in aix4.[012]|aix4.[012].*)
12643 # We only want to do this on AIX 4.2 and lower, the check
12644 # below for broken collect2 doesn't work under 4.3+
12645 collect2name=`${CC} -print-prog-name=collect2`
12646 if test -f "$collect2name" &&
12647 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12648 then
12649 # We have reworked collect2
12650 :
12651 else
12652 # We have old collect2
12653 hardcode_direct_CXX=unsupported
12654 # It fails to find uninstalled libraries when the uninstalled
12655 # path is not listed in the libpath. Setting hardcode_minus_L
12656 # to unsupported forces relinking
12657 hardcode_minus_L_CXX=yes
12658 hardcode_libdir_flag_spec_CXX='-L$libdir'
12659 hardcode_libdir_separator_CXX=
12660 fi
12661 esac
12662 shared_flag='-shared'
12663 if test "$aix_use_runtimelinking" = yes; then
12664 shared_flag="$shared_flag "'${wl}-G'
12665 fi
12666 else
12667 # not using gcc
12668 if test "$host_cpu" = ia64; then
12669 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12670 # chokes on -Wl,-G. The following line is correct:
12671 shared_flag='-G'
12672 else
12673 if test "$aix_use_runtimelinking" = yes; then
12674 shared_flag='${wl}-G'
12675 else
12676 shared_flag='${wl}-bM:SRE'
12677 fi
12678 fi
12679 fi
12680
12681 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12682 # It seems that -bexpall does not export symbols beginning with
12683 # underscore (_), so it is better to generate a list of symbols to
12684 # export.
12685 always_export_symbols_CXX=yes
12686 if test "$aix_use_runtimelinking" = yes; then
12687 # Warning - without using the other runtime loading flags (-brtl),
12688 # -berok will link without error, but may produce a broken library.
12689 allow_undefined_flag_CXX='-berok'
12690 # Determine the default libpath from the value encoded in an empty
12691 # executable.
12692 if test x$gcc_no_link = xyes; then
12693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12694 fi
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12697
12698 int
12699 main ()
12700 {
12701
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 if ac_fn_cxx_try_link "$LINENO"; then :
12707
12708 lt_aix_libpath_sed='
12709 /Import File Strings/,/^$/ {
12710 /^0/ {
12711 s/^0 *\(.*\)$/\1/
12712 p
12713 }
12714 }'
12715 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12716 # Check for a 64-bit object if we didn't find anything.
12717 if test -z "$aix_libpath"; then
12718 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12719 fi
12720 fi
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12724
12725 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12726
12727 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"
12728 else
12729 if test "$host_cpu" = ia64; then
12730 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12731 allow_undefined_flag_CXX="-z nodefs"
12732 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"
12733 else
12734 # Determine the default libpath from the value encoded in an
12735 # empty executable.
12736 if test x$gcc_no_link = xyes; then
12737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12738 fi
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12741
12742 int
12743 main ()
12744 {
12745
12746 ;
12747 return 0;
12748 }
12749 _ACEOF
12750 if ac_fn_cxx_try_link "$LINENO"; then :
12751
12752 lt_aix_libpath_sed='
12753 /Import File Strings/,/^$/ {
12754 /^0/ {
12755 s/^0 *\(.*\)$/\1/
12756 p
12757 }
12758 }'
12759 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 # Check for a 64-bit object if we didn't find anything.
12761 if test -z "$aix_libpath"; then
12762 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12763 fi
12764 fi
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12768
12769 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12770 # Warning - without using the other run time loading flags,
12771 # -berok will link without error, but may produce a broken library.
12772 no_undefined_flag_CXX=' ${wl}-bernotok'
12773 allow_undefined_flag_CXX=' ${wl}-berok'
12774 if test "$with_gnu_ld" = yes; then
12775 # We only use this code for GNU lds that support --whole-archive.
12776 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12777 else
12778 # Exported symbols can be pulled into shared objects from archives
12779 whole_archive_flag_spec_CXX='$convenience'
12780 fi
12781 archive_cmds_need_lc_CXX=yes
12782 # This is similar to how AIX traditionally builds its shared
12783 # libraries.
12784 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'
12785 fi
12786 fi
12787 ;;
12788
12789 beos*)
12790 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12791 allow_undefined_flag_CXX=unsupported
12792 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12793 # support --undefined. This deserves some investigation. FIXME
12794 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795 else
12796 ld_shlibs_CXX=no
12797 fi
12798 ;;
12799
12800 chorus*)
12801 case $cc_basename in
12802 *)
12803 # FIXME: insert proper C++ library support
12804 ld_shlibs_CXX=no
12805 ;;
12806 esac
12807 ;;
12808
12809 cygwin* | mingw* | pw32* | cegcc*)
12810 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12811 # as there is no search path for DLLs.
12812 hardcode_libdir_flag_spec_CXX='-L$libdir'
12813 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12814 allow_undefined_flag_CXX=unsupported
12815 always_export_symbols_CXX=no
12816 enable_shared_with_static_runtimes_CXX=yes
12817
12818 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12819 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'
12820 # If the export-symbols file already is a .def file (1st line
12821 # is EXPORTS), use it as is; otherwise, prepend...
12822 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12823 cp $export_symbols $output_objdir/$soname.def;
12824 else
12825 echo EXPORTS > $output_objdir/$soname.def;
12826 cat $export_symbols >> $output_objdir/$soname.def;
12827 fi~
12828 $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'
12829 else
12830 ld_shlibs_CXX=no
12831 fi
12832 ;;
12833 darwin* | rhapsody*)
12834
12835
12836 archive_cmds_need_lc_CXX=no
12837 hardcode_direct_CXX=no
12838 hardcode_automatic_CXX=yes
12839 hardcode_shlibpath_var_CXX=unsupported
12840 if test "$lt_cv_ld_force_load" = "yes"; then
12841 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\"`'
12842 else
12843 whole_archive_flag_spec_CXX=''
12844 fi
12845 link_all_deplibs_CXX=yes
12846 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12847 case $cc_basename in
12848 ifort*) _lt_dar_can_shared=yes ;;
12849 *) _lt_dar_can_shared=$GCC ;;
12850 esac
12851 if test "$_lt_dar_can_shared" = "yes"; then
12852 output_verbose_link_cmd=func_echo_all
12853 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}"
12854 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12855 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}"
12856 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}"
12857 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12858 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}"
12859 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}"
12860 fi
12861
12862 else
12863 ld_shlibs_CXX=no
12864 fi
12865
12866 ;;
12867
12868 dgux*)
12869 case $cc_basename in
12870 ec++*)
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12873 ;;
12874 ghcx*)
12875 # Green Hills C++ Compiler
12876 # FIXME: insert proper C++ library support
12877 ld_shlibs_CXX=no
12878 ;;
12879 *)
12880 # FIXME: insert proper C++ library support
12881 ld_shlibs_CXX=no
12882 ;;
12883 esac
12884 ;;
12885
12886 freebsd2.*)
12887 # C++ shared libraries reported to be fairly broken before
12888 # switch to ELF
12889 ld_shlibs_CXX=no
12890 ;;
12891
12892 freebsd-elf*)
12893 archive_cmds_need_lc_CXX=no
12894 ;;
12895
12896 freebsd* | dragonfly*)
12897 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12898 # conventions
12899 ld_shlibs_CXX=yes
12900 ;;
12901
12902 gnu*)
12903 ;;
12904
12905 haiku*)
12906 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907 link_all_deplibs_CXX=yes
12908 ;;
12909
12910 hpux9*)
12911 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12912 hardcode_libdir_separator_CXX=:
12913 export_dynamic_flag_spec_CXX='${wl}-E'
12914 hardcode_direct_CXX=yes
12915 hardcode_minus_L_CXX=yes # Not in the search PATH,
12916 # but as the default
12917 # location of the library.
12918
12919 case $cc_basename in
12920 CC*)
12921 # FIXME: insert proper C++ library support
12922 ld_shlibs_CXX=no
12923 ;;
12924 aCC*)
12925 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'
12926 # Commands to make compiler produce verbose output that lists
12927 # what "hidden" libraries, object files and flags are used when
12928 # linking a shared library.
12929 #
12930 # There doesn't appear to be a way to prevent this compiler from
12931 # explicitly linking system object files so we need to strip them
12932 # from the output so that they don't get included in the library
12933 # dependencies.
12934 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"'
12935 ;;
12936 *)
12937 if test "$GXX" = yes; then
12938 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'
12939 else
12940 # FIXME: insert proper C++ library support
12941 ld_shlibs_CXX=no
12942 fi
12943 ;;
12944 esac
12945 ;;
12946
12947 hpux10*|hpux11*)
12948 if test $with_gnu_ld = no; then
12949 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12950 hardcode_libdir_separator_CXX=:
12951
12952 case $host_cpu in
12953 hppa*64*|ia64*)
12954 ;;
12955 *)
12956 export_dynamic_flag_spec_CXX='${wl}-E'
12957 ;;
12958 esac
12959 fi
12960 case $host_cpu in
12961 hppa*64*|ia64*)
12962 hardcode_direct_CXX=no
12963 hardcode_shlibpath_var_CXX=no
12964 ;;
12965 *)
12966 hardcode_direct_CXX=yes
12967 hardcode_direct_absolute_CXX=yes
12968 hardcode_minus_L_CXX=yes # Not in the search PATH,
12969 # but as the default
12970 # location of the library.
12971 ;;
12972 esac
12973
12974 case $cc_basename in
12975 CC*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979 aCC*)
12980 case $host_cpu in
12981 hppa*64*)
12982 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12983 ;;
12984 ia64*)
12985 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12986 ;;
12987 *)
12988 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12989 ;;
12990 esac
12991 # Commands to make compiler produce verbose output that lists
12992 # what "hidden" libraries, object files and flags are used when
12993 # linking a shared library.
12994 #
12995 # There doesn't appear to be a way to prevent this compiler from
12996 # explicitly linking system object files so we need to strip them
12997 # from the output so that they don't get included in the library
12998 # dependencies.
12999 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"'
13000 ;;
13001 *)
13002 if test "$GXX" = yes; then
13003 if test $with_gnu_ld = no; then
13004 case $host_cpu in
13005 hppa*64*)
13006 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13007 ;;
13008 ia64*)
13009 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13010 ;;
13011 *)
13012 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'
13013 ;;
13014 esac
13015 fi
13016 else
13017 # FIXME: insert proper C++ library support
13018 ld_shlibs_CXX=no
13019 fi
13020 ;;
13021 esac
13022 ;;
13023
13024 interix[3-9]*)
13025 hardcode_direct_CXX=no
13026 hardcode_shlibpath_var_CXX=no
13027 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13028 export_dynamic_flag_spec_CXX='${wl}-E'
13029 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13030 # Instead, shared libraries are loaded at an image base (0x10000000 by
13031 # default) and relocated if they conflict, which is a slow very memory
13032 # consuming and fragmenting process. To avoid this, we pick a random,
13033 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13034 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13035 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'
13036 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'
13037 ;;
13038 irix5* | irix6*)
13039 case $cc_basename in
13040 CC*)
13041 # SGI C++
13042 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'
13043
13044 # Archives containing C++ object files must be created using
13045 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13046 # necessary to make sure instantiated templates are included
13047 # in the archive.
13048 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13049 ;;
13050 *)
13051 if test "$GXX" = yes; then
13052 if test "$with_gnu_ld" = no; then
13053 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'
13054 else
13055 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'
13056 fi
13057 fi
13058 link_all_deplibs_CXX=yes
13059 ;;
13060 esac
13061 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13062 hardcode_libdir_separator_CXX=:
13063 inherit_rpath_CXX=yes
13064 ;;
13065
13066 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13067 case $cc_basename in
13068 KCC*)
13069 # Kuck and Associates, Inc. (KAI) C++ Compiler
13070
13071 # KCC will only create a shared library if the output file
13072 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13073 # to its proper name (with version) after linking.
13074 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'
13075 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'
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 #
13080 # There doesn't appear to be a way to prevent this compiler from
13081 # explicitly linking system object files so we need to strip them
13082 # from the output so that they don't get included in the library
13083 # dependencies.
13084 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"'
13085
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13087 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13088
13089 # Archives containing C++ object files must be created using
13090 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13091 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13092 ;;
13093 icpc* | ecpc* )
13094 # Intel C++
13095 with_gnu_ld=yes
13096 # version 8.0 and above of icpc choke on multiply defined symbols
13097 # if we add $predep_objects and $postdep_objects, however 7.1 and
13098 # earlier do not add the objects themselves.
13099 case `$CC -V 2>&1` in
13100 *"Version 7."*)
13101 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13102 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'
13103 ;;
13104 *) # Version 8.0 or newer
13105 tmp_idyn=
13106 case $host_cpu in
13107 ia64*) tmp_idyn=' -i_dynamic';;
13108 esac
13109 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13110 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'
13111 ;;
13112 esac
13113 archive_cmds_need_lc_CXX=no
13114 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13115 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13116 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13117 ;;
13118 pgCC* | pgcpp*)
13119 # Portland Group C++ compiler
13120 case `$CC -V` in
13121 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13122 prelink_cmds_CXX='tpldir=Template.dir~
13123 rm -rf $tpldir~
13124 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13125 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13126 old_archive_cmds_CXX='tpldir=Template.dir~
13127 rm -rf $tpldir~
13128 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13129 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13130 $RANLIB $oldlib'
13131 archive_cmds_CXX='tpldir=Template.dir~
13132 rm -rf $tpldir~
13133 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13134 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13135 archive_expsym_cmds_CXX='tpldir=Template.dir~
13136 rm -rf $tpldir~
13137 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13138 $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'
13139 ;;
13140 *) # Version 6 and above use weak symbols
13141 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13142 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'
13143 ;;
13144 esac
13145
13146 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13147 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13148 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'
13149 ;;
13150 cxx*)
13151 # Compaq C++
13152 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13153 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'
13154
13155 runpath_var=LD_RUN_PATH
13156 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13157 hardcode_libdir_separator_CXX=:
13158
13159 # Commands to make compiler produce verbose output that lists
13160 # what "hidden" libraries, object files and flags are used when
13161 # linking a shared library.
13162 #
13163 # There doesn't appear to be a way to prevent this compiler from
13164 # explicitly linking system object files so we need to strip them
13165 # from the output so that they don't get included in the library
13166 # dependencies.
13167 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'
13168 ;;
13169 xl* | mpixl* | bgxl*)
13170 # IBM XL 8.0 on PPC, with GNU ld
13171 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13172 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13173 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13174 if test "x$supports_anon_versioning" = xyes; then
13175 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13176 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13177 echo "local: *; };" >> $output_objdir/$libname.ver~
13178 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13179 fi
13180 ;;
13181 *)
13182 case `$CC -V 2>&1 | sed 5q` in
13183 *Sun\ C*)
13184 # Sun C++ 5.9
13185 no_undefined_flag_CXX=' -zdefs'
13186 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13187 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'
13188 hardcode_libdir_flag_spec_CXX='-R$libdir'
13189 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'
13190 compiler_needs_object_CXX=yes
13191
13192 # Not sure whether something based on
13193 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13194 # would be better.
13195 output_verbose_link_cmd='func_echo_all'
13196
13197 # Archives containing C++ object files must be created using
13198 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13199 # necessary to make sure instantiated templates are included
13200 # in the archive.
13201 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13202 ;;
13203 esac
13204 ;;
13205 esac
13206 ;;
13207
13208 lynxos*)
13209 # FIXME: insert proper C++ library support
13210 ld_shlibs_CXX=no
13211 ;;
13212
13213 m88k*)
13214 # FIXME: insert proper C++ library support
13215 ld_shlibs_CXX=no
13216 ;;
13217
13218 mvs*)
13219 case $cc_basename in
13220 cxx*)
13221 # FIXME: insert proper C++ library support
13222 ld_shlibs_CXX=no
13223 ;;
13224 *)
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13227 ;;
13228 esac
13229 ;;
13230
13231 netbsd*)
13232 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13233 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13234 wlarc=
13235 hardcode_libdir_flag_spec_CXX='-R$libdir'
13236 hardcode_direct_CXX=yes
13237 hardcode_shlibpath_var_CXX=no
13238 fi
13239 # Workaround some broken pre-1.5 toolchains
13240 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13241 ;;
13242
13243 *nto* | *qnx*)
13244 ld_shlibs_CXX=yes
13245 ;;
13246
13247 openbsd2*)
13248 # C++ shared libraries are fairly broken
13249 ld_shlibs_CXX=no
13250 ;;
13251
13252 openbsd*)
13253 if test -f /usr/libexec/ld.so; then
13254 hardcode_direct_CXX=yes
13255 hardcode_shlibpath_var_CXX=no
13256 hardcode_direct_absolute_CXX=yes
13257 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13258 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13259 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13260 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13261 export_dynamic_flag_spec_CXX='${wl}-E'
13262 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13263 fi
13264 output_verbose_link_cmd=func_echo_all
13265 else
13266 ld_shlibs_CXX=no
13267 fi
13268 ;;
13269
13270 osf3* | osf4* | osf5*)
13271 case $cc_basename in
13272 KCC*)
13273 # Kuck and Associates, Inc. (KAI) C++ Compiler
13274
13275 # KCC will only create a shared library if the output file
13276 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13277 # to its proper name (with version) after linking.
13278 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'
13279
13280 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13281 hardcode_libdir_separator_CXX=:
13282
13283 # Archives containing C++ object files must be created using
13284 # the KAI C++ compiler.
13285 case $host in
13286 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13287 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13288 esac
13289 ;;
13290 RCC*)
13291 # Rational C++ 2.4.1
13292 # FIXME: insert proper C++ library support
13293 ld_shlibs_CXX=no
13294 ;;
13295 cxx*)
13296 case $host in
13297 osf3*)
13298 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13299 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'
13300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13301 ;;
13302 *)
13303 allow_undefined_flag_CXX=' -expect_unresolved \*'
13304 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'
13305 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13306 echo "-hidden">> $lib.exp~
13307 $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~
13308 $RM $lib.exp'
13309 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13310 ;;
13311 esac
13312
13313 hardcode_libdir_separator_CXX=:
13314
13315 # Commands to make compiler produce verbose output that lists
13316 # what "hidden" libraries, object files and flags are used when
13317 # linking a shared library.
13318 #
13319 # There doesn't appear to be a way to prevent this compiler from
13320 # explicitly linking system object files so we need to strip them
13321 # from the output so that they don't get included in the library
13322 # dependencies.
13323 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"'
13324 ;;
13325 *)
13326 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13327 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13328 case $host in
13329 osf3*)
13330 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'
13331 ;;
13332 *)
13333 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'
13334 ;;
13335 esac
13336
13337 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13338 hardcode_libdir_separator_CXX=:
13339
13340 # Commands to make compiler produce verbose output that lists
13341 # what "hidden" libraries, object files and flags are used when
13342 # linking a shared library.
13343 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13344
13345 else
13346 # FIXME: insert proper C++ library support
13347 ld_shlibs_CXX=no
13348 fi
13349 ;;
13350 esac
13351 ;;
13352
13353 psos*)
13354 # FIXME: insert proper C++ library support
13355 ld_shlibs_CXX=no
13356 ;;
13357
13358 sunos4*)
13359 case $cc_basename in
13360 CC*)
13361 # Sun C++ 4.x
13362 # FIXME: insert proper C++ library support
13363 ld_shlibs_CXX=no
13364 ;;
13365 lcc*)
13366 # Lucid
13367 # FIXME: insert proper C++ library support
13368 ld_shlibs_CXX=no
13369 ;;
13370 *)
13371 # FIXME: insert proper C++ library support
13372 ld_shlibs_CXX=no
13373 ;;
13374 esac
13375 ;;
13376
13377 solaris*)
13378 case $cc_basename in
13379 CC*)
13380 # Sun C++ 4.2, 5.x and Centerline C++
13381 archive_cmds_need_lc_CXX=yes
13382 no_undefined_flag_CXX=' -zdefs'
13383 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13384 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13385 $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'
13386
13387 hardcode_libdir_flag_spec_CXX='-R$libdir'
13388 hardcode_shlibpath_var_CXX=no
13389 case $host_os in
13390 solaris2.[0-5] | solaris2.[0-5].*) ;;
13391 *)
13392 # The compiler driver will combine and reorder linker options,
13393 # but understands `-z linker_flag'.
13394 # Supported since Solaris 2.6 (maybe 2.5.1?)
13395 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13396 ;;
13397 esac
13398 link_all_deplibs_CXX=yes
13399
13400 output_verbose_link_cmd='func_echo_all'
13401
13402 # Archives containing C++ object files must be created using
13403 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13404 # necessary to make sure instantiated templates are included
13405 # in the archive.
13406 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13407 ;;
13408 gcx*)
13409 # Green Hills C++ Compiler
13410 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13411
13412 # The C++ compiler must be used to create the archive.
13413 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13414 ;;
13415 *)
13416 # GNU C++ compiler with Solaris linker
13417 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13418 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13419 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13420 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13421 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13422 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13423
13424 # Commands to make compiler produce verbose output that lists
13425 # what "hidden" libraries, object files and flags are used when
13426 # linking a shared library.
13427 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13428 else
13429 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13430 # platform.
13431 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13432 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13433 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13434
13435 # Commands to make compiler produce verbose output that lists
13436 # what "hidden" libraries, object files and flags are used when
13437 # linking a shared library.
13438 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13439 fi
13440
13441 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13442 case $host_os in
13443 solaris2.[0-5] | solaris2.[0-5].*) ;;
13444 *)
13445 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13446 ;;
13447 esac
13448 fi
13449 ;;
13450 esac
13451 ;;
13452
13453 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13454 no_undefined_flag_CXX='${wl}-z,text'
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_shlibpath_var_CXX=no
13457 runpath_var='LD_RUN_PATH'
13458
13459 case $cc_basename in
13460 CC*)
13461 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13462 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13463 ;;
13464 *)
13465 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13466 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13467 ;;
13468 esac
13469 ;;
13470
13471 sysv5* | sco3.2v5* | sco5v6*)
13472 # Note: We can NOT use -z defs as we might desire, because we do not
13473 # link with -lc, and that would cause any symbols used from libc to
13474 # always be unresolved, which means just about no library would
13475 # ever link correctly. If we're not using GNU ld we use -z text
13476 # though, which does catch some bad symbols but isn't as heavy-handed
13477 # as -z defs.
13478 no_undefined_flag_CXX='${wl}-z,text'
13479 allow_undefined_flag_CXX='${wl}-z,nodefs'
13480 archive_cmds_need_lc_CXX=no
13481 hardcode_shlibpath_var_CXX=no
13482 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13483 hardcode_libdir_separator_CXX=':'
13484 link_all_deplibs_CXX=yes
13485 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13486 runpath_var='LD_RUN_PATH'
13487
13488 case $cc_basename in
13489 CC*)
13490 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13493 '"$old_archive_cmds_CXX"
13494 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13495 '"$reload_cmds_CXX"
13496 ;;
13497 *)
13498 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13499 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13500 ;;
13501 esac
13502 ;;
13503
13504 tandem*)
13505 case $cc_basename in
13506 NCC*)
13507 # NonStop-UX NCC 3.20
13508 # FIXME: insert proper C++ library support
13509 ld_shlibs_CXX=no
13510 ;;
13511 *)
13512 # FIXME: insert proper C++ library support
13513 ld_shlibs_CXX=no
13514 ;;
13515 esac
13516 ;;
13517
13518 vxworks*)
13519 # FIXME: insert proper C++ library support
13520 ld_shlibs_CXX=no
13521 ;;
13522
13523 *)
13524 # FIXME: insert proper C++ library support
13525 ld_shlibs_CXX=no
13526 ;;
13527 esac
13528
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13530 $as_echo "$ld_shlibs_CXX" >&6; }
13531 test "$ld_shlibs_CXX" = no && can_build_shared=no
13532
13533 GCC_CXX="$GXX"
13534 LD_CXX="$LD"
13535
13536 ## CAVEAT EMPTOR:
13537 ## There is no encapsulation within the following macros, do not change
13538 ## the running order or otherwise move them around unless you know exactly
13539 ## what you are doing...
13540 # Dependencies to place before and after the object being linked:
13541 predep_objects_CXX=
13542 postdep_objects_CXX=
13543 predeps_CXX=
13544 postdeps_CXX=
13545 compiler_lib_search_path_CXX=
13546
13547 cat > conftest.$ac_ext <<_LT_EOF
13548 class Foo
13549 {
13550 public:
13551 Foo (void) { a = 0; }
13552 private:
13553 int a;
13554 };
13555 _LT_EOF
13556
13557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13558 (eval $ac_compile) 2>&5
13559 ac_status=$?
13560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13561 test $ac_status = 0; }; then
13562 # Parse the compiler output and extract the necessary
13563 # objects, libraries and library flags.
13564
13565 # Sentinel used to keep track of whether or not we are before
13566 # the conftest object file.
13567 pre_test_object_deps_done=no
13568
13569 for p in `eval "$output_verbose_link_cmd"`; do
13570 case $p in
13571
13572 -L* | -R* | -l*)
13573 # Some compilers place space between "-{L,R}" and the path.
13574 # Remove the space.
13575 if test $p = "-L" ||
13576 test $p = "-R"; then
13577 prev=$p
13578 continue
13579 else
13580 prev=
13581 fi
13582
13583 if test "$pre_test_object_deps_done" = no; then
13584 case $p in
13585 -L* | -R*)
13586 # Internal compiler library paths should come after those
13587 # provided the user. The postdeps already come after the
13588 # user supplied libs so there is no need to process them.
13589 if test -z "$compiler_lib_search_path_CXX"; then
13590 compiler_lib_search_path_CXX="${prev}${p}"
13591 else
13592 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13593 fi
13594 ;;
13595 # The "-l" case would never come before the object being
13596 # linked, so don't bother handling this case.
13597 esac
13598 else
13599 if test -z "$postdeps_CXX"; then
13600 postdeps_CXX="${prev}${p}"
13601 else
13602 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13603 fi
13604 fi
13605 ;;
13606
13607 *.$objext)
13608 # This assumes that the test object file only shows up
13609 # once in the compiler output.
13610 if test "$p" = "conftest.$objext"; then
13611 pre_test_object_deps_done=yes
13612 continue
13613 fi
13614
13615 if test "$pre_test_object_deps_done" = no; then
13616 if test -z "$predep_objects_CXX"; then
13617 predep_objects_CXX="$p"
13618 else
13619 predep_objects_CXX="$predep_objects_CXX $p"
13620 fi
13621 else
13622 if test -z "$postdep_objects_CXX"; then
13623 postdep_objects_CXX="$p"
13624 else
13625 postdep_objects_CXX="$postdep_objects_CXX $p"
13626 fi
13627 fi
13628 ;;
13629
13630 *) ;; # Ignore the rest.
13631
13632 esac
13633 done
13634
13635 # Clean up.
13636 rm -f a.out a.exe
13637 else
13638 echo "libtool.m4: error: problem compiling CXX test program"
13639 fi
13640
13641 $RM -f confest.$objext
13642
13643 # PORTME: override above test on systems where it is broken
13644 case $host_os in
13645 interix[3-9]*)
13646 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13647 # hack all around it, let's just trust "g++" to DTRT.
13648 predep_objects_CXX=
13649 postdep_objects_CXX=
13650 postdeps_CXX=
13651 ;;
13652
13653 linux*)
13654 case `$CC -V 2>&1 | sed 5q` in
13655 *Sun\ C*)
13656 # Sun C++ 5.9
13657
13658 # The more standards-conforming stlport4 library is
13659 # incompatible with the Cstd library. Avoid specifying
13660 # it if it's in CXXFLAGS. Ignore libCrun as
13661 # -library=stlport4 depends on it.
13662 case " $CXX $CXXFLAGS " in
13663 *" -library=stlport4 "*)
13664 solaris_use_stlport4=yes
13665 ;;
13666 esac
13667
13668 if test "$solaris_use_stlport4" != yes; then
13669 postdeps_CXX='-library=Cstd -library=Crun'
13670 fi
13671 ;;
13672 esac
13673 ;;
13674
13675 solaris*)
13676 case $cc_basename in
13677 CC*)
13678 # The more standards-conforming stlport4 library is
13679 # incompatible with the Cstd library. Avoid specifying
13680 # it if it's in CXXFLAGS. Ignore libCrun as
13681 # -library=stlport4 depends on it.
13682 case " $CXX $CXXFLAGS " in
13683 *" -library=stlport4 "*)
13684 solaris_use_stlport4=yes
13685 ;;
13686 esac
13687
13688 # Adding this requires a known-good setup of shared libraries for
13689 # Sun compiler versions before 5.6, else PIC objects from an old
13690 # archive will be linked into the output, leading to subtle bugs.
13691 if test "$solaris_use_stlport4" != yes; then
13692 postdeps_CXX='-library=Cstd -library=Crun'
13693 fi
13694 ;;
13695 esac
13696 ;;
13697 esac
13698
13699
13700 case " $postdeps_CXX " in
13701 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13702 esac
13703 compiler_lib_search_dirs_CXX=
13704 if test -n "${compiler_lib_search_path_CXX}"; then
13705 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13706 fi
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
13734
13735
13736
13737
13738 lt_prog_compiler_wl_CXX=
13739 lt_prog_compiler_pic_CXX=
13740 lt_prog_compiler_static_CXX=
13741
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13743 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13744
13745 # C++ specific cases for pic, static, wl, etc.
13746 if test "$GXX" = yes; then
13747 lt_prog_compiler_wl_CXX='-Wl,'
13748 lt_prog_compiler_static_CXX='-static'
13749
13750 case $host_os in
13751 aix*)
13752 # All AIX code is PIC.
13753 if test "$host_cpu" = ia64; then
13754 # AIX 5 now supports IA64 processor
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 fi
13757 lt_prog_compiler_pic_CXX='-fPIC'
13758 ;;
13759
13760 amigaos*)
13761 case $host_cpu in
13762 powerpc)
13763 # see comment about AmigaOS4 .so support
13764 lt_prog_compiler_pic_CXX='-fPIC'
13765 ;;
13766 m68k)
13767 # FIXME: we need at least 68020 code to build shared libraries, but
13768 # adding the `-m68020' flag to GCC prevents building anything better,
13769 # like `-m68040'.
13770 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13771 ;;
13772 esac
13773 ;;
13774
13775 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13776 # PIC is the default for these OSes.
13777 ;;
13778 mingw* | cygwin* | os2* | pw32* | cegcc*)
13779 # This hack is so that the source file can tell whether it is being
13780 # built for inclusion in a dll (and should export symbols for example).
13781 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13782 # (--disable-auto-import) libraries
13783 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13784 ;;
13785 darwin* | rhapsody*)
13786 # PIC is the default on this platform
13787 # Common symbols not allowed in MH_DYLIB files
13788 lt_prog_compiler_pic_CXX='-fno-common'
13789 ;;
13790 *djgpp*)
13791 # DJGPP does not support shared libraries at all
13792 lt_prog_compiler_pic_CXX=
13793 ;;
13794 haiku*)
13795 # PIC is the default for Haiku.
13796 # The "-static" flag exists, but is broken.
13797 lt_prog_compiler_static_CXX=
13798 ;;
13799 interix[3-9]*)
13800 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13801 # Instead, we relocate shared libraries at runtime.
13802 ;;
13803 sysv4*MP*)
13804 if test -d /usr/nec; then
13805 lt_prog_compiler_pic_CXX=-Kconform_pic
13806 fi
13807 ;;
13808 hpux*)
13809 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13810 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13811 # sets the default TLS model and affects inlining.
13812 case $host_cpu in
13813 hppa*64*)
13814 ;;
13815 *)
13816 lt_prog_compiler_pic_CXX='-fPIC'
13817 ;;
13818 esac
13819 ;;
13820 *qnx* | *nto*)
13821 # QNX uses GNU C++, but need to define -shared option too, otherwise
13822 # it will coredump.
13823 lt_prog_compiler_pic_CXX='-fPIC -shared'
13824 ;;
13825 *)
13826 lt_prog_compiler_pic_CXX='-fPIC'
13827 ;;
13828 esac
13829 else
13830 case $host_os in
13831 aix[4-9]*)
13832 # All AIX code is PIC.
13833 if test "$host_cpu" = ia64; then
13834 # AIX 5 now supports IA64 processor
13835 lt_prog_compiler_static_CXX='-Bstatic'
13836 else
13837 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13838 fi
13839 ;;
13840 chorus*)
13841 case $cc_basename in
13842 cxch68*)
13843 # Green Hills C++ Compiler
13844 # _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"
13845 ;;
13846 esac
13847 ;;
13848 dgux*)
13849 case $cc_basename in
13850 ec++*)
13851 lt_prog_compiler_pic_CXX='-KPIC'
13852 ;;
13853 ghcx*)
13854 # Green Hills C++ Compiler
13855 lt_prog_compiler_pic_CXX='-pic'
13856 ;;
13857 *)
13858 ;;
13859 esac
13860 ;;
13861 freebsd* | dragonfly*)
13862 # FreeBSD uses GNU C++
13863 ;;
13864 hpux9* | hpux10* | hpux11*)
13865 case $cc_basename in
13866 CC*)
13867 lt_prog_compiler_wl_CXX='-Wl,'
13868 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13869 if test "$host_cpu" != ia64; then
13870 lt_prog_compiler_pic_CXX='+Z'
13871 fi
13872 ;;
13873 aCC*)
13874 lt_prog_compiler_wl_CXX='-Wl,'
13875 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13876 case $host_cpu in
13877 hppa*64*|ia64*)
13878 # +Z the default
13879 ;;
13880 *)
13881 lt_prog_compiler_pic_CXX='+Z'
13882 ;;
13883 esac
13884 ;;
13885 *)
13886 ;;
13887 esac
13888 ;;
13889 interix*)
13890 # This is c89, which is MS Visual C++ (no shared libs)
13891 # Anyone wants to do a port?
13892 ;;
13893 irix5* | irix6* | nonstopux*)
13894 case $cc_basename in
13895 CC*)
13896 lt_prog_compiler_wl_CXX='-Wl,'
13897 lt_prog_compiler_static_CXX='-non_shared'
13898 # CC pic flag -KPIC is the default.
13899 ;;
13900 *)
13901 ;;
13902 esac
13903 ;;
13904 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13905 case $cc_basename in
13906 KCC*)
13907 # KAI C++ Compiler
13908 lt_prog_compiler_wl_CXX='--backend -Wl,'
13909 lt_prog_compiler_pic_CXX='-fPIC'
13910 ;;
13911 ecpc* )
13912 # old Intel C++ for x86_64 which still supported -KPIC.
13913 lt_prog_compiler_wl_CXX='-Wl,'
13914 lt_prog_compiler_pic_CXX='-KPIC'
13915 lt_prog_compiler_static_CXX='-static'
13916 ;;
13917 icpc* )
13918 # Intel C++, used to be incompatible with GCC.
13919 # ICC 10 doesn't accept -KPIC any more.
13920 lt_prog_compiler_wl_CXX='-Wl,'
13921 lt_prog_compiler_pic_CXX='-fPIC'
13922 lt_prog_compiler_static_CXX='-static'
13923 ;;
13924 pgCC* | pgcpp*)
13925 # Portland Group C++ compiler
13926 lt_prog_compiler_wl_CXX='-Wl,'
13927 lt_prog_compiler_pic_CXX='-fpic'
13928 lt_prog_compiler_static_CXX='-Bstatic'
13929 ;;
13930 cxx*)
13931 # Compaq C++
13932 # Make sure the PIC flag is empty. It appears that all Alpha
13933 # Linux and Compaq Tru64 Unix objects are PIC.
13934 lt_prog_compiler_pic_CXX=
13935 lt_prog_compiler_static_CXX='-non_shared'
13936 ;;
13937 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13938 # IBM XL 8.0, 9.0 on PPC and BlueGene
13939 lt_prog_compiler_wl_CXX='-Wl,'
13940 lt_prog_compiler_pic_CXX='-qpic'
13941 lt_prog_compiler_static_CXX='-qstaticlink'
13942 ;;
13943 *)
13944 case `$CC -V 2>&1 | sed 5q` in
13945 *Sun\ C*)
13946 # Sun C++ 5.9
13947 lt_prog_compiler_pic_CXX='-KPIC'
13948 lt_prog_compiler_static_CXX='-Bstatic'
13949 lt_prog_compiler_wl_CXX='-Qoption ld '
13950 ;;
13951 esac
13952 ;;
13953 esac
13954 ;;
13955 lynxos*)
13956 ;;
13957 m88k*)
13958 ;;
13959 mvs*)
13960 case $cc_basename in
13961 cxx*)
13962 lt_prog_compiler_pic_CXX='-W c,exportall'
13963 ;;
13964 *)
13965 ;;
13966 esac
13967 ;;
13968 netbsd*)
13969 ;;
13970 *qnx* | *nto*)
13971 # QNX uses GNU C++, but need to define -shared option too, otherwise
13972 # it will coredump.
13973 lt_prog_compiler_pic_CXX='-fPIC -shared'
13974 ;;
13975 osf3* | osf4* | osf5*)
13976 case $cc_basename in
13977 KCC*)
13978 lt_prog_compiler_wl_CXX='--backend -Wl,'
13979 ;;
13980 RCC*)
13981 # Rational C++ 2.4.1
13982 lt_prog_compiler_pic_CXX='-pic'
13983 ;;
13984 cxx*)
13985 # Digital/Compaq C++
13986 lt_prog_compiler_wl_CXX='-Wl,'
13987 # Make sure the PIC flag is empty. It appears that all Alpha
13988 # Linux and Compaq Tru64 Unix objects are PIC.
13989 lt_prog_compiler_pic_CXX=
13990 lt_prog_compiler_static_CXX='-non_shared'
13991 ;;
13992 *)
13993 ;;
13994 esac
13995 ;;
13996 psos*)
13997 ;;
13998 solaris*)
13999 case $cc_basename in
14000 CC*)
14001 # Sun C++ 4.2, 5.x and Centerline C++
14002 lt_prog_compiler_pic_CXX='-KPIC'
14003 lt_prog_compiler_static_CXX='-Bstatic'
14004 lt_prog_compiler_wl_CXX='-Qoption ld '
14005 ;;
14006 gcx*)
14007 # Green Hills C++ Compiler
14008 lt_prog_compiler_pic_CXX='-PIC'
14009 ;;
14010 *)
14011 ;;
14012 esac
14013 ;;
14014 sunos4*)
14015 case $cc_basename in
14016 CC*)
14017 # Sun C++ 4.x
14018 lt_prog_compiler_pic_CXX='-pic'
14019 lt_prog_compiler_static_CXX='-Bstatic'
14020 ;;
14021 lcc*)
14022 # Lucid
14023 lt_prog_compiler_pic_CXX='-pic'
14024 ;;
14025 *)
14026 ;;
14027 esac
14028 ;;
14029 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14030 case $cc_basename in
14031 CC*)
14032 lt_prog_compiler_wl_CXX='-Wl,'
14033 lt_prog_compiler_pic_CXX='-KPIC'
14034 lt_prog_compiler_static_CXX='-Bstatic'
14035 ;;
14036 esac
14037 ;;
14038 tandem*)
14039 case $cc_basename in
14040 NCC*)
14041 # NonStop-UX NCC 3.20
14042 lt_prog_compiler_pic_CXX='-KPIC'
14043 ;;
14044 *)
14045 ;;
14046 esac
14047 ;;
14048 vxworks*)
14049 ;;
14050 *)
14051 lt_prog_compiler_can_build_shared_CXX=no
14052 ;;
14053 esac
14054 fi
14055
14056 case $host_os in
14057 # For platforms which do not support PIC, -DPIC is meaningless:
14058 *djgpp*)
14059 lt_prog_compiler_pic_CXX=
14060 ;;
14061 *)
14062 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14063 ;;
14064 esac
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14066 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14067
14068
14069
14070 #
14071 # Check to make sure the PIC flag actually works.
14072 #
14073 if test -n "$lt_prog_compiler_pic_CXX"; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14075 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14076 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 lt_cv_prog_compiler_pic_works_CXX=no
14080 ac_outfile=conftest.$ac_objext
14081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14082 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14083 # Insert the option either (1) after the last *FLAGS variable, or
14084 # (2) before a word containing "conftest.", or (3) at the end.
14085 # Note that $ac_compile itself does not contain backslashes and begins
14086 # with a dollar sign (not a hyphen), so the echo should work correctly.
14087 # The option is referenced via a variable to avoid confusing sed.
14088 lt_compile=`echo "$ac_compile" | $SED \
14089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14091 -e 's:$: $lt_compiler_flag:'`
14092 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14093 (eval "$lt_compile" 2>conftest.err)
14094 ac_status=$?
14095 cat conftest.err >&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 if (exit $ac_status) && test -s "$ac_outfile"; then
14098 # The compiler can only warn and ignore the option if not recognized
14099 # So say no if there are warnings other than the usual output.
14100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14101 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14102 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14103 lt_cv_prog_compiler_pic_works_CXX=yes
14104 fi
14105 fi
14106 $RM conftest*
14107
14108 fi
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14110 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14111
14112 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14113 case $lt_prog_compiler_pic_CXX in
14114 "" | " "*) ;;
14115 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14116 esac
14117 else
14118 lt_prog_compiler_pic_CXX=
14119 lt_prog_compiler_can_build_shared_CXX=no
14120 fi
14121
14122 fi
14123
14124
14125
14126 #
14127 # Check to make sure the static flag actually works.
14128 #
14129 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14131 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14132 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 lt_cv_prog_compiler_static_works_CXX=no
14136 save_LDFLAGS="$LDFLAGS"
14137 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14138 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14139 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14140 # The linker can only warn and ignore the option if not recognized
14141 # So say no if there are warnings
14142 if test -s conftest.err; then
14143 # Append any errors to the config.log.
14144 cat conftest.err 1>&5
14145 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14147 if diff conftest.exp conftest.er2 >/dev/null; then
14148 lt_cv_prog_compiler_static_works_CXX=yes
14149 fi
14150 else
14151 lt_cv_prog_compiler_static_works_CXX=yes
14152 fi
14153 fi
14154 $RM -r conftest*
14155 LDFLAGS="$save_LDFLAGS"
14156
14157 fi
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14159 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14160
14161 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14162 :
14163 else
14164 lt_prog_compiler_static_CXX=
14165 fi
14166
14167
14168
14169
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14172 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 lt_cv_prog_compiler_c_o_CXX=no
14176 $RM -r conftest 2>/dev/null
14177 mkdir conftest
14178 cd conftest
14179 mkdir out
14180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14181
14182 lt_compiler_flag="-o out/conftest2.$ac_objext"
14183 # Insert the option either (1) after the last *FLAGS variable, or
14184 # (2) before a word containing "conftest.", or (3) at the end.
14185 # Note that $ac_compile itself does not contain backslashes and begins
14186 # with a dollar sign (not a hyphen), so the echo should work correctly.
14187 lt_compile=`echo "$ac_compile" | $SED \
14188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14190 -e 's:$: $lt_compiler_flag:'`
14191 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14192 (eval "$lt_compile" 2>out/conftest.err)
14193 ac_status=$?
14194 cat out/conftest.err >&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14197 then
14198 # The compiler can only warn and ignore the option if not recognized
14199 # So say no if there are warnings
14200 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14201 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14202 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14203 lt_cv_prog_compiler_c_o_CXX=yes
14204 fi
14205 fi
14206 chmod u+w . 2>&5
14207 $RM conftest*
14208 # SGI C++ compiler will create directory out/ii_files/ for
14209 # template instantiation
14210 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14211 $RM out/* && rmdir out
14212 cd ..
14213 $RM -r conftest
14214 $RM conftest*
14215
14216 fi
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14218 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14219
14220
14221
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14223 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14224 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 lt_cv_prog_compiler_c_o_CXX=no
14228 $RM -r conftest 2>/dev/null
14229 mkdir conftest
14230 cd conftest
14231 mkdir out
14232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14233
14234 lt_compiler_flag="-o out/conftest2.$ac_objext"
14235 # Insert the option either (1) after the last *FLAGS variable, or
14236 # (2) before a word containing "conftest.", or (3) at the end.
14237 # Note that $ac_compile itself does not contain backslashes and begins
14238 # with a dollar sign (not a hyphen), so the echo should work correctly.
14239 lt_compile=`echo "$ac_compile" | $SED \
14240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14242 -e 's:$: $lt_compiler_flag:'`
14243 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14244 (eval "$lt_compile" 2>out/conftest.err)
14245 ac_status=$?
14246 cat out/conftest.err >&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14249 then
14250 # The compiler can only warn and ignore the option if not recognized
14251 # So say no if there are warnings
14252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14253 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14254 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14255 lt_cv_prog_compiler_c_o_CXX=yes
14256 fi
14257 fi
14258 chmod u+w . 2>&5
14259 $RM conftest*
14260 # SGI C++ compiler will create directory out/ii_files/ for
14261 # template instantiation
14262 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14263 $RM out/* && rmdir out
14264 cd ..
14265 $RM -r conftest
14266 $RM conftest*
14267
14268 fi
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14270 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14271
14272
14273
14274
14275 hard_links="nottested"
14276 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14277 # do not overwrite the value of need_locks provided by the user
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14279 $as_echo_n "checking if we can lock with hard links... " >&6; }
14280 hard_links=yes
14281 $RM conftest*
14282 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14283 touch conftest.a
14284 ln conftest.a conftest.b 2>&5 || hard_links=no
14285 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14287 $as_echo "$hard_links" >&6; }
14288 if test "$hard_links" = no; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14290 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14291 need_locks=warn
14292 fi
14293 else
14294 need_locks=no
14295 fi
14296
14297
14298
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14300 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14301
14302 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14303 case $host_os in
14304 aix[4-9]*)
14305 # If we're using GNU nm, then we don't want the "-C" option.
14306 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14307 # Also, AIX nm treats weak defined symbols like other global defined
14308 # symbols, whereas GNU nm marks them as "W".
14309 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14310 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'
14311 else
14312 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'
14313 fi
14314 ;;
14315 pw32*)
14316 export_symbols_cmds_CXX="$ltdll_cmds"
14317 ;;
14318 cygwin* | mingw* | cegcc*)
14319 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'
14320 ;;
14321 *)
14322 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323 ;;
14324 esac
14325 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14326
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14328 $as_echo "$ld_shlibs_CXX" >&6; }
14329 test "$ld_shlibs_CXX" = no && can_build_shared=no
14330
14331 with_gnu_ld_CXX=$with_gnu_ld
14332
14333
14334
14335
14336
14337
14338 #
14339 # Do we need to explicitly link libc?
14340 #
14341 case "x$archive_cmds_need_lc_CXX" in
14342 x|xyes)
14343 # Assume -lc should be added
14344 archive_cmds_need_lc_CXX=yes
14345
14346 if test "$enable_shared" = yes && test "$GCC" = yes; then
14347 case $archive_cmds_CXX in
14348 *'~'*)
14349 # FIXME: we may have to deal with multi-command sequences.
14350 ;;
14351 '$CC '*)
14352 # Test whether the compiler implicitly links with -lc since on some
14353 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14354 # to ld, don't add -lc before -lgcc.
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14356 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14357 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 $RM conftest*
14361 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14362
14363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14364 (eval $ac_compile) 2>&5
14365 ac_status=$?
14366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14367 test $ac_status = 0; } 2>conftest.err; then
14368 soname=conftest
14369 lib=conftest
14370 libobjs=conftest.$ac_objext
14371 deplibs=
14372 wl=$lt_prog_compiler_wl_CXX
14373 pic_flag=$lt_prog_compiler_pic_CXX
14374 compiler_flags=-v
14375 linker_flags=-v
14376 verstring=
14377 output_objdir=.
14378 libname=conftest
14379 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14380 allow_undefined_flag_CXX=
14381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14382 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14383 ac_status=$?
14384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 test $ac_status = 0; }
14386 then
14387 lt_cv_archive_cmds_need_lc_CXX=no
14388 else
14389 lt_cv_archive_cmds_need_lc_CXX=yes
14390 fi
14391 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14392 else
14393 cat conftest.err 1>&5
14394 fi
14395 $RM conftest*
14396
14397 fi
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14399 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14400 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14401 ;;
14402 esac
14403 fi
14404 ;;
14405 esac
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
14466
14467
14468
14469
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14472
14473 library_names_spec=
14474 libname_spec='lib$name'
14475 soname_spec=
14476 shrext_cmds=".so"
14477 postinstall_cmds=
14478 postuninstall_cmds=
14479 finish_cmds=
14480 finish_eval=
14481 shlibpath_var=
14482 shlibpath_overrides_runpath=unknown
14483 version_type=none
14484 dynamic_linker="$host_os ld.so"
14485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14486 need_lib_prefix=unknown
14487 hardcode_into_libs=no
14488
14489 # when you set need_version to no, make sure it does not cause -set_version
14490 # flags to be left without arguments
14491 need_version=unknown
14492
14493 case $host_os in
14494 aix3*)
14495 version_type=linux
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14497 shlibpath_var=LIBPATH
14498
14499 # AIX 3 has no versioning support, so we append a major version to the name.
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 ;;
14502
14503 aix[4-9]*)
14504 version_type=linux
14505 need_lib_prefix=no
14506 need_version=no
14507 hardcode_into_libs=yes
14508 if test "$host_cpu" = ia64; then
14509 # AIX 5 supports IA64
14510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14511 shlibpath_var=LD_LIBRARY_PATH
14512 else
14513 # With GCC up to 2.95.x, collect2 would create an import file
14514 # for dependence libraries. The import file would start with
14515 # the line `#! .'. This would cause the generated library to
14516 # depend on `.', always an invalid library. This was fixed in
14517 # development snapshots of GCC prior to 3.0.
14518 case $host_os in
14519 aix4 | aix4.[01] | aix4.[01].*)
14520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14521 echo ' yes '
14522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14523 :
14524 else
14525 can_build_shared=no
14526 fi
14527 ;;
14528 esac
14529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14530 # soname into executable. Probably we can add versioning support to
14531 # collect2, so additional links can be useful in future.
14532 if test "$aix_use_runtimelinking" = yes; then
14533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14534 # instead of lib<name>.a to let people know that these are not
14535 # typical AIX shared libraries.
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537 else
14538 # We preserve .a as extension for shared libraries through AIX4.2
14539 # and later when we are not doing run time linking.
14540 library_names_spec='${libname}${release}.a $libname.a'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 fi
14543 shlibpath_var=LIBPATH
14544 fi
14545 ;;
14546
14547 amigaos*)
14548 case $host_cpu in
14549 powerpc)
14550 # Since July 2007 AmigaOS4 officially supports .so libraries.
14551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 ;;
14554 m68k)
14555 library_names_spec='$libname.ixlibrary $libname.a'
14556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14557 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'
14558 ;;
14559 esac
14560 ;;
14561
14562 beos*)
14563 library_names_spec='${libname}${shared_ext}'
14564 dynamic_linker="$host_os ld.so"
14565 shlibpath_var=LIBRARY_PATH
14566 ;;
14567
14568 bsdi[45]*)
14569 version_type=linux
14570 need_version=no
14571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572 soname_spec='${libname}${release}${shared_ext}$major'
14573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14577 # the default ld.so.conf also contains /usr/contrib/lib and
14578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14579 # libtool to hard-code these into programs
14580 ;;
14581
14582 cygwin* | mingw* | pw32* | cegcc*)
14583 version_type=windows
14584 shrext_cmds=".dll"
14585 need_version=no
14586 need_lib_prefix=no
14587
14588 case $GCC,$host_os in
14589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14590 library_names_spec='$libname.dll.a'
14591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14592 postinstall_cmds='base_file=`basename \${file}`~
14593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14594 dldir=$destdir/`dirname \$dlpath`~
14595 test -d \$dldir || mkdir -p \$dldir~
14596 $install_prog $dir/$dlname \$dldir/$dlname~
14597 chmod a+x \$dldir/$dlname~
14598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14600 fi'
14601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14602 dlpath=$dir/\$dldll~
14603 $RM \$dlpath'
14604 shlibpath_overrides_runpath=yes
14605
14606 case $host_os in
14607 cygwin*)
14608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14610
14611 ;;
14612 mingw* | cegcc*)
14613 # MinGW DLLs use traditional 'lib' prefix
14614 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14615 ;;
14616 pw32*)
14617 # pw32 DLLs use 'pw' prefix rather than 'lib'
14618 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14619 ;;
14620 esac
14621 ;;
14622
14623 *)
14624 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14625 ;;
14626 esac
14627 dynamic_linker='Win32 ld.exe'
14628 # FIXME: first we should search . and the directory the executable is in
14629 shlibpath_var=PATH
14630 ;;
14631
14632 darwin* | rhapsody*)
14633 dynamic_linker="$host_os dyld"
14634 version_type=darwin
14635 need_lib_prefix=no
14636 need_version=no
14637 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14638 soname_spec='${libname}${release}${major}$shared_ext'
14639 shlibpath_overrides_runpath=yes
14640 shlibpath_var=DYLD_LIBRARY_PATH
14641 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14642
14643 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14644 ;;
14645
14646 dgux*)
14647 version_type=linux
14648 need_lib_prefix=no
14649 need_version=no
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 shlibpath_var=LD_LIBRARY_PATH
14653 ;;
14654
14655 freebsd* | dragonfly*)
14656 # DragonFly does not have aout. When/if they implement a new
14657 # versioning mechanism, adjust this.
14658 if test -x /usr/bin/objformat; then
14659 objformat=`/usr/bin/objformat`
14660 else
14661 case $host_os in
14662 freebsd[23].*) objformat=aout ;;
14663 *) objformat=elf ;;
14664 esac
14665 fi
14666 version_type=freebsd-$objformat
14667 case $version_type in
14668 freebsd-elf*)
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14670 need_version=no
14671 need_lib_prefix=no
14672 ;;
14673 freebsd-*)
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14675 need_version=yes
14676 ;;
14677 esac
14678 shlibpath_var=LD_LIBRARY_PATH
14679 case $host_os in
14680 freebsd2.*)
14681 shlibpath_overrides_runpath=yes
14682 ;;
14683 freebsd3.[01]* | freebsdelf3.[01]*)
14684 shlibpath_overrides_runpath=yes
14685 hardcode_into_libs=yes
14686 ;;
14687 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14688 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14689 shlibpath_overrides_runpath=no
14690 hardcode_into_libs=yes
14691 ;;
14692 *) # from 4.6 on, and DragonFly
14693 shlibpath_overrides_runpath=yes
14694 hardcode_into_libs=yes
14695 ;;
14696 esac
14697 ;;
14698
14699 gnu*)
14700 version_type=linux
14701 need_lib_prefix=no
14702 need_version=no
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14704 soname_spec='${libname}${release}${shared_ext}$major'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 hardcode_into_libs=yes
14707 ;;
14708
14709 haiku*)
14710 version_type=linux
14711 need_lib_prefix=no
14712 need_version=no
14713 dynamic_linker="$host_os runtime_loader"
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14719 hardcode_into_libs=yes
14720 ;;
14721
14722 hpux9* | hpux10* | hpux11*)
14723 # Give a soname corresponding to the major version so that dld.sl refuses to
14724 # link against other versions.
14725 version_type=sunos
14726 need_lib_prefix=no
14727 need_version=no
14728 case $host_cpu in
14729 ia64*)
14730 shrext_cmds='.so'
14731 hardcode_into_libs=yes
14732 dynamic_linker="$host_os dld.so"
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 if test "X$HPUX_IA64_MODE" = X32; then
14738 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14739 else
14740 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14741 fi
14742 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14743 ;;
14744 hppa*64*)
14745 shrext_cmds='.sl'
14746 hardcode_into_libs=yes
14747 dynamic_linker="$host_os dld.sl"
14748 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14749 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751 soname_spec='${libname}${release}${shared_ext}$major'
14752 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14753 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14754 ;;
14755 *)
14756 shrext_cmds='.sl'
14757 dynamic_linker="$host_os dld.sl"
14758 shlibpath_var=SHLIB_PATH
14759 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14761 soname_spec='${libname}${release}${shared_ext}$major'
14762 ;;
14763 esac
14764 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14765 postinstall_cmds='chmod 555 $lib'
14766 # or fails outright, so override atomically:
14767 install_override_mode=555
14768 ;;
14769
14770 interix[3-9]*)
14771 version_type=linux
14772 need_lib_prefix=no
14773 need_version=no
14774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14775 soname_spec='${libname}${release}${shared_ext}$major'
14776 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14777 shlibpath_var=LD_LIBRARY_PATH
14778 shlibpath_overrides_runpath=no
14779 hardcode_into_libs=yes
14780 ;;
14781
14782 irix5* | irix6* | nonstopux*)
14783 case $host_os in
14784 nonstopux*) version_type=nonstopux ;;
14785 *)
14786 if test "$lt_cv_prog_gnu_ld" = yes; then
14787 version_type=linux
14788 else
14789 version_type=irix
14790 fi ;;
14791 esac
14792 need_lib_prefix=no
14793 need_version=no
14794 soname_spec='${libname}${release}${shared_ext}$major'
14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14796 case $host_os in
14797 irix5* | nonstopux*)
14798 libsuff= shlibsuff=
14799 ;;
14800 *)
14801 case $LD in # libtool.m4 will add one of these switches to LD
14802 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14803 libsuff= shlibsuff= libmagic=32-bit;;
14804 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14805 libsuff=32 shlibsuff=N32 libmagic=N32;;
14806 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14807 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14808 *) libsuff= shlibsuff= libmagic=never-match;;
14809 esac
14810 ;;
14811 esac
14812 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14813 shlibpath_overrides_runpath=no
14814 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14815 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14816 hardcode_into_libs=yes
14817 ;;
14818
14819 # No shared lib support for Linux oldld, aout, or coff.
14820 linux*oldld* | linux*aout* | linux*coff*)
14821 dynamic_linker=no
14822 ;;
14823
14824 # This must be Linux ELF.
14825 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14826 version_type=linux
14827 need_lib_prefix=no
14828 need_version=no
14829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14830 soname_spec='${libname}${release}${shared_ext}$major'
14831 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14832 shlibpath_var=LD_LIBRARY_PATH
14833 shlibpath_overrides_runpath=no
14834
14835 # Some binutils ld are patched to set DT_RUNPATH
14836 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 lt_cv_shlibpath_overrides_runpath=no
14840 save_LDFLAGS=$LDFLAGS
14841 save_libdir=$libdir
14842 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14843 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14844 if test x$gcc_no_link = xyes; then
14845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14846 fi
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849
14850 int
14851 main ()
14852 {
14853
14854 ;
14855 return 0;
14856 }
14857 _ACEOF
14858 if ac_fn_cxx_try_link "$LINENO"; then :
14859 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14860 lt_cv_shlibpath_overrides_runpath=yes
14861 fi
14862 fi
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LDFLAGS=$save_LDFLAGS
14866 libdir=$save_libdir
14867
14868 fi
14869
14870 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14871
14872 # This implies no fast_install, which is unacceptable.
14873 # Some rework will be needed to allow for fast_install
14874 # before this can be enabled.
14875 hardcode_into_libs=yes
14876
14877 # Append ld.so.conf contents to the search path
14878 if test -f /etc/ld.so.conf; then
14879 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' ' '`
14880 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14881 fi
14882
14883 # We used to test for /lib/ld.so.1 and disable shared libraries on
14884 # powerpc, because MkLinux only supported shared libraries with the
14885 # GNU dynamic linker. Since this was broken with cross compilers,
14886 # most powerpc-linux boxes support dynamic linking these days and
14887 # people can always --disable-shared, the test was removed, and we
14888 # assume the GNU/Linux dynamic linker is in use.
14889 dynamic_linker='GNU/Linux ld.so'
14890 ;;
14891
14892 netbsd*)
14893 version_type=sunos
14894 need_lib_prefix=no
14895 need_version=no
14896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14899 dynamic_linker='NetBSD (a.out) ld.so'
14900 else
14901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14902 soname_spec='${libname}${release}${shared_ext}$major'
14903 dynamic_linker='NetBSD ld.elf_so'
14904 fi
14905 shlibpath_var=LD_LIBRARY_PATH
14906 shlibpath_overrides_runpath=yes
14907 hardcode_into_libs=yes
14908 ;;
14909
14910 newsos6)
14911 version_type=linux
14912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14913 shlibpath_var=LD_LIBRARY_PATH
14914 shlibpath_overrides_runpath=yes
14915 ;;
14916
14917 *nto* | *qnx*)
14918 version_type=qnx
14919 need_lib_prefix=no
14920 need_version=no
14921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922 soname_spec='${libname}${release}${shared_ext}$major'
14923 shlibpath_var=LD_LIBRARY_PATH
14924 shlibpath_overrides_runpath=no
14925 hardcode_into_libs=yes
14926 dynamic_linker='ldqnx.so'
14927 ;;
14928
14929 openbsd*)
14930 version_type=sunos
14931 sys_lib_dlsearch_path_spec="/usr/lib"
14932 need_lib_prefix=no
14933 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14934 case $host_os in
14935 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14936 *) need_version=no ;;
14937 esac
14938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14940 shlibpath_var=LD_LIBRARY_PATH
14941 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14942 case $host_os in
14943 openbsd2.[89] | openbsd2.[89].*)
14944 shlibpath_overrides_runpath=no
14945 ;;
14946 *)
14947 shlibpath_overrides_runpath=yes
14948 ;;
14949 esac
14950 else
14951 shlibpath_overrides_runpath=yes
14952 fi
14953 ;;
14954
14955 os2*)
14956 libname_spec='$name'
14957 shrext_cmds=".dll"
14958 need_lib_prefix=no
14959 library_names_spec='$libname${shared_ext} $libname.a'
14960 dynamic_linker='OS/2 ld.exe'
14961 shlibpath_var=LIBPATH
14962 ;;
14963
14964 osf3* | osf4* | osf5*)
14965 version_type=osf
14966 need_lib_prefix=no
14967 need_version=no
14968 soname_spec='${libname}${release}${shared_ext}$major'
14969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970 shlibpath_var=LD_LIBRARY_PATH
14971 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14972 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14973 ;;
14974
14975 rdos*)
14976 dynamic_linker=no
14977 ;;
14978
14979 solaris*)
14980 version_type=linux
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14984 soname_spec='${libname}${release}${shared_ext}$major'
14985 shlibpath_var=LD_LIBRARY_PATH
14986 shlibpath_overrides_runpath=yes
14987 hardcode_into_libs=yes
14988 # ldd complains unless libraries are executable
14989 postinstall_cmds='chmod +x $lib'
14990 ;;
14991
14992 sunos4*)
14993 version_type=sunos
14994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14995 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14996 shlibpath_var=LD_LIBRARY_PATH
14997 shlibpath_overrides_runpath=yes
14998 if test "$with_gnu_ld" = yes; then
14999 need_lib_prefix=no
15000 fi
15001 need_version=yes
15002 ;;
15003
15004 sysv4 | sysv4.3*)
15005 version_type=linux
15006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 soname_spec='${libname}${release}${shared_ext}$major'
15008 shlibpath_var=LD_LIBRARY_PATH
15009 case $host_vendor in
15010 sni)
15011 shlibpath_overrides_runpath=no
15012 need_lib_prefix=no
15013 runpath_var=LD_RUN_PATH
15014 ;;
15015 siemens)
15016 need_lib_prefix=no
15017 ;;
15018 motorola)
15019 need_lib_prefix=no
15020 need_version=no
15021 shlibpath_overrides_runpath=no
15022 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15023 ;;
15024 esac
15025 ;;
15026
15027 sysv4*MP*)
15028 if test -d /usr/nec ;then
15029 version_type=linux
15030 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15031 soname_spec='$libname${shared_ext}.$major'
15032 shlibpath_var=LD_LIBRARY_PATH
15033 fi
15034 ;;
15035
15036 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15037 version_type=freebsd-elf
15038 need_lib_prefix=no
15039 need_version=no
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15041 soname_spec='${libname}${release}${shared_ext}$major'
15042 shlibpath_var=LD_LIBRARY_PATH
15043 shlibpath_overrides_runpath=yes
15044 hardcode_into_libs=yes
15045 if test "$with_gnu_ld" = yes; then
15046 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15047 else
15048 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15049 case $host_os in
15050 sco3.2v5*)
15051 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15052 ;;
15053 esac
15054 fi
15055 sys_lib_dlsearch_path_spec='/usr/lib'
15056 ;;
15057
15058 tpf*)
15059 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15060 version_type=linux
15061 need_lib_prefix=no
15062 need_version=no
15063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15064 shlibpath_var=LD_LIBRARY_PATH
15065 shlibpath_overrides_runpath=no
15066 hardcode_into_libs=yes
15067 ;;
15068
15069 uts4*)
15070 version_type=linux
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 shlibpath_var=LD_LIBRARY_PATH
15074 ;;
15075
15076 *)
15077 dynamic_linker=no
15078 ;;
15079 esac
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15081 $as_echo "$dynamic_linker" >&6; }
15082 test "$dynamic_linker" = no && can_build_shared=no
15083
15084 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15085 if test "$GCC" = yes; then
15086 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15087 fi
15088
15089 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15090 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15091 fi
15092 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15093 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15094 fi
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
15129
15130
15131
15132
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15134 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15135 hardcode_action_CXX=
15136 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15137 test -n "$runpath_var_CXX" ||
15138 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15139
15140 # We can hardcode non-existent directories.
15141 if test "$hardcode_direct_CXX" != no &&
15142 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15143 # have to relink, otherwise we might link with an installed library
15144 # when we should be linking with a yet-to-be-installed one
15145 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15146 test "$hardcode_minus_L_CXX" != no; then
15147 # Linking always hardcodes the temporary library directory.
15148 hardcode_action_CXX=relink
15149 else
15150 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15151 hardcode_action_CXX=immediate
15152 fi
15153 else
15154 # We cannot hardcode anything, or else we can only hardcode existing
15155 # directories.
15156 hardcode_action_CXX=unsupported
15157 fi
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15159 $as_echo "$hardcode_action_CXX" >&6; }
15160
15161 if test "$hardcode_action_CXX" = relink ||
15162 test "$inherit_rpath_CXX" = yes; then
15163 # Fast installation is not supported
15164 enable_fast_install=no
15165 elif test "$shlibpath_overrides_runpath" = yes ||
15166 test "$enable_shared" = no; then
15167 # Fast installation is not necessary
15168 enable_fast_install=needless
15169 fi
15170
15171
15172
15173
15174
15175
15176
15177 fi # test -n "$compiler"
15178
15179 CC=$lt_save_CC
15180 LDCXX=$LD
15181 LD=$lt_save_LD
15182 GCC=$lt_save_GCC
15183 with_gnu_ld=$lt_save_with_gnu_ld
15184 lt_cv_path_LDCXX=$lt_cv_path_LD
15185 lt_cv_path_LD=$lt_save_path_LD
15186 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15187 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15188 fi # test "$_lt_caught_CXX_error" != yes
15189
15190 ac_ext=c
15191 ac_cpp='$CPP $CPPFLAGS'
15192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208 ac_config_commands="$ac_config_commands libtool"
15209
15210
15211
15212
15213 # Only expand once:
15214
15215
15216
15217
15218
15219 case $host in
15220 *-cygwin* | *-mingw*)
15221 # 'host' will be top-level target in the case of a target lib,
15222 # we must compare to with_cross_host to decide if this is a native
15223 # or cross-compiler and select where to install dlls appropriately.
15224 if test -n "$with_cross_host" &&
15225 test x"$with_cross_host" != x"no"; then
15226 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15227 else
15228 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15229 fi
15230 ;;
15231 *)
15232 lt_host_flags=
15233 ;;
15234 esac
15235
15236
15237
15238
15239
15240
15241 if test "$enable_vtable_verify" = yes; then
15242 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15243 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15244 fi
15245
15246
15247 # libtool variables for C++ shared and position-independent compiles.
15248 #
15249 # Use glibcxx_lt_pic_flag to designate the automake variable
15250 # used to encapsulate the default libtool approach to creating objects
15251 # with position-independent code. Default: -prefer-pic.
15252 #
15253 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15254 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15255 #
15256 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15257 # creating position-independent objects. This varies with the target
15258 # hardware and operating system, but is often: -DPIC -fPIC.
15259 if test "$enable_shared" = yes; then
15260 glibcxx_lt_pic_flag="-prefer-pic"
15261 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15262 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15263
15264 else
15265 glibcxx_lt_pic_flag=
15266 glibcxx_compiler_pic_flag=
15267 glibcxx_compiler_shared_flag=
15268 fi
15269
15270
15271
15272
15273 # Override the libtool's pic_flag and pic_mode.
15274 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15275 # NB: this impacts --with-pic and --without-pic.
15276 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15277 pic_mode='default'
15278
15279 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15280 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15281
15282 # Possibly disable most of the library.
15283 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15284 ## than just ignoring the results. Faster /and/ more correct, win win.
15285
15286 # Check whether --enable-hosted-libstdcxx was given.
15287 if test "${enable_hosted_libstdcxx+set}" = set; then :
15288 enableval=$enable_hosted_libstdcxx;
15289 else
15290 case "$host" in
15291 arm*-*-symbianelf*)
15292 enable_hosted_libstdcxx=no
15293 ;;
15294 *)
15295 enable_hosted_libstdcxx=yes
15296 ;;
15297 esac
15298 fi
15299
15300 if test "$enable_hosted_libstdcxx" = no; then
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15302 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15303 is_hosted=no
15304 hosted_define=0
15305 enable_abi_check=no
15306 enable_libstdcxx_pch=no
15307 else
15308 is_hosted=yes
15309 hosted_define=1
15310 fi
15311
15312
15313 cat >>confdefs.h <<_ACEOF
15314 #define _GLIBCXX_HOSTED $hosted_define
15315 _ACEOF
15316
15317
15318
15319 # Enable descriptive messages to standard output on termination.
15320
15321 # Check whether --enable-libstdcxx-verbose was given.
15322 if test "${enable_libstdcxx_verbose+set}" = set; then :
15323 enableval=$enable_libstdcxx_verbose;
15324 else
15325 enable_libstdcxx_verbose=yes
15326 fi
15327
15328 if test x"$enable_libstdcxx_verbose" = xyes; then
15329 verbose_define=1
15330 else
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15332 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15333 verbose_define=0
15334 fi
15335
15336 cat >>confdefs.h <<_ACEOF
15337 #define _GLIBCXX_VERBOSE $verbose_define
15338 _ACEOF
15339
15340
15341
15342 # Enable compiler support that doesn't require linking.
15343
15344 # Check whether --enable-libstdcxx-pch was given.
15345 if test "${enable_libstdcxx_pch+set}" = set; then :
15346 enableval=$enable_libstdcxx_pch;
15347 case "$enableval" in
15348 yes|no) ;;
15349 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15350 esac
15351
15352 else
15353 enable_libstdcxx_pch=$is_hosted
15354 fi
15355
15356
15357 if test $enable_libstdcxx_pch = yes; then
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15359 $as_echo_n "checking for compiler with PCH support... " >&6; }
15360 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_save_CXXFLAGS="$CXXFLAGS"
15364 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15365
15366 ac_ext=cpp
15367 ac_cpp='$CXXCPP $CPPFLAGS'
15368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15371
15372 echo '#include <math.h>' > conftest.h
15373 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15374 -o conftest.h.gch 1>&5 2>&1 &&
15375 echo '#error "pch failed"' > conftest.h &&
15376 echo '#include "conftest.h"' > conftest.cc &&
15377 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15378 then
15379 glibcxx_cv_prog_CXX_pch=yes
15380 else
15381 glibcxx_cv_prog_CXX_pch=no
15382 fi
15383 rm -f conftest*
15384 CXXFLAGS=$ac_save_CXXFLAGS
15385 ac_ext=c
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15390
15391
15392 fi
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15394 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15395 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15396 fi
15397
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15399 $as_echo_n "checking for enabled PCH... " >&6; }
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15401 $as_echo "$enable_libstdcxx_pch" >&6; }
15402
15403
15404 if test $enable_libstdcxx_pch = yes; then
15405 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15406 else
15407 glibcxx_PCHFLAGS=""
15408 fi
15409
15410
15411
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15413 $as_echo_n "checking for thread model used by GCC... " >&6; }
15414 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15416 $as_echo "$target_thread_file" >&6; }
15417
15418 case $target_thread_file in
15419 aix) thread_header=config/rs6000/gthr-aix.h ;;
15420 dce) thread_header=config/pa/gthr-dce.h ;;
15421 lynx) thread_header=config/gthr-lynx.h ;;
15422 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15423 posix) thread_header=gthr-posix.h ;;
15424 rtems) thread_header=config/gthr-rtems.h ;;
15425 single) thread_header=gthr-single.h ;;
15426 tpf) thread_header=config/s390/gthr-tpf.h ;;
15427 vxworks) thread_header=config/gthr-vxworks.h ;;
15428 win32) thread_header=config/i386/gthr-win32.h ;;
15429 esac
15430
15431
15432
15433
15434
15435 ac_ext=cpp
15436 ac_cpp='$CXXCPP $CPPFLAGS'
15437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15440
15441 old_CXXFLAGS="$CXXFLAGS"
15442
15443 # Do link tests if possible, instead asm tests, limited to some platforms
15444 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15445 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15446 atomic_builtins_link_tests=no
15447 if test x$gcc_no_link != xyes; then
15448 # Can do link tests. Limit to some tested platforms
15449 case "$host" in
15450 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15451 atomic_builtins_link_tests=yes
15452 ;;
15453 esac
15454 fi
15455
15456 if test x$atomic_builtins_link_tests = xyes; then
15457
15458 # Do link tests.
15459
15460 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15461
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15463 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15464 if ${glibcxx_cv_atomic_bool+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467
15468 if test x$gcc_no_link = xyes; then
15469 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15470 fi
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15473
15474 int
15475 main ()
15476 {
15477 typedef bool atomic_type;
15478 atomic_type c1;
15479 atomic_type c2;
15480 atomic_type c3(0);
15481 // N.B. __atomic_fetch_add is not supported for bool.
15482 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483 __ATOMIC_RELAXED);
15484 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486
15487 ;
15488 return 0;
15489 }
15490 _ACEOF
15491 if ac_fn_cxx_try_link "$LINENO"; then :
15492 glibcxx_cv_atomic_bool=yes
15493 else
15494 glibcxx_cv_atomic_bool=no
15495 fi
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498
15499 fi
15500
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15502 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15503
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15505 $as_echo_n "checking for atomic builtins for short... " >&6; }
15506 if ${glibcxx_cv_atomic_short+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509
15510 if test x$gcc_no_link = xyes; then
15511 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15512 fi
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15515
15516 int
15517 main ()
15518 {
15519 typedef short atomic_type;
15520 atomic_type c1;
15521 atomic_type c2;
15522 atomic_type c3(0);
15523 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15524 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15525 __ATOMIC_RELAXED);
15526 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15527 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15528
15529 ;
15530 return 0;
15531 }
15532 _ACEOF
15533 if ac_fn_cxx_try_link "$LINENO"; then :
15534 glibcxx_cv_atomic_short=yes
15535 else
15536 glibcxx_cv_atomic_short=no
15537 fi
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540
15541 fi
15542
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15544 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15545
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15547 $as_echo_n "checking for atomic builtins for int... " >&6; }
15548 if ${glibcxx_cv_atomic_int+:} false; then :
15549 $as_echo_n "(cached) " >&6
15550 else
15551
15552 if test x$gcc_no_link = xyes; then
15553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15554 fi
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557
15558 int
15559 main ()
15560 {
15561 typedef int atomic_type;
15562 atomic_type c1;
15563 atomic_type c2;
15564 atomic_type c3(0);
15565 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15566 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15567 __ATOMIC_RELAXED);
15568 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15569 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15570
15571 ;
15572 return 0;
15573 }
15574 _ACEOF
15575 if ac_fn_cxx_try_link "$LINENO"; then :
15576 glibcxx_cv_atomic_int=yes
15577 else
15578 glibcxx_cv_atomic_int=no
15579 fi
15580 rm -f core conftest.err conftest.$ac_objext \
15581 conftest$ac_exeext conftest.$ac_ext
15582
15583 fi
15584
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15586 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15587
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15589 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15590 if ${glibcxx_cv_atomic_long_long+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593
15594 if test x$gcc_no_link = xyes; then
15595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15596 fi
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15599
15600 int
15601 main ()
15602 {
15603 typedef long long atomic_type;
15604 atomic_type c1;
15605 atomic_type c2;
15606 atomic_type c3(0);
15607 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15608 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15609 __ATOMIC_RELAXED);
15610 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15611 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15612
15613 ;
15614 return 0;
15615 }
15616 _ACEOF
15617 if ac_fn_cxx_try_link "$LINENO"; then :
15618 glibcxx_cv_atomic_long_long=yes
15619 else
15620 glibcxx_cv_atomic_long_long=no
15621 fi
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15624
15625 fi
15626
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15628 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15629
15630 else
15631
15632 # Do asm tests.
15633
15634 # Compile unoptimized.
15635 CXXFLAGS='-O0 -S'
15636
15637 # Fake what AC_TRY_COMPILE does.
15638
15639 cat > conftest.$ac_ext << EOF
15640 #line 15640 "configure"
15641 int main()
15642 {
15643 typedef bool atomic_type;
15644 atomic_type c1;
15645 atomic_type c2;
15646 atomic_type c3(0);
15647 // N.B. __atomic_fetch_add is not supported for bool.
15648 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15649 __ATOMIC_RELAXED);
15650 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15651 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15652
15653 return 0;
15654 }
15655 EOF
15656
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15658 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15660 (eval $ac_compile) 2>&5
15661 ac_status=$?
15662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15663 test $ac_status = 0; }; then
15664 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15665 glibcxx_cv_atomic_bool=no
15666 else
15667 glibcxx_cv_atomic_bool=yes
15668 fi
15669 fi
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15671 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15672 rm -f conftest*
15673
15674 cat > conftest.$ac_ext << EOF
15675 #line 15675 "configure"
15676 int main()
15677 {
15678 typedef short atomic_type;
15679 atomic_type c1;
15680 atomic_type c2;
15681 atomic_type c3(0);
15682 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15683 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15684 __ATOMIC_RELAXED);
15685 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15686 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15687
15688 return 0;
15689 }
15690 EOF
15691
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15693 $as_echo_n "checking for atomic builtins for short... " >&6; }
15694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15695 (eval $ac_compile) 2>&5
15696 ac_status=$?
15697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15698 test $ac_status = 0; }; then
15699 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15700 glibcxx_cv_atomic_short=no
15701 else
15702 glibcxx_cv_atomic_short=yes
15703 fi
15704 fi
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15706 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15707 rm -f conftest*
15708
15709 cat > conftest.$ac_ext << EOF
15710 #line 15710 "configure"
15711 int main()
15712 {
15713 // NB: _Atomic_word not necessarily int.
15714 typedef int atomic_type;
15715 atomic_type c1;
15716 atomic_type c2;
15717 atomic_type c3(0);
15718 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15719 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15720 __ATOMIC_RELAXED);
15721 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15722 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15723
15724 return 0;
15725 }
15726 EOF
15727
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15729 $as_echo_n "checking for atomic builtins for int... " >&6; }
15730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15731 (eval $ac_compile) 2>&5
15732 ac_status=$?
15733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15734 test $ac_status = 0; }; then
15735 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15736 glibcxx_cv_atomic_int=no
15737 else
15738 glibcxx_cv_atomic_int=yes
15739 fi
15740 fi
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15742 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15743 rm -f conftest*
15744
15745 cat > conftest.$ac_ext << EOF
15746 #line 15746 "configure"
15747 int main()
15748 {
15749 typedef long long atomic_type;
15750 atomic_type c1;
15751 atomic_type c2;
15752 atomic_type c3(0);
15753 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15754 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15755 __ATOMIC_RELAXED);
15756 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15757 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15758
15759 return 0;
15760 }
15761 EOF
15762
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15764 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15766 (eval $ac_compile) 2>&5
15767 ac_status=$?
15768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15769 test $ac_status = 0; }; then
15770 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15771 glibcxx_cv_atomic_long_long=no
15772 else
15773 glibcxx_cv_atomic_long_long=yes
15774 fi
15775 fi
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15777 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15778 rm -f conftest*
15779
15780 fi
15781
15782 CXXFLAGS="$old_CXXFLAGS"
15783 ac_ext=c
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788
15789
15790 # Set atomicity_dir to builtins if all but the long long test above passes,
15791 # or if the builtins were already chosen (e.g. by configure.host).
15792 if { test "$glibcxx_cv_atomic_bool" = yes \
15793 && test "$glibcxx_cv_atomic_short" = yes \
15794 && test "$glibcxx_cv_atomic_int" = yes; } \
15795 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15796
15797 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15798
15799 atomicity_dir=cpu/generic/atomicity_builtins
15800 fi
15801
15802 # If still generic, set to mutex.
15803 if test $atomicity_dir = "cpu/generic" ; then
15804 atomicity_dir=cpu/generic/atomicity_mutex
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15806 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15807 if test "x$target_thread_file" = xsingle; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15809 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15811 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15812 else
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15814 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15816 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15817 fi
15818 fi
15819
15820
15821
15822
15823
15824 # Check whether --with-libstdcxx-lock-policy was given.
15825 if test "${with_libstdcxx_lock_policy+set}" = set; then :
15826 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
15827 else
15828 libstdcxx_atomic_lock_policy=auto
15829 fi
15830
15831
15832 case "$libstdcxx_atomic_lock_policy" in
15833 atomic|mutex|auto) ;;
15834 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
15835 esac
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
15837 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
15838
15839 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
15840
15841 ac_ext=cpp
15842 ac_cpp='$CXXCPP $CPPFLAGS'
15843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15846
15847 ac_save_CXXFLAGS="$CXXFLAGS"
15848
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851
15852 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
15853 # error "No 2-byte compare-and-swap"
15854 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
15855 # error "No 4-byte compare-and-swap"
15856 #endif
15857
15858 int
15859 main ()
15860 {
15861
15862 ;
15863 return 0;
15864 }
15865 _ACEOF
15866 if ac_fn_cxx_try_compile "$LINENO"; then :
15867 libstdcxx_atomic_lock_policy=atomic
15868 else
15869 libstdcxx_atomic_lock_policy=mutex
15870 fi
15871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15872 ac_ext=c
15873 ac_cpp='$CPP $CPPFLAGS'
15874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15877
15878 CXXFLAGS="$ac_save_CXXFLAGS"
15879 fi
15880
15881 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
15883 $as_echo "atomic" >&6; }
15884
15885 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
15886
15887 else
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
15889 $as_echo "mutex" >&6; }
15890 fi
15891
15892
15893
15894
15895 # Fake what AC_TRY_COMPILE does, without linking as this is
15896 # unnecessary for this test.
15897
15898 cat > conftest.$ac_ext << EOF
15899 #line 15899 "configure"
15900 int main()
15901 {
15902 _Decimal32 d1;
15903 _Decimal64 d2;
15904 _Decimal128 d3;
15905 return 0;
15906 }
15907 EOF
15908
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15910 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15912 (eval $ac_compile) 2>&5
15913 ac_status=$?
15914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15915 test $ac_status = 0; }; then
15916
15917 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15918
15919 enable_dfp=yes
15920 else
15921 enable_dfp=no
15922 fi
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15924 $as_echo "$enable_dfp" >&6; }
15925 rm -f conftest*
15926
15927
15928
15929
15930 ac_ext=cpp
15931 ac_cpp='$CXXCPP $CPPFLAGS'
15932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15935
15936
15937 # Fake what AC_TRY_COMPILE does, without linking as this is
15938 # unnecessary for this test.
15939
15940 cat > conftest.$ac_ext << EOF
15941 #line 15941 "configure"
15942 template<typename T1, typename T2>
15943 struct same
15944 { typedef T2 type; };
15945
15946 template<typename T>
15947 struct same<T, T>;
15948
15949 int main()
15950 {
15951 typename same<long, __int128>::type i1;
15952 typename same<long long, __int128>::type i2;
15953 }
15954 EOF
15955
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15957 $as_echo_n "checking for __int128... " >&6; }
15958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15959 (eval $ac_compile) 2>&5
15960 ac_status=$?
15961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15962 test $ac_status = 0; }; then
15963
15964 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15965
15966 enable_int128=yes
15967 else
15968 enable_int128=no
15969 fi
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15971 $as_echo "$enable_int128" >&6; }
15972 rm -f conftest*
15973
15974 cat > conftest.$ac_ext << EOF
15975 #line 15975 "configure"
15976 template<typename T1, typename T2>
15977 struct same
15978 { typedef T2 type; };
15979
15980 template<typename T>
15981 struct same<T, T>;
15982
15983 int main()
15984 {
15985 typename same<double, __float128>::type f1;
15986 typename same<long double, __float128>::type f2;
15987 }
15988 EOF
15989
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15991 $as_echo_n "checking for __float128... " >&6; }
15992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15993 (eval $ac_compile) 2>&5
15994 ac_status=$?
15995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15996 test $ac_status = 0; }; then
15997 enable_float128=yes
15998 else
15999 enable_float128=no
16000 fi
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16002 $as_echo "$enable_float128" >&6; }
16003
16004 rm -f conftest*
16005
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012
16013 if test "$enable_float128" = yes; then
16014 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16015 fi
16016
16017 # Checks for compiler support that doesn't require linking.
16018
16019 # All these tests are for C++; save the language and the compiler flags.
16020 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16021 # found in GLIBCXX_CONFIGURE.
16022
16023 ac_ext=cpp
16024 ac_cpp='$CXXCPP $CPPFLAGS'
16025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16028
16029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16030 ac_save_CXXFLAGS="$CXXFLAGS"
16031
16032 # Check for -ffunction-sections -fdata-sections
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16034 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16035 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16038 int foo; void bar() { };
16039 int
16040 main ()
16041 {
16042
16043 ;
16044 return 0;
16045 }
16046 _ACEOF
16047 if ac_fn_cxx_try_compile "$LINENO"; then :
16048 ac_fdsections=yes
16049 else
16050 ac_fdsections=no
16051 fi
16052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16053 if test "$ac_test_CXXFLAGS" = set; then
16054 CXXFLAGS="$ac_save_CXXFLAGS"
16055 else
16056 # this is the suspicious part
16057 CXXFLAGS=''
16058 fi
16059 if test x"$ac_fdsections" = x"yes"; then
16060 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16061 fi
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16063 $as_echo "$ac_fdsections" >&6; }
16064
16065 ac_ext=c
16066 ac_cpp='$CPP $CPPFLAGS'
16067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16070
16071
16072
16073
16074 # Enable all the variable C++ runtime options that don't require linking.
16075
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16077 $as_echo_n "checking for underlying I/O to use... " >&6; }
16078 # Check whether --enable-cstdio was given.
16079 if test "${enable_cstdio+set}" = set; then :
16080 enableval=$enable_cstdio;
16081 case "$enableval" in
16082 stdio) ;;
16083 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16084 esac
16085
16086 else
16087 enable_cstdio=stdio
16088 fi
16089
16090
16091
16092 # Now that libio has been removed, you can have any color you want as long
16093 # as it's black. This is one big no-op until other packages are added, but
16094 # showing the framework never hurts.
16095 case ${enable_cstdio} in
16096 stdio)
16097 CSTDIO_H=config/io/c_io_stdio.h
16098 BASIC_FILE_H=config/io/basic_file_stdio.h
16099 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16101 $as_echo "stdio" >&6; }
16102 ;;
16103 esac
16104
16105
16106
16107
16108
16109
16110 # Check whether --enable-clocale was given.
16111 if test "${enable_clocale+set}" = set; then :
16112 enableval=$enable_clocale;
16113 case "$enableval" in
16114 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16115 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16116 esac
16117
16118 else
16119 enable_clocale=auto
16120 fi
16121
16122
16123
16124 # Deal with gettext issues. Default to not using it (=no) until we detect
16125 # support for it later. Let the user turn it off via --e/d, but let that
16126 # default to on for easier handling.
16127 USE_NLS=no
16128 # Check whether --enable-nls was given.
16129 if test "${enable_nls+set}" = set; then :
16130 enableval=$enable_nls;
16131 else
16132 enable_nls=yes
16133 fi
16134
16135
16136 # Either a known package, or "auto"
16137 if test $enable_clocale = no || test $enable_clocale = yes; then
16138 enable_clocale=auto
16139 fi
16140 enable_clocale_flag=$enable_clocale
16141
16142 # Probe for locale model to use if none specified.
16143 # Default to "generic".
16144 if test $enable_clocale_flag = auto; then
16145 case ${target_os} in
16146 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16147 enable_clocale_flag=gnu
16148 ;;
16149 darwin*)
16150 enable_clocale_flag=darwin
16151 ;;
16152 dragonfly* | freebsd*)
16153 enable_clocale_flag=dragonfly
16154 ;;
16155 openbsd*)
16156 enable_clocale_flag=newlib
16157 ;;
16158 *)
16159 if test x"$with_newlib" = x"yes"; then
16160 enable_clocale_flag=newlib
16161 else
16162 enable_clocale_flag=generic
16163 fi
16164 ;;
16165 esac
16166 fi
16167
16168 # Sanity check model, and test for special functionality.
16169 if test $enable_clocale_flag = gnu; then
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16172
16173 #include <features.h>
16174 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16175 _GLIBCXX_ok
16176 #endif
16177
16178 _ACEOF
16179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16180 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16181 enable_clocale_flag=gnu
16182 else
16183 enable_clocale_flag=generic
16184 fi
16185 rm -f conftest*
16186
16187
16188 # Set it to scream when it hurts.
16189 ac_save_CFLAGS="$CFLAGS"
16190 CFLAGS="-Wimplicit-function-declaration -Werror"
16191
16192 # Use strxfrm_l if available.
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 #define _GNU_SOURCE 1
16196 #include <string.h>
16197 #include <locale.h>
16198 int
16199 main ()
16200 {
16201 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16202 ;
16203 return 0;
16204 }
16205 _ACEOF
16206 if ac_fn_c_try_compile "$LINENO"; then :
16207
16208 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16209
16210 fi
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212
16213 # Use strerror_l if available.
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #define _GNU_SOURCE 1
16217 #include <string.h>
16218 #include <locale.h>
16219 int
16220 main ()
16221 {
16222 __locale_t loc; strerror_l(5, loc);
16223 ;
16224 return 0;
16225 }
16226 _ACEOF
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228
16229 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16230
16231 fi
16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233
16234 CFLAGS="$ac_save_CFLAGS"
16235 fi
16236
16237 # Perhaps use strerror_r if available, and strerror_l isn't.
16238 ac_save_CFLAGS="$CFLAGS"
16239 CFLAGS="-Wimplicit-function-declaration -Werror"
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16242 #define _GNU_SOURCE 1
16243 #include <string.h>
16244 #include <locale.h>
16245 int
16246 main ()
16247 {
16248 char s[128]; strerror_r(5, s, 128);
16249 ;
16250 return 0;
16251 }
16252 _ACEOF
16253 if ac_fn_c_try_compile "$LINENO"; then :
16254
16255 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16256
16257 fi
16258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16259 CFLAGS="$ac_save_CFLAGS"
16260
16261 # Set configure bits for specified locale package
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16263 $as_echo_n "checking for C locale to use... " >&6; }
16264 case ${enable_clocale_flag} in
16265 generic)
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16267 $as_echo "generic" >&6; }
16268
16269 CLOCALE_H=config/locale/generic/c_locale.h
16270 CLOCALE_CC=config/locale/generic/c_locale.cc
16271 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16272 CCOLLATE_CC=config/locale/generic/collate_members.cc
16273 CCTYPE_CC=config/locale/generic/ctype_members.cc
16274 CMESSAGES_H=config/locale/generic/messages_members.h
16275 CMESSAGES_CC=config/locale/generic/messages_members.cc
16276 CMONEY_CC=config/locale/generic/monetary_members.cc
16277 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16278 CTIME_H=config/locale/generic/time_members.h
16279 CTIME_CC=config/locale/generic/time_members.cc
16280 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16281 ;;
16282 darwin)
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16284 $as_echo "darwin" >&6; }
16285
16286 CLOCALE_H=config/locale/generic/c_locale.h
16287 CLOCALE_CC=config/locale/generic/c_locale.cc
16288 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16289 CCOLLATE_CC=config/locale/generic/collate_members.cc
16290 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16291 CMESSAGES_H=config/locale/generic/messages_members.h
16292 CMESSAGES_CC=config/locale/generic/messages_members.cc
16293 CMONEY_CC=config/locale/generic/monetary_members.cc
16294 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16295 CTIME_H=config/locale/generic/time_members.h
16296 CTIME_CC=config/locale/generic/time_members.cc
16297 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16298 ;;
16299
16300 dragonfly)
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16302 $as_echo "dragonfly or freebsd" >&6; }
16303
16304 CLOCALE_H=config/locale/dragonfly/c_locale.h
16305 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16306 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16307 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16308 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16309 CMESSAGES_H=config/locale/generic/messages_members.h
16310 CMESSAGES_CC=config/locale/generic/messages_members.cc
16311 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16312 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16313 CTIME_H=config/locale/dragonfly/time_members.h
16314 CTIME_CC=config/locale/dragonfly/time_members.cc
16315 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16316 ;;
16317
16318 gnu)
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16320 $as_echo "gnu" >&6; }
16321
16322 # Declare intention to use gettext, and add support for specific
16323 # languages.
16324 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16325 ALL_LINGUAS="de fr"
16326
16327 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16328 # Extract the first word of "msgfmt", so it can be a program name with args.
16329 set dummy msgfmt; ac_word=$2
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16331 $as_echo_n "checking for $ac_word... " >&6; }
16332 if ${ac_cv_prog_check_msgfmt+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 if test -n "$check_msgfmt"; then
16336 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16337 else
16338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16339 for as_dir in $PATH
16340 do
16341 IFS=$as_save_IFS
16342 test -z "$as_dir" && as_dir=.
16343 for ac_exec_ext in '' $ac_executable_extensions; do
16344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16345 ac_cv_prog_check_msgfmt="yes"
16346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16347 break 2
16348 fi
16349 done
16350 done
16351 IFS=$as_save_IFS
16352
16353 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16354 fi
16355 fi
16356 check_msgfmt=$ac_cv_prog_check_msgfmt
16357 if test -n "$check_msgfmt"; then
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16359 $as_echo "$check_msgfmt" >&6; }
16360 else
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16362 $as_echo "no" >&6; }
16363 fi
16364
16365
16366 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16367 USE_NLS=yes
16368 fi
16369 # Export the build objects.
16370 for ling in $ALL_LINGUAS; do \
16371 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16372 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16373 done
16374
16375
16376
16377 CLOCALE_H=config/locale/gnu/c_locale.h
16378 CLOCALE_CC=config/locale/gnu/c_locale.cc
16379 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16380 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16381 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16382 CMESSAGES_H=config/locale/gnu/messages_members.h
16383 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16384 CMONEY_CC=config/locale/gnu/monetary_members.cc
16385 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16386 CTIME_H=config/locale/gnu/time_members.h
16387 CTIME_CC=config/locale/gnu/time_members.cc
16388 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16389 ;;
16390 ieee_1003.1-2001)
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16392 $as_echo "IEEE 1003.1" >&6; }
16393
16394 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16395 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16396 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16397 CCOLLATE_CC=config/locale/generic/collate_members.cc
16398 CCTYPE_CC=config/locale/generic/ctype_members.cc
16399 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16400 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16401 CMONEY_CC=config/locale/generic/monetary_members.cc
16402 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16403 CTIME_H=config/locale/generic/time_members.h
16404 CTIME_CC=config/locale/generic/time_members.cc
16405 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16406 ;;
16407 newlib)
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16409 $as_echo "newlib" >&6; }
16410
16411 CLOCALE_H=config/locale/generic/c_locale.h
16412 CLOCALE_CC=config/locale/generic/c_locale.cc
16413 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16414 CCOLLATE_CC=config/locale/generic/collate_members.cc
16415 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16416 CMESSAGES_H=config/locale/generic/messages_members.h
16417 CMESSAGES_CC=config/locale/generic/messages_members.cc
16418 CMONEY_CC=config/locale/generic/monetary_members.cc
16419 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16420 CTIME_H=config/locale/generic/time_members.h
16421 CTIME_CC=config/locale/generic/time_members.cc
16422 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16423 ;;
16424 esac
16425
16426 # This is where the testsuite looks for locale catalogs, using the
16427 # -DLOCALEDIR define during testsuite compilation.
16428 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16429
16430
16431 # A standalone libintl (e.g., GNU libintl) may be in use.
16432 if test $USE_NLS = yes; then
16433 for ac_header in libintl.h
16434 do :
16435 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16436 if test "x$ac_cv_header_libintl_h" = xyes; then :
16437 cat >>confdefs.h <<_ACEOF
16438 #define HAVE_LIBINTL_H 1
16439 _ACEOF
16440
16441 else
16442 USE_NLS=no
16443 fi
16444
16445 done
16446
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16448 $as_echo_n "checking for library containing gettext... " >&6; }
16449 if ${ac_cv_search_gettext+:} false; then :
16450 $as_echo_n "(cached) " >&6
16451 else
16452 ac_func_search_save_LIBS=$LIBS
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16459 #ifdef __cplusplus
16460 extern "C"
16461 #endif
16462 char gettext ();
16463 int
16464 main ()
16465 {
16466 return gettext ();
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 for ac_lib in '' intl; do
16472 if test -z "$ac_lib"; then
16473 ac_res="none required"
16474 else
16475 ac_res=-l$ac_lib
16476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16477 fi
16478 if test x$gcc_no_link = xyes; then
16479 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16480 fi
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_search_gettext=$ac_res
16483 fi
16484 rm -f core conftest.err conftest.$ac_objext \
16485 conftest$ac_exeext
16486 if ${ac_cv_search_gettext+:} false; then :
16487 break
16488 fi
16489 done
16490 if ${ac_cv_search_gettext+:} false; then :
16491
16492 else
16493 ac_cv_search_gettext=no
16494 fi
16495 rm conftest.$ac_ext
16496 LIBS=$ac_func_search_save_LIBS
16497 fi
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16499 $as_echo "$ac_cv_search_gettext" >&6; }
16500 ac_res=$ac_cv_search_gettext
16501 if test "$ac_res" != no; then :
16502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16503
16504 else
16505 USE_NLS=no
16506 fi
16507
16508 fi
16509 if test $USE_NLS = yes; then
16510
16511 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16512
16513 fi
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16531 $as_echo_n "checking for std::allocator base class... " >&6; }
16532 # Check whether --enable-libstdcxx-allocator was given.
16533 if test "${enable_libstdcxx_allocator+set}" = set; then :
16534 enableval=$enable_libstdcxx_allocator;
16535 case "$enableval" in
16536 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16537 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16538 esac
16539
16540 else
16541 enable_libstdcxx_allocator=auto
16542 fi
16543
16544
16545
16546 # If they didn't use this option switch, or if they specified --enable
16547 # with no specific model, we'll have to look for one. If they
16548 # specified --disable (???), do likewise.
16549 if test $enable_libstdcxx_allocator = no ||
16550 test $enable_libstdcxx_allocator = yes;
16551 then
16552 enable_libstdcxx_allocator=auto
16553 fi
16554
16555 # Either a known package, or "auto". Auto implies the default choice
16556 # for a particular platform.
16557 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16558
16559 # Probe for host-specific support if no specific model is specified.
16560 # Default to "new".
16561 if test $enable_libstdcxx_allocator_flag = auto; then
16562 case ${target_os} in
16563 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16564 enable_libstdcxx_allocator_flag=new
16565 ;;
16566 *)
16567 enable_libstdcxx_allocator_flag=new
16568 ;;
16569 esac
16570 fi
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16572 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16573
16574
16575 # Set configure bits for specified locale package
16576 case ${enable_libstdcxx_allocator_flag} in
16577 bitmap)
16578 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16579 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16580 ;;
16581 malloc)
16582 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16583 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16584 ;;
16585 mt)
16586 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16587 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16588 ;;
16589 new)
16590 ALLOCATOR_H=config/allocator/new_allocator_base.h
16591 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16592 ;;
16593 pool)
16594 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16595 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16596 ;;
16597 esac
16598
16599
16600
16601
16602
16603
16604 # Check whether --enable-cheaders was given.
16605 if test "${enable_cheaders+set}" = set; then :
16606 enableval=$enable_cheaders;
16607 case "$enableval" in
16608 c|c_std|c_global) ;;
16609 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16610 esac
16611
16612 else
16613 enable_cheaders=$c_model
16614 fi
16615
16616
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16618 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16619
16620 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16621
16622 # Allow overrides to configure.host here.
16623 if test $enable_cheaders = c_global; then
16624 c_compatibility=yes
16625 fi
16626
16627
16628
16629
16630
16631
16632
16633 # Check whether --enable-long-long was given.
16634 if test "${enable_long_long+set}" = set; then :
16635 enableval=$enable_long_long;
16636 case "$enableval" in
16637 yes|no) ;;
16638 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16639 esac
16640
16641 else
16642 enable_long_long=yes
16643 fi
16644
16645
16646 if test $enable_long_long = yes; then
16647
16648 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16649
16650 fi
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16652 $as_echo_n "checking for enabled long long specializations... " >&6; }
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16654 $as_echo "$enable_long_long" >&6; }
16655
16656
16657 # Check whether --enable-wchar_t was given.
16658 if test "${enable_wchar_t+set}" = set; then :
16659 enableval=$enable_wchar_t;
16660 case "$enableval" in
16661 yes|no) ;;
16662 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16663 esac
16664
16665 else
16666 enable_wchar_t=yes
16667 fi
16668
16669
16670
16671 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16672 for ac_header in wchar.h
16673 do :
16674 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16675 if test "x$ac_cv_header_wchar_h" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_WCHAR_H 1
16678 _ACEOF
16679 ac_has_wchar_h=yes
16680 else
16681 ac_has_wchar_h=no
16682 fi
16683
16684 done
16685
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16687 $as_echo_n "checking for mbstate_t... " >&6; }
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16690 #include <wchar.h>
16691 int
16692 main ()
16693 {
16694 mbstate_t teststate;
16695 ;
16696 return 0;
16697 }
16698 _ACEOF
16699 if ac_fn_c_try_compile "$LINENO"; then :
16700 have_mbstate_t=yes
16701 else
16702 have_mbstate_t=no
16703 fi
16704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16706 $as_echo "$have_mbstate_t" >&6; }
16707 if test x"$have_mbstate_t" = xyes; then
16708
16709 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16710
16711 fi
16712
16713 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16714 # ac_has_wchar_h.
16715 for ac_header in wctype.h
16716 do :
16717 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16718 if test "x$ac_cv_header_wctype_h" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_WCTYPE_H 1
16721 _ACEOF
16722 ac_has_wctype_h=yes
16723 else
16724 ac_has_wctype_h=no
16725 fi
16726
16727 done
16728
16729
16730 if test x"$enable_wchar_t" = x"yes"; then
16731
16732
16733 ac_ext=cpp
16734 ac_cpp='$CXXCPP $CPPFLAGS'
16735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16738
16739
16740 if test x"$ac_has_wchar_h" = xyes &&
16741 test x"$ac_has_wctype_h" = xyes; then
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <wchar.h>
16745 #include <stddef.h>
16746 wint_t i;
16747 long l = WEOF;
16748 long j = WCHAR_MIN;
16749 long k = WCHAR_MAX;
16750 namespace test
16751 {
16752 using ::btowc;
16753 using ::fgetwc;
16754 using ::fgetws;
16755 using ::fputwc;
16756 using ::fputws;
16757 using ::fwide;
16758 using ::fwprintf;
16759 using ::fwscanf;
16760 using ::getwc;
16761 using ::getwchar;
16762 using ::mbrlen;
16763 using ::mbrtowc;
16764 using ::mbsinit;
16765 using ::mbsrtowcs;
16766 using ::putwc;
16767 using ::putwchar;
16768 using ::swprintf;
16769 using ::swscanf;
16770 using ::ungetwc;
16771 using ::vfwprintf;
16772 using ::vswprintf;
16773 using ::vwprintf;
16774 using ::wcrtomb;
16775 using ::wcscat;
16776 using ::wcschr;
16777 using ::wcscmp;
16778 using ::wcscoll;
16779 using ::wcscpy;
16780 using ::wcscspn;
16781 using ::wcsftime;
16782 using ::wcslen;
16783 using ::wcsncat;
16784 using ::wcsncmp;
16785 using ::wcsncpy;
16786 using ::wcspbrk;
16787 using ::wcsrchr;
16788 using ::wcsrtombs;
16789 using ::wcsspn;
16790 using ::wcsstr;
16791 using ::wcstod;
16792 using ::wcstok;
16793 using ::wcstol;
16794 using ::wcstoul;
16795 using ::wcsxfrm;
16796 using ::wctob;
16797 using ::wmemchr;
16798 using ::wmemcmp;
16799 using ::wmemcpy;
16800 using ::wmemmove;
16801 using ::wmemset;
16802 using ::wprintf;
16803 using ::wscanf;
16804 }
16805
16806 int
16807 main ()
16808 {
16809
16810 ;
16811 return 0;
16812 }
16813 _ACEOF
16814 if ac_fn_cxx_try_compile "$LINENO"; then :
16815
16816 else
16817 enable_wchar_t=no
16818 fi
16819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16820 else
16821 enable_wchar_t=no
16822 fi
16823
16824 ac_ext=c
16825 ac_cpp='$CPP $CPPFLAGS'
16826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16829
16830 fi
16831
16832 if test x"$enable_wchar_t" = x"yes"; then
16833
16834 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16835
16836 fi
16837
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16839 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16841 $as_echo "$enable_wchar_t" >&6; }
16842
16843
16844
16845 # Check whether --enable-c99 was given.
16846 if test "${enable_c99+set}" = set; then :
16847 enableval=$enable_c99;
16848 case "$enableval" in
16849 yes|no) ;;
16850 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16851 esac
16852
16853 else
16854 enable_c99=yes
16855 fi
16856
16857
16858
16859 if test x"$enable_c99" = x"yes"; then
16860
16861 ac_ext=cpp
16862 ac_cpp='$CXXCPP $CPPFLAGS'
16863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16866
16867
16868 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16869 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16870 # to be spuriously enabled.
16871 ac_save_CXXFLAGS="$CXXFLAGS"
16872 CXXFLAGS="$CXXFLAGS -std=c++98"
16873 ac_save_LIBS="$LIBS"
16874 ac_save_gcc_no_link="$gcc_no_link"
16875
16876 if test x$gcc_no_link != xyes; then
16877 # Use -fno-exceptions to that the C driver can link these tests without
16878 # hitting undefined references to personality routines.
16879 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16881 $as_echo_n "checking for sin in -lm... " >&6; }
16882 if ${ac_cv_lib_m_sin+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 ac_check_lib_save_LIBS=$LIBS
16886 LIBS="-lm $LIBS"
16887 if test x$gcc_no_link = xyes; then
16888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 fi
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16892
16893 /* Override any GCC internal prototype to avoid an error.
16894 Use char because int might match the return type of a GCC
16895 builtin and then its argument prototype would still apply. */
16896 #ifdef __cplusplus
16897 extern "C"
16898 #endif
16899 char sin ();
16900 int
16901 main ()
16902 {
16903 return sin ();
16904 ;
16905 return 0;
16906 }
16907 _ACEOF
16908 if ac_fn_cxx_try_link "$LINENO"; then :
16909 ac_cv_lib_m_sin=yes
16910 else
16911 ac_cv_lib_m_sin=no
16912 fi
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16916 fi
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16918 $as_echo "$ac_cv_lib_m_sin" >&6; }
16919 if test "x$ac_cv_lib_m_sin" = xyes; then :
16920 LIBS="$LIBS -lm"
16921 else
16922
16923 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16924 gcc_no_link=yes
16925
16926 fi
16927
16928 fi
16929
16930 # Check for the existence of <math.h> functions used if C99 is enabled.
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16932 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16933 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936
16937 if test x$gcc_no_link = xyes; then
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #include <math.h>
16941 volatile double d1, d2;
16942 volatile int i;
16943 int
16944 main ()
16945 {
16946 i = fpclassify(d1);
16947 i = isfinite(d1);
16948 i = isinf(d1);
16949 i = isnan(d1);
16950 i = isnormal(d1);
16951 i = signbit(d1);
16952 i = isgreater(d1, d2);
16953 i = isgreaterequal(d1, d2);
16954 i = isless(d1, d2);
16955 i = islessequal(d1, d2);
16956 i = islessgreater(d1, d2);
16957 i = islessgreater(d1, d2);
16958 i = isunordered(d1, d2);
16959
16960 ;
16961 return 0;
16962 }
16963 _ACEOF
16964 if ac_fn_cxx_try_compile "$LINENO"; then :
16965 glibcxx_cv_c99_math_cxx98=yes
16966 else
16967 glibcxx_cv_c99_math_cxx98=no
16968 fi
16969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 else
16971 if test x$gcc_no_link = xyes; then
16972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16973 fi
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976 #include <math.h>
16977 volatile double d1, d2;
16978 volatile int i;
16979 int
16980 main ()
16981 {
16982 i = fpclassify(d1);
16983 i = isfinite(d1);
16984 i = isinf(d1);
16985 i = isnan(d1);
16986 i = isnormal(d1);
16987 i = signbit(d1);
16988 i = isgreater(d1, d2);
16989 i = isgreaterequal(d1, d2);
16990 i = isless(d1, d2);
16991 i = islessequal(d1, d2);
16992 i = islessgreater(d1, d2);
16993 i = islessgreater(d1, d2);
16994 i = isunordered(d1, d2);
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 if ac_fn_cxx_try_link "$LINENO"; then :
17001 glibcxx_cv_c99_math_cxx98=yes
17002 else
17003 glibcxx_cv_c99_math_cxx98=no
17004 fi
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17007 fi
17008
17009 fi
17010
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17012 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17013 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17014
17015 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17016
17017 fi
17018
17019 # Check for the existence of <complex.h> complex math functions.
17020 # This is necessary even though libstdc++ uses the builtin versions
17021 # of these functions, because if the builtin cannot be used, a reference
17022 # to the library function is emitted.
17023 for ac_header in tgmath.h
17024 do :
17025 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17026 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_TGMATH_H 1
17029 _ACEOF
17030 ac_has_tgmath_h=yes
17031 else
17032 ac_has_tgmath_h=no
17033 fi
17034
17035 done
17036
17037 for ac_header in complex.h
17038 do :
17039 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17040 if test "x$ac_cv_header_complex_h" = xyes; then :
17041 cat >>confdefs.h <<_ACEOF
17042 #define HAVE_COMPLEX_H 1
17043 _ACEOF
17044 ac_has_complex_h=yes
17045 else
17046 ac_has_complex_h=no
17047 fi
17048
17049 done
17050
17051 if test x"$ac_has_complex_h" = x"yes"; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17053 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17054 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057
17058 if test x$gcc_no_link = xyes; then
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #include <complex.h>
17062 typedef __complex__ float float_type;
17063 typedef __complex__ double double_type;
17064 typedef __complex__ long double ld_type;
17065 volatile float_type tmpf;
17066 volatile double_type tmpd;
17067 volatile ld_type tmpld;
17068 volatile float f;
17069 volatile double d;
17070 volatile long double ld;
17071 int
17072 main ()
17073 {
17074 f = cabsf(tmpf);
17075 f = cargf(tmpf);
17076 tmpf = ccosf(tmpf);
17077 tmpf = ccoshf(tmpf);
17078 tmpf = cexpf(tmpf);
17079 tmpf = clogf(tmpf);
17080 tmpf = csinf(tmpf);
17081 tmpf = csinhf(tmpf);
17082 tmpf = csqrtf(tmpf);
17083 tmpf = ctanf(tmpf);
17084 tmpf = ctanhf(tmpf);
17085 tmpf = cpowf(tmpf, tmpf);
17086 tmpf = cprojf(tmpf);
17087 d = cabs(tmpd);
17088 d = carg(tmpd);
17089 tmpd = ccos(tmpd);
17090 tmpd = ccosh(tmpd);
17091 tmpd = cexp(tmpd);
17092 tmpd = clog(tmpd);
17093 tmpd = csin(tmpd);
17094 tmpd = csinh(tmpd);
17095 tmpd = csqrt(tmpd);
17096 tmpd = ctan(tmpd);
17097 tmpd = ctanh(tmpd);
17098 tmpd = cpow(tmpd, tmpd);
17099 tmpd = cproj(tmpd);
17100 ld = cabsl(tmpld);
17101 ld = cargl(tmpld);
17102 tmpld = ccosl(tmpld);
17103 tmpld = ccoshl(tmpld);
17104 tmpld = cexpl(tmpld);
17105 tmpld = clogl(tmpld);
17106 tmpld = csinl(tmpld);
17107 tmpld = csinhl(tmpld);
17108 tmpld = csqrtl(tmpld);
17109 tmpld = ctanl(tmpld);
17110 tmpld = ctanhl(tmpld);
17111 tmpld = cpowl(tmpld, tmpld);
17112 tmpld = cprojl(tmpld);
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17119 glibcxx_cv_c99_complex_cxx98=yes
17120 else
17121 glibcxx_cv_c99_complex_cxx98=no
17122 fi
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 else
17125 if test x$gcc_no_link = xyes; then
17126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17127 fi
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 #include <complex.h>
17131 typedef __complex__ float float_type;
17132 typedef __complex__ double double_type;
17133 typedef __complex__ long double ld_type;
17134 volatile float_type tmpf;
17135 volatile double_type tmpd;
17136 volatile ld_type tmpld;
17137 volatile float f;
17138 volatile double d;
17139 volatile long double ld;
17140 int
17141 main ()
17142 {
17143 f = cabsf(tmpf);
17144 f = cargf(tmpf);
17145 tmpf = ccosf(tmpf);
17146 tmpf = ccoshf(tmpf);
17147 tmpf = cexpf(tmpf);
17148 tmpf = clogf(tmpf);
17149 tmpf = csinf(tmpf);
17150 tmpf = csinhf(tmpf);
17151 tmpf = csqrtf(tmpf);
17152 tmpf = ctanf(tmpf);
17153 tmpf = ctanhf(tmpf);
17154 tmpf = cpowf(tmpf, tmpf);
17155 tmpf = cprojf(tmpf);
17156 d = cabs(tmpd);
17157 d = carg(tmpd);
17158 tmpd = ccos(tmpd);
17159 tmpd = ccosh(tmpd);
17160 tmpd = cexp(tmpd);
17161 tmpd = clog(tmpd);
17162 tmpd = csin(tmpd);
17163 tmpd = csinh(tmpd);
17164 tmpd = csqrt(tmpd);
17165 tmpd = ctan(tmpd);
17166 tmpd = ctanh(tmpd);
17167 tmpd = cpow(tmpd, tmpd);
17168 tmpd = cproj(tmpd);
17169 ld = cabsl(tmpld);
17170 ld = cargl(tmpld);
17171 tmpld = ccosl(tmpld);
17172 tmpld = ccoshl(tmpld);
17173 tmpld = cexpl(tmpld);
17174 tmpld = clogl(tmpld);
17175 tmpld = csinl(tmpld);
17176 tmpld = csinhl(tmpld);
17177 tmpld = csqrtl(tmpld);
17178 tmpld = ctanl(tmpld);
17179 tmpld = ctanhl(tmpld);
17180 tmpld = cpowl(tmpld, tmpld);
17181 tmpld = cprojl(tmpld);
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 if ac_fn_cxx_try_link "$LINENO"; then :
17188 glibcxx_cv_c99_complex_cxx98=yes
17189 else
17190 glibcxx_cv_c99_complex_cxx98=no
17191 fi
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 fi
17195
17196 fi
17197
17198 fi
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17200 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17201 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17202
17203 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17204
17205 fi
17206
17207 # Check for the existence in <stdio.h> of vscanf, et. al.
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17209 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17210 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213
17214 if test x$gcc_no_link = xyes; then
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 #include <stdio.h>
17218 #include <stdarg.h>
17219 void foo(char* fmt, ...)
17220 {
17221 va_list args; va_start(args, fmt);
17222 vfscanf(stderr, "%i", args);
17223 vscanf("%i", args);
17224 vsnprintf(fmt, 0, "%i", args);
17225 vsscanf(fmt, "%i", args);
17226 snprintf(fmt, 0, "%i");
17227 }
17228 int
17229 main ()
17230 {
17231
17232 ;
17233 return 0;
17234 }
17235 _ACEOF
17236 if ac_fn_cxx_try_compile "$LINENO"; then :
17237 glibcxx_cv_c99_stdio_cxx98=yes
17238 else
17239 glibcxx_cv_c99_stdio_cxx98=no
17240 fi
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17242 else
17243 if test x$gcc_no_link = xyes; then
17244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17245 fi
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #include <stdio.h>
17249 #include <stdarg.h>
17250 void foo(char* fmt, ...)
17251 {
17252 va_list args; va_start(args, fmt);
17253 vfscanf(stderr, "%i", args);
17254 vscanf("%i", args);
17255 vsnprintf(fmt, 0, "%i", args);
17256 vsscanf(fmt, "%i", args);
17257 snprintf(fmt, 0, "%i");
17258 }
17259 int
17260 main ()
17261 {
17262
17263 ;
17264 return 0;
17265 }
17266 _ACEOF
17267 if ac_fn_cxx_try_link "$LINENO"; then :
17268 glibcxx_cv_c99_stdio_cxx98=yes
17269 else
17270 glibcxx_cv_c99_stdio_cxx98=no
17271 fi
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 fi
17275
17276 fi
17277
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17279 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17280 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17281
17282 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17283
17284 fi
17285
17286 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17288 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17289 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292
17293 if test x$gcc_no_link = xyes; then
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #include <stdlib.h>
17297 volatile float f;
17298 volatile long double ld;
17299 volatile unsigned long long ll;
17300 lldiv_t mydivt;
17301 int
17302 main ()
17303 {
17304 char* tmp;
17305 f = strtof("gnu", &tmp);
17306 ld = strtold("gnu", &tmp);
17307 ll = strtoll("gnu", &tmp, 10);
17308 ll = strtoull("gnu", &tmp, 10);
17309 ll = llabs(10);
17310 mydivt = lldiv(10,1);
17311 ll = mydivt.quot;
17312 ll = mydivt.rem;
17313 ll = atoll("10");
17314 _Exit(0);
17315
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_cxx_try_compile "$LINENO"; then :
17321 glibcxx_cv_c99_stdlib_cxx98=yes
17322 else
17323 glibcxx_cv_c99_stdlib_cxx98=no
17324 fi
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 else
17327 if test x$gcc_no_link = xyes; then
17328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17329 fi
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #include <stdlib.h>
17333 volatile float f;
17334 volatile long double ld;
17335 volatile unsigned long long ll;
17336 lldiv_t mydivt;
17337 int
17338 main ()
17339 {
17340 char* tmp;
17341 f = strtof("gnu", &tmp);
17342 ld = strtold("gnu", &tmp);
17343 ll = strtoll("gnu", &tmp, 10);
17344 ll = strtoull("gnu", &tmp, 10);
17345 ll = llabs(10);
17346 mydivt = lldiv(10,1);
17347 ll = mydivt.quot;
17348 ll = mydivt.rem;
17349 ll = atoll("10");
17350 _Exit(0);
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 if ac_fn_cxx_try_link "$LINENO"; then :
17357 glibcxx_cv_c99_stdlib_cxx98=yes
17358 else
17359 glibcxx_cv_c99_stdlib_cxx98=no
17360 fi
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17363 fi
17364
17365 fi
17366
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17368 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17369 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17370
17371 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17372
17373 fi
17374
17375 # Check for the existence in <wchar.h> of wcstold, etc.
17376 if test x"$ac_has_wchar_h" = xyes &&
17377 test x"$ac_has_wctype_h" = xyes; then
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17379 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17380 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #include <wchar.h>
17387 namespace test
17388 {
17389 using ::wcstold;
17390 using ::wcstoll;
17391 using ::wcstoull;
17392 }
17393
17394 int
17395 main ()
17396 {
17397
17398 ;
17399 return 0;
17400 }
17401 _ACEOF
17402 if ac_fn_cxx_try_compile "$LINENO"; then :
17403 glibcxx_cv_c99_wchar_cxx98=yes
17404 else
17405 glibcxx_cv_c99_wchar_cxx98=no
17406 fi
17407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17408
17409 fi
17410
17411
17412 # Checks for wide character functions that may not be present.
17413 # Injection of these is wrapped with guard macros.
17414 # NB: only put functions here, instead of immediately above, if
17415 # absolutely necessary.
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #include <wchar.h>
17419 namespace test { using ::vfwscanf; }
17420 int
17421 main ()
17422 {
17423
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 if ac_fn_cxx_try_compile "$LINENO"; then :
17429
17430 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17431
17432 fi
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #include <wchar.h>
17438 namespace test { using ::vswscanf; }
17439 int
17440 main ()
17441 {
17442
17443 ;
17444 return 0;
17445 }
17446 _ACEOF
17447 if ac_fn_cxx_try_compile "$LINENO"; then :
17448
17449 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17450
17451 fi
17452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #include <wchar.h>
17457 namespace test { using ::vwscanf; }
17458 int
17459 main ()
17460 {
17461
17462 ;
17463 return 0;
17464 }
17465 _ACEOF
17466 if ac_fn_cxx_try_compile "$LINENO"; then :
17467
17468 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17469
17470 fi
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <wchar.h>
17476 namespace test { using ::wcstof; }
17477 int
17478 main ()
17479 {
17480
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_cxx_try_compile "$LINENO"; then :
17486
17487 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17488
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #include <wctype.h>
17495 int
17496 main ()
17497 {
17498 wint_t t; int i = iswblank(t);
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 if ac_fn_cxx_try_compile "$LINENO"; then :
17504
17505 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17506
17507 fi
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17511 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17512 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17513
17514 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17515
17516 fi
17517 fi
17518
17519 # Option parsed, now set things appropriately.
17520 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17521 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17522 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17523 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17524 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17525 enable_c99=no;
17526 else
17527
17528 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17529
17530 fi
17531
17532 gcc_no_link="$ac_save_gcc_no_link"
17533 LIBS="$ac_save_LIBS"
17534 CXXFLAGS="$ac_save_CXXFLAGS"
17535 ac_ext=c
17536 ac_cpp='$CPP $CPPFLAGS'
17537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540
17541
17542
17543 ac_ext=cpp
17544 ac_cpp='$CXXCPP $CPPFLAGS'
17545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17548
17549
17550 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17551 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17552 ac_save_CXXFLAGS="$CXXFLAGS"
17553 CXXFLAGS="$CXXFLAGS -std=c++11"
17554 ac_save_LIBS="$LIBS"
17555 ac_save_gcc_no_link="$gcc_no_link"
17556
17557 if test x$gcc_no_link != xyes; then
17558 # Use -fno-exceptions to that the C driver can link these tests without
17559 # hitting undefined references to personality routines.
17560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17562 $as_echo_n "checking for sin in -lm... " >&6; }
17563 if ${ac_cv_lib_m_sin+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_check_lib_save_LIBS=$LIBS
17567 LIBS="-lm $LIBS"
17568 if test x$gcc_no_link = xyes; then
17569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17570 fi
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573
17574 /* Override any GCC internal prototype to avoid an error.
17575 Use char because int might match the return type of a GCC
17576 builtin and then its argument prototype would still apply. */
17577 #ifdef __cplusplus
17578 extern "C"
17579 #endif
17580 char sin ();
17581 int
17582 main ()
17583 {
17584 return sin ();
17585 ;
17586 return 0;
17587 }
17588 _ACEOF
17589 if ac_fn_cxx_try_link "$LINENO"; then :
17590 ac_cv_lib_m_sin=yes
17591 else
17592 ac_cv_lib_m_sin=no
17593 fi
17594 rm -f core conftest.err conftest.$ac_objext \
17595 conftest$ac_exeext conftest.$ac_ext
17596 LIBS=$ac_check_lib_save_LIBS
17597 fi
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17599 $as_echo "$ac_cv_lib_m_sin" >&6; }
17600 if test "x$ac_cv_lib_m_sin" = xyes; then :
17601 LIBS="$LIBS -lm"
17602 else
17603
17604 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17605 gcc_no_link=yes
17606
17607 fi
17608
17609 fi
17610
17611 # Check for the existence of <math.h> functions used if C99 is enabled.
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17613 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17614 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617
17618 if test x$gcc_no_link = xyes; then
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #include <math.h>
17622 volatile double d1, d2;
17623 volatile int i;
17624 int
17625 main ()
17626 {
17627 i = fpclassify(d1);
17628 i = isfinite(d1);
17629 i = isinf(d1);
17630 i = isnan(d1);
17631 i = isnormal(d1);
17632 i = signbit(d1);
17633 i = isgreater(d1, d2);
17634 i = isgreaterequal(d1, d2);
17635 i = isless(d1, d2);
17636 i = islessequal(d1, d2);
17637 i = islessgreater(d1, d2);
17638 i = islessgreater(d1, d2);
17639 i = isunordered(d1, d2);
17640
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 if ac_fn_cxx_try_compile "$LINENO"; then :
17646 glibcxx_cv_c99_math_cxx11=yes
17647 else
17648 glibcxx_cv_c99_math_cxx11=no
17649 fi
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 else
17652 if test x$gcc_no_link = xyes; then
17653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17654 fi
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <math.h>
17658 volatile double d1, d2;
17659 volatile int i;
17660 int
17661 main ()
17662 {
17663 i = fpclassify(d1);
17664 i = isfinite(d1);
17665 i = isinf(d1);
17666 i = isnan(d1);
17667 i = isnormal(d1);
17668 i = signbit(d1);
17669 i = isgreater(d1, d2);
17670 i = isgreaterequal(d1, d2);
17671 i = isless(d1, d2);
17672 i = islessequal(d1, d2);
17673 i = islessgreater(d1, d2);
17674 i = islessgreater(d1, d2);
17675 i = isunordered(d1, d2);
17676
17677 ;
17678 return 0;
17679 }
17680 _ACEOF
17681 if ac_fn_cxx_try_link "$LINENO"; then :
17682 glibcxx_cv_c99_math_cxx11=yes
17683 else
17684 glibcxx_cv_c99_math_cxx11=no
17685 fi
17686 rm -f core conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17688 fi
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17693 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17694 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17695
17696 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17697
17698 fi
17699
17700 # Check for the existence of <complex.h> complex math functions.
17701 # This is necessary even though libstdc++ uses the builtin versions
17702 # of these functions, because if the builtin cannot be used, a reference
17703 # to the library function is emitted.
17704 for ac_header in tgmath.h
17705 do :
17706 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17707 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17708 cat >>confdefs.h <<_ACEOF
17709 #define HAVE_TGMATH_H 1
17710 _ACEOF
17711 ac_has_tgmath_h=yes
17712 else
17713 ac_has_tgmath_h=no
17714 fi
17715
17716 done
17717
17718 for ac_header in complex.h
17719 do :
17720 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17721 if test "x$ac_cv_header_complex_h" = xyes; then :
17722 cat >>confdefs.h <<_ACEOF
17723 #define HAVE_COMPLEX_H 1
17724 _ACEOF
17725 ac_has_complex_h=yes
17726 else
17727 ac_has_complex_h=no
17728 fi
17729
17730 done
17731
17732 if test x"$ac_has_complex_h" = x"yes"; then
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17734 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17735 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738
17739 if test x$gcc_no_link = xyes; then
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 #include <complex.h>
17743 typedef __complex__ float float_type;
17744 typedef __complex__ double double_type;
17745 typedef __complex__ long double ld_type;
17746 volatile float_type tmpf;
17747 volatile double_type tmpd;
17748 volatile ld_type tmpld;
17749 volatile float f;
17750 volatile double d;
17751 volatile long double ld;
17752 int
17753 main ()
17754 {
17755 f = cabsf(tmpf);
17756 f = cargf(tmpf);
17757 tmpf = ccosf(tmpf);
17758 tmpf = ccoshf(tmpf);
17759 tmpf = cexpf(tmpf);
17760 tmpf = clogf(tmpf);
17761 tmpf = csinf(tmpf);
17762 tmpf = csinhf(tmpf);
17763 tmpf = csqrtf(tmpf);
17764 tmpf = ctanf(tmpf);
17765 tmpf = ctanhf(tmpf);
17766 tmpf = cpowf(tmpf, tmpf);
17767 tmpf = cprojf(tmpf);
17768 d = cabs(tmpd);
17769 d = carg(tmpd);
17770 tmpd = ccos(tmpd);
17771 tmpd = ccosh(tmpd);
17772 tmpd = cexp(tmpd);
17773 tmpd = clog(tmpd);
17774 tmpd = csin(tmpd);
17775 tmpd = csinh(tmpd);
17776 tmpd = csqrt(tmpd);
17777 tmpd = ctan(tmpd);
17778 tmpd = ctanh(tmpd);
17779 tmpd = cpow(tmpd, tmpd);
17780 tmpd = cproj(tmpd);
17781 ld = cabsl(tmpld);
17782 ld = cargl(tmpld);
17783 tmpld = ccosl(tmpld);
17784 tmpld = ccoshl(tmpld);
17785 tmpld = cexpl(tmpld);
17786 tmpld = clogl(tmpld);
17787 tmpld = csinl(tmpld);
17788 tmpld = csinhl(tmpld);
17789 tmpld = csqrtl(tmpld);
17790 tmpld = ctanl(tmpld);
17791 tmpld = ctanhl(tmpld);
17792 tmpld = cpowl(tmpld, tmpld);
17793 tmpld = cprojl(tmpld);
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17800 glibcxx_cv_c99_complex_cxx11=yes
17801 else
17802 glibcxx_cv_c99_complex_cxx11=no
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 else
17806 if test x$gcc_no_link = xyes; then
17807 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808 fi
17809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17811 #include <complex.h>
17812 typedef __complex__ float float_type;
17813 typedef __complex__ double double_type;
17814 typedef __complex__ long double ld_type;
17815 volatile float_type tmpf;
17816 volatile double_type tmpd;
17817 volatile ld_type tmpld;
17818 volatile float f;
17819 volatile double d;
17820 volatile long double ld;
17821 int
17822 main ()
17823 {
17824 f = cabsf(tmpf);
17825 f = cargf(tmpf);
17826 tmpf = ccosf(tmpf);
17827 tmpf = ccoshf(tmpf);
17828 tmpf = cexpf(tmpf);
17829 tmpf = clogf(tmpf);
17830 tmpf = csinf(tmpf);
17831 tmpf = csinhf(tmpf);
17832 tmpf = csqrtf(tmpf);
17833 tmpf = ctanf(tmpf);
17834 tmpf = ctanhf(tmpf);
17835 tmpf = cpowf(tmpf, tmpf);
17836 tmpf = cprojf(tmpf);
17837 d = cabs(tmpd);
17838 d = carg(tmpd);
17839 tmpd = ccos(tmpd);
17840 tmpd = ccosh(tmpd);
17841 tmpd = cexp(tmpd);
17842 tmpd = clog(tmpd);
17843 tmpd = csin(tmpd);
17844 tmpd = csinh(tmpd);
17845 tmpd = csqrt(tmpd);
17846 tmpd = ctan(tmpd);
17847 tmpd = ctanh(tmpd);
17848 tmpd = cpow(tmpd, tmpd);
17849 tmpd = cproj(tmpd);
17850 ld = cabsl(tmpld);
17851 ld = cargl(tmpld);
17852 tmpld = ccosl(tmpld);
17853 tmpld = ccoshl(tmpld);
17854 tmpld = cexpl(tmpld);
17855 tmpld = clogl(tmpld);
17856 tmpld = csinl(tmpld);
17857 tmpld = csinhl(tmpld);
17858 tmpld = csqrtl(tmpld);
17859 tmpld = ctanl(tmpld);
17860 tmpld = ctanhl(tmpld);
17861 tmpld = cpowl(tmpld, tmpld);
17862 tmpld = cprojl(tmpld);
17863
17864 ;
17865 return 0;
17866 }
17867 _ACEOF
17868 if ac_fn_cxx_try_link "$LINENO"; then :
17869 glibcxx_cv_c99_complex_cxx11=yes
17870 else
17871 glibcxx_cv_c99_complex_cxx11=no
17872 fi
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 fi
17876
17877 fi
17878
17879 fi
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17881 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17882 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17883
17884 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17885
17886 fi
17887
17888 # Check for the existence in <stdio.h> of vscanf, et. al.
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17890 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17891 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17892 $as_echo_n "(cached) " >&6
17893 else
17894
17895 if test x$gcc_no_link = xyes; then
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <stdio.h>
17899 #include <stdarg.h>
17900 void foo(char* fmt, ...)
17901 {
17902 va_list args; va_start(args, fmt);
17903 vfscanf(stderr, "%i", args);
17904 vscanf("%i", args);
17905 vsnprintf(fmt, 0, "%i", args);
17906 vsscanf(fmt, "%i", args);
17907 snprintf(fmt, 0, "%i");
17908 }
17909 int
17910 main ()
17911 {
17912
17913 ;
17914 return 0;
17915 }
17916 _ACEOF
17917 if ac_fn_cxx_try_compile "$LINENO"; then :
17918 glibcxx_cv_c99_stdio_cxx11=yes
17919 else
17920 glibcxx_cv_c99_stdio_cxx11=no
17921 fi
17922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 else
17924 if test x$gcc_no_link = xyes; then
17925 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17926 fi
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <stdio.h>
17930 #include <stdarg.h>
17931 void foo(char* fmt, ...)
17932 {
17933 va_list args; va_start(args, fmt);
17934 vfscanf(stderr, "%i", args);
17935 vscanf("%i", args);
17936 vsnprintf(fmt, 0, "%i", args);
17937 vsscanf(fmt, "%i", args);
17938 snprintf(fmt, 0, "%i");
17939 }
17940 int
17941 main ()
17942 {
17943
17944 ;
17945 return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_cxx_try_link "$LINENO"; then :
17949 glibcxx_cv_c99_stdio_cxx11=yes
17950 else
17951 glibcxx_cv_c99_stdio_cxx11=no
17952 fi
17953 rm -f core conftest.err conftest.$ac_objext \
17954 conftest$ac_exeext conftest.$ac_ext
17955 fi
17956
17957 fi
17958
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17960 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17961 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17962
17963 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17964
17965 fi
17966
17967 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17969 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17970 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973
17974 if test x$gcc_no_link = xyes; then
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <stdlib.h>
17978 volatile float f;
17979 volatile long double ld;
17980 volatile unsigned long long ll;
17981 lldiv_t mydivt;
17982 int
17983 main ()
17984 {
17985 char* tmp;
17986 f = strtof("gnu", &tmp);
17987 ld = strtold("gnu", &tmp);
17988 ll = strtoll("gnu", &tmp, 10);
17989 ll = strtoull("gnu", &tmp, 10);
17990 ll = llabs(10);
17991 mydivt = lldiv(10,1);
17992 ll = mydivt.quot;
17993 ll = mydivt.rem;
17994 ll = atoll("10");
17995 _Exit(0);
17996
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 if ac_fn_cxx_try_compile "$LINENO"; then :
18002 glibcxx_cv_c99_stdlib_cxx11=yes
18003 else
18004 glibcxx_cv_c99_stdlib_cxx11=no
18005 fi
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 else
18008 if test x$gcc_no_link = xyes; then
18009 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18010 fi
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #include <stdlib.h>
18014 volatile float f;
18015 volatile long double ld;
18016 volatile unsigned long long ll;
18017 lldiv_t mydivt;
18018 int
18019 main ()
18020 {
18021 char* tmp;
18022 f = strtof("gnu", &tmp);
18023 ld = strtold("gnu", &tmp);
18024 ll = strtoll("gnu", &tmp, 10);
18025 ll = strtoull("gnu", &tmp, 10);
18026 ll = llabs(10);
18027 mydivt = lldiv(10,1);
18028 ll = mydivt.quot;
18029 ll = mydivt.rem;
18030 ll = atoll("10");
18031 _Exit(0);
18032
18033 ;
18034 return 0;
18035 }
18036 _ACEOF
18037 if ac_fn_cxx_try_link "$LINENO"; then :
18038 glibcxx_cv_c99_stdlib_cxx11=yes
18039 else
18040 glibcxx_cv_c99_stdlib_cxx11=no
18041 fi
18042 rm -f core conftest.err conftest.$ac_objext \
18043 conftest$ac_exeext conftest.$ac_ext
18044 fi
18045
18046 fi
18047
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18049 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18050 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18051
18052 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18053
18054 fi
18055
18056 # Check for the existence in <wchar.h> of wcstold, etc.
18057 if test x"$ac_has_wchar_h" = xyes &&
18058 test x"$ac_has_wctype_h" = xyes; then
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18060 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18061 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18064
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 #include <wchar.h>
18068 namespace test
18069 {
18070 using ::wcstold;
18071 using ::wcstoll;
18072 using ::wcstoull;
18073 }
18074
18075 int
18076 main ()
18077 {
18078
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 if ac_fn_cxx_try_compile "$LINENO"; then :
18084 glibcxx_cv_c99_wchar_cxx11=yes
18085 else
18086 glibcxx_cv_c99_wchar_cxx11=no
18087 fi
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089
18090 fi
18091
18092
18093 # Checks for wide character functions that may not be present.
18094 # Injection of these is wrapped with guard macros.
18095 # NB: only put functions here, instead of immediately above, if
18096 # absolutely necessary.
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18099 #include <wchar.h>
18100 namespace test { using ::vfwscanf; }
18101 int
18102 main ()
18103 {
18104
18105 ;
18106 return 0;
18107 }
18108 _ACEOF
18109 if ac_fn_cxx_try_compile "$LINENO"; then :
18110
18111 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18112
18113 fi
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <wchar.h>
18119 namespace test { using ::vswscanf; }
18120 int
18121 main ()
18122 {
18123
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 if ac_fn_cxx_try_compile "$LINENO"; then :
18129
18130 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18131
18132 fi
18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18137 #include <wchar.h>
18138 namespace test { using ::vwscanf; }
18139 int
18140 main ()
18141 {
18142
18143 ;
18144 return 0;
18145 }
18146 _ACEOF
18147 if ac_fn_cxx_try_compile "$LINENO"; then :
18148
18149 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18150
18151 fi
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <wchar.h>
18157 namespace test { using ::wcstof; }
18158 int
18159 main ()
18160 {
18161
18162 ;
18163 return 0;
18164 }
18165 _ACEOF
18166 if ac_fn_cxx_try_compile "$LINENO"; then :
18167
18168 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18169
18170 fi
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18175 #include <wctype.h>
18176 int
18177 main ()
18178 {
18179 wint_t t; int i = iswblank(t);
18180 ;
18181 return 0;
18182 }
18183 _ACEOF
18184 if ac_fn_cxx_try_compile "$LINENO"; then :
18185
18186 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18187
18188 fi
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18192 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18193 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18194
18195 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18196
18197 fi
18198 fi
18199
18200 gcc_no_link="$ac_save_gcc_no_link"
18201 LIBS="$ac_save_LIBS"
18202 CXXFLAGS="$ac_save_CXXFLAGS"
18203 ac_ext=c
18204 ac_cpp='$CPP $CPPFLAGS'
18205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18208
18209 fi
18210
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18212 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18214 $as_echo "$enable_c99" >&6; }
18215
18216
18217 # Check whether --enable-concept-checks was given.
18218 if test "${enable_concept_checks+set}" = set; then :
18219 enableval=$enable_concept_checks;
18220 case "$enableval" in
18221 yes|no) ;;
18222 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18223 esac
18224
18225 else
18226 enable_concept_checks=no
18227 fi
18228
18229
18230 if test $enable_concept_checks = yes; then
18231
18232 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18233
18234 fi
18235
18236
18237 # Check whether --enable-libstdcxx-debug-flags was given.
18238 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18239 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18240 xno | x) enable_libstdcxx_debug_flags= ;;
18241 x-*) ;;
18242 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18243 esac
18244 else
18245 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18246 fi
18247
18248
18249
18250 # Option parsed, now set things appropriately
18251 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18252
18253
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18255 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18256
18257
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18259 $as_echo_n "checking for additional debug build... " >&6; }
18260 # Check whether --enable-libstdcxx-debug was given.
18261 if test "${enable_libstdcxx_debug+set}" = set; then :
18262 enableval=$enable_libstdcxx_debug;
18263 case "$enableval" in
18264 yes|no) ;;
18265 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18266 esac
18267
18268 else
18269 enable_libstdcxx_debug=no
18270 fi
18271
18272
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18274 $as_echo "$enable_libstdcxx_debug" >&6; }
18275
18276
18277
18278
18279 enable_parallel=no;
18280
18281 # See if configured libgomp/omp.h exists. (libgomp may be in
18282 # noconfigdirs but not explicitly disabled.)
18283 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18284 enable_parallel=yes;
18285 else
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18287 $as_echo "$as_me: target-libgomp not built" >&6;}
18288 fi
18289
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18291 $as_echo_n "checking for parallel mode support... " >&6; }
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18293 $as_echo "$enable_parallel" >&6; }
18294
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18296 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18297 # Check whether --enable-cxx-flags was given.
18298 if test "${enable_cxx_flags+set}" = set; then :
18299 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18300 xno | x) enable_cxx_flags= ;;
18301 x-*) ;;
18302 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18303 esac
18304 else
18305 enable_cxx_flags=
18306 fi
18307
18308
18309
18310 # Run through flags (either default or command-line) and set anything
18311 # extra (e.g., #defines) that must accompany particular g++ options.
18312 if test -n "$enable_cxx_flags"; then
18313 for f in $enable_cxx_flags; do
18314 case "$f" in
18315 -fhonor-std) ;;
18316 -*) ;;
18317 *) # and we're trying to pass /what/ exactly?
18318 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18319 esac
18320 done
18321 fi
18322
18323 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18325 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18326
18327
18328
18329 # Check whether --enable-fully-dynamic-string was given.
18330 if test "${enable_fully_dynamic_string+set}" = set; then :
18331 enableval=$enable_fully_dynamic_string;
18332 case "$enableval" in
18333 yes|no) ;;
18334 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18335 esac
18336
18337 else
18338 enable_fully_dynamic_string=no
18339 fi
18340
18341
18342 if test $enable_fully_dynamic_string = yes; then
18343 enable_fully_dynamic_string_def=1
18344 else
18345 enable_fully_dynamic_string_def=0
18346 fi
18347
18348 cat >>confdefs.h <<_ACEOF
18349 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18350 _ACEOF
18351
18352
18353
18354
18355 # Check whether --enable-extern-template was given.
18356 if test "${enable_extern_template+set}" = set; then :
18357 enableval=$enable_extern_template;
18358 case "$enableval" in
18359 yes|no) ;;
18360 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18361 esac
18362
18363 else
18364 enable_extern_template=yes
18365 fi
18366
18367
18368
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18370 $as_echo_n "checking for extern template support... " >&6; }
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18372 $as_echo "$enable_extern_template" >&6; }
18373
18374
18375
18376
18377
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18379 $as_echo_n "checking for custom python install directory... " >&6; }
18380
18381 # Check whether --with-python-dir was given.
18382 if test "${with_python_dir+set}" = set; then :
18383 withval=$with_python_dir; with_python_dir=$withval
18384 else
18385 with_python_dir="no"
18386 fi
18387
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18389 $as_echo "${with_python_dir}" >&6; }
18390
18391 # Needed for installing Python modules during make install.
18392 python_mod_dir="${with_python_dir}"
18393
18394
18395
18396
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18398 $as_echo_n "checking for -Werror... " >&6; }
18399 # Check whether --enable-werror was given.
18400 if test "${enable_werror+set}" = set; then :
18401 enableval=$enable_werror;
18402 case "$enableval" in
18403 yes|no) ;;
18404 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18405 esac
18406
18407 else
18408 enable_werror=no
18409 fi
18410
18411
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18413 $as_echo "$enable_werror" >&6; }
18414
18415
18416
18417
18418 # Check whether --enable-vtable-verify was given.
18419 if test "${enable_vtable_verify+set}" = set; then :
18420 enableval=$enable_vtable_verify;
18421 case "$enableval" in
18422 yes|no) ;;
18423 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18424 esac
18425
18426 else
18427 enable_vtable_verify=no
18428 fi
18429
18430
18431
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18433 $as_echo_n "checking for vtable verify support... " >&6; }
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18435 $as_echo "$enable_vtable_verify" >&6; }
18436
18437 vtv_cygmin=no
18438 if test $enable_vtable_verify = yes; then
18439 case ${target_os} in
18440 cygwin*|mingw32*)
18441 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18442 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18443 vtv_cygmin=yes
18444 ;;
18445 darwin*)
18446 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18447 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18448 ;;
18449 solaris2*)
18450 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18451 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18452 ;;
18453 *)
18454 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18455 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18456 ;;
18457 esac
18458 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18459 else
18460 VTV_CXXFLAGS=
18461 VTV_PCH_CXXFLAGS=
18462 VTV_CXXLINKFLAGS=
18463 fi
18464
18465
18466
18467
18468 if test x$vtv_cygmin = xyes; then
18469 VTV_CYGMIN_TRUE=
18470 VTV_CYGMIN_FALSE='#'
18471 else
18472 VTV_CYGMIN_TRUE='#'
18473 VTV_CYGMIN_FALSE=
18474 fi
18475
18476
18477
18478
18479 # Checks for operating systems support that doesn't require linking.
18480
18481
18482
18483 ac_ext=cpp
18484 ac_cpp='$CXXCPP $CPPFLAGS'
18485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18488
18489 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18490 # and we don't need a declaration for C++14 anyway.
18491 ac_save_CXXFLAGS="$CXXFLAGS"
18492 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18493
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18495 $as_echo_n "checking for gets declaration... " >&6; }
18496 if ${glibcxx_cv_gets+:} false; then :
18497 $as_echo_n "(cached) " >&6
18498 else
18499
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18502 #include <stdio.h>
18503 namespace test
18504 {
18505 using ::gets;
18506 }
18507
18508 _ACEOF
18509 if ac_fn_cxx_try_compile "$LINENO"; then :
18510 glibcxx_cv_gets=yes
18511 else
18512 glibcxx_cv_gets=no
18513
18514 fi
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 fi
18517
18518
18519 if test $glibcxx_cv_gets = yes; then
18520
18521 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18522
18523 fi
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18525 $as_echo "$glibcxx_cv_gets" >&6; }
18526
18527 CXXFLAGS="$ac_save_CXXFLAGS"
18528 ac_ext=c
18529 ac_cpp='$CPP $CPPFLAGS'
18530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18533
18534
18535
18536
18537
18538 ac_ext=cpp
18539 ac_cpp='$CXXCPP $CPPFLAGS'
18540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543
18544 ac_save_CXXFLAGS="$CXXFLAGS"
18545 CXXFLAGS="$CXXFLAGS -std=c++11"
18546
18547 case "$host" in
18548 *-*-solaris2.*)
18549 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18550 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18552 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18553 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18554 $as_echo_n "(cached) " >&6
18555 else
18556
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 #include <math.h>
18560 #undef isfinite
18561 namespace std {
18562 inline bool isfinite(float __x)
18563 { return __builtin_isfinite(__x); }
18564 }
18565
18566 _ACEOF
18567 if ac_fn_cxx_try_compile "$LINENO"; then :
18568 glibcxx_cv_math11_fp_overload=no
18569 else
18570 glibcxx_cv_math11_fp_overload=yes
18571
18572 fi
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 fi
18575
18576
18577 # autoheader cannot handle indented templates.
18578
18579
18580 if test $glibcxx_cv_math11_fp_overload = yes; then
18581 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18582
18583 fi
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18585 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18586
18587 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18588 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18590 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18591 if ${glibcxx_cv_math11_int_overload+:} false; then :
18592 $as_echo_n "(cached) " >&6
18593 else
18594
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #include <math.h>
18598 namespace std {
18599 template<typename _Tp>
18600 struct __is_integer;
18601 template<>
18602 struct __is_integer<int>
18603 {
18604 enum { __value = 1 };
18605 };
18606 }
18607 namespace __gnu_cxx {
18608 template<bool, typename>
18609 struct __enable_if;
18610 template<typename _Tp>
18611 struct __enable_if<true, _Tp>
18612 { typedef _Tp __type; };
18613 }
18614 namespace std {
18615 template<typename _Tp>
18616 constexpr typename __gnu_cxx::__enable_if
18617 <__is_integer<_Tp>::__value, double>::__type
18618 log2(_Tp __x)
18619 { return __builtin_log2(__x); }
18620 }
18621 int
18622 main (void)
18623 {
18624 int i = 1000;
18625 return std::log2(i);
18626 }
18627
18628 _ACEOF
18629 if ac_fn_cxx_try_compile "$LINENO"; then :
18630 glibcxx_cv_math11_int_overload=no
18631 else
18632 glibcxx_cv_math11_int_overload=yes
18633
18634 fi
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 fi
18637
18638
18639 # autoheader cannot handle indented templates.
18640
18641
18642 if test $glibcxx_cv_math11_int_overload = yes; then
18643 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18644
18645 fi
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18647 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18648 ;;
18649 *)
18650 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18651 # functions (instead of or as well as the C99 generic macros) then we
18652 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18653 # and must use the ones from <math.h> instead.
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18655 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18656 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18657 $as_echo_n "(cached) " >&6
18658 else
18659
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18663 #include <math.h>
18664 #undef isinf
18665 namespace std {
18666 using ::isinf;
18667 bool isinf(float);
18668 bool isinf(long double);
18669 }
18670 using std::isinf;
18671 bool b = isinf(0.0);
18672
18673 _ACEOF
18674 if ac_fn_cxx_try_compile "$LINENO"; then :
18675 glibcxx_cv_obsolete_isinf=yes
18676 else
18677 glibcxx_cv_obsolete_isinf=no
18678
18679 fi
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 fi
18682
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18684 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18685 if test $glibcxx_cv_obsolete_isinf = yes; then
18686
18687 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18688
18689 fi
18690
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18692 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18693 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18694 $as_echo_n "(cached) " >&6
18695 else
18696
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18700 #include <math.h>
18701 #undef isnan
18702 namespace std {
18703 using ::isnan;
18704 bool isnan(float);
18705 bool isnan(long double);
18706 }
18707 using std::isnan;
18708 bool b = isnan(0.0);
18709
18710 _ACEOF
18711 if ac_fn_cxx_try_compile "$LINENO"; then :
18712 glibcxx_cv_obsolete_isnan=yes
18713 else
18714 glibcxx_cv_obsolete_isnan=no
18715
18716 fi
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 fi
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18721 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18722 if test $glibcxx_cv_obsolete_isnan = yes; then
18723
18724 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18725
18726 fi
18727 ;;
18728 esac
18729
18730 CXXFLAGS="$ac_save_CXXFLAGS"
18731 ac_ext=c
18732 ac_cpp='$CPP $CPPFLAGS'
18733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18736
18737
18738
18739
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18741 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18742 if ${glibcxx_cv_system_error1+:} false; then :
18743 $as_echo_n "(cached) " >&6
18744 else
18745
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 #include <errno.h>
18749 int
18750 main ()
18751 {
18752 int i = EOWNERDEAD;
18753 ;
18754 return 0;
18755 }
18756 _ACEOF
18757 if ac_fn_c_try_compile "$LINENO"; then :
18758 glibcxx_cv_system_error1=yes
18759 else
18760 glibcxx_cv_system_error1=no
18761 fi
18762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18763
18764 fi
18765
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18767 $as_echo "$glibcxx_cv_system_error1" >&6; }
18768 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18769
18770 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18771
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18774 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18775 if ${glibcxx_cv_system_error2+:} false; then :
18776 $as_echo_n "(cached) " >&6
18777 else
18778
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 #include <errno.h>
18782 int
18783 main ()
18784 {
18785 int i = ENOTRECOVERABLE;
18786 ;
18787 return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_c_try_compile "$LINENO"; then :
18791 glibcxx_cv_system_error2=yes
18792 else
18793 glibcxx_cv_system_error2=no
18794 fi
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796
18797 fi
18798
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18800 $as_echo "$glibcxx_cv_system_error2" >&6; }
18801 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18802
18803 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18804
18805 fi
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18807 $as_echo_n "checking for ENOLINK... " >&6; }
18808 if ${glibcxx_cv_system_error3+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <errno.h>
18815 int
18816 main ()
18817 {
18818 int i = ENOLINK;
18819 ;
18820 return 0;
18821 }
18822 _ACEOF
18823 if ac_fn_c_try_compile "$LINENO"; then :
18824 glibcxx_cv_system_error3=yes
18825 else
18826 glibcxx_cv_system_error3=no
18827 fi
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829
18830 fi
18831
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18833 $as_echo "$glibcxx_cv_system_error3" >&6; }
18834 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18835
18836 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18837
18838 fi
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18840 $as_echo_n "checking for EPROTO... " >&6; }
18841 if ${glibcxx_cv_system_error4+:} false; then :
18842 $as_echo_n "(cached) " >&6
18843 else
18844
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 #include <errno.h>
18848 int
18849 main ()
18850 {
18851 int i = EPROTO;
18852 ;
18853 return 0;
18854 }
18855 _ACEOF
18856 if ac_fn_c_try_compile "$LINENO"; then :
18857 glibcxx_cv_system_error4=yes
18858 else
18859 glibcxx_cv_system_error4=no
18860 fi
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862
18863 fi
18864
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18866 $as_echo "$glibcxx_cv_system_error4" >&6; }
18867 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18868
18869 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18870
18871 fi
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18873 $as_echo_n "checking for ENODATA... " >&6; }
18874 if ${glibcxx_cv_system_error5+:} false; then :
18875 $as_echo_n "(cached) " >&6
18876 else
18877
18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h. */
18880 #include <errno.h>
18881 int
18882 main ()
18883 {
18884 int i = ENODATA;
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 if ac_fn_c_try_compile "$LINENO"; then :
18890 glibcxx_cv_system_error5=yes
18891 else
18892 glibcxx_cv_system_error5=no
18893 fi
18894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895
18896 fi
18897
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18899 $as_echo "$glibcxx_cv_system_error5" >&6; }
18900 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18901
18902 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18903
18904 fi
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18906 $as_echo_n "checking for ENOSR... " >&6; }
18907 if ${glibcxx_cv_system_error6+:} false; then :
18908 $as_echo_n "(cached) " >&6
18909 else
18910
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 #include <errno.h>
18914 int
18915 main ()
18916 {
18917 int i = ENOSR;
18918 ;
18919 return 0;
18920 }
18921 _ACEOF
18922 if ac_fn_c_try_compile "$LINENO"; then :
18923 glibcxx_cv_system_error6=yes
18924 else
18925 glibcxx_cv_system_error6=no
18926 fi
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928
18929 fi
18930
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18932 $as_echo "$glibcxx_cv_system_error6" >&6; }
18933 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18934
18935 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18936
18937 fi
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18939 $as_echo_n "checking for ENOSTR... " >&6; }
18940 if ${glibcxx_cv_system_error7+:} false; then :
18941 $as_echo_n "(cached) " >&6
18942 else
18943
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 #include <errno.h>
18947 int
18948 main ()
18949 {
18950 int i = ENOSTR;
18951 ;
18952 return 0;
18953 }
18954 _ACEOF
18955 if ac_fn_c_try_compile "$LINENO"; then :
18956 glibcxx_cv_system_error7=yes
18957 else
18958 glibcxx_cv_system_error7=no
18959 fi
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961
18962 fi
18963
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18965 $as_echo "$glibcxx_cv_system_error7" >&6; }
18966 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18967
18968 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18969
18970 fi
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18972 $as_echo_n "checking for ETIME... " >&6; }
18973 if ${glibcxx_cv_system_error8+:} false; then :
18974 $as_echo_n "(cached) " >&6
18975 else
18976
18977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18978 /* end confdefs.h. */
18979 #include <errno.h>
18980 int
18981 main ()
18982 {
18983 int i = ETIME;
18984 ;
18985 return 0;
18986 }
18987 _ACEOF
18988 if ac_fn_c_try_compile "$LINENO"; then :
18989 glibcxx_cv_system_error8=yes
18990 else
18991 glibcxx_cv_system_error8=no
18992 fi
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18994
18995 fi
18996
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18998 $as_echo "$glibcxx_cv_system_error8" >&6; }
18999 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19000
19001 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19002
19003 fi
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19005 $as_echo_n "checking for EBADMSG... " >&6; }
19006 if ${glibcxx_cv_system_error9+:} false; then :
19007 $as_echo_n "(cached) " >&6
19008 else
19009
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <errno.h>
19013 int
19014 main ()
19015 {
19016 int i = EBADMSG;
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 if ac_fn_c_try_compile "$LINENO"; then :
19022 glibcxx_cv_system_error9=yes
19023 else
19024 glibcxx_cv_system_error9=no
19025 fi
19026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027
19028 fi
19029
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19031 $as_echo "$glibcxx_cv_system_error9" >&6; }
19032 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19033
19034 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19035
19036 fi
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19038 $as_echo_n "checking for ECANCELED... " >&6; }
19039 if ${glibcxx_cv_system_error10+:} false; then :
19040 $as_echo_n "(cached) " >&6
19041 else
19042
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 #include <errno.h>
19046 int
19047 main ()
19048 {
19049 int i = ECANCELED;
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 if ac_fn_c_try_compile "$LINENO"; then :
19055 glibcxx_cv_system_error10=yes
19056 else
19057 glibcxx_cv_system_error10=no
19058 fi
19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060
19061 fi
19062
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19064 $as_echo "$glibcxx_cv_system_error10" >&6; }
19065 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19066
19067 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19068
19069 fi
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19071 $as_echo_n "checking for EOVERFLOW... " >&6; }
19072 if ${glibcxx_cv_system_error11+:} false; then :
19073 $as_echo_n "(cached) " >&6
19074 else
19075
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19078 #include <errno.h>
19079 int
19080 main ()
19081 {
19082 int i = EOVERFLOW;
19083 ;
19084 return 0;
19085 }
19086 _ACEOF
19087 if ac_fn_c_try_compile "$LINENO"; then :
19088 glibcxx_cv_system_error11=yes
19089 else
19090 glibcxx_cv_system_error11=no
19091 fi
19092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19093
19094 fi
19095
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19097 $as_echo "$glibcxx_cv_system_error11" >&6; }
19098 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19099
19100 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19101
19102 fi
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19104 $as_echo_n "checking for ENOTSUP... " >&6; }
19105 if ${glibcxx_cv_system_error12+:} false; then :
19106 $as_echo_n "(cached) " >&6
19107 else
19108
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 #include <errno.h>
19112 int
19113 main ()
19114 {
19115 int i = ENOTSUP;
19116 ;
19117 return 0;
19118 }
19119 _ACEOF
19120 if ac_fn_c_try_compile "$LINENO"; then :
19121 glibcxx_cv_system_error12=yes
19122 else
19123 glibcxx_cv_system_error12=no
19124 fi
19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126
19127 fi
19128
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19130 $as_echo "$glibcxx_cv_system_error12" >&6; }
19131 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19132
19133 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19134
19135 fi
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19137 $as_echo_n "checking for EIDRM... " >&6; }
19138 if ${glibcxx_cv_system_error13+:} false; then :
19139 $as_echo_n "(cached) " >&6
19140 else
19141
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 #include <errno.h>
19145 int
19146 main ()
19147 {
19148 int i = EIDRM;
19149 ;
19150 return 0;
19151 }
19152 _ACEOF
19153 if ac_fn_c_try_compile "$LINENO"; then :
19154 glibcxx_cv_system_error13=yes
19155 else
19156 glibcxx_cv_system_error13=no
19157 fi
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159
19160 fi
19161
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19163 $as_echo "$glibcxx_cv_system_error13" >&6; }
19164 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19165
19166 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19167
19168 fi
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19170 $as_echo_n "checking for ETXTBSY... " >&6; }
19171 if ${glibcxx_cv_system_error14+:} false; then :
19172 $as_echo_n "(cached) " >&6
19173 else
19174
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 #include <errno.h>
19178 int
19179 main ()
19180 {
19181 int i = ETXTBSY;
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 if ac_fn_c_try_compile "$LINENO"; then :
19187 glibcxx_cv_system_error14=yes
19188 else
19189 glibcxx_cv_system_error14=no
19190 fi
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192
19193 fi
19194
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19196 $as_echo "$glibcxx_cv_system_error14" >&6; }
19197 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19198
19199 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19200
19201 fi
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19203 $as_echo_n "checking for ECHILD... " >&6; }
19204 if ${glibcxx_cv_system_error15+:} false; then :
19205 $as_echo_n "(cached) " >&6
19206 else
19207
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19210 #include <errno.h>
19211 int
19212 main ()
19213 {
19214 int i = ECHILD;
19215 ;
19216 return 0;
19217 }
19218 _ACEOF
19219 if ac_fn_c_try_compile "$LINENO"; then :
19220 glibcxx_cv_system_error15=yes
19221 else
19222 glibcxx_cv_system_error15=no
19223 fi
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225
19226 fi
19227
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19229 $as_echo "$glibcxx_cv_system_error15" >&6; }
19230 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19231
19232 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19233
19234 fi
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19236 $as_echo_n "checking for ENOSPC... " >&6; }
19237 if ${glibcxx_cv_system_error16+:} false; then :
19238 $as_echo_n "(cached) " >&6
19239 else
19240
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 #include <errno.h>
19244 int
19245 main ()
19246 {
19247 int i = ENOSPC;
19248 ;
19249 return 0;
19250 }
19251 _ACEOF
19252 if ac_fn_c_try_compile "$LINENO"; then :
19253 glibcxx_cv_system_error16=yes
19254 else
19255 glibcxx_cv_system_error16=no
19256 fi
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258
19259 fi
19260
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19262 $as_echo "$glibcxx_cv_system_error16" >&6; }
19263 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19264
19265 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19266
19267 fi
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19269 $as_echo_n "checking for EPERM... " >&6; }
19270 if ${glibcxx_cv_system_error17+:} false; then :
19271 $as_echo_n "(cached) " >&6
19272 else
19273
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276 #include <errno.h>
19277 int
19278 main ()
19279 {
19280 int i = EPERM;
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 if ac_fn_c_try_compile "$LINENO"; then :
19286 glibcxx_cv_system_error17=yes
19287 else
19288 glibcxx_cv_system_error17=no
19289 fi
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291
19292 fi
19293
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19295 $as_echo "$glibcxx_cv_system_error17" >&6; }
19296 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19297
19298 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19299
19300 fi
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19302 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19303 if ${glibcxx_cv_system_error18+:} false; then :
19304 $as_echo_n "(cached) " >&6
19305 else
19306
19307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19309 #include <errno.h>
19310 int
19311 main ()
19312 {
19313 int i = ETIMEDOUT;
19314 ;
19315 return 0;
19316 }
19317 _ACEOF
19318 if ac_fn_c_try_compile "$LINENO"; then :
19319 glibcxx_cv_system_error18=yes
19320 else
19321 glibcxx_cv_system_error18=no
19322 fi
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324
19325 fi
19326
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19328 $as_echo "$glibcxx_cv_system_error18" >&6; }
19329 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19330
19331 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19332
19333 fi
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19335 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19336 if ${glibcxx_cv_system_error19+:} false; then :
19337 $as_echo_n "(cached) " >&6
19338 else
19339
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 #include <errno.h>
19343 int
19344 main ()
19345 {
19346 int i = EWOULDBLOCK;
19347 ;
19348 return 0;
19349 }
19350 _ACEOF
19351 if ac_fn_c_try_compile "$LINENO"; then :
19352 glibcxx_cv_system_error19=yes
19353 else
19354 glibcxx_cv_system_error19=no
19355 fi
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357
19358 fi
19359
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19361 $as_echo "$glibcxx_cv_system_error19" >&6; }
19362 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19363
19364 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19365
19366 fi
19367
19368
19369
19370
19371 # Test uchar.h.
19372 for ac_header in uchar.h
19373 do :
19374 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19375 if test "x$ac_cv_header_uchar_h" = xyes; then :
19376 cat >>confdefs.h <<_ACEOF
19377 #define HAVE_UCHAR_H 1
19378 _ACEOF
19379 ac_has_uchar_h=yes
19380 else
19381 ac_has_uchar_h=no
19382 fi
19383
19384 done
19385
19386
19387
19388 ac_ext=cpp
19389 ac_cpp='$CXXCPP $CPPFLAGS'
19390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19393
19394 ac_save_CXXFLAGS="$CXXFLAGS"
19395 CXXFLAGS="$CXXFLAGS -std=c++11"
19396
19397 if test x"$ac_has_uchar_h" = x"yes"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19399 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <uchar.h>
19403 #ifdef __STDC_UTF_16__
19404 long i = __STDC_UTF_16__;
19405 #endif
19406 #ifdef __STDC_UTF_32__
19407 long j = __STDC_UTF_32__;
19408 #endif
19409 namespace test
19410 {
19411 using ::c16rtomb;
19412 using ::c32rtomb;
19413 using ::mbrtoc16;
19414 using ::mbrtoc32;
19415 }
19416
19417 int
19418 main ()
19419 {
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 if ac_fn_cxx_try_compile "$LINENO"; then :
19426 ac_c11_uchar_cxx11=yes
19427 else
19428 ac_c11_uchar_cxx11=no
19429 fi
19430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 else
19432 ac_c11_uchar_cxx11=no
19433 fi
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19435 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19436 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19437
19438 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19439
19440 fi
19441
19442 CXXFLAGS="$ac_save_CXXFLAGS"
19443 ac_ext=c
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448
19449
19450
19451 # For the streamoff typedef.
19452
19453
19454
19455 ac_ext=cpp
19456 ac_cpp='$CXXCPP $CPPFLAGS'
19457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19460
19461
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19463 $as_echo_n "checking for int64_t... " >&6; }
19464 if ${glibcxx_cv_INT64_T+:} false; then :
19465 $as_echo_n "(cached) " >&6
19466 else
19467
19468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h. */
19470 #include <stdint.h>
19471 int
19472 main ()
19473 {
19474 int64_t var;
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 if ac_fn_cxx_try_compile "$LINENO"; then :
19480 glibcxx_cv_INT64_T=yes
19481 else
19482 glibcxx_cv_INT64_T=no
19483 fi
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19485
19486 fi
19487
19488
19489 if test $glibcxx_cv_INT64_T = yes; then
19490
19491 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19492
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19494 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19495
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19497 $as_echo_n "checking for int64_t as long... " >&6; }
19498 if ${glibcxx_cv_int64_t_long+:} false; then :
19499 $as_echo_n "(cached) " >&6
19500 else
19501
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 #include <stdint.h>
19505 template<typename, typename> struct same { enum { value = -1 }; };
19506 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19507 int array[same<int64_t, long>::value];
19508 int
19509 main ()
19510 {
19511
19512 ;
19513 return 0;
19514 }
19515 _ACEOF
19516 if ac_fn_cxx_try_compile "$LINENO"; then :
19517 glibcxx_cv_int64_t_long=yes
19518 else
19519 glibcxx_cv_int64_t_long=no
19520 fi
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522
19523 fi
19524
19525
19526 if test $glibcxx_cv_int64_t_long = yes; then
19527
19528 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19529
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19531 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19532 fi
19533
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19535 $as_echo_n "checking for int64_t as long long... " >&6; }
19536 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19539
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <stdint.h>
19543 template<typename, typename> struct same { enum { value = -1 }; };
19544 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19545 int array[same<int64_t, long long>::value];
19546 int
19547 main ()
19548 {
19549
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 if ac_fn_cxx_try_compile "$LINENO"; then :
19555 glibcxx_cv_int64_t_long_long=yes
19556 else
19557 glibcxx_cv_int64_t_long_long=no
19558 fi
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560
19561 fi
19562
19563
19564 if test $glibcxx_cv_int64_t_long_long = yes; then
19565
19566 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19567
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19569 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19570 fi
19571 fi
19572
19573 ac_ext=c
19574 ac_cpp='$CPP $CPPFLAGS'
19575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19578
19579
19580
19581 # For LFS support.
19582
19583
19584 ac_ext=cpp
19585 ac_cpp='$CXXCPP $CPPFLAGS'
19586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19589
19590 ac_save_CXXFLAGS="$CXXFLAGS"
19591 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19593 $as_echo_n "checking for LFS support... " >&6; }
19594 if ${glibcxx_cv_LFS+:} false; then :
19595 $as_echo_n "(cached) " >&6
19596 else
19597
19598 if test x$gcc_no_link = xyes; then
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #include <unistd.h>
19602 #include <stdio.h>
19603 #include <sys/stat.h>
19604
19605 int
19606 main ()
19607 {
19608 FILE* fp;
19609 fopen64("t", "w");
19610 fseeko64(fp, 0, SEEK_CUR);
19611 ftello64(fp);
19612 lseek64(1, 0, SEEK_CUR);
19613 struct stat64 buf;
19614 fstat64(1, &buf);
19615 ;
19616 return 0;
19617 }
19618 _ACEOF
19619 if ac_fn_cxx_try_compile "$LINENO"; then :
19620 glibcxx_cv_LFS=yes
19621 else
19622 glibcxx_cv_LFS=no
19623 fi
19624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 else
19626 if test x$gcc_no_link = xyes; then
19627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19628 fi
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19631 #include <unistd.h>
19632 #include <stdio.h>
19633 #include <sys/stat.h>
19634
19635 int
19636 main ()
19637 {
19638 FILE* fp;
19639 fopen64("t", "w");
19640 fseeko64(fp, 0, SEEK_CUR);
19641 ftello64(fp);
19642 lseek64(1, 0, SEEK_CUR);
19643 struct stat64 buf;
19644 fstat64(1, &buf);
19645 ;
19646 return 0;
19647 }
19648 _ACEOF
19649 if ac_fn_cxx_try_link "$LINENO"; then :
19650 glibcxx_cv_LFS=yes
19651 else
19652 glibcxx_cv_LFS=no
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext conftest.$ac_ext
19656 fi
19657
19658 fi
19659
19660 if test $glibcxx_cv_LFS = yes; then
19661
19662 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19663
19664 fi
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19666 $as_echo "$glibcxx_cv_LFS" >&6; }
19667 CXXFLAGS="$ac_save_CXXFLAGS"
19668 ac_ext=c
19669 ac_cpp='$CPP $CPPFLAGS'
19670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19673
19674
19675
19676 # For showmanyc_helper().
19677 for ac_header in sys/ioctl.h sys/filio.h
19678 do :
19679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19680 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19682 cat >>confdefs.h <<_ACEOF
19683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19684 _ACEOF
19685
19686 fi
19687
19688 done
19689
19690
19691
19692
19693 ac_ext=cpp
19694 ac_cpp='$CXXCPP $CPPFLAGS'
19695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19698
19699 ac_save_CXXFLAGS="$CXXFLAGS"
19700 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19701
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19703 $as_echo_n "checking for poll... " >&6; }
19704 if ${glibcxx_cv_POLL+:} false; then :
19705 $as_echo_n "(cached) " >&6
19706 else
19707
19708 if test x$gcc_no_link = xyes; then
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19711 #include <poll.h>
19712 int
19713 main ()
19714 {
19715 struct pollfd pfd[1];
19716 pfd[0].events = POLLIN;
19717 poll(pfd, 1, 0);
19718 ;
19719 return 0;
19720 }
19721 _ACEOF
19722 if ac_fn_cxx_try_compile "$LINENO"; then :
19723 glibcxx_cv_POLL=yes
19724 else
19725 glibcxx_cv_POLL=no
19726 fi
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 else
19729 if test x$gcc_no_link = xyes; then
19730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19731 fi
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19734 #include <poll.h>
19735 int
19736 main ()
19737 {
19738 struct pollfd pfd[1];
19739 pfd[0].events = POLLIN;
19740 poll(pfd, 1, 0);
19741 ;
19742 return 0;
19743 }
19744 _ACEOF
19745 if ac_fn_cxx_try_link "$LINENO"; then :
19746 glibcxx_cv_POLL=yes
19747 else
19748 glibcxx_cv_POLL=no
19749 fi
19750 rm -f core conftest.err conftest.$ac_objext \
19751 conftest$ac_exeext conftest.$ac_ext
19752 fi
19753
19754 fi
19755
19756 if test $glibcxx_cv_POLL = yes; then
19757
19758 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19759
19760 fi
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19762 $as_echo "$glibcxx_cv_POLL" >&6; }
19763
19764 CXXFLAGS="$ac_save_CXXFLAGS"
19765 ac_ext=c
19766 ac_cpp='$CPP $CPPFLAGS'
19767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19770
19771
19772
19773
19774
19775 ac_ext=cpp
19776 ac_cpp='$CXXCPP $CPPFLAGS'
19777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19780
19781 ac_save_CXXFLAGS="$CXXFLAGS"
19782 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19783
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19785 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19786 if ${glibcxx_cv_S_ISREG+:} false; then :
19787 $as_echo_n "(cached) " >&6
19788 else
19789
19790 if test x$gcc_no_link = xyes; then
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19793 #include <sys/stat.h>
19794 int
19795 main ()
19796 {
19797 struct stat buffer;
19798 fstat(0, &buffer);
19799 S_ISREG(buffer.st_mode);
19800 ;
19801 return 0;
19802 }
19803 _ACEOF
19804 if ac_fn_cxx_try_compile "$LINENO"; then :
19805 glibcxx_cv_S_ISREG=yes
19806 else
19807 glibcxx_cv_S_ISREG=no
19808 fi
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19810 else
19811 if test x$gcc_no_link = xyes; then
19812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 fi
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #include <sys/stat.h>
19817 int
19818 main ()
19819 {
19820 struct stat buffer;
19821 fstat(0, &buffer);
19822 S_ISREG(buffer.st_mode);
19823 ;
19824 return 0;
19825 }
19826 _ACEOF
19827 if ac_fn_cxx_try_link "$LINENO"; then :
19828 glibcxx_cv_S_ISREG=yes
19829 else
19830 glibcxx_cv_S_ISREG=no
19831 fi
19832 rm -f core conftest.err conftest.$ac_objext \
19833 conftest$ac_exeext conftest.$ac_ext
19834 fi
19835
19836 fi
19837
19838 if ${glibcxx_cv_S_IFREG+:} false; then :
19839 $as_echo_n "(cached) " >&6
19840 else
19841
19842 if test x$gcc_no_link = xyes; then
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #include <sys/stat.h>
19846 int
19847 main ()
19848 {
19849 struct stat buffer;
19850 fstat(0, &buffer);
19851 S_IFREG & buffer.st_mode;
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 if ac_fn_cxx_try_compile "$LINENO"; then :
19857 glibcxx_cv_S_IFREG=yes
19858 else
19859 glibcxx_cv_S_IFREG=no
19860 fi
19861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19862 else
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 fi
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <sys/stat.h>
19869 int
19870 main ()
19871 {
19872 struct stat buffer;
19873 fstat(0, &buffer);
19874 S_IFREG & buffer.st_mode;
19875 ;
19876 return 0;
19877 }
19878 _ACEOF
19879 if ac_fn_cxx_try_link "$LINENO"; then :
19880 glibcxx_cv_S_IFREG=yes
19881 else
19882 glibcxx_cv_S_IFREG=no
19883 fi
19884 rm -f core conftest.err conftest.$ac_objext \
19885 conftest$ac_exeext conftest.$ac_ext
19886 fi
19887
19888 fi
19889
19890 res=no
19891 if test $glibcxx_cv_S_ISREG = yes; then
19892
19893 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19894
19895 res=S_ISREG
19896 elif test $glibcxx_cv_S_IFREG = yes; then
19897
19898 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19899
19900 res=S_IFREG
19901 fi
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19903 $as_echo "$res" >&6; }
19904
19905 CXXFLAGS="$ac_save_CXXFLAGS"
19906 ac_ext=c
19907 ac_cpp='$CPP $CPPFLAGS'
19908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19911
19912
19913
19914 # For xsputn_2().
19915 for ac_header in sys/uio.h
19916 do :
19917 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19918 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19919 cat >>confdefs.h <<_ACEOF
19920 #define HAVE_SYS_UIO_H 1
19921 _ACEOF
19922
19923 fi
19924
19925 done
19926
19927
19928
19929
19930 ac_ext=cpp
19931 ac_cpp='$CXXCPP $CPPFLAGS'
19932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19935
19936 ac_save_CXXFLAGS="$CXXFLAGS"
19937 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19938
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19940 $as_echo_n "checking for writev... " >&6; }
19941 if ${glibcxx_cv_WRITEV+:} false; then :
19942 $as_echo_n "(cached) " >&6
19943 else
19944
19945 if test x$gcc_no_link = xyes; then
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #include <sys/uio.h>
19949 int
19950 main ()
19951 {
19952 struct iovec iov[2];
19953 writev(0, iov, 0);
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 if ac_fn_cxx_try_compile "$LINENO"; then :
19959 glibcxx_cv_WRITEV=yes
19960 else
19961 glibcxx_cv_WRITEV=no
19962 fi
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 else
19965 if test x$gcc_no_link = xyes; then
19966 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19967 fi
19968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19970 #include <sys/uio.h>
19971 int
19972 main ()
19973 {
19974 struct iovec iov[2];
19975 writev(0, iov, 0);
19976 ;
19977 return 0;
19978 }
19979 _ACEOF
19980 if ac_fn_cxx_try_link "$LINENO"; then :
19981 glibcxx_cv_WRITEV=yes
19982 else
19983 glibcxx_cv_WRITEV=no
19984 fi
19985 rm -f core conftest.err conftest.$ac_objext \
19986 conftest$ac_exeext conftest.$ac_ext
19987 fi
19988
19989 fi
19990
19991 if test $glibcxx_cv_WRITEV = yes; then
19992
19993 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19994
19995 fi
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19997 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19998
19999 CXXFLAGS="$ac_save_CXXFLAGS"
20000 ac_ext=c
20001 ac_cpp='$CPP $CPPFLAGS'
20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20005
20006
20007
20008 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20009 # so that the check is done with the C compiler (not C++).
20010 # Checking with C++ can break a canadian cross build if either
20011 # file does not exist in C but does in C++.
20012 for ac_header in fenv.h complex.h
20013 do :
20014 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20015 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20017 cat >>confdefs.h <<_ACEOF
20018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20019 _ACEOF
20020
20021 fi
20022
20023 done
20024
20025
20026 # For C99 support to TR1.
20027
20028
20029
20030 ac_ext=cpp
20031 ac_cpp='$CXXCPP $CPPFLAGS'
20032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20035
20036
20037 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20038 # undefined and fake C99 facilities may be spuriously enabled.
20039 ac_save_CXXFLAGS="$CXXFLAGS"
20040 CXXFLAGS="$CXXFLAGS -std=c++98"
20041
20042 # Check for the existence of <complex.h> complex math functions used
20043 # by tr1/complex.
20044 for ac_header in complex.h
20045 do :
20046 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20047 if test "x$ac_cv_header_complex_h" = xyes; then :
20048 cat >>confdefs.h <<_ACEOF
20049 #define HAVE_COMPLEX_H 1
20050 _ACEOF
20051 ac_has_complex_h=yes
20052 else
20053 ac_has_complex_h=no
20054 fi
20055
20056 done
20057
20058 ac_c99_complex_tr1=no;
20059 if test x"$ac_has_complex_h" = x"yes"; then
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20061 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20064 #include <complex.h>
20065 int
20066 main ()
20067 {
20068 typedef __complex__ float float_type; float_type tmpf;
20069 cacosf(tmpf);
20070 casinf(tmpf);
20071 catanf(tmpf);
20072 cacoshf(tmpf);
20073 casinhf(tmpf);
20074 catanhf(tmpf);
20075 typedef __complex__ double double_type; double_type tmpd;
20076 cacos(tmpd);
20077 casin(tmpd);
20078 catan(tmpd);
20079 cacosh(tmpd);
20080 casinh(tmpd);
20081 catanh(tmpd);
20082 typedef __complex__ long double ld_type; ld_type tmpld;
20083 cacosl(tmpld);
20084 casinl(tmpld);
20085 catanl(tmpld);
20086 cacoshl(tmpld);
20087 casinhl(tmpld);
20088 catanhl(tmpld);
20089
20090 ;
20091 return 0;
20092 }
20093 _ACEOF
20094 if ac_fn_cxx_try_compile "$LINENO"; then :
20095 ac_c99_complex_tr1=yes
20096 else
20097 ac_c99_complex_tr1=no
20098 fi
20099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 fi
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20102 $as_echo "$ac_c99_complex_tr1" >&6; }
20103 if test x"$ac_c99_complex_tr1" = x"yes"; then
20104
20105 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20106
20107 fi
20108
20109 # Check for the existence of <ctype.h> functions.
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20111 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20112 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20113 $as_echo_n "(cached) " >&6
20114 else
20115
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #include <ctype.h>
20119 int
20120 main ()
20121 {
20122 int ch;
20123 int ret;
20124 ret = isblank(ch);
20125
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 if ac_fn_cxx_try_compile "$LINENO"; then :
20131 glibcxx_cv_c99_ctype_tr1=yes
20132 else
20133 glibcxx_cv_c99_ctype_tr1=no
20134 fi
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20136
20137 fi
20138
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20140 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20141 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20142
20143 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20144
20145 fi
20146
20147 # Check for the existence of <fenv.h> functions.
20148 for ac_header in fenv.h
20149 do :
20150 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20151 if test "x$ac_cv_header_fenv_h" = xyes; then :
20152 cat >>confdefs.h <<_ACEOF
20153 #define HAVE_FENV_H 1
20154 _ACEOF
20155 ac_has_fenv_h=yes
20156 else
20157 ac_has_fenv_h=no
20158 fi
20159
20160 done
20161
20162 ac_c99_fenv_tr1=no;
20163 if test x"$ac_has_fenv_h" = x"yes"; then
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20165 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20168 #include <fenv.h>
20169 int
20170 main ()
20171 {
20172 int except, mode;
20173 fexcept_t* pflag;
20174 fenv_t* penv;
20175 int ret;
20176 ret = feclearexcept(except);
20177 ret = fegetexceptflag(pflag, except);
20178 ret = feraiseexcept(except);
20179 ret = fesetexceptflag(pflag, except);
20180 ret = fetestexcept(except);
20181 ret = fegetround();
20182 ret = fesetround(mode);
20183 ret = fegetenv(penv);
20184 ret = feholdexcept(penv);
20185 ret = fesetenv(penv);
20186 ret = feupdateenv(penv);
20187
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 if ac_fn_cxx_try_compile "$LINENO"; then :
20193 ac_c99_fenv_tr1=yes
20194 else
20195 ac_c99_fenv_tr1=no
20196 fi
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 fi
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20200 $as_echo "$ac_c99_fenv_tr1" >&6; }
20201 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20202
20203 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20204
20205 fi
20206
20207 # Check for the existence of <stdint.h> types.
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20209 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20210 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20211 $as_echo_n "(cached) " >&6
20212 else
20213
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #define __STDC_LIMIT_MACROS
20217 #define __STDC_CONSTANT_MACROS
20218 #include <stdint.h>
20219 int
20220 main ()
20221 {
20222 typedef int8_t my_int8_t;
20223 my_int8_t i8 = INT8_MIN;
20224 i8 = INT8_MAX;
20225 typedef int16_t my_int16_t;
20226 my_int16_t i16 = INT16_MIN;
20227 i16 = INT16_MAX;
20228 typedef int32_t my_int32_t;
20229 my_int32_t i32 = INT32_MIN;
20230 i32 = INT32_MAX;
20231 typedef int64_t my_int64_t;
20232 my_int64_t i64 = INT64_MIN;
20233 i64 = INT64_MAX;
20234 typedef int_fast8_t my_int_fast8_t;
20235 my_int_fast8_t if8 = INT_FAST8_MIN;
20236 if8 = INT_FAST8_MAX;
20237 typedef int_fast16_t my_int_fast16_t;
20238 my_int_fast16_t if16 = INT_FAST16_MIN;
20239 if16 = INT_FAST16_MAX;
20240 typedef int_fast32_t my_int_fast32_t;
20241 my_int_fast32_t if32 = INT_FAST32_MIN;
20242 if32 = INT_FAST32_MAX;
20243 typedef int_fast64_t my_int_fast64_t;
20244 my_int_fast64_t if64 = INT_FAST64_MIN;
20245 if64 = INT_FAST64_MAX;
20246 typedef int_least8_t my_int_least8_t;
20247 my_int_least8_t il8 = INT_LEAST8_MIN;
20248 il8 = INT_LEAST8_MAX;
20249 typedef int_least16_t my_int_least16_t;
20250 my_int_least16_t il16 = INT_LEAST16_MIN;
20251 il16 = INT_LEAST16_MAX;
20252 typedef int_least32_t my_int_least32_t;
20253 my_int_least32_t il32 = INT_LEAST32_MIN;
20254 il32 = INT_LEAST32_MAX;
20255 typedef int_least64_t my_int_least64_t;
20256 my_int_least64_t il64 = INT_LEAST64_MIN;
20257 il64 = INT_LEAST64_MAX;
20258 typedef intmax_t my_intmax_t;
20259 my_intmax_t im = INTMAX_MAX;
20260 im = INTMAX_MIN;
20261 typedef intptr_t my_intptr_t;
20262 my_intptr_t ip = INTPTR_MAX;
20263 ip = INTPTR_MIN;
20264 typedef uint8_t my_uint8_t;
20265 my_uint8_t ui8 = UINT8_MAX;
20266 ui8 = UINT8_MAX;
20267 typedef uint16_t my_uint16_t;
20268 my_uint16_t ui16 = UINT16_MAX;
20269 ui16 = UINT16_MAX;
20270 typedef uint32_t my_uint32_t;
20271 my_uint32_t ui32 = UINT32_MAX;
20272 ui32 = UINT32_MAX;
20273 typedef uint64_t my_uint64_t;
20274 my_uint64_t ui64 = UINT64_MAX;
20275 ui64 = UINT64_MAX;
20276 typedef uint_fast8_t my_uint_fast8_t;
20277 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20278 uif8 = UINT_FAST8_MAX;
20279 typedef uint_fast16_t my_uint_fast16_t;
20280 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20281 uif16 = UINT_FAST16_MAX;
20282 typedef uint_fast32_t my_uint_fast32_t;
20283 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20284 uif32 = UINT_FAST32_MAX;
20285 typedef uint_fast64_t my_uint_fast64_t;
20286 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20287 uif64 = UINT_FAST64_MAX;
20288 typedef uint_least8_t my_uint_least8_t;
20289 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20290 uil8 = UINT_LEAST8_MAX;
20291 typedef uint_least16_t my_uint_least16_t;
20292 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20293 uil16 = UINT_LEAST16_MAX;
20294 typedef uint_least32_t my_uint_least32_t;
20295 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20296 uil32 = UINT_LEAST32_MAX;
20297 typedef uint_least64_t my_uint_least64_t;
20298 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20299 uil64 = UINT_LEAST64_MAX;
20300 typedef uintmax_t my_uintmax_t;
20301 my_uintmax_t uim = UINTMAX_MAX;
20302 uim = UINTMAX_MAX;
20303 typedef uintptr_t my_uintptr_t;
20304 my_uintptr_t uip = UINTPTR_MAX;
20305 uip = UINTPTR_MAX;
20306
20307 ;
20308 return 0;
20309 }
20310 _ACEOF
20311 if ac_fn_cxx_try_compile "$LINENO"; then :
20312 glibcxx_cv_c99_stdint_tr1=yes
20313 else
20314 glibcxx_cv_c99_stdint_tr1=no
20315 fi
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317
20318 fi
20319
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20321 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20322 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20323
20324 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20325
20326 fi
20327
20328 # Check for the existence of <math.h> functions.
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20330 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20331 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20334
20335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20337 #include <math.h>
20338 int
20339 main ()
20340 {
20341 typedef double_t my_double_t;
20342 typedef float_t my_float_t;
20343 acosh(0.0);
20344 acoshf(0.0f);
20345 acoshl(0.0l);
20346 asinh(0.0);
20347 asinhf(0.0f);
20348 asinhl(0.0l);
20349 atanh(0.0);
20350 atanhf(0.0f);
20351 atanhl(0.0l);
20352 cbrt(0.0);
20353 cbrtf(0.0f);
20354 cbrtl(0.0l);
20355 copysign(0.0, 0.0);
20356 copysignf(0.0f, 0.0f);
20357 copysignl(0.0l, 0.0l);
20358 erf(0.0);
20359 erff(0.0f);
20360 erfl(0.0l);
20361 erfc(0.0);
20362 erfcf(0.0f);
20363 erfcl(0.0l);
20364 exp2(0.0);
20365 exp2f(0.0f);
20366 exp2l(0.0l);
20367 expm1(0.0);
20368 expm1f(0.0f);
20369 expm1l(0.0l);
20370 fdim(0.0, 0.0);
20371 fdimf(0.0f, 0.0f);
20372 fdiml(0.0l, 0.0l);
20373 fma(0.0, 0.0, 0.0);
20374 fmaf(0.0f, 0.0f, 0.0f);
20375 fmal(0.0l, 0.0l, 0.0l);
20376 fmax(0.0, 0.0);
20377 fmaxf(0.0f, 0.0f);
20378 fmaxl(0.0l, 0.0l);
20379 fmin(0.0, 0.0);
20380 fminf(0.0f, 0.0f);
20381 fminl(0.0l, 0.0l);
20382 hypot(0.0, 0.0);
20383 hypotf(0.0f, 0.0f);
20384 hypotl(0.0l, 0.0l);
20385 ilogb(0.0);
20386 ilogbf(0.0f);
20387 ilogbl(0.0l);
20388 lgamma(0.0);
20389 lgammaf(0.0f);
20390 lgammal(0.0l);
20391 #ifndef __APPLE__ /* see below */
20392 llrint(0.0);
20393 llrintf(0.0f);
20394 llrintl(0.0l);
20395 llround(0.0);
20396 llroundf(0.0f);
20397 llroundl(0.0l);
20398 #endif
20399 log1p(0.0);
20400 log1pf(0.0f);
20401 log1pl(0.0l);
20402 log2(0.0);
20403 log2f(0.0f);
20404 log2l(0.0l);
20405 logb(0.0);
20406 logbf(0.0f);
20407 logbl(0.0l);
20408 lrint(0.0);
20409 lrintf(0.0f);
20410 lrintl(0.0l);
20411 lround(0.0);
20412 lroundf(0.0f);
20413 lroundl(0.0l);
20414 nan(0);
20415 nanf(0);
20416 nanl(0);
20417 nearbyint(0.0);
20418 nearbyintf(0.0f);
20419 nearbyintl(0.0l);
20420 nextafter(0.0, 0.0);
20421 nextafterf(0.0f, 0.0f);
20422 nextafterl(0.0l, 0.0l);
20423 nexttoward(0.0, 0.0);
20424 nexttowardf(0.0f, 0.0f);
20425 nexttowardl(0.0l, 0.0l);
20426 remainder(0.0, 0.0);
20427 remainderf(0.0f, 0.0f);
20428 remainderl(0.0l, 0.0l);
20429 remquo(0.0, 0.0, 0);
20430 remquof(0.0f, 0.0f, 0);
20431 remquol(0.0l, 0.0l, 0);
20432 rint(0.0);
20433 rintf(0.0f);
20434 rintl(0.0l);
20435 round(0.0);
20436 roundf(0.0f);
20437 roundl(0.0l);
20438 scalbln(0.0, 0l);
20439 scalblnf(0.0f, 0l);
20440 scalblnl(0.0l, 0l);
20441 scalbn(0.0, 0);
20442 scalbnf(0.0f, 0);
20443 scalbnl(0.0l, 0);
20444 tgamma(0.0);
20445 tgammaf(0.0f);
20446 tgammal(0.0l);
20447 trunc(0.0);
20448 truncf(0.0f);
20449 truncl(0.0l);
20450
20451 ;
20452 return 0;
20453 }
20454 _ACEOF
20455 if ac_fn_cxx_try_compile "$LINENO"; then :
20456 glibcxx_cv_c99_math_tr1=yes
20457 else
20458 glibcxx_cv_c99_math_tr1=no
20459 fi
20460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20461
20462 fi
20463
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20465 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20466 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20467
20468 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20469
20470
20471 case "${target_os}" in
20472 darwin*)
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20474 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20475 if ${glibcxx_cv_c99_math_llround+:} false; then :
20476 $as_echo_n "(cached) " >&6
20477 else
20478
20479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20480 /* end confdefs.h. */
20481 #include <math.h>
20482 int
20483 main ()
20484 {
20485 llrint(0.0);
20486 llrintf(0.0f);
20487 llrintl(0.0l);
20488 llround(0.0);
20489 llroundf(0.0f);
20490 llroundl(0.0l);
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 if ac_fn_cxx_try_compile "$LINENO"; then :
20497 glibcxx_cv_c99_math_llround=yes
20498 else
20499 glibcxx_cv_c99_math_llround=no
20500 fi
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502
20503 fi
20504
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20506 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20507 ;;
20508 esac
20509 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20510
20511 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20512
20513 fi
20514 fi
20515
20516 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20517 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20518 ac_c99_inttypes_tr1=no;
20519 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20521 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20524 #include <inttypes.h>
20525 int
20526 main ()
20527 {
20528 intmax_t i, numer, denom, base;
20529 const char* s;
20530 char** endptr;
20531 intmax_t ret = imaxabs(i);
20532 imaxdiv_t dret = imaxdiv(numer, denom);
20533 ret = strtoimax(s, endptr, base);
20534 uintmax_t uret = strtoumax(s, endptr, base);
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 if ac_fn_cxx_try_compile "$LINENO"; then :
20541 ac_c99_inttypes_tr1=yes
20542 else
20543 ac_c99_inttypes_tr1=no
20544 fi
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 fi
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20548 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20549 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20550
20551 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20552
20553 fi
20554
20555 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20556 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20557 ac_c99_inttypes_wchar_t_tr1=no;
20558 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20560 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20562 /* end confdefs.h. */
20563 #include <inttypes.h>
20564 int
20565 main ()
20566 {
20567 intmax_t base;
20568 const wchar_t* s;
20569 wchar_t** endptr;
20570 intmax_t ret = wcstoimax(s, endptr, base);
20571 uintmax_t uret = wcstoumax(s, endptr, base);
20572
20573 ;
20574 return 0;
20575 }
20576 _ACEOF
20577 if ac_fn_cxx_try_compile "$LINENO"; then :
20578 ac_c99_inttypes_wchar_t_tr1=yes
20579 else
20580 ac_c99_inttypes_wchar_t_tr1=no
20581 fi
20582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 fi
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20585 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20586 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20587
20588 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20589
20590 fi
20591
20592 # Check for the existence of the <stdbool.h> header.
20593 for ac_header in stdbool.h
20594 do :
20595 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20596 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20597 cat >>confdefs.h <<_ACEOF
20598 #define HAVE_STDBOOL_H 1
20599 _ACEOF
20600
20601 fi
20602
20603 done
20604
20605
20606 # Check for the existence of the <stdalign.h> header.
20607 for ac_header in stdalign.h
20608 do :
20609 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20610 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20611 cat >>confdefs.h <<_ACEOF
20612 #define HAVE_STDALIGN_H 1
20613 _ACEOF
20614
20615 fi
20616
20617 done
20618
20619
20620 CXXFLAGS="$ac_save_CXXFLAGS"
20621 ac_ext=c
20622 ac_cpp='$CPP $CPPFLAGS'
20623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20626
20627
20628
20629 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20630
20631
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20633 $as_echo_n "checking for the value of EOF... " >&6; }
20634 if ${glibcxx_cv_stdio_eof+:} false; then :
20635 $as_echo_n "(cached) " >&6
20636 else
20637
20638 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20639
20640 else
20641 as_fn_error $? "computing EOF failed" "$LINENO" 5
20642 fi
20643
20644
20645 fi
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20647 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20648
20649 cat >>confdefs.h <<_ACEOF
20650 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20651 _ACEOF
20652
20653
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20655 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20656 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20657 $as_echo_n "(cached) " >&6
20658 else
20659
20660 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20661
20662 else
20663 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20664 fi
20665
20666
20667 fi
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20669 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20670
20671 cat >>confdefs.h <<_ACEOF
20672 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20673 _ACEOF
20674
20675
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20677 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20678 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20679 $as_echo_n "(cached) " >&6
20680 else
20681
20682 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20683
20684 else
20685 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20686 fi
20687
20688
20689 fi
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20691 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20692
20693 cat >>confdefs.h <<_ACEOF
20694 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20695 _ACEOF
20696
20697
20698
20699 # For gettimeofday support.
20700
20701
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20703 $as_echo_n "checking for gettimeofday... " >&6; }
20704
20705
20706 ac_ext=cpp
20707 ac_cpp='$CXXCPP $CPPFLAGS'
20708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20711
20712 ac_save_CXXFLAGS="$CXXFLAGS"
20713 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20714
20715 ac_has_gettimeofday=no;
20716 for ac_header in sys/time.h
20717 do :
20718 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20719 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20720 cat >>confdefs.h <<_ACEOF
20721 #define HAVE_SYS_TIME_H 1
20722 _ACEOF
20723 ac_has_sys_time_h=yes
20724 else
20725 ac_has_sys_time_h=no
20726 fi
20727
20728 done
20729
20730 if test x"$ac_has_sys_time_h" = x"yes"; then
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20732 $as_echo_n "checking for gettimeofday... " >&6; }
20733 if test x$gcc_no_link = xyes; then
20734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20736 #include <sys/time.h>
20737 int
20738 main ()
20739 {
20740 timeval tv; gettimeofday(&tv, 0);
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 if ac_fn_cxx_try_compile "$LINENO"; then :
20746 ac_has_gettimeofday=yes
20747 else
20748 ac_has_gettimeofday=no
20749 fi
20750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20751 else
20752 if test x$gcc_no_link = xyes; then
20753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20754 fi
20755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20756 /* end confdefs.h. */
20757 #include <sys/time.h>
20758 int
20759 main ()
20760 {
20761 timeval tv; gettimeofday(&tv, 0);
20762 ;
20763 return 0;
20764 }
20765 _ACEOF
20766 if ac_fn_cxx_try_link "$LINENO"; then :
20767 ac_has_gettimeofday=yes
20768 else
20769 ac_has_gettimeofday=no
20770 fi
20771 rm -f core conftest.err conftest.$ac_objext \
20772 conftest$ac_exeext conftest.$ac_ext
20773 fi
20774
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20776 $as_echo "$ac_has_gettimeofday" >&6; }
20777 fi
20778
20779 if test x"$ac_has_gettimeofday" = x"yes"; then
20780
20781 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20782
20783 fi
20784
20785 CXXFLAGS="$ac_save_CXXFLAGS"
20786 ac_ext=c
20787 ac_cpp='$CPP $CPPFLAGS'
20788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20791
20792
20793
20794 # For clock_gettime, nanosleep and sched_yield support.
20795
20796
20797 # Check whether --enable-libstdcxx-time was given.
20798 if test "${enable_libstdcxx_time+set}" = set; then :
20799 enableval=$enable_libstdcxx_time;
20800 case "$enableval" in
20801 yes|no|rt) ;;
20802 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20803 esac
20804
20805 else
20806 enable_libstdcxx_time=auto
20807 fi
20808
20809
20810
20811
20812 ac_ext=cpp
20813 ac_cpp='$CXXCPP $CPPFLAGS'
20814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20817
20818 ac_save_CXXFLAGS="$CXXFLAGS"
20819 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20820 ac_save_LIBS="$LIBS"
20821
20822 ac_has_clock_monotonic=no
20823 ac_has_clock_realtime=no
20824 ac_has_nanosleep=no
20825 ac_has_sched_yield=no
20826
20827 if test x"$enable_libstdcxx_time" = x"auto"; then
20828
20829 case "${target_os}" in
20830 cygwin*)
20831 ac_has_nanosleep=yes
20832 ;;
20833 darwin*)
20834 ac_has_nanosleep=yes
20835 ac_has_sched_yield=yes
20836 ;;
20837 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20839 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20842 #include <features.h>
20843 int
20844 main ()
20845 {
20846
20847 #if ! __GLIBC_PREREQ(2, 17)
20848 #error
20849 #endif
20850
20851 ;
20852 return 0;
20853 }
20854 _ACEOF
20855 if ac_fn_cxx_try_compile "$LINENO"; then :
20856 glibcxx_glibc217=yes
20857 else
20858 glibcxx_glibc217=no
20859 fi
20860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20862 $as_echo "$glibcxx_glibc217" >&6; }
20863
20864 if test x"$glibcxx_glibc217" = x"yes"; then
20865 ac_has_clock_monotonic=yes
20866 ac_has_clock_realtime=yes
20867 fi
20868 ac_has_nanosleep=yes
20869 ac_has_sched_yield=yes
20870 ;;
20871 freebsd*|netbsd*|dragonfly*|rtems*)
20872 ac_has_clock_monotonic=yes
20873 ac_has_clock_realtime=yes
20874 ac_has_nanosleep=yes
20875 ac_has_sched_yield=yes
20876 ;;
20877 openbsd*)
20878 ac_has_clock_monotonic=yes
20879 ac_has_clock_realtime=yes
20880 ac_has_nanosleep=yes
20881 ;;
20882 solaris*)
20883 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20884 ac_has_clock_monotonic=yes
20885 ac_has_clock_realtime=yes
20886 ac_has_nanosleep=yes
20887 ac_has_sched_yield=yes
20888 ;;
20889 esac
20890
20891 elif test x"$enable_libstdcxx_time" != x"no"; then
20892
20893 if test x"$enable_libstdcxx_time" = x"rt"; then
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20895 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20896 if ${ac_cv_search_clock_gettime+:} false; then :
20897 $as_echo_n "(cached) " >&6
20898 else
20899 ac_func_search_save_LIBS=$LIBS
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902
20903 /* Override any GCC internal prototype to avoid an error.
20904 Use char because int might match the return type of a GCC
20905 builtin and then its argument prototype would still apply. */
20906 #ifdef __cplusplus
20907 extern "C"
20908 #endif
20909 char clock_gettime ();
20910 int
20911 main ()
20912 {
20913 return clock_gettime ();
20914 ;
20915 return 0;
20916 }
20917 _ACEOF
20918 for ac_lib in '' rt posix4; do
20919 if test -z "$ac_lib"; then
20920 ac_res="none required"
20921 else
20922 ac_res=-l$ac_lib
20923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20924 fi
20925 if test x$gcc_no_link = xyes; then
20926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20927 fi
20928 if ac_fn_cxx_try_link "$LINENO"; then :
20929 ac_cv_search_clock_gettime=$ac_res
20930 fi
20931 rm -f core conftest.err conftest.$ac_objext \
20932 conftest$ac_exeext
20933 if ${ac_cv_search_clock_gettime+:} false; then :
20934 break
20935 fi
20936 done
20937 if ${ac_cv_search_clock_gettime+:} false; then :
20938
20939 else
20940 ac_cv_search_clock_gettime=no
20941 fi
20942 rm conftest.$ac_ext
20943 LIBS=$ac_func_search_save_LIBS
20944 fi
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20946 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20947 ac_res=$ac_cv_search_clock_gettime
20948 if test "$ac_res" != no; then :
20949 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20950
20951 fi
20952
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20954 $as_echo_n "checking for library containing nanosleep... " >&6; }
20955 if ${ac_cv_search_nanosleep+:} false; then :
20956 $as_echo_n "(cached) " >&6
20957 else
20958 ac_func_search_save_LIBS=$LIBS
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961
20962 /* Override any GCC internal prototype to avoid an error.
20963 Use char because int might match the return type of a GCC
20964 builtin and then its argument prototype would still apply. */
20965 #ifdef __cplusplus
20966 extern "C"
20967 #endif
20968 char nanosleep ();
20969 int
20970 main ()
20971 {
20972 return nanosleep ();
20973 ;
20974 return 0;
20975 }
20976 _ACEOF
20977 for ac_lib in '' rt posix4; do
20978 if test -z "$ac_lib"; then
20979 ac_res="none required"
20980 else
20981 ac_res=-l$ac_lib
20982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20983 fi
20984 if test x$gcc_no_link = xyes; then
20985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986 fi
20987 if ac_fn_cxx_try_link "$LINENO"; then :
20988 ac_cv_search_nanosleep=$ac_res
20989 fi
20990 rm -f core conftest.err conftest.$ac_objext \
20991 conftest$ac_exeext
20992 if ${ac_cv_search_nanosleep+:} false; then :
20993 break
20994 fi
20995 done
20996 if ${ac_cv_search_nanosleep+:} false; then :
20997
20998 else
20999 ac_cv_search_nanosleep=no
21000 fi
21001 rm conftest.$ac_ext
21002 LIBS=$ac_func_search_save_LIBS
21003 fi
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21005 $as_echo "$ac_cv_search_nanosleep" >&6; }
21006 ac_res=$ac_cv_search_nanosleep
21007 if test "$ac_res" != no; then :
21008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21009
21010 fi
21011
21012 else
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21014 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21015 if ${ac_cv_search_clock_gettime+:} false; then :
21016 $as_echo_n "(cached) " >&6
21017 else
21018 ac_func_search_save_LIBS=$LIBS
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021
21022 /* Override any GCC internal prototype to avoid an error.
21023 Use char because int might match the return type of a GCC
21024 builtin and then its argument prototype would still apply. */
21025 #ifdef __cplusplus
21026 extern "C"
21027 #endif
21028 char clock_gettime ();
21029 int
21030 main ()
21031 {
21032 return clock_gettime ();
21033 ;
21034 return 0;
21035 }
21036 _ACEOF
21037 for ac_lib in '' posix4; do
21038 if test -z "$ac_lib"; then
21039 ac_res="none required"
21040 else
21041 ac_res=-l$ac_lib
21042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21043 fi
21044 if test x$gcc_no_link = xyes; then
21045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21046 fi
21047 if ac_fn_cxx_try_link "$LINENO"; then :
21048 ac_cv_search_clock_gettime=$ac_res
21049 fi
21050 rm -f core conftest.err conftest.$ac_objext \
21051 conftest$ac_exeext
21052 if ${ac_cv_search_clock_gettime+:} false; then :
21053 break
21054 fi
21055 done
21056 if ${ac_cv_search_clock_gettime+:} false; then :
21057
21058 else
21059 ac_cv_search_clock_gettime=no
21060 fi
21061 rm conftest.$ac_ext
21062 LIBS=$ac_func_search_save_LIBS
21063 fi
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21065 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21066 ac_res=$ac_cv_search_clock_gettime
21067 if test "$ac_res" != no; then :
21068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21069
21070 fi
21071
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21073 $as_echo_n "checking for library containing nanosleep... " >&6; }
21074 if ${ac_cv_search_nanosleep+:} false; then :
21075 $as_echo_n "(cached) " >&6
21076 else
21077 ac_func_search_save_LIBS=$LIBS
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21080
21081 /* Override any GCC internal prototype to avoid an error.
21082 Use char because int might match the return type of a GCC
21083 builtin and then its argument prototype would still apply. */
21084 #ifdef __cplusplus
21085 extern "C"
21086 #endif
21087 char nanosleep ();
21088 int
21089 main ()
21090 {
21091 return nanosleep ();
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 for ac_lib in '' posix4; do
21097 if test -z "$ac_lib"; then
21098 ac_res="none required"
21099 else
21100 ac_res=-l$ac_lib
21101 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21102 fi
21103 if test x$gcc_no_link = xyes; then
21104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21105 fi
21106 if ac_fn_cxx_try_link "$LINENO"; then :
21107 ac_cv_search_nanosleep=$ac_res
21108 fi
21109 rm -f core conftest.err conftest.$ac_objext \
21110 conftest$ac_exeext
21111 if ${ac_cv_search_nanosleep+:} false; then :
21112 break
21113 fi
21114 done
21115 if ${ac_cv_search_nanosleep+:} false; then :
21116
21117 else
21118 ac_cv_search_nanosleep=no
21119 fi
21120 rm conftest.$ac_ext
21121 LIBS=$ac_func_search_save_LIBS
21122 fi
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21124 $as_echo "$ac_cv_search_nanosleep" >&6; }
21125 ac_res=$ac_cv_search_nanosleep
21126 if test "$ac_res" != no; then :
21127 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21128
21129 fi
21130
21131 fi
21132
21133 case "$ac_cv_search_clock_gettime" in
21134 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21135 ;;
21136 esac
21137 case "$ac_cv_search_nanosleep" in
21138 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21139 ;;
21140 esac
21141
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21143 $as_echo_n "checking for library containing sched_yield... " >&6; }
21144 if ${ac_cv_search_sched_yield+:} false; then :
21145 $as_echo_n "(cached) " >&6
21146 else
21147 ac_func_search_save_LIBS=$LIBS
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h. */
21150
21151 /* Override any GCC internal prototype to avoid an error.
21152 Use char because int might match the return type of a GCC
21153 builtin and then its argument prototype would still apply. */
21154 #ifdef __cplusplus
21155 extern "C"
21156 #endif
21157 char sched_yield ();
21158 int
21159 main ()
21160 {
21161 return sched_yield ();
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 for ac_lib in '' rt posix4; do
21167 if test -z "$ac_lib"; then
21168 ac_res="none required"
21169 else
21170 ac_res=-l$ac_lib
21171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21172 fi
21173 if test x$gcc_no_link = xyes; then
21174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21175 fi
21176 if ac_fn_cxx_try_link "$LINENO"; then :
21177 ac_cv_search_sched_yield=$ac_res
21178 fi
21179 rm -f core conftest.err conftest.$ac_objext \
21180 conftest$ac_exeext
21181 if ${ac_cv_search_sched_yield+:} false; then :
21182 break
21183 fi
21184 done
21185 if ${ac_cv_search_sched_yield+:} false; then :
21186
21187 else
21188 ac_cv_search_sched_yield=no
21189 fi
21190 rm conftest.$ac_ext
21191 LIBS=$ac_func_search_save_LIBS
21192 fi
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21194 $as_echo "$ac_cv_search_sched_yield" >&6; }
21195 ac_res=$ac_cv_search_sched_yield
21196 if test "$ac_res" != no; then :
21197 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21198
21199 fi
21200
21201
21202 case "$ac_cv_search_sched_yield" in
21203 -lposix4*)
21204 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21205 ac_has_sched_yield=yes
21206 ;;
21207 -lrt*)
21208 if test x"$enable_libstdcxx_time" = x"rt"; then
21209 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21210 ac_has_sched_yield=yes
21211 fi
21212 ;;
21213 *)
21214 ac_has_sched_yield=yes
21215 ;;
21216 esac
21217
21218 for ac_header in unistd.h
21219 do :
21220 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21221 if test "x$ac_cv_header_unistd_h" = xyes; then :
21222 cat >>confdefs.h <<_ACEOF
21223 #define HAVE_UNISTD_H 1
21224 _ACEOF
21225 ac_has_unistd_h=yes
21226 else
21227 ac_has_unistd_h=no
21228 fi
21229
21230 done
21231
21232
21233 if test x"$ac_has_unistd_h" = x"yes"; then
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21235 $as_echo_n "checking for monotonic clock... " >&6; }
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 fi
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <unistd.h>
21242 #include <time.h>
21243
21244 int
21245 main ()
21246 {
21247 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21248 timespec tp;
21249 #endif
21250 clock_gettime(CLOCK_MONOTONIC, &tp);
21251
21252 ;
21253 return 0;
21254 }
21255 _ACEOF
21256 if ac_fn_cxx_try_link "$LINENO"; then :
21257 ac_has_clock_monotonic=yes
21258 else
21259 ac_has_clock_monotonic=no
21260 fi
21261 rm -f core conftest.err conftest.$ac_objext \
21262 conftest$ac_exeext conftest.$ac_ext
21263
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21265 $as_echo "$ac_has_clock_monotonic" >&6; }
21266
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21268 $as_echo_n "checking for realtime clock... " >&6; }
21269 if test x$gcc_no_link = xyes; then
21270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21271 fi
21272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 #include <unistd.h>
21275 #include <time.h>
21276
21277 int
21278 main ()
21279 {
21280 #if _POSIX_TIMERS > 0
21281 timespec tp;
21282 #endif
21283 clock_gettime(CLOCK_REALTIME, &tp);
21284
21285 ;
21286 return 0;
21287 }
21288 _ACEOF
21289 if ac_fn_cxx_try_link "$LINENO"; then :
21290 ac_has_clock_realtime=yes
21291 else
21292 ac_has_clock_realtime=no
21293 fi
21294 rm -f core conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext conftest.$ac_ext
21296
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21298 $as_echo "$ac_has_clock_realtime" >&6; }
21299
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21301 $as_echo_n "checking for nanosleep... " >&6; }
21302 if test x$gcc_no_link = xyes; then
21303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 fi
21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307 #include <unistd.h>
21308 #include <time.h>
21309
21310 int
21311 main ()
21312 {
21313 #if _POSIX_TIMERS > 0
21314 timespec tp;
21315 #endif
21316 nanosleep(&tp, 0);
21317
21318 ;
21319 return 0;
21320 }
21321 _ACEOF
21322 if ac_fn_cxx_try_link "$LINENO"; then :
21323 ac_has_nanosleep=yes
21324 else
21325 ac_has_nanosleep=no
21326 fi
21327 rm -f core conftest.err conftest.$ac_objext \
21328 conftest$ac_exeext conftest.$ac_ext
21329
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21331 $as_echo "$ac_has_nanosleep" >&6; }
21332 fi
21333 fi
21334
21335 if test x"$ac_has_clock_monotonic" != x"yes"; then
21336 case ${target_os} in
21337 linux*)
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21339 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21342 #include <unistd.h>
21343 #include <time.h>
21344 #include <sys/syscall.h>
21345
21346 int
21347 main ()
21348 {
21349 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21350 timespec tp;
21351 #endif
21352 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21353 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 if ac_fn_cxx_try_compile "$LINENO"; then :
21360 ac_has_clock_monotonic_syscall=yes
21361 else
21362 ac_has_clock_monotonic_syscall=no
21363 fi
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21366 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21367 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21368
21369 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21370
21371 ac_has_clock_monotonic=yes
21372 ac_has_clock_realtime=yes
21373 fi;;
21374 esac
21375 fi
21376
21377 if test x"$ac_has_clock_monotonic" = x"yes"; then
21378
21379 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21380
21381 fi
21382
21383 if test x"$ac_has_clock_realtime" = x"yes"; then
21384
21385 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21386
21387 fi
21388
21389 if test x"$ac_has_sched_yield" = x"yes"; then
21390
21391 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21392
21393 fi
21394
21395 if test x"$ac_has_nanosleep" = x"yes"; then
21396
21397 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21398
21399 else
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21401 $as_echo_n "checking for sleep... " >&6; }
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404 #include <unistd.h>
21405 int
21406 main ()
21407 {
21408 sleep(1)
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414 ac_has_sleep=yes
21415 else
21416 ac_has_sleep=no
21417 fi
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 if test x"$ac_has_sleep" = x"yes"; then
21420
21421 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21422
21423 fi
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21425 $as_echo "$ac_has_sleep" >&6; }
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21427 $as_echo_n "checking for usleep... " >&6; }
21428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21429 /* end confdefs.h. */
21430 #include <unistd.h>
21431 int
21432 main ()
21433 {
21434 sleep(1);
21435 usleep(100);
21436 ;
21437 return 0;
21438 }
21439 _ACEOF
21440 if ac_fn_cxx_try_compile "$LINENO"; then :
21441 ac_has_usleep=yes
21442 else
21443 ac_has_usleep=no
21444 fi
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 if test x"$ac_has_usleep" = x"yes"; then
21447
21448 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21449
21450 fi
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21452 $as_echo "$ac_has_usleep" >&6; }
21453 fi
21454
21455 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21457 $as_echo_n "checking for Sleep... " >&6; }
21458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h. */
21460 #include <windows.h>
21461 int
21462 main ()
21463 {
21464 Sleep(1)
21465 ;
21466 return 0;
21467 }
21468 _ACEOF
21469 if ac_fn_cxx_try_compile "$LINENO"; then :
21470 ac_has_win32_sleep=yes
21471 else
21472 ac_has_win32_sleep=no
21473 fi
21474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 if test x"$ac_has_win32_sleep" = x"yes"; then
21476
21477 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21478
21479 fi
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21481 $as_echo "$ac_has_win32_sleep" >&6; }
21482 fi
21483
21484
21485
21486 CXXFLAGS="$ac_save_CXXFLAGS"
21487 LIBS="$ac_save_LIBS"
21488 ac_ext=c
21489 ac_cpp='$CPP $CPPFLAGS'
21490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21493
21494
21495
21496 # Check for tmpnam which is obsolescent in POSIX.1-2008
21497
21498 ac_ext=cpp
21499 ac_cpp='$CXXCPP $CPPFLAGS'
21500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503
21504 ac_save_CXXFLAGS="$CXXFLAGS"
21505 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21507 $as_echo_n "checking for tmpnam... " >&6; }
21508 if ${glibcxx_cv_TMPNAM+:} false; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21511 if test x$gcc_no_link = xyes; then
21512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21514 #include <stdio.h>
21515 int
21516 main ()
21517 {
21518 char *tmp = tmpnam(NULL);
21519 ;
21520 return 0;
21521 }
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524 glibcxx_cv_TMPNAM=yes
21525 else
21526 glibcxx_cv_TMPNAM=no
21527 fi
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 else
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 fi
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #include <stdio.h>
21536 int
21537 main ()
21538 {
21539 char *tmp = tmpnam(NULL);
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
21544 if ac_fn_cxx_try_link "$LINENO"; then :
21545 glibcxx_cv_TMPNAM=yes
21546 else
21547 glibcxx_cv_TMPNAM=no
21548 fi
21549 rm -f core conftest.err conftest.$ac_objext \
21550 conftest$ac_exeext conftest.$ac_ext
21551 fi
21552
21553 fi
21554
21555 if test $glibcxx_cv_TMPNAM = yes; then
21556
21557 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21558
21559 fi
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21561 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21562 CXXFLAGS="$ac_save_CXXFLAGS"
21563 ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568
21569
21570
21571
21572 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21573 if test "x$ac_cv_header_locale_h" = xyes; then :
21574
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21576 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21577 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21578 $as_echo_n "(cached) " >&6
21579 else
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21582 #include <locale.h>
21583 int
21584 main ()
21585 {
21586 return LC_MESSAGES
21587 ;
21588 return 0;
21589 }
21590 _ACEOF
21591 if ac_fn_c_try_compile "$LINENO"; then :
21592 ac_cv_val_LC_MESSAGES=yes
21593 else
21594 ac_cv_val_LC_MESSAGES=no
21595 fi
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 fi
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21599 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21600 if test $ac_cv_val_LC_MESSAGES = yes; then
21601
21602 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21603
21604 fi
21605
21606 fi
21607
21608
21609
21610
21611 # For hardware_concurrency
21612 for ac_header in sys/sysinfo.h
21613 do :
21614 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21615 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21616 cat >>confdefs.h <<_ACEOF
21617 #define HAVE_SYS_SYSINFO_H 1
21618 _ACEOF
21619
21620 fi
21621
21622 done
21623
21624
21625
21626
21627 ac_ext=cpp
21628 ac_cpp='$CXXCPP $CPPFLAGS'
21629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21632
21633 ac_save_CXXFLAGS="$CXXFLAGS"
21634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21635
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21637 $as_echo_n "checking for get_nprocs... " >&6; }
21638 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21639 $as_echo_n "(cached) " >&6
21640 else
21641
21642 if test x$gcc_no_link = xyes; then
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <sys/sysinfo.h>
21646 int
21647 main ()
21648 {
21649 int n = get_nprocs();
21650 ;
21651 return 0;
21652 }
21653 _ACEOF
21654 if ac_fn_cxx_try_compile "$LINENO"; then :
21655 glibcxx_cv_GET_NPROCS=yes
21656 else
21657 glibcxx_cv_GET_NPROCS=no
21658 fi
21659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 else
21661 if test x$gcc_no_link = xyes; then
21662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21663 fi
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <sys/sysinfo.h>
21667 int
21668 main ()
21669 {
21670 int n = get_nprocs();
21671 ;
21672 return 0;
21673 }
21674 _ACEOF
21675 if ac_fn_cxx_try_link "$LINENO"; then :
21676 glibcxx_cv_GET_NPROCS=yes
21677 else
21678 glibcxx_cv_GET_NPROCS=no
21679 fi
21680 rm -f core conftest.err conftest.$ac_objext \
21681 conftest$ac_exeext conftest.$ac_ext
21682 fi
21683
21684 fi
21685
21686 if test $glibcxx_cv_GET_NPROCS = yes; then
21687
21688 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21689
21690 fi
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21692 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21693
21694 CXXFLAGS="$ac_save_CXXFLAGS"
21695 ac_ext=c
21696 ac_cpp='$CPP $CPPFLAGS'
21697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700
21701
21702 for ac_header in unistd.h
21703 do :
21704 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21705 if test "x$ac_cv_header_unistd_h" = xyes; then :
21706 cat >>confdefs.h <<_ACEOF
21707 #define HAVE_UNISTD_H 1
21708 _ACEOF
21709
21710 fi
21711
21712 done
21713
21714
21715
21716
21717 ac_ext=cpp
21718 ac_cpp='$CXXCPP $CPPFLAGS'
21719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21722
21723 ac_save_CXXFLAGS="$CXXFLAGS"
21724 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21725
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21727 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21728 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21729 $as_echo_n "(cached) " >&6
21730 else
21731
21732 if test x$gcc_no_link = xyes; then
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21735 #include <unistd.h>
21736 int
21737 main ()
21738 {
21739 int n = sysconf(_SC_NPROCESSORS_ONLN);
21740 ;
21741 return 0;
21742 }
21743 _ACEOF
21744 if ac_fn_cxx_try_compile "$LINENO"; then :
21745 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21746 else
21747 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21748 fi
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 else
21751 if test x$gcc_no_link = xyes; then
21752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21753 fi
21754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755 /* end confdefs.h. */
21756 #include <unistd.h>
21757 int
21758 main ()
21759 {
21760 int n = sysconf(_SC_NPROCESSORS_ONLN);
21761 ;
21762 return 0;
21763 }
21764 _ACEOF
21765 if ac_fn_cxx_try_link "$LINENO"; then :
21766 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21767 else
21768 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21769 fi
21770 rm -f core conftest.err conftest.$ac_objext \
21771 conftest$ac_exeext conftest.$ac_ext
21772 fi
21773
21774 fi
21775
21776 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21777
21778 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21779
21780 fi
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21782 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21783
21784 CXXFLAGS="$ac_save_CXXFLAGS"
21785 ac_ext=c
21786 ac_cpp='$CPP $CPPFLAGS'
21787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21790
21791
21792
21793
21794
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800
21801 ac_save_CXXFLAGS="$CXXFLAGS"
21802 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21803
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21805 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21806 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21807 $as_echo_n "(cached) " >&6
21808 else
21809
21810 if test x$gcc_no_link = xyes; then
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21813 #include <unistd.h>
21814 int
21815 main ()
21816 {
21817 int n = sysconf(_SC_NPROC_ONLN);
21818 ;
21819 return 0;
21820 }
21821 _ACEOF
21822 if ac_fn_cxx_try_compile "$LINENO"; then :
21823 glibcxx_cv_SC_NPROC_ONLN=yes
21824 else
21825 glibcxx_cv_SC_NPROC_ONLN=no
21826 fi
21827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21828 else
21829 if test x$gcc_no_link = xyes; then
21830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21831 fi
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21834 #include <unistd.h>
21835 int
21836 main ()
21837 {
21838 int n = sysconf(_SC_NPROC_ONLN);
21839 ;
21840 return 0;
21841 }
21842 _ACEOF
21843 if ac_fn_cxx_try_link "$LINENO"; then :
21844 glibcxx_cv_SC_NPROC_ONLN=yes
21845 else
21846 glibcxx_cv_SC_NPROC_ONLN=no
21847 fi
21848 rm -f core conftest.err conftest.$ac_objext \
21849 conftest$ac_exeext conftest.$ac_ext
21850 fi
21851
21852 fi
21853
21854 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21855
21856 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21857
21858 fi
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21860 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21861
21862 CXXFLAGS="$ac_save_CXXFLAGS"
21863 ac_ext=c
21864 ac_cpp='$CPP $CPPFLAGS'
21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21868
21869
21870
21871
21872
21873 ac_ext=cpp
21874 ac_cpp='$CXXCPP $CPPFLAGS'
21875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878
21879 ac_save_CXXFLAGS="$CXXFLAGS"
21880 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21881
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21883 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21884 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21885 $as_echo_n "(cached) " >&6
21886 else
21887
21888 if test x$gcc_no_link = xyes; then
21889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21890 /* end confdefs.h. */
21891 #include <pthread.h>
21892 int
21893 main ()
21894 {
21895 int n = pthread_num_processors_np();
21896 ;
21897 return 0;
21898 }
21899 _ACEOF
21900 if ac_fn_cxx_try_compile "$LINENO"; then :
21901 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21902 else
21903 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21904 fi
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 else
21907 if test x$gcc_no_link = xyes; then
21908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21909 fi
21910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21911 /* end confdefs.h. */
21912 #include <pthread.h>
21913 int
21914 main ()
21915 {
21916 int n = pthread_num_processors_np();
21917 ;
21918 return 0;
21919 }
21920 _ACEOF
21921 if ac_fn_cxx_try_link "$LINENO"; then :
21922 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21923 else
21924 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21925 fi
21926 rm -f core conftest.err conftest.$ac_objext \
21927 conftest$ac_exeext conftest.$ac_ext
21928 fi
21929
21930 fi
21931
21932 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21933
21934 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21935
21936 fi
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21938 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21939
21940 CXXFLAGS="$ac_save_CXXFLAGS"
21941 ac_ext=c
21942 ac_cpp='$CPP $CPPFLAGS'
21943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21946
21947
21948
21949
21950
21951 ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21956
21957 ac_save_CXXFLAGS="$CXXFLAGS"
21958 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21959
21960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21961 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21962 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21963 $as_echo_n "(cached) " >&6
21964 else
21965
21966 if test x$gcc_no_link = xyes; then
21967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21969
21970 #include <stddef.h>
21971 #include <sys/sysctl.h>
21972
21973 int
21974 main ()
21975 {
21976
21977 int count;
21978 size_t size = sizeof(count);
21979 int mib[] = { CTL_HW, HW_NCPU };
21980 sysctl(mib, 2, &count, &size, NULL, 0);
21981
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_SYSCTL_HW_NCPU=yes
21988 else
21989 glibcxx_cv_SYSCTL_HW_NCPU=no
21990 fi
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 else
21993 if test x$gcc_no_link = xyes; then
21994 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 fi
21996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21997 /* end confdefs.h. */
21998
21999 #include <stddef.h>
22000 #include <sys/sysctl.h>
22001
22002 int
22003 main ()
22004 {
22005
22006 int count;
22007 size_t size = sizeof(count);
22008 int mib[] = { CTL_HW, HW_NCPU };
22009 sysctl(mib, 2, &count, &size, NULL, 0);
22010
22011 ;
22012 return 0;
22013 }
22014 _ACEOF
22015 if ac_fn_cxx_try_link "$LINENO"; then :
22016 glibcxx_cv_SYSCTL_HW_NCPU=yes
22017 else
22018 glibcxx_cv_SYSCTL_HW_NCPU=no
22019 fi
22020 rm -f core conftest.err conftest.$ac_objext \
22021 conftest$ac_exeext conftest.$ac_ext
22022 fi
22023
22024 fi
22025
22026 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22027
22028 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22029
22030 fi
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22032 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22033
22034 CXXFLAGS="$ac_save_CXXFLAGS"
22035 ac_ext=c
22036 ac_cpp='$CPP $CPPFLAGS'
22037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040
22041
22042
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22044 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22045 # Note that this test has to be run with the C language.
22046 # Otherwise, sdt.h will try to include some headers from
22047 # libstdc++ itself.
22048
22049 ac_ext=c
22050 ac_cpp='$CPP $CPPFLAGS'
22051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22054
22055 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22056 $as_echo_n "(cached) " >&6
22057 else
22058
22059 # Because we have to run the test in C, we use grep rather
22060 # than the compiler to check for the bug. The bug is that
22061 # were strings without trailing whitespace, causing g++
22062 # to look for operator"". The pattern searches for the fixed
22063 # output.
22064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22065 /* end confdefs.h. */
22066
22067 #include <sys/sdt.h>
22068 int f() { STAP_PROBE(hi, bob); }
22069
22070 _ACEOF
22071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22072 $EGREP " \",\" " >/dev/null 2>&1; then :
22073 glibcxx_cv_sys_sdt_h=yes
22074 else
22075 glibcxx_cv_sys_sdt_h=no
22076 fi
22077 rm -f conftest*
22078
22079
22080 fi
22081
22082 ac_ext=c
22083 ac_cpp='$CPP $CPPFLAGS'
22084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22087
22088 if test $glibcxx_cv_sys_sdt_h = yes; then
22089
22090 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22091
22092 fi
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22094 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22095
22096
22097 # Check for available headers.
22098 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22099 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22100 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22101 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22102 wchar.h wctype.h linux/types.h
22103 do :
22104 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22105 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22106 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22107 cat >>confdefs.h <<_ACEOF
22108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22109 _ACEOF
22110
22111 fi
22112
22113 done
22114
22115
22116 for ac_header in linux/random.h
22117 do :
22118 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22119 # include <linux/types.h>
22120 #endif
22121
22122 "
22123 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22124 cat >>confdefs.h <<_ACEOF
22125 #define HAVE_LINUX_RANDOM_H 1
22126 _ACEOF
22127
22128 fi
22129
22130 done
22131
22132
22133 # Only do link tests if native. Else, hardcode.
22134 if $GLIBCXX_IS_NATIVE; then
22135
22136 # We can do more elaborate tests that assume a working linker.
22137 CANADIAN=no
22138
22139
22140
22141 # Check whether --with-gnu-ld was given.
22142 if test "${with_gnu_ld+set}" = set; then :
22143 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22144 else
22145 with_gnu_ld=no
22146 fi
22147
22148 ac_prog=ld
22149 if test "$GCC" = yes; then
22150 # Check if gcc -print-prog-name=ld gives a path.
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22152 $as_echo_n "checking for ld used by $CC... " >&6; }
22153 case $host in
22154 *-*-mingw*)
22155 # gcc leaves a trailing carriage return which upsets mingw
22156 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22157 *)
22158 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22159 esac
22160 case $ac_prog in
22161 # Accept absolute paths.
22162 [\\/]* | ?:[\\/]*)
22163 re_direlt='/[^/][^/]*/\.\./'
22164 # Canonicalize the pathname of ld
22165 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22166 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22167 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22168 done
22169 test -z "$LD" && LD="$ac_prog"
22170 ;;
22171 "")
22172 # If it fails, then pretend we aren't using GCC.
22173 ac_prog=ld
22174 ;;
22175 *)
22176 # If it is relative, then search for the first ld in PATH.
22177 with_gnu_ld=unknown
22178 ;;
22179 esac
22180 elif test "$with_gnu_ld" = yes; then
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22182 $as_echo_n "checking for GNU ld... " >&6; }
22183 else
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22185 $as_echo_n "checking for non-GNU ld... " >&6; }
22186 fi
22187 if ${lt_cv_path_LD+:} false; then :
22188 $as_echo_n "(cached) " >&6
22189 else
22190 if test -z "$LD"; then
22191 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22192 for ac_dir in $PATH; do
22193 IFS="$lt_save_ifs"
22194 test -z "$ac_dir" && ac_dir=.
22195 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22196 lt_cv_path_LD="$ac_dir/$ac_prog"
22197 # Check to see if the program is GNU ld. I'd rather use --version,
22198 # but apparently some variants of GNU ld only accept -v.
22199 # Break only if it was the GNU/non-GNU ld that we prefer.
22200 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22201 *GNU* | *'with BFD'*)
22202 test "$with_gnu_ld" != no && break
22203 ;;
22204 *)
22205 test "$with_gnu_ld" != yes && break
22206 ;;
22207 esac
22208 fi
22209 done
22210 IFS="$lt_save_ifs"
22211 else
22212 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22213 fi
22214 fi
22215
22216 LD="$lt_cv_path_LD"
22217 if test -n "$LD"; then
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22219 $as_echo "$LD" >&6; }
22220 else
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22222 $as_echo "no" >&6; }
22223 fi
22224 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22226 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22227 if ${lt_cv_prog_gnu_ld+:} false; then :
22228 $as_echo_n "(cached) " >&6
22229 else
22230 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22231 case `$LD -v 2>&1 </dev/null` in
22232 *GNU* | *'with BFD'*)
22233 lt_cv_prog_gnu_ld=yes
22234 ;;
22235 *)
22236 lt_cv_prog_gnu_ld=no
22237 ;;
22238 esac
22239 fi
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22241 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22242 with_gnu_ld=$lt_cv_prog_gnu_ld
22243
22244
22245
22246
22247
22248
22249
22250 # If we're not using GNU ld, then there's no point in even trying these
22251 # tests. Check for that first. We should have already tested for gld
22252 # by now (in libtool), but require it now just to be safe...
22253 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22254 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22255
22256
22257
22258 # The name set by libtool depends on the version of libtool. Shame on us
22259 # for depending on an impl detail, but c'est la vie. Older versions used
22260 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22261 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22262 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22263 # set (hence we're using an older libtool), then set it.
22264 if test x${with_gnu_ld+set} != xset; then
22265 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22266 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22267 with_gnu_ld=no
22268 else
22269 with_gnu_ld=$ac_cv_prog_gnu_ld
22270 fi
22271 fi
22272
22273 # Start by getting the version number. I think the libtool test already
22274 # does some of this, but throws away the result.
22275 glibcxx_ld_is_gold=no
22276 if test x"$with_gnu_ld" = x"yes"; then
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22278 $as_echo_n "checking for ld version... " >&6; }
22279
22280 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22281 glibcxx_ld_is_gold=yes
22282 fi
22283 ldver=`$LD --version 2>/dev/null |
22284 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'`
22285
22286 glibcxx_gnu_ld_version=`echo $ldver | \
22287 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22289 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22290 fi
22291
22292 # Set --gc-sections.
22293 glibcxx_have_gc_sections=no
22294 if test "$glibcxx_ld_is_gold" = "yes"; then
22295 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22296 glibcxx_have_gc_sections=yes
22297 fi
22298 else
22299 glibcxx_gcsections_min_ld=21602
22300 if test x"$with_gnu_ld" = x"yes" &&
22301 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22302 glibcxx_have_gc_sections=yes
22303 fi
22304 fi
22305 if test "$glibcxx_have_gc_sections" = "yes"; then
22306 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22307 # NB: This flag only works reliably after 2.16.1. Configure tests
22308 # for this are difficult, so hard wire a value that should work.
22309
22310 ac_test_CFLAGS="${CFLAGS+set}"
22311 ac_save_CFLAGS="$CFLAGS"
22312 CFLAGS='-Wl,--gc-sections'
22313
22314 # Check for -Wl,--gc-sections
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22316 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22317 if test x$gcc_no_link = xyes; then
22318 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22319 fi
22320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22321 /* end confdefs.h. */
22322 int one(void) { return 1; }
22323 int two(void) { return 2; }
22324
22325 int
22326 main ()
22327 {
22328 two();
22329 ;
22330 return 0;
22331 }
22332 _ACEOF
22333 if ac_fn_c_try_link "$LINENO"; then :
22334 ac_gcsections=yes
22335 else
22336 ac_gcsections=no
22337 fi
22338 rm -f core conftest.err conftest.$ac_objext \
22339 conftest$ac_exeext conftest.$ac_ext
22340 if test "$ac_gcsections" = "yes"; then
22341 rm -f conftest.c
22342 touch conftest.c
22343 if $CC -c conftest.c; then
22344 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22345 grep "Warning: gc-sections option ignored" > /dev/null; then
22346 ac_gcsections=no
22347 fi
22348 fi
22349 rm -f conftest.c conftest.o conftest
22350 fi
22351 if test "$ac_gcsections" = "yes"; then
22352 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22353 fi
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22355 $as_echo "$ac_gcsections" >&6; }
22356
22357 if test "$ac_test_CFLAGS" = set; then
22358 CFLAGS="$ac_save_CFLAGS"
22359 else
22360 # this is the suspicious part
22361 CFLAGS=''
22362 fi
22363 fi
22364
22365 # Set -z,relro.
22366 # Note this is only for shared objects.
22367 ac_ld_relro=no
22368 if test x"$with_gnu_ld" = x"yes"; then
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22370 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22371 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22372 if test -n "$cxx_z_relo"; then
22373 OPT_LDFLAGS="-Wl,-z,relro"
22374 ac_ld_relro=yes
22375 fi
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22377 $as_echo "$ac_ld_relro" >&6; }
22378 fi
22379
22380 # Set linker optimization flags.
22381 if test x"$with_gnu_ld" = x"yes"; then
22382 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22383 fi
22384
22385
22386
22387
22388
22389 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22390 ac_save_CXXFLAGS="$CXXFLAGS"
22391 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22392
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22394 $as_echo_n "checking for sin in -lm... " >&6; }
22395 if ${ac_cv_lib_m_sin+:} false; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398 ac_check_lib_save_LIBS=$LIBS
22399 LIBS="-lm $LIBS"
22400 if test x$gcc_no_link = xyes; then
22401 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22402 fi
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22405
22406 /* Override any GCC internal prototype to avoid an error.
22407 Use char because int might match the return type of a GCC
22408 builtin and then its argument prototype would still apply. */
22409 #ifdef __cplusplus
22410 extern "C"
22411 #endif
22412 char sin ();
22413 int
22414 main ()
22415 {
22416 return sin ();
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_c_try_link "$LINENO"; then :
22422 ac_cv_lib_m_sin=yes
22423 else
22424 ac_cv_lib_m_sin=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext \
22427 conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22429 fi
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22431 $as_echo "$ac_cv_lib_m_sin" >&6; }
22432 if test "x$ac_cv_lib_m_sin" = xyes; then :
22433 libm="-lm"
22434 fi
22435
22436 ac_save_LIBS="$LIBS"
22437 LIBS="$LIBS $libm"
22438
22439
22440
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22442 $as_echo_n "checking for isinf declaration... " >&6; }
22443 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22444 if ${glibcxx_cv_func_isinf_use+:} false; then :
22445 $as_echo_n "(cached) " >&6
22446 else
22447
22448
22449 ac_ext=cpp
22450 ac_cpp='$CXXCPP $CPPFLAGS'
22451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22454
22455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22457 #include <math.h>
22458 #ifdef HAVE_IEEEFP_H
22459 #include <ieeefp.h>
22460 #endif
22461
22462 int
22463 main ()
22464 {
22465 isinf(0);
22466 ;
22467 return 0;
22468 }
22469 _ACEOF
22470 if ac_fn_cxx_try_compile "$LINENO"; then :
22471 glibcxx_cv_func_isinf_use=yes
22472 else
22473 glibcxx_cv_func_isinf_use=no
22474 fi
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 ac_ext=c
22477 ac_cpp='$CPP $CPPFLAGS'
22478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481
22482
22483 fi
22484
22485 fi
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22487 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22488
22489 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22490 for ac_func in isinf
22491 do :
22492 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22493 if test "x$ac_cv_func_isinf" = xyes; then :
22494 cat >>confdefs.h <<_ACEOF
22495 #define HAVE_ISINF 1
22496 _ACEOF
22497
22498 fi
22499 done
22500
22501 else
22502
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22504 $as_echo_n "checking for _isinf declaration... " >&6; }
22505 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22506 if ${glibcxx_cv_func__isinf_use+:} false; then :
22507 $as_echo_n "(cached) " >&6
22508 else
22509
22510
22511 ac_ext=cpp
22512 ac_cpp='$CXXCPP $CPPFLAGS'
22513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22516
22517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518 /* end confdefs.h. */
22519 #include <math.h>
22520 #ifdef HAVE_IEEEFP_H
22521 #include <ieeefp.h>
22522 #endif
22523
22524 int
22525 main ()
22526 {
22527 _isinf(0);
22528 ;
22529 return 0;
22530 }
22531 _ACEOF
22532 if ac_fn_cxx_try_compile "$LINENO"; then :
22533 glibcxx_cv_func__isinf_use=yes
22534 else
22535 glibcxx_cv_func__isinf_use=no
22536 fi
22537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22538 ac_ext=c
22539 ac_cpp='$CPP $CPPFLAGS'
22540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22543
22544
22545 fi
22546
22547 fi
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22549 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22550
22551 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22552 for ac_func in _isinf
22553 do :
22554 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22555 if test "x$ac_cv_func__isinf" = xyes; then :
22556 cat >>confdefs.h <<_ACEOF
22557 #define HAVE__ISINF 1
22558 _ACEOF
22559
22560 fi
22561 done
22562
22563 fi
22564 fi
22565
22566
22567
22568
22569
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22571 $as_echo_n "checking for isnan declaration... " >&6; }
22572 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22573 if ${glibcxx_cv_func_isnan_use+:} false; then :
22574 $as_echo_n "(cached) " >&6
22575 else
22576
22577
22578 ac_ext=cpp
22579 ac_cpp='$CXXCPP $CPPFLAGS'
22580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22583
22584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22585 /* end confdefs.h. */
22586 #include <math.h>
22587 #ifdef HAVE_IEEEFP_H
22588 #include <ieeefp.h>
22589 #endif
22590
22591 int
22592 main ()
22593 {
22594 isnan(0);
22595 ;
22596 return 0;
22597 }
22598 _ACEOF
22599 if ac_fn_cxx_try_compile "$LINENO"; then :
22600 glibcxx_cv_func_isnan_use=yes
22601 else
22602 glibcxx_cv_func_isnan_use=no
22603 fi
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22605 ac_ext=c
22606 ac_cpp='$CPP $CPPFLAGS'
22607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22610
22611
22612 fi
22613
22614 fi
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22616 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22617
22618 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22619 for ac_func in isnan
22620 do :
22621 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22622 if test "x$ac_cv_func_isnan" = xyes; then :
22623 cat >>confdefs.h <<_ACEOF
22624 #define HAVE_ISNAN 1
22625 _ACEOF
22626
22627 fi
22628 done
22629
22630 else
22631
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22633 $as_echo_n "checking for _isnan declaration... " >&6; }
22634 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22635 if ${glibcxx_cv_func__isnan_use+:} false; then :
22636 $as_echo_n "(cached) " >&6
22637 else
22638
22639
22640 ac_ext=cpp
22641 ac_cpp='$CXXCPP $CPPFLAGS'
22642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22645
22646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22647 /* end confdefs.h. */
22648 #include <math.h>
22649 #ifdef HAVE_IEEEFP_H
22650 #include <ieeefp.h>
22651 #endif
22652
22653 int
22654 main ()
22655 {
22656 _isnan(0);
22657 ;
22658 return 0;
22659 }
22660 _ACEOF
22661 if ac_fn_cxx_try_compile "$LINENO"; then :
22662 glibcxx_cv_func__isnan_use=yes
22663 else
22664 glibcxx_cv_func__isnan_use=no
22665 fi
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 ac_ext=c
22668 ac_cpp='$CPP $CPPFLAGS'
22669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22672
22673
22674 fi
22675
22676 fi
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22678 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22679
22680 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22681 for ac_func in _isnan
22682 do :
22683 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22684 if test "x$ac_cv_func__isnan" = xyes; then :
22685 cat >>confdefs.h <<_ACEOF
22686 #define HAVE__ISNAN 1
22687 _ACEOF
22688
22689 fi
22690 done
22691
22692 fi
22693 fi
22694
22695
22696
22697
22698
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22700 $as_echo_n "checking for finite declaration... " >&6; }
22701 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22702 if ${glibcxx_cv_func_finite_use+:} false; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22705
22706
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22716 #ifdef HAVE_IEEEFP_H
22717 #include <ieeefp.h>
22718 #endif
22719
22720 int
22721 main ()
22722 {
22723 finite(0);
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 if ac_fn_cxx_try_compile "$LINENO"; then :
22729 glibcxx_cv_func_finite_use=yes
22730 else
22731 glibcxx_cv_func_finite_use=no
22732 fi
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 ac_ext=c
22735 ac_cpp='$CPP $CPPFLAGS'
22736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22739
22740
22741 fi
22742
22743 fi
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22745 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22746
22747 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22748 for ac_func in finite
22749 do :
22750 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22751 if test "x$ac_cv_func_finite" = xyes; then :
22752 cat >>confdefs.h <<_ACEOF
22753 #define HAVE_FINITE 1
22754 _ACEOF
22755
22756 fi
22757 done
22758
22759 else
22760
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22762 $as_echo_n "checking for _finite declaration... " >&6; }
22763 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22764 if ${glibcxx_cv_func__finite_use+:} false; then :
22765 $as_echo_n "(cached) " >&6
22766 else
22767
22768
22769 ac_ext=cpp
22770 ac_cpp='$CXXCPP $CPPFLAGS'
22771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22774
22775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22776 /* end confdefs.h. */
22777 #include <math.h>
22778 #ifdef HAVE_IEEEFP_H
22779 #include <ieeefp.h>
22780 #endif
22781
22782 int
22783 main ()
22784 {
22785 _finite(0);
22786 ;
22787 return 0;
22788 }
22789 _ACEOF
22790 if ac_fn_cxx_try_compile "$LINENO"; then :
22791 glibcxx_cv_func__finite_use=yes
22792 else
22793 glibcxx_cv_func__finite_use=no
22794 fi
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 ac_ext=c
22797 ac_cpp='$CPP $CPPFLAGS'
22798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22801
22802
22803 fi
22804
22805 fi
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22807 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22808
22809 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22810 for ac_func in _finite
22811 do :
22812 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22813 if test "x$ac_cv_func__finite" = xyes; then :
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE__FINITE 1
22816 _ACEOF
22817
22818 fi
22819 done
22820
22821 fi
22822 fi
22823
22824
22825
22826
22827
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22829 $as_echo_n "checking for sincos declaration... " >&6; }
22830 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22831 if ${glibcxx_cv_func_sincos_use+:} false; then :
22832 $as_echo_n "(cached) " >&6
22833 else
22834
22835
22836 ac_ext=cpp
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22844 #include <math.h>
22845 int
22846 main ()
22847 {
22848 sincos(0, 0, 0);
22849 ;
22850 return 0;
22851 }
22852 _ACEOF
22853 if ac_fn_cxx_try_compile "$LINENO"; then :
22854 glibcxx_cv_func_sincos_use=yes
22855 else
22856 glibcxx_cv_func_sincos_use=no
22857 fi
22858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22859 ac_ext=c
22860 ac_cpp='$CPP $CPPFLAGS'
22861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864
22865
22866 fi
22867
22868 fi
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22870 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22871
22872 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22873 for ac_func in sincos
22874 do :
22875 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22876 if test "x$ac_cv_func_sincos" = xyes; then :
22877 cat >>confdefs.h <<_ACEOF
22878 #define HAVE_SINCOS 1
22879 _ACEOF
22880
22881 fi
22882 done
22883
22884 else
22885
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22887 $as_echo_n "checking for _sincos declaration... " >&6; }
22888 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22889 if ${glibcxx_cv_func__sincos_use+:} false; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22892
22893
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22903 int
22904 main ()
22905 {
22906 _sincos(0, 0, 0);
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func__sincos_use=yes
22913 else
22914 glibcxx_cv_func__sincos_use=no
22915 fi
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22922
22923
22924 fi
22925
22926 fi
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22928 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22929
22930 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22931 for ac_func in _sincos
22932 do :
22933 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22934 if test "x$ac_cv_func__sincos" = xyes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE__SINCOS 1
22937 _ACEOF
22938
22939 fi
22940 done
22941
22942 fi
22943 fi
22944
22945
22946
22947
22948
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22950 $as_echo_n "checking for fpclass declaration... " >&6; }
22951 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22952 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955
22956
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22966 #ifdef HAVE_IEEEFP_H
22967 #include <ieeefp.h>
22968 #endif
22969
22970 int
22971 main ()
22972 {
22973 fpclass(0);
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func_fpclass_use=yes
22980 else
22981 glibcxx_cv_func_fpclass_use=no
22982 fi
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22995 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22996
22997 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22998 for ac_func in fpclass
22999 do :
23000 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23001 if test "x$ac_cv_func_fpclass" = xyes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE_FPCLASS 1
23004 _ACEOF
23005
23006 fi
23007 done
23008
23009 else
23010
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23012 $as_echo_n "checking for _fpclass declaration... " >&6; }
23013 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23014 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23017
23018
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23024
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23028 #ifdef HAVE_IEEEFP_H
23029 #include <ieeefp.h>
23030 #endif
23031
23032 int
23033 main ()
23034 {
23035 _fpclass(0);
23036 ;
23037 return 0;
23038 }
23039 _ACEOF
23040 if ac_fn_cxx_try_compile "$LINENO"; then :
23041 glibcxx_cv_func__fpclass_use=yes
23042 else
23043 glibcxx_cv_func__fpclass_use=no
23044 fi
23045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046 ac_ext=c
23047 ac_cpp='$CPP $CPPFLAGS'
23048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23051
23052
23053 fi
23054
23055 fi
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23057 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23058
23059 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23060 for ac_func in _fpclass
23061 do :
23062 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23063 if test "x$ac_cv_func__fpclass" = xyes; then :
23064 cat >>confdefs.h <<_ACEOF
23065 #define HAVE__FPCLASS 1
23066 _ACEOF
23067
23068 fi
23069 done
23070
23071 fi
23072 fi
23073
23074
23075
23076
23077
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23079 $as_echo_n "checking for qfpclass declaration... " >&6; }
23080 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23081 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23082 $as_echo_n "(cached) " >&6
23083 else
23084
23085
23086 ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23091
23092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23094 #include <math.h>
23095 #ifdef HAVE_IEEEFP_H
23096 #include <ieeefp.h>
23097 #endif
23098
23099 int
23100 main ()
23101 {
23102 qfpclass(0);
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108 glibcxx_cv_func_qfpclass_use=yes
23109 else
23110 glibcxx_cv_func_qfpclass_use=no
23111 fi
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 ac_ext=c
23114 ac_cpp='$CPP $CPPFLAGS'
23115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118
23119
23120 fi
23121
23122 fi
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23124 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23125
23126 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23127 for ac_func in qfpclass
23128 do :
23129 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23130 if test "x$ac_cv_func_qfpclass" = xyes; then :
23131 cat >>confdefs.h <<_ACEOF
23132 #define HAVE_QFPCLASS 1
23133 _ACEOF
23134
23135 fi
23136 done
23137
23138 else
23139
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23141 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23142 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23143 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23144 $as_echo_n "(cached) " >&6
23145 else
23146
23147
23148 ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23156 #include <math.h>
23157 #ifdef HAVE_IEEEFP_H
23158 #include <ieeefp.h>
23159 #endif
23160
23161 int
23162 main ()
23163 {
23164 _qfpclass(0);
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func__qfpclass_use=yes
23171 else
23172 glibcxx_cv_func__qfpclass_use=no
23173 fi
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180
23181
23182 fi
23183
23184 fi
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23186 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23187
23188 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23189 for ac_func in _qfpclass
23190 do :
23191 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23192 if test "x$ac_cv_func__qfpclass" = xyes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE__QFPCLASS 1
23195 _ACEOF
23196
23197 fi
23198 done
23199
23200 fi
23201 fi
23202
23203
23204
23205
23206
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23208 $as_echo_n "checking for hypot declaration... " >&6; }
23209 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23210 if ${glibcxx_cv_func_hypot_use+:} false; then :
23211 $as_echo_n "(cached) " >&6
23212 else
23213
23214
23215 ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23223 #include <math.h>
23224 int
23225 main ()
23226 {
23227 hypot(0, 0);
23228 ;
23229 return 0;
23230 }
23231 _ACEOF
23232 if ac_fn_cxx_try_compile "$LINENO"; then :
23233 glibcxx_cv_func_hypot_use=yes
23234 else
23235 glibcxx_cv_func_hypot_use=no
23236 fi
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238 ac_ext=c
23239 ac_cpp='$CPP $CPPFLAGS'
23240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23243
23244
23245 fi
23246
23247 fi
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23249 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23250
23251 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23252 for ac_func in hypot
23253 do :
23254 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23255 if test "x$ac_cv_func_hypot" = xyes; then :
23256 cat >>confdefs.h <<_ACEOF
23257 #define HAVE_HYPOT 1
23258 _ACEOF
23259
23260 fi
23261 done
23262
23263 else
23264
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23266 $as_echo_n "checking for _hypot declaration... " >&6; }
23267 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23268 if ${glibcxx_cv_func__hypot_use+:} false; then :
23269 $as_echo_n "(cached) " >&6
23270 else
23271
23272
23273 ac_ext=cpp
23274 ac_cpp='$CXXCPP $CPPFLAGS'
23275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278
23279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23280 /* end confdefs.h. */
23281 #include <math.h>
23282 int
23283 main ()
23284 {
23285 _hypot(0, 0);
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 if ac_fn_cxx_try_compile "$LINENO"; then :
23291 glibcxx_cv_func__hypot_use=yes
23292 else
23293 glibcxx_cv_func__hypot_use=no
23294 fi
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 ac_ext=c
23297 ac_cpp='$CPP $CPPFLAGS'
23298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23301
23302
23303 fi
23304
23305 fi
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23307 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23308
23309 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23310 for ac_func in _hypot
23311 do :
23312 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23313 if test "x$ac_cv_func__hypot" = xyes; then :
23314 cat >>confdefs.h <<_ACEOF
23315 #define HAVE__HYPOT 1
23316 _ACEOF
23317
23318 fi
23319 done
23320
23321 fi
23322 fi
23323
23324
23325
23326
23327
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23329 $as_echo_n "checking for float trig functions... " >&6; }
23330 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23331 $as_echo_n "(cached) " >&6
23332 else
23333
23334
23335 ac_ext=cpp
23336 ac_cpp='$CXXCPP $CPPFLAGS'
23337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340
23341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23342 /* end confdefs.h. */
23343 #include <math.h>
23344 int
23345 main ()
23346 {
23347 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23348 ;
23349 return 0;
23350 }
23351 _ACEOF
23352 if ac_fn_cxx_try_compile "$LINENO"; then :
23353 glibcxx_cv_func_float_trig_use=yes
23354 else
23355 glibcxx_cv_func_float_trig_use=no
23356 fi
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23358 ac_ext=c
23359 ac_cpp='$CPP $CPPFLAGS'
23360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363
23364 fi
23365
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23367 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23368 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23369 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23370 do :
23371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23376 _ACEOF
23377
23378 fi
23379 done
23380
23381 else
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23383 $as_echo_n "checking for _float trig functions... " >&6; }
23384 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23385 $as_echo_n "(cached) " >&6
23386 else
23387
23388
23389 ac_ext=cpp
23390 ac_cpp='$CXXCPP $CPPFLAGS'
23391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23394
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23397 #include <math.h>
23398 int
23399 main ()
23400 {
23401 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23402 ;
23403 return 0;
23404 }
23405 _ACEOF
23406 if ac_fn_cxx_try_compile "$LINENO"; then :
23407 glibcxx_cv_func__float_trig_use=yes
23408 else
23409 glibcxx_cv_func__float_trig_use=no
23410 fi
23411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23412 ac_ext=c
23413 ac_cpp='$CPP $CPPFLAGS'
23414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23417
23418 fi
23419
23420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23421 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23422 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23423 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23424 do :
23425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23428 cat >>confdefs.h <<_ACEOF
23429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23430 _ACEOF
23431
23432 fi
23433 done
23434
23435 fi
23436 fi
23437
23438
23439
23440
23441
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23443 $as_echo_n "checking for float round functions... " >&6; }
23444 if ${glibcxx_cv_func_float_round_use+:} false; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23447
23448
23449 ac_ext=cpp
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23457 #include <math.h>
23458 int
23459 main ()
23460 {
23461 ceilf (0); floorf (0);
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 if ac_fn_cxx_try_compile "$LINENO"; then :
23467 glibcxx_cv_func_float_round_use=yes
23468 else
23469 glibcxx_cv_func_float_round_use=no
23470 fi
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 ac_ext=c
23473 ac_cpp='$CPP $CPPFLAGS'
23474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23477
23478 fi
23479
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23481 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23482 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23483 for ac_func in ceilf floorf
23484 do :
23485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23488 cat >>confdefs.h <<_ACEOF
23489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23490 _ACEOF
23491
23492 fi
23493 done
23494
23495 else
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23497 $as_echo_n "checking for _float round functions... " >&6; }
23498 if ${glibcxx_cv_func__float_round_use+:} false; then :
23499 $as_echo_n "(cached) " >&6
23500 else
23501
23502
23503 ac_ext=cpp
23504 ac_cpp='$CXXCPP $CPPFLAGS'
23505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23508
23509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23511 #include <math.h>
23512 int
23513 main ()
23514 {
23515 _ceilf (0); _floorf (0);
23516 ;
23517 return 0;
23518 }
23519 _ACEOF
23520 if ac_fn_cxx_try_compile "$LINENO"; then :
23521 glibcxx_cv_func__float_round_use=yes
23522 else
23523 glibcxx_cv_func__float_round_use=no
23524 fi
23525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23526 ac_ext=c
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23531
23532 fi
23533
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23535 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23536 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23537 for ac_func in _ceilf _floorf
23538 do :
23539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23542 cat >>confdefs.h <<_ACEOF
23543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23544 _ACEOF
23545
23546 fi
23547 done
23548
23549 fi
23550 fi
23551
23552
23553
23554
23555
23556
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23558 $as_echo_n "checking for expf declaration... " >&6; }
23559 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23560 if ${glibcxx_cv_func_expf_use+:} false; then :
23561 $as_echo_n "(cached) " >&6
23562 else
23563
23564
23565 ac_ext=cpp
23566 ac_cpp='$CXXCPP $CPPFLAGS'
23567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23570
23571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23572 /* end confdefs.h. */
23573 #include <math.h>
23574 #ifdef HAVE_IEEEFP_H
23575 #include <ieeefp.h>
23576 #endif
23577
23578 int
23579 main ()
23580 {
23581 expf(0);
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 if ac_fn_cxx_try_compile "$LINENO"; then :
23587 glibcxx_cv_func_expf_use=yes
23588 else
23589 glibcxx_cv_func_expf_use=no
23590 fi
23591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23592 ac_ext=c
23593 ac_cpp='$CPP $CPPFLAGS'
23594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23597
23598
23599 fi
23600
23601 fi
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23603 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23604
23605 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23606 for ac_func in expf
23607 do :
23608 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23609 if test "x$ac_cv_func_expf" = xyes; then :
23610 cat >>confdefs.h <<_ACEOF
23611 #define HAVE_EXPF 1
23612 _ACEOF
23613
23614 fi
23615 done
23616
23617 else
23618
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23620 $as_echo_n "checking for _expf declaration... " >&6; }
23621 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23622 if ${glibcxx_cv_func__expf_use+:} false; then :
23623 $as_echo_n "(cached) " >&6
23624 else
23625
23626
23627 ac_ext=cpp
23628 ac_cpp='$CXXCPP $CPPFLAGS'
23629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23632
23633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23634 /* end confdefs.h. */
23635 #include <math.h>
23636 #ifdef HAVE_IEEEFP_H
23637 #include <ieeefp.h>
23638 #endif
23639
23640 int
23641 main ()
23642 {
23643 _expf(0);
23644 ;
23645 return 0;
23646 }
23647 _ACEOF
23648 if ac_fn_cxx_try_compile "$LINENO"; then :
23649 glibcxx_cv_func__expf_use=yes
23650 else
23651 glibcxx_cv_func__expf_use=no
23652 fi
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 ac_ext=c
23655 ac_cpp='$CPP $CPPFLAGS'
23656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23659
23660
23661 fi
23662
23663 fi
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23665 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23666
23667 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23668 for ac_func in _expf
23669 do :
23670 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23671 if test "x$ac_cv_func__expf" = xyes; then :
23672 cat >>confdefs.h <<_ACEOF
23673 #define HAVE__EXPF 1
23674 _ACEOF
23675
23676 fi
23677 done
23678
23679 fi
23680 fi
23681
23682
23683
23684
23685
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23687 $as_echo_n "checking for isnanf declaration... " >&6; }
23688 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23689 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23690 $as_echo_n "(cached) " >&6
23691 else
23692
23693
23694 ac_ext=cpp
23695 ac_cpp='$CXXCPP $CPPFLAGS'
23696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699
23700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23701 /* end confdefs.h. */
23702 #include <math.h>
23703 #ifdef HAVE_IEEEFP_H
23704 #include <ieeefp.h>
23705 #endif
23706
23707 int
23708 main ()
23709 {
23710 isnanf(0);
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 if ac_fn_cxx_try_compile "$LINENO"; then :
23716 glibcxx_cv_func_isnanf_use=yes
23717 else
23718 glibcxx_cv_func_isnanf_use=no
23719 fi
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721 ac_ext=c
23722 ac_cpp='$CPP $CPPFLAGS'
23723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23726
23727
23728 fi
23729
23730 fi
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23732 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23733
23734 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23735 for ac_func in isnanf
23736 do :
23737 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23738 if test "x$ac_cv_func_isnanf" = xyes; then :
23739 cat >>confdefs.h <<_ACEOF
23740 #define HAVE_ISNANF 1
23741 _ACEOF
23742
23743 fi
23744 done
23745
23746 else
23747
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23749 $as_echo_n "checking for _isnanf declaration... " >&6; }
23750 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23751 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23752 $as_echo_n "(cached) " >&6
23753 else
23754
23755
23756 ac_ext=cpp
23757 ac_cpp='$CXXCPP $CPPFLAGS'
23758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23761
23762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23763 /* end confdefs.h. */
23764 #include <math.h>
23765 #ifdef HAVE_IEEEFP_H
23766 #include <ieeefp.h>
23767 #endif
23768
23769 int
23770 main ()
23771 {
23772 _isnanf(0);
23773 ;
23774 return 0;
23775 }
23776 _ACEOF
23777 if ac_fn_cxx_try_compile "$LINENO"; then :
23778 glibcxx_cv_func__isnanf_use=yes
23779 else
23780 glibcxx_cv_func__isnanf_use=no
23781 fi
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=c
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23788
23789
23790 fi
23791
23792 fi
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23794 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23795
23796 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23797 for ac_func in _isnanf
23798 do :
23799 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23800 if test "x$ac_cv_func__isnanf" = xyes; then :
23801 cat >>confdefs.h <<_ACEOF
23802 #define HAVE__ISNANF 1
23803 _ACEOF
23804
23805 fi
23806 done
23807
23808 fi
23809 fi
23810
23811
23812
23813
23814
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23816 $as_echo_n "checking for isinff declaration... " >&6; }
23817 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23818 if ${glibcxx_cv_func_isinff_use+:} false; then :
23819 $as_echo_n "(cached) " >&6
23820 else
23821
23822
23823 ac_ext=cpp
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828
23829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23831 #include <math.h>
23832 #ifdef HAVE_IEEEFP_H
23833 #include <ieeefp.h>
23834 #endif
23835
23836 int
23837 main ()
23838 {
23839 isinff(0);
23840 ;
23841 return 0;
23842 }
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func_isinff_use=yes
23846 else
23847 glibcxx_cv_func_isinff_use=no
23848 fi
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855
23856
23857 fi
23858
23859 fi
23860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23861 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23862
23863 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23864 for ac_func in isinff
23865 do :
23866 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23867 if test "x$ac_cv_func_isinff" = xyes; then :
23868 cat >>confdefs.h <<_ACEOF
23869 #define HAVE_ISINFF 1
23870 _ACEOF
23871
23872 fi
23873 done
23874
23875 else
23876
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23878 $as_echo_n "checking for _isinff declaration... " >&6; }
23879 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23880 if ${glibcxx_cv_func__isinff_use+:} false; then :
23881 $as_echo_n "(cached) " >&6
23882 else
23883
23884
23885 ac_ext=cpp
23886 ac_cpp='$CXXCPP $CPPFLAGS'
23887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23890
23891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23892 /* end confdefs.h. */
23893 #include <math.h>
23894 #ifdef HAVE_IEEEFP_H
23895 #include <ieeefp.h>
23896 #endif
23897
23898 int
23899 main ()
23900 {
23901 _isinff(0);
23902 ;
23903 return 0;
23904 }
23905 _ACEOF
23906 if ac_fn_cxx_try_compile "$LINENO"; then :
23907 glibcxx_cv_func__isinff_use=yes
23908 else
23909 glibcxx_cv_func__isinff_use=no
23910 fi
23911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917
23918
23919 fi
23920
23921 fi
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23923 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23924
23925 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23926 for ac_func in _isinff
23927 do :
23928 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23929 if test "x$ac_cv_func__isinff" = xyes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define HAVE__ISINFF 1
23932 _ACEOF
23933
23934 fi
23935 done
23936
23937 fi
23938 fi
23939
23940
23941
23942
23943
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23945 $as_echo_n "checking for atan2f declaration... " >&6; }
23946 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23947 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23950
23951
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23961 int
23962 main ()
23963 {
23964 atan2f(0, 0);
23965 ;
23966 return 0;
23967 }
23968 _ACEOF
23969 if ac_fn_cxx_try_compile "$LINENO"; then :
23970 glibcxx_cv_func_atan2f_use=yes
23971 else
23972 glibcxx_cv_func_atan2f_use=no
23973 fi
23974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23975 ac_ext=c
23976 ac_cpp='$CPP $CPPFLAGS'
23977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23980
23981
23982 fi
23983
23984 fi
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23986 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23987
23988 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23989 for ac_func in atan2f
23990 do :
23991 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23992 if test "x$ac_cv_func_atan2f" = xyes; then :
23993 cat >>confdefs.h <<_ACEOF
23994 #define HAVE_ATAN2F 1
23995 _ACEOF
23996
23997 fi
23998 done
23999
24000 else
24001
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24003 $as_echo_n "checking for _atan2f declaration... " >&6; }
24004 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24005 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24006 $as_echo_n "(cached) " >&6
24007 else
24008
24009
24010 ac_ext=cpp
24011 ac_cpp='$CXXCPP $CPPFLAGS'
24012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015
24016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24017 /* end confdefs.h. */
24018 #include <math.h>
24019 int
24020 main ()
24021 {
24022 _atan2f(0, 0);
24023 ;
24024 return 0;
24025 }
24026 _ACEOF
24027 if ac_fn_cxx_try_compile "$LINENO"; then :
24028 glibcxx_cv_func__atan2f_use=yes
24029 else
24030 glibcxx_cv_func__atan2f_use=no
24031 fi
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ac_ext=c
24034 ac_cpp='$CPP $CPPFLAGS'
24035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24038
24039
24040 fi
24041
24042 fi
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24044 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24045
24046 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24047 for ac_func in _atan2f
24048 do :
24049 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24050 if test "x$ac_cv_func__atan2f" = xyes; then :
24051 cat >>confdefs.h <<_ACEOF
24052 #define HAVE__ATAN2F 1
24053 _ACEOF
24054
24055 fi
24056 done
24057
24058 fi
24059 fi
24060
24061
24062
24063
24064
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24066 $as_echo_n "checking for fabsf declaration... " >&6; }
24067 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24068 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24069 $as_echo_n "(cached) " >&6
24070 else
24071
24072
24073 ac_ext=cpp
24074 ac_cpp='$CXXCPP $CPPFLAGS'
24075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24078
24079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24081 #include <math.h>
24082 #ifdef HAVE_IEEEFP_H
24083 #include <ieeefp.h>
24084 #endif
24085
24086 int
24087 main ()
24088 {
24089 fabsf(0);
24090 ;
24091 return 0;
24092 }
24093 _ACEOF
24094 if ac_fn_cxx_try_compile "$LINENO"; then :
24095 glibcxx_cv_func_fabsf_use=yes
24096 else
24097 glibcxx_cv_func_fabsf_use=no
24098 fi
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100 ac_ext=c
24101 ac_cpp='$CPP $CPPFLAGS'
24102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24105
24106
24107 fi
24108
24109 fi
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24111 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24112
24113 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24114 for ac_func in fabsf
24115 do :
24116 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24117 if test "x$ac_cv_func_fabsf" = xyes; then :
24118 cat >>confdefs.h <<_ACEOF
24119 #define HAVE_FABSF 1
24120 _ACEOF
24121
24122 fi
24123 done
24124
24125 else
24126
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24128 $as_echo_n "checking for _fabsf declaration... " >&6; }
24129 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24130 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24131 $as_echo_n "(cached) " >&6
24132 else
24133
24134
24135 ac_ext=cpp
24136 ac_cpp='$CXXCPP $CPPFLAGS'
24137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140
24141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24142 /* end confdefs.h. */
24143 #include <math.h>
24144 #ifdef HAVE_IEEEFP_H
24145 #include <ieeefp.h>
24146 #endif
24147
24148 int
24149 main ()
24150 {
24151 _fabsf(0);
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157 glibcxx_cv_func__fabsf_use=yes
24158 else
24159 glibcxx_cv_func__fabsf_use=no
24160 fi
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167
24168
24169 fi
24170
24171 fi
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24173 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24174
24175 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24176 for ac_func in _fabsf
24177 do :
24178 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24179 if test "x$ac_cv_func__fabsf" = xyes; then :
24180 cat >>confdefs.h <<_ACEOF
24181 #define HAVE__FABSF 1
24182 _ACEOF
24183
24184 fi
24185 done
24186
24187 fi
24188 fi
24189
24190
24191
24192
24193
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24195 $as_echo_n "checking for fmodf declaration... " >&6; }
24196 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24197 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24198 $as_echo_n "(cached) " >&6
24199 else
24200
24201
24202 ac_ext=cpp
24203 ac_cpp='$CXXCPP $CPPFLAGS'
24204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24207
24208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24210 #include <math.h>
24211 int
24212 main ()
24213 {
24214 fmodf(0, 0);
24215 ;
24216 return 0;
24217 }
24218 _ACEOF
24219 if ac_fn_cxx_try_compile "$LINENO"; then :
24220 glibcxx_cv_func_fmodf_use=yes
24221 else
24222 glibcxx_cv_func_fmodf_use=no
24223 fi
24224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24225 ac_ext=c
24226 ac_cpp='$CPP $CPPFLAGS'
24227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230
24231
24232 fi
24233
24234 fi
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24236 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24237
24238 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24239 for ac_func in fmodf
24240 do :
24241 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24242 if test "x$ac_cv_func_fmodf" = xyes; then :
24243 cat >>confdefs.h <<_ACEOF
24244 #define HAVE_FMODF 1
24245 _ACEOF
24246
24247 fi
24248 done
24249
24250 else
24251
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24253 $as_echo_n "checking for _fmodf declaration... " >&6; }
24254 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24255 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24256 $as_echo_n "(cached) " >&6
24257 else
24258
24259
24260 ac_ext=cpp
24261 ac_cpp='$CXXCPP $CPPFLAGS'
24262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265
24266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h. */
24268 #include <math.h>
24269 int
24270 main ()
24271 {
24272 _fmodf(0, 0);
24273 ;
24274 return 0;
24275 }
24276 _ACEOF
24277 if ac_fn_cxx_try_compile "$LINENO"; then :
24278 glibcxx_cv_func__fmodf_use=yes
24279 else
24280 glibcxx_cv_func__fmodf_use=no
24281 fi
24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283 ac_ext=c
24284 ac_cpp='$CPP $CPPFLAGS'
24285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288
24289
24290 fi
24291
24292 fi
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24294 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24295
24296 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24297 for ac_func in _fmodf
24298 do :
24299 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24300 if test "x$ac_cv_func__fmodf" = xyes; then :
24301 cat >>confdefs.h <<_ACEOF
24302 #define HAVE__FMODF 1
24303 _ACEOF
24304
24305 fi
24306 done
24307
24308 fi
24309 fi
24310
24311
24312
24313
24314
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24316 $as_echo_n "checking for frexpf declaration... " >&6; }
24317 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24318 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24319 $as_echo_n "(cached) " >&6
24320 else
24321
24322
24323 ac_ext=cpp
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328
24329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24331 #include <math.h>
24332 int
24333 main ()
24334 {
24335 frexpf(0, 0);
24336 ;
24337 return 0;
24338 }
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func_frexpf_use=yes
24342 else
24343 glibcxx_cv_func_frexpf_use=no
24344 fi
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351
24352
24353 fi
24354
24355 fi
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24357 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24358
24359 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24360 for ac_func in frexpf
24361 do :
24362 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24363 if test "x$ac_cv_func_frexpf" = xyes; then :
24364 cat >>confdefs.h <<_ACEOF
24365 #define HAVE_FREXPF 1
24366 _ACEOF
24367
24368 fi
24369 done
24370
24371 else
24372
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24374 $as_echo_n "checking for _frexpf declaration... " >&6; }
24375 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24376 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24377 $as_echo_n "(cached) " >&6
24378 else
24379
24380
24381 ac_ext=cpp
24382 ac_cpp='$CXXCPP $CPPFLAGS'
24383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24386
24387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24388 /* end confdefs.h. */
24389 #include <math.h>
24390 int
24391 main ()
24392 {
24393 _frexpf(0, 0);
24394 ;
24395 return 0;
24396 }
24397 _ACEOF
24398 if ac_fn_cxx_try_compile "$LINENO"; then :
24399 glibcxx_cv_func__frexpf_use=yes
24400 else
24401 glibcxx_cv_func__frexpf_use=no
24402 fi
24403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24404 ac_ext=c
24405 ac_cpp='$CPP $CPPFLAGS'
24406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409
24410
24411 fi
24412
24413 fi
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24415 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24416
24417 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24418 for ac_func in _frexpf
24419 do :
24420 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24421 if test "x$ac_cv_func__frexpf" = xyes; then :
24422 cat >>confdefs.h <<_ACEOF
24423 #define HAVE__FREXPF 1
24424 _ACEOF
24425
24426 fi
24427 done
24428
24429 fi
24430 fi
24431
24432
24433
24434
24435
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24437 $as_echo_n "checking for hypotf declaration... " >&6; }
24438 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24439 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24440 $as_echo_n "(cached) " >&6
24441 else
24442
24443
24444 ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h. */
24452 #include <math.h>
24453 int
24454 main ()
24455 {
24456 hypotf(0, 0);
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_hypotf_use=yes
24463 else
24464 glibcxx_cv_func_hypotf_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474 fi
24475
24476 fi
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24478 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24479
24480 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24481 for ac_func in hypotf
24482 do :
24483 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24484 if test "x$ac_cv_func_hypotf" = xyes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE_HYPOTF 1
24487 _ACEOF
24488
24489 fi
24490 done
24491
24492 else
24493
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24495 $as_echo_n "checking for _hypotf declaration... " >&6; }
24496 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24497 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24500
24501
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24511 int
24512 main ()
24513 {
24514 _hypotf(0, 0);
24515 ;
24516 return 0;
24517 }
24518 _ACEOF
24519 if ac_fn_cxx_try_compile "$LINENO"; then :
24520 glibcxx_cv_func__hypotf_use=yes
24521 else
24522 glibcxx_cv_func__hypotf_use=no
24523 fi
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525 ac_ext=c
24526 ac_cpp='$CPP $CPPFLAGS'
24527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530
24531
24532 fi
24533
24534 fi
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24536 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24537
24538 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24539 for ac_func in _hypotf
24540 do :
24541 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24542 if test "x$ac_cv_func__hypotf" = xyes; then :
24543 cat >>confdefs.h <<_ACEOF
24544 #define HAVE__HYPOTF 1
24545 _ACEOF
24546
24547 fi
24548 done
24549
24550 fi
24551 fi
24552
24553
24554
24555
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24558 $as_echo_n "checking for ldexpf declaration... " >&6; }
24559 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24560 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24561 $as_echo_n "(cached) " >&6
24562 else
24563
24564
24565 ac_ext=cpp
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 #include <math.h>
24574 int
24575 main ()
24576 {
24577 ldexpf(0, 0);
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func_ldexpf_use=yes
24584 else
24585 glibcxx_cv_func_ldexpf_use=no
24586 fi
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24593
24594
24595 fi
24596
24597 fi
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24599 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24600
24601 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24602 for ac_func in ldexpf
24603 do :
24604 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24605 if test "x$ac_cv_func_ldexpf" = xyes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE_LDEXPF 1
24608 _ACEOF
24609
24610 fi
24611 done
24612
24613 else
24614
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24616 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24617 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24618 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24619 $as_echo_n "(cached) " >&6
24620 else
24621
24622
24623 ac_ext=cpp
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24628
24629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24630 /* end confdefs.h. */
24631 #include <math.h>
24632 int
24633 main ()
24634 {
24635 _ldexpf(0, 0);
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 if ac_fn_cxx_try_compile "$LINENO"; then :
24641 glibcxx_cv_func__ldexpf_use=yes
24642 else
24643 glibcxx_cv_func__ldexpf_use=no
24644 fi
24645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24651
24652
24653 fi
24654
24655 fi
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24657 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24658
24659 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24660 for ac_func in _ldexpf
24661 do :
24662 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24663 if test "x$ac_cv_func__ldexpf" = xyes; then :
24664 cat >>confdefs.h <<_ACEOF
24665 #define HAVE__LDEXPF 1
24666 _ACEOF
24667
24668 fi
24669 done
24670
24671 fi
24672 fi
24673
24674
24675
24676
24677
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24679 $as_echo_n "checking for logf declaration... " >&6; }
24680 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24681 if ${glibcxx_cv_func_logf_use+:} false; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24684
24685
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24695 #ifdef HAVE_IEEEFP_H
24696 #include <ieeefp.h>
24697 #endif
24698
24699 int
24700 main ()
24701 {
24702 logf(0);
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func_logf_use=yes
24709 else
24710 glibcxx_cv_func_logf_use=no
24711 fi
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24718
24719
24720 fi
24721
24722 fi
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24724 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24725
24726 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24727 for ac_func in logf
24728 do :
24729 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24730 if test "x$ac_cv_func_logf" = xyes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE_LOGF 1
24733 _ACEOF
24734
24735 fi
24736 done
24737
24738 else
24739
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24741 $as_echo_n "checking for _logf declaration... " >&6; }
24742 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24743 if ${glibcxx_cv_func__logf_use+:} false; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24746
24747
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24757 #ifdef HAVE_IEEEFP_H
24758 #include <ieeefp.h>
24759 #endif
24760
24761 int
24762 main ()
24763 {
24764 _logf(0);
24765 ;
24766 return 0;
24767 }
24768 _ACEOF
24769 if ac_fn_cxx_try_compile "$LINENO"; then :
24770 glibcxx_cv_func__logf_use=yes
24771 else
24772 glibcxx_cv_func__logf_use=no
24773 fi
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780
24781
24782 fi
24783
24784 fi
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24786 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24787
24788 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24789 for ac_func in _logf
24790 do :
24791 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24792 if test "x$ac_cv_func__logf" = xyes; then :
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE__LOGF 1
24795 _ACEOF
24796
24797 fi
24798 done
24799
24800 fi
24801 fi
24802
24803
24804
24805
24806
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24808 $as_echo_n "checking for log10f declaration... " >&6; }
24809 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24810 if ${glibcxx_cv_func_log10f_use+:} false; then :
24811 $as_echo_n "(cached) " >&6
24812 else
24813
24814
24815 ac_ext=cpp
24816 ac_cpp='$CXXCPP $CPPFLAGS'
24817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24820
24821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822 /* end confdefs.h. */
24823 #include <math.h>
24824 #ifdef HAVE_IEEEFP_H
24825 #include <ieeefp.h>
24826 #endif
24827
24828 int
24829 main ()
24830 {
24831 log10f(0);
24832 ;
24833 return 0;
24834 }
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func_log10f_use=yes
24838 else
24839 glibcxx_cv_func_log10f_use=no
24840 fi
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847
24848
24849 fi
24850
24851 fi
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24853 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24854
24855 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24856 for ac_func in log10f
24857 do :
24858 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24859 if test "x$ac_cv_func_log10f" = xyes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE_LOG10F 1
24862 _ACEOF
24863
24864 fi
24865 done
24866
24867 else
24868
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24870 $as_echo_n "checking for _log10f declaration... " >&6; }
24871 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24872 if ${glibcxx_cv_func__log10f_use+:} false; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24875
24876
24877 ac_ext=cpp
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24882
24883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24885 #include <math.h>
24886 #ifdef HAVE_IEEEFP_H
24887 #include <ieeefp.h>
24888 #endif
24889
24890 int
24891 main ()
24892 {
24893 _log10f(0);
24894 ;
24895 return 0;
24896 }
24897 _ACEOF
24898 if ac_fn_cxx_try_compile "$LINENO"; then :
24899 glibcxx_cv_func__log10f_use=yes
24900 else
24901 glibcxx_cv_func__log10f_use=no
24902 fi
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 ac_ext=c
24905 ac_cpp='$CPP $CPPFLAGS'
24906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24909
24910
24911 fi
24912
24913 fi
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24915 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24916
24917 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24918 for ac_func in _log10f
24919 do :
24920 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24921 if test "x$ac_cv_func__log10f" = xyes; then :
24922 cat >>confdefs.h <<_ACEOF
24923 #define HAVE__LOG10F 1
24924 _ACEOF
24925
24926 fi
24927 done
24928
24929 fi
24930 fi
24931
24932
24933
24934
24935
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24937 $as_echo_n "checking for modff declaration... " >&6; }
24938 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24939 if ${glibcxx_cv_func_modff_use+:} false; then :
24940 $as_echo_n "(cached) " >&6
24941 else
24942
24943
24944 ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h. */
24952 #include <math.h>
24953 int
24954 main ()
24955 {
24956 modff(0, 0);
24957 ;
24958 return 0;
24959 }
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func_modff_use=yes
24963 else
24964 glibcxx_cv_func_modff_use=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24972
24973
24974 fi
24975
24976 fi
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24978 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24979
24980 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24981 for ac_func in modff
24982 do :
24983 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24984 if test "x$ac_cv_func_modff" = xyes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_MODFF 1
24987 _ACEOF
24988
24989 fi
24990 done
24991
24992 else
24993
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24995 $as_echo_n "checking for _modff declaration... " >&6; }
24996 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24997 if ${glibcxx_cv_func__modff_use+:} false; then :
24998 $as_echo_n "(cached) " >&6
24999 else
25000
25001
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25010 #include <math.h>
25011 int
25012 main ()
25013 {
25014 _modff(0, 0);
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 if ac_fn_cxx_try_compile "$LINENO"; then :
25020 glibcxx_cv_func__modff_use=yes
25021 else
25022 glibcxx_cv_func__modff_use=no
25023 fi
25024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 ac_ext=c
25026 ac_cpp='$CPP $CPPFLAGS'
25027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25030
25031
25032 fi
25033
25034 fi
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25036 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25037
25038 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25039 for ac_func in _modff
25040 do :
25041 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25042 if test "x$ac_cv_func__modff" = xyes; then :
25043 cat >>confdefs.h <<_ACEOF
25044 #define HAVE__MODFF 1
25045 _ACEOF
25046
25047 fi
25048 done
25049
25050 fi
25051 fi
25052
25053
25054
25055
25056
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25058 $as_echo_n "checking for modf declaration... " >&6; }
25059 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25060 if ${glibcxx_cv_func_modf_use+:} false; then :
25061 $as_echo_n "(cached) " >&6
25062 else
25063
25064
25065 ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070
25071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h. */
25073 #include <math.h>
25074 int
25075 main ()
25076 {
25077 modf(0, 0);
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 if ac_fn_cxx_try_compile "$LINENO"; then :
25083 glibcxx_cv_func_modf_use=yes
25084 else
25085 glibcxx_cv_func_modf_use=no
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 ac_ext=c
25089 ac_cpp='$CPP $CPPFLAGS'
25090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25093
25094
25095 fi
25096
25097 fi
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25099 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25100
25101 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25102 for ac_func in modf
25103 do :
25104 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25105 if test "x$ac_cv_func_modf" = xyes; then :
25106 cat >>confdefs.h <<_ACEOF
25107 #define HAVE_MODF 1
25108 _ACEOF
25109
25110 fi
25111 done
25112
25113 else
25114
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25116 $as_echo_n "checking for _modf declaration... " >&6; }
25117 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25118 if ${glibcxx_cv_func__modf_use+:} false; then :
25119 $as_echo_n "(cached) " >&6
25120 else
25121
25122
25123 ac_ext=cpp
25124 ac_cpp='$CXXCPP $CPPFLAGS'
25125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25128
25129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h. */
25131 #include <math.h>
25132 int
25133 main ()
25134 {
25135 _modf(0, 0);
25136 ;
25137 return 0;
25138 }
25139 _ACEOF
25140 if ac_fn_cxx_try_compile "$LINENO"; then :
25141 glibcxx_cv_func__modf_use=yes
25142 else
25143 glibcxx_cv_func__modf_use=no
25144 fi
25145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25146 ac_ext=c
25147 ac_cpp='$CPP $CPPFLAGS'
25148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25151
25152
25153 fi
25154
25155 fi
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25157 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25158
25159 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25160 for ac_func in _modf
25161 do :
25162 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25163 if test "x$ac_cv_func__modf" = xyes; then :
25164 cat >>confdefs.h <<_ACEOF
25165 #define HAVE__MODF 1
25166 _ACEOF
25167
25168 fi
25169 done
25170
25171 fi
25172 fi
25173
25174
25175
25176
25177
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25179 $as_echo_n "checking for powf declaration... " >&6; }
25180 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25181 if ${glibcxx_cv_func_powf_use+:} false; then :
25182 $as_echo_n "(cached) " >&6
25183 else
25184
25185
25186 ac_ext=cpp
25187 ac_cpp='$CXXCPP $CPPFLAGS'
25188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191
25192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25193 /* end confdefs.h. */
25194 #include <math.h>
25195 int
25196 main ()
25197 {
25198 powf(0, 0);
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func_powf_use=yes
25205 else
25206 glibcxx_cv_func_powf_use=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216 fi
25217
25218 fi
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25220 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25221
25222 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25223 for ac_func in powf
25224 do :
25225 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25226 if test "x$ac_cv_func_powf" = xyes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE_POWF 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234 else
25235
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25237 $as_echo_n "checking for _powf declaration... " >&6; }
25238 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25239 if ${glibcxx_cv_func__powf_use+:} false; then :
25240 $as_echo_n "(cached) " >&6
25241 else
25242
25243
25244 ac_ext=cpp
25245 ac_cpp='$CXXCPP $CPPFLAGS'
25246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249
25250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251 /* end confdefs.h. */
25252 #include <math.h>
25253 int
25254 main ()
25255 {
25256 _powf(0, 0);
25257 ;
25258 return 0;
25259 }
25260 _ACEOF
25261 if ac_fn_cxx_try_compile "$LINENO"; then :
25262 glibcxx_cv_func__powf_use=yes
25263 else
25264 glibcxx_cv_func__powf_use=no
25265 fi
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25267 ac_ext=c
25268 ac_cpp='$CPP $CPPFLAGS'
25269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25272
25273
25274 fi
25275
25276 fi
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25278 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25279
25280 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25281 for ac_func in _powf
25282 do :
25283 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25284 if test "x$ac_cv_func__powf" = xyes; then :
25285 cat >>confdefs.h <<_ACEOF
25286 #define HAVE__POWF 1
25287 _ACEOF
25288
25289 fi
25290 done
25291
25292 fi
25293 fi
25294
25295
25296
25297
25298
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25300 $as_echo_n "checking for sqrtf declaration... " >&6; }
25301 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25302 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25305
25306
25307 ac_ext=cpp
25308 ac_cpp='$CXXCPP $CPPFLAGS'
25309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25312
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25315 #include <math.h>
25316 #ifdef HAVE_IEEEFP_H
25317 #include <ieeefp.h>
25318 #endif
25319
25320 int
25321 main ()
25322 {
25323 sqrtf(0);
25324 ;
25325 return 0;
25326 }
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func_sqrtf_use=yes
25330 else
25331 glibcxx_cv_func_sqrtf_use=no
25332 fi
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339
25340
25341 fi
25342
25343 fi
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25345 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25346
25347 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25348 for ac_func in sqrtf
25349 do :
25350 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25351 if test "x$ac_cv_func_sqrtf" = xyes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE_SQRTF 1
25354 _ACEOF
25355
25356 fi
25357 done
25358
25359 else
25360
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25362 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25363 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25364 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25365 $as_echo_n "(cached) " >&6
25366 else
25367
25368
25369 ac_ext=cpp
25370 ac_cpp='$CXXCPP $CPPFLAGS'
25371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374
25375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25377 #include <math.h>
25378 #ifdef HAVE_IEEEFP_H
25379 #include <ieeefp.h>
25380 #endif
25381
25382 int
25383 main ()
25384 {
25385 _sqrtf(0);
25386 ;
25387 return 0;
25388 }
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func__sqrtf_use=yes
25392 else
25393 glibcxx_cv_func__sqrtf_use=no
25394 fi
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25401
25402
25403 fi
25404
25405 fi
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25407 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25408
25409 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25410 for ac_func in _sqrtf
25411 do :
25412 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25413 if test "x$ac_cv_func__sqrtf" = xyes; then :
25414 cat >>confdefs.h <<_ACEOF
25415 #define HAVE__SQRTF 1
25416 _ACEOF
25417
25418 fi
25419 done
25420
25421 fi
25422 fi
25423
25424
25425
25426
25427
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25429 $as_echo_n "checking for sincosf declaration... " >&6; }
25430 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25431 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25434
25435
25436 ac_ext=cpp
25437 ac_cpp='$CXXCPP $CPPFLAGS'
25438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25441
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25444 #include <math.h>
25445 int
25446 main ()
25447 {
25448 sincosf(0, 0, 0);
25449 ;
25450 return 0;
25451 }
25452 _ACEOF
25453 if ac_fn_cxx_try_compile "$LINENO"; then :
25454 glibcxx_cv_func_sincosf_use=yes
25455 else
25456 glibcxx_cv_func_sincosf_use=no
25457 fi
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459 ac_ext=c
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464
25465
25466 fi
25467
25468 fi
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25470 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25471
25472 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25473 for ac_func in sincosf
25474 do :
25475 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25476 if test "x$ac_cv_func_sincosf" = xyes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define HAVE_SINCOSF 1
25479 _ACEOF
25480
25481 fi
25482 done
25483
25484 else
25485
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25487 $as_echo_n "checking for _sincosf declaration... " >&6; }
25488 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25489 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25490 $as_echo_n "(cached) " >&6
25491 else
25492
25493
25494 ac_ext=cpp
25495 ac_cpp='$CXXCPP $CPPFLAGS'
25496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25499
25500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25501 /* end confdefs.h. */
25502 #include <math.h>
25503 int
25504 main ()
25505 {
25506 _sincosf(0, 0, 0);
25507 ;
25508 return 0;
25509 }
25510 _ACEOF
25511 if ac_fn_cxx_try_compile "$LINENO"; then :
25512 glibcxx_cv_func__sincosf_use=yes
25513 else
25514 glibcxx_cv_func__sincosf_use=no
25515 fi
25516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25517 ac_ext=c
25518 ac_cpp='$CPP $CPPFLAGS'
25519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25522
25523
25524 fi
25525
25526 fi
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25528 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25529
25530 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25531 for ac_func in _sincosf
25532 do :
25533 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25534 if test "x$ac_cv_func__sincosf" = xyes; then :
25535 cat >>confdefs.h <<_ACEOF
25536 #define HAVE__SINCOSF 1
25537 _ACEOF
25538
25539 fi
25540 done
25541
25542 fi
25543 fi
25544
25545
25546
25547
25548
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25550 $as_echo_n "checking for finitef declaration... " >&6; }
25551 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25552 if ${glibcxx_cv_func_finitef_use+:} false; then :
25553 $as_echo_n "(cached) " >&6
25554 else
25555
25556
25557 ac_ext=cpp
25558 ac_cpp='$CXXCPP $CPPFLAGS'
25559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25562
25563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25564 /* end confdefs.h. */
25565 #include <math.h>
25566 #ifdef HAVE_IEEEFP_H
25567 #include <ieeefp.h>
25568 #endif
25569
25570 int
25571 main ()
25572 {
25573 finitef(0);
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func_finitef_use=yes
25580 else
25581 glibcxx_cv_func_finitef_use=no
25582 fi
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589
25590
25591 fi
25592
25593 fi
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25595 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25596
25597 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25598 for ac_func in finitef
25599 do :
25600 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25601 if test "x$ac_cv_func_finitef" = xyes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define HAVE_FINITEF 1
25604 _ACEOF
25605
25606 fi
25607 done
25608
25609 else
25610
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25612 $as_echo_n "checking for _finitef declaration... " >&6; }
25613 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25614 if ${glibcxx_cv_func__finitef_use+:} false; then :
25615 $as_echo_n "(cached) " >&6
25616 else
25617
25618
25619 ac_ext=cpp
25620 ac_cpp='$CXXCPP $CPPFLAGS'
25621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25624
25625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25627 #include <math.h>
25628 #ifdef HAVE_IEEEFP_H
25629 #include <ieeefp.h>
25630 #endif
25631
25632 int
25633 main ()
25634 {
25635 _finitef(0);
25636 ;
25637 return 0;
25638 }
25639 _ACEOF
25640 if ac_fn_cxx_try_compile "$LINENO"; then :
25641 glibcxx_cv_func__finitef_use=yes
25642 else
25643 glibcxx_cv_func__finitef_use=no
25644 fi
25645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 ac_ext=c
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651
25652
25653 fi
25654
25655 fi
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25657 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25658
25659 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25660 for ac_func in _finitef
25661 do :
25662 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25663 if test "x$ac_cv_func__finitef" = xyes; then :
25664 cat >>confdefs.h <<_ACEOF
25665 #define HAVE__FINITEF 1
25666 _ACEOF
25667
25668 fi
25669 done
25670
25671 fi
25672 fi
25673
25674
25675
25676
25677
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25679 $as_echo_n "checking for long double trig functions... " >&6; }
25680 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25681 $as_echo_n "(cached) " >&6
25682 else
25683
25684
25685 ac_ext=cpp
25686 ac_cpp='$CXXCPP $CPPFLAGS'
25687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690
25691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25693 #include <math.h>
25694 int
25695 main ()
25696 {
25697 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 if ac_fn_cxx_try_compile "$LINENO"; then :
25703 glibcxx_cv_func_long_double_trig_use=yes
25704 else
25705 glibcxx_cv_func_long_double_trig_use=no
25706 fi
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708 ac_ext=c
25709 ac_cpp='$CPP $CPPFLAGS'
25710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25713
25714 fi
25715
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25717 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25718 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25719 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25720 do :
25721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25724 cat >>confdefs.h <<_ACEOF
25725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25726 _ACEOF
25727
25728 fi
25729 done
25730
25731 else
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25733 $as_echo_n "checking for _long double trig functions... " >&6; }
25734 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25737
25738
25739 ac_ext=cpp
25740 ac_cpp='$CXXCPP $CPPFLAGS'
25741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25744
25745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25746 /* end confdefs.h. */
25747 #include <math.h>
25748 int
25749 main ()
25750 {
25751 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25752 ;
25753 return 0;
25754 }
25755 _ACEOF
25756 if ac_fn_cxx_try_compile "$LINENO"; then :
25757 glibcxx_cv_func__long_double_trig_use=yes
25758 else
25759 glibcxx_cv_func__long_double_trig_use=no
25760 fi
25761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25762 ac_ext=c
25763 ac_cpp='$CPP $CPPFLAGS'
25764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25767
25768 fi
25769
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25771 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25772 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25773 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25774 do :
25775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25778 cat >>confdefs.h <<_ACEOF
25779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25780 _ACEOF
25781
25782 fi
25783 done
25784
25785 fi
25786 fi
25787
25788
25789
25790
25791
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25793 $as_echo_n "checking for long double round functions... " >&6; }
25794 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25795 $as_echo_n "(cached) " >&6
25796 else
25797
25798
25799 ac_ext=cpp
25800 ac_cpp='$CXXCPP $CPPFLAGS'
25801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804
25805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806 /* end confdefs.h. */
25807 #include <math.h>
25808 int
25809 main ()
25810 {
25811 ceill (0); floorl (0);
25812 ;
25813 return 0;
25814 }
25815 _ACEOF
25816 if ac_fn_cxx_try_compile "$LINENO"; then :
25817 glibcxx_cv_func_long_double_round_use=yes
25818 else
25819 glibcxx_cv_func_long_double_round_use=no
25820 fi
25821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25822 ac_ext=c
25823 ac_cpp='$CPP $CPPFLAGS'
25824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25827
25828 fi
25829
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25831 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25832 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25833 for ac_func in ceill floorl
25834 do :
25835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25838 cat >>confdefs.h <<_ACEOF
25839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25840 _ACEOF
25841
25842 fi
25843 done
25844
25845 else
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25847 $as_echo_n "checking for _long double round functions... " >&6; }
25848 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25849 $as_echo_n "(cached) " >&6
25850 else
25851
25852
25853 ac_ext=cpp
25854 ac_cpp='$CXXCPP $CPPFLAGS'
25855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25858
25859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25860 /* end confdefs.h. */
25861 #include <math.h>
25862 int
25863 main ()
25864 {
25865 _ceill (0); _floorl (0);
25866 ;
25867 return 0;
25868 }
25869 _ACEOF
25870 if ac_fn_cxx_try_compile "$LINENO"; then :
25871 glibcxx_cv_func__long_double_round_use=yes
25872 else
25873 glibcxx_cv_func__long_double_round_use=no
25874 fi
25875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25876 ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25881
25882 fi
25883
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25885 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25886 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25887 for ac_func in _ceill _floorl
25888 do :
25889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25892 cat >>confdefs.h <<_ACEOF
25893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25894 _ACEOF
25895
25896 fi
25897 done
25898
25899 fi
25900 fi
25901
25902
25903
25904
25905
25906
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25908 $as_echo_n "checking for isnanl declaration... " >&6; }
25909 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25910 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25911 $as_echo_n "(cached) " >&6
25912 else
25913
25914
25915 ac_ext=cpp
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920
25921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25923 #include <math.h>
25924 #ifdef HAVE_IEEEFP_H
25925 #include <ieeefp.h>
25926 #endif
25927
25928 int
25929 main ()
25930 {
25931 isnanl(0);
25932 ;
25933 return 0;
25934 }
25935 _ACEOF
25936 if ac_fn_cxx_try_compile "$LINENO"; then :
25937 glibcxx_cv_func_isnanl_use=yes
25938 else
25939 glibcxx_cv_func_isnanl_use=no
25940 fi
25941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25942 ac_ext=c
25943 ac_cpp='$CPP $CPPFLAGS'
25944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25947
25948
25949 fi
25950
25951 fi
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25953 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25954
25955 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25956 for ac_func in isnanl
25957 do :
25958 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25959 if test "x$ac_cv_func_isnanl" = xyes; then :
25960 cat >>confdefs.h <<_ACEOF
25961 #define HAVE_ISNANL 1
25962 _ACEOF
25963
25964 fi
25965 done
25966
25967 else
25968
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25970 $as_echo_n "checking for _isnanl declaration... " >&6; }
25971 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25972 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25973 $as_echo_n "(cached) " >&6
25974 else
25975
25976
25977 ac_ext=cpp
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982
25983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25984 /* end confdefs.h. */
25985 #include <math.h>
25986 #ifdef HAVE_IEEEFP_H
25987 #include <ieeefp.h>
25988 #endif
25989
25990 int
25991 main ()
25992 {
25993 _isnanl(0);
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 if ac_fn_cxx_try_compile "$LINENO"; then :
25999 glibcxx_cv_func__isnanl_use=yes
26000 else
26001 glibcxx_cv_func__isnanl_use=no
26002 fi
26003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004 ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26009
26010
26011 fi
26012
26013 fi
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26015 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26016
26017 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26018 for ac_func in _isnanl
26019 do :
26020 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26021 if test "x$ac_cv_func__isnanl" = xyes; then :
26022 cat >>confdefs.h <<_ACEOF
26023 #define HAVE__ISNANL 1
26024 _ACEOF
26025
26026 fi
26027 done
26028
26029 fi
26030 fi
26031
26032
26033
26034
26035
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26037 $as_echo_n "checking for isinfl declaration... " >&6; }
26038 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26039 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26040 $as_echo_n "(cached) " >&6
26041 else
26042
26043
26044 ac_ext=cpp
26045 ac_cpp='$CXXCPP $CPPFLAGS'
26046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26049
26050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26051 /* end confdefs.h. */
26052 #include <math.h>
26053 #ifdef HAVE_IEEEFP_H
26054 #include <ieeefp.h>
26055 #endif
26056
26057 int
26058 main ()
26059 {
26060 isinfl(0);
26061 ;
26062 return 0;
26063 }
26064 _ACEOF
26065 if ac_fn_cxx_try_compile "$LINENO"; then :
26066 glibcxx_cv_func_isinfl_use=yes
26067 else
26068 glibcxx_cv_func_isinfl_use=no
26069 fi
26070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 ac_ext=c
26072 ac_cpp='$CPP $CPPFLAGS'
26073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26076
26077
26078 fi
26079
26080 fi
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26082 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26083
26084 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26085 for ac_func in isinfl
26086 do :
26087 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26088 if test "x$ac_cv_func_isinfl" = xyes; then :
26089 cat >>confdefs.h <<_ACEOF
26090 #define HAVE_ISINFL 1
26091 _ACEOF
26092
26093 fi
26094 done
26095
26096 else
26097
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26099 $as_echo_n "checking for _isinfl declaration... " >&6; }
26100 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26101 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26102 $as_echo_n "(cached) " >&6
26103 else
26104
26105
26106 ac_ext=cpp
26107 ac_cpp='$CXXCPP $CPPFLAGS'
26108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26111
26112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26113 /* end confdefs.h. */
26114 #include <math.h>
26115 #ifdef HAVE_IEEEFP_H
26116 #include <ieeefp.h>
26117 #endif
26118
26119 int
26120 main ()
26121 {
26122 _isinfl(0);
26123 ;
26124 return 0;
26125 }
26126 _ACEOF
26127 if ac_fn_cxx_try_compile "$LINENO"; then :
26128 glibcxx_cv_func__isinfl_use=yes
26129 else
26130 glibcxx_cv_func__isinfl_use=no
26131 fi
26132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26133 ac_ext=c
26134 ac_cpp='$CPP $CPPFLAGS'
26135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26138
26139
26140 fi
26141
26142 fi
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26144 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26145
26146 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26147 for ac_func in _isinfl
26148 do :
26149 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26150 if test "x$ac_cv_func__isinfl" = xyes; then :
26151 cat >>confdefs.h <<_ACEOF
26152 #define HAVE__ISINFL 1
26153 _ACEOF
26154
26155 fi
26156 done
26157
26158 fi
26159 fi
26160
26161
26162
26163
26164
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26166 $as_echo_n "checking for atan2l declaration... " >&6; }
26167 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26168 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26169 $as_echo_n "(cached) " >&6
26170 else
26171
26172
26173 ac_ext=cpp
26174 ac_cpp='$CXXCPP $CPPFLAGS'
26175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 #include <math.h>
26182 int
26183 main ()
26184 {
26185 atan2l(0, 0);
26186 ;
26187 return 0;
26188 }
26189 _ACEOF
26190 if ac_fn_cxx_try_compile "$LINENO"; then :
26191 glibcxx_cv_func_atan2l_use=yes
26192 else
26193 glibcxx_cv_func_atan2l_use=no
26194 fi
26195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26196 ac_ext=c
26197 ac_cpp='$CPP $CPPFLAGS'
26198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26201
26202
26203 fi
26204
26205 fi
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26207 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26208
26209 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26210 for ac_func in atan2l
26211 do :
26212 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26213 if test "x$ac_cv_func_atan2l" = xyes; then :
26214 cat >>confdefs.h <<_ACEOF
26215 #define HAVE_ATAN2L 1
26216 _ACEOF
26217
26218 fi
26219 done
26220
26221 else
26222
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26224 $as_echo_n "checking for _atan2l declaration... " >&6; }
26225 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26226 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26227 $as_echo_n "(cached) " >&6
26228 else
26229
26230
26231 ac_ext=cpp
26232 ac_cpp='$CXXCPP $CPPFLAGS'
26233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26236
26237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26238 /* end confdefs.h. */
26239 #include <math.h>
26240 int
26241 main ()
26242 {
26243 _atan2l(0, 0);
26244 ;
26245 return 0;
26246 }
26247 _ACEOF
26248 if ac_fn_cxx_try_compile "$LINENO"; then :
26249 glibcxx_cv_func__atan2l_use=yes
26250 else
26251 glibcxx_cv_func__atan2l_use=no
26252 fi
26253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 ac_ext=c
26255 ac_cpp='$CPP $CPPFLAGS'
26256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259
26260
26261 fi
26262
26263 fi
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26265 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26266
26267 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26268 for ac_func in _atan2l
26269 do :
26270 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26271 if test "x$ac_cv_func__atan2l" = xyes; then :
26272 cat >>confdefs.h <<_ACEOF
26273 #define HAVE__ATAN2L 1
26274 _ACEOF
26275
26276 fi
26277 done
26278
26279 fi
26280 fi
26281
26282
26283
26284
26285
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26287 $as_echo_n "checking for expl declaration... " >&6; }
26288 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26289 if ${glibcxx_cv_func_expl_use+:} false; then :
26290 $as_echo_n "(cached) " >&6
26291 else
26292
26293
26294 ac_ext=cpp
26295 ac_cpp='$CXXCPP $CPPFLAGS'
26296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26299
26300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26301 /* end confdefs.h. */
26302 #include <math.h>
26303 #ifdef HAVE_IEEEFP_H
26304 #include <ieeefp.h>
26305 #endif
26306
26307 int
26308 main ()
26309 {
26310 expl(0);
26311 ;
26312 return 0;
26313 }
26314 _ACEOF
26315 if ac_fn_cxx_try_compile "$LINENO"; then :
26316 glibcxx_cv_func_expl_use=yes
26317 else
26318 glibcxx_cv_func_expl_use=no
26319 fi
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26326
26327
26328 fi
26329
26330 fi
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26332 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26333
26334 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26335 for ac_func in expl
26336 do :
26337 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26338 if test "x$ac_cv_func_expl" = xyes; then :
26339 cat >>confdefs.h <<_ACEOF
26340 #define HAVE_EXPL 1
26341 _ACEOF
26342
26343 fi
26344 done
26345
26346 else
26347
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26349 $as_echo_n "checking for _expl declaration... " >&6; }
26350 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26351 if ${glibcxx_cv_func__expl_use+:} false; then :
26352 $as_echo_n "(cached) " >&6
26353 else
26354
26355
26356 ac_ext=cpp
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26361
26362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26364 #include <math.h>
26365 #ifdef HAVE_IEEEFP_H
26366 #include <ieeefp.h>
26367 #endif
26368
26369 int
26370 main ()
26371 {
26372 _expl(0);
26373 ;
26374 return 0;
26375 }
26376 _ACEOF
26377 if ac_fn_cxx_try_compile "$LINENO"; then :
26378 glibcxx_cv_func__expl_use=yes
26379 else
26380 glibcxx_cv_func__expl_use=no
26381 fi
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 ac_ext=c
26384 ac_cpp='$CPP $CPPFLAGS'
26385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26388
26389
26390 fi
26391
26392 fi
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26394 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26395
26396 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26397 for ac_func in _expl
26398 do :
26399 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26400 if test "x$ac_cv_func__expl" = xyes; then :
26401 cat >>confdefs.h <<_ACEOF
26402 #define HAVE__EXPL 1
26403 _ACEOF
26404
26405 fi
26406 done
26407
26408 fi
26409 fi
26410
26411
26412
26413
26414
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26416 $as_echo_n "checking for fabsl declaration... " >&6; }
26417 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26418 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26419 $as_echo_n "(cached) " >&6
26420 else
26421
26422
26423 ac_ext=cpp
26424 ac_cpp='$CXXCPP $CPPFLAGS'
26425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26428
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 #include <math.h>
26432 #ifdef HAVE_IEEEFP_H
26433 #include <ieeefp.h>
26434 #endif
26435
26436 int
26437 main ()
26438 {
26439 fabsl(0);
26440 ;
26441 return 0;
26442 }
26443 _ACEOF
26444 if ac_fn_cxx_try_compile "$LINENO"; then :
26445 glibcxx_cv_func_fabsl_use=yes
26446 else
26447 glibcxx_cv_func_fabsl_use=no
26448 fi
26449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 ac_ext=c
26451 ac_cpp='$CPP $CPPFLAGS'
26452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26455
26456
26457 fi
26458
26459 fi
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26461 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26462
26463 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26464 for ac_func in fabsl
26465 do :
26466 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26467 if test "x$ac_cv_func_fabsl" = xyes; then :
26468 cat >>confdefs.h <<_ACEOF
26469 #define HAVE_FABSL 1
26470 _ACEOF
26471
26472 fi
26473 done
26474
26475 else
26476
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26478 $as_echo_n "checking for _fabsl declaration... " >&6; }
26479 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26480 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26481 $as_echo_n "(cached) " >&6
26482 else
26483
26484
26485 ac_ext=cpp
26486 ac_cpp='$CXXCPP $CPPFLAGS'
26487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490
26491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26492 /* end confdefs.h. */
26493 #include <math.h>
26494 #ifdef HAVE_IEEEFP_H
26495 #include <ieeefp.h>
26496 #endif
26497
26498 int
26499 main ()
26500 {
26501 _fabsl(0);
26502 ;
26503 return 0;
26504 }
26505 _ACEOF
26506 if ac_fn_cxx_try_compile "$LINENO"; then :
26507 glibcxx_cv_func__fabsl_use=yes
26508 else
26509 glibcxx_cv_func__fabsl_use=no
26510 fi
26511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26512 ac_ext=c
26513 ac_cpp='$CPP $CPPFLAGS'
26514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26517
26518
26519 fi
26520
26521 fi
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26523 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26524
26525 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26526 for ac_func in _fabsl
26527 do :
26528 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26529 if test "x$ac_cv_func__fabsl" = xyes; then :
26530 cat >>confdefs.h <<_ACEOF
26531 #define HAVE__FABSL 1
26532 _ACEOF
26533
26534 fi
26535 done
26536
26537 fi
26538 fi
26539
26540
26541
26542
26543
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26545 $as_echo_n "checking for fmodl declaration... " >&6; }
26546 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26547 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26548 $as_echo_n "(cached) " >&6
26549 else
26550
26551
26552 ac_ext=cpp
26553 ac_cpp='$CXXCPP $CPPFLAGS'
26554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26557
26558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26559 /* end confdefs.h. */
26560 #include <math.h>
26561 int
26562 main ()
26563 {
26564 fmodl(0, 0);
26565 ;
26566 return 0;
26567 }
26568 _ACEOF
26569 if ac_fn_cxx_try_compile "$LINENO"; then :
26570 glibcxx_cv_func_fmodl_use=yes
26571 else
26572 glibcxx_cv_func_fmodl_use=no
26573 fi
26574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 ac_ext=c
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26580
26581
26582 fi
26583
26584 fi
26585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26586 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26587
26588 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26589 for ac_func in fmodl
26590 do :
26591 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26592 if test "x$ac_cv_func_fmodl" = xyes; then :
26593 cat >>confdefs.h <<_ACEOF
26594 #define HAVE_FMODL 1
26595 _ACEOF
26596
26597 fi
26598 done
26599
26600 else
26601
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26603 $as_echo_n "checking for _fmodl declaration... " >&6; }
26604 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26605 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26606 $as_echo_n "(cached) " >&6
26607 else
26608
26609
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615
26616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26617 /* end confdefs.h. */
26618 #include <math.h>
26619 int
26620 main ()
26621 {
26622 _fmodl(0, 0);
26623 ;
26624 return 0;
26625 }
26626 _ACEOF
26627 if ac_fn_cxx_try_compile "$LINENO"; then :
26628 glibcxx_cv_func__fmodl_use=yes
26629 else
26630 glibcxx_cv_func__fmodl_use=no
26631 fi
26632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 ac_ext=c
26634 ac_cpp='$CPP $CPPFLAGS'
26635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638
26639
26640 fi
26641
26642 fi
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26644 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26645
26646 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26647 for ac_func in _fmodl
26648 do :
26649 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26650 if test "x$ac_cv_func__fmodl" = xyes; then :
26651 cat >>confdefs.h <<_ACEOF
26652 #define HAVE__FMODL 1
26653 _ACEOF
26654
26655 fi
26656 done
26657
26658 fi
26659 fi
26660
26661
26662
26663
26664
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26666 $as_echo_n "checking for frexpl declaration... " >&6; }
26667 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26668 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26669 $as_echo_n "(cached) " >&6
26670 else
26671
26672
26673 ac_ext=cpp
26674 ac_cpp='$CXXCPP $CPPFLAGS'
26675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26678
26679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26680 /* end confdefs.h. */
26681 #include <math.h>
26682 int
26683 main ()
26684 {
26685 frexpl(0, 0);
26686 ;
26687 return 0;
26688 }
26689 _ACEOF
26690 if ac_fn_cxx_try_compile "$LINENO"; then :
26691 glibcxx_cv_func_frexpl_use=yes
26692 else
26693 glibcxx_cv_func_frexpl_use=no
26694 fi
26695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26696 ac_ext=c
26697 ac_cpp='$CPP $CPPFLAGS'
26698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701
26702
26703 fi
26704
26705 fi
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26707 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26708
26709 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26710 for ac_func in frexpl
26711 do :
26712 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26713 if test "x$ac_cv_func_frexpl" = xyes; then :
26714 cat >>confdefs.h <<_ACEOF
26715 #define HAVE_FREXPL 1
26716 _ACEOF
26717
26718 fi
26719 done
26720
26721 else
26722
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26724 $as_echo_n "checking for _frexpl declaration... " >&6; }
26725 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26726 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26727 $as_echo_n "(cached) " >&6
26728 else
26729
26730
26731 ac_ext=cpp
26732 ac_cpp='$CXXCPP $CPPFLAGS'
26733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26736
26737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26738 /* end confdefs.h. */
26739 #include <math.h>
26740 int
26741 main ()
26742 {
26743 _frexpl(0, 0);
26744 ;
26745 return 0;
26746 }
26747 _ACEOF
26748 if ac_fn_cxx_try_compile "$LINENO"; then :
26749 glibcxx_cv_func__frexpl_use=yes
26750 else
26751 glibcxx_cv_func__frexpl_use=no
26752 fi
26753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26754 ac_ext=c
26755 ac_cpp='$CPP $CPPFLAGS'
26756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26759
26760
26761 fi
26762
26763 fi
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26765 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26766
26767 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26768 for ac_func in _frexpl
26769 do :
26770 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26771 if test "x$ac_cv_func__frexpl" = xyes; then :
26772 cat >>confdefs.h <<_ACEOF
26773 #define HAVE__FREXPL 1
26774 _ACEOF
26775
26776 fi
26777 done
26778
26779 fi
26780 fi
26781
26782
26783
26784
26785
26786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26787 $as_echo_n "checking for hypotl declaration... " >&6; }
26788 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26789 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26790 $as_echo_n "(cached) " >&6
26791 else
26792
26793
26794 ac_ext=cpp
26795 ac_cpp='$CXXCPP $CPPFLAGS'
26796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799
26800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26801 /* end confdefs.h. */
26802 #include <math.h>
26803 int
26804 main ()
26805 {
26806 hypotl(0, 0);
26807 ;
26808 return 0;
26809 }
26810 _ACEOF
26811 if ac_fn_cxx_try_compile "$LINENO"; then :
26812 glibcxx_cv_func_hypotl_use=yes
26813 else
26814 glibcxx_cv_func_hypotl_use=no
26815 fi
26816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26817 ac_ext=c
26818 ac_cpp='$CPP $CPPFLAGS'
26819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26822
26823
26824 fi
26825
26826 fi
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26828 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26829
26830 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26831 for ac_func in hypotl
26832 do :
26833 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26834 if test "x$ac_cv_func_hypotl" = xyes; then :
26835 cat >>confdefs.h <<_ACEOF
26836 #define HAVE_HYPOTL 1
26837 _ACEOF
26838
26839 fi
26840 done
26841
26842 else
26843
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26845 $as_echo_n "checking for _hypotl declaration... " >&6; }
26846 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26847 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26848 $as_echo_n "(cached) " >&6
26849 else
26850
26851
26852 ac_ext=cpp
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857
26858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859 /* end confdefs.h. */
26860 #include <math.h>
26861 int
26862 main ()
26863 {
26864 _hypotl(0, 0);
26865 ;
26866 return 0;
26867 }
26868 _ACEOF
26869 if ac_fn_cxx_try_compile "$LINENO"; then :
26870 glibcxx_cv_func__hypotl_use=yes
26871 else
26872 glibcxx_cv_func__hypotl_use=no
26873 fi
26874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875 ac_ext=c
26876 ac_cpp='$CPP $CPPFLAGS'
26877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26880
26881
26882 fi
26883
26884 fi
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26886 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26887
26888 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26889 for ac_func in _hypotl
26890 do :
26891 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26892 if test "x$ac_cv_func__hypotl" = xyes; then :
26893 cat >>confdefs.h <<_ACEOF
26894 #define HAVE__HYPOTL 1
26895 _ACEOF
26896
26897 fi
26898 done
26899
26900 fi
26901 fi
26902
26903
26904
26905
26906
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26908 $as_echo_n "checking for ldexpl declaration... " >&6; }
26909 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26910 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26911 $as_echo_n "(cached) " >&6
26912 else
26913
26914
26915 ac_ext=cpp
26916 ac_cpp='$CXXCPP $CPPFLAGS'
26917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920
26921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26922 /* end confdefs.h. */
26923 #include <math.h>
26924 int
26925 main ()
26926 {
26927 ldexpl(0, 0);
26928 ;
26929 return 0;
26930 }
26931 _ACEOF
26932 if ac_fn_cxx_try_compile "$LINENO"; then :
26933 glibcxx_cv_func_ldexpl_use=yes
26934 else
26935 glibcxx_cv_func_ldexpl_use=no
26936 fi
26937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26938 ac_ext=c
26939 ac_cpp='$CPP $CPPFLAGS'
26940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26943
26944
26945 fi
26946
26947 fi
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26949 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26950
26951 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26952 for ac_func in ldexpl
26953 do :
26954 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26955 if test "x$ac_cv_func_ldexpl" = xyes; then :
26956 cat >>confdefs.h <<_ACEOF
26957 #define HAVE_LDEXPL 1
26958 _ACEOF
26959
26960 fi
26961 done
26962
26963 else
26964
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26966 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26967 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26968 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26969 $as_echo_n "(cached) " >&6
26970 else
26971
26972
26973 ac_ext=cpp
26974 ac_cpp='$CXXCPP $CPPFLAGS'
26975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26978
26979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26980 /* end confdefs.h. */
26981 #include <math.h>
26982 int
26983 main ()
26984 {
26985 _ldexpl(0, 0);
26986 ;
26987 return 0;
26988 }
26989 _ACEOF
26990 if ac_fn_cxx_try_compile "$LINENO"; then :
26991 glibcxx_cv_func__ldexpl_use=yes
26992 else
26993 glibcxx_cv_func__ldexpl_use=no
26994 fi
26995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26996 ac_ext=c
26997 ac_cpp='$CPP $CPPFLAGS'
26998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27001
27002
27003 fi
27004
27005 fi
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27007 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27008
27009 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27010 for ac_func in _ldexpl
27011 do :
27012 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27013 if test "x$ac_cv_func__ldexpl" = xyes; then :
27014 cat >>confdefs.h <<_ACEOF
27015 #define HAVE__LDEXPL 1
27016 _ACEOF
27017
27018 fi
27019 done
27020
27021 fi
27022 fi
27023
27024
27025
27026
27027
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27029 $as_echo_n "checking for logl declaration... " >&6; }
27030 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27031 if ${glibcxx_cv_func_logl_use+:} false; then :
27032 $as_echo_n "(cached) " >&6
27033 else
27034
27035
27036 ac_ext=cpp
27037 ac_cpp='$CXXCPP $CPPFLAGS'
27038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041
27042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27043 /* end confdefs.h. */
27044 #include <math.h>
27045 #ifdef HAVE_IEEEFP_H
27046 #include <ieeefp.h>
27047 #endif
27048
27049 int
27050 main ()
27051 {
27052 logl(0);
27053 ;
27054 return 0;
27055 }
27056 _ACEOF
27057 if ac_fn_cxx_try_compile "$LINENO"; then :
27058 glibcxx_cv_func_logl_use=yes
27059 else
27060 glibcxx_cv_func_logl_use=no
27061 fi
27062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27063 ac_ext=c
27064 ac_cpp='$CPP $CPPFLAGS'
27065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27068
27069
27070 fi
27071
27072 fi
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27074 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27075
27076 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27077 for ac_func in logl
27078 do :
27079 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27080 if test "x$ac_cv_func_logl" = xyes; then :
27081 cat >>confdefs.h <<_ACEOF
27082 #define HAVE_LOGL 1
27083 _ACEOF
27084
27085 fi
27086 done
27087
27088 else
27089
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27091 $as_echo_n "checking for _logl declaration... " >&6; }
27092 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27093 if ${glibcxx_cv_func__logl_use+:} false; then :
27094 $as_echo_n "(cached) " >&6
27095 else
27096
27097
27098 ac_ext=cpp
27099 ac_cpp='$CXXCPP $CPPFLAGS'
27100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27103
27104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27105 /* end confdefs.h. */
27106 #include <math.h>
27107 #ifdef HAVE_IEEEFP_H
27108 #include <ieeefp.h>
27109 #endif
27110
27111 int
27112 main ()
27113 {
27114 _logl(0);
27115 ;
27116 return 0;
27117 }
27118 _ACEOF
27119 if ac_fn_cxx_try_compile "$LINENO"; then :
27120 glibcxx_cv_func__logl_use=yes
27121 else
27122 glibcxx_cv_func__logl_use=no
27123 fi
27124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27125 ac_ext=c
27126 ac_cpp='$CPP $CPPFLAGS'
27127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130
27131
27132 fi
27133
27134 fi
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27136 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27137
27138 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27139 for ac_func in _logl
27140 do :
27141 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27142 if test "x$ac_cv_func__logl" = xyes; then :
27143 cat >>confdefs.h <<_ACEOF
27144 #define HAVE__LOGL 1
27145 _ACEOF
27146
27147 fi
27148 done
27149
27150 fi
27151 fi
27152
27153
27154
27155
27156
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27158 $as_echo_n "checking for log10l declaration... " >&6; }
27159 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27160 if ${glibcxx_cv_func_log10l_use+:} false; then :
27161 $as_echo_n "(cached) " >&6
27162 else
27163
27164
27165 ac_ext=cpp
27166 ac_cpp='$CXXCPP $CPPFLAGS'
27167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27170
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27173 #include <math.h>
27174 #ifdef HAVE_IEEEFP_H
27175 #include <ieeefp.h>
27176 #endif
27177
27178 int
27179 main ()
27180 {
27181 log10l(0);
27182 ;
27183 return 0;
27184 }
27185 _ACEOF
27186 if ac_fn_cxx_try_compile "$LINENO"; then :
27187 glibcxx_cv_func_log10l_use=yes
27188 else
27189 glibcxx_cv_func_log10l_use=no
27190 fi
27191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27192 ac_ext=c
27193 ac_cpp='$CPP $CPPFLAGS'
27194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197
27198
27199 fi
27200
27201 fi
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27203 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27204
27205 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27206 for ac_func in log10l
27207 do :
27208 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27209 if test "x$ac_cv_func_log10l" = xyes; then :
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE_LOG10L 1
27212 _ACEOF
27213
27214 fi
27215 done
27216
27217 else
27218
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27220 $as_echo_n "checking for _log10l declaration... " >&6; }
27221 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27222 if ${glibcxx_cv_func__log10l_use+:} false; then :
27223 $as_echo_n "(cached) " >&6
27224 else
27225
27226
27227 ac_ext=cpp
27228 ac_cpp='$CXXCPP $CPPFLAGS'
27229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27232
27233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27234 /* end confdefs.h. */
27235 #include <math.h>
27236 #ifdef HAVE_IEEEFP_H
27237 #include <ieeefp.h>
27238 #endif
27239
27240 int
27241 main ()
27242 {
27243 _log10l(0);
27244 ;
27245 return 0;
27246 }
27247 _ACEOF
27248 if ac_fn_cxx_try_compile "$LINENO"; then :
27249 glibcxx_cv_func__log10l_use=yes
27250 else
27251 glibcxx_cv_func__log10l_use=no
27252 fi
27253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27254 ac_ext=c
27255 ac_cpp='$CPP $CPPFLAGS'
27256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27259
27260
27261 fi
27262
27263 fi
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27265 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27266
27267 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27268 for ac_func in _log10l
27269 do :
27270 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27271 if test "x$ac_cv_func__log10l" = xyes; then :
27272 cat >>confdefs.h <<_ACEOF
27273 #define HAVE__LOG10L 1
27274 _ACEOF
27275
27276 fi
27277 done
27278
27279 fi
27280 fi
27281
27282
27283
27284
27285
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27287 $as_echo_n "checking for modfl declaration... " >&6; }
27288 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27289 if ${glibcxx_cv_func_modfl_use+:} false; then :
27290 $as_echo_n "(cached) " >&6
27291 else
27292
27293
27294 ac_ext=cpp
27295 ac_cpp='$CXXCPP $CPPFLAGS'
27296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27299
27300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27301 /* end confdefs.h. */
27302 #include <math.h>
27303 int
27304 main ()
27305 {
27306 modfl(0, 0);
27307 ;
27308 return 0;
27309 }
27310 _ACEOF
27311 if ac_fn_cxx_try_compile "$LINENO"; then :
27312 glibcxx_cv_func_modfl_use=yes
27313 else
27314 glibcxx_cv_func_modfl_use=no
27315 fi
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 ac_ext=c
27318 ac_cpp='$CPP $CPPFLAGS'
27319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322
27323
27324 fi
27325
27326 fi
27327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27328 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27329
27330 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27331 for ac_func in modfl
27332 do :
27333 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27334 if test "x$ac_cv_func_modfl" = xyes; then :
27335 cat >>confdefs.h <<_ACEOF
27336 #define HAVE_MODFL 1
27337 _ACEOF
27338
27339 fi
27340 done
27341
27342 else
27343
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27345 $as_echo_n "checking for _modfl declaration... " >&6; }
27346 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27347 if ${glibcxx_cv_func__modfl_use+:} false; then :
27348 $as_echo_n "(cached) " >&6
27349 else
27350
27351
27352 ac_ext=cpp
27353 ac_cpp='$CXXCPP $CPPFLAGS'
27354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357
27358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27359 /* end confdefs.h. */
27360 #include <math.h>
27361 int
27362 main ()
27363 {
27364 _modfl(0, 0);
27365 ;
27366 return 0;
27367 }
27368 _ACEOF
27369 if ac_fn_cxx_try_compile "$LINENO"; then :
27370 glibcxx_cv_func__modfl_use=yes
27371 else
27372 glibcxx_cv_func__modfl_use=no
27373 fi
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 ac_ext=c
27376 ac_cpp='$CPP $CPPFLAGS'
27377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27380
27381
27382 fi
27383
27384 fi
27385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27386 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27387
27388 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27389 for ac_func in _modfl
27390 do :
27391 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27392 if test "x$ac_cv_func__modfl" = xyes; then :
27393 cat >>confdefs.h <<_ACEOF
27394 #define HAVE__MODFL 1
27395 _ACEOF
27396
27397 fi
27398 done
27399
27400 fi
27401 fi
27402
27403
27404
27405
27406
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27408 $as_echo_n "checking for powl declaration... " >&6; }
27409 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27410 if ${glibcxx_cv_func_powl_use+:} false; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27413
27414
27415 ac_ext=cpp
27416 ac_cpp='$CXXCPP $CPPFLAGS'
27417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27420
27421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27422 /* end confdefs.h. */
27423 #include <math.h>
27424 int
27425 main ()
27426 {
27427 powl(0, 0);
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 if ac_fn_cxx_try_compile "$LINENO"; then :
27433 glibcxx_cv_func_powl_use=yes
27434 else
27435 glibcxx_cv_func_powl_use=no
27436 fi
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 ac_ext=c
27439 ac_cpp='$CPP $CPPFLAGS'
27440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27443
27444
27445 fi
27446
27447 fi
27448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27449 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27450
27451 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27452 for ac_func in powl
27453 do :
27454 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27455 if test "x$ac_cv_func_powl" = xyes; then :
27456 cat >>confdefs.h <<_ACEOF
27457 #define HAVE_POWL 1
27458 _ACEOF
27459
27460 fi
27461 done
27462
27463 else
27464
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27466 $as_echo_n "checking for _powl declaration... " >&6; }
27467 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27468 if ${glibcxx_cv_func__powl_use+:} false; then :
27469 $as_echo_n "(cached) " >&6
27470 else
27471
27472
27473 ac_ext=cpp
27474 ac_cpp='$CXXCPP $CPPFLAGS'
27475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27478
27479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27480 /* end confdefs.h. */
27481 #include <math.h>
27482 int
27483 main ()
27484 {
27485 _powl(0, 0);
27486 ;
27487 return 0;
27488 }
27489 _ACEOF
27490 if ac_fn_cxx_try_compile "$LINENO"; then :
27491 glibcxx_cv_func__powl_use=yes
27492 else
27493 glibcxx_cv_func__powl_use=no
27494 fi
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496 ac_ext=c
27497 ac_cpp='$CPP $CPPFLAGS'
27498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27501
27502
27503 fi
27504
27505 fi
27506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27507 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27508
27509 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27510 for ac_func in _powl
27511 do :
27512 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27513 if test "x$ac_cv_func__powl" = xyes; then :
27514 cat >>confdefs.h <<_ACEOF
27515 #define HAVE__POWL 1
27516 _ACEOF
27517
27518 fi
27519 done
27520
27521 fi
27522 fi
27523
27524
27525
27526
27527
27528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27529 $as_echo_n "checking for sqrtl declaration... " >&6; }
27530 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27531 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27532 $as_echo_n "(cached) " >&6
27533 else
27534
27535
27536 ac_ext=cpp
27537 ac_cpp='$CXXCPP $CPPFLAGS'
27538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27541
27542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27543 /* end confdefs.h. */
27544 #include <math.h>
27545 #ifdef HAVE_IEEEFP_H
27546 #include <ieeefp.h>
27547 #endif
27548
27549 int
27550 main ()
27551 {
27552 sqrtl(0);
27553 ;
27554 return 0;
27555 }
27556 _ACEOF
27557 if ac_fn_cxx_try_compile "$LINENO"; then :
27558 glibcxx_cv_func_sqrtl_use=yes
27559 else
27560 glibcxx_cv_func_sqrtl_use=no
27561 fi
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27563 ac_ext=c
27564 ac_cpp='$CPP $CPPFLAGS'
27565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27568
27569
27570 fi
27571
27572 fi
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27574 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27575
27576 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27577 for ac_func in sqrtl
27578 do :
27579 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27580 if test "x$ac_cv_func_sqrtl" = xyes; then :
27581 cat >>confdefs.h <<_ACEOF
27582 #define HAVE_SQRTL 1
27583 _ACEOF
27584
27585 fi
27586 done
27587
27588 else
27589
27590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27591 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27592 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27593 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27594 $as_echo_n "(cached) " >&6
27595 else
27596
27597
27598 ac_ext=cpp
27599 ac_cpp='$CXXCPP $CPPFLAGS'
27600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603
27604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27605 /* end confdefs.h. */
27606 #include <math.h>
27607 #ifdef HAVE_IEEEFP_H
27608 #include <ieeefp.h>
27609 #endif
27610
27611 int
27612 main ()
27613 {
27614 _sqrtl(0);
27615 ;
27616 return 0;
27617 }
27618 _ACEOF
27619 if ac_fn_cxx_try_compile "$LINENO"; then :
27620 glibcxx_cv_func__sqrtl_use=yes
27621 else
27622 glibcxx_cv_func__sqrtl_use=no
27623 fi
27624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27625 ac_ext=c
27626 ac_cpp='$CPP $CPPFLAGS'
27627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27630
27631
27632 fi
27633
27634 fi
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27636 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27637
27638 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27639 for ac_func in _sqrtl
27640 do :
27641 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27642 if test "x$ac_cv_func__sqrtl" = xyes; then :
27643 cat >>confdefs.h <<_ACEOF
27644 #define HAVE__SQRTL 1
27645 _ACEOF
27646
27647 fi
27648 done
27649
27650 fi
27651 fi
27652
27653
27654
27655
27656
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27658 $as_echo_n "checking for sincosl declaration... " >&6; }
27659 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27660 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27661 $as_echo_n "(cached) " >&6
27662 else
27663
27664
27665 ac_ext=cpp
27666 ac_cpp='$CXXCPP $CPPFLAGS'
27667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27670
27671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27672 /* end confdefs.h. */
27673 #include <math.h>
27674 int
27675 main ()
27676 {
27677 sincosl(0, 0, 0);
27678 ;
27679 return 0;
27680 }
27681 _ACEOF
27682 if ac_fn_cxx_try_compile "$LINENO"; then :
27683 glibcxx_cv_func_sincosl_use=yes
27684 else
27685 glibcxx_cv_func_sincosl_use=no
27686 fi
27687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27688 ac_ext=c
27689 ac_cpp='$CPP $CPPFLAGS'
27690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27693
27694
27695 fi
27696
27697 fi
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27699 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27700
27701 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27702 for ac_func in sincosl
27703 do :
27704 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27705 if test "x$ac_cv_func_sincosl" = xyes; then :
27706 cat >>confdefs.h <<_ACEOF
27707 #define HAVE_SINCOSL 1
27708 _ACEOF
27709
27710 fi
27711 done
27712
27713 else
27714
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27716 $as_echo_n "checking for _sincosl declaration... " >&6; }
27717 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27718 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27719 $as_echo_n "(cached) " >&6
27720 else
27721
27722
27723 ac_ext=cpp
27724 ac_cpp='$CXXCPP $CPPFLAGS'
27725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728
27729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 /* end confdefs.h. */
27731 #include <math.h>
27732 int
27733 main ()
27734 {
27735 _sincosl(0, 0, 0);
27736 ;
27737 return 0;
27738 }
27739 _ACEOF
27740 if ac_fn_cxx_try_compile "$LINENO"; then :
27741 glibcxx_cv_func__sincosl_use=yes
27742 else
27743 glibcxx_cv_func__sincosl_use=no
27744 fi
27745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27746 ac_ext=c
27747 ac_cpp='$CPP $CPPFLAGS'
27748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27751
27752
27753 fi
27754
27755 fi
27756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27757 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27758
27759 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27760 for ac_func in _sincosl
27761 do :
27762 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27763 if test "x$ac_cv_func__sincosl" = xyes; then :
27764 cat >>confdefs.h <<_ACEOF
27765 #define HAVE__SINCOSL 1
27766 _ACEOF
27767
27768 fi
27769 done
27770
27771 fi
27772 fi
27773
27774
27775
27776
27777
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27779 $as_echo_n "checking for finitel declaration... " >&6; }
27780 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27781 if ${glibcxx_cv_func_finitel_use+:} false; then :
27782 $as_echo_n "(cached) " >&6
27783 else
27784
27785
27786 ac_ext=cpp
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27791
27792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27793 /* end confdefs.h. */
27794 #include <math.h>
27795 #ifdef HAVE_IEEEFP_H
27796 #include <ieeefp.h>
27797 #endif
27798
27799 int
27800 main ()
27801 {
27802 finitel(0);
27803 ;
27804 return 0;
27805 }
27806 _ACEOF
27807 if ac_fn_cxx_try_compile "$LINENO"; then :
27808 glibcxx_cv_func_finitel_use=yes
27809 else
27810 glibcxx_cv_func_finitel_use=no
27811 fi
27812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27813 ac_ext=c
27814 ac_cpp='$CPP $CPPFLAGS'
27815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27818
27819
27820 fi
27821
27822 fi
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27824 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27825
27826 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27827 for ac_func in finitel
27828 do :
27829 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27830 if test "x$ac_cv_func_finitel" = xyes; then :
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE_FINITEL 1
27833 _ACEOF
27834
27835 fi
27836 done
27837
27838 else
27839
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27841 $as_echo_n "checking for _finitel declaration... " >&6; }
27842 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27843 if ${glibcxx_cv_func__finitel_use+:} false; then :
27844 $as_echo_n "(cached) " >&6
27845 else
27846
27847
27848 ac_ext=cpp
27849 ac_cpp='$CXXCPP $CPPFLAGS'
27850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27853
27854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27855 /* end confdefs.h. */
27856 #include <math.h>
27857 #ifdef HAVE_IEEEFP_H
27858 #include <ieeefp.h>
27859 #endif
27860
27861 int
27862 main ()
27863 {
27864 _finitel(0);
27865 ;
27866 return 0;
27867 }
27868 _ACEOF
27869 if ac_fn_cxx_try_compile "$LINENO"; then :
27870 glibcxx_cv_func__finitel_use=yes
27871 else
27872 glibcxx_cv_func__finitel_use=no
27873 fi
27874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27875 ac_ext=c
27876 ac_cpp='$CPP $CPPFLAGS'
27877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27880
27881
27882 fi
27883
27884 fi
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27886 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27887
27888 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27889 for ac_func in _finitel
27890 do :
27891 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27892 if test "x$ac_cv_func__finitel" = xyes; then :
27893 cat >>confdefs.h <<_ACEOF
27894 #define HAVE__FINITEL 1
27895 _ACEOF
27896
27897 fi
27898 done
27899
27900 fi
27901 fi
27902
27903
27904
27905
27906 LIBS="$ac_save_LIBS"
27907 CXXFLAGS="$ac_save_CXXFLAGS"
27908
27909
27910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27911 ac_save_CXXFLAGS="$CXXFLAGS"
27912 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27913
27914
27915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27916 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27917 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27918 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27919 $as_echo_n "(cached) " >&6
27920 else
27921
27922
27923 ac_ext=cpp
27924 ac_cpp='$CXXCPP $CPPFLAGS'
27925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27931 #include <stdlib.h>
27932 int
27933 main ()
27934 {
27935 at_quick_exit(0);
27936 ;
27937 return 0;
27938 }
27939 _ACEOF
27940 if ac_fn_cxx_try_compile "$LINENO"; then :
27941 glibcxx_cv_func_at_quick_exit_use=yes
27942 else
27943 glibcxx_cv_func_at_quick_exit_use=no
27944 fi
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27946 ac_ext=c
27947 ac_cpp='$CPP $CPPFLAGS'
27948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27951
27952
27953 fi
27954
27955 fi
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27957 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27958 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27959 for ac_func in at_quick_exit
27960 do :
27961 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27962 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27963 cat >>confdefs.h <<_ACEOF
27964 #define HAVE_AT_QUICK_EXIT 1
27965 _ACEOF
27966
27967 fi
27968 done
27969
27970 fi
27971
27972
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27974 $as_echo_n "checking for quick_exit declaration... " >&6; }
27975 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27976 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27977 $as_echo_n "(cached) " >&6
27978 else
27979
27980
27981 ac_ext=cpp
27982 ac_cpp='$CXXCPP $CPPFLAGS'
27983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27986
27987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27988 /* end confdefs.h. */
27989 #include <stdlib.h>
27990 int
27991 main ()
27992 {
27993 quick_exit(0);
27994 ;
27995 return 0;
27996 }
27997 _ACEOF
27998 if ac_fn_cxx_try_compile "$LINENO"; then :
27999 glibcxx_cv_func_quick_exit_use=yes
28000 else
28001 glibcxx_cv_func_quick_exit_use=no
28002 fi
28003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28004 ac_ext=c
28005 ac_cpp='$CPP $CPPFLAGS'
28006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28009
28010
28011 fi
28012
28013 fi
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28015 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28016 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28017 for ac_func in quick_exit
28018 do :
28019 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28020 if test "x$ac_cv_func_quick_exit" = xyes; then :
28021 cat >>confdefs.h <<_ACEOF
28022 #define HAVE_QUICK_EXIT 1
28023 _ACEOF
28024
28025 fi
28026 done
28027
28028 fi
28029
28030
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28032 $as_echo_n "checking for strtold declaration... " >&6; }
28033 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28034 if ${glibcxx_cv_func_strtold_use+:} false; then :
28035 $as_echo_n "(cached) " >&6
28036 else
28037
28038
28039 ac_ext=cpp
28040 ac_cpp='$CXXCPP $CPPFLAGS'
28041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28044
28045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28046 /* end confdefs.h. */
28047 #include <stdlib.h>
28048 int
28049 main ()
28050 {
28051 strtold(0, 0);
28052 ;
28053 return 0;
28054 }
28055 _ACEOF
28056 if ac_fn_cxx_try_compile "$LINENO"; then :
28057 glibcxx_cv_func_strtold_use=yes
28058 else
28059 glibcxx_cv_func_strtold_use=no
28060 fi
28061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28062 ac_ext=c
28063 ac_cpp='$CPP $CPPFLAGS'
28064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28067
28068
28069 fi
28070
28071 fi
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28073 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28074 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28075 for ac_func in strtold
28076 do :
28077 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28078 if test "x$ac_cv_func_strtold" = xyes; then :
28079 cat >>confdefs.h <<_ACEOF
28080 #define HAVE_STRTOLD 1
28081 _ACEOF
28082
28083 fi
28084 done
28085
28086 fi
28087
28088
28089
28090
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28092 $as_echo_n "checking for strtof declaration... " >&6; }
28093 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28094 if ${glibcxx_cv_func_strtof_use+:} false; then :
28095 $as_echo_n "(cached) " >&6
28096 else
28097
28098
28099 ac_ext=cpp
28100 ac_cpp='$CXXCPP $CPPFLAGS'
28101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28104
28105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28107 #include <stdlib.h>
28108 int
28109 main ()
28110 {
28111 strtof(0, 0);
28112 ;
28113 return 0;
28114 }
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117 glibcxx_cv_func_strtof_use=yes
28118 else
28119 glibcxx_cv_func_strtof_use=no
28120 fi
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122 ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28127
28128
28129 fi
28130
28131 fi
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28133 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28134 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28135 for ac_func in strtof
28136 do :
28137 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28138 if test "x$ac_cv_func_strtof" = xyes; then :
28139 cat >>confdefs.h <<_ACEOF
28140 #define HAVE_STRTOF 1
28141 _ACEOF
28142
28143 fi
28144 done
28145
28146 fi
28147
28148
28149
28150
28151 CXXFLAGS="$ac_save_CXXFLAGS"
28152
28153
28154 # For /dev/random and /dev/urandom for std::random_device.
28155
28156
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28158 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28159 if ${glibcxx_cv_dev_random+:} false; then :
28160 $as_echo_n "(cached) " >&6
28161 else
28162
28163 if test -r /dev/random && test -r /dev/urandom; then
28164 ## For MSys environment the test above is detected as false-positive
28165 ## on mingw-targets. So disable it explicitly for them.
28166 case ${target_os} in
28167 *mingw*) glibcxx_cv_dev_random=no ;;
28168 *) glibcxx_cv_dev_random=yes ;;
28169 esac
28170 else
28171 glibcxx_cv_dev_random=no;
28172 fi
28173
28174 fi
28175
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28177 $as_echo "$glibcxx_cv_dev_random" >&6; }
28178
28179 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28180
28181 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28182
28183
28184 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28185
28186 fi
28187
28188
28189
28190 # For TLS support.
28191
28192
28193 # Check whether --enable-tls was given.
28194 if test "${enable_tls+set}" = set; then :
28195 enableval=$enable_tls;
28196 case "$enableval" in
28197 yes|no) ;;
28198 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28199 esac
28200
28201 else
28202 enable_tls=yes
28203 fi
28204
28205
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28207 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28208 if ${gcc_cv_have_tls+:} false; then :
28209 $as_echo_n "(cached) " >&6
28210 else
28211
28212 if test "$cross_compiling" = yes; then :
28213 if test x$gcc_no_link = xyes; then
28214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28215 fi
28216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28218 __thread int a; int b; int main() { return a = b; }
28219 _ACEOF
28220 if ac_fn_c_try_link "$LINENO"; then :
28221 chktls_save_LDFLAGS="$LDFLAGS"
28222 case $host in
28223 *-*-linux*)
28224 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28225 ;;
28226 esac
28227 chktls_save_CFLAGS="$CFLAGS"
28228 CFLAGS="-fPIC $CFLAGS"
28229 if test x$gcc_no_link = xyes; then
28230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28231 fi
28232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28233 /* end confdefs.h. */
28234 int f() { return 0; }
28235 _ACEOF
28236 if ac_fn_c_try_link "$LINENO"; then :
28237 if test x$gcc_no_link = xyes; then
28238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28239 fi
28240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28241 /* end confdefs.h. */
28242 __thread int a; int b; int f() { return a = b; }
28243 _ACEOF
28244 if ac_fn_c_try_link "$LINENO"; then :
28245 gcc_cv_have_tls=yes
28246 else
28247 gcc_cv_have_tls=no
28248 fi
28249 rm -f core conftest.err conftest.$ac_objext \
28250 conftest$ac_exeext conftest.$ac_ext
28251 else
28252 gcc_cv_have_tls=yes
28253 fi
28254 rm -f core conftest.err conftest.$ac_objext \
28255 conftest$ac_exeext conftest.$ac_ext
28256 CFLAGS="$chktls_save_CFLAGS"
28257 LDFLAGS="$chktls_save_LDFLAGS"
28258 else
28259 gcc_cv_have_tls=no
28260 fi
28261 rm -f core conftest.err conftest.$ac_objext \
28262 conftest$ac_exeext conftest.$ac_ext
28263
28264
28265 else
28266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28267 /* end confdefs.h. */
28268 __thread int a; int b; int main() { return a = b; }
28269 _ACEOF
28270 if ac_fn_c_try_run "$LINENO"; then :
28271 chktls_save_LDFLAGS="$LDFLAGS"
28272 LDFLAGS="-static $LDFLAGS"
28273 if test x$gcc_no_link = xyes; then
28274 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28275 fi
28276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28277 /* end confdefs.h. */
28278 int main() { return 0; }
28279 _ACEOF
28280 if ac_fn_c_try_link "$LINENO"; then :
28281 if test "$cross_compiling" = yes; then :
28282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28284 as_fn_error $? "cannot run test program while cross compiling
28285 See \`config.log' for more details" "$LINENO" 5; }
28286 else
28287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28288 /* end confdefs.h. */
28289 __thread int a; int b; int main() { return a = b; }
28290 _ACEOF
28291 if ac_fn_c_try_run "$LINENO"; then :
28292 gcc_cv_have_tls=yes
28293 else
28294 gcc_cv_have_tls=no
28295 fi
28296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28297 conftest.$ac_objext conftest.beam conftest.$ac_ext
28298 fi
28299
28300 else
28301 gcc_cv_have_tls=yes
28302 fi
28303 rm -f core conftest.err conftest.$ac_objext \
28304 conftest$ac_exeext conftest.$ac_ext
28305 LDFLAGS="$chktls_save_LDFLAGS"
28306 if test $gcc_cv_have_tls = yes; then
28307 chktls_save_CFLAGS="$CFLAGS"
28308 thread_CFLAGS=failed
28309 for flag in '' '-pthread' '-lpthread'; do
28310 CFLAGS="$flag $chktls_save_CFLAGS"
28311 if test x$gcc_no_link = xyes; then
28312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28313 fi
28314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28315 /* end confdefs.h. */
28316 #include <pthread.h>
28317 void *g(void *d) { return NULL; }
28318 int
28319 main ()
28320 {
28321 pthread_t t; pthread_create(&t,NULL,g,NULL);
28322 ;
28323 return 0;
28324 }
28325 _ACEOF
28326 if ac_fn_c_try_link "$LINENO"; then :
28327 thread_CFLAGS="$flag"
28328 fi
28329 rm -f core conftest.err conftest.$ac_objext \
28330 conftest$ac_exeext conftest.$ac_ext
28331 if test "X$thread_CFLAGS" != Xfailed; then
28332 break
28333 fi
28334 done
28335 CFLAGS="$chktls_save_CFLAGS"
28336 if test "X$thread_CFLAGS" != Xfailed; then
28337 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28338 if test "$cross_compiling" = yes; then :
28339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28341 as_fn_error $? "cannot run test program while cross compiling
28342 See \`config.log' for more details" "$LINENO" 5; }
28343 else
28344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28345 /* end confdefs.h. */
28346 #include <pthread.h>
28347 __thread int a;
28348 static int *volatile a_in_other_thread;
28349 static void *
28350 thread_func (void *arg)
28351 {
28352 a_in_other_thread = &a;
28353 return (void *)0;
28354 }
28355 int
28356 main ()
28357 {
28358 pthread_t thread;
28359 void *thread_retval;
28360 int *volatile a_in_main_thread;
28361 a_in_main_thread = &a;
28362 if (pthread_create (&thread, (pthread_attr_t *)0,
28363 thread_func, (void *)0))
28364 return 0;
28365 if (pthread_join (thread, &thread_retval))
28366 return 0;
28367 return (a_in_other_thread == a_in_main_thread);
28368 ;
28369 return 0;
28370 }
28371 _ACEOF
28372 if ac_fn_c_try_run "$LINENO"; then :
28373 gcc_cv_have_tls=yes
28374 else
28375 gcc_cv_have_tls=no
28376 fi
28377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28378 conftest.$ac_objext conftest.beam conftest.$ac_ext
28379 fi
28380
28381 CFLAGS="$chktls_save_CFLAGS"
28382 fi
28383 fi
28384 else
28385 gcc_cv_have_tls=no
28386 fi
28387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28388 conftest.$ac_objext conftest.beam conftest.$ac_ext
28389 fi
28390
28391 fi
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28393 $as_echo "$gcc_cv_have_tls" >&6; }
28394 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28395
28396 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28397
28398 fi
28399
28400 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28401 do :
28402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28404 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28407 _ACEOF
28408
28409 fi
28410 done
28411
28412 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28413 do :
28414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28416 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28417 cat >>confdefs.h <<_ACEOF
28418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28419 _ACEOF
28420
28421 fi
28422 done
28423
28424 for ac_func in _wfopen
28425 do :
28426 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28427 if test "x$ac_cv_func__wfopen" = xyes; then :
28428 cat >>confdefs.h <<_ACEOF
28429 #define HAVE__WFOPEN 1
28430 _ACEOF
28431
28432 fi
28433 done
28434
28435
28436 # C11 functions for C++17 library
28437 for ac_func in timespec_get
28438 do :
28439 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28440 if test "x$ac_cv_func_timespec_get" = xyes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE_TIMESPEC_GET 1
28443 _ACEOF
28444
28445 fi
28446 done
28447
28448
28449 # For iconv support.
28450
28451 if test "X$prefix" = "XNONE"; then
28452 acl_final_prefix="$ac_default_prefix"
28453 else
28454 acl_final_prefix="$prefix"
28455 fi
28456 if test "X$exec_prefix" = "XNONE"; then
28457 acl_final_exec_prefix='${prefix}'
28458 else
28459 acl_final_exec_prefix="$exec_prefix"
28460 fi
28461 acl_save_prefix="$prefix"
28462 prefix="$acl_final_prefix"
28463 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28464 prefix="$acl_save_prefix"
28465
28466
28467 # Check whether --with-gnu-ld was given.
28468 if test "${with_gnu_ld+set}" = set; then :
28469 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28470 else
28471 with_gnu_ld=no
28472 fi
28473
28474 # Prepare PATH_SEPARATOR.
28475 # The user is always right.
28476 if test "${PATH_SEPARATOR+set}" != set; then
28477 echo "#! /bin/sh" >conf$$.sh
28478 echo "exit 0" >>conf$$.sh
28479 chmod +x conf$$.sh
28480 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28481 PATH_SEPARATOR=';'
28482 else
28483 PATH_SEPARATOR=:
28484 fi
28485 rm -f conf$$.sh
28486 fi
28487 ac_prog=ld
28488 if test "$GCC" = yes; then
28489 # Check if gcc -print-prog-name=ld gives a path.
28490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28491 $as_echo_n "checking for ld used by GCC... " >&6; }
28492 case $host in
28493 *-*-mingw*)
28494 # gcc leaves a trailing carriage return which upsets mingw
28495 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28496 *)
28497 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28498 esac
28499 case $ac_prog in
28500 # Accept absolute paths.
28501 [\\/]* | [A-Za-z]:[\\/]*)
28502 re_direlt='/[^/][^/]*/\.\./'
28503 # Canonicalize the path of ld
28504 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28505 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28506 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28507 done
28508 test -z "$LD" && LD="$ac_prog"
28509 ;;
28510 "")
28511 # If it fails, then pretend we aren't using GCC.
28512 ac_prog=ld
28513 ;;
28514 *)
28515 # If it is relative, then search for the first ld in PATH.
28516 with_gnu_ld=unknown
28517 ;;
28518 esac
28519 elif test "$with_gnu_ld" = yes; then
28520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28521 $as_echo_n "checking for GNU ld... " >&6; }
28522 else
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28524 $as_echo_n "checking for non-GNU ld... " >&6; }
28525 fi
28526 if ${acl_cv_path_LD+:} false; then :
28527 $as_echo_n "(cached) " >&6
28528 else
28529 if test -z "$LD"; then
28530 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28531 for ac_dir in $PATH; do
28532 test -z "$ac_dir" && ac_dir=.
28533 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28534 acl_cv_path_LD="$ac_dir/$ac_prog"
28535 # Check to see if the program is GNU ld. I'd rather use --version,
28536 # but apparently some GNU ld's only accept -v.
28537 # Break only if it was the GNU/non-GNU ld that we prefer.
28538 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28539 test "$with_gnu_ld" != no && break
28540 else
28541 test "$with_gnu_ld" != yes && break
28542 fi
28543 fi
28544 done
28545 IFS="$ac_save_ifs"
28546 else
28547 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28548 fi
28549 fi
28550
28551 LD="$acl_cv_path_LD"
28552 if test -n "$LD"; then
28553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28554 $as_echo "$LD" >&6; }
28555 else
28556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28557 $as_echo "no" >&6; }
28558 fi
28559 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28561 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28562 if ${acl_cv_prog_gnu_ld+:} false; then :
28563 $as_echo_n "(cached) " >&6
28564 else
28565 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28566 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28567 acl_cv_prog_gnu_ld=yes
28568 else
28569 acl_cv_prog_gnu_ld=no
28570 fi
28571 fi
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28573 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28574 with_gnu_ld=$acl_cv_prog_gnu_ld
28575
28576
28577
28578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28579 $as_echo_n "checking for shared library run path origin... " >&6; }
28580 if ${acl_cv_rpath+:} false; then :
28581 $as_echo_n "(cached) " >&6
28582 else
28583
28584 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28585 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28586 . ./conftest.sh
28587 rm -f ./conftest.sh
28588 acl_cv_rpath=done
28589
28590 fi
28591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28592 $as_echo "$acl_cv_rpath" >&6; }
28593 wl="$acl_cv_wl"
28594 libext="$acl_cv_libext"
28595 shlibext="$acl_cv_shlibext"
28596 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28597 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28598 hardcode_direct="$acl_cv_hardcode_direct"
28599 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28600 # Check whether --enable-rpath was given.
28601 if test "${enable_rpath+set}" = set; then :
28602 enableval=$enable_rpath; :
28603 else
28604 enable_rpath=yes
28605 fi
28606
28607
28608
28609
28610
28611
28612
28613
28614 use_additional=yes
28615
28616 acl_save_prefix="$prefix"
28617 prefix="$acl_final_prefix"
28618 acl_save_exec_prefix="$exec_prefix"
28619 exec_prefix="$acl_final_exec_prefix"
28620
28621 eval additional_includedir=\"$includedir\"
28622 eval additional_libdir=\"$libdir\"
28623
28624 exec_prefix="$acl_save_exec_prefix"
28625 prefix="$acl_save_prefix"
28626
28627
28628 # Check whether --with-libiconv-prefix was given.
28629 if test "${with_libiconv_prefix+set}" = set; then :
28630 withval=$with_libiconv_prefix;
28631 if test "X$withval" = "Xno"; then
28632 use_additional=no
28633 else
28634 if test "X$withval" = "X"; then
28635
28636 acl_save_prefix="$prefix"
28637 prefix="$acl_final_prefix"
28638 acl_save_exec_prefix="$exec_prefix"
28639 exec_prefix="$acl_final_exec_prefix"
28640
28641 eval additional_includedir=\"$includedir\"
28642 eval additional_libdir=\"$libdir\"
28643
28644 exec_prefix="$acl_save_exec_prefix"
28645 prefix="$acl_save_prefix"
28646
28647 else
28648 additional_includedir="$withval/include"
28649 additional_libdir="$withval/lib"
28650 fi
28651 fi
28652
28653 fi
28654
28655 LIBICONV=
28656 LTLIBICONV=
28657 INCICONV=
28658 rpathdirs=
28659 ltrpathdirs=
28660 names_already_handled=
28661 names_next_round='iconv '
28662 while test -n "$names_next_round"; do
28663 names_this_round="$names_next_round"
28664 names_next_round=
28665 for name in $names_this_round; do
28666 already_handled=
28667 for n in $names_already_handled; do
28668 if test "$n" = "$name"; then
28669 already_handled=yes
28670 break
28671 fi
28672 done
28673 if test -z "$already_handled"; then
28674 names_already_handled="$names_already_handled $name"
28675 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28676 eval value=\"\$HAVE_LIB$uppername\"
28677 if test -n "$value"; then
28678 if test "$value" = yes; then
28679 eval value=\"\$LIB$uppername\"
28680 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28681 eval value=\"\$LTLIB$uppername\"
28682 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28683 else
28684 :
28685 fi
28686 else
28687 found_dir=
28688 found_la=
28689 found_so=
28690 found_a=
28691 if test $use_additional = yes; then
28692 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28693 found_dir="$additional_libdir"
28694 found_so="$additional_libdir/lib$name.$shlibext"
28695 if test -f "$additional_libdir/lib$name.la"; then
28696 found_la="$additional_libdir/lib$name.la"
28697 fi
28698 else
28699 if test -f "$additional_libdir/lib$name.$libext"; then
28700 found_dir="$additional_libdir"
28701 found_a="$additional_libdir/lib$name.$libext"
28702 if test -f "$additional_libdir/lib$name.la"; then
28703 found_la="$additional_libdir/lib$name.la"
28704 fi
28705 fi
28706 fi
28707 fi
28708 if test "X$found_dir" = "X"; then
28709 for x in $LDFLAGS $LTLIBICONV; do
28710
28711 acl_save_prefix="$prefix"
28712 prefix="$acl_final_prefix"
28713 acl_save_exec_prefix="$exec_prefix"
28714 exec_prefix="$acl_final_exec_prefix"
28715 eval x=\"$x\"
28716 exec_prefix="$acl_save_exec_prefix"
28717 prefix="$acl_save_prefix"
28718
28719 case "$x" in
28720 -L*)
28721 dir=`echo "X$x" | sed -e 's/^X-L//'`
28722 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28723 found_dir="$dir"
28724 found_so="$dir/lib$name.$shlibext"
28725 if test -f "$dir/lib$name.la"; then
28726 found_la="$dir/lib$name.la"
28727 fi
28728 else
28729 if test -f "$dir/lib$name.$libext"; then
28730 found_dir="$dir"
28731 found_a="$dir/lib$name.$libext"
28732 if test -f "$dir/lib$name.la"; then
28733 found_la="$dir/lib$name.la"
28734 fi
28735 fi
28736 fi
28737 ;;
28738 esac
28739 if test "X$found_dir" != "X"; then
28740 break
28741 fi
28742 done
28743 fi
28744 if test "X$found_dir" != "X"; then
28745 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28746 if test "X$found_so" != "X"; then
28747 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28748 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28749 else
28750 haveit=
28751 for x in $ltrpathdirs; do
28752 if test "X$x" = "X$found_dir"; then
28753 haveit=yes
28754 break
28755 fi
28756 done
28757 if test -z "$haveit"; then
28758 ltrpathdirs="$ltrpathdirs $found_dir"
28759 fi
28760 if test "$hardcode_direct" = yes; then
28761 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28762 else
28763 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28764 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28765 haveit=
28766 for x in $rpathdirs; do
28767 if test "X$x" = "X$found_dir"; then
28768 haveit=yes
28769 break
28770 fi
28771 done
28772 if test -z "$haveit"; then
28773 rpathdirs="$rpathdirs $found_dir"
28774 fi
28775 else
28776 haveit=
28777 for x in $LDFLAGS $LIBICONV; do
28778
28779 acl_save_prefix="$prefix"
28780 prefix="$acl_final_prefix"
28781 acl_save_exec_prefix="$exec_prefix"
28782 exec_prefix="$acl_final_exec_prefix"
28783 eval x=\"$x\"
28784 exec_prefix="$acl_save_exec_prefix"
28785 prefix="$acl_save_prefix"
28786
28787 if test "X$x" = "X-L$found_dir"; then
28788 haveit=yes
28789 break
28790 fi
28791 done
28792 if test -z "$haveit"; then
28793 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28794 fi
28795 if test "$hardcode_minus_L" != no; then
28796 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28797 else
28798 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28799 fi
28800 fi
28801 fi
28802 fi
28803 else
28804 if test "X$found_a" != "X"; then
28805 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28806 else
28807 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28808 fi
28809 fi
28810 additional_includedir=
28811 case "$found_dir" in
28812 */lib | */lib/)
28813 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28814 additional_includedir="$basedir/include"
28815 ;;
28816 esac
28817 if test "X$additional_includedir" != "X"; then
28818 if test "X$additional_includedir" != "X/usr/include"; then
28819 haveit=
28820 if test "X$additional_includedir" = "X/usr/local/include"; then
28821 if test -n "$GCC"; then
28822 case $host_os in
28823 linux*) haveit=yes;;
28824 esac
28825 fi
28826 fi
28827 if test -z "$haveit"; then
28828 for x in $CPPFLAGS $INCICONV; do
28829
28830 acl_save_prefix="$prefix"
28831 prefix="$acl_final_prefix"
28832 acl_save_exec_prefix="$exec_prefix"
28833 exec_prefix="$acl_final_exec_prefix"
28834 eval x=\"$x\"
28835 exec_prefix="$acl_save_exec_prefix"
28836 prefix="$acl_save_prefix"
28837
28838 if test "X$x" = "X-I$additional_includedir"; then
28839 haveit=yes
28840 break
28841 fi
28842 done
28843 if test -z "$haveit"; then
28844 if test -d "$additional_includedir"; then
28845 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28846 fi
28847 fi
28848 fi
28849 fi
28850 fi
28851 if test -n "$found_la"; then
28852 save_libdir="$libdir"
28853 case "$found_la" in
28854 */* | *\\*) . "$found_la" ;;
28855 *) . "./$found_la" ;;
28856 esac
28857 libdir="$save_libdir"
28858 for dep in $dependency_libs; do
28859 case "$dep" in
28860 -L*)
28861 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28862 if test "X$additional_libdir" != "X/usr/lib"; then
28863 haveit=
28864 if test "X$additional_libdir" = "X/usr/local/lib"; then
28865 if test -n "$GCC"; then
28866 case $host_os in
28867 linux*) haveit=yes;;
28868 esac
28869 fi
28870 fi
28871 if test -z "$haveit"; then
28872 haveit=
28873 for x in $LDFLAGS $LIBICONV; do
28874
28875 acl_save_prefix="$prefix"
28876 prefix="$acl_final_prefix"
28877 acl_save_exec_prefix="$exec_prefix"
28878 exec_prefix="$acl_final_exec_prefix"
28879 eval x=\"$x\"
28880 exec_prefix="$acl_save_exec_prefix"
28881 prefix="$acl_save_prefix"
28882
28883 if test "X$x" = "X-L$additional_libdir"; then
28884 haveit=yes
28885 break
28886 fi
28887 done
28888 if test -z "$haveit"; then
28889 if test -d "$additional_libdir"; then
28890 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28891 fi
28892 fi
28893 haveit=
28894 for x in $LDFLAGS $LTLIBICONV; do
28895
28896 acl_save_prefix="$prefix"
28897 prefix="$acl_final_prefix"
28898 acl_save_exec_prefix="$exec_prefix"
28899 exec_prefix="$acl_final_exec_prefix"
28900 eval x=\"$x\"
28901 exec_prefix="$acl_save_exec_prefix"
28902 prefix="$acl_save_prefix"
28903
28904 if test "X$x" = "X-L$additional_libdir"; then
28905 haveit=yes
28906 break
28907 fi
28908 done
28909 if test -z "$haveit"; then
28910 if test -d "$additional_libdir"; then
28911 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28912 fi
28913 fi
28914 fi
28915 fi
28916 ;;
28917 -R*)
28918 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28919 if test "$enable_rpath" != no; then
28920 haveit=
28921 for x in $rpathdirs; do
28922 if test "X$x" = "X$dir"; then
28923 haveit=yes
28924 break
28925 fi
28926 done
28927 if test -z "$haveit"; then
28928 rpathdirs="$rpathdirs $dir"
28929 fi
28930 haveit=
28931 for x in $ltrpathdirs; do
28932 if test "X$x" = "X$dir"; then
28933 haveit=yes
28934 break
28935 fi
28936 done
28937 if test -z "$haveit"; then
28938 ltrpathdirs="$ltrpathdirs $dir"
28939 fi
28940 fi
28941 ;;
28942 -l*)
28943 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28944 ;;
28945 *.la)
28946 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28947 ;;
28948 *)
28949 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28950 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28951 ;;
28952 esac
28953 done
28954 fi
28955 else
28956 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28957 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28958 fi
28959 fi
28960 fi
28961 done
28962 done
28963 if test "X$rpathdirs" != "X"; then
28964 if test -n "$hardcode_libdir_separator"; then
28965 alldirs=
28966 for found_dir in $rpathdirs; do
28967 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28968 done
28969 acl_save_libdir="$libdir"
28970 libdir="$alldirs"
28971 eval flag=\"$hardcode_libdir_flag_spec\"
28972 libdir="$acl_save_libdir"
28973 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28974 else
28975 for found_dir in $rpathdirs; do
28976 acl_save_libdir="$libdir"
28977 libdir="$found_dir"
28978 eval flag=\"$hardcode_libdir_flag_spec\"
28979 libdir="$acl_save_libdir"
28980 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28981 done
28982 fi
28983 fi
28984 if test "X$ltrpathdirs" != "X"; then
28985 for found_dir in $ltrpathdirs; do
28986 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28987 done
28988 fi
28989
28990
28991
28992
28993
28994
28995
28996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28997 $as_echo_n "checking for iconv... " >&6; }
28998 if ${am_cv_func_iconv+:} false; then :
28999 $as_echo_n "(cached) " >&6
29000 else
29001
29002 am_cv_func_iconv="no, consider installing GNU libiconv"
29003 am_cv_lib_iconv=no
29004 am_save_CPPFLAGS="$CPPFLAGS"
29005 CPPFLAGS="$CPPFLAGS $INCICONV"
29006 if test x$gcc_no_link = xyes; then
29007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29008 fi
29009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h. */
29011 #include <stdlib.h>
29012 #include <iconv.h>
29013 int
29014 main ()
29015 {
29016 iconv_t cd = iconv_open("","");
29017 iconv(cd,NULL,NULL,NULL,NULL);
29018 iconv_close(cd);
29019 ;
29020 return 0;
29021 }
29022 _ACEOF
29023 if ac_fn_c_try_link "$LINENO"; then :
29024 am_cv_func_iconv=yes
29025 fi
29026 rm -f core conftest.err conftest.$ac_objext \
29027 conftest$ac_exeext conftest.$ac_ext
29028 CPPFLAGS="$am_save_CPPFLAGS"
29029
29030 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29031 for _libs in .libs _libs; do
29032 am_save_CPPFLAGS="$CPPFLAGS"
29033 am_save_LIBS="$LIBS"
29034 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29035 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29036 if test x$gcc_no_link = xyes; then
29037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29038 fi
29039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29040 /* end confdefs.h. */
29041 #include <stdlib.h>
29042 #include <iconv.h>
29043 int
29044 main ()
29045 {
29046 iconv_t cd = iconv_open("","");
29047 iconv(cd,NULL,NULL,NULL,NULL);
29048 iconv_close(cd);
29049 ;
29050 return 0;
29051 }
29052 _ACEOF
29053 if ac_fn_c_try_link "$LINENO"; then :
29054 INCICONV="-I../libiconv/include"
29055 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29056 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29057 am_cv_lib_iconv=yes
29058 am_cv_func_iconv=yes
29059 fi
29060 rm -f core conftest.err conftest.$ac_objext \
29061 conftest$ac_exeext conftest.$ac_ext
29062 CPPFLAGS="$am_save_CPPFLAGS"
29063 LIBS="$am_save_LIBS"
29064 if test "$am_cv_func_iconv" = "yes"; then
29065 break
29066 fi
29067 done
29068 fi
29069
29070 if test "$am_cv_func_iconv" != yes; then
29071 am_save_CPPFLAGS="$CPPFLAGS"
29072 am_save_LIBS="$LIBS"
29073 CPPFLAGS="$CPPFLAGS $INCICONV"
29074 LIBS="$LIBS $LIBICONV"
29075 if test x$gcc_no_link = xyes; then
29076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29077 fi
29078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29079 /* end confdefs.h. */
29080 #include <stdlib.h>
29081 #include <iconv.h>
29082 int
29083 main ()
29084 {
29085 iconv_t cd = iconv_open("","");
29086 iconv(cd,NULL,NULL,NULL,NULL);
29087 iconv_close(cd);
29088 ;
29089 return 0;
29090 }
29091 _ACEOF
29092 if ac_fn_c_try_link "$LINENO"; then :
29093 am_cv_lib_iconv=yes
29094 am_cv_func_iconv=yes
29095 fi
29096 rm -f core conftest.err conftest.$ac_objext \
29097 conftest$ac_exeext conftest.$ac_ext
29098 CPPFLAGS="$am_save_CPPFLAGS"
29099 LIBS="$am_save_LIBS"
29100 fi
29101
29102 fi
29103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29104 $as_echo "$am_cv_func_iconv" >&6; }
29105 if test "$am_cv_func_iconv" = yes; then
29106
29107 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29108
29109 fi
29110 if test "$am_cv_lib_iconv" = yes; then
29111
29112 for element in $INCICONV; do
29113 haveit=
29114 for x in $CPPFLAGS; do
29115
29116 acl_save_prefix="$prefix"
29117 prefix="$acl_final_prefix"
29118 acl_save_exec_prefix="$exec_prefix"
29119 exec_prefix="$acl_final_exec_prefix"
29120 eval x=\"$x\"
29121 exec_prefix="$acl_save_exec_prefix"
29122 prefix="$acl_save_prefix"
29123
29124 if test "X$x" = "X$element"; then
29125 haveit=yes
29126 break
29127 fi
29128 done
29129 if test -z "$haveit"; then
29130 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29131 fi
29132 done
29133
29134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29135 $as_echo_n "checking how to link with libiconv... " >&6; }
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29137 $as_echo "$LIBICONV" >&6; }
29138 else
29139 LIBICONV=
29140 LTLIBICONV=
29141 fi
29142
29143
29144
29145 if test "$am_cv_func_iconv" = yes; then
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29147 $as_echo_n "checking for iconv declaration... " >&6; }
29148 if ${am_cv_proto_iconv+:} false; then :
29149 $as_echo_n "(cached) " >&6
29150 else
29151
29152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29153 /* end confdefs.h. */
29154
29155 #include <stdlib.h>
29156 #include <iconv.h>
29157 extern
29158 #ifdef __cplusplus
29159 "C"
29160 #endif
29161 #if defined(__STDC__) || defined(__cplusplus)
29162 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29163 #else
29164 size_t iconv();
29165 #endif
29166
29167 int
29168 main ()
29169 {
29170
29171 ;
29172 return 0;
29173 }
29174 _ACEOF
29175 if ac_fn_c_try_compile "$LINENO"; then :
29176 am_cv_proto_iconv_arg1=""
29177 else
29178 am_cv_proto_iconv_arg1="const"
29179 fi
29180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29181 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);"
29182 fi
29183
29184 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29186 }$am_cv_proto_iconv" >&5
29187 $as_echo "${ac_t:-
29188 }$am_cv_proto_iconv" >&6; }
29189
29190 cat >>confdefs.h <<_ACEOF
29191 #define ICONV_CONST $am_cv_proto_iconv_arg1
29192 _ACEOF
29193
29194 fi
29195
29196
29197 else
29198
29199 # This lets us hard-code the functionality we know we'll have in the cross
29200 # target environment. "Let" is a sugar-coated word placed on an especially
29201 # dull and tedious hack, actually.
29202 #
29203 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29204 # that involve linking, can't be used:
29205 # "cannot open sim-crt0.o"
29206 # "cannot open crt0.o"
29207 # etc. All this is because there currently exists no unified, consistent
29208 # way for top level CC information to be passed down to target directories:
29209 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29210 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29211 # crosses can be removed.
29212
29213 # If Canadian cross, then don't pick up tools from the build directory.
29214 # Used only in GLIBCXX_EXPORT_INCLUDES.
29215 if test -n "$with_cross_host" &&
29216 test x"$build_alias" != x"$with_cross_host" &&
29217 test x"$build" != x"$target";
29218 then
29219 CANADIAN=yes
29220 else
29221 CANADIAN=no
29222 fi
29223
29224 # Construct crosses by hand, eliminating bits that need ld...
29225 # GLIBCXX_CHECK_MATH_SUPPORT
29226
29227 # First, test for "known" system libraries. We may be using newlib even
29228 # on a hosted environment.
29229 if test "x${with_newlib}" = "xyes"; then
29230 os_include_dir="os/newlib"
29231 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29232
29233
29234 # GLIBCXX_CHECK_STDLIB_SUPPORT
29235 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29236
29237
29238 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29239
29240 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29241
29242 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29243
29244 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29245
29246 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29247
29248 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29249
29250 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29251
29252 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29253
29254 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29255
29256 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29257
29258 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29259
29260 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29261
29262 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29263
29264 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29265
29266 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29267
29268 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29269
29270 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29271
29272 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29273
29274 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29275
29276 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29277
29278 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29279
29280 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29281
29282
29283 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29284
29285 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29286
29287 else
29288
29289 # Base decisions on target environment.
29290 case "${host}" in
29291 arm*-*-symbianelf*)
29292 # This is a freestanding configuration; there is nothing to do here.
29293 ;;
29294
29295 avr*-*-*)
29296 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29297
29298 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29299
29300 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29301
29302 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29303
29304 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29305
29306 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29307
29308 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29309
29310 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29311
29312 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29313
29314 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29315
29316 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29317
29318 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29319
29320 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29321
29322 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29323
29324 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29325
29326 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29327
29328 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29329
29330 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29331
29332 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29333
29334 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29335
29336 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29337
29338 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29339
29340 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29341
29342 ;;
29343
29344 mips*-sde-elf*)
29345 # These definitions are for the SDE C library rather than newlib.
29346 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29347
29348
29349 # All these tests are for C++; save the language and the compiler flags.
29350 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29351 # found in GLIBCXX_CONFIGURE.
29352
29353 ac_ext=cpp
29354 ac_cpp='$CXXCPP $CPPFLAGS'
29355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29358
29359 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29360 ac_save_CXXFLAGS="$CXXFLAGS"
29361
29362 # Check for -ffunction-sections -fdata-sections
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29364 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29365 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29367 /* end confdefs.h. */
29368 int foo; void bar() { };
29369 int
29370 main ()
29371 {
29372
29373 ;
29374 return 0;
29375 }
29376 _ACEOF
29377 if ac_fn_cxx_try_compile "$LINENO"; then :
29378 ac_fdsections=yes
29379 else
29380 ac_fdsections=no
29381 fi
29382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29383 if test "$ac_test_CXXFLAGS" = set; then
29384 CXXFLAGS="$ac_save_CXXFLAGS"
29385 else
29386 # this is the suspicious part
29387 CXXFLAGS=''
29388 fi
29389 if test x"$ac_fdsections" = x"yes"; then
29390 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29391 fi
29392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29393 $as_echo "$ac_fdsections" >&6; }
29394
29395 ac_ext=c
29396 ac_cpp='$CPP $CPPFLAGS'
29397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29400
29401
29402
29403
29404 # If we're not using GNU ld, then there's no point in even trying these
29405 # tests. Check for that first. We should have already tested for gld
29406 # by now (in libtool), but require it now just to be safe...
29407 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29408 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29409
29410
29411
29412 # The name set by libtool depends on the version of libtool. Shame on us
29413 # for depending on an impl detail, but c'est la vie. Older versions used
29414 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29415 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29416 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29417 # set (hence we're using an older libtool), then set it.
29418 if test x${with_gnu_ld+set} != xset; then
29419 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29420 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29421 with_gnu_ld=no
29422 else
29423 with_gnu_ld=$ac_cv_prog_gnu_ld
29424 fi
29425 fi
29426
29427 # Start by getting the version number. I think the libtool test already
29428 # does some of this, but throws away the result.
29429 glibcxx_ld_is_gold=no
29430 if test x"$with_gnu_ld" = x"yes"; then
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29432 $as_echo_n "checking for ld version... " >&6; }
29433
29434 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29435 glibcxx_ld_is_gold=yes
29436 fi
29437 ldver=`$LD --version 2>/dev/null |
29438 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'`
29439
29440 glibcxx_gnu_ld_version=`echo $ldver | \
29441 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29443 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29444 fi
29445
29446 # Set --gc-sections.
29447 glibcxx_have_gc_sections=no
29448 if test "$glibcxx_ld_is_gold" = "yes"; then
29449 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29450 glibcxx_have_gc_sections=yes
29451 fi
29452 else
29453 glibcxx_gcsections_min_ld=21602
29454 if test x"$with_gnu_ld" = x"yes" &&
29455 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29456 glibcxx_have_gc_sections=yes
29457 fi
29458 fi
29459 if test "$glibcxx_have_gc_sections" = "yes"; then
29460 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29461 # NB: This flag only works reliably after 2.16.1. Configure tests
29462 # for this are difficult, so hard wire a value that should work.
29463
29464 ac_test_CFLAGS="${CFLAGS+set}"
29465 ac_save_CFLAGS="$CFLAGS"
29466 CFLAGS='-Wl,--gc-sections'
29467
29468 # Check for -Wl,--gc-sections
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29470 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29471 if test x$gcc_no_link = xyes; then
29472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29473 fi
29474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29475 /* end confdefs.h. */
29476 int one(void) { return 1; }
29477 int two(void) { return 2; }
29478
29479 int
29480 main ()
29481 {
29482 two();
29483 ;
29484 return 0;
29485 }
29486 _ACEOF
29487 if ac_fn_c_try_link "$LINENO"; then :
29488 ac_gcsections=yes
29489 else
29490 ac_gcsections=no
29491 fi
29492 rm -f core conftest.err conftest.$ac_objext \
29493 conftest$ac_exeext conftest.$ac_ext
29494 if test "$ac_gcsections" = "yes"; then
29495 rm -f conftest.c
29496 touch conftest.c
29497 if $CC -c conftest.c; then
29498 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29499 grep "Warning: gc-sections option ignored" > /dev/null; then
29500 ac_gcsections=no
29501 fi
29502 fi
29503 rm -f conftest.c conftest.o conftest
29504 fi
29505 if test "$ac_gcsections" = "yes"; then
29506 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29507 fi
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29509 $as_echo "$ac_gcsections" >&6; }
29510
29511 if test "$ac_test_CFLAGS" = set; then
29512 CFLAGS="$ac_save_CFLAGS"
29513 else
29514 # this is the suspicious part
29515 CFLAGS=''
29516 fi
29517 fi
29518
29519 # Set -z,relro.
29520 # Note this is only for shared objects.
29521 ac_ld_relro=no
29522 if test x"$with_gnu_ld" = x"yes"; then
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29524 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29525 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29526 if test -n "$cxx_z_relo"; then
29527 OPT_LDFLAGS="-Wl,-z,relro"
29528 ac_ld_relro=yes
29529 fi
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29531 $as_echo "$ac_ld_relro" >&6; }
29532 fi
29533
29534 # Set linker optimization flags.
29535 if test x"$with_gnu_ld" = x"yes"; then
29536 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29537 fi
29538
29539
29540
29541
29542
29543 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29544 ac_save_CXXFLAGS="$CXXFLAGS"
29545 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29546
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29548 $as_echo_n "checking for sin in -lm... " >&6; }
29549 if ${ac_cv_lib_m_sin+:} false; then :
29550 $as_echo_n "(cached) " >&6
29551 else
29552 ac_check_lib_save_LIBS=$LIBS
29553 LIBS="-lm $LIBS"
29554 if test x$gcc_no_link = xyes; then
29555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29556 fi
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559
29560 /* Override any GCC internal prototype to avoid an error.
29561 Use char because int might match the return type of a GCC
29562 builtin and then its argument prototype would still apply. */
29563 #ifdef __cplusplus
29564 extern "C"
29565 #endif
29566 char sin ();
29567 int
29568 main ()
29569 {
29570 return sin ();
29571 ;
29572 return 0;
29573 }
29574 _ACEOF
29575 if ac_fn_c_try_link "$LINENO"; then :
29576 ac_cv_lib_m_sin=yes
29577 else
29578 ac_cv_lib_m_sin=no
29579 fi
29580 rm -f core conftest.err conftest.$ac_objext \
29581 conftest$ac_exeext conftest.$ac_ext
29582 LIBS=$ac_check_lib_save_LIBS
29583 fi
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29585 $as_echo "$ac_cv_lib_m_sin" >&6; }
29586 if test "x$ac_cv_lib_m_sin" = xyes; then :
29587 libm="-lm"
29588 fi
29589
29590 ac_save_LIBS="$LIBS"
29591 LIBS="$LIBS $libm"
29592
29593
29594
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29596 $as_echo_n "checking for isinf declaration... " >&6; }
29597 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29598 if ${glibcxx_cv_func_isinf_use+:} false; then :
29599 $as_echo_n "(cached) " >&6
29600 else
29601
29602
29603 ac_ext=cpp
29604 ac_cpp='$CXXCPP $CPPFLAGS'
29605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608
29609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h. */
29611 #include <math.h>
29612 #ifdef HAVE_IEEEFP_H
29613 #include <ieeefp.h>
29614 #endif
29615
29616 int
29617 main ()
29618 {
29619 isinf(0);
29620 ;
29621 return 0;
29622 }
29623 _ACEOF
29624 if ac_fn_cxx_try_compile "$LINENO"; then :
29625 glibcxx_cv_func_isinf_use=yes
29626 else
29627 glibcxx_cv_func_isinf_use=no
29628 fi
29629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29630 ac_ext=c
29631 ac_cpp='$CPP $CPPFLAGS'
29632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29635
29636
29637 fi
29638
29639 fi
29640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29641 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29642
29643 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29644 for ac_func in isinf
29645 do :
29646 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29647 if test "x$ac_cv_func_isinf" = xyes; then :
29648 cat >>confdefs.h <<_ACEOF
29649 #define HAVE_ISINF 1
29650 _ACEOF
29651
29652 fi
29653 done
29654
29655 else
29656
29657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29658 $as_echo_n "checking for _isinf declaration... " >&6; }
29659 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29660 if ${glibcxx_cv_func__isinf_use+:} false; then :
29661 $as_echo_n "(cached) " >&6
29662 else
29663
29664
29665 ac_ext=cpp
29666 ac_cpp='$CXXCPP $CPPFLAGS'
29667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29670
29671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29672 /* end confdefs.h. */
29673 #include <math.h>
29674 #ifdef HAVE_IEEEFP_H
29675 #include <ieeefp.h>
29676 #endif
29677
29678 int
29679 main ()
29680 {
29681 _isinf(0);
29682 ;
29683 return 0;
29684 }
29685 _ACEOF
29686 if ac_fn_cxx_try_compile "$LINENO"; then :
29687 glibcxx_cv_func__isinf_use=yes
29688 else
29689 glibcxx_cv_func__isinf_use=no
29690 fi
29691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29692 ac_ext=c
29693 ac_cpp='$CPP $CPPFLAGS'
29694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29697
29698
29699 fi
29700
29701 fi
29702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29703 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29704
29705 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29706 for ac_func in _isinf
29707 do :
29708 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29709 if test "x$ac_cv_func__isinf" = xyes; then :
29710 cat >>confdefs.h <<_ACEOF
29711 #define HAVE__ISINF 1
29712 _ACEOF
29713
29714 fi
29715 done
29716
29717 fi
29718 fi
29719
29720
29721
29722
29723
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29725 $as_echo_n "checking for isnan declaration... " >&6; }
29726 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29727 if ${glibcxx_cv_func_isnan_use+:} false; then :
29728 $as_echo_n "(cached) " >&6
29729 else
29730
29731
29732 ac_ext=cpp
29733 ac_cpp='$CXXCPP $CPPFLAGS'
29734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29737
29738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29739 /* end confdefs.h. */
29740 #include <math.h>
29741 #ifdef HAVE_IEEEFP_H
29742 #include <ieeefp.h>
29743 #endif
29744
29745 int
29746 main ()
29747 {
29748 isnan(0);
29749 ;
29750 return 0;
29751 }
29752 _ACEOF
29753 if ac_fn_cxx_try_compile "$LINENO"; then :
29754 glibcxx_cv_func_isnan_use=yes
29755 else
29756 glibcxx_cv_func_isnan_use=no
29757 fi
29758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29759 ac_ext=c
29760 ac_cpp='$CPP $CPPFLAGS'
29761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29764
29765
29766 fi
29767
29768 fi
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29770 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29771
29772 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29773 for ac_func in isnan
29774 do :
29775 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29776 if test "x$ac_cv_func_isnan" = xyes; then :
29777 cat >>confdefs.h <<_ACEOF
29778 #define HAVE_ISNAN 1
29779 _ACEOF
29780
29781 fi
29782 done
29783
29784 else
29785
29786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29787 $as_echo_n "checking for _isnan declaration... " >&6; }
29788 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29789 if ${glibcxx_cv_func__isnan_use+:} false; then :
29790 $as_echo_n "(cached) " >&6
29791 else
29792
29793
29794 ac_ext=cpp
29795 ac_cpp='$CXXCPP $CPPFLAGS'
29796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29799
29800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29801 /* end confdefs.h. */
29802 #include <math.h>
29803 #ifdef HAVE_IEEEFP_H
29804 #include <ieeefp.h>
29805 #endif
29806
29807 int
29808 main ()
29809 {
29810 _isnan(0);
29811 ;
29812 return 0;
29813 }
29814 _ACEOF
29815 if ac_fn_cxx_try_compile "$LINENO"; then :
29816 glibcxx_cv_func__isnan_use=yes
29817 else
29818 glibcxx_cv_func__isnan_use=no
29819 fi
29820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29821 ac_ext=c
29822 ac_cpp='$CPP $CPPFLAGS'
29823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29826
29827
29828 fi
29829
29830 fi
29831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29832 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29833
29834 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29835 for ac_func in _isnan
29836 do :
29837 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29838 if test "x$ac_cv_func__isnan" = xyes; then :
29839 cat >>confdefs.h <<_ACEOF
29840 #define HAVE__ISNAN 1
29841 _ACEOF
29842
29843 fi
29844 done
29845
29846 fi
29847 fi
29848
29849
29850
29851
29852
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29854 $as_echo_n "checking for finite declaration... " >&6; }
29855 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29856 if ${glibcxx_cv_func_finite_use+:} false; then :
29857 $as_echo_n "(cached) " >&6
29858 else
29859
29860
29861 ac_ext=cpp
29862 ac_cpp='$CXXCPP $CPPFLAGS'
29863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29866
29867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29868 /* end confdefs.h. */
29869 #include <math.h>
29870 #ifdef HAVE_IEEEFP_H
29871 #include <ieeefp.h>
29872 #endif
29873
29874 int
29875 main ()
29876 {
29877 finite(0);
29878 ;
29879 return 0;
29880 }
29881 _ACEOF
29882 if ac_fn_cxx_try_compile "$LINENO"; then :
29883 glibcxx_cv_func_finite_use=yes
29884 else
29885 glibcxx_cv_func_finite_use=no
29886 fi
29887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29888 ac_ext=c
29889 ac_cpp='$CPP $CPPFLAGS'
29890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29893
29894
29895 fi
29896
29897 fi
29898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29899 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29900
29901 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29902 for ac_func in finite
29903 do :
29904 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29905 if test "x$ac_cv_func_finite" = xyes; then :
29906 cat >>confdefs.h <<_ACEOF
29907 #define HAVE_FINITE 1
29908 _ACEOF
29909
29910 fi
29911 done
29912
29913 else
29914
29915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29916 $as_echo_n "checking for _finite declaration... " >&6; }
29917 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29918 if ${glibcxx_cv_func__finite_use+:} false; then :
29919 $as_echo_n "(cached) " >&6
29920 else
29921
29922
29923 ac_ext=cpp
29924 ac_cpp='$CXXCPP $CPPFLAGS'
29925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29928
29929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29930 /* end confdefs.h. */
29931 #include <math.h>
29932 #ifdef HAVE_IEEEFP_H
29933 #include <ieeefp.h>
29934 #endif
29935
29936 int
29937 main ()
29938 {
29939 _finite(0);
29940 ;
29941 return 0;
29942 }
29943 _ACEOF
29944 if ac_fn_cxx_try_compile "$LINENO"; then :
29945 glibcxx_cv_func__finite_use=yes
29946 else
29947 glibcxx_cv_func__finite_use=no
29948 fi
29949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29950 ac_ext=c
29951 ac_cpp='$CPP $CPPFLAGS'
29952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29955
29956
29957 fi
29958
29959 fi
29960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29961 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29962
29963 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29964 for ac_func in _finite
29965 do :
29966 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29967 if test "x$ac_cv_func__finite" = xyes; then :
29968 cat >>confdefs.h <<_ACEOF
29969 #define HAVE__FINITE 1
29970 _ACEOF
29971
29972 fi
29973 done
29974
29975 fi
29976 fi
29977
29978
29979
29980
29981
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29983 $as_echo_n "checking for sincos declaration... " >&6; }
29984 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29985 if ${glibcxx_cv_func_sincos_use+:} false; then :
29986 $as_echo_n "(cached) " >&6
29987 else
29988
29989
29990 ac_ext=cpp
29991 ac_cpp='$CXXCPP $CPPFLAGS'
29992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29995
29996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
29998 #include <math.h>
29999 int
30000 main ()
30001 {
30002 sincos(0, 0, 0);
30003 ;
30004 return 0;
30005 }
30006 _ACEOF
30007 if ac_fn_cxx_try_compile "$LINENO"; then :
30008 glibcxx_cv_func_sincos_use=yes
30009 else
30010 glibcxx_cv_func_sincos_use=no
30011 fi
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013 ac_ext=c
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30018
30019
30020 fi
30021
30022 fi
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30024 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30025
30026 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30027 for ac_func in sincos
30028 do :
30029 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30030 if test "x$ac_cv_func_sincos" = xyes; then :
30031 cat >>confdefs.h <<_ACEOF
30032 #define HAVE_SINCOS 1
30033 _ACEOF
30034
30035 fi
30036 done
30037
30038 else
30039
30040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30041 $as_echo_n "checking for _sincos declaration... " >&6; }
30042 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30043 if ${glibcxx_cv_func__sincos_use+:} false; then :
30044 $as_echo_n "(cached) " >&6
30045 else
30046
30047
30048 ac_ext=cpp
30049 ac_cpp='$CXXCPP $CPPFLAGS'
30050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30053
30054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30055 /* end confdefs.h. */
30056 #include <math.h>
30057 int
30058 main ()
30059 {
30060 _sincos(0, 0, 0);
30061 ;
30062 return 0;
30063 }
30064 _ACEOF
30065 if ac_fn_cxx_try_compile "$LINENO"; then :
30066 glibcxx_cv_func__sincos_use=yes
30067 else
30068 glibcxx_cv_func__sincos_use=no
30069 fi
30070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30071 ac_ext=c
30072 ac_cpp='$CPP $CPPFLAGS'
30073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30076
30077
30078 fi
30079
30080 fi
30081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30082 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30083
30084 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30085 for ac_func in _sincos
30086 do :
30087 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30088 if test "x$ac_cv_func__sincos" = xyes; then :
30089 cat >>confdefs.h <<_ACEOF
30090 #define HAVE__SINCOS 1
30091 _ACEOF
30092
30093 fi
30094 done
30095
30096 fi
30097 fi
30098
30099
30100
30101
30102
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30104 $as_echo_n "checking for fpclass declaration... " >&6; }
30105 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30106 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30107 $as_echo_n "(cached) " >&6
30108 else
30109
30110
30111 ac_ext=cpp
30112 ac_cpp='$CXXCPP $CPPFLAGS'
30113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30116
30117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30118 /* end confdefs.h. */
30119 #include <math.h>
30120 #ifdef HAVE_IEEEFP_H
30121 #include <ieeefp.h>
30122 #endif
30123
30124 int
30125 main ()
30126 {
30127 fpclass(0);
30128 ;
30129 return 0;
30130 }
30131 _ACEOF
30132 if ac_fn_cxx_try_compile "$LINENO"; then :
30133 glibcxx_cv_func_fpclass_use=yes
30134 else
30135 glibcxx_cv_func_fpclass_use=no
30136 fi
30137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30138 ac_ext=c
30139 ac_cpp='$CPP $CPPFLAGS'
30140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30143
30144
30145 fi
30146
30147 fi
30148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30149 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30150
30151 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30152 for ac_func in fpclass
30153 do :
30154 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30155 if test "x$ac_cv_func_fpclass" = xyes; then :
30156 cat >>confdefs.h <<_ACEOF
30157 #define HAVE_FPCLASS 1
30158 _ACEOF
30159
30160 fi
30161 done
30162
30163 else
30164
30165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30166 $as_echo_n "checking for _fpclass declaration... " >&6; }
30167 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30168 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30169 $as_echo_n "(cached) " >&6
30170 else
30171
30172
30173 ac_ext=cpp
30174 ac_cpp='$CXXCPP $CPPFLAGS'
30175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30178
30179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h. */
30181 #include <math.h>
30182 #ifdef HAVE_IEEEFP_H
30183 #include <ieeefp.h>
30184 #endif
30185
30186 int
30187 main ()
30188 {
30189 _fpclass(0);
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 if ac_fn_cxx_try_compile "$LINENO"; then :
30195 glibcxx_cv_func__fpclass_use=yes
30196 else
30197 glibcxx_cv_func__fpclass_use=no
30198 fi
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30200 ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205
30206
30207 fi
30208
30209 fi
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30211 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30212
30213 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30214 for ac_func in _fpclass
30215 do :
30216 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30217 if test "x$ac_cv_func__fpclass" = xyes; then :
30218 cat >>confdefs.h <<_ACEOF
30219 #define HAVE__FPCLASS 1
30220 _ACEOF
30221
30222 fi
30223 done
30224
30225 fi
30226 fi
30227
30228
30229
30230
30231
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30233 $as_echo_n "checking for qfpclass declaration... " >&6; }
30234 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30235 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30236 $as_echo_n "(cached) " >&6
30237 else
30238
30239
30240 ac_ext=cpp
30241 ac_cpp='$CXXCPP $CPPFLAGS'
30242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30245
30246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30247 /* end confdefs.h. */
30248 #include <math.h>
30249 #ifdef HAVE_IEEEFP_H
30250 #include <ieeefp.h>
30251 #endif
30252
30253 int
30254 main ()
30255 {
30256 qfpclass(0);
30257 ;
30258 return 0;
30259 }
30260 _ACEOF
30261 if ac_fn_cxx_try_compile "$LINENO"; then :
30262 glibcxx_cv_func_qfpclass_use=yes
30263 else
30264 glibcxx_cv_func_qfpclass_use=no
30265 fi
30266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30267 ac_ext=c
30268 ac_cpp='$CPP $CPPFLAGS'
30269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30272
30273
30274 fi
30275
30276 fi
30277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30278 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30279
30280 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30281 for ac_func in qfpclass
30282 do :
30283 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30284 if test "x$ac_cv_func_qfpclass" = xyes; then :
30285 cat >>confdefs.h <<_ACEOF
30286 #define HAVE_QFPCLASS 1
30287 _ACEOF
30288
30289 fi
30290 done
30291
30292 else
30293
30294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30295 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30296 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30297 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30298 $as_echo_n "(cached) " >&6
30299 else
30300
30301
30302 ac_ext=cpp
30303 ac_cpp='$CXXCPP $CPPFLAGS'
30304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30307
30308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30309 /* end confdefs.h. */
30310 #include <math.h>
30311 #ifdef HAVE_IEEEFP_H
30312 #include <ieeefp.h>
30313 #endif
30314
30315 int
30316 main ()
30317 {
30318 _qfpclass(0);
30319 ;
30320 return 0;
30321 }
30322 _ACEOF
30323 if ac_fn_cxx_try_compile "$LINENO"; then :
30324 glibcxx_cv_func__qfpclass_use=yes
30325 else
30326 glibcxx_cv_func__qfpclass_use=no
30327 fi
30328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30329 ac_ext=c
30330 ac_cpp='$CPP $CPPFLAGS'
30331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30334
30335
30336 fi
30337
30338 fi
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30340 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30341
30342 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30343 for ac_func in _qfpclass
30344 do :
30345 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30346 if test "x$ac_cv_func__qfpclass" = xyes; then :
30347 cat >>confdefs.h <<_ACEOF
30348 #define HAVE__QFPCLASS 1
30349 _ACEOF
30350
30351 fi
30352 done
30353
30354 fi
30355 fi
30356
30357
30358
30359
30360
30361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30362 $as_echo_n "checking for hypot declaration... " >&6; }
30363 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30364 if ${glibcxx_cv_func_hypot_use+:} false; then :
30365 $as_echo_n "(cached) " >&6
30366 else
30367
30368
30369 ac_ext=cpp
30370 ac_cpp='$CXXCPP $CPPFLAGS'
30371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30374
30375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30376 /* end confdefs.h. */
30377 #include <math.h>
30378 int
30379 main ()
30380 {
30381 hypot(0, 0);
30382 ;
30383 return 0;
30384 }
30385 _ACEOF
30386 if ac_fn_cxx_try_compile "$LINENO"; then :
30387 glibcxx_cv_func_hypot_use=yes
30388 else
30389 glibcxx_cv_func_hypot_use=no
30390 fi
30391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30392 ac_ext=c
30393 ac_cpp='$CPP $CPPFLAGS'
30394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397
30398
30399 fi
30400
30401 fi
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30403 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30404
30405 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30406 for ac_func in hypot
30407 do :
30408 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30409 if test "x$ac_cv_func_hypot" = xyes; then :
30410 cat >>confdefs.h <<_ACEOF
30411 #define HAVE_HYPOT 1
30412 _ACEOF
30413
30414 fi
30415 done
30416
30417 else
30418
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30420 $as_echo_n "checking for _hypot declaration... " >&6; }
30421 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30422 if ${glibcxx_cv_func__hypot_use+:} false; then :
30423 $as_echo_n "(cached) " >&6
30424 else
30425
30426
30427 ac_ext=cpp
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30432
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <math.h>
30436 int
30437 main ()
30438 {
30439 _hypot(0, 0);
30440 ;
30441 return 0;
30442 }
30443 _ACEOF
30444 if ac_fn_cxx_try_compile "$LINENO"; then :
30445 glibcxx_cv_func__hypot_use=yes
30446 else
30447 glibcxx_cv_func__hypot_use=no
30448 fi
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30450 ac_ext=c
30451 ac_cpp='$CPP $CPPFLAGS'
30452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30455
30456
30457 fi
30458
30459 fi
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30461 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30462
30463 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30464 for ac_func in _hypot
30465 do :
30466 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30467 if test "x$ac_cv_func__hypot" = xyes; then :
30468 cat >>confdefs.h <<_ACEOF
30469 #define HAVE__HYPOT 1
30470 _ACEOF
30471
30472 fi
30473 done
30474
30475 fi
30476 fi
30477
30478
30479
30480
30481
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30483 $as_echo_n "checking for float trig functions... " >&6; }
30484 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30485 $as_echo_n "(cached) " >&6
30486 else
30487
30488
30489 ac_ext=cpp
30490 ac_cpp='$CXXCPP $CPPFLAGS'
30491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30494
30495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30496 /* end confdefs.h. */
30497 #include <math.h>
30498 int
30499 main ()
30500 {
30501 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 if ac_fn_cxx_try_compile "$LINENO"; then :
30507 glibcxx_cv_func_float_trig_use=yes
30508 else
30509 glibcxx_cv_func_float_trig_use=no
30510 fi
30511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30512 ac_ext=c
30513 ac_cpp='$CPP $CPPFLAGS'
30514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30517
30518 fi
30519
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30521 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30522 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30523 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30524 do :
30525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30528 cat >>confdefs.h <<_ACEOF
30529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30530 _ACEOF
30531
30532 fi
30533 done
30534
30535 else
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30537 $as_echo_n "checking for _float trig functions... " >&6; }
30538 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30539 $as_echo_n "(cached) " >&6
30540 else
30541
30542
30543 ac_ext=cpp
30544 ac_cpp='$CXXCPP $CPPFLAGS'
30545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30548
30549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30550 /* end confdefs.h. */
30551 #include <math.h>
30552 int
30553 main ()
30554 {
30555 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30556 ;
30557 return 0;
30558 }
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func__float_trig_use=yes
30562 else
30563 glibcxx_cv_func__float_trig_use=no
30564 fi
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571
30572 fi
30573
30574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30575 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30576 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30577 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30578 do :
30579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30582 cat >>confdefs.h <<_ACEOF
30583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30584 _ACEOF
30585
30586 fi
30587 done
30588
30589 fi
30590 fi
30591
30592
30593
30594
30595
30596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30597 $as_echo_n "checking for float round functions... " >&6; }
30598 if ${glibcxx_cv_func_float_round_use+:} false; then :
30599 $as_echo_n "(cached) " >&6
30600 else
30601
30602
30603 ac_ext=cpp
30604 ac_cpp='$CXXCPP $CPPFLAGS'
30605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30608
30609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30610 /* end confdefs.h. */
30611 #include <math.h>
30612 int
30613 main ()
30614 {
30615 ceilf (0); floorf (0);
30616 ;
30617 return 0;
30618 }
30619 _ACEOF
30620 if ac_fn_cxx_try_compile "$LINENO"; then :
30621 glibcxx_cv_func_float_round_use=yes
30622 else
30623 glibcxx_cv_func_float_round_use=no
30624 fi
30625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30626 ac_ext=c
30627 ac_cpp='$CPP $CPPFLAGS'
30628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30631
30632 fi
30633
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30635 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30636 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30637 for ac_func in ceilf floorf
30638 do :
30639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30642 cat >>confdefs.h <<_ACEOF
30643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30644 _ACEOF
30645
30646 fi
30647 done
30648
30649 else
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30651 $as_echo_n "checking for _float round functions... " >&6; }
30652 if ${glibcxx_cv_func__float_round_use+:} false; then :
30653 $as_echo_n "(cached) " >&6
30654 else
30655
30656
30657 ac_ext=cpp
30658 ac_cpp='$CXXCPP $CPPFLAGS'
30659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662
30663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30664 /* end confdefs.h. */
30665 #include <math.h>
30666 int
30667 main ()
30668 {
30669 _ceilf (0); _floorf (0);
30670 ;
30671 return 0;
30672 }
30673 _ACEOF
30674 if ac_fn_cxx_try_compile "$LINENO"; then :
30675 glibcxx_cv_func__float_round_use=yes
30676 else
30677 glibcxx_cv_func__float_round_use=no
30678 fi
30679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30680 ac_ext=c
30681 ac_cpp='$CPP $CPPFLAGS'
30682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685
30686 fi
30687
30688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30689 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30690 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30691 for ac_func in _ceilf _floorf
30692 do :
30693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30695 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30696 cat >>confdefs.h <<_ACEOF
30697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30698 _ACEOF
30699
30700 fi
30701 done
30702
30703 fi
30704 fi
30705
30706
30707
30708
30709
30710
30711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30712 $as_echo_n "checking for expf declaration... " >&6; }
30713 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30714 if ${glibcxx_cv_func_expf_use+:} false; then :
30715 $as_echo_n "(cached) " >&6
30716 else
30717
30718
30719 ac_ext=cpp
30720 ac_cpp='$CXXCPP $CPPFLAGS'
30721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30724
30725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30726 /* end confdefs.h. */
30727 #include <math.h>
30728 #ifdef HAVE_IEEEFP_H
30729 #include <ieeefp.h>
30730 #endif
30731
30732 int
30733 main ()
30734 {
30735 expf(0);
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 if ac_fn_cxx_try_compile "$LINENO"; then :
30741 glibcxx_cv_func_expf_use=yes
30742 else
30743 glibcxx_cv_func_expf_use=no
30744 fi
30745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746 ac_ext=c
30747 ac_cpp='$CPP $CPPFLAGS'
30748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751
30752
30753 fi
30754
30755 fi
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30757 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30758
30759 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30760 for ac_func in expf
30761 do :
30762 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30763 if test "x$ac_cv_func_expf" = xyes; then :
30764 cat >>confdefs.h <<_ACEOF
30765 #define HAVE_EXPF 1
30766 _ACEOF
30767
30768 fi
30769 done
30770
30771 else
30772
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30774 $as_echo_n "checking for _expf declaration... " >&6; }
30775 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30776 if ${glibcxx_cv_func__expf_use+:} false; then :
30777 $as_echo_n "(cached) " >&6
30778 else
30779
30780
30781 ac_ext=cpp
30782 ac_cpp='$CXXCPP $CPPFLAGS'
30783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30786
30787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788 /* end confdefs.h. */
30789 #include <math.h>
30790 #ifdef HAVE_IEEEFP_H
30791 #include <ieeefp.h>
30792 #endif
30793
30794 int
30795 main ()
30796 {
30797 _expf(0);
30798 ;
30799 return 0;
30800 }
30801 _ACEOF
30802 if ac_fn_cxx_try_compile "$LINENO"; then :
30803 glibcxx_cv_func__expf_use=yes
30804 else
30805 glibcxx_cv_func__expf_use=no
30806 fi
30807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30808 ac_ext=c
30809 ac_cpp='$CPP $CPPFLAGS'
30810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30813
30814
30815 fi
30816
30817 fi
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30819 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30820
30821 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30822 for ac_func in _expf
30823 do :
30824 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30825 if test "x$ac_cv_func__expf" = xyes; then :
30826 cat >>confdefs.h <<_ACEOF
30827 #define HAVE__EXPF 1
30828 _ACEOF
30829
30830 fi
30831 done
30832
30833 fi
30834 fi
30835
30836
30837
30838
30839
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30841 $as_echo_n "checking for isnanf declaration... " >&6; }
30842 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30843 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30844 $as_echo_n "(cached) " >&6
30845 else
30846
30847
30848 ac_ext=cpp
30849 ac_cpp='$CXXCPP $CPPFLAGS'
30850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30853
30854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30855 /* end confdefs.h. */
30856 #include <math.h>
30857 #ifdef HAVE_IEEEFP_H
30858 #include <ieeefp.h>
30859 #endif
30860
30861 int
30862 main ()
30863 {
30864 isnanf(0);
30865 ;
30866 return 0;
30867 }
30868 _ACEOF
30869 if ac_fn_cxx_try_compile "$LINENO"; then :
30870 glibcxx_cv_func_isnanf_use=yes
30871 else
30872 glibcxx_cv_func_isnanf_use=no
30873 fi
30874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30875 ac_ext=c
30876 ac_cpp='$CPP $CPPFLAGS'
30877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30880
30881
30882 fi
30883
30884 fi
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30886 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30887
30888 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30889 for ac_func in isnanf
30890 do :
30891 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30892 if test "x$ac_cv_func_isnanf" = xyes; then :
30893 cat >>confdefs.h <<_ACEOF
30894 #define HAVE_ISNANF 1
30895 _ACEOF
30896
30897 fi
30898 done
30899
30900 else
30901
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30903 $as_echo_n "checking for _isnanf declaration... " >&6; }
30904 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30905 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30906 $as_echo_n "(cached) " >&6
30907 else
30908
30909
30910 ac_ext=cpp
30911 ac_cpp='$CXXCPP $CPPFLAGS'
30912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30915
30916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30917 /* end confdefs.h. */
30918 #include <math.h>
30919 #ifdef HAVE_IEEEFP_H
30920 #include <ieeefp.h>
30921 #endif
30922
30923 int
30924 main ()
30925 {
30926 _isnanf(0);
30927 ;
30928 return 0;
30929 }
30930 _ACEOF
30931 if ac_fn_cxx_try_compile "$LINENO"; then :
30932 glibcxx_cv_func__isnanf_use=yes
30933 else
30934 glibcxx_cv_func__isnanf_use=no
30935 fi
30936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30937 ac_ext=c
30938 ac_cpp='$CPP $CPPFLAGS'
30939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30942
30943
30944 fi
30945
30946 fi
30947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30948 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30949
30950 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30951 for ac_func in _isnanf
30952 do :
30953 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30954 if test "x$ac_cv_func__isnanf" = xyes; then :
30955 cat >>confdefs.h <<_ACEOF
30956 #define HAVE__ISNANF 1
30957 _ACEOF
30958
30959 fi
30960 done
30961
30962 fi
30963 fi
30964
30965
30966
30967
30968
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30970 $as_echo_n "checking for isinff declaration... " >&6; }
30971 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30972 if ${glibcxx_cv_func_isinff_use+:} false; then :
30973 $as_echo_n "(cached) " >&6
30974 else
30975
30976
30977 ac_ext=cpp
30978 ac_cpp='$CXXCPP $CPPFLAGS'
30979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30982
30983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30984 /* end confdefs.h. */
30985 #include <math.h>
30986 #ifdef HAVE_IEEEFP_H
30987 #include <ieeefp.h>
30988 #endif
30989
30990 int
30991 main ()
30992 {
30993 isinff(0);
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 if ac_fn_cxx_try_compile "$LINENO"; then :
30999 glibcxx_cv_func_isinff_use=yes
31000 else
31001 glibcxx_cv_func_isinff_use=no
31002 fi
31003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31004 ac_ext=c
31005 ac_cpp='$CPP $CPPFLAGS'
31006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31009
31010
31011 fi
31012
31013 fi
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31015 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31016
31017 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31018 for ac_func in isinff
31019 do :
31020 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31021 if test "x$ac_cv_func_isinff" = xyes; then :
31022 cat >>confdefs.h <<_ACEOF
31023 #define HAVE_ISINFF 1
31024 _ACEOF
31025
31026 fi
31027 done
31028
31029 else
31030
31031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31032 $as_echo_n "checking for _isinff declaration... " >&6; }
31033 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31034 if ${glibcxx_cv_func__isinff_use+:} false; then :
31035 $as_echo_n "(cached) " >&6
31036 else
31037
31038
31039 ac_ext=cpp
31040 ac_cpp='$CXXCPP $CPPFLAGS'
31041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31044
31045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31046 /* end confdefs.h. */
31047 #include <math.h>
31048 #ifdef HAVE_IEEEFP_H
31049 #include <ieeefp.h>
31050 #endif
31051
31052 int
31053 main ()
31054 {
31055 _isinff(0);
31056 ;
31057 return 0;
31058 }
31059 _ACEOF
31060 if ac_fn_cxx_try_compile "$LINENO"; then :
31061 glibcxx_cv_func__isinff_use=yes
31062 else
31063 glibcxx_cv_func__isinff_use=no
31064 fi
31065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31066 ac_ext=c
31067 ac_cpp='$CPP $CPPFLAGS'
31068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31071
31072
31073 fi
31074
31075 fi
31076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31077 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31078
31079 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31080 for ac_func in _isinff
31081 do :
31082 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31083 if test "x$ac_cv_func__isinff" = xyes; then :
31084 cat >>confdefs.h <<_ACEOF
31085 #define HAVE__ISINFF 1
31086 _ACEOF
31087
31088 fi
31089 done
31090
31091 fi
31092 fi
31093
31094
31095
31096
31097
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31099 $as_echo_n "checking for atan2f declaration... " >&6; }
31100 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31101 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31102 $as_echo_n "(cached) " >&6
31103 else
31104
31105
31106 ac_ext=cpp
31107 ac_cpp='$CXXCPP $CPPFLAGS'
31108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31111
31112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31113 /* end confdefs.h. */
31114 #include <math.h>
31115 int
31116 main ()
31117 {
31118 atan2f(0, 0);
31119 ;
31120 return 0;
31121 }
31122 _ACEOF
31123 if ac_fn_cxx_try_compile "$LINENO"; then :
31124 glibcxx_cv_func_atan2f_use=yes
31125 else
31126 glibcxx_cv_func_atan2f_use=no
31127 fi
31128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31129 ac_ext=c
31130 ac_cpp='$CPP $CPPFLAGS'
31131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31134
31135
31136 fi
31137
31138 fi
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31140 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31141
31142 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31143 for ac_func in atan2f
31144 do :
31145 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31146 if test "x$ac_cv_func_atan2f" = xyes; then :
31147 cat >>confdefs.h <<_ACEOF
31148 #define HAVE_ATAN2F 1
31149 _ACEOF
31150
31151 fi
31152 done
31153
31154 else
31155
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31157 $as_echo_n "checking for _atan2f declaration... " >&6; }
31158 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31159 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31160 $as_echo_n "(cached) " >&6
31161 else
31162
31163
31164 ac_ext=cpp
31165 ac_cpp='$CXXCPP $CPPFLAGS'
31166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31169
31170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31171 /* end confdefs.h. */
31172 #include <math.h>
31173 int
31174 main ()
31175 {
31176 _atan2f(0, 0);
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 if ac_fn_cxx_try_compile "$LINENO"; then :
31182 glibcxx_cv_func__atan2f_use=yes
31183 else
31184 glibcxx_cv_func__atan2f_use=no
31185 fi
31186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31187 ac_ext=c
31188 ac_cpp='$CPP $CPPFLAGS'
31189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31192
31193
31194 fi
31195
31196 fi
31197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31198 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31199
31200 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31201 for ac_func in _atan2f
31202 do :
31203 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31204 if test "x$ac_cv_func__atan2f" = xyes; then :
31205 cat >>confdefs.h <<_ACEOF
31206 #define HAVE__ATAN2F 1
31207 _ACEOF
31208
31209 fi
31210 done
31211
31212 fi
31213 fi
31214
31215
31216
31217
31218
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31220 $as_echo_n "checking for fabsf declaration... " >&6; }
31221 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31222 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31223 $as_echo_n "(cached) " >&6
31224 else
31225
31226
31227 ac_ext=cpp
31228 ac_cpp='$CXXCPP $CPPFLAGS'
31229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31232
31233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31234 /* end confdefs.h. */
31235 #include <math.h>
31236 #ifdef HAVE_IEEEFP_H
31237 #include <ieeefp.h>
31238 #endif
31239
31240 int
31241 main ()
31242 {
31243 fabsf(0);
31244 ;
31245 return 0;
31246 }
31247 _ACEOF
31248 if ac_fn_cxx_try_compile "$LINENO"; then :
31249 glibcxx_cv_func_fabsf_use=yes
31250 else
31251 glibcxx_cv_func_fabsf_use=no
31252 fi
31253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31254 ac_ext=c
31255 ac_cpp='$CPP $CPPFLAGS'
31256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31259
31260
31261 fi
31262
31263 fi
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31265 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31266
31267 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31268 for ac_func in fabsf
31269 do :
31270 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31271 if test "x$ac_cv_func_fabsf" = xyes; then :
31272 cat >>confdefs.h <<_ACEOF
31273 #define HAVE_FABSF 1
31274 _ACEOF
31275
31276 fi
31277 done
31278
31279 else
31280
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31282 $as_echo_n "checking for _fabsf declaration... " >&6; }
31283 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31284 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31285 $as_echo_n "(cached) " >&6
31286 else
31287
31288
31289 ac_ext=cpp
31290 ac_cpp='$CXXCPP $CPPFLAGS'
31291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294
31295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31296 /* end confdefs.h. */
31297 #include <math.h>
31298 #ifdef HAVE_IEEEFP_H
31299 #include <ieeefp.h>
31300 #endif
31301
31302 int
31303 main ()
31304 {
31305 _fabsf(0);
31306 ;
31307 return 0;
31308 }
31309 _ACEOF
31310 if ac_fn_cxx_try_compile "$LINENO"; then :
31311 glibcxx_cv_func__fabsf_use=yes
31312 else
31313 glibcxx_cv_func__fabsf_use=no
31314 fi
31315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31316 ac_ext=c
31317 ac_cpp='$CPP $CPPFLAGS'
31318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31321
31322
31323 fi
31324
31325 fi
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31327 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31328
31329 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31330 for ac_func in _fabsf
31331 do :
31332 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31333 if test "x$ac_cv_func__fabsf" = xyes; then :
31334 cat >>confdefs.h <<_ACEOF
31335 #define HAVE__FABSF 1
31336 _ACEOF
31337
31338 fi
31339 done
31340
31341 fi
31342 fi
31343
31344
31345
31346
31347
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31349 $as_echo_n "checking for fmodf declaration... " >&6; }
31350 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31351 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31352 $as_echo_n "(cached) " >&6
31353 else
31354
31355
31356 ac_ext=cpp
31357 ac_cpp='$CXXCPP $CPPFLAGS'
31358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361
31362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31363 /* end confdefs.h. */
31364 #include <math.h>
31365 int
31366 main ()
31367 {
31368 fmodf(0, 0);
31369 ;
31370 return 0;
31371 }
31372 _ACEOF
31373 if ac_fn_cxx_try_compile "$LINENO"; then :
31374 glibcxx_cv_func_fmodf_use=yes
31375 else
31376 glibcxx_cv_func_fmodf_use=no
31377 fi
31378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31379 ac_ext=c
31380 ac_cpp='$CPP $CPPFLAGS'
31381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31384
31385
31386 fi
31387
31388 fi
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31390 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31391
31392 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31393 for ac_func in fmodf
31394 do :
31395 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31396 if test "x$ac_cv_func_fmodf" = xyes; then :
31397 cat >>confdefs.h <<_ACEOF
31398 #define HAVE_FMODF 1
31399 _ACEOF
31400
31401 fi
31402 done
31403
31404 else
31405
31406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31407 $as_echo_n "checking for _fmodf declaration... " >&6; }
31408 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31409 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31410 $as_echo_n "(cached) " >&6
31411 else
31412
31413
31414 ac_ext=cpp
31415 ac_cpp='$CXXCPP $CPPFLAGS'
31416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419
31420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31421 /* end confdefs.h. */
31422 #include <math.h>
31423 int
31424 main ()
31425 {
31426 _fmodf(0, 0);
31427 ;
31428 return 0;
31429 }
31430 _ACEOF
31431 if ac_fn_cxx_try_compile "$LINENO"; then :
31432 glibcxx_cv_func__fmodf_use=yes
31433 else
31434 glibcxx_cv_func__fmodf_use=no
31435 fi
31436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31437 ac_ext=c
31438 ac_cpp='$CPP $CPPFLAGS'
31439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31442
31443
31444 fi
31445
31446 fi
31447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31448 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31449
31450 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31451 for ac_func in _fmodf
31452 do :
31453 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31454 if test "x$ac_cv_func__fmodf" = xyes; then :
31455 cat >>confdefs.h <<_ACEOF
31456 #define HAVE__FMODF 1
31457 _ACEOF
31458
31459 fi
31460 done
31461
31462 fi
31463 fi
31464
31465
31466
31467
31468
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31470 $as_echo_n "checking for frexpf declaration... " >&6; }
31471 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31472 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31473 $as_echo_n "(cached) " >&6
31474 else
31475
31476
31477 ac_ext=cpp
31478 ac_cpp='$CXXCPP $CPPFLAGS'
31479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31482
31483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31484 /* end confdefs.h. */
31485 #include <math.h>
31486 int
31487 main ()
31488 {
31489 frexpf(0, 0);
31490 ;
31491 return 0;
31492 }
31493 _ACEOF
31494 if ac_fn_cxx_try_compile "$LINENO"; then :
31495 glibcxx_cv_func_frexpf_use=yes
31496 else
31497 glibcxx_cv_func_frexpf_use=no
31498 fi
31499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31500 ac_ext=c
31501 ac_cpp='$CPP $CPPFLAGS'
31502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31505
31506
31507 fi
31508
31509 fi
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31511 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31512
31513 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31514 for ac_func in frexpf
31515 do :
31516 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31517 if test "x$ac_cv_func_frexpf" = xyes; then :
31518 cat >>confdefs.h <<_ACEOF
31519 #define HAVE_FREXPF 1
31520 _ACEOF
31521
31522 fi
31523 done
31524
31525 else
31526
31527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31528 $as_echo_n "checking for _frexpf declaration... " >&6; }
31529 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31530 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31531 $as_echo_n "(cached) " >&6
31532 else
31533
31534
31535 ac_ext=cpp
31536 ac_cpp='$CXXCPP $CPPFLAGS'
31537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31540
31541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31542 /* end confdefs.h. */
31543 #include <math.h>
31544 int
31545 main ()
31546 {
31547 _frexpf(0, 0);
31548 ;
31549 return 0;
31550 }
31551 _ACEOF
31552 if ac_fn_cxx_try_compile "$LINENO"; then :
31553 glibcxx_cv_func__frexpf_use=yes
31554 else
31555 glibcxx_cv_func__frexpf_use=no
31556 fi
31557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31558 ac_ext=c
31559 ac_cpp='$CPP $CPPFLAGS'
31560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31563
31564
31565 fi
31566
31567 fi
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31569 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31570
31571 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31572 for ac_func in _frexpf
31573 do :
31574 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31575 if test "x$ac_cv_func__frexpf" = xyes; then :
31576 cat >>confdefs.h <<_ACEOF
31577 #define HAVE__FREXPF 1
31578 _ACEOF
31579
31580 fi
31581 done
31582
31583 fi
31584 fi
31585
31586
31587
31588
31589
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31591 $as_echo_n "checking for hypotf declaration... " >&6; }
31592 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31593 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31594 $as_echo_n "(cached) " >&6
31595 else
31596
31597
31598 ac_ext=cpp
31599 ac_cpp='$CXXCPP $CPPFLAGS'
31600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31603
31604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31605 /* end confdefs.h. */
31606 #include <math.h>
31607 int
31608 main ()
31609 {
31610 hypotf(0, 0);
31611 ;
31612 return 0;
31613 }
31614 _ACEOF
31615 if ac_fn_cxx_try_compile "$LINENO"; then :
31616 glibcxx_cv_func_hypotf_use=yes
31617 else
31618 glibcxx_cv_func_hypotf_use=no
31619 fi
31620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31621 ac_ext=c
31622 ac_cpp='$CPP $CPPFLAGS'
31623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31626
31627
31628 fi
31629
31630 fi
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31632 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31633
31634 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31635 for ac_func in hypotf
31636 do :
31637 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31638 if test "x$ac_cv_func_hypotf" = xyes; then :
31639 cat >>confdefs.h <<_ACEOF
31640 #define HAVE_HYPOTF 1
31641 _ACEOF
31642
31643 fi
31644 done
31645
31646 else
31647
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31649 $as_echo_n "checking for _hypotf declaration... " >&6; }
31650 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31651 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31652 $as_echo_n "(cached) " >&6
31653 else
31654
31655
31656 ac_ext=cpp
31657 ac_cpp='$CXXCPP $CPPFLAGS'
31658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31661
31662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31663 /* end confdefs.h. */
31664 #include <math.h>
31665 int
31666 main ()
31667 {
31668 _hypotf(0, 0);
31669 ;
31670 return 0;
31671 }
31672 _ACEOF
31673 if ac_fn_cxx_try_compile "$LINENO"; then :
31674 glibcxx_cv_func__hypotf_use=yes
31675 else
31676 glibcxx_cv_func__hypotf_use=no
31677 fi
31678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31679 ac_ext=c
31680 ac_cpp='$CPP $CPPFLAGS'
31681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31684
31685
31686 fi
31687
31688 fi
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31690 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31691
31692 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31693 for ac_func in _hypotf
31694 do :
31695 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31696 if test "x$ac_cv_func__hypotf" = xyes; then :
31697 cat >>confdefs.h <<_ACEOF
31698 #define HAVE__HYPOTF 1
31699 _ACEOF
31700
31701 fi
31702 done
31703
31704 fi
31705 fi
31706
31707
31708
31709
31710
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31712 $as_echo_n "checking for ldexpf declaration... " >&6; }
31713 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31714 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31715 $as_echo_n "(cached) " >&6
31716 else
31717
31718
31719 ac_ext=cpp
31720 ac_cpp='$CXXCPP $CPPFLAGS'
31721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31724
31725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31726 /* end confdefs.h. */
31727 #include <math.h>
31728 int
31729 main ()
31730 {
31731 ldexpf(0, 0);
31732 ;
31733 return 0;
31734 }
31735 _ACEOF
31736 if ac_fn_cxx_try_compile "$LINENO"; then :
31737 glibcxx_cv_func_ldexpf_use=yes
31738 else
31739 glibcxx_cv_func_ldexpf_use=no
31740 fi
31741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31742 ac_ext=c
31743 ac_cpp='$CPP $CPPFLAGS'
31744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31747
31748
31749 fi
31750
31751 fi
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31753 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31754
31755 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31756 for ac_func in ldexpf
31757 do :
31758 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31759 if test "x$ac_cv_func_ldexpf" = xyes; then :
31760 cat >>confdefs.h <<_ACEOF
31761 #define HAVE_LDEXPF 1
31762 _ACEOF
31763
31764 fi
31765 done
31766
31767 else
31768
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31770 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31771 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31772 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31773 $as_echo_n "(cached) " >&6
31774 else
31775
31776
31777 ac_ext=cpp
31778 ac_cpp='$CXXCPP $CPPFLAGS'
31779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31782
31783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31784 /* end confdefs.h. */
31785 #include <math.h>
31786 int
31787 main ()
31788 {
31789 _ldexpf(0, 0);
31790 ;
31791 return 0;
31792 }
31793 _ACEOF
31794 if ac_fn_cxx_try_compile "$LINENO"; then :
31795 glibcxx_cv_func__ldexpf_use=yes
31796 else
31797 glibcxx_cv_func__ldexpf_use=no
31798 fi
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800 ac_ext=c
31801 ac_cpp='$CPP $CPPFLAGS'
31802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31805
31806
31807 fi
31808
31809 fi
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31811 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31812
31813 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31814 for ac_func in _ldexpf
31815 do :
31816 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31817 if test "x$ac_cv_func__ldexpf" = xyes; then :
31818 cat >>confdefs.h <<_ACEOF
31819 #define HAVE__LDEXPF 1
31820 _ACEOF
31821
31822 fi
31823 done
31824
31825 fi
31826 fi
31827
31828
31829
31830
31831
31832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31833 $as_echo_n "checking for logf declaration... " >&6; }
31834 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31835 if ${glibcxx_cv_func_logf_use+:} false; then :
31836 $as_echo_n "(cached) " >&6
31837 else
31838
31839
31840 ac_ext=cpp
31841 ac_cpp='$CXXCPP $CPPFLAGS'
31842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31845
31846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31847 /* end confdefs.h. */
31848 #include <math.h>
31849 #ifdef HAVE_IEEEFP_H
31850 #include <ieeefp.h>
31851 #endif
31852
31853 int
31854 main ()
31855 {
31856 logf(0);
31857 ;
31858 return 0;
31859 }
31860 _ACEOF
31861 if ac_fn_cxx_try_compile "$LINENO"; then :
31862 glibcxx_cv_func_logf_use=yes
31863 else
31864 glibcxx_cv_func_logf_use=no
31865 fi
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31872
31873
31874 fi
31875
31876 fi
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31878 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31879
31880 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31881 for ac_func in logf
31882 do :
31883 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31884 if test "x$ac_cv_func_logf" = xyes; then :
31885 cat >>confdefs.h <<_ACEOF
31886 #define HAVE_LOGF 1
31887 _ACEOF
31888
31889 fi
31890 done
31891
31892 else
31893
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31895 $as_echo_n "checking for _logf declaration... " >&6; }
31896 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31897 if ${glibcxx_cv_func__logf_use+:} false; then :
31898 $as_echo_n "(cached) " >&6
31899 else
31900
31901
31902 ac_ext=cpp
31903 ac_cpp='$CXXCPP $CPPFLAGS'
31904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31907
31908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <math.h>
31911 #ifdef HAVE_IEEEFP_H
31912 #include <ieeefp.h>
31913 #endif
31914
31915 int
31916 main ()
31917 {
31918 _logf(0);
31919 ;
31920 return 0;
31921 }
31922 _ACEOF
31923 if ac_fn_cxx_try_compile "$LINENO"; then :
31924 glibcxx_cv_func__logf_use=yes
31925 else
31926 glibcxx_cv_func__logf_use=no
31927 fi
31928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31929 ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31934
31935
31936 fi
31937
31938 fi
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31940 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31941
31942 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31943 for ac_func in _logf
31944 do :
31945 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31946 if test "x$ac_cv_func__logf" = xyes; then :
31947 cat >>confdefs.h <<_ACEOF
31948 #define HAVE__LOGF 1
31949 _ACEOF
31950
31951 fi
31952 done
31953
31954 fi
31955 fi
31956
31957
31958
31959
31960
31961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31962 $as_echo_n "checking for log10f declaration... " >&6; }
31963 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31964 if ${glibcxx_cv_func_log10f_use+:} false; then :
31965 $as_echo_n "(cached) " >&6
31966 else
31967
31968
31969 ac_ext=cpp
31970 ac_cpp='$CXXCPP $CPPFLAGS'
31971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31974
31975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31976 /* end confdefs.h. */
31977 #include <math.h>
31978 #ifdef HAVE_IEEEFP_H
31979 #include <ieeefp.h>
31980 #endif
31981
31982 int
31983 main ()
31984 {
31985 log10f(0);
31986 ;
31987 return 0;
31988 }
31989 _ACEOF
31990 if ac_fn_cxx_try_compile "$LINENO"; then :
31991 glibcxx_cv_func_log10f_use=yes
31992 else
31993 glibcxx_cv_func_log10f_use=no
31994 fi
31995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31996 ac_ext=c
31997 ac_cpp='$CPP $CPPFLAGS'
31998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32001
32002
32003 fi
32004
32005 fi
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32007 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32008
32009 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32010 for ac_func in log10f
32011 do :
32012 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32013 if test "x$ac_cv_func_log10f" = xyes; then :
32014 cat >>confdefs.h <<_ACEOF
32015 #define HAVE_LOG10F 1
32016 _ACEOF
32017
32018 fi
32019 done
32020
32021 else
32022
32023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32024 $as_echo_n "checking for _log10f declaration... " >&6; }
32025 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32026 if ${glibcxx_cv_func__log10f_use+:} false; then :
32027 $as_echo_n "(cached) " >&6
32028 else
32029
32030
32031 ac_ext=cpp
32032 ac_cpp='$CXXCPP $CPPFLAGS'
32033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32036
32037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32038 /* end confdefs.h. */
32039 #include <math.h>
32040 #ifdef HAVE_IEEEFP_H
32041 #include <ieeefp.h>
32042 #endif
32043
32044 int
32045 main ()
32046 {
32047 _log10f(0);
32048 ;
32049 return 0;
32050 }
32051 _ACEOF
32052 if ac_fn_cxx_try_compile "$LINENO"; then :
32053 glibcxx_cv_func__log10f_use=yes
32054 else
32055 glibcxx_cv_func__log10f_use=no
32056 fi
32057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32058 ac_ext=c
32059 ac_cpp='$CPP $CPPFLAGS'
32060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32063
32064
32065 fi
32066
32067 fi
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32069 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32070
32071 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32072 for ac_func in _log10f
32073 do :
32074 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32075 if test "x$ac_cv_func__log10f" = xyes; then :
32076 cat >>confdefs.h <<_ACEOF
32077 #define HAVE__LOG10F 1
32078 _ACEOF
32079
32080 fi
32081 done
32082
32083 fi
32084 fi
32085
32086
32087
32088
32089
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32091 $as_echo_n "checking for modff declaration... " >&6; }
32092 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32093 if ${glibcxx_cv_func_modff_use+:} false; then :
32094 $as_echo_n "(cached) " >&6
32095 else
32096
32097
32098 ac_ext=cpp
32099 ac_cpp='$CXXCPP $CPPFLAGS'
32100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32103
32104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32105 /* end confdefs.h. */
32106 #include <math.h>
32107 int
32108 main ()
32109 {
32110 modff(0, 0);
32111 ;
32112 return 0;
32113 }
32114 _ACEOF
32115 if ac_fn_cxx_try_compile "$LINENO"; then :
32116 glibcxx_cv_func_modff_use=yes
32117 else
32118 glibcxx_cv_func_modff_use=no
32119 fi
32120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32121 ac_ext=c
32122 ac_cpp='$CPP $CPPFLAGS'
32123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32126
32127
32128 fi
32129
32130 fi
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32132 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32133
32134 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32135 for ac_func in modff
32136 do :
32137 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32138 if test "x$ac_cv_func_modff" = xyes; then :
32139 cat >>confdefs.h <<_ACEOF
32140 #define HAVE_MODFF 1
32141 _ACEOF
32142
32143 fi
32144 done
32145
32146 else
32147
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32149 $as_echo_n "checking for _modff declaration... " >&6; }
32150 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32151 if ${glibcxx_cv_func__modff_use+:} false; then :
32152 $as_echo_n "(cached) " >&6
32153 else
32154
32155
32156 ac_ext=cpp
32157 ac_cpp='$CXXCPP $CPPFLAGS'
32158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161
32162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32163 /* end confdefs.h. */
32164 #include <math.h>
32165 int
32166 main ()
32167 {
32168 _modff(0, 0);
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func__modff_use=yes
32175 else
32176 glibcxx_cv_func__modff_use=no
32177 fi
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32184
32185
32186 fi
32187
32188 fi
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32190 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32191
32192 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32193 for ac_func in _modff
32194 do :
32195 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32196 if test "x$ac_cv_func__modff" = xyes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE__MODFF 1
32199 _ACEOF
32200
32201 fi
32202 done
32203
32204 fi
32205 fi
32206
32207
32208
32209
32210
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32212 $as_echo_n "checking for modf declaration... " >&6; }
32213 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32214 if ${glibcxx_cv_func_modf_use+:} false; then :
32215 $as_echo_n "(cached) " >&6
32216 else
32217
32218
32219 ac_ext=cpp
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32224
32225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32226 /* end confdefs.h. */
32227 #include <math.h>
32228 int
32229 main ()
32230 {
32231 modf(0, 0);
32232 ;
32233 return 0;
32234 }
32235 _ACEOF
32236 if ac_fn_cxx_try_compile "$LINENO"; then :
32237 glibcxx_cv_func_modf_use=yes
32238 else
32239 glibcxx_cv_func_modf_use=no
32240 fi
32241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32242 ac_ext=c
32243 ac_cpp='$CPP $CPPFLAGS'
32244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32247
32248
32249 fi
32250
32251 fi
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32253 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32254
32255 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32256 for ac_func in modf
32257 do :
32258 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32259 if test "x$ac_cv_func_modf" = xyes; then :
32260 cat >>confdefs.h <<_ACEOF
32261 #define HAVE_MODF 1
32262 _ACEOF
32263
32264 fi
32265 done
32266
32267 else
32268
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32270 $as_echo_n "checking for _modf declaration... " >&6; }
32271 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32272 if ${glibcxx_cv_func__modf_use+:} false; then :
32273 $as_echo_n "(cached) " >&6
32274 else
32275
32276
32277 ac_ext=cpp
32278 ac_cpp='$CXXCPP $CPPFLAGS'
32279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32282
32283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32284 /* end confdefs.h. */
32285 #include <math.h>
32286 int
32287 main ()
32288 {
32289 _modf(0, 0);
32290 ;
32291 return 0;
32292 }
32293 _ACEOF
32294 if ac_fn_cxx_try_compile "$LINENO"; then :
32295 glibcxx_cv_func__modf_use=yes
32296 else
32297 glibcxx_cv_func__modf_use=no
32298 fi
32299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32300 ac_ext=c
32301 ac_cpp='$CPP $CPPFLAGS'
32302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32305
32306
32307 fi
32308
32309 fi
32310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32311 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32312
32313 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32314 for ac_func in _modf
32315 do :
32316 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32317 if test "x$ac_cv_func__modf" = xyes; then :
32318 cat >>confdefs.h <<_ACEOF
32319 #define HAVE__MODF 1
32320 _ACEOF
32321
32322 fi
32323 done
32324
32325 fi
32326 fi
32327
32328
32329
32330
32331
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32333 $as_echo_n "checking for powf declaration... " >&6; }
32334 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32335 if ${glibcxx_cv_func_powf_use+:} false; then :
32336 $as_echo_n "(cached) " >&6
32337 else
32338
32339
32340 ac_ext=cpp
32341 ac_cpp='$CXXCPP $CPPFLAGS'
32342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32345
32346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32347 /* end confdefs.h. */
32348 #include <math.h>
32349 int
32350 main ()
32351 {
32352 powf(0, 0);
32353 ;
32354 return 0;
32355 }
32356 _ACEOF
32357 if ac_fn_cxx_try_compile "$LINENO"; then :
32358 glibcxx_cv_func_powf_use=yes
32359 else
32360 glibcxx_cv_func_powf_use=no
32361 fi
32362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32363 ac_ext=c
32364 ac_cpp='$CPP $CPPFLAGS'
32365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32368
32369
32370 fi
32371
32372 fi
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32374 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32375
32376 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32377 for ac_func in powf
32378 do :
32379 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32380 if test "x$ac_cv_func_powf" = xyes; then :
32381 cat >>confdefs.h <<_ACEOF
32382 #define HAVE_POWF 1
32383 _ACEOF
32384
32385 fi
32386 done
32387
32388 else
32389
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32391 $as_echo_n "checking for _powf declaration... " >&6; }
32392 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32393 if ${glibcxx_cv_func__powf_use+:} false; then :
32394 $as_echo_n "(cached) " >&6
32395 else
32396
32397
32398 ac_ext=cpp
32399 ac_cpp='$CXXCPP $CPPFLAGS'
32400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32403
32404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32405 /* end confdefs.h. */
32406 #include <math.h>
32407 int
32408 main ()
32409 {
32410 _powf(0, 0);
32411 ;
32412 return 0;
32413 }
32414 _ACEOF
32415 if ac_fn_cxx_try_compile "$LINENO"; then :
32416 glibcxx_cv_func__powf_use=yes
32417 else
32418 glibcxx_cv_func__powf_use=no
32419 fi
32420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32421 ac_ext=c
32422 ac_cpp='$CPP $CPPFLAGS'
32423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32426
32427
32428 fi
32429
32430 fi
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32432 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32433
32434 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32435 for ac_func in _powf
32436 do :
32437 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32438 if test "x$ac_cv_func__powf" = xyes; then :
32439 cat >>confdefs.h <<_ACEOF
32440 #define HAVE__POWF 1
32441 _ACEOF
32442
32443 fi
32444 done
32445
32446 fi
32447 fi
32448
32449
32450
32451
32452
32453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32454 $as_echo_n "checking for sqrtf declaration... " >&6; }
32455 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32456 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32457 $as_echo_n "(cached) " >&6
32458 else
32459
32460
32461 ac_ext=cpp
32462 ac_cpp='$CXXCPP $CPPFLAGS'
32463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32466
32467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32468 /* end confdefs.h. */
32469 #include <math.h>
32470 #ifdef HAVE_IEEEFP_H
32471 #include <ieeefp.h>
32472 #endif
32473
32474 int
32475 main ()
32476 {
32477 sqrtf(0);
32478 ;
32479 return 0;
32480 }
32481 _ACEOF
32482 if ac_fn_cxx_try_compile "$LINENO"; then :
32483 glibcxx_cv_func_sqrtf_use=yes
32484 else
32485 glibcxx_cv_func_sqrtf_use=no
32486 fi
32487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32488 ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32493
32494
32495 fi
32496
32497 fi
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32499 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32500
32501 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32502 for ac_func in sqrtf
32503 do :
32504 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32505 if test "x$ac_cv_func_sqrtf" = xyes; then :
32506 cat >>confdefs.h <<_ACEOF
32507 #define HAVE_SQRTF 1
32508 _ACEOF
32509
32510 fi
32511 done
32512
32513 else
32514
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32516 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32517 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32518 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32519 $as_echo_n "(cached) " >&6
32520 else
32521
32522
32523 ac_ext=cpp
32524 ac_cpp='$CXXCPP $CPPFLAGS'
32525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32528
32529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32530 /* end confdefs.h. */
32531 #include <math.h>
32532 #ifdef HAVE_IEEEFP_H
32533 #include <ieeefp.h>
32534 #endif
32535
32536 int
32537 main ()
32538 {
32539 _sqrtf(0);
32540 ;
32541 return 0;
32542 }
32543 _ACEOF
32544 if ac_fn_cxx_try_compile "$LINENO"; then :
32545 glibcxx_cv_func__sqrtf_use=yes
32546 else
32547 glibcxx_cv_func__sqrtf_use=no
32548 fi
32549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32550 ac_ext=c
32551 ac_cpp='$CPP $CPPFLAGS'
32552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32555
32556
32557 fi
32558
32559 fi
32560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32561 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32562
32563 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32564 for ac_func in _sqrtf
32565 do :
32566 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32567 if test "x$ac_cv_func__sqrtf" = xyes; then :
32568 cat >>confdefs.h <<_ACEOF
32569 #define HAVE__SQRTF 1
32570 _ACEOF
32571
32572 fi
32573 done
32574
32575 fi
32576 fi
32577
32578
32579
32580
32581
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32583 $as_echo_n "checking for sincosf declaration... " >&6; }
32584 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32585 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32586 $as_echo_n "(cached) " >&6
32587 else
32588
32589
32590 ac_ext=cpp
32591 ac_cpp='$CXXCPP $CPPFLAGS'
32592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32595
32596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32597 /* end confdefs.h. */
32598 #include <math.h>
32599 int
32600 main ()
32601 {
32602 sincosf(0, 0, 0);
32603 ;
32604 return 0;
32605 }
32606 _ACEOF
32607 if ac_fn_cxx_try_compile "$LINENO"; then :
32608 glibcxx_cv_func_sincosf_use=yes
32609 else
32610 glibcxx_cv_func_sincosf_use=no
32611 fi
32612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32613 ac_ext=c
32614 ac_cpp='$CPP $CPPFLAGS'
32615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32618
32619
32620 fi
32621
32622 fi
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32624 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32625
32626 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32627 for ac_func in sincosf
32628 do :
32629 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32630 if test "x$ac_cv_func_sincosf" = xyes; then :
32631 cat >>confdefs.h <<_ACEOF
32632 #define HAVE_SINCOSF 1
32633 _ACEOF
32634
32635 fi
32636 done
32637
32638 else
32639
32640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32641 $as_echo_n "checking for _sincosf declaration... " >&6; }
32642 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32643 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32644 $as_echo_n "(cached) " >&6
32645 else
32646
32647
32648 ac_ext=cpp
32649 ac_cpp='$CXXCPP $CPPFLAGS'
32650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32653
32654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32655 /* end confdefs.h. */
32656 #include <math.h>
32657 int
32658 main ()
32659 {
32660 _sincosf(0, 0, 0);
32661 ;
32662 return 0;
32663 }
32664 _ACEOF
32665 if ac_fn_cxx_try_compile "$LINENO"; then :
32666 glibcxx_cv_func__sincosf_use=yes
32667 else
32668 glibcxx_cv_func__sincosf_use=no
32669 fi
32670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32671 ac_ext=c
32672 ac_cpp='$CPP $CPPFLAGS'
32673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676
32677
32678 fi
32679
32680 fi
32681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32682 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32683
32684 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32685 for ac_func in _sincosf
32686 do :
32687 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32688 if test "x$ac_cv_func__sincosf" = xyes; then :
32689 cat >>confdefs.h <<_ACEOF
32690 #define HAVE__SINCOSF 1
32691 _ACEOF
32692
32693 fi
32694 done
32695
32696 fi
32697 fi
32698
32699
32700
32701
32702
32703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32704 $as_echo_n "checking for finitef declaration... " >&6; }
32705 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32706 if ${glibcxx_cv_func_finitef_use+:} false; then :
32707 $as_echo_n "(cached) " >&6
32708 else
32709
32710
32711 ac_ext=cpp
32712 ac_cpp='$CXXCPP $CPPFLAGS'
32713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32716
32717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32718 /* end confdefs.h. */
32719 #include <math.h>
32720 #ifdef HAVE_IEEEFP_H
32721 #include <ieeefp.h>
32722 #endif
32723
32724 int
32725 main ()
32726 {
32727 finitef(0);
32728 ;
32729 return 0;
32730 }
32731 _ACEOF
32732 if ac_fn_cxx_try_compile "$LINENO"; then :
32733 glibcxx_cv_func_finitef_use=yes
32734 else
32735 glibcxx_cv_func_finitef_use=no
32736 fi
32737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32738 ac_ext=c
32739 ac_cpp='$CPP $CPPFLAGS'
32740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32743
32744
32745 fi
32746
32747 fi
32748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32749 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32750
32751 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32752 for ac_func in finitef
32753 do :
32754 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32755 if test "x$ac_cv_func_finitef" = xyes; then :
32756 cat >>confdefs.h <<_ACEOF
32757 #define HAVE_FINITEF 1
32758 _ACEOF
32759
32760 fi
32761 done
32762
32763 else
32764
32765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32766 $as_echo_n "checking for _finitef declaration... " >&6; }
32767 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32768 if ${glibcxx_cv_func__finitef_use+:} false; then :
32769 $as_echo_n "(cached) " >&6
32770 else
32771
32772
32773 ac_ext=cpp
32774 ac_cpp='$CXXCPP $CPPFLAGS'
32775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32778
32779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32780 /* end confdefs.h. */
32781 #include <math.h>
32782 #ifdef HAVE_IEEEFP_H
32783 #include <ieeefp.h>
32784 #endif
32785
32786 int
32787 main ()
32788 {
32789 _finitef(0);
32790 ;
32791 return 0;
32792 }
32793 _ACEOF
32794 if ac_fn_cxx_try_compile "$LINENO"; then :
32795 glibcxx_cv_func__finitef_use=yes
32796 else
32797 glibcxx_cv_func__finitef_use=no
32798 fi
32799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32800 ac_ext=c
32801 ac_cpp='$CPP $CPPFLAGS'
32802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32805
32806
32807 fi
32808
32809 fi
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32811 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32812
32813 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32814 for ac_func in _finitef
32815 do :
32816 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32817 if test "x$ac_cv_func__finitef" = xyes; then :
32818 cat >>confdefs.h <<_ACEOF
32819 #define HAVE__FINITEF 1
32820 _ACEOF
32821
32822 fi
32823 done
32824
32825 fi
32826 fi
32827
32828
32829
32830
32831
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32833 $as_echo_n "checking for long double trig functions... " >&6; }
32834 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32835 $as_echo_n "(cached) " >&6
32836 else
32837
32838
32839 ac_ext=cpp
32840 ac_cpp='$CXXCPP $CPPFLAGS'
32841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32844
32845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32846 /* end confdefs.h. */
32847 #include <math.h>
32848 int
32849 main ()
32850 {
32851 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32852 ;
32853 return 0;
32854 }
32855 _ACEOF
32856 if ac_fn_cxx_try_compile "$LINENO"; then :
32857 glibcxx_cv_func_long_double_trig_use=yes
32858 else
32859 glibcxx_cv_func_long_double_trig_use=no
32860 fi
32861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32862 ac_ext=c
32863 ac_cpp='$CPP $CPPFLAGS'
32864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867
32868 fi
32869
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32871 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32872 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32873 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32874 do :
32875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32878 cat >>confdefs.h <<_ACEOF
32879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32880 _ACEOF
32881
32882 fi
32883 done
32884
32885 else
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32887 $as_echo_n "checking for _long double trig functions... " >&6; }
32888 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32889 $as_echo_n "(cached) " >&6
32890 else
32891
32892
32893 ac_ext=cpp
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32898
32899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32900 /* end confdefs.h. */
32901 #include <math.h>
32902 int
32903 main ()
32904 {
32905 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32906 ;
32907 return 0;
32908 }
32909 _ACEOF
32910 if ac_fn_cxx_try_compile "$LINENO"; then :
32911 glibcxx_cv_func__long_double_trig_use=yes
32912 else
32913 glibcxx_cv_func__long_double_trig_use=no
32914 fi
32915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32916 ac_ext=c
32917 ac_cpp='$CPP $CPPFLAGS'
32918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32921
32922 fi
32923
32924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32925 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32926 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32927 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32928 do :
32929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32932 cat >>confdefs.h <<_ACEOF
32933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32934 _ACEOF
32935
32936 fi
32937 done
32938
32939 fi
32940 fi
32941
32942
32943
32944
32945
32946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32947 $as_echo_n "checking for long double round functions... " >&6; }
32948 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32949 $as_echo_n "(cached) " >&6
32950 else
32951
32952
32953 ac_ext=cpp
32954 ac_cpp='$CXXCPP $CPPFLAGS'
32955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32958
32959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32960 /* end confdefs.h. */
32961 #include <math.h>
32962 int
32963 main ()
32964 {
32965 ceill (0); floorl (0);
32966 ;
32967 return 0;
32968 }
32969 _ACEOF
32970 if ac_fn_cxx_try_compile "$LINENO"; then :
32971 glibcxx_cv_func_long_double_round_use=yes
32972 else
32973 glibcxx_cv_func_long_double_round_use=no
32974 fi
32975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32976 ac_ext=c
32977 ac_cpp='$CPP $CPPFLAGS'
32978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32981
32982 fi
32983
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32985 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32986 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32987 for ac_func in ceill floorl
32988 do :
32989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32992 cat >>confdefs.h <<_ACEOF
32993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32994 _ACEOF
32995
32996 fi
32997 done
32998
32999 else
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33001 $as_echo_n "checking for _long double round functions... " >&6; }
33002 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33003 $as_echo_n "(cached) " >&6
33004 else
33005
33006
33007 ac_ext=cpp
33008 ac_cpp='$CXXCPP $CPPFLAGS'
33009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33012
33013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33014 /* end confdefs.h. */
33015 #include <math.h>
33016 int
33017 main ()
33018 {
33019 _ceill (0); _floorl (0);
33020 ;
33021 return 0;
33022 }
33023 _ACEOF
33024 if ac_fn_cxx_try_compile "$LINENO"; then :
33025 glibcxx_cv_func__long_double_round_use=yes
33026 else
33027 glibcxx_cv_func__long_double_round_use=no
33028 fi
33029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33030 ac_ext=c
33031 ac_cpp='$CPP $CPPFLAGS'
33032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33035
33036 fi
33037
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33039 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33040 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33041 for ac_func in _ceill _floorl
33042 do :
33043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33045 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33046 cat >>confdefs.h <<_ACEOF
33047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33048 _ACEOF
33049
33050 fi
33051 done
33052
33053 fi
33054 fi
33055
33056
33057
33058
33059
33060
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33062 $as_echo_n "checking for isnanl declaration... " >&6; }
33063 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33064 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33065 $as_echo_n "(cached) " >&6
33066 else
33067
33068
33069 ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074
33075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h. */
33077 #include <math.h>
33078 #ifdef HAVE_IEEEFP_H
33079 #include <ieeefp.h>
33080 #endif
33081
33082 int
33083 main ()
33084 {
33085 isnanl(0);
33086 ;
33087 return 0;
33088 }
33089 _ACEOF
33090 if ac_fn_cxx_try_compile "$LINENO"; then :
33091 glibcxx_cv_func_isnanl_use=yes
33092 else
33093 glibcxx_cv_func_isnanl_use=no
33094 fi
33095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33096 ac_ext=c
33097 ac_cpp='$CPP $CPPFLAGS'
33098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33101
33102
33103 fi
33104
33105 fi
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33107 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33108
33109 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33110 for ac_func in isnanl
33111 do :
33112 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33113 if test "x$ac_cv_func_isnanl" = xyes; then :
33114 cat >>confdefs.h <<_ACEOF
33115 #define HAVE_ISNANL 1
33116 _ACEOF
33117
33118 fi
33119 done
33120
33121 else
33122
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33124 $as_echo_n "checking for _isnanl declaration... " >&6; }
33125 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33126 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33127 $as_echo_n "(cached) " >&6
33128 else
33129
33130
33131 ac_ext=cpp
33132 ac_cpp='$CXXCPP $CPPFLAGS'
33133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33136
33137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33138 /* end confdefs.h. */
33139 #include <math.h>
33140 #ifdef HAVE_IEEEFP_H
33141 #include <ieeefp.h>
33142 #endif
33143
33144 int
33145 main ()
33146 {
33147 _isnanl(0);
33148 ;
33149 return 0;
33150 }
33151 _ACEOF
33152 if ac_fn_cxx_try_compile "$LINENO"; then :
33153 glibcxx_cv_func__isnanl_use=yes
33154 else
33155 glibcxx_cv_func__isnanl_use=no
33156 fi
33157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33158 ac_ext=c
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33163
33164
33165 fi
33166
33167 fi
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33169 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33170
33171 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33172 for ac_func in _isnanl
33173 do :
33174 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33175 if test "x$ac_cv_func__isnanl" = xyes; then :
33176 cat >>confdefs.h <<_ACEOF
33177 #define HAVE__ISNANL 1
33178 _ACEOF
33179
33180 fi
33181 done
33182
33183 fi
33184 fi
33185
33186
33187
33188
33189
33190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33191 $as_echo_n "checking for isinfl declaration... " >&6; }
33192 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33193 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33194 $as_echo_n "(cached) " >&6
33195 else
33196
33197
33198 ac_ext=cpp
33199 ac_cpp='$CXXCPP $CPPFLAGS'
33200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203
33204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33205 /* end confdefs.h. */
33206 #include <math.h>
33207 #ifdef HAVE_IEEEFP_H
33208 #include <ieeefp.h>
33209 #endif
33210
33211 int
33212 main ()
33213 {
33214 isinfl(0);
33215 ;
33216 return 0;
33217 }
33218 _ACEOF
33219 if ac_fn_cxx_try_compile "$LINENO"; then :
33220 glibcxx_cv_func_isinfl_use=yes
33221 else
33222 glibcxx_cv_func_isinfl_use=no
33223 fi
33224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33225 ac_ext=c
33226 ac_cpp='$CPP $CPPFLAGS'
33227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33230
33231
33232 fi
33233
33234 fi
33235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33236 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33237
33238 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33239 for ac_func in isinfl
33240 do :
33241 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33242 if test "x$ac_cv_func_isinfl" = xyes; then :
33243 cat >>confdefs.h <<_ACEOF
33244 #define HAVE_ISINFL 1
33245 _ACEOF
33246
33247 fi
33248 done
33249
33250 else
33251
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33253 $as_echo_n "checking for _isinfl declaration... " >&6; }
33254 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33255 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33256 $as_echo_n "(cached) " >&6
33257 else
33258
33259
33260 ac_ext=cpp
33261 ac_cpp='$CXXCPP $CPPFLAGS'
33262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33265
33266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33267 /* end confdefs.h. */
33268 #include <math.h>
33269 #ifdef HAVE_IEEEFP_H
33270 #include <ieeefp.h>
33271 #endif
33272
33273 int
33274 main ()
33275 {
33276 _isinfl(0);
33277 ;
33278 return 0;
33279 }
33280 _ACEOF
33281 if ac_fn_cxx_try_compile "$LINENO"; then :
33282 glibcxx_cv_func__isinfl_use=yes
33283 else
33284 glibcxx_cv_func__isinfl_use=no
33285 fi
33286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33287 ac_ext=c
33288 ac_cpp='$CPP $CPPFLAGS'
33289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33292
33293
33294 fi
33295
33296 fi
33297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33298 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33299
33300 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33301 for ac_func in _isinfl
33302 do :
33303 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33304 if test "x$ac_cv_func__isinfl" = xyes; then :
33305 cat >>confdefs.h <<_ACEOF
33306 #define HAVE__ISINFL 1
33307 _ACEOF
33308
33309 fi
33310 done
33311
33312 fi
33313 fi
33314
33315
33316
33317
33318
33319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33320 $as_echo_n "checking for atan2l declaration... " >&6; }
33321 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33322 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33323 $as_echo_n "(cached) " >&6
33324 else
33325
33326
33327 ac_ext=cpp
33328 ac_cpp='$CXXCPP $CPPFLAGS'
33329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332
33333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33334 /* end confdefs.h. */
33335 #include <math.h>
33336 int
33337 main ()
33338 {
33339 atan2l(0, 0);
33340 ;
33341 return 0;
33342 }
33343 _ACEOF
33344 if ac_fn_cxx_try_compile "$LINENO"; then :
33345 glibcxx_cv_func_atan2l_use=yes
33346 else
33347 glibcxx_cv_func_atan2l_use=no
33348 fi
33349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33350 ac_ext=c
33351 ac_cpp='$CPP $CPPFLAGS'
33352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33355
33356
33357 fi
33358
33359 fi
33360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33361 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33362
33363 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33364 for ac_func in atan2l
33365 do :
33366 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33367 if test "x$ac_cv_func_atan2l" = xyes; then :
33368 cat >>confdefs.h <<_ACEOF
33369 #define HAVE_ATAN2L 1
33370 _ACEOF
33371
33372 fi
33373 done
33374
33375 else
33376
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33378 $as_echo_n "checking for _atan2l declaration... " >&6; }
33379 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33380 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33381 $as_echo_n "(cached) " >&6
33382 else
33383
33384
33385 ac_ext=cpp
33386 ac_cpp='$CXXCPP $CPPFLAGS'
33387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390
33391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33392 /* end confdefs.h. */
33393 #include <math.h>
33394 int
33395 main ()
33396 {
33397 _atan2l(0, 0);
33398 ;
33399 return 0;
33400 }
33401 _ACEOF
33402 if ac_fn_cxx_try_compile "$LINENO"; then :
33403 glibcxx_cv_func__atan2l_use=yes
33404 else
33405 glibcxx_cv_func__atan2l_use=no
33406 fi
33407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33408 ac_ext=c
33409 ac_cpp='$CPP $CPPFLAGS'
33410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33413
33414
33415 fi
33416
33417 fi
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33419 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33420
33421 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33422 for ac_func in _atan2l
33423 do :
33424 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33425 if test "x$ac_cv_func__atan2l" = xyes; then :
33426 cat >>confdefs.h <<_ACEOF
33427 #define HAVE__ATAN2L 1
33428 _ACEOF
33429
33430 fi
33431 done
33432
33433 fi
33434 fi
33435
33436
33437
33438
33439
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33441 $as_echo_n "checking for expl declaration... " >&6; }
33442 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33443 if ${glibcxx_cv_func_expl_use+:} false; then :
33444 $as_echo_n "(cached) " >&6
33445 else
33446
33447
33448 ac_ext=cpp
33449 ac_cpp='$CXXCPP $CPPFLAGS'
33450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453
33454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33455 /* end confdefs.h. */
33456 #include <math.h>
33457 #ifdef HAVE_IEEEFP_H
33458 #include <ieeefp.h>
33459 #endif
33460
33461 int
33462 main ()
33463 {
33464 expl(0);
33465 ;
33466 return 0;
33467 }
33468 _ACEOF
33469 if ac_fn_cxx_try_compile "$LINENO"; then :
33470 glibcxx_cv_func_expl_use=yes
33471 else
33472 glibcxx_cv_func_expl_use=no
33473 fi
33474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33480
33481
33482 fi
33483
33484 fi
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33486 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33487
33488 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33489 for ac_func in expl
33490 do :
33491 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33492 if test "x$ac_cv_func_expl" = xyes; then :
33493 cat >>confdefs.h <<_ACEOF
33494 #define HAVE_EXPL 1
33495 _ACEOF
33496
33497 fi
33498 done
33499
33500 else
33501
33502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33503 $as_echo_n "checking for _expl declaration... " >&6; }
33504 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33505 if ${glibcxx_cv_func__expl_use+:} false; then :
33506 $as_echo_n "(cached) " >&6
33507 else
33508
33509
33510 ac_ext=cpp
33511 ac_cpp='$CXXCPP $CPPFLAGS'
33512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33515
33516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33517 /* end confdefs.h. */
33518 #include <math.h>
33519 #ifdef HAVE_IEEEFP_H
33520 #include <ieeefp.h>
33521 #endif
33522
33523 int
33524 main ()
33525 {
33526 _expl(0);
33527 ;
33528 return 0;
33529 }
33530 _ACEOF
33531 if ac_fn_cxx_try_compile "$LINENO"; then :
33532 glibcxx_cv_func__expl_use=yes
33533 else
33534 glibcxx_cv_func__expl_use=no
33535 fi
33536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33537 ac_ext=c
33538 ac_cpp='$CPP $CPPFLAGS'
33539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33542
33543
33544 fi
33545
33546 fi
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33548 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33549
33550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33551 for ac_func in _expl
33552 do :
33553 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33554 if test "x$ac_cv_func__expl" = xyes; then :
33555 cat >>confdefs.h <<_ACEOF
33556 #define HAVE__EXPL 1
33557 _ACEOF
33558
33559 fi
33560 done
33561
33562 fi
33563 fi
33564
33565
33566
33567
33568
33569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33570 $as_echo_n "checking for fabsl declaration... " >&6; }
33571 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33572 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33573 $as_echo_n "(cached) " >&6
33574 else
33575
33576
33577 ac_ext=cpp
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33582
33583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33584 /* end confdefs.h. */
33585 #include <math.h>
33586 #ifdef HAVE_IEEEFP_H
33587 #include <ieeefp.h>
33588 #endif
33589
33590 int
33591 main ()
33592 {
33593 fabsl(0);
33594 ;
33595 return 0;
33596 }
33597 _ACEOF
33598 if ac_fn_cxx_try_compile "$LINENO"; then :
33599 glibcxx_cv_func_fabsl_use=yes
33600 else
33601 glibcxx_cv_func_fabsl_use=no
33602 fi
33603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33604 ac_ext=c
33605 ac_cpp='$CPP $CPPFLAGS'
33606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33609
33610
33611 fi
33612
33613 fi
33614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33615 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33616
33617 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33618 for ac_func in fabsl
33619 do :
33620 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33621 if test "x$ac_cv_func_fabsl" = xyes; then :
33622 cat >>confdefs.h <<_ACEOF
33623 #define HAVE_FABSL 1
33624 _ACEOF
33625
33626 fi
33627 done
33628
33629 else
33630
33631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33632 $as_echo_n "checking for _fabsl declaration... " >&6; }
33633 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33634 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33635 $as_echo_n "(cached) " >&6
33636 else
33637
33638
33639 ac_ext=cpp
33640 ac_cpp='$CXXCPP $CPPFLAGS'
33641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33644
33645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33646 /* end confdefs.h. */
33647 #include <math.h>
33648 #ifdef HAVE_IEEEFP_H
33649 #include <ieeefp.h>
33650 #endif
33651
33652 int
33653 main ()
33654 {
33655 _fabsl(0);
33656 ;
33657 return 0;
33658 }
33659 _ACEOF
33660 if ac_fn_cxx_try_compile "$LINENO"; then :
33661 glibcxx_cv_func__fabsl_use=yes
33662 else
33663 glibcxx_cv_func__fabsl_use=no
33664 fi
33665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33666 ac_ext=c
33667 ac_cpp='$CPP $CPPFLAGS'
33668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33671
33672
33673 fi
33674
33675 fi
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33677 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33678
33679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33680 for ac_func in _fabsl
33681 do :
33682 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33683 if test "x$ac_cv_func__fabsl" = xyes; then :
33684 cat >>confdefs.h <<_ACEOF
33685 #define HAVE__FABSL 1
33686 _ACEOF
33687
33688 fi
33689 done
33690
33691 fi
33692 fi
33693
33694
33695
33696
33697
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33699 $as_echo_n "checking for fmodl declaration... " >&6; }
33700 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33701 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33702 $as_echo_n "(cached) " >&6
33703 else
33704
33705
33706 ac_ext=cpp
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33711
33712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33713 /* end confdefs.h. */
33714 #include <math.h>
33715 int
33716 main ()
33717 {
33718 fmodl(0, 0);
33719 ;
33720 return 0;
33721 }
33722 _ACEOF
33723 if ac_fn_cxx_try_compile "$LINENO"; then :
33724 glibcxx_cv_func_fmodl_use=yes
33725 else
33726 glibcxx_cv_func_fmodl_use=no
33727 fi
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 ac_ext=c
33730 ac_cpp='$CPP $CPPFLAGS'
33731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33734
33735
33736 fi
33737
33738 fi
33739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33740 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33741
33742 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33743 for ac_func in fmodl
33744 do :
33745 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33746 if test "x$ac_cv_func_fmodl" = xyes; then :
33747 cat >>confdefs.h <<_ACEOF
33748 #define HAVE_FMODL 1
33749 _ACEOF
33750
33751 fi
33752 done
33753
33754 else
33755
33756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33757 $as_echo_n "checking for _fmodl declaration... " >&6; }
33758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33759 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33760 $as_echo_n "(cached) " >&6
33761 else
33762
33763
33764 ac_ext=cpp
33765 ac_cpp='$CXXCPP $CPPFLAGS'
33766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33769
33770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33771 /* end confdefs.h. */
33772 #include <math.h>
33773 int
33774 main ()
33775 {
33776 _fmodl(0, 0);
33777 ;
33778 return 0;
33779 }
33780 _ACEOF
33781 if ac_fn_cxx_try_compile "$LINENO"; then :
33782 glibcxx_cv_func__fmodl_use=yes
33783 else
33784 glibcxx_cv_func__fmodl_use=no
33785 fi
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_ext=c
33788 ac_cpp='$CPP $CPPFLAGS'
33789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33792
33793
33794 fi
33795
33796 fi
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33798 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33799
33800 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33801 for ac_func in _fmodl
33802 do :
33803 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33804 if test "x$ac_cv_func__fmodl" = xyes; then :
33805 cat >>confdefs.h <<_ACEOF
33806 #define HAVE__FMODL 1
33807 _ACEOF
33808
33809 fi
33810 done
33811
33812 fi
33813 fi
33814
33815
33816
33817
33818
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33820 $as_echo_n "checking for frexpl declaration... " >&6; }
33821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33822 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33823 $as_echo_n "(cached) " >&6
33824 else
33825
33826
33827 ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832
33833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h. */
33835 #include <math.h>
33836 int
33837 main ()
33838 {
33839 frexpl(0, 0);
33840 ;
33841 return 0;
33842 }
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845 glibcxx_cv_func_frexpl_use=yes
33846 else
33847 glibcxx_cv_func_frexpl_use=no
33848 fi
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850 ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33855
33856
33857 fi
33858
33859 fi
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33861 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33862
33863 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33864 for ac_func in frexpl
33865 do :
33866 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33867 if test "x$ac_cv_func_frexpl" = xyes; then :
33868 cat >>confdefs.h <<_ACEOF
33869 #define HAVE_FREXPL 1
33870 _ACEOF
33871
33872 fi
33873 done
33874
33875 else
33876
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33878 $as_echo_n "checking for _frexpl declaration... " >&6; }
33879 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33880 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33881 $as_echo_n "(cached) " >&6
33882 else
33883
33884
33885 ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890
33891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h. */
33893 #include <math.h>
33894 int
33895 main ()
33896 {
33897 _frexpl(0, 0);
33898 ;
33899 return 0;
33900 }
33901 _ACEOF
33902 if ac_fn_cxx_try_compile "$LINENO"; then :
33903 glibcxx_cv_func__frexpl_use=yes
33904 else
33905 glibcxx_cv_func__frexpl_use=no
33906 fi
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908 ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33913
33914
33915 fi
33916
33917 fi
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33919 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33920
33921 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33922 for ac_func in _frexpl
33923 do :
33924 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33925 if test "x$ac_cv_func__frexpl" = xyes; then :
33926 cat >>confdefs.h <<_ACEOF
33927 #define HAVE__FREXPL 1
33928 _ACEOF
33929
33930 fi
33931 done
33932
33933 fi
33934 fi
33935
33936
33937
33938
33939
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33941 $as_echo_n "checking for hypotl declaration... " >&6; }
33942 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33943 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33944 $as_echo_n "(cached) " >&6
33945 else
33946
33947
33948 ac_ext=cpp
33949 ac_cpp='$CXXCPP $CPPFLAGS'
33950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33953
33954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33955 /* end confdefs.h. */
33956 #include <math.h>
33957 int
33958 main ()
33959 {
33960 hypotl(0, 0);
33961 ;
33962 return 0;
33963 }
33964 _ACEOF
33965 if ac_fn_cxx_try_compile "$LINENO"; then :
33966 glibcxx_cv_func_hypotl_use=yes
33967 else
33968 glibcxx_cv_func_hypotl_use=no
33969 fi
33970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33971 ac_ext=c
33972 ac_cpp='$CPP $CPPFLAGS'
33973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33976
33977
33978 fi
33979
33980 fi
33981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33983
33984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33985 for ac_func in hypotl
33986 do :
33987 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33988 if test "x$ac_cv_func_hypotl" = xyes; then :
33989 cat >>confdefs.h <<_ACEOF
33990 #define HAVE_HYPOTL 1
33991 _ACEOF
33992
33993 fi
33994 done
33995
33996 else
33997
33998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33999 $as_echo_n "checking for _hypotl declaration... " >&6; }
34000 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34001 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34002 $as_echo_n "(cached) " >&6
34003 else
34004
34005
34006 ac_ext=cpp
34007 ac_cpp='$CXXCPP $CPPFLAGS'
34008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34011
34012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34013 /* end confdefs.h. */
34014 #include <math.h>
34015 int
34016 main ()
34017 {
34018 _hypotl(0, 0);
34019 ;
34020 return 0;
34021 }
34022 _ACEOF
34023 if ac_fn_cxx_try_compile "$LINENO"; then :
34024 glibcxx_cv_func__hypotl_use=yes
34025 else
34026 glibcxx_cv_func__hypotl_use=no
34027 fi
34028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34029 ac_ext=c
34030 ac_cpp='$CPP $CPPFLAGS'
34031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34034
34035
34036 fi
34037
34038 fi
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34040 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34041
34042 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34043 for ac_func in _hypotl
34044 do :
34045 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34046 if test "x$ac_cv_func__hypotl" = xyes; then :
34047 cat >>confdefs.h <<_ACEOF
34048 #define HAVE__HYPOTL 1
34049 _ACEOF
34050
34051 fi
34052 done
34053
34054 fi
34055 fi
34056
34057
34058
34059
34060
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34062 $as_echo_n "checking for ldexpl declaration... " >&6; }
34063 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34064 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34065 $as_echo_n "(cached) " >&6
34066 else
34067
34068
34069 ac_ext=cpp
34070 ac_cpp='$CXXCPP $CPPFLAGS'
34071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074
34075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34076 /* end confdefs.h. */
34077 #include <math.h>
34078 int
34079 main ()
34080 {
34081 ldexpl(0, 0);
34082 ;
34083 return 0;
34084 }
34085 _ACEOF
34086 if ac_fn_cxx_try_compile "$LINENO"; then :
34087 glibcxx_cv_func_ldexpl_use=yes
34088 else
34089 glibcxx_cv_func_ldexpl_use=no
34090 fi
34091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34092 ac_ext=c
34093 ac_cpp='$CPP $CPPFLAGS'
34094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34097
34098
34099 fi
34100
34101 fi
34102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34103 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34104
34105 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34106 for ac_func in ldexpl
34107 do :
34108 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34109 if test "x$ac_cv_func_ldexpl" = xyes; then :
34110 cat >>confdefs.h <<_ACEOF
34111 #define HAVE_LDEXPL 1
34112 _ACEOF
34113
34114 fi
34115 done
34116
34117 else
34118
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34120 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34121 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34122 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34123 $as_echo_n "(cached) " >&6
34124 else
34125
34126
34127 ac_ext=cpp
34128 ac_cpp='$CXXCPP $CPPFLAGS'
34129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132
34133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34134 /* end confdefs.h. */
34135 #include <math.h>
34136 int
34137 main ()
34138 {
34139 _ldexpl(0, 0);
34140 ;
34141 return 0;
34142 }
34143 _ACEOF
34144 if ac_fn_cxx_try_compile "$LINENO"; then :
34145 glibcxx_cv_func__ldexpl_use=yes
34146 else
34147 glibcxx_cv_func__ldexpl_use=no
34148 fi
34149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34150 ac_ext=c
34151 ac_cpp='$CPP $CPPFLAGS'
34152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34155
34156
34157 fi
34158
34159 fi
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34161 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34162
34163 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34164 for ac_func in _ldexpl
34165 do :
34166 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34167 if test "x$ac_cv_func__ldexpl" = xyes; then :
34168 cat >>confdefs.h <<_ACEOF
34169 #define HAVE__LDEXPL 1
34170 _ACEOF
34171
34172 fi
34173 done
34174
34175 fi
34176 fi
34177
34178
34179
34180
34181
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34183 $as_echo_n "checking for logl declaration... " >&6; }
34184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34185 if ${glibcxx_cv_func_logl_use+:} false; then :
34186 $as_echo_n "(cached) " >&6
34187 else
34188
34189
34190 ac_ext=cpp
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34198 #include <math.h>
34199 #ifdef HAVE_IEEEFP_H
34200 #include <ieeefp.h>
34201 #endif
34202
34203 int
34204 main ()
34205 {
34206 logl(0);
34207 ;
34208 return 0;
34209 }
34210 _ACEOF
34211 if ac_fn_cxx_try_compile "$LINENO"; then :
34212 glibcxx_cv_func_logl_use=yes
34213 else
34214 glibcxx_cv_func_logl_use=no
34215 fi
34216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34217 ac_ext=c
34218 ac_cpp='$CPP $CPPFLAGS'
34219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34222
34223
34224 fi
34225
34226 fi
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34228 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34229
34230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34231 for ac_func in logl
34232 do :
34233 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34234 if test "x$ac_cv_func_logl" = xyes; then :
34235 cat >>confdefs.h <<_ACEOF
34236 #define HAVE_LOGL 1
34237 _ACEOF
34238
34239 fi
34240 done
34241
34242 else
34243
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34245 $as_echo_n "checking for _logl declaration... " >&6; }
34246 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34247 if ${glibcxx_cv_func__logl_use+:} false; then :
34248 $as_echo_n "(cached) " >&6
34249 else
34250
34251
34252 ac_ext=cpp
34253 ac_cpp='$CXXCPP $CPPFLAGS'
34254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34257
34258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34259 /* end confdefs.h. */
34260 #include <math.h>
34261 #ifdef HAVE_IEEEFP_H
34262 #include <ieeefp.h>
34263 #endif
34264
34265 int
34266 main ()
34267 {
34268 _logl(0);
34269 ;
34270 return 0;
34271 }
34272 _ACEOF
34273 if ac_fn_cxx_try_compile "$LINENO"; then :
34274 glibcxx_cv_func__logl_use=yes
34275 else
34276 glibcxx_cv_func__logl_use=no
34277 fi
34278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34279 ac_ext=c
34280 ac_cpp='$CPP $CPPFLAGS'
34281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34284
34285
34286 fi
34287
34288 fi
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34290 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34291
34292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34293 for ac_func in _logl
34294 do :
34295 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34296 if test "x$ac_cv_func__logl" = xyes; then :
34297 cat >>confdefs.h <<_ACEOF
34298 #define HAVE__LOGL 1
34299 _ACEOF
34300
34301 fi
34302 done
34303
34304 fi
34305 fi
34306
34307
34308
34309
34310
34311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34312 $as_echo_n "checking for log10l declaration... " >&6; }
34313 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34314 if ${glibcxx_cv_func_log10l_use+:} false; then :
34315 $as_echo_n "(cached) " >&6
34316 else
34317
34318
34319 ac_ext=cpp
34320 ac_cpp='$CXXCPP $CPPFLAGS'
34321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34324
34325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34326 /* end confdefs.h. */
34327 #include <math.h>
34328 #ifdef HAVE_IEEEFP_H
34329 #include <ieeefp.h>
34330 #endif
34331
34332 int
34333 main ()
34334 {
34335 log10l(0);
34336 ;
34337 return 0;
34338 }
34339 _ACEOF
34340 if ac_fn_cxx_try_compile "$LINENO"; then :
34341 glibcxx_cv_func_log10l_use=yes
34342 else
34343 glibcxx_cv_func_log10l_use=no
34344 fi
34345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34346 ac_ext=c
34347 ac_cpp='$CPP $CPPFLAGS'
34348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34351
34352
34353 fi
34354
34355 fi
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34357 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34358
34359 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34360 for ac_func in log10l
34361 do :
34362 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34363 if test "x$ac_cv_func_log10l" = xyes; then :
34364 cat >>confdefs.h <<_ACEOF
34365 #define HAVE_LOG10L 1
34366 _ACEOF
34367
34368 fi
34369 done
34370
34371 else
34372
34373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34374 $as_echo_n "checking for _log10l declaration... " >&6; }
34375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34376 if ${glibcxx_cv_func__log10l_use+:} false; then :
34377 $as_echo_n "(cached) " >&6
34378 else
34379
34380
34381 ac_ext=cpp
34382 ac_cpp='$CXXCPP $CPPFLAGS'
34383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34386
34387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34388 /* end confdefs.h. */
34389 #include <math.h>
34390 #ifdef HAVE_IEEEFP_H
34391 #include <ieeefp.h>
34392 #endif
34393
34394 int
34395 main ()
34396 {
34397 _log10l(0);
34398 ;
34399 return 0;
34400 }
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403 glibcxx_cv_func__log10l_use=yes
34404 else
34405 glibcxx_cv_func__log10l_use=no
34406 fi
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34413
34414
34415 fi
34416
34417 fi
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34419 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34420
34421 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34422 for ac_func in _log10l
34423 do :
34424 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34425 if test "x$ac_cv_func__log10l" = xyes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define HAVE__LOG10L 1
34428 _ACEOF
34429
34430 fi
34431 done
34432
34433 fi
34434 fi
34435
34436
34437
34438
34439
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34441 $as_echo_n "checking for modfl declaration... " >&6; }
34442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34443 if ${glibcxx_cv_func_modfl_use+:} false; then :
34444 $as_echo_n "(cached) " >&6
34445 else
34446
34447
34448 ac_ext=cpp
34449 ac_cpp='$CXXCPP $CPPFLAGS'
34450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34453
34454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34455 /* end confdefs.h. */
34456 #include <math.h>
34457 int
34458 main ()
34459 {
34460 modfl(0, 0);
34461 ;
34462 return 0;
34463 }
34464 _ACEOF
34465 if ac_fn_cxx_try_compile "$LINENO"; then :
34466 glibcxx_cv_func_modfl_use=yes
34467 else
34468 glibcxx_cv_func_modfl_use=no
34469 fi
34470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34471 ac_ext=c
34472 ac_cpp='$CPP $CPPFLAGS'
34473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34476
34477
34478 fi
34479
34480 fi
34481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34482 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34483
34484 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34485 for ac_func in modfl
34486 do :
34487 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34488 if test "x$ac_cv_func_modfl" = xyes; then :
34489 cat >>confdefs.h <<_ACEOF
34490 #define HAVE_MODFL 1
34491 _ACEOF
34492
34493 fi
34494 done
34495
34496 else
34497
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34499 $as_echo_n "checking for _modfl declaration... " >&6; }
34500 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34501 if ${glibcxx_cv_func__modfl_use+:} false; then :
34502 $as_echo_n "(cached) " >&6
34503 else
34504
34505
34506 ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h. */
34514 #include <math.h>
34515 int
34516 main ()
34517 {
34518 _modfl(0, 0);
34519 ;
34520 return 0;
34521 }
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func__modfl_use=yes
34525 else
34526 glibcxx_cv_func__modfl_use=no
34527 fi
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529 ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34534
34535
34536 fi
34537
34538 fi
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34540 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34541
34542 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34543 for ac_func in _modfl
34544 do :
34545 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34546 if test "x$ac_cv_func__modfl" = xyes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE__MODFL 1
34549 _ACEOF
34550
34551 fi
34552 done
34553
34554 fi
34555 fi
34556
34557
34558
34559
34560
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34562 $as_echo_n "checking for powl declaration... " >&6; }
34563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34564 if ${glibcxx_cv_func_powl_use+:} false; then :
34565 $as_echo_n "(cached) " >&6
34566 else
34567
34568
34569 ac_ext=cpp
34570 ac_cpp='$CXXCPP $CPPFLAGS'
34571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574
34575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34576 /* end confdefs.h. */
34577 #include <math.h>
34578 int
34579 main ()
34580 {
34581 powl(0, 0);
34582 ;
34583 return 0;
34584 }
34585 _ACEOF
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587 glibcxx_cv_func_powl_use=yes
34588 else
34589 glibcxx_cv_func_powl_use=no
34590 fi
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592 ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34597
34598
34599 fi
34600
34601 fi
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34603 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34604
34605 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34606 for ac_func in powl
34607 do :
34608 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34609 if test "x$ac_cv_func_powl" = xyes; then :
34610 cat >>confdefs.h <<_ACEOF
34611 #define HAVE_POWL 1
34612 _ACEOF
34613
34614 fi
34615 done
34616
34617 else
34618
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34620 $as_echo_n "checking for _powl declaration... " >&6; }
34621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34622 if ${glibcxx_cv_func__powl_use+:} false; then :
34623 $as_echo_n "(cached) " >&6
34624 else
34625
34626
34627 ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632
34633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h. */
34635 #include <math.h>
34636 int
34637 main ()
34638 {
34639 _powl(0, 0);
34640 ;
34641 return 0;
34642 }
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func__powl_use=yes
34646 else
34647 glibcxx_cv_func__powl_use=no
34648 fi
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655
34656
34657 fi
34658
34659 fi
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34661 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34662
34663 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34664 for ac_func in _powl
34665 do :
34666 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34667 if test "x$ac_cv_func__powl" = xyes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE__POWL 1
34670 _ACEOF
34671
34672 fi
34673 done
34674
34675 fi
34676 fi
34677
34678
34679
34680
34681
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34683 $as_echo_n "checking for sqrtl declaration... " >&6; }
34684 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34685 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34688
34689
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34699 #ifdef HAVE_IEEEFP_H
34700 #include <ieeefp.h>
34701 #endif
34702
34703 int
34704 main ()
34705 {
34706 sqrtl(0);
34707 ;
34708 return 0;
34709 }
34710 _ACEOF
34711 if ac_fn_cxx_try_compile "$LINENO"; then :
34712 glibcxx_cv_func_sqrtl_use=yes
34713 else
34714 glibcxx_cv_func_sqrtl_use=no
34715 fi
34716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34717 ac_ext=c
34718 ac_cpp='$CPP $CPPFLAGS'
34719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34722
34723
34724 fi
34725
34726 fi
34727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34728 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34729
34730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34731 for ac_func in sqrtl
34732 do :
34733 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34734 if test "x$ac_cv_func_sqrtl" = xyes; then :
34735 cat >>confdefs.h <<_ACEOF
34736 #define HAVE_SQRTL 1
34737 _ACEOF
34738
34739 fi
34740 done
34741
34742 else
34743
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34745 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34746 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34747 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34748 $as_echo_n "(cached) " >&6
34749 else
34750
34751
34752 ac_ext=cpp
34753 ac_cpp='$CXXCPP $CPPFLAGS'
34754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757
34758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34759 /* end confdefs.h. */
34760 #include <math.h>
34761 #ifdef HAVE_IEEEFP_H
34762 #include <ieeefp.h>
34763 #endif
34764
34765 int
34766 main ()
34767 {
34768 _sqrtl(0);
34769 ;
34770 return 0;
34771 }
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func__sqrtl_use=yes
34775 else
34776 glibcxx_cv_func__sqrtl_use=no
34777 fi
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34784
34785
34786 fi
34787
34788 fi
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34790 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34791
34792 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34793 for ac_func in _sqrtl
34794 do :
34795 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34796 if test "x$ac_cv_func__sqrtl" = xyes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE__SQRTL 1
34799 _ACEOF
34800
34801 fi
34802 done
34803
34804 fi
34805 fi
34806
34807
34808
34809
34810
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34812 $as_echo_n "checking for sincosl declaration... " >&6; }
34813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34814 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34815 $as_echo_n "(cached) " >&6
34816 else
34817
34818
34819 ac_ext=cpp
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824
34825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826 /* end confdefs.h. */
34827 #include <math.h>
34828 int
34829 main ()
34830 {
34831 sincosl(0, 0, 0);
34832 ;
34833 return 0;
34834 }
34835 _ACEOF
34836 if ac_fn_cxx_try_compile "$LINENO"; then :
34837 glibcxx_cv_func_sincosl_use=yes
34838 else
34839 glibcxx_cv_func_sincosl_use=no
34840 fi
34841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34842 ac_ext=c
34843 ac_cpp='$CPP $CPPFLAGS'
34844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847
34848
34849 fi
34850
34851 fi
34852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34853 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34854
34855 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34856 for ac_func in sincosl
34857 do :
34858 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34859 if test "x$ac_cv_func_sincosl" = xyes; then :
34860 cat >>confdefs.h <<_ACEOF
34861 #define HAVE_SINCOSL 1
34862 _ACEOF
34863
34864 fi
34865 done
34866
34867 else
34868
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34870 $as_echo_n "checking for _sincosl declaration... " >&6; }
34871 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34872 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34875
34876
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34886 int
34887 main ()
34888 {
34889 _sincosl(0, 0, 0);
34890 ;
34891 return 0;
34892 }
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func__sincosl_use=yes
34896 else
34897 glibcxx_cv_func__sincosl_use=no
34898 fi
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906
34907 fi
34908
34909 fi
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34911 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34912
34913 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34914 for ac_func in _sincosl
34915 do :
34916 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34917 if test "x$ac_cv_func__sincosl" = xyes; then :
34918 cat >>confdefs.h <<_ACEOF
34919 #define HAVE__SINCOSL 1
34920 _ACEOF
34921
34922 fi
34923 done
34924
34925 fi
34926 fi
34927
34928
34929
34930
34931
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34933 $as_echo_n "checking for finitel declaration... " >&6; }
34934 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34935 if ${glibcxx_cv_func_finitel_use+:} false; then :
34936 $as_echo_n "(cached) " >&6
34937 else
34938
34939
34940 ac_ext=cpp
34941 ac_cpp='$CXXCPP $CPPFLAGS'
34942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34945
34946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h. */
34948 #include <math.h>
34949 #ifdef HAVE_IEEEFP_H
34950 #include <ieeefp.h>
34951 #endif
34952
34953 int
34954 main ()
34955 {
34956 finitel(0);
34957 ;
34958 return 0;
34959 }
34960 _ACEOF
34961 if ac_fn_cxx_try_compile "$LINENO"; then :
34962 glibcxx_cv_func_finitel_use=yes
34963 else
34964 glibcxx_cv_func_finitel_use=no
34965 fi
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967 ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34972
34973
34974 fi
34975
34976 fi
34977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34978 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34979
34980 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34981 for ac_func in finitel
34982 do :
34983 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34984 if test "x$ac_cv_func_finitel" = xyes; then :
34985 cat >>confdefs.h <<_ACEOF
34986 #define HAVE_FINITEL 1
34987 _ACEOF
34988
34989 fi
34990 done
34991
34992 else
34993
34994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34995 $as_echo_n "checking for _finitel declaration... " >&6; }
34996 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34997 if ${glibcxx_cv_func__finitel_use+:} false; then :
34998 $as_echo_n "(cached) " >&6
34999 else
35000
35001
35002 ac_ext=cpp
35003 ac_cpp='$CXXCPP $CPPFLAGS'
35004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35007
35008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35009 /* end confdefs.h. */
35010 #include <math.h>
35011 #ifdef HAVE_IEEEFP_H
35012 #include <ieeefp.h>
35013 #endif
35014
35015 int
35016 main ()
35017 {
35018 _finitel(0);
35019 ;
35020 return 0;
35021 }
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func__finitel_use=yes
35025 else
35026 glibcxx_cv_func__finitel_use=no
35027 fi
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029 ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034
35035
35036 fi
35037
35038 fi
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35040 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35041
35042 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35043 for ac_func in _finitel
35044 do :
35045 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35046 if test "x$ac_cv_func__finitel" = xyes; then :
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE__FINITEL 1
35049 _ACEOF
35050
35051 fi
35052 done
35053
35054 fi
35055 fi
35056
35057
35058
35059
35060 LIBS="$ac_save_LIBS"
35061 CXXFLAGS="$ac_save_CXXFLAGS"
35062
35063
35064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35065 ac_save_CXXFLAGS="$CXXFLAGS"
35066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35067
35068
35069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35070 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35071 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35072 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35073 $as_echo_n "(cached) " >&6
35074 else
35075
35076
35077 ac_ext=cpp
35078 ac_cpp='$CXXCPP $CPPFLAGS'
35079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35082
35083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35084 /* end confdefs.h. */
35085 #include <stdlib.h>
35086 int
35087 main ()
35088 {
35089 at_quick_exit(0);
35090 ;
35091 return 0;
35092 }
35093 _ACEOF
35094 if ac_fn_cxx_try_compile "$LINENO"; then :
35095 glibcxx_cv_func_at_quick_exit_use=yes
35096 else
35097 glibcxx_cv_func_at_quick_exit_use=no
35098 fi
35099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35100 ac_ext=c
35101 ac_cpp='$CPP $CPPFLAGS'
35102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35105
35106
35107 fi
35108
35109 fi
35110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35111 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35112 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35113 for ac_func in at_quick_exit
35114 do :
35115 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35116 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35117 cat >>confdefs.h <<_ACEOF
35118 #define HAVE_AT_QUICK_EXIT 1
35119 _ACEOF
35120
35121 fi
35122 done
35123
35124 fi
35125
35126
35127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35128 $as_echo_n "checking for quick_exit declaration... " >&6; }
35129 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35130 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35131 $as_echo_n "(cached) " >&6
35132 else
35133
35134
35135 ac_ext=cpp
35136 ac_cpp='$CXXCPP $CPPFLAGS'
35137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140
35141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35142 /* end confdefs.h. */
35143 #include <stdlib.h>
35144 int
35145 main ()
35146 {
35147 quick_exit(0);
35148 ;
35149 return 0;
35150 }
35151 _ACEOF
35152 if ac_fn_cxx_try_compile "$LINENO"; then :
35153 glibcxx_cv_func_quick_exit_use=yes
35154 else
35155 glibcxx_cv_func_quick_exit_use=no
35156 fi
35157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35158 ac_ext=c
35159 ac_cpp='$CPP $CPPFLAGS'
35160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35163
35164
35165 fi
35166
35167 fi
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35169 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35170 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35171 for ac_func in quick_exit
35172 do :
35173 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35174 if test "x$ac_cv_func_quick_exit" = xyes; then :
35175 cat >>confdefs.h <<_ACEOF
35176 #define HAVE_QUICK_EXIT 1
35177 _ACEOF
35178
35179 fi
35180 done
35181
35182 fi
35183
35184
35185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35186 $as_echo_n "checking for strtold declaration... " >&6; }
35187 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35188 if ${glibcxx_cv_func_strtold_use+:} false; then :
35189 $as_echo_n "(cached) " >&6
35190 else
35191
35192
35193 ac_ext=cpp
35194 ac_cpp='$CXXCPP $CPPFLAGS'
35195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198
35199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35200 /* end confdefs.h. */
35201 #include <stdlib.h>
35202 int
35203 main ()
35204 {
35205 strtold(0, 0);
35206 ;
35207 return 0;
35208 }
35209 _ACEOF
35210 if ac_fn_cxx_try_compile "$LINENO"; then :
35211 glibcxx_cv_func_strtold_use=yes
35212 else
35213 glibcxx_cv_func_strtold_use=no
35214 fi
35215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35216 ac_ext=c
35217 ac_cpp='$CPP $CPPFLAGS'
35218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35221
35222
35223 fi
35224
35225 fi
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35227 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35228 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35229 for ac_func in strtold
35230 do :
35231 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35232 if test "x$ac_cv_func_strtold" = xyes; then :
35233 cat >>confdefs.h <<_ACEOF
35234 #define HAVE_STRTOLD 1
35235 _ACEOF
35236
35237 fi
35238 done
35239
35240 fi
35241
35242
35243
35244
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35246 $as_echo_n "checking for strtof declaration... " >&6; }
35247 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35248 if ${glibcxx_cv_func_strtof_use+:} false; then :
35249 $as_echo_n "(cached) " >&6
35250 else
35251
35252
35253 ac_ext=cpp
35254 ac_cpp='$CXXCPP $CPPFLAGS'
35255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35258
35259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35260 /* end confdefs.h. */
35261 #include <stdlib.h>
35262 int
35263 main ()
35264 {
35265 strtof(0, 0);
35266 ;
35267 return 0;
35268 }
35269 _ACEOF
35270 if ac_fn_cxx_try_compile "$LINENO"; then :
35271 glibcxx_cv_func_strtof_use=yes
35272 else
35273 glibcxx_cv_func_strtof_use=no
35274 fi
35275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35276 ac_ext=c
35277 ac_cpp='$CPP $CPPFLAGS'
35278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35281
35282
35283 fi
35284
35285 fi
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35287 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35288 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35289 for ac_func in strtof
35290 do :
35291 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35292 if test "x$ac_cv_func_strtof" = xyes; then :
35293 cat >>confdefs.h <<_ACEOF
35294 #define HAVE_STRTOF 1
35295 _ACEOF
35296
35297 fi
35298 done
35299
35300 fi
35301
35302
35303
35304
35305 CXXFLAGS="$ac_save_CXXFLAGS"
35306
35307
35308 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35309
35310 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35311
35312 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35313
35314 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35315
35316
35317 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35318
35319 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35320
35321 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35322
35323 ;;
35324
35325 spu-*-elf*)
35326
35327 # All these tests are for C++; save the language and the compiler flags.
35328 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35329 # found in GLIBCXX_CONFIGURE.
35330
35331 ac_ext=cpp
35332 ac_cpp='$CXXCPP $CPPFLAGS'
35333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35336
35337 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35338 ac_save_CXXFLAGS="$CXXFLAGS"
35339
35340 # Check for -ffunction-sections -fdata-sections
35341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35342 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35343 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35345 /* end confdefs.h. */
35346 int foo; void bar() { };
35347 int
35348 main ()
35349 {
35350
35351 ;
35352 return 0;
35353 }
35354 _ACEOF
35355 if ac_fn_cxx_try_compile "$LINENO"; then :
35356 ac_fdsections=yes
35357 else
35358 ac_fdsections=no
35359 fi
35360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35361 if test "$ac_test_CXXFLAGS" = set; then
35362 CXXFLAGS="$ac_save_CXXFLAGS"
35363 else
35364 # this is the suspicious part
35365 CXXFLAGS=''
35366 fi
35367 if test x"$ac_fdsections" = x"yes"; then
35368 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35369 fi
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35371 $as_echo "$ac_fdsections" >&6; }
35372
35373 ac_ext=c
35374 ac_cpp='$CPP $CPPFLAGS'
35375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35378
35379
35380
35381
35382 # If we're not using GNU ld, then there's no point in even trying these
35383 # tests. Check for that first. We should have already tested for gld
35384 # by now (in libtool), but require it now just to be safe...
35385 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35386 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35387
35388
35389
35390 # The name set by libtool depends on the version of libtool. Shame on us
35391 # for depending on an impl detail, but c'est la vie. Older versions used
35392 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35393 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35394 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35395 # set (hence we're using an older libtool), then set it.
35396 if test x${with_gnu_ld+set} != xset; then
35397 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35398 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35399 with_gnu_ld=no
35400 else
35401 with_gnu_ld=$ac_cv_prog_gnu_ld
35402 fi
35403 fi
35404
35405 # Start by getting the version number. I think the libtool test already
35406 # does some of this, but throws away the result.
35407 glibcxx_ld_is_gold=no
35408 if test x"$with_gnu_ld" = x"yes"; then
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35410 $as_echo_n "checking for ld version... " >&6; }
35411
35412 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35413 glibcxx_ld_is_gold=yes
35414 fi
35415 ldver=`$LD --version 2>/dev/null |
35416 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'`
35417
35418 glibcxx_gnu_ld_version=`echo $ldver | \
35419 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35421 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35422 fi
35423
35424 # Set --gc-sections.
35425 glibcxx_have_gc_sections=no
35426 if test "$glibcxx_ld_is_gold" = "yes"; then
35427 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35428 glibcxx_have_gc_sections=yes
35429 fi
35430 else
35431 glibcxx_gcsections_min_ld=21602
35432 if test x"$with_gnu_ld" = x"yes" &&
35433 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35434 glibcxx_have_gc_sections=yes
35435 fi
35436 fi
35437 if test "$glibcxx_have_gc_sections" = "yes"; then
35438 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35439 # NB: This flag only works reliably after 2.16.1. Configure tests
35440 # for this are difficult, so hard wire a value that should work.
35441
35442 ac_test_CFLAGS="${CFLAGS+set}"
35443 ac_save_CFLAGS="$CFLAGS"
35444 CFLAGS='-Wl,--gc-sections'
35445
35446 # Check for -Wl,--gc-sections
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35448 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35449 if test x$gcc_no_link = xyes; then
35450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35451 fi
35452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35453 /* end confdefs.h. */
35454 int one(void) { return 1; }
35455 int two(void) { return 2; }
35456
35457 int
35458 main ()
35459 {
35460 two();
35461 ;
35462 return 0;
35463 }
35464 _ACEOF
35465 if ac_fn_c_try_link "$LINENO"; then :
35466 ac_gcsections=yes
35467 else
35468 ac_gcsections=no
35469 fi
35470 rm -f core conftest.err conftest.$ac_objext \
35471 conftest$ac_exeext conftest.$ac_ext
35472 if test "$ac_gcsections" = "yes"; then
35473 rm -f conftest.c
35474 touch conftest.c
35475 if $CC -c conftest.c; then
35476 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35477 grep "Warning: gc-sections option ignored" > /dev/null; then
35478 ac_gcsections=no
35479 fi
35480 fi
35481 rm -f conftest.c conftest.o conftest
35482 fi
35483 if test "$ac_gcsections" = "yes"; then
35484 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35485 fi
35486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35487 $as_echo "$ac_gcsections" >&6; }
35488
35489 if test "$ac_test_CFLAGS" = set; then
35490 CFLAGS="$ac_save_CFLAGS"
35491 else
35492 # this is the suspicious part
35493 CFLAGS=''
35494 fi
35495 fi
35496
35497 # Set -z,relro.
35498 # Note this is only for shared objects.
35499 ac_ld_relro=no
35500 if test x"$with_gnu_ld" = x"yes"; then
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35502 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35503 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35504 if test -n "$cxx_z_relo"; then
35505 OPT_LDFLAGS="-Wl,-z,relro"
35506 ac_ld_relro=yes
35507 fi
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35509 $as_echo "$ac_ld_relro" >&6; }
35510 fi
35511
35512 # Set linker optimization flags.
35513 if test x"$with_gnu_ld" = x"yes"; then
35514 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35515 fi
35516
35517
35518
35519
35520
35521 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35522 ac_save_CXXFLAGS="$CXXFLAGS"
35523 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35524
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35526 $as_echo_n "checking for sin in -lm... " >&6; }
35527 if ${ac_cv_lib_m_sin+:} false; then :
35528 $as_echo_n "(cached) " >&6
35529 else
35530 ac_check_lib_save_LIBS=$LIBS
35531 LIBS="-lm $LIBS"
35532 if test x$gcc_no_link = xyes; then
35533 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35534 fi
35535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35536 /* end confdefs.h. */
35537
35538 /* Override any GCC internal prototype to avoid an error.
35539 Use char because int might match the return type of a GCC
35540 builtin and then its argument prototype would still apply. */
35541 #ifdef __cplusplus
35542 extern "C"
35543 #endif
35544 char sin ();
35545 int
35546 main ()
35547 {
35548 return sin ();
35549 ;
35550 return 0;
35551 }
35552 _ACEOF
35553 if ac_fn_c_try_link "$LINENO"; then :
35554 ac_cv_lib_m_sin=yes
35555 else
35556 ac_cv_lib_m_sin=no
35557 fi
35558 rm -f core conftest.err conftest.$ac_objext \
35559 conftest$ac_exeext conftest.$ac_ext
35560 LIBS=$ac_check_lib_save_LIBS
35561 fi
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35563 $as_echo "$ac_cv_lib_m_sin" >&6; }
35564 if test "x$ac_cv_lib_m_sin" = xyes; then :
35565 libm="-lm"
35566 fi
35567
35568 ac_save_LIBS="$LIBS"
35569 LIBS="$LIBS $libm"
35570
35571
35572
35573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35574 $as_echo_n "checking for isinf declaration... " >&6; }
35575 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35576 if ${glibcxx_cv_func_isinf_use+:} false; then :
35577 $as_echo_n "(cached) " >&6
35578 else
35579
35580
35581 ac_ext=cpp
35582 ac_cpp='$CXXCPP $CPPFLAGS'
35583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35586
35587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35588 /* end confdefs.h. */
35589 #include <math.h>
35590 #ifdef HAVE_IEEEFP_H
35591 #include <ieeefp.h>
35592 #endif
35593
35594 int
35595 main ()
35596 {
35597 isinf(0);
35598 ;
35599 return 0;
35600 }
35601 _ACEOF
35602 if ac_fn_cxx_try_compile "$LINENO"; then :
35603 glibcxx_cv_func_isinf_use=yes
35604 else
35605 glibcxx_cv_func_isinf_use=no
35606 fi
35607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35608 ac_ext=c
35609 ac_cpp='$CPP $CPPFLAGS'
35610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35613
35614
35615 fi
35616
35617 fi
35618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35619 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35620
35621 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35622 for ac_func in isinf
35623 do :
35624 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35625 if test "x$ac_cv_func_isinf" = xyes; then :
35626 cat >>confdefs.h <<_ACEOF
35627 #define HAVE_ISINF 1
35628 _ACEOF
35629
35630 fi
35631 done
35632
35633 else
35634
35635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35636 $as_echo_n "checking for _isinf declaration... " >&6; }
35637 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35638 if ${glibcxx_cv_func__isinf_use+:} false; then :
35639 $as_echo_n "(cached) " >&6
35640 else
35641
35642
35643 ac_ext=cpp
35644 ac_cpp='$CXXCPP $CPPFLAGS'
35645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35648
35649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35650 /* end confdefs.h. */
35651 #include <math.h>
35652 #ifdef HAVE_IEEEFP_H
35653 #include <ieeefp.h>
35654 #endif
35655
35656 int
35657 main ()
35658 {
35659 _isinf(0);
35660 ;
35661 return 0;
35662 }
35663 _ACEOF
35664 if ac_fn_cxx_try_compile "$LINENO"; then :
35665 glibcxx_cv_func__isinf_use=yes
35666 else
35667 glibcxx_cv_func__isinf_use=no
35668 fi
35669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35670 ac_ext=c
35671 ac_cpp='$CPP $CPPFLAGS'
35672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35675
35676
35677 fi
35678
35679 fi
35680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35681 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35682
35683 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35684 for ac_func in _isinf
35685 do :
35686 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35687 if test "x$ac_cv_func__isinf" = xyes; then :
35688 cat >>confdefs.h <<_ACEOF
35689 #define HAVE__ISINF 1
35690 _ACEOF
35691
35692 fi
35693 done
35694
35695 fi
35696 fi
35697
35698
35699
35700
35701
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35703 $as_echo_n "checking for isnan declaration... " >&6; }
35704 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35705 if ${glibcxx_cv_func_isnan_use+:} false; then :
35706 $as_echo_n "(cached) " >&6
35707 else
35708
35709
35710 ac_ext=cpp
35711 ac_cpp='$CXXCPP $CPPFLAGS'
35712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35715
35716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35717 /* end confdefs.h. */
35718 #include <math.h>
35719 #ifdef HAVE_IEEEFP_H
35720 #include <ieeefp.h>
35721 #endif
35722
35723 int
35724 main ()
35725 {
35726 isnan(0);
35727 ;
35728 return 0;
35729 }
35730 _ACEOF
35731 if ac_fn_cxx_try_compile "$LINENO"; then :
35732 glibcxx_cv_func_isnan_use=yes
35733 else
35734 glibcxx_cv_func_isnan_use=no
35735 fi
35736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35737 ac_ext=c
35738 ac_cpp='$CPP $CPPFLAGS'
35739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35742
35743
35744 fi
35745
35746 fi
35747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35748 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35749
35750 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35751 for ac_func in isnan
35752 do :
35753 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35754 if test "x$ac_cv_func_isnan" = xyes; then :
35755 cat >>confdefs.h <<_ACEOF
35756 #define HAVE_ISNAN 1
35757 _ACEOF
35758
35759 fi
35760 done
35761
35762 else
35763
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35765 $as_echo_n "checking for _isnan declaration... " >&6; }
35766 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35767 if ${glibcxx_cv_func__isnan_use+:} false; then :
35768 $as_echo_n "(cached) " >&6
35769 else
35770
35771
35772 ac_ext=cpp
35773 ac_cpp='$CXXCPP $CPPFLAGS'
35774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777
35778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35779 /* end confdefs.h. */
35780 #include <math.h>
35781 #ifdef HAVE_IEEEFP_H
35782 #include <ieeefp.h>
35783 #endif
35784
35785 int
35786 main ()
35787 {
35788 _isnan(0);
35789 ;
35790 return 0;
35791 }
35792 _ACEOF
35793 if ac_fn_cxx_try_compile "$LINENO"; then :
35794 glibcxx_cv_func__isnan_use=yes
35795 else
35796 glibcxx_cv_func__isnan_use=no
35797 fi
35798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799 ac_ext=c
35800 ac_cpp='$CPP $CPPFLAGS'
35801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804
35805
35806 fi
35807
35808 fi
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35810 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35811
35812 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35813 for ac_func in _isnan
35814 do :
35815 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35816 if test "x$ac_cv_func__isnan" = xyes; then :
35817 cat >>confdefs.h <<_ACEOF
35818 #define HAVE__ISNAN 1
35819 _ACEOF
35820
35821 fi
35822 done
35823
35824 fi
35825 fi
35826
35827
35828
35829
35830
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35832 $as_echo_n "checking for finite declaration... " >&6; }
35833 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35834 if ${glibcxx_cv_func_finite_use+:} false; then :
35835 $as_echo_n "(cached) " >&6
35836 else
35837
35838
35839 ac_ext=cpp
35840 ac_cpp='$CXXCPP $CPPFLAGS'
35841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35844
35845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35846 /* end confdefs.h. */
35847 #include <math.h>
35848 #ifdef HAVE_IEEEFP_H
35849 #include <ieeefp.h>
35850 #endif
35851
35852 int
35853 main ()
35854 {
35855 finite(0);
35856 ;
35857 return 0;
35858 }
35859 _ACEOF
35860 if ac_fn_cxx_try_compile "$LINENO"; then :
35861 glibcxx_cv_func_finite_use=yes
35862 else
35863 glibcxx_cv_func_finite_use=no
35864 fi
35865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35866 ac_ext=c
35867 ac_cpp='$CPP $CPPFLAGS'
35868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35871
35872
35873 fi
35874
35875 fi
35876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35877 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35878
35879 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35880 for ac_func in finite
35881 do :
35882 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35883 if test "x$ac_cv_func_finite" = xyes; then :
35884 cat >>confdefs.h <<_ACEOF
35885 #define HAVE_FINITE 1
35886 _ACEOF
35887
35888 fi
35889 done
35890
35891 else
35892
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35894 $as_echo_n "checking for _finite declaration... " >&6; }
35895 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35896 if ${glibcxx_cv_func__finite_use+:} false; then :
35897 $as_echo_n "(cached) " >&6
35898 else
35899
35900
35901 ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906
35907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35908 /* end confdefs.h. */
35909 #include <math.h>
35910 #ifdef HAVE_IEEEFP_H
35911 #include <ieeefp.h>
35912 #endif
35913
35914 int
35915 main ()
35916 {
35917 _finite(0);
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923 glibcxx_cv_func__finite_use=yes
35924 else
35925 glibcxx_cv_func__finite_use=no
35926 fi
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35933
35934
35935 fi
35936
35937 fi
35938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35939 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35940
35941 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35942 for ac_func in _finite
35943 do :
35944 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35945 if test "x$ac_cv_func__finite" = xyes; then :
35946 cat >>confdefs.h <<_ACEOF
35947 #define HAVE__FINITE 1
35948 _ACEOF
35949
35950 fi
35951 done
35952
35953 fi
35954 fi
35955
35956
35957
35958
35959
35960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35961 $as_echo_n "checking for sincos declaration... " >&6; }
35962 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35963 if ${glibcxx_cv_func_sincos_use+:} false; then :
35964 $as_echo_n "(cached) " >&6
35965 else
35966
35967
35968 ac_ext=cpp
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973
35974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35975 /* end confdefs.h. */
35976 #include <math.h>
35977 int
35978 main ()
35979 {
35980 sincos(0, 0, 0);
35981 ;
35982 return 0;
35983 }
35984 _ACEOF
35985 if ac_fn_cxx_try_compile "$LINENO"; then :
35986 glibcxx_cv_func_sincos_use=yes
35987 else
35988 glibcxx_cv_func_sincos_use=no
35989 fi
35990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35991 ac_ext=c
35992 ac_cpp='$CPP $CPPFLAGS'
35993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35996
35997
35998 fi
35999
36000 fi
36001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36002 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36003
36004 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36005 for ac_func in sincos
36006 do :
36007 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36008 if test "x$ac_cv_func_sincos" = xyes; then :
36009 cat >>confdefs.h <<_ACEOF
36010 #define HAVE_SINCOS 1
36011 _ACEOF
36012
36013 fi
36014 done
36015
36016 else
36017
36018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36019 $as_echo_n "checking for _sincos declaration... " >&6; }
36020 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36021 if ${glibcxx_cv_func__sincos_use+:} false; then :
36022 $as_echo_n "(cached) " >&6
36023 else
36024
36025
36026 ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031
36032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36033 /* end confdefs.h. */
36034 #include <math.h>
36035 int
36036 main ()
36037 {
36038 _sincos(0, 0, 0);
36039 ;
36040 return 0;
36041 }
36042 _ACEOF
36043 if ac_fn_cxx_try_compile "$LINENO"; then :
36044 glibcxx_cv_func__sincos_use=yes
36045 else
36046 glibcxx_cv_func__sincos_use=no
36047 fi
36048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36049 ac_ext=c
36050 ac_cpp='$CPP $CPPFLAGS'
36051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36054
36055
36056 fi
36057
36058 fi
36059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36060 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36061
36062 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36063 for ac_func in _sincos
36064 do :
36065 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36066 if test "x$ac_cv_func__sincos" = xyes; then :
36067 cat >>confdefs.h <<_ACEOF
36068 #define HAVE__SINCOS 1
36069 _ACEOF
36070
36071 fi
36072 done
36073
36074 fi
36075 fi
36076
36077
36078
36079
36080
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36082 $as_echo_n "checking for fpclass declaration... " >&6; }
36083 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36084 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36085 $as_echo_n "(cached) " >&6
36086 else
36087
36088
36089 ac_ext=cpp
36090 ac_cpp='$CXXCPP $CPPFLAGS'
36091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094
36095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36096 /* end confdefs.h. */
36097 #include <math.h>
36098 #ifdef HAVE_IEEEFP_H
36099 #include <ieeefp.h>
36100 #endif
36101
36102 int
36103 main ()
36104 {
36105 fpclass(0);
36106 ;
36107 return 0;
36108 }
36109 _ACEOF
36110 if ac_fn_cxx_try_compile "$LINENO"; then :
36111 glibcxx_cv_func_fpclass_use=yes
36112 else
36113 glibcxx_cv_func_fpclass_use=no
36114 fi
36115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36116 ac_ext=c
36117 ac_cpp='$CPP $CPPFLAGS'
36118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121
36122
36123 fi
36124
36125 fi
36126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36127 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36128
36129 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36130 for ac_func in fpclass
36131 do :
36132 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36133 if test "x$ac_cv_func_fpclass" = xyes; then :
36134 cat >>confdefs.h <<_ACEOF
36135 #define HAVE_FPCLASS 1
36136 _ACEOF
36137
36138 fi
36139 done
36140
36141 else
36142
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36144 $as_echo_n "checking for _fpclass declaration... " >&6; }
36145 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36146 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36147 $as_echo_n "(cached) " >&6
36148 else
36149
36150
36151 ac_ext=cpp
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36156
36157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36158 /* end confdefs.h. */
36159 #include <math.h>
36160 #ifdef HAVE_IEEEFP_H
36161 #include <ieeefp.h>
36162 #endif
36163
36164 int
36165 main ()
36166 {
36167 _fpclass(0);
36168 ;
36169 return 0;
36170 }
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173 glibcxx_cv_func__fpclass_use=yes
36174 else
36175 glibcxx_cv_func__fpclass_use=no
36176 fi
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36183
36184
36185 fi
36186
36187 fi
36188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36189 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36190
36191 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36192 for ac_func in _fpclass
36193 do :
36194 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36195 if test "x$ac_cv_func__fpclass" = xyes; then :
36196 cat >>confdefs.h <<_ACEOF
36197 #define HAVE__FPCLASS 1
36198 _ACEOF
36199
36200 fi
36201 done
36202
36203 fi
36204 fi
36205
36206
36207
36208
36209
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36211 $as_echo_n "checking for qfpclass declaration... " >&6; }
36212 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36213 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36214 $as_echo_n "(cached) " >&6
36215 else
36216
36217
36218 ac_ext=cpp
36219 ac_cpp='$CXXCPP $CPPFLAGS'
36220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223
36224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36225 /* end confdefs.h. */
36226 #include <math.h>
36227 #ifdef HAVE_IEEEFP_H
36228 #include <ieeefp.h>
36229 #endif
36230
36231 int
36232 main ()
36233 {
36234 qfpclass(0);
36235 ;
36236 return 0;
36237 }
36238 _ACEOF
36239 if ac_fn_cxx_try_compile "$LINENO"; then :
36240 glibcxx_cv_func_qfpclass_use=yes
36241 else
36242 glibcxx_cv_func_qfpclass_use=no
36243 fi
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36245 ac_ext=c
36246 ac_cpp='$CPP $CPPFLAGS'
36247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250
36251
36252 fi
36253
36254 fi
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36256 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36257
36258 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36259 for ac_func in qfpclass
36260 do :
36261 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36262 if test "x$ac_cv_func_qfpclass" = xyes; then :
36263 cat >>confdefs.h <<_ACEOF
36264 #define HAVE_QFPCLASS 1
36265 _ACEOF
36266
36267 fi
36268 done
36269
36270 else
36271
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36273 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36274 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36275 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36276 $as_echo_n "(cached) " >&6
36277 else
36278
36279
36280 ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36285
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h. */
36288 #include <math.h>
36289 #ifdef HAVE_IEEEFP_H
36290 #include <ieeefp.h>
36291 #endif
36292
36293 int
36294 main ()
36295 {
36296 _qfpclass(0);
36297 ;
36298 return 0;
36299 }
36300 _ACEOF
36301 if ac_fn_cxx_try_compile "$LINENO"; then :
36302 glibcxx_cv_func__qfpclass_use=yes
36303 else
36304 glibcxx_cv_func__qfpclass_use=no
36305 fi
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307 ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36312
36313
36314 fi
36315
36316 fi
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36318 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36319
36320 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36321 for ac_func in _qfpclass
36322 do :
36323 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36324 if test "x$ac_cv_func__qfpclass" = xyes; then :
36325 cat >>confdefs.h <<_ACEOF
36326 #define HAVE__QFPCLASS 1
36327 _ACEOF
36328
36329 fi
36330 done
36331
36332 fi
36333 fi
36334
36335
36336
36337
36338
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36340 $as_echo_n "checking for hypot declaration... " >&6; }
36341 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36342 if ${glibcxx_cv_func_hypot_use+:} false; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36345
36346
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36352
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36356 int
36357 main ()
36358 {
36359 hypot(0, 0);
36360 ;
36361 return 0;
36362 }
36363 _ACEOF
36364 if ac_fn_cxx_try_compile "$LINENO"; then :
36365 glibcxx_cv_func_hypot_use=yes
36366 else
36367 glibcxx_cv_func_hypot_use=no
36368 fi
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370 ac_ext=c
36371 ac_cpp='$CPP $CPPFLAGS'
36372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36375
36376
36377 fi
36378
36379 fi
36380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36381 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36382
36383 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36384 for ac_func in hypot
36385 do :
36386 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36387 if test "x$ac_cv_func_hypot" = xyes; then :
36388 cat >>confdefs.h <<_ACEOF
36389 #define HAVE_HYPOT 1
36390 _ACEOF
36391
36392 fi
36393 done
36394
36395 else
36396
36397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36398 $as_echo_n "checking for _hypot declaration... " >&6; }
36399 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36400 if ${glibcxx_cv_func__hypot_use+:} false; then :
36401 $as_echo_n "(cached) " >&6
36402 else
36403
36404
36405 ac_ext=cpp
36406 ac_cpp='$CXXCPP $CPPFLAGS'
36407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36410
36411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36412 /* end confdefs.h. */
36413 #include <math.h>
36414 int
36415 main ()
36416 {
36417 _hypot(0, 0);
36418 ;
36419 return 0;
36420 }
36421 _ACEOF
36422 if ac_fn_cxx_try_compile "$LINENO"; then :
36423 glibcxx_cv_func__hypot_use=yes
36424 else
36425 glibcxx_cv_func__hypot_use=no
36426 fi
36427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36428 ac_ext=c
36429 ac_cpp='$CPP $CPPFLAGS'
36430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36433
36434
36435 fi
36436
36437 fi
36438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36439 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36440
36441 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36442 for ac_func in _hypot
36443 do :
36444 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36445 if test "x$ac_cv_func__hypot" = xyes; then :
36446 cat >>confdefs.h <<_ACEOF
36447 #define HAVE__HYPOT 1
36448 _ACEOF
36449
36450 fi
36451 done
36452
36453 fi
36454 fi
36455
36456
36457
36458
36459
36460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36461 $as_echo_n "checking for float trig functions... " >&6; }
36462 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36463 $as_echo_n "(cached) " >&6
36464 else
36465
36466
36467 ac_ext=cpp
36468 ac_cpp='$CXXCPP $CPPFLAGS'
36469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36472
36473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36474 /* end confdefs.h. */
36475 #include <math.h>
36476 int
36477 main ()
36478 {
36479 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36480 ;
36481 return 0;
36482 }
36483 _ACEOF
36484 if ac_fn_cxx_try_compile "$LINENO"; then :
36485 glibcxx_cv_func_float_trig_use=yes
36486 else
36487 glibcxx_cv_func_float_trig_use=no
36488 fi
36489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36490 ac_ext=c
36491 ac_cpp='$CPP $CPPFLAGS'
36492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36495
36496 fi
36497
36498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36499 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36500 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36501 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36502 do :
36503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36505 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36506 cat >>confdefs.h <<_ACEOF
36507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36508 _ACEOF
36509
36510 fi
36511 done
36512
36513 else
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36515 $as_echo_n "checking for _float trig functions... " >&6; }
36516 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36517 $as_echo_n "(cached) " >&6
36518 else
36519
36520
36521 ac_ext=cpp
36522 ac_cpp='$CXXCPP $CPPFLAGS'
36523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526
36527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36528 /* end confdefs.h. */
36529 #include <math.h>
36530 int
36531 main ()
36532 {
36533 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36534 ;
36535 return 0;
36536 }
36537 _ACEOF
36538 if ac_fn_cxx_try_compile "$LINENO"; then :
36539 glibcxx_cv_func__float_trig_use=yes
36540 else
36541 glibcxx_cv_func__float_trig_use=no
36542 fi
36543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36544 ac_ext=c
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36549
36550 fi
36551
36552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36553 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36554 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36555 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36556 do :
36557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36559 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36560 cat >>confdefs.h <<_ACEOF
36561 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36562 _ACEOF
36563
36564 fi
36565 done
36566
36567 fi
36568 fi
36569
36570
36571
36572
36573
36574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36575 $as_echo_n "checking for float round functions... " >&6; }
36576 if ${glibcxx_cv_func_float_round_use+:} false; then :
36577 $as_echo_n "(cached) " >&6
36578 else
36579
36580
36581 ac_ext=cpp
36582 ac_cpp='$CXXCPP $CPPFLAGS'
36583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36586
36587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36588 /* end confdefs.h. */
36589 #include <math.h>
36590 int
36591 main ()
36592 {
36593 ceilf (0); floorf (0);
36594 ;
36595 return 0;
36596 }
36597 _ACEOF
36598 if ac_fn_cxx_try_compile "$LINENO"; then :
36599 glibcxx_cv_func_float_round_use=yes
36600 else
36601 glibcxx_cv_func_float_round_use=no
36602 fi
36603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36604 ac_ext=c
36605 ac_cpp='$CPP $CPPFLAGS'
36606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36609
36610 fi
36611
36612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36613 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36614 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36615 for ac_func in ceilf floorf
36616 do :
36617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36619 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36620 cat >>confdefs.h <<_ACEOF
36621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36622 _ACEOF
36623
36624 fi
36625 done
36626
36627 else
36628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36629 $as_echo_n "checking for _float round functions... " >&6; }
36630 if ${glibcxx_cv_func__float_round_use+:} false; then :
36631 $as_echo_n "(cached) " >&6
36632 else
36633
36634
36635 ac_ext=cpp
36636 ac_cpp='$CXXCPP $CPPFLAGS'
36637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36640
36641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36642 /* end confdefs.h. */
36643 #include <math.h>
36644 int
36645 main ()
36646 {
36647 _ceilf (0); _floorf (0);
36648 ;
36649 return 0;
36650 }
36651 _ACEOF
36652 if ac_fn_cxx_try_compile "$LINENO"; then :
36653 glibcxx_cv_func__float_round_use=yes
36654 else
36655 glibcxx_cv_func__float_round_use=no
36656 fi
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658 ac_ext=c
36659 ac_cpp='$CPP $CPPFLAGS'
36660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36663
36664 fi
36665
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36667 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36668 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36669 for ac_func in _ceilf _floorf
36670 do :
36671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36673 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36674 cat >>confdefs.h <<_ACEOF
36675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36676 _ACEOF
36677
36678 fi
36679 done
36680
36681 fi
36682 fi
36683
36684
36685
36686
36687
36688
36689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36690 $as_echo_n "checking for expf declaration... " >&6; }
36691 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36692 if ${glibcxx_cv_func_expf_use+:} false; then :
36693 $as_echo_n "(cached) " >&6
36694 else
36695
36696
36697 ac_ext=cpp
36698 ac_cpp='$CXXCPP $CPPFLAGS'
36699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36702
36703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36704 /* end confdefs.h. */
36705 #include <math.h>
36706 #ifdef HAVE_IEEEFP_H
36707 #include <ieeefp.h>
36708 #endif
36709
36710 int
36711 main ()
36712 {
36713 expf(0);
36714 ;
36715 return 0;
36716 }
36717 _ACEOF
36718 if ac_fn_cxx_try_compile "$LINENO"; then :
36719 glibcxx_cv_func_expf_use=yes
36720 else
36721 glibcxx_cv_func_expf_use=no
36722 fi
36723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36724 ac_ext=c
36725 ac_cpp='$CPP $CPPFLAGS'
36726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36729
36730
36731 fi
36732
36733 fi
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36735 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36736
36737 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36738 for ac_func in expf
36739 do :
36740 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36741 if test "x$ac_cv_func_expf" = xyes; then :
36742 cat >>confdefs.h <<_ACEOF
36743 #define HAVE_EXPF 1
36744 _ACEOF
36745
36746 fi
36747 done
36748
36749 else
36750
36751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36752 $as_echo_n "checking for _expf declaration... " >&6; }
36753 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36754 if ${glibcxx_cv_func__expf_use+:} false; then :
36755 $as_echo_n "(cached) " >&6
36756 else
36757
36758
36759 ac_ext=cpp
36760 ac_cpp='$CXXCPP $CPPFLAGS'
36761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36764
36765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36766 /* end confdefs.h. */
36767 #include <math.h>
36768 #ifdef HAVE_IEEEFP_H
36769 #include <ieeefp.h>
36770 #endif
36771
36772 int
36773 main ()
36774 {
36775 _expf(0);
36776 ;
36777 return 0;
36778 }
36779 _ACEOF
36780 if ac_fn_cxx_try_compile "$LINENO"; then :
36781 glibcxx_cv_func__expf_use=yes
36782 else
36783 glibcxx_cv_func__expf_use=no
36784 fi
36785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36786 ac_ext=c
36787 ac_cpp='$CPP $CPPFLAGS'
36788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36791
36792
36793 fi
36794
36795 fi
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36797 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36798
36799 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36800 for ac_func in _expf
36801 do :
36802 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36803 if test "x$ac_cv_func__expf" = xyes; then :
36804 cat >>confdefs.h <<_ACEOF
36805 #define HAVE__EXPF 1
36806 _ACEOF
36807
36808 fi
36809 done
36810
36811 fi
36812 fi
36813
36814
36815
36816
36817
36818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36819 $as_echo_n "checking for isnanf declaration... " >&6; }
36820 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36821 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36822 $as_echo_n "(cached) " >&6
36823 else
36824
36825
36826 ac_ext=cpp
36827 ac_cpp='$CXXCPP $CPPFLAGS'
36828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831
36832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36833 /* end confdefs.h. */
36834 #include <math.h>
36835 #ifdef HAVE_IEEEFP_H
36836 #include <ieeefp.h>
36837 #endif
36838
36839 int
36840 main ()
36841 {
36842 isnanf(0);
36843 ;
36844 return 0;
36845 }
36846 _ACEOF
36847 if ac_fn_cxx_try_compile "$LINENO"; then :
36848 glibcxx_cv_func_isnanf_use=yes
36849 else
36850 glibcxx_cv_func_isnanf_use=no
36851 fi
36852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36853 ac_ext=c
36854 ac_cpp='$CPP $CPPFLAGS'
36855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36858
36859
36860 fi
36861
36862 fi
36863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36864 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36865
36866 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36867 for ac_func in isnanf
36868 do :
36869 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36870 if test "x$ac_cv_func_isnanf" = xyes; then :
36871 cat >>confdefs.h <<_ACEOF
36872 #define HAVE_ISNANF 1
36873 _ACEOF
36874
36875 fi
36876 done
36877
36878 else
36879
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36881 $as_echo_n "checking for _isnanf declaration... " >&6; }
36882 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36883 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36884 $as_echo_n "(cached) " >&6
36885 else
36886
36887
36888 ac_ext=cpp
36889 ac_cpp='$CXXCPP $CPPFLAGS'
36890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36893
36894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36895 /* end confdefs.h. */
36896 #include <math.h>
36897 #ifdef HAVE_IEEEFP_H
36898 #include <ieeefp.h>
36899 #endif
36900
36901 int
36902 main ()
36903 {
36904 _isnanf(0);
36905 ;
36906 return 0;
36907 }
36908 _ACEOF
36909 if ac_fn_cxx_try_compile "$LINENO"; then :
36910 glibcxx_cv_func__isnanf_use=yes
36911 else
36912 glibcxx_cv_func__isnanf_use=no
36913 fi
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915 ac_ext=c
36916 ac_cpp='$CPP $CPPFLAGS'
36917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36920
36921
36922 fi
36923
36924 fi
36925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36926 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36927
36928 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36929 for ac_func in _isnanf
36930 do :
36931 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36932 if test "x$ac_cv_func__isnanf" = xyes; then :
36933 cat >>confdefs.h <<_ACEOF
36934 #define HAVE__ISNANF 1
36935 _ACEOF
36936
36937 fi
36938 done
36939
36940 fi
36941 fi
36942
36943
36944
36945
36946
36947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36948 $as_echo_n "checking for isinff declaration... " >&6; }
36949 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36950 if ${glibcxx_cv_func_isinff_use+:} false; then :
36951 $as_echo_n "(cached) " >&6
36952 else
36953
36954
36955 ac_ext=cpp
36956 ac_cpp='$CXXCPP $CPPFLAGS'
36957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36960
36961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36962 /* end confdefs.h. */
36963 #include <math.h>
36964 #ifdef HAVE_IEEEFP_H
36965 #include <ieeefp.h>
36966 #endif
36967
36968 int
36969 main ()
36970 {
36971 isinff(0);
36972 ;
36973 return 0;
36974 }
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func_isinff_use=yes
36978 else
36979 glibcxx_cv_func_isinff_use=no
36980 fi
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982 ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36987
36988
36989 fi
36990
36991 fi
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36993 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36994
36995 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36996 for ac_func in isinff
36997 do :
36998 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36999 if test "x$ac_cv_func_isinff" = xyes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE_ISINFF 1
37002 _ACEOF
37003
37004 fi
37005 done
37006
37007 else
37008
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37010 $as_echo_n "checking for _isinff declaration... " >&6; }
37011 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37012 if ${glibcxx_cv_func__isinff_use+:} false; then :
37013 $as_echo_n "(cached) " >&6
37014 else
37015
37016
37017 ac_ext=cpp
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37022
37023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h. */
37025 #include <math.h>
37026 #ifdef HAVE_IEEEFP_H
37027 #include <ieeefp.h>
37028 #endif
37029
37030 int
37031 main ()
37032 {
37033 _isinff(0);
37034 ;
37035 return 0;
37036 }
37037 _ACEOF
37038 if ac_fn_cxx_try_compile "$LINENO"; then :
37039 glibcxx_cv_func__isinff_use=yes
37040 else
37041 glibcxx_cv_func__isinff_use=no
37042 fi
37043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37044 ac_ext=c
37045 ac_cpp='$CPP $CPPFLAGS'
37046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37049
37050
37051 fi
37052
37053 fi
37054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37055 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37056
37057 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37058 for ac_func in _isinff
37059 do :
37060 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37061 if test "x$ac_cv_func__isinff" = xyes; then :
37062 cat >>confdefs.h <<_ACEOF
37063 #define HAVE__ISINFF 1
37064 _ACEOF
37065
37066 fi
37067 done
37068
37069 fi
37070 fi
37071
37072
37073
37074
37075
37076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37077 $as_echo_n "checking for atan2f declaration... " >&6; }
37078 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37079 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37080 $as_echo_n "(cached) " >&6
37081 else
37082
37083
37084 ac_ext=cpp
37085 ac_cpp='$CXXCPP $CPPFLAGS'
37086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089
37090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37091 /* end confdefs.h. */
37092 #include <math.h>
37093 int
37094 main ()
37095 {
37096 atan2f(0, 0);
37097 ;
37098 return 0;
37099 }
37100 _ACEOF
37101 if ac_fn_cxx_try_compile "$LINENO"; then :
37102 glibcxx_cv_func_atan2f_use=yes
37103 else
37104 glibcxx_cv_func_atan2f_use=no
37105 fi
37106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37107 ac_ext=c
37108 ac_cpp='$CPP $CPPFLAGS'
37109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112
37113
37114 fi
37115
37116 fi
37117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37118 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37119
37120 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37121 for ac_func in atan2f
37122 do :
37123 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37124 if test "x$ac_cv_func_atan2f" = xyes; then :
37125 cat >>confdefs.h <<_ACEOF
37126 #define HAVE_ATAN2F 1
37127 _ACEOF
37128
37129 fi
37130 done
37131
37132 else
37133
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37135 $as_echo_n "checking for _atan2f declaration... " >&6; }
37136 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37137 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37138 $as_echo_n "(cached) " >&6
37139 else
37140
37141
37142 ac_ext=cpp
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37150 #include <math.h>
37151 int
37152 main ()
37153 {
37154 _atan2f(0, 0);
37155 ;
37156 return 0;
37157 }
37158 _ACEOF
37159 if ac_fn_cxx_try_compile "$LINENO"; then :
37160 glibcxx_cv_func__atan2f_use=yes
37161 else
37162 glibcxx_cv_func__atan2f_use=no
37163 fi
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165 ac_ext=c
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170
37171
37172 fi
37173
37174 fi
37175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37176 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37177
37178 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37179 for ac_func in _atan2f
37180 do :
37181 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37182 if test "x$ac_cv_func__atan2f" = xyes; then :
37183 cat >>confdefs.h <<_ACEOF
37184 #define HAVE__ATAN2F 1
37185 _ACEOF
37186
37187 fi
37188 done
37189
37190 fi
37191 fi
37192
37193
37194
37195
37196
37197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37198 $as_echo_n "checking for fabsf declaration... " >&6; }
37199 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37200 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37201 $as_echo_n "(cached) " >&6
37202 else
37203
37204
37205 ac_ext=cpp
37206 ac_cpp='$CXXCPP $CPPFLAGS'
37207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37210
37211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37212 /* end confdefs.h. */
37213 #include <math.h>
37214 #ifdef HAVE_IEEEFP_H
37215 #include <ieeefp.h>
37216 #endif
37217
37218 int
37219 main ()
37220 {
37221 fabsf(0);
37222 ;
37223 return 0;
37224 }
37225 _ACEOF
37226 if ac_fn_cxx_try_compile "$LINENO"; then :
37227 glibcxx_cv_func_fabsf_use=yes
37228 else
37229 glibcxx_cv_func_fabsf_use=no
37230 fi
37231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37232 ac_ext=c
37233 ac_cpp='$CPP $CPPFLAGS'
37234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237
37238
37239 fi
37240
37241 fi
37242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37243 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37244
37245 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37246 for ac_func in fabsf
37247 do :
37248 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37249 if test "x$ac_cv_func_fabsf" = xyes; then :
37250 cat >>confdefs.h <<_ACEOF
37251 #define HAVE_FABSF 1
37252 _ACEOF
37253
37254 fi
37255 done
37256
37257 else
37258
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37260 $as_echo_n "checking for _fabsf declaration... " >&6; }
37261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37262 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37263 $as_echo_n "(cached) " >&6
37264 else
37265
37266
37267 ac_ext=cpp
37268 ac_cpp='$CXXCPP $CPPFLAGS'
37269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272
37273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37274 /* end confdefs.h. */
37275 #include <math.h>
37276 #ifdef HAVE_IEEEFP_H
37277 #include <ieeefp.h>
37278 #endif
37279
37280 int
37281 main ()
37282 {
37283 _fabsf(0);
37284 ;
37285 return 0;
37286 }
37287 _ACEOF
37288 if ac_fn_cxx_try_compile "$LINENO"; then :
37289 glibcxx_cv_func__fabsf_use=yes
37290 else
37291 glibcxx_cv_func__fabsf_use=no
37292 fi
37293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37294 ac_ext=c
37295 ac_cpp='$CPP $CPPFLAGS'
37296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299
37300
37301 fi
37302
37303 fi
37304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37305 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37306
37307 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37308 for ac_func in _fabsf
37309 do :
37310 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37311 if test "x$ac_cv_func__fabsf" = xyes; then :
37312 cat >>confdefs.h <<_ACEOF
37313 #define HAVE__FABSF 1
37314 _ACEOF
37315
37316 fi
37317 done
37318
37319 fi
37320 fi
37321
37322
37323
37324
37325
37326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37327 $as_echo_n "checking for fmodf declaration... " >&6; }
37328 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37329 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37330 $as_echo_n "(cached) " >&6
37331 else
37332
37333
37334 ac_ext=cpp
37335 ac_cpp='$CXXCPP $CPPFLAGS'
37336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37339
37340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37341 /* end confdefs.h. */
37342 #include <math.h>
37343 int
37344 main ()
37345 {
37346 fmodf(0, 0);
37347 ;
37348 return 0;
37349 }
37350 _ACEOF
37351 if ac_fn_cxx_try_compile "$LINENO"; then :
37352 glibcxx_cv_func_fmodf_use=yes
37353 else
37354 glibcxx_cv_func_fmodf_use=no
37355 fi
37356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37357 ac_ext=c
37358 ac_cpp='$CPP $CPPFLAGS'
37359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37362
37363
37364 fi
37365
37366 fi
37367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37368 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37369
37370 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37371 for ac_func in fmodf
37372 do :
37373 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37374 if test "x$ac_cv_func_fmodf" = xyes; then :
37375 cat >>confdefs.h <<_ACEOF
37376 #define HAVE_FMODF 1
37377 _ACEOF
37378
37379 fi
37380 done
37381
37382 else
37383
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37385 $as_echo_n "checking for _fmodf declaration... " >&6; }
37386 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37387 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37388 $as_echo_n "(cached) " >&6
37389 else
37390
37391
37392 ac_ext=cpp
37393 ac_cpp='$CXXCPP $CPPFLAGS'
37394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37397
37398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37399 /* end confdefs.h. */
37400 #include <math.h>
37401 int
37402 main ()
37403 {
37404 _fmodf(0, 0);
37405 ;
37406 return 0;
37407 }
37408 _ACEOF
37409 if ac_fn_cxx_try_compile "$LINENO"; then :
37410 glibcxx_cv_func__fmodf_use=yes
37411 else
37412 glibcxx_cv_func__fmodf_use=no
37413 fi
37414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37415 ac_ext=c
37416 ac_cpp='$CPP $CPPFLAGS'
37417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37420
37421
37422 fi
37423
37424 fi
37425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37426 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37427
37428 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37429 for ac_func in _fmodf
37430 do :
37431 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37432 if test "x$ac_cv_func__fmodf" = xyes; then :
37433 cat >>confdefs.h <<_ACEOF
37434 #define HAVE__FMODF 1
37435 _ACEOF
37436
37437 fi
37438 done
37439
37440 fi
37441 fi
37442
37443
37444
37445
37446
37447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37448 $as_echo_n "checking for frexpf declaration... " >&6; }
37449 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37450 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37451 $as_echo_n "(cached) " >&6
37452 else
37453
37454
37455 ac_ext=cpp
37456 ac_cpp='$CXXCPP $CPPFLAGS'
37457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37460
37461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37462 /* end confdefs.h. */
37463 #include <math.h>
37464 int
37465 main ()
37466 {
37467 frexpf(0, 0);
37468 ;
37469 return 0;
37470 }
37471 _ACEOF
37472 if ac_fn_cxx_try_compile "$LINENO"; then :
37473 glibcxx_cv_func_frexpf_use=yes
37474 else
37475 glibcxx_cv_func_frexpf_use=no
37476 fi
37477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37478 ac_ext=c
37479 ac_cpp='$CPP $CPPFLAGS'
37480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37483
37484
37485 fi
37486
37487 fi
37488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37489 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37490
37491 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37492 for ac_func in frexpf
37493 do :
37494 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37495 if test "x$ac_cv_func_frexpf" = xyes; then :
37496 cat >>confdefs.h <<_ACEOF
37497 #define HAVE_FREXPF 1
37498 _ACEOF
37499
37500 fi
37501 done
37502
37503 else
37504
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37506 $as_echo_n "checking for _frexpf declaration... " >&6; }
37507 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37508 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37509 $as_echo_n "(cached) " >&6
37510 else
37511
37512
37513 ac_ext=cpp
37514 ac_cpp='$CXXCPP $CPPFLAGS'
37515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37518
37519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37520 /* end confdefs.h. */
37521 #include <math.h>
37522 int
37523 main ()
37524 {
37525 _frexpf(0, 0);
37526 ;
37527 return 0;
37528 }
37529 _ACEOF
37530 if ac_fn_cxx_try_compile "$LINENO"; then :
37531 glibcxx_cv_func__frexpf_use=yes
37532 else
37533 glibcxx_cv_func__frexpf_use=no
37534 fi
37535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37536 ac_ext=c
37537 ac_cpp='$CPP $CPPFLAGS'
37538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37541
37542
37543 fi
37544
37545 fi
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37547 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37548
37549 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37550 for ac_func in _frexpf
37551 do :
37552 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37553 if test "x$ac_cv_func__frexpf" = xyes; then :
37554 cat >>confdefs.h <<_ACEOF
37555 #define HAVE__FREXPF 1
37556 _ACEOF
37557
37558 fi
37559 done
37560
37561 fi
37562 fi
37563
37564
37565
37566
37567
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37569 $as_echo_n "checking for hypotf declaration... " >&6; }
37570 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37571 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37572 $as_echo_n "(cached) " >&6
37573 else
37574
37575
37576 ac_ext=cpp
37577 ac_cpp='$CXXCPP $CPPFLAGS'
37578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37581
37582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37583 /* end confdefs.h. */
37584 #include <math.h>
37585 int
37586 main ()
37587 {
37588 hypotf(0, 0);
37589 ;
37590 return 0;
37591 }
37592 _ACEOF
37593 if ac_fn_cxx_try_compile "$LINENO"; then :
37594 glibcxx_cv_func_hypotf_use=yes
37595 else
37596 glibcxx_cv_func_hypotf_use=no
37597 fi
37598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37599 ac_ext=c
37600 ac_cpp='$CPP $CPPFLAGS'
37601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37604
37605
37606 fi
37607
37608 fi
37609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37610 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37611
37612 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37613 for ac_func in hypotf
37614 do :
37615 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37616 if test "x$ac_cv_func_hypotf" = xyes; then :
37617 cat >>confdefs.h <<_ACEOF
37618 #define HAVE_HYPOTF 1
37619 _ACEOF
37620
37621 fi
37622 done
37623
37624 else
37625
37626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37627 $as_echo_n "checking for _hypotf declaration... " >&6; }
37628 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37629 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37630 $as_echo_n "(cached) " >&6
37631 else
37632
37633
37634 ac_ext=cpp
37635 ac_cpp='$CXXCPP $CPPFLAGS'
37636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37639
37640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37641 /* end confdefs.h. */
37642 #include <math.h>
37643 int
37644 main ()
37645 {
37646 _hypotf(0, 0);
37647 ;
37648 return 0;
37649 }
37650 _ACEOF
37651 if ac_fn_cxx_try_compile "$LINENO"; then :
37652 glibcxx_cv_func__hypotf_use=yes
37653 else
37654 glibcxx_cv_func__hypotf_use=no
37655 fi
37656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37657 ac_ext=c
37658 ac_cpp='$CPP $CPPFLAGS'
37659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37662
37663
37664 fi
37665
37666 fi
37667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37668 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37669
37670 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37671 for ac_func in _hypotf
37672 do :
37673 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37674 if test "x$ac_cv_func__hypotf" = xyes; then :
37675 cat >>confdefs.h <<_ACEOF
37676 #define HAVE__HYPOTF 1
37677 _ACEOF
37678
37679 fi
37680 done
37681
37682 fi
37683 fi
37684
37685
37686
37687
37688
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37690 $as_echo_n "checking for ldexpf declaration... " >&6; }
37691 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37692 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37693 $as_echo_n "(cached) " >&6
37694 else
37695
37696
37697 ac_ext=cpp
37698 ac_cpp='$CXXCPP $CPPFLAGS'
37699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37702
37703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37704 /* end confdefs.h. */
37705 #include <math.h>
37706 int
37707 main ()
37708 {
37709 ldexpf(0, 0);
37710 ;
37711 return 0;
37712 }
37713 _ACEOF
37714 if ac_fn_cxx_try_compile "$LINENO"; then :
37715 glibcxx_cv_func_ldexpf_use=yes
37716 else
37717 glibcxx_cv_func_ldexpf_use=no
37718 fi
37719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37720 ac_ext=c
37721 ac_cpp='$CPP $CPPFLAGS'
37722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37725
37726
37727 fi
37728
37729 fi
37730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37731 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37732
37733 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37734 for ac_func in ldexpf
37735 do :
37736 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37737 if test "x$ac_cv_func_ldexpf" = xyes; then :
37738 cat >>confdefs.h <<_ACEOF
37739 #define HAVE_LDEXPF 1
37740 _ACEOF
37741
37742 fi
37743 done
37744
37745 else
37746
37747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37748 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37749 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37750 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37751 $as_echo_n "(cached) " >&6
37752 else
37753
37754
37755 ac_ext=cpp
37756 ac_cpp='$CXXCPP $CPPFLAGS'
37757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37760
37761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37762 /* end confdefs.h. */
37763 #include <math.h>
37764 int
37765 main ()
37766 {
37767 _ldexpf(0, 0);
37768 ;
37769 return 0;
37770 }
37771 _ACEOF
37772 if ac_fn_cxx_try_compile "$LINENO"; then :
37773 glibcxx_cv_func__ldexpf_use=yes
37774 else
37775 glibcxx_cv_func__ldexpf_use=no
37776 fi
37777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37778 ac_ext=c
37779 ac_cpp='$CPP $CPPFLAGS'
37780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37783
37784
37785 fi
37786
37787 fi
37788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37789 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37790
37791 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37792 for ac_func in _ldexpf
37793 do :
37794 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37795 if test "x$ac_cv_func__ldexpf" = xyes; then :
37796 cat >>confdefs.h <<_ACEOF
37797 #define HAVE__LDEXPF 1
37798 _ACEOF
37799
37800 fi
37801 done
37802
37803 fi
37804 fi
37805
37806
37807
37808
37809
37810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37811 $as_echo_n "checking for logf declaration... " >&6; }
37812 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37813 if ${glibcxx_cv_func_logf_use+:} false; then :
37814 $as_echo_n "(cached) " >&6
37815 else
37816
37817
37818 ac_ext=cpp
37819 ac_cpp='$CXXCPP $CPPFLAGS'
37820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37823
37824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37825 /* end confdefs.h. */
37826 #include <math.h>
37827 #ifdef HAVE_IEEEFP_H
37828 #include <ieeefp.h>
37829 #endif
37830
37831 int
37832 main ()
37833 {
37834 logf(0);
37835 ;
37836 return 0;
37837 }
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840 glibcxx_cv_func_logf_use=yes
37841 else
37842 glibcxx_cv_func_logf_use=no
37843 fi
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37850
37851
37852 fi
37853
37854 fi
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37856 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37857
37858 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37859 for ac_func in logf
37860 do :
37861 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37862 if test "x$ac_cv_func_logf" = xyes; then :
37863 cat >>confdefs.h <<_ACEOF
37864 #define HAVE_LOGF 1
37865 _ACEOF
37866
37867 fi
37868 done
37869
37870 else
37871
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37873 $as_echo_n "checking for _logf declaration... " >&6; }
37874 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37875 if ${glibcxx_cv_func__logf_use+:} false; then :
37876 $as_echo_n "(cached) " >&6
37877 else
37878
37879
37880 ac_ext=cpp
37881 ac_cpp='$CXXCPP $CPPFLAGS'
37882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885
37886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37887 /* end confdefs.h. */
37888 #include <math.h>
37889 #ifdef HAVE_IEEEFP_H
37890 #include <ieeefp.h>
37891 #endif
37892
37893 int
37894 main ()
37895 {
37896 _logf(0);
37897 ;
37898 return 0;
37899 }
37900 _ACEOF
37901 if ac_fn_cxx_try_compile "$LINENO"; then :
37902 glibcxx_cv_func__logf_use=yes
37903 else
37904 glibcxx_cv_func__logf_use=no
37905 fi
37906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37907 ac_ext=c
37908 ac_cpp='$CPP $CPPFLAGS'
37909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37912
37913
37914 fi
37915
37916 fi
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37918 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37919
37920 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37921 for ac_func in _logf
37922 do :
37923 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37924 if test "x$ac_cv_func__logf" = xyes; then :
37925 cat >>confdefs.h <<_ACEOF
37926 #define HAVE__LOGF 1
37927 _ACEOF
37928
37929 fi
37930 done
37931
37932 fi
37933 fi
37934
37935
37936
37937
37938
37939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37940 $as_echo_n "checking for log10f declaration... " >&6; }
37941 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37942 if ${glibcxx_cv_func_log10f_use+:} false; then :
37943 $as_echo_n "(cached) " >&6
37944 else
37945
37946
37947 ac_ext=cpp
37948 ac_cpp='$CXXCPP $CPPFLAGS'
37949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37952
37953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37954 /* end confdefs.h. */
37955 #include <math.h>
37956 #ifdef HAVE_IEEEFP_H
37957 #include <ieeefp.h>
37958 #endif
37959
37960 int
37961 main ()
37962 {
37963 log10f(0);
37964 ;
37965 return 0;
37966 }
37967 _ACEOF
37968 if ac_fn_cxx_try_compile "$LINENO"; then :
37969 glibcxx_cv_func_log10f_use=yes
37970 else
37971 glibcxx_cv_func_log10f_use=no
37972 fi
37973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37974 ac_ext=c
37975 ac_cpp='$CPP $CPPFLAGS'
37976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979
37980
37981 fi
37982
37983 fi
37984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37985 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37986
37987 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37988 for ac_func in log10f
37989 do :
37990 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37991 if test "x$ac_cv_func_log10f" = xyes; then :
37992 cat >>confdefs.h <<_ACEOF
37993 #define HAVE_LOG10F 1
37994 _ACEOF
37995
37996 fi
37997 done
37998
37999 else
38000
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38002 $as_echo_n "checking for _log10f declaration... " >&6; }
38003 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38004 if ${glibcxx_cv_func__log10f_use+:} false; then :
38005 $as_echo_n "(cached) " >&6
38006 else
38007
38008
38009 ac_ext=cpp
38010 ac_cpp='$CXXCPP $CPPFLAGS'
38011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014
38015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38016 /* end confdefs.h. */
38017 #include <math.h>
38018 #ifdef HAVE_IEEEFP_H
38019 #include <ieeefp.h>
38020 #endif
38021
38022 int
38023 main ()
38024 {
38025 _log10f(0);
38026 ;
38027 return 0;
38028 }
38029 _ACEOF
38030 if ac_fn_cxx_try_compile "$LINENO"; then :
38031 glibcxx_cv_func__log10f_use=yes
38032 else
38033 glibcxx_cv_func__log10f_use=no
38034 fi
38035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38036 ac_ext=c
38037 ac_cpp='$CPP $CPPFLAGS'
38038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38041
38042
38043 fi
38044
38045 fi
38046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38047 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38048
38049 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38050 for ac_func in _log10f
38051 do :
38052 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38053 if test "x$ac_cv_func__log10f" = xyes; then :
38054 cat >>confdefs.h <<_ACEOF
38055 #define HAVE__LOG10F 1
38056 _ACEOF
38057
38058 fi
38059 done
38060
38061 fi
38062 fi
38063
38064
38065
38066
38067
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38069 $as_echo_n "checking for modff declaration... " >&6; }
38070 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38071 if ${glibcxx_cv_func_modff_use+:} false; then :
38072 $as_echo_n "(cached) " >&6
38073 else
38074
38075
38076 ac_ext=cpp
38077 ac_cpp='$CXXCPP $CPPFLAGS'
38078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081
38082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38083 /* end confdefs.h. */
38084 #include <math.h>
38085 int
38086 main ()
38087 {
38088 modff(0, 0);
38089 ;
38090 return 0;
38091 }
38092 _ACEOF
38093 if ac_fn_cxx_try_compile "$LINENO"; then :
38094 glibcxx_cv_func_modff_use=yes
38095 else
38096 glibcxx_cv_func_modff_use=no
38097 fi
38098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38099 ac_ext=c
38100 ac_cpp='$CPP $CPPFLAGS'
38101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38104
38105
38106 fi
38107
38108 fi
38109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38110 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38111
38112 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38113 for ac_func in modff
38114 do :
38115 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38116 if test "x$ac_cv_func_modff" = xyes; then :
38117 cat >>confdefs.h <<_ACEOF
38118 #define HAVE_MODFF 1
38119 _ACEOF
38120
38121 fi
38122 done
38123
38124 else
38125
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38127 $as_echo_n "checking for _modff declaration... " >&6; }
38128 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38129 if ${glibcxx_cv_func__modff_use+:} false; then :
38130 $as_echo_n "(cached) " >&6
38131 else
38132
38133
38134 ac_ext=cpp
38135 ac_cpp='$CXXCPP $CPPFLAGS'
38136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38139
38140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38141 /* end confdefs.h. */
38142 #include <math.h>
38143 int
38144 main ()
38145 {
38146 _modff(0, 0);
38147 ;
38148 return 0;
38149 }
38150 _ACEOF
38151 if ac_fn_cxx_try_compile "$LINENO"; then :
38152 glibcxx_cv_func__modff_use=yes
38153 else
38154 glibcxx_cv_func__modff_use=no
38155 fi
38156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38157 ac_ext=c
38158 ac_cpp='$CPP $CPPFLAGS'
38159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38162
38163
38164 fi
38165
38166 fi
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38168 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38169
38170 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38171 for ac_func in _modff
38172 do :
38173 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38174 if test "x$ac_cv_func__modff" = xyes; then :
38175 cat >>confdefs.h <<_ACEOF
38176 #define HAVE__MODFF 1
38177 _ACEOF
38178
38179 fi
38180 done
38181
38182 fi
38183 fi
38184
38185
38186
38187
38188
38189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38190 $as_echo_n "checking for modf declaration... " >&6; }
38191 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38192 if ${glibcxx_cv_func_modf_use+:} false; then :
38193 $as_echo_n "(cached) " >&6
38194 else
38195
38196
38197 ac_ext=cpp
38198 ac_cpp='$CXXCPP $CPPFLAGS'
38199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38202
38203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38204 /* end confdefs.h. */
38205 #include <math.h>
38206 int
38207 main ()
38208 {
38209 modf(0, 0);
38210 ;
38211 return 0;
38212 }
38213 _ACEOF
38214 if ac_fn_cxx_try_compile "$LINENO"; then :
38215 glibcxx_cv_func_modf_use=yes
38216 else
38217 glibcxx_cv_func_modf_use=no
38218 fi
38219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38220 ac_ext=c
38221 ac_cpp='$CPP $CPPFLAGS'
38222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38225
38226
38227 fi
38228
38229 fi
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38231 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38232
38233 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38234 for ac_func in modf
38235 do :
38236 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38237 if test "x$ac_cv_func_modf" = xyes; then :
38238 cat >>confdefs.h <<_ACEOF
38239 #define HAVE_MODF 1
38240 _ACEOF
38241
38242 fi
38243 done
38244
38245 else
38246
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38248 $as_echo_n "checking for _modf declaration... " >&6; }
38249 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38250 if ${glibcxx_cv_func__modf_use+:} false; then :
38251 $as_echo_n "(cached) " >&6
38252 else
38253
38254
38255 ac_ext=cpp
38256 ac_cpp='$CXXCPP $CPPFLAGS'
38257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38260
38261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38262 /* end confdefs.h. */
38263 #include <math.h>
38264 int
38265 main ()
38266 {
38267 _modf(0, 0);
38268 ;
38269 return 0;
38270 }
38271 _ACEOF
38272 if ac_fn_cxx_try_compile "$LINENO"; then :
38273 glibcxx_cv_func__modf_use=yes
38274 else
38275 glibcxx_cv_func__modf_use=no
38276 fi
38277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38278 ac_ext=c
38279 ac_cpp='$CPP $CPPFLAGS'
38280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38283
38284
38285 fi
38286
38287 fi
38288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38289 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38290
38291 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38292 for ac_func in _modf
38293 do :
38294 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38295 if test "x$ac_cv_func__modf" = xyes; then :
38296 cat >>confdefs.h <<_ACEOF
38297 #define HAVE__MODF 1
38298 _ACEOF
38299
38300 fi
38301 done
38302
38303 fi
38304 fi
38305
38306
38307
38308
38309
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38311 $as_echo_n "checking for powf declaration... " >&6; }
38312 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38313 if ${glibcxx_cv_func_powf_use+:} false; then :
38314 $as_echo_n "(cached) " >&6
38315 else
38316
38317
38318 ac_ext=cpp
38319 ac_cpp='$CXXCPP $CPPFLAGS'
38320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38323
38324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38325 /* end confdefs.h. */
38326 #include <math.h>
38327 int
38328 main ()
38329 {
38330 powf(0, 0);
38331 ;
38332 return 0;
38333 }
38334 _ACEOF
38335 if ac_fn_cxx_try_compile "$LINENO"; then :
38336 glibcxx_cv_func_powf_use=yes
38337 else
38338 glibcxx_cv_func_powf_use=no
38339 fi
38340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38341 ac_ext=c
38342 ac_cpp='$CPP $CPPFLAGS'
38343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38346
38347
38348 fi
38349
38350 fi
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38352 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38353
38354 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38355 for ac_func in powf
38356 do :
38357 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38358 if test "x$ac_cv_func_powf" = xyes; then :
38359 cat >>confdefs.h <<_ACEOF
38360 #define HAVE_POWF 1
38361 _ACEOF
38362
38363 fi
38364 done
38365
38366 else
38367
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38369 $as_echo_n "checking for _powf declaration... " >&6; }
38370 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38371 if ${glibcxx_cv_func__powf_use+:} false; then :
38372 $as_echo_n "(cached) " >&6
38373 else
38374
38375
38376 ac_ext=cpp
38377 ac_cpp='$CXXCPP $CPPFLAGS'
38378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381
38382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38383 /* end confdefs.h. */
38384 #include <math.h>
38385 int
38386 main ()
38387 {
38388 _powf(0, 0);
38389 ;
38390 return 0;
38391 }
38392 _ACEOF
38393 if ac_fn_cxx_try_compile "$LINENO"; then :
38394 glibcxx_cv_func__powf_use=yes
38395 else
38396 glibcxx_cv_func__powf_use=no
38397 fi
38398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404
38405
38406 fi
38407
38408 fi
38409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38410 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38411
38412 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38413 for ac_func in _powf
38414 do :
38415 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38416 if test "x$ac_cv_func__powf" = xyes; then :
38417 cat >>confdefs.h <<_ACEOF
38418 #define HAVE__POWF 1
38419 _ACEOF
38420
38421 fi
38422 done
38423
38424 fi
38425 fi
38426
38427
38428
38429
38430
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38432 $as_echo_n "checking for sqrtf declaration... " >&6; }
38433 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38434 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38435 $as_echo_n "(cached) " >&6
38436 else
38437
38438
38439 ac_ext=cpp
38440 ac_cpp='$CXXCPP $CPPFLAGS'
38441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38444
38445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38446 /* end confdefs.h. */
38447 #include <math.h>
38448 #ifdef HAVE_IEEEFP_H
38449 #include <ieeefp.h>
38450 #endif
38451
38452 int
38453 main ()
38454 {
38455 sqrtf(0);
38456 ;
38457 return 0;
38458 }
38459 _ACEOF
38460 if ac_fn_cxx_try_compile "$LINENO"; then :
38461 glibcxx_cv_func_sqrtf_use=yes
38462 else
38463 glibcxx_cv_func_sqrtf_use=no
38464 fi
38465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38466 ac_ext=c
38467 ac_cpp='$CPP $CPPFLAGS'
38468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38471
38472
38473 fi
38474
38475 fi
38476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38477 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38478
38479 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38480 for ac_func in sqrtf
38481 do :
38482 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38483 if test "x$ac_cv_func_sqrtf" = xyes; then :
38484 cat >>confdefs.h <<_ACEOF
38485 #define HAVE_SQRTF 1
38486 _ACEOF
38487
38488 fi
38489 done
38490
38491 else
38492
38493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38494 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38495 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38496 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38497 $as_echo_n "(cached) " >&6
38498 else
38499
38500
38501 ac_ext=cpp
38502 ac_cpp='$CXXCPP $CPPFLAGS'
38503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38506
38507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38508 /* end confdefs.h. */
38509 #include <math.h>
38510 #ifdef HAVE_IEEEFP_H
38511 #include <ieeefp.h>
38512 #endif
38513
38514 int
38515 main ()
38516 {
38517 _sqrtf(0);
38518 ;
38519 return 0;
38520 }
38521 _ACEOF
38522 if ac_fn_cxx_try_compile "$LINENO"; then :
38523 glibcxx_cv_func__sqrtf_use=yes
38524 else
38525 glibcxx_cv_func__sqrtf_use=no
38526 fi
38527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38528 ac_ext=c
38529 ac_cpp='$CPP $CPPFLAGS'
38530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38533
38534
38535 fi
38536
38537 fi
38538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38539 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38540
38541 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38542 for ac_func in _sqrtf
38543 do :
38544 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38545 if test "x$ac_cv_func__sqrtf" = xyes; then :
38546 cat >>confdefs.h <<_ACEOF
38547 #define HAVE__SQRTF 1
38548 _ACEOF
38549
38550 fi
38551 done
38552
38553 fi
38554 fi
38555
38556
38557
38558
38559
38560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38561 $as_echo_n "checking for sincosf declaration... " >&6; }
38562 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38563 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38564 $as_echo_n "(cached) " >&6
38565 else
38566
38567
38568 ac_ext=cpp
38569 ac_cpp='$CXXCPP $CPPFLAGS'
38570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38573
38574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38575 /* end confdefs.h. */
38576 #include <math.h>
38577 int
38578 main ()
38579 {
38580 sincosf(0, 0, 0);
38581 ;
38582 return 0;
38583 }
38584 _ACEOF
38585 if ac_fn_cxx_try_compile "$LINENO"; then :
38586 glibcxx_cv_func_sincosf_use=yes
38587 else
38588 glibcxx_cv_func_sincosf_use=no
38589 fi
38590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38591 ac_ext=c
38592 ac_cpp='$CPP $CPPFLAGS'
38593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38596
38597
38598 fi
38599
38600 fi
38601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38602 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38603
38604 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38605 for ac_func in sincosf
38606 do :
38607 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38608 if test "x$ac_cv_func_sincosf" = xyes; then :
38609 cat >>confdefs.h <<_ACEOF
38610 #define HAVE_SINCOSF 1
38611 _ACEOF
38612
38613 fi
38614 done
38615
38616 else
38617
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38619 $as_echo_n "checking for _sincosf declaration... " >&6; }
38620 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38621 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38622 $as_echo_n "(cached) " >&6
38623 else
38624
38625
38626 ac_ext=cpp
38627 ac_cpp='$CXXCPP $CPPFLAGS'
38628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38631
38632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38633 /* end confdefs.h. */
38634 #include <math.h>
38635 int
38636 main ()
38637 {
38638 _sincosf(0, 0, 0);
38639 ;
38640 return 0;
38641 }
38642 _ACEOF
38643 if ac_fn_cxx_try_compile "$LINENO"; then :
38644 glibcxx_cv_func__sincosf_use=yes
38645 else
38646 glibcxx_cv_func__sincosf_use=no
38647 fi
38648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38649 ac_ext=c
38650 ac_cpp='$CPP $CPPFLAGS'
38651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38654
38655
38656 fi
38657
38658 fi
38659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38660 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38661
38662 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38663 for ac_func in _sincosf
38664 do :
38665 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38666 if test "x$ac_cv_func__sincosf" = xyes; then :
38667 cat >>confdefs.h <<_ACEOF
38668 #define HAVE__SINCOSF 1
38669 _ACEOF
38670
38671 fi
38672 done
38673
38674 fi
38675 fi
38676
38677
38678
38679
38680
38681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38682 $as_echo_n "checking for finitef declaration... " >&6; }
38683 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38684 if ${glibcxx_cv_func_finitef_use+:} false; then :
38685 $as_echo_n "(cached) " >&6
38686 else
38687
38688
38689 ac_ext=cpp
38690 ac_cpp='$CXXCPP $CPPFLAGS'
38691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38694
38695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38696 /* end confdefs.h. */
38697 #include <math.h>
38698 #ifdef HAVE_IEEEFP_H
38699 #include <ieeefp.h>
38700 #endif
38701
38702 int
38703 main ()
38704 {
38705 finitef(0);
38706 ;
38707 return 0;
38708 }
38709 _ACEOF
38710 if ac_fn_cxx_try_compile "$LINENO"; then :
38711 glibcxx_cv_func_finitef_use=yes
38712 else
38713 glibcxx_cv_func_finitef_use=no
38714 fi
38715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38716 ac_ext=c
38717 ac_cpp='$CPP $CPPFLAGS'
38718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38721
38722
38723 fi
38724
38725 fi
38726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38727 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38728
38729 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38730 for ac_func in finitef
38731 do :
38732 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38733 if test "x$ac_cv_func_finitef" = xyes; then :
38734 cat >>confdefs.h <<_ACEOF
38735 #define HAVE_FINITEF 1
38736 _ACEOF
38737
38738 fi
38739 done
38740
38741 else
38742
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38744 $as_echo_n "checking for _finitef declaration... " >&6; }
38745 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38746 if ${glibcxx_cv_func__finitef_use+:} false; then :
38747 $as_echo_n "(cached) " >&6
38748 else
38749
38750
38751 ac_ext=cpp
38752 ac_cpp='$CXXCPP $CPPFLAGS'
38753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38756
38757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38758 /* end confdefs.h. */
38759 #include <math.h>
38760 #ifdef HAVE_IEEEFP_H
38761 #include <ieeefp.h>
38762 #endif
38763
38764 int
38765 main ()
38766 {
38767 _finitef(0);
38768 ;
38769 return 0;
38770 }
38771 _ACEOF
38772 if ac_fn_cxx_try_compile "$LINENO"; then :
38773 glibcxx_cv_func__finitef_use=yes
38774 else
38775 glibcxx_cv_func__finitef_use=no
38776 fi
38777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38778 ac_ext=c
38779 ac_cpp='$CPP $CPPFLAGS'
38780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38783
38784
38785 fi
38786
38787 fi
38788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38789 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38790
38791 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38792 for ac_func in _finitef
38793 do :
38794 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38795 if test "x$ac_cv_func__finitef" = xyes; then :
38796 cat >>confdefs.h <<_ACEOF
38797 #define HAVE__FINITEF 1
38798 _ACEOF
38799
38800 fi
38801 done
38802
38803 fi
38804 fi
38805
38806
38807
38808
38809
38810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38811 $as_echo_n "checking for long double trig functions... " >&6; }
38812 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38813 $as_echo_n "(cached) " >&6
38814 else
38815
38816
38817 ac_ext=cpp
38818 ac_cpp='$CXXCPP $CPPFLAGS'
38819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38822
38823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38824 /* end confdefs.h. */
38825 #include <math.h>
38826 int
38827 main ()
38828 {
38829 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38830 ;
38831 return 0;
38832 }
38833 _ACEOF
38834 if ac_fn_cxx_try_compile "$LINENO"; then :
38835 glibcxx_cv_func_long_double_trig_use=yes
38836 else
38837 glibcxx_cv_func_long_double_trig_use=no
38838 fi
38839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38840 ac_ext=c
38841 ac_cpp='$CPP $CPPFLAGS'
38842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38845
38846 fi
38847
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38849 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38850 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38851 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38852 do :
38853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38855 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38856 cat >>confdefs.h <<_ACEOF
38857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38858 _ACEOF
38859
38860 fi
38861 done
38862
38863 else
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38865 $as_echo_n "checking for _long double trig functions... " >&6; }
38866 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38867 $as_echo_n "(cached) " >&6
38868 else
38869
38870
38871 ac_ext=cpp
38872 ac_cpp='$CXXCPP $CPPFLAGS'
38873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38876
38877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38878 /* end confdefs.h. */
38879 #include <math.h>
38880 int
38881 main ()
38882 {
38883 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38884 ;
38885 return 0;
38886 }
38887 _ACEOF
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889 glibcxx_cv_func__long_double_trig_use=yes
38890 else
38891 glibcxx_cv_func__long_double_trig_use=no
38892 fi
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38899
38900 fi
38901
38902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38903 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38904 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38905 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38906 do :
38907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38909 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38910 cat >>confdefs.h <<_ACEOF
38911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38912 _ACEOF
38913
38914 fi
38915 done
38916
38917 fi
38918 fi
38919
38920
38921
38922
38923
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38925 $as_echo_n "checking for long double round functions... " >&6; }
38926 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38927 $as_echo_n "(cached) " >&6
38928 else
38929
38930
38931 ac_ext=cpp
38932 ac_cpp='$CXXCPP $CPPFLAGS'
38933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38936
38937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38938 /* end confdefs.h. */
38939 #include <math.h>
38940 int
38941 main ()
38942 {
38943 ceill (0); floorl (0);
38944 ;
38945 return 0;
38946 }
38947 _ACEOF
38948 if ac_fn_cxx_try_compile "$LINENO"; then :
38949 glibcxx_cv_func_long_double_round_use=yes
38950 else
38951 glibcxx_cv_func_long_double_round_use=no
38952 fi
38953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38954 ac_ext=c
38955 ac_cpp='$CPP $CPPFLAGS'
38956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38959
38960 fi
38961
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38963 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38964 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38965 for ac_func in ceill floorl
38966 do :
38967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38969 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38970 cat >>confdefs.h <<_ACEOF
38971 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38972 _ACEOF
38973
38974 fi
38975 done
38976
38977 else
38978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38979 $as_echo_n "checking for _long double round functions... " >&6; }
38980 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38981 $as_echo_n "(cached) " >&6
38982 else
38983
38984
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990
38991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h. */
38993 #include <math.h>
38994 int
38995 main ()
38996 {
38997 _ceill (0); _floorl (0);
38998 ;
38999 return 0;
39000 }
39001 _ACEOF
39002 if ac_fn_cxx_try_compile "$LINENO"; then :
39003 glibcxx_cv_func__long_double_round_use=yes
39004 else
39005 glibcxx_cv_func__long_double_round_use=no
39006 fi
39007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39008 ac_ext=c
39009 ac_cpp='$CPP $CPPFLAGS'
39010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39013
39014 fi
39015
39016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39017 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39018 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39019 for ac_func in _ceill _floorl
39020 do :
39021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39023 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39024 cat >>confdefs.h <<_ACEOF
39025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39026 _ACEOF
39027
39028 fi
39029 done
39030
39031 fi
39032 fi
39033
39034
39035
39036
39037
39038
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39040 $as_echo_n "checking for isnanl declaration... " >&6; }
39041 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39042 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39043 $as_echo_n "(cached) " >&6
39044 else
39045
39046
39047 ac_ext=cpp
39048 ac_cpp='$CXXCPP $CPPFLAGS'
39049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052
39053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39054 /* end confdefs.h. */
39055 #include <math.h>
39056 #ifdef HAVE_IEEEFP_H
39057 #include <ieeefp.h>
39058 #endif
39059
39060 int
39061 main ()
39062 {
39063 isnanl(0);
39064 ;
39065 return 0;
39066 }
39067 _ACEOF
39068 if ac_fn_cxx_try_compile "$LINENO"; then :
39069 glibcxx_cv_func_isnanl_use=yes
39070 else
39071 glibcxx_cv_func_isnanl_use=no
39072 fi
39073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39074 ac_ext=c
39075 ac_cpp='$CPP $CPPFLAGS'
39076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39079
39080
39081 fi
39082
39083 fi
39084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39085 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39086
39087 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39088 for ac_func in isnanl
39089 do :
39090 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39091 if test "x$ac_cv_func_isnanl" = xyes; then :
39092 cat >>confdefs.h <<_ACEOF
39093 #define HAVE_ISNANL 1
39094 _ACEOF
39095
39096 fi
39097 done
39098
39099 else
39100
39101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39102 $as_echo_n "checking for _isnanl declaration... " >&6; }
39103 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39104 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39105 $as_echo_n "(cached) " >&6
39106 else
39107
39108
39109 ac_ext=cpp
39110 ac_cpp='$CXXCPP $CPPFLAGS'
39111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39114
39115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39116 /* end confdefs.h. */
39117 #include <math.h>
39118 #ifdef HAVE_IEEEFP_H
39119 #include <ieeefp.h>
39120 #endif
39121
39122 int
39123 main ()
39124 {
39125 _isnanl(0);
39126 ;
39127 return 0;
39128 }
39129 _ACEOF
39130 if ac_fn_cxx_try_compile "$LINENO"; then :
39131 glibcxx_cv_func__isnanl_use=yes
39132 else
39133 glibcxx_cv_func__isnanl_use=no
39134 fi
39135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39136 ac_ext=c
39137 ac_cpp='$CPP $CPPFLAGS'
39138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39141
39142
39143 fi
39144
39145 fi
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39147 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39148
39149 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39150 for ac_func in _isnanl
39151 do :
39152 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39153 if test "x$ac_cv_func__isnanl" = xyes; then :
39154 cat >>confdefs.h <<_ACEOF
39155 #define HAVE__ISNANL 1
39156 _ACEOF
39157
39158 fi
39159 done
39160
39161 fi
39162 fi
39163
39164
39165
39166
39167
39168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39169 $as_echo_n "checking for isinfl declaration... " >&6; }
39170 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39171 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39172 $as_echo_n "(cached) " >&6
39173 else
39174
39175
39176 ac_ext=cpp
39177 ac_cpp='$CXXCPP $CPPFLAGS'
39178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39181
39182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39183 /* end confdefs.h. */
39184 #include <math.h>
39185 #ifdef HAVE_IEEEFP_H
39186 #include <ieeefp.h>
39187 #endif
39188
39189 int
39190 main ()
39191 {
39192 isinfl(0);
39193 ;
39194 return 0;
39195 }
39196 _ACEOF
39197 if ac_fn_cxx_try_compile "$LINENO"; then :
39198 glibcxx_cv_func_isinfl_use=yes
39199 else
39200 glibcxx_cv_func_isinfl_use=no
39201 fi
39202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39203 ac_ext=c
39204 ac_cpp='$CPP $CPPFLAGS'
39205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39208
39209
39210 fi
39211
39212 fi
39213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39214 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39215
39216 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39217 for ac_func in isinfl
39218 do :
39219 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39220 if test "x$ac_cv_func_isinfl" = xyes; then :
39221 cat >>confdefs.h <<_ACEOF
39222 #define HAVE_ISINFL 1
39223 _ACEOF
39224
39225 fi
39226 done
39227
39228 else
39229
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39231 $as_echo_n "checking for _isinfl declaration... " >&6; }
39232 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39233 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39234 $as_echo_n "(cached) " >&6
39235 else
39236
39237
39238 ac_ext=cpp
39239 ac_cpp='$CXXCPP $CPPFLAGS'
39240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243
39244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39245 /* end confdefs.h. */
39246 #include <math.h>
39247 #ifdef HAVE_IEEEFP_H
39248 #include <ieeefp.h>
39249 #endif
39250
39251 int
39252 main ()
39253 {
39254 _isinfl(0);
39255 ;
39256 return 0;
39257 }
39258 _ACEOF
39259 if ac_fn_cxx_try_compile "$LINENO"; then :
39260 glibcxx_cv_func__isinfl_use=yes
39261 else
39262 glibcxx_cv_func__isinfl_use=no
39263 fi
39264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39265 ac_ext=c
39266 ac_cpp='$CPP $CPPFLAGS'
39267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39270
39271
39272 fi
39273
39274 fi
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39276 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39277
39278 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39279 for ac_func in _isinfl
39280 do :
39281 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39282 if test "x$ac_cv_func__isinfl" = xyes; then :
39283 cat >>confdefs.h <<_ACEOF
39284 #define HAVE__ISINFL 1
39285 _ACEOF
39286
39287 fi
39288 done
39289
39290 fi
39291 fi
39292
39293
39294
39295
39296
39297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39298 $as_echo_n "checking for atan2l declaration... " >&6; }
39299 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39300 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39301 $as_echo_n "(cached) " >&6
39302 else
39303
39304
39305 ac_ext=cpp
39306 ac_cpp='$CXXCPP $CPPFLAGS'
39307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39310
39311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39312 /* end confdefs.h. */
39313 #include <math.h>
39314 int
39315 main ()
39316 {
39317 atan2l(0, 0);
39318 ;
39319 return 0;
39320 }
39321 _ACEOF
39322 if ac_fn_cxx_try_compile "$LINENO"; then :
39323 glibcxx_cv_func_atan2l_use=yes
39324 else
39325 glibcxx_cv_func_atan2l_use=no
39326 fi
39327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39328 ac_ext=c
39329 ac_cpp='$CPP $CPPFLAGS'
39330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39333
39334
39335 fi
39336
39337 fi
39338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39339 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39340
39341 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39342 for ac_func in atan2l
39343 do :
39344 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39345 if test "x$ac_cv_func_atan2l" = xyes; then :
39346 cat >>confdefs.h <<_ACEOF
39347 #define HAVE_ATAN2L 1
39348 _ACEOF
39349
39350 fi
39351 done
39352
39353 else
39354
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39356 $as_echo_n "checking for _atan2l declaration... " >&6; }
39357 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39358 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39359 $as_echo_n "(cached) " >&6
39360 else
39361
39362
39363 ac_ext=cpp
39364 ac_cpp='$CXXCPP $CPPFLAGS'
39365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39368
39369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39370 /* end confdefs.h. */
39371 #include <math.h>
39372 int
39373 main ()
39374 {
39375 _atan2l(0, 0);
39376 ;
39377 return 0;
39378 }
39379 _ACEOF
39380 if ac_fn_cxx_try_compile "$LINENO"; then :
39381 glibcxx_cv_func__atan2l_use=yes
39382 else
39383 glibcxx_cv_func__atan2l_use=no
39384 fi
39385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39386 ac_ext=c
39387 ac_cpp='$CPP $CPPFLAGS'
39388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39391
39392
39393 fi
39394
39395 fi
39396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39397 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39398
39399 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39400 for ac_func in _atan2l
39401 do :
39402 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39403 if test "x$ac_cv_func__atan2l" = xyes; then :
39404 cat >>confdefs.h <<_ACEOF
39405 #define HAVE__ATAN2L 1
39406 _ACEOF
39407
39408 fi
39409 done
39410
39411 fi
39412 fi
39413
39414
39415
39416
39417
39418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39419 $as_echo_n "checking for expl declaration... " >&6; }
39420 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39421 if ${glibcxx_cv_func_expl_use+:} false; then :
39422 $as_echo_n "(cached) " >&6
39423 else
39424
39425
39426 ac_ext=cpp
39427 ac_cpp='$CXXCPP $CPPFLAGS'
39428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39431
39432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39433 /* end confdefs.h. */
39434 #include <math.h>
39435 #ifdef HAVE_IEEEFP_H
39436 #include <ieeefp.h>
39437 #endif
39438
39439 int
39440 main ()
39441 {
39442 expl(0);
39443 ;
39444 return 0;
39445 }
39446 _ACEOF
39447 if ac_fn_cxx_try_compile "$LINENO"; then :
39448 glibcxx_cv_func_expl_use=yes
39449 else
39450 glibcxx_cv_func_expl_use=no
39451 fi
39452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39453 ac_ext=c
39454 ac_cpp='$CPP $CPPFLAGS'
39455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39458
39459
39460 fi
39461
39462 fi
39463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39464 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39465
39466 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39467 for ac_func in expl
39468 do :
39469 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39470 if test "x$ac_cv_func_expl" = xyes; then :
39471 cat >>confdefs.h <<_ACEOF
39472 #define HAVE_EXPL 1
39473 _ACEOF
39474
39475 fi
39476 done
39477
39478 else
39479
39480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39481 $as_echo_n "checking for _expl declaration... " >&6; }
39482 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39483 if ${glibcxx_cv_func__expl_use+:} false; then :
39484 $as_echo_n "(cached) " >&6
39485 else
39486
39487
39488 ac_ext=cpp
39489 ac_cpp='$CXXCPP $CPPFLAGS'
39490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39493
39494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39495 /* end confdefs.h. */
39496 #include <math.h>
39497 #ifdef HAVE_IEEEFP_H
39498 #include <ieeefp.h>
39499 #endif
39500
39501 int
39502 main ()
39503 {
39504 _expl(0);
39505 ;
39506 return 0;
39507 }
39508 _ACEOF
39509 if ac_fn_cxx_try_compile "$LINENO"; then :
39510 glibcxx_cv_func__expl_use=yes
39511 else
39512 glibcxx_cv_func__expl_use=no
39513 fi
39514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39515 ac_ext=c
39516 ac_cpp='$CPP $CPPFLAGS'
39517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39520
39521
39522 fi
39523
39524 fi
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39526 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39527
39528 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39529 for ac_func in _expl
39530 do :
39531 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39532 if test "x$ac_cv_func__expl" = xyes; then :
39533 cat >>confdefs.h <<_ACEOF
39534 #define HAVE__EXPL 1
39535 _ACEOF
39536
39537 fi
39538 done
39539
39540 fi
39541 fi
39542
39543
39544
39545
39546
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39548 $as_echo_n "checking for fabsl declaration... " >&6; }
39549 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39550 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39551 $as_echo_n "(cached) " >&6
39552 else
39553
39554
39555 ac_ext=cpp
39556 ac_cpp='$CXXCPP $CPPFLAGS'
39557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39560
39561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39562 /* end confdefs.h. */
39563 #include <math.h>
39564 #ifdef HAVE_IEEEFP_H
39565 #include <ieeefp.h>
39566 #endif
39567
39568 int
39569 main ()
39570 {
39571 fabsl(0);
39572 ;
39573 return 0;
39574 }
39575 _ACEOF
39576 if ac_fn_cxx_try_compile "$LINENO"; then :
39577 glibcxx_cv_func_fabsl_use=yes
39578 else
39579 glibcxx_cv_func_fabsl_use=no
39580 fi
39581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39582 ac_ext=c
39583 ac_cpp='$CPP $CPPFLAGS'
39584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39587
39588
39589 fi
39590
39591 fi
39592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39593 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39594
39595 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39596 for ac_func in fabsl
39597 do :
39598 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39599 if test "x$ac_cv_func_fabsl" = xyes; then :
39600 cat >>confdefs.h <<_ACEOF
39601 #define HAVE_FABSL 1
39602 _ACEOF
39603
39604 fi
39605 done
39606
39607 else
39608
39609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39610 $as_echo_n "checking for _fabsl declaration... " >&6; }
39611 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39612 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39613 $as_echo_n "(cached) " >&6
39614 else
39615
39616
39617 ac_ext=cpp
39618 ac_cpp='$CXXCPP $CPPFLAGS'
39619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39622
39623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39624 /* end confdefs.h. */
39625 #include <math.h>
39626 #ifdef HAVE_IEEEFP_H
39627 #include <ieeefp.h>
39628 #endif
39629
39630 int
39631 main ()
39632 {
39633 _fabsl(0);
39634 ;
39635 return 0;
39636 }
39637 _ACEOF
39638 if ac_fn_cxx_try_compile "$LINENO"; then :
39639 glibcxx_cv_func__fabsl_use=yes
39640 else
39641 glibcxx_cv_func__fabsl_use=no
39642 fi
39643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39644 ac_ext=c
39645 ac_cpp='$CPP $CPPFLAGS'
39646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39649
39650
39651 fi
39652
39653 fi
39654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39655 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39656
39657 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39658 for ac_func in _fabsl
39659 do :
39660 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39661 if test "x$ac_cv_func__fabsl" = xyes; then :
39662 cat >>confdefs.h <<_ACEOF
39663 #define HAVE__FABSL 1
39664 _ACEOF
39665
39666 fi
39667 done
39668
39669 fi
39670 fi
39671
39672
39673
39674
39675
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39677 $as_echo_n "checking for fmodl declaration... " >&6; }
39678 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39679 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39680 $as_echo_n "(cached) " >&6
39681 else
39682
39683
39684 ac_ext=cpp
39685 ac_cpp='$CXXCPP $CPPFLAGS'
39686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689
39690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39691 /* end confdefs.h. */
39692 #include <math.h>
39693 int
39694 main ()
39695 {
39696 fmodl(0, 0);
39697 ;
39698 return 0;
39699 }
39700 _ACEOF
39701 if ac_fn_cxx_try_compile "$LINENO"; then :
39702 glibcxx_cv_func_fmodl_use=yes
39703 else
39704 glibcxx_cv_func_fmodl_use=no
39705 fi
39706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707 ac_ext=c
39708 ac_cpp='$CPP $CPPFLAGS'
39709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39712
39713
39714 fi
39715
39716 fi
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39718 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39719
39720 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39721 for ac_func in fmodl
39722 do :
39723 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39724 if test "x$ac_cv_func_fmodl" = xyes; then :
39725 cat >>confdefs.h <<_ACEOF
39726 #define HAVE_FMODL 1
39727 _ACEOF
39728
39729 fi
39730 done
39731
39732 else
39733
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39735 $as_echo_n "checking for _fmodl declaration... " >&6; }
39736 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39737 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39738 $as_echo_n "(cached) " >&6
39739 else
39740
39741
39742 ac_ext=cpp
39743 ac_cpp='$CXXCPP $CPPFLAGS'
39744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39747
39748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39749 /* end confdefs.h. */
39750 #include <math.h>
39751 int
39752 main ()
39753 {
39754 _fmodl(0, 0);
39755 ;
39756 return 0;
39757 }
39758 _ACEOF
39759 if ac_fn_cxx_try_compile "$LINENO"; then :
39760 glibcxx_cv_func__fmodl_use=yes
39761 else
39762 glibcxx_cv_func__fmodl_use=no
39763 fi
39764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39765 ac_ext=c
39766 ac_cpp='$CPP $CPPFLAGS'
39767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39770
39771
39772 fi
39773
39774 fi
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39776 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39777
39778 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39779 for ac_func in _fmodl
39780 do :
39781 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39782 if test "x$ac_cv_func__fmodl" = xyes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE__FMODL 1
39785 _ACEOF
39786
39787 fi
39788 done
39789
39790 fi
39791 fi
39792
39793
39794
39795
39796
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39798 $as_echo_n "checking for frexpl declaration... " >&6; }
39799 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39800 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39801 $as_echo_n "(cached) " >&6
39802 else
39803
39804
39805 ac_ext=cpp
39806 ac_cpp='$CXXCPP $CPPFLAGS'
39807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810
39811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39812 /* end confdefs.h. */
39813 #include <math.h>
39814 int
39815 main ()
39816 {
39817 frexpl(0, 0);
39818 ;
39819 return 0;
39820 }
39821 _ACEOF
39822 if ac_fn_cxx_try_compile "$LINENO"; then :
39823 glibcxx_cv_func_frexpl_use=yes
39824 else
39825 glibcxx_cv_func_frexpl_use=no
39826 fi
39827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39828 ac_ext=c
39829 ac_cpp='$CPP $CPPFLAGS'
39830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39833
39834
39835 fi
39836
39837 fi
39838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39839 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39840
39841 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39842 for ac_func in frexpl
39843 do :
39844 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39845 if test "x$ac_cv_func_frexpl" = xyes; then :
39846 cat >>confdefs.h <<_ACEOF
39847 #define HAVE_FREXPL 1
39848 _ACEOF
39849
39850 fi
39851 done
39852
39853 else
39854
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39856 $as_echo_n "checking for _frexpl declaration... " >&6; }
39857 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39858 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39859 $as_echo_n "(cached) " >&6
39860 else
39861
39862
39863 ac_ext=cpp
39864 ac_cpp='$CXXCPP $CPPFLAGS'
39865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39868
39869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39870 /* end confdefs.h. */
39871 #include <math.h>
39872 int
39873 main ()
39874 {
39875 _frexpl(0, 0);
39876 ;
39877 return 0;
39878 }
39879 _ACEOF
39880 if ac_fn_cxx_try_compile "$LINENO"; then :
39881 glibcxx_cv_func__frexpl_use=yes
39882 else
39883 glibcxx_cv_func__frexpl_use=no
39884 fi
39885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39886 ac_ext=c
39887 ac_cpp='$CPP $CPPFLAGS'
39888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39891
39892
39893 fi
39894
39895 fi
39896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39897 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39898
39899 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39900 for ac_func in _frexpl
39901 do :
39902 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39903 if test "x$ac_cv_func__frexpl" = xyes; then :
39904 cat >>confdefs.h <<_ACEOF
39905 #define HAVE__FREXPL 1
39906 _ACEOF
39907
39908 fi
39909 done
39910
39911 fi
39912 fi
39913
39914
39915
39916
39917
39918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39919 $as_echo_n "checking for hypotl declaration... " >&6; }
39920 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39921 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39922 $as_echo_n "(cached) " >&6
39923 else
39924
39925
39926 ac_ext=cpp
39927 ac_cpp='$CXXCPP $CPPFLAGS'
39928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39931
39932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39933 /* end confdefs.h. */
39934 #include <math.h>
39935 int
39936 main ()
39937 {
39938 hypotl(0, 0);
39939 ;
39940 return 0;
39941 }
39942 _ACEOF
39943 if ac_fn_cxx_try_compile "$LINENO"; then :
39944 glibcxx_cv_func_hypotl_use=yes
39945 else
39946 glibcxx_cv_func_hypotl_use=no
39947 fi
39948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39949 ac_ext=c
39950 ac_cpp='$CPP $CPPFLAGS'
39951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39954
39955
39956 fi
39957
39958 fi
39959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39960 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39961
39962 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39963 for ac_func in hypotl
39964 do :
39965 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39966 if test "x$ac_cv_func_hypotl" = xyes; then :
39967 cat >>confdefs.h <<_ACEOF
39968 #define HAVE_HYPOTL 1
39969 _ACEOF
39970
39971 fi
39972 done
39973
39974 else
39975
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39977 $as_echo_n "checking for _hypotl declaration... " >&6; }
39978 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39979 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39980 $as_echo_n "(cached) " >&6
39981 else
39982
39983
39984 ac_ext=cpp
39985 ac_cpp='$CXXCPP $CPPFLAGS'
39986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39989
39990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39991 /* end confdefs.h. */
39992 #include <math.h>
39993 int
39994 main ()
39995 {
39996 _hypotl(0, 0);
39997 ;
39998 return 0;
39999 }
40000 _ACEOF
40001 if ac_fn_cxx_try_compile "$LINENO"; then :
40002 glibcxx_cv_func__hypotl_use=yes
40003 else
40004 glibcxx_cv_func__hypotl_use=no
40005 fi
40006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40007 ac_ext=c
40008 ac_cpp='$CPP $CPPFLAGS'
40009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012
40013
40014 fi
40015
40016 fi
40017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40018 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40019
40020 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40021 for ac_func in _hypotl
40022 do :
40023 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40024 if test "x$ac_cv_func__hypotl" = xyes; then :
40025 cat >>confdefs.h <<_ACEOF
40026 #define HAVE__HYPOTL 1
40027 _ACEOF
40028
40029 fi
40030 done
40031
40032 fi
40033 fi
40034
40035
40036
40037
40038
40039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40040 $as_echo_n "checking for ldexpl declaration... " >&6; }
40041 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40042 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40043 $as_echo_n "(cached) " >&6
40044 else
40045
40046
40047 ac_ext=cpp
40048 ac_cpp='$CXXCPP $CPPFLAGS'
40049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40052
40053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40054 /* end confdefs.h. */
40055 #include <math.h>
40056 int
40057 main ()
40058 {
40059 ldexpl(0, 0);
40060 ;
40061 return 0;
40062 }
40063 _ACEOF
40064 if ac_fn_cxx_try_compile "$LINENO"; then :
40065 glibcxx_cv_func_ldexpl_use=yes
40066 else
40067 glibcxx_cv_func_ldexpl_use=no
40068 fi
40069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40070 ac_ext=c
40071 ac_cpp='$CPP $CPPFLAGS'
40072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40075
40076
40077 fi
40078
40079 fi
40080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40081 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40082
40083 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40084 for ac_func in ldexpl
40085 do :
40086 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40087 if test "x$ac_cv_func_ldexpl" = xyes; then :
40088 cat >>confdefs.h <<_ACEOF
40089 #define HAVE_LDEXPL 1
40090 _ACEOF
40091
40092 fi
40093 done
40094
40095 else
40096
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40098 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40099 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40100 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40101 $as_echo_n "(cached) " >&6
40102 else
40103
40104
40105 ac_ext=cpp
40106 ac_cpp='$CXXCPP $CPPFLAGS'
40107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40110
40111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40112 /* end confdefs.h. */
40113 #include <math.h>
40114 int
40115 main ()
40116 {
40117 _ldexpl(0, 0);
40118 ;
40119 return 0;
40120 }
40121 _ACEOF
40122 if ac_fn_cxx_try_compile "$LINENO"; then :
40123 glibcxx_cv_func__ldexpl_use=yes
40124 else
40125 glibcxx_cv_func__ldexpl_use=no
40126 fi
40127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40128 ac_ext=c
40129 ac_cpp='$CPP $CPPFLAGS'
40130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40133
40134
40135 fi
40136
40137 fi
40138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40139 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40140
40141 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40142 for ac_func in _ldexpl
40143 do :
40144 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40145 if test "x$ac_cv_func__ldexpl" = xyes; then :
40146 cat >>confdefs.h <<_ACEOF
40147 #define HAVE__LDEXPL 1
40148 _ACEOF
40149
40150 fi
40151 done
40152
40153 fi
40154 fi
40155
40156
40157
40158
40159
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40161 $as_echo_n "checking for logl declaration... " >&6; }
40162 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40163 if ${glibcxx_cv_func_logl_use+:} false; then :
40164 $as_echo_n "(cached) " >&6
40165 else
40166
40167
40168 ac_ext=cpp
40169 ac_cpp='$CXXCPP $CPPFLAGS'
40170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40173
40174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40175 /* end confdefs.h. */
40176 #include <math.h>
40177 #ifdef HAVE_IEEEFP_H
40178 #include <ieeefp.h>
40179 #endif
40180
40181 int
40182 main ()
40183 {
40184 logl(0);
40185 ;
40186 return 0;
40187 }
40188 _ACEOF
40189 if ac_fn_cxx_try_compile "$LINENO"; then :
40190 glibcxx_cv_func_logl_use=yes
40191 else
40192 glibcxx_cv_func_logl_use=no
40193 fi
40194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40195 ac_ext=c
40196 ac_cpp='$CPP $CPPFLAGS'
40197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40200
40201
40202 fi
40203
40204 fi
40205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40206 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40207
40208 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40209 for ac_func in logl
40210 do :
40211 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40212 if test "x$ac_cv_func_logl" = xyes; then :
40213 cat >>confdefs.h <<_ACEOF
40214 #define HAVE_LOGL 1
40215 _ACEOF
40216
40217 fi
40218 done
40219
40220 else
40221
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40223 $as_echo_n "checking for _logl declaration... " >&6; }
40224 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40225 if ${glibcxx_cv_func__logl_use+:} false; then :
40226 $as_echo_n "(cached) " >&6
40227 else
40228
40229
40230 ac_ext=cpp
40231 ac_cpp='$CXXCPP $CPPFLAGS'
40232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40235
40236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40237 /* end confdefs.h. */
40238 #include <math.h>
40239 #ifdef HAVE_IEEEFP_H
40240 #include <ieeefp.h>
40241 #endif
40242
40243 int
40244 main ()
40245 {
40246 _logl(0);
40247 ;
40248 return 0;
40249 }
40250 _ACEOF
40251 if ac_fn_cxx_try_compile "$LINENO"; then :
40252 glibcxx_cv_func__logl_use=yes
40253 else
40254 glibcxx_cv_func__logl_use=no
40255 fi
40256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257 ac_ext=c
40258 ac_cpp='$CPP $CPPFLAGS'
40259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40262
40263
40264 fi
40265
40266 fi
40267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40268 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40269
40270 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40271 for ac_func in _logl
40272 do :
40273 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40274 if test "x$ac_cv_func__logl" = xyes; then :
40275 cat >>confdefs.h <<_ACEOF
40276 #define HAVE__LOGL 1
40277 _ACEOF
40278
40279 fi
40280 done
40281
40282 fi
40283 fi
40284
40285
40286
40287
40288
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40290 $as_echo_n "checking for log10l declaration... " >&6; }
40291 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40292 if ${glibcxx_cv_func_log10l_use+:} false; then :
40293 $as_echo_n "(cached) " >&6
40294 else
40295
40296
40297 ac_ext=cpp
40298 ac_cpp='$CXXCPP $CPPFLAGS'
40299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302
40303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40304 /* end confdefs.h. */
40305 #include <math.h>
40306 #ifdef HAVE_IEEEFP_H
40307 #include <ieeefp.h>
40308 #endif
40309
40310 int
40311 main ()
40312 {
40313 log10l(0);
40314 ;
40315 return 0;
40316 }
40317 _ACEOF
40318 if ac_fn_cxx_try_compile "$LINENO"; then :
40319 glibcxx_cv_func_log10l_use=yes
40320 else
40321 glibcxx_cv_func_log10l_use=no
40322 fi
40323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40324 ac_ext=c
40325 ac_cpp='$CPP $CPPFLAGS'
40326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40329
40330
40331 fi
40332
40333 fi
40334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40335 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40336
40337 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40338 for ac_func in log10l
40339 do :
40340 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40341 if test "x$ac_cv_func_log10l" = xyes; then :
40342 cat >>confdefs.h <<_ACEOF
40343 #define HAVE_LOG10L 1
40344 _ACEOF
40345
40346 fi
40347 done
40348
40349 else
40350
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40352 $as_echo_n "checking for _log10l declaration... " >&6; }
40353 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40354 if ${glibcxx_cv_func__log10l_use+:} false; then :
40355 $as_echo_n "(cached) " >&6
40356 else
40357
40358
40359 ac_ext=cpp
40360 ac_cpp='$CXXCPP $CPPFLAGS'
40361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364
40365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40366 /* end confdefs.h. */
40367 #include <math.h>
40368 #ifdef HAVE_IEEEFP_H
40369 #include <ieeefp.h>
40370 #endif
40371
40372 int
40373 main ()
40374 {
40375 _log10l(0);
40376 ;
40377 return 0;
40378 }
40379 _ACEOF
40380 if ac_fn_cxx_try_compile "$LINENO"; then :
40381 glibcxx_cv_func__log10l_use=yes
40382 else
40383 glibcxx_cv_func__log10l_use=no
40384 fi
40385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40386 ac_ext=c
40387 ac_cpp='$CPP $CPPFLAGS'
40388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40391
40392
40393 fi
40394
40395 fi
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40397 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40398
40399 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40400 for ac_func in _log10l
40401 do :
40402 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40403 if test "x$ac_cv_func__log10l" = xyes; then :
40404 cat >>confdefs.h <<_ACEOF
40405 #define HAVE__LOG10L 1
40406 _ACEOF
40407
40408 fi
40409 done
40410
40411 fi
40412 fi
40413
40414
40415
40416
40417
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40419 $as_echo_n "checking for modfl declaration... " >&6; }
40420 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40421 if ${glibcxx_cv_func_modfl_use+:} false; then :
40422 $as_echo_n "(cached) " >&6
40423 else
40424
40425
40426 ac_ext=cpp
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431
40432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40433 /* end confdefs.h. */
40434 #include <math.h>
40435 int
40436 main ()
40437 {
40438 modfl(0, 0);
40439 ;
40440 return 0;
40441 }
40442 _ACEOF
40443 if ac_fn_cxx_try_compile "$LINENO"; then :
40444 glibcxx_cv_func_modfl_use=yes
40445 else
40446 glibcxx_cv_func_modfl_use=no
40447 fi
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449 ac_ext=c
40450 ac_cpp='$CPP $CPPFLAGS'
40451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40454
40455
40456 fi
40457
40458 fi
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40460 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40461
40462 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40463 for ac_func in modfl
40464 do :
40465 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40466 if test "x$ac_cv_func_modfl" = xyes; then :
40467 cat >>confdefs.h <<_ACEOF
40468 #define HAVE_MODFL 1
40469 _ACEOF
40470
40471 fi
40472 done
40473
40474 else
40475
40476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40477 $as_echo_n "checking for _modfl declaration... " >&6; }
40478 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40479 if ${glibcxx_cv_func__modfl_use+:} false; then :
40480 $as_echo_n "(cached) " >&6
40481 else
40482
40483
40484 ac_ext=cpp
40485 ac_cpp='$CXXCPP $CPPFLAGS'
40486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40489
40490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40491 /* end confdefs.h. */
40492 #include <math.h>
40493 int
40494 main ()
40495 {
40496 _modfl(0, 0);
40497 ;
40498 return 0;
40499 }
40500 _ACEOF
40501 if ac_fn_cxx_try_compile "$LINENO"; then :
40502 glibcxx_cv_func__modfl_use=yes
40503 else
40504 glibcxx_cv_func__modfl_use=no
40505 fi
40506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40507 ac_ext=c
40508 ac_cpp='$CPP $CPPFLAGS'
40509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40512
40513
40514 fi
40515
40516 fi
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40518 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40519
40520 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40521 for ac_func in _modfl
40522 do :
40523 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40524 if test "x$ac_cv_func__modfl" = xyes; then :
40525 cat >>confdefs.h <<_ACEOF
40526 #define HAVE__MODFL 1
40527 _ACEOF
40528
40529 fi
40530 done
40531
40532 fi
40533 fi
40534
40535
40536
40537
40538
40539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40540 $as_echo_n "checking for powl declaration... " >&6; }
40541 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40542 if ${glibcxx_cv_func_powl_use+:} false; then :
40543 $as_echo_n "(cached) " >&6
40544 else
40545
40546
40547 ac_ext=cpp
40548 ac_cpp='$CXXCPP $CPPFLAGS'
40549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40552
40553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40554 /* end confdefs.h. */
40555 #include <math.h>
40556 int
40557 main ()
40558 {
40559 powl(0, 0);
40560 ;
40561 return 0;
40562 }
40563 _ACEOF
40564 if ac_fn_cxx_try_compile "$LINENO"; then :
40565 glibcxx_cv_func_powl_use=yes
40566 else
40567 glibcxx_cv_func_powl_use=no
40568 fi
40569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40570 ac_ext=c
40571 ac_cpp='$CPP $CPPFLAGS'
40572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575
40576
40577 fi
40578
40579 fi
40580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40581 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40582
40583 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40584 for ac_func in powl
40585 do :
40586 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40587 if test "x$ac_cv_func_powl" = xyes; then :
40588 cat >>confdefs.h <<_ACEOF
40589 #define HAVE_POWL 1
40590 _ACEOF
40591
40592 fi
40593 done
40594
40595 else
40596
40597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40598 $as_echo_n "checking for _powl declaration... " >&6; }
40599 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40600 if ${glibcxx_cv_func__powl_use+:} false; then :
40601 $as_echo_n "(cached) " >&6
40602 else
40603
40604
40605 ac_ext=cpp
40606 ac_cpp='$CXXCPP $CPPFLAGS'
40607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40610
40611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40612 /* end confdefs.h. */
40613 #include <math.h>
40614 int
40615 main ()
40616 {
40617 _powl(0, 0);
40618 ;
40619 return 0;
40620 }
40621 _ACEOF
40622 if ac_fn_cxx_try_compile "$LINENO"; then :
40623 glibcxx_cv_func__powl_use=yes
40624 else
40625 glibcxx_cv_func__powl_use=no
40626 fi
40627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40628 ac_ext=c
40629 ac_cpp='$CPP $CPPFLAGS'
40630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40633
40634
40635 fi
40636
40637 fi
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40639 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40640
40641 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40642 for ac_func in _powl
40643 do :
40644 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40645 if test "x$ac_cv_func__powl" = xyes; then :
40646 cat >>confdefs.h <<_ACEOF
40647 #define HAVE__POWL 1
40648 _ACEOF
40649
40650 fi
40651 done
40652
40653 fi
40654 fi
40655
40656
40657
40658
40659
40660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40661 $as_echo_n "checking for sqrtl declaration... " >&6; }
40662 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40663 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40664 $as_echo_n "(cached) " >&6
40665 else
40666
40667
40668 ac_ext=cpp
40669 ac_cpp='$CXXCPP $CPPFLAGS'
40670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40673
40674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40675 /* end confdefs.h. */
40676 #include <math.h>
40677 #ifdef HAVE_IEEEFP_H
40678 #include <ieeefp.h>
40679 #endif
40680
40681 int
40682 main ()
40683 {
40684 sqrtl(0);
40685 ;
40686 return 0;
40687 }
40688 _ACEOF
40689 if ac_fn_cxx_try_compile "$LINENO"; then :
40690 glibcxx_cv_func_sqrtl_use=yes
40691 else
40692 glibcxx_cv_func_sqrtl_use=no
40693 fi
40694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40695 ac_ext=c
40696 ac_cpp='$CPP $CPPFLAGS'
40697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40700
40701
40702 fi
40703
40704 fi
40705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40706 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40707
40708 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40709 for ac_func in sqrtl
40710 do :
40711 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40712 if test "x$ac_cv_func_sqrtl" = xyes; then :
40713 cat >>confdefs.h <<_ACEOF
40714 #define HAVE_SQRTL 1
40715 _ACEOF
40716
40717 fi
40718 done
40719
40720 else
40721
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40723 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40724 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40725 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40726 $as_echo_n "(cached) " >&6
40727 else
40728
40729
40730 ac_ext=cpp
40731 ac_cpp='$CXXCPP $CPPFLAGS'
40732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40735
40736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40737 /* end confdefs.h. */
40738 #include <math.h>
40739 #ifdef HAVE_IEEEFP_H
40740 #include <ieeefp.h>
40741 #endif
40742
40743 int
40744 main ()
40745 {
40746 _sqrtl(0);
40747 ;
40748 return 0;
40749 }
40750 _ACEOF
40751 if ac_fn_cxx_try_compile "$LINENO"; then :
40752 glibcxx_cv_func__sqrtl_use=yes
40753 else
40754 glibcxx_cv_func__sqrtl_use=no
40755 fi
40756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40757 ac_ext=c
40758 ac_cpp='$CPP $CPPFLAGS'
40759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40762
40763
40764 fi
40765
40766 fi
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40768 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40769
40770 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40771 for ac_func in _sqrtl
40772 do :
40773 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40774 if test "x$ac_cv_func__sqrtl" = xyes; then :
40775 cat >>confdefs.h <<_ACEOF
40776 #define HAVE__SQRTL 1
40777 _ACEOF
40778
40779 fi
40780 done
40781
40782 fi
40783 fi
40784
40785
40786
40787
40788
40789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40790 $as_echo_n "checking for sincosl declaration... " >&6; }
40791 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40792 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40793 $as_echo_n "(cached) " >&6
40794 else
40795
40796
40797 ac_ext=cpp
40798 ac_cpp='$CXXCPP $CPPFLAGS'
40799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40802
40803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40804 /* end confdefs.h. */
40805 #include <math.h>
40806 int
40807 main ()
40808 {
40809 sincosl(0, 0, 0);
40810 ;
40811 return 0;
40812 }
40813 _ACEOF
40814 if ac_fn_cxx_try_compile "$LINENO"; then :
40815 glibcxx_cv_func_sincosl_use=yes
40816 else
40817 glibcxx_cv_func_sincosl_use=no
40818 fi
40819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40820 ac_ext=c
40821 ac_cpp='$CPP $CPPFLAGS'
40822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40825
40826
40827 fi
40828
40829 fi
40830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40831 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40832
40833 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40834 for ac_func in sincosl
40835 do :
40836 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40837 if test "x$ac_cv_func_sincosl" = xyes; then :
40838 cat >>confdefs.h <<_ACEOF
40839 #define HAVE_SINCOSL 1
40840 _ACEOF
40841
40842 fi
40843 done
40844
40845 else
40846
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40848 $as_echo_n "checking for _sincosl declaration... " >&6; }
40849 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40850 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40851 $as_echo_n "(cached) " >&6
40852 else
40853
40854
40855 ac_ext=cpp
40856 ac_cpp='$CXXCPP $CPPFLAGS'
40857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40860
40861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40862 /* end confdefs.h. */
40863 #include <math.h>
40864 int
40865 main ()
40866 {
40867 _sincosl(0, 0, 0);
40868 ;
40869 return 0;
40870 }
40871 _ACEOF
40872 if ac_fn_cxx_try_compile "$LINENO"; then :
40873 glibcxx_cv_func__sincosl_use=yes
40874 else
40875 glibcxx_cv_func__sincosl_use=no
40876 fi
40877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40878 ac_ext=c
40879 ac_cpp='$CPP $CPPFLAGS'
40880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40883
40884
40885 fi
40886
40887 fi
40888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40889 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40890
40891 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40892 for ac_func in _sincosl
40893 do :
40894 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40895 if test "x$ac_cv_func__sincosl" = xyes; then :
40896 cat >>confdefs.h <<_ACEOF
40897 #define HAVE__SINCOSL 1
40898 _ACEOF
40899
40900 fi
40901 done
40902
40903 fi
40904 fi
40905
40906
40907
40908
40909
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40911 $as_echo_n "checking for finitel declaration... " >&6; }
40912 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40913 if ${glibcxx_cv_func_finitel_use+:} false; then :
40914 $as_echo_n "(cached) " >&6
40915 else
40916
40917
40918 ac_ext=cpp
40919 ac_cpp='$CXXCPP $CPPFLAGS'
40920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40923
40924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40925 /* end confdefs.h. */
40926 #include <math.h>
40927 #ifdef HAVE_IEEEFP_H
40928 #include <ieeefp.h>
40929 #endif
40930
40931 int
40932 main ()
40933 {
40934 finitel(0);
40935 ;
40936 return 0;
40937 }
40938 _ACEOF
40939 if ac_fn_cxx_try_compile "$LINENO"; then :
40940 glibcxx_cv_func_finitel_use=yes
40941 else
40942 glibcxx_cv_func_finitel_use=no
40943 fi
40944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40945 ac_ext=c
40946 ac_cpp='$CPP $CPPFLAGS'
40947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40950
40951
40952 fi
40953
40954 fi
40955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40956 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40957
40958 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40959 for ac_func in finitel
40960 do :
40961 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40962 if test "x$ac_cv_func_finitel" = xyes; then :
40963 cat >>confdefs.h <<_ACEOF
40964 #define HAVE_FINITEL 1
40965 _ACEOF
40966
40967 fi
40968 done
40969
40970 else
40971
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40973 $as_echo_n "checking for _finitel declaration... " >&6; }
40974 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40975 if ${glibcxx_cv_func__finitel_use+:} false; then :
40976 $as_echo_n "(cached) " >&6
40977 else
40978
40979
40980 ac_ext=cpp
40981 ac_cpp='$CXXCPP $CPPFLAGS'
40982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40985
40986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40987 /* end confdefs.h. */
40988 #include <math.h>
40989 #ifdef HAVE_IEEEFP_H
40990 #include <ieeefp.h>
40991 #endif
40992
40993 int
40994 main ()
40995 {
40996 _finitel(0);
40997 ;
40998 return 0;
40999 }
41000 _ACEOF
41001 if ac_fn_cxx_try_compile "$LINENO"; then :
41002 glibcxx_cv_func__finitel_use=yes
41003 else
41004 glibcxx_cv_func__finitel_use=no
41005 fi
41006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41007 ac_ext=c
41008 ac_cpp='$CPP $CPPFLAGS'
41009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41012
41013
41014 fi
41015
41016 fi
41017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41018 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41019
41020 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41021 for ac_func in _finitel
41022 do :
41023 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41024 if test "x$ac_cv_func__finitel" = xyes; then :
41025 cat >>confdefs.h <<_ACEOF
41026 #define HAVE__FINITEL 1
41027 _ACEOF
41028
41029 fi
41030 done
41031
41032 fi
41033 fi
41034
41035
41036
41037
41038 LIBS="$ac_save_LIBS"
41039 CXXFLAGS="$ac_save_CXXFLAGS"
41040
41041
41042 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41043 ac_save_CXXFLAGS="$CXXFLAGS"
41044 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41045
41046
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41048 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41049 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41050 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41051 $as_echo_n "(cached) " >&6
41052 else
41053
41054
41055 ac_ext=cpp
41056 ac_cpp='$CXXCPP $CPPFLAGS'
41057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41060
41061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41062 /* end confdefs.h. */
41063 #include <stdlib.h>
41064 int
41065 main ()
41066 {
41067 at_quick_exit(0);
41068 ;
41069 return 0;
41070 }
41071 _ACEOF
41072 if ac_fn_cxx_try_compile "$LINENO"; then :
41073 glibcxx_cv_func_at_quick_exit_use=yes
41074 else
41075 glibcxx_cv_func_at_quick_exit_use=no
41076 fi
41077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41078 ac_ext=c
41079 ac_cpp='$CPP $CPPFLAGS'
41080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41083
41084
41085 fi
41086
41087 fi
41088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41089 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41090 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41091 for ac_func in at_quick_exit
41092 do :
41093 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41094 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41095 cat >>confdefs.h <<_ACEOF
41096 #define HAVE_AT_QUICK_EXIT 1
41097 _ACEOF
41098
41099 fi
41100 done
41101
41102 fi
41103
41104
41105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41106 $as_echo_n "checking for quick_exit declaration... " >&6; }
41107 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41108 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41109 $as_echo_n "(cached) " >&6
41110 else
41111
41112
41113 ac_ext=cpp
41114 ac_cpp='$CXXCPP $CPPFLAGS'
41115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41118
41119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41120 /* end confdefs.h. */
41121 #include <stdlib.h>
41122 int
41123 main ()
41124 {
41125 quick_exit(0);
41126 ;
41127 return 0;
41128 }
41129 _ACEOF
41130 if ac_fn_cxx_try_compile "$LINENO"; then :
41131 glibcxx_cv_func_quick_exit_use=yes
41132 else
41133 glibcxx_cv_func_quick_exit_use=no
41134 fi
41135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41136 ac_ext=c
41137 ac_cpp='$CPP $CPPFLAGS'
41138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41141
41142
41143 fi
41144
41145 fi
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41147 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41148 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41149 for ac_func in quick_exit
41150 do :
41151 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41152 if test "x$ac_cv_func_quick_exit" = xyes; then :
41153 cat >>confdefs.h <<_ACEOF
41154 #define HAVE_QUICK_EXIT 1
41155 _ACEOF
41156
41157 fi
41158 done
41159
41160 fi
41161
41162
41163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41164 $as_echo_n "checking for strtold declaration... " >&6; }
41165 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41166 if ${glibcxx_cv_func_strtold_use+:} false; then :
41167 $as_echo_n "(cached) " >&6
41168 else
41169
41170
41171 ac_ext=cpp
41172 ac_cpp='$CXXCPP $CPPFLAGS'
41173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41176
41177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41178 /* end confdefs.h. */
41179 #include <stdlib.h>
41180 int
41181 main ()
41182 {
41183 strtold(0, 0);
41184 ;
41185 return 0;
41186 }
41187 _ACEOF
41188 if ac_fn_cxx_try_compile "$LINENO"; then :
41189 glibcxx_cv_func_strtold_use=yes
41190 else
41191 glibcxx_cv_func_strtold_use=no
41192 fi
41193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41194 ac_ext=c
41195 ac_cpp='$CPP $CPPFLAGS'
41196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41199
41200
41201 fi
41202
41203 fi
41204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41205 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41206 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41207 for ac_func in strtold
41208 do :
41209 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41210 if test "x$ac_cv_func_strtold" = xyes; then :
41211 cat >>confdefs.h <<_ACEOF
41212 #define HAVE_STRTOLD 1
41213 _ACEOF
41214
41215 fi
41216 done
41217
41218 fi
41219
41220
41221
41222
41223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41224 $as_echo_n "checking for strtof declaration... " >&6; }
41225 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41226 if ${glibcxx_cv_func_strtof_use+:} false; then :
41227 $as_echo_n "(cached) " >&6
41228 else
41229
41230
41231 ac_ext=cpp
41232 ac_cpp='$CXXCPP $CPPFLAGS'
41233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41236
41237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41238 /* end confdefs.h. */
41239 #include <stdlib.h>
41240 int
41241 main ()
41242 {
41243 strtof(0, 0);
41244 ;
41245 return 0;
41246 }
41247 _ACEOF
41248 if ac_fn_cxx_try_compile "$LINENO"; then :
41249 glibcxx_cv_func_strtof_use=yes
41250 else
41251 glibcxx_cv_func_strtof_use=no
41252 fi
41253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41254 ac_ext=c
41255 ac_cpp='$CPP $CPPFLAGS'
41256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41259
41260
41261 fi
41262
41263 fi
41264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41265 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41266 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41267 for ac_func in strtof
41268 do :
41269 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41270 if test "x$ac_cv_func_strtof" = xyes; then :
41271 cat >>confdefs.h <<_ACEOF
41272 #define HAVE_STRTOF 1
41273 _ACEOF
41274
41275 fi
41276 done
41277
41278 fi
41279
41280
41281
41282
41283 CXXFLAGS="$ac_save_CXXFLAGS"
41284
41285
41286
41287
41288
41289
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41291 $as_echo_n "checking for iconv... " >&6; }
41292 if ${am_cv_func_iconv+:} false; then :
41293 $as_echo_n "(cached) " >&6
41294 else
41295
41296 am_cv_func_iconv="no, consider installing GNU libiconv"
41297 am_cv_lib_iconv=no
41298 am_save_CPPFLAGS="$CPPFLAGS"
41299 CPPFLAGS="$CPPFLAGS $INCICONV"
41300 if test x$gcc_no_link = xyes; then
41301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41302 fi
41303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41304 /* end confdefs.h. */
41305 #include <stdlib.h>
41306 #include <iconv.h>
41307 int
41308 main ()
41309 {
41310 iconv_t cd = iconv_open("","");
41311 iconv(cd,NULL,NULL,NULL,NULL);
41312 iconv_close(cd);
41313 ;
41314 return 0;
41315 }
41316 _ACEOF
41317 if ac_fn_c_try_link "$LINENO"; then :
41318 am_cv_func_iconv=yes
41319 fi
41320 rm -f core conftest.err conftest.$ac_objext \
41321 conftest$ac_exeext conftest.$ac_ext
41322 CPPFLAGS="$am_save_CPPFLAGS"
41323
41324 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41325 for _libs in .libs _libs; do
41326 am_save_CPPFLAGS="$CPPFLAGS"
41327 am_save_LIBS="$LIBS"
41328 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41329 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41330 if test x$gcc_no_link = xyes; then
41331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41332 fi
41333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 /* end confdefs.h. */
41335 #include <stdlib.h>
41336 #include <iconv.h>
41337 int
41338 main ()
41339 {
41340 iconv_t cd = iconv_open("","");
41341 iconv(cd,NULL,NULL,NULL,NULL);
41342 iconv_close(cd);
41343 ;
41344 return 0;
41345 }
41346 _ACEOF
41347 if ac_fn_c_try_link "$LINENO"; then :
41348 INCICONV="-I../libiconv/include"
41349 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41350 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41351 am_cv_lib_iconv=yes
41352 am_cv_func_iconv=yes
41353 fi
41354 rm -f core conftest.err conftest.$ac_objext \
41355 conftest$ac_exeext conftest.$ac_ext
41356 CPPFLAGS="$am_save_CPPFLAGS"
41357 LIBS="$am_save_LIBS"
41358 if test "$am_cv_func_iconv" = "yes"; then
41359 break
41360 fi
41361 done
41362 fi
41363
41364 if test "$am_cv_func_iconv" != yes; then
41365 am_save_CPPFLAGS="$CPPFLAGS"
41366 am_save_LIBS="$LIBS"
41367 CPPFLAGS="$CPPFLAGS $INCICONV"
41368 LIBS="$LIBS $LIBICONV"
41369 if test x$gcc_no_link = xyes; then
41370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41371 fi
41372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41373 /* end confdefs.h. */
41374 #include <stdlib.h>
41375 #include <iconv.h>
41376 int
41377 main ()
41378 {
41379 iconv_t cd = iconv_open("","");
41380 iconv(cd,NULL,NULL,NULL,NULL);
41381 iconv_close(cd);
41382 ;
41383 return 0;
41384 }
41385 _ACEOF
41386 if ac_fn_c_try_link "$LINENO"; then :
41387 am_cv_lib_iconv=yes
41388 am_cv_func_iconv=yes
41389 fi
41390 rm -f core conftest.err conftest.$ac_objext \
41391 conftest$ac_exeext conftest.$ac_ext
41392 CPPFLAGS="$am_save_CPPFLAGS"
41393 LIBS="$am_save_LIBS"
41394 fi
41395
41396 fi
41397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41398 $as_echo "$am_cv_func_iconv" >&6; }
41399 if test "$am_cv_func_iconv" = yes; then
41400
41401 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41402
41403 fi
41404 if test "$am_cv_lib_iconv" = yes; then
41405
41406 for element in $INCICONV; do
41407 haveit=
41408 for x in $CPPFLAGS; do
41409
41410 acl_save_prefix="$prefix"
41411 prefix="$acl_final_prefix"
41412 acl_save_exec_prefix="$exec_prefix"
41413 exec_prefix="$acl_final_exec_prefix"
41414 eval x=\"$x\"
41415 exec_prefix="$acl_save_exec_prefix"
41416 prefix="$acl_save_prefix"
41417
41418 if test "X$x" = "X$element"; then
41419 haveit=yes
41420 break
41421 fi
41422 done
41423 if test -z "$haveit"; then
41424 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41425 fi
41426 done
41427
41428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41429 $as_echo_n "checking how to link with libiconv... " >&6; }
41430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41431 $as_echo "$LIBICONV" >&6; }
41432 else
41433 LIBICONV=
41434 LTLIBICONV=
41435 fi
41436
41437
41438
41439 if test "$am_cv_func_iconv" = yes; then
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41441 $as_echo_n "checking for iconv declaration... " >&6; }
41442 if ${am_cv_proto_iconv+:} false; then :
41443 $as_echo_n "(cached) " >&6
41444 else
41445
41446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41447 /* end confdefs.h. */
41448
41449 #include <stdlib.h>
41450 #include <iconv.h>
41451 extern
41452 #ifdef __cplusplus
41453 "C"
41454 #endif
41455 #if defined(__STDC__) || defined(__cplusplus)
41456 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41457 #else
41458 size_t iconv();
41459 #endif
41460
41461 int
41462 main ()
41463 {
41464
41465 ;
41466 return 0;
41467 }
41468 _ACEOF
41469 if ac_fn_c_try_compile "$LINENO"; then :
41470 am_cv_proto_iconv_arg1=""
41471 else
41472 am_cv_proto_iconv_arg1="const"
41473 fi
41474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41475 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);"
41476 fi
41477
41478 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41480 }$am_cv_proto_iconv" >&5
41481 $as_echo "${ac_t:-
41482 }$am_cv_proto_iconv" >&6; }
41483
41484 cat >>confdefs.h <<_ACEOF
41485 #define ICONV_CONST $am_cv_proto_iconv_arg1
41486 _ACEOF
41487
41488 fi
41489
41490 ;;
41491
41492 *-aix*)
41493
41494 # If we're not using GNU ld, then there's no point in even trying these
41495 # tests. Check for that first. We should have already tested for gld
41496 # by now (in libtool), but require it now just to be safe...
41497 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41498 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41499
41500
41501
41502 # The name set by libtool depends on the version of libtool. Shame on us
41503 # for depending on an impl detail, but c'est la vie. Older versions used
41504 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41505 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41506 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41507 # set (hence we're using an older libtool), then set it.
41508 if test x${with_gnu_ld+set} != xset; then
41509 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41510 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41511 with_gnu_ld=no
41512 else
41513 with_gnu_ld=$ac_cv_prog_gnu_ld
41514 fi
41515 fi
41516
41517 # Start by getting the version number. I think the libtool test already
41518 # does some of this, but throws away the result.
41519 glibcxx_ld_is_gold=no
41520 if test x"$with_gnu_ld" = x"yes"; then
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41522 $as_echo_n "checking for ld version... " >&6; }
41523
41524 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41525 glibcxx_ld_is_gold=yes
41526 fi
41527 ldver=`$LD --version 2>/dev/null |
41528 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'`
41529
41530 glibcxx_gnu_ld_version=`echo $ldver | \
41531 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41533 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41534 fi
41535
41536 # Set --gc-sections.
41537 glibcxx_have_gc_sections=no
41538 if test "$glibcxx_ld_is_gold" = "yes"; then
41539 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41540 glibcxx_have_gc_sections=yes
41541 fi
41542 else
41543 glibcxx_gcsections_min_ld=21602
41544 if test x"$with_gnu_ld" = x"yes" &&
41545 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41546 glibcxx_have_gc_sections=yes
41547 fi
41548 fi
41549 if test "$glibcxx_have_gc_sections" = "yes"; then
41550 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41551 # NB: This flag only works reliably after 2.16.1. Configure tests
41552 # for this are difficult, so hard wire a value that should work.
41553
41554 ac_test_CFLAGS="${CFLAGS+set}"
41555 ac_save_CFLAGS="$CFLAGS"
41556 CFLAGS='-Wl,--gc-sections'
41557
41558 # Check for -Wl,--gc-sections
41559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41560 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41561 if test x$gcc_no_link = xyes; then
41562 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41563 fi
41564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41565 /* end confdefs.h. */
41566 int one(void) { return 1; }
41567 int two(void) { return 2; }
41568
41569 int
41570 main ()
41571 {
41572 two();
41573 ;
41574 return 0;
41575 }
41576 _ACEOF
41577 if ac_fn_c_try_link "$LINENO"; then :
41578 ac_gcsections=yes
41579 else
41580 ac_gcsections=no
41581 fi
41582 rm -f core conftest.err conftest.$ac_objext \
41583 conftest$ac_exeext conftest.$ac_ext
41584 if test "$ac_gcsections" = "yes"; then
41585 rm -f conftest.c
41586 touch conftest.c
41587 if $CC -c conftest.c; then
41588 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41589 grep "Warning: gc-sections option ignored" > /dev/null; then
41590 ac_gcsections=no
41591 fi
41592 fi
41593 rm -f conftest.c conftest.o conftest
41594 fi
41595 if test "$ac_gcsections" = "yes"; then
41596 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41597 fi
41598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41599 $as_echo "$ac_gcsections" >&6; }
41600
41601 if test "$ac_test_CFLAGS" = set; then
41602 CFLAGS="$ac_save_CFLAGS"
41603 else
41604 # this is the suspicious part
41605 CFLAGS=''
41606 fi
41607 fi
41608
41609 # Set -z,relro.
41610 # Note this is only for shared objects.
41611 ac_ld_relro=no
41612 if test x"$with_gnu_ld" = x"yes"; then
41613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41614 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41615 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41616 if test -n "$cxx_z_relo"; then
41617 OPT_LDFLAGS="-Wl,-z,relro"
41618 ac_ld_relro=yes
41619 fi
41620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41621 $as_echo "$ac_ld_relro" >&6; }
41622 fi
41623
41624 # Set linker optimization flags.
41625 if test x"$with_gnu_ld" = x"yes"; then
41626 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41627 fi
41628
41629
41630
41631
41632
41633 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41634 ac_save_CXXFLAGS="$CXXFLAGS"
41635 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41636
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41638 $as_echo_n "checking for sin in -lm... " >&6; }
41639 if ${ac_cv_lib_m_sin+:} false; then :
41640 $as_echo_n "(cached) " >&6
41641 else
41642 ac_check_lib_save_LIBS=$LIBS
41643 LIBS="-lm $LIBS"
41644 if test x$gcc_no_link = xyes; then
41645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41646 fi
41647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41648 /* end confdefs.h. */
41649
41650 /* Override any GCC internal prototype to avoid an error.
41651 Use char because int might match the return type of a GCC
41652 builtin and then its argument prototype would still apply. */
41653 #ifdef __cplusplus
41654 extern "C"
41655 #endif
41656 char sin ();
41657 int
41658 main ()
41659 {
41660 return sin ();
41661 ;
41662 return 0;
41663 }
41664 _ACEOF
41665 if ac_fn_c_try_link "$LINENO"; then :
41666 ac_cv_lib_m_sin=yes
41667 else
41668 ac_cv_lib_m_sin=no
41669 fi
41670 rm -f core conftest.err conftest.$ac_objext \
41671 conftest$ac_exeext conftest.$ac_ext
41672 LIBS=$ac_check_lib_save_LIBS
41673 fi
41674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41675 $as_echo "$ac_cv_lib_m_sin" >&6; }
41676 if test "x$ac_cv_lib_m_sin" = xyes; then :
41677 libm="-lm"
41678 fi
41679
41680 ac_save_LIBS="$LIBS"
41681 LIBS="$LIBS $libm"
41682
41683
41684
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41686 $as_echo_n "checking for isinf declaration... " >&6; }
41687 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41688 if ${glibcxx_cv_func_isinf_use+:} false; then :
41689 $as_echo_n "(cached) " >&6
41690 else
41691
41692
41693 ac_ext=cpp
41694 ac_cpp='$CXXCPP $CPPFLAGS'
41695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41698
41699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41700 /* end confdefs.h. */
41701 #include <math.h>
41702 #ifdef HAVE_IEEEFP_H
41703 #include <ieeefp.h>
41704 #endif
41705
41706 int
41707 main ()
41708 {
41709 isinf(0);
41710 ;
41711 return 0;
41712 }
41713 _ACEOF
41714 if ac_fn_cxx_try_compile "$LINENO"; then :
41715 glibcxx_cv_func_isinf_use=yes
41716 else
41717 glibcxx_cv_func_isinf_use=no
41718 fi
41719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41720 ac_ext=c
41721 ac_cpp='$CPP $CPPFLAGS'
41722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41725
41726
41727 fi
41728
41729 fi
41730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41731 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41732
41733 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41734 for ac_func in isinf
41735 do :
41736 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41737 if test "x$ac_cv_func_isinf" = xyes; then :
41738 cat >>confdefs.h <<_ACEOF
41739 #define HAVE_ISINF 1
41740 _ACEOF
41741
41742 fi
41743 done
41744
41745 else
41746
41747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41748 $as_echo_n "checking for _isinf declaration... " >&6; }
41749 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41750 if ${glibcxx_cv_func__isinf_use+:} false; then :
41751 $as_echo_n "(cached) " >&6
41752 else
41753
41754
41755 ac_ext=cpp
41756 ac_cpp='$CXXCPP $CPPFLAGS'
41757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41760
41761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41762 /* end confdefs.h. */
41763 #include <math.h>
41764 #ifdef HAVE_IEEEFP_H
41765 #include <ieeefp.h>
41766 #endif
41767
41768 int
41769 main ()
41770 {
41771 _isinf(0);
41772 ;
41773 return 0;
41774 }
41775 _ACEOF
41776 if ac_fn_cxx_try_compile "$LINENO"; then :
41777 glibcxx_cv_func__isinf_use=yes
41778 else
41779 glibcxx_cv_func__isinf_use=no
41780 fi
41781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41782 ac_ext=c
41783 ac_cpp='$CPP $CPPFLAGS'
41784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41787
41788
41789 fi
41790
41791 fi
41792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41793 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41794
41795 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41796 for ac_func in _isinf
41797 do :
41798 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41799 if test "x$ac_cv_func__isinf" = xyes; then :
41800 cat >>confdefs.h <<_ACEOF
41801 #define HAVE__ISINF 1
41802 _ACEOF
41803
41804 fi
41805 done
41806
41807 fi
41808 fi
41809
41810
41811
41812
41813
41814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41815 $as_echo_n "checking for isnan declaration... " >&6; }
41816 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41817 if ${glibcxx_cv_func_isnan_use+:} false; then :
41818 $as_echo_n "(cached) " >&6
41819 else
41820
41821
41822 ac_ext=cpp
41823 ac_cpp='$CXXCPP $CPPFLAGS'
41824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827
41828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41829 /* end confdefs.h. */
41830 #include <math.h>
41831 #ifdef HAVE_IEEEFP_H
41832 #include <ieeefp.h>
41833 #endif
41834
41835 int
41836 main ()
41837 {
41838 isnan(0);
41839 ;
41840 return 0;
41841 }
41842 _ACEOF
41843 if ac_fn_cxx_try_compile "$LINENO"; then :
41844 glibcxx_cv_func_isnan_use=yes
41845 else
41846 glibcxx_cv_func_isnan_use=no
41847 fi
41848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41849 ac_ext=c
41850 ac_cpp='$CPP $CPPFLAGS'
41851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41854
41855
41856 fi
41857
41858 fi
41859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41860 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41861
41862 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41863 for ac_func in isnan
41864 do :
41865 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41866 if test "x$ac_cv_func_isnan" = xyes; then :
41867 cat >>confdefs.h <<_ACEOF
41868 #define HAVE_ISNAN 1
41869 _ACEOF
41870
41871 fi
41872 done
41873
41874 else
41875
41876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41877 $as_echo_n "checking for _isnan declaration... " >&6; }
41878 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41879 if ${glibcxx_cv_func__isnan_use+:} false; then :
41880 $as_echo_n "(cached) " >&6
41881 else
41882
41883
41884 ac_ext=cpp
41885 ac_cpp='$CXXCPP $CPPFLAGS'
41886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889
41890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891 /* end confdefs.h. */
41892 #include <math.h>
41893 #ifdef HAVE_IEEEFP_H
41894 #include <ieeefp.h>
41895 #endif
41896
41897 int
41898 main ()
41899 {
41900 _isnan(0);
41901 ;
41902 return 0;
41903 }
41904 _ACEOF
41905 if ac_fn_cxx_try_compile "$LINENO"; then :
41906 glibcxx_cv_func__isnan_use=yes
41907 else
41908 glibcxx_cv_func__isnan_use=no
41909 fi
41910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41911 ac_ext=c
41912 ac_cpp='$CPP $CPPFLAGS'
41913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41916
41917
41918 fi
41919
41920 fi
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41922 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41923
41924 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41925 for ac_func in _isnan
41926 do :
41927 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41928 if test "x$ac_cv_func__isnan" = xyes; then :
41929 cat >>confdefs.h <<_ACEOF
41930 #define HAVE__ISNAN 1
41931 _ACEOF
41932
41933 fi
41934 done
41935
41936 fi
41937 fi
41938
41939
41940
41941
41942
41943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41944 $as_echo_n "checking for finite declaration... " >&6; }
41945 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41946 if ${glibcxx_cv_func_finite_use+:} false; then :
41947 $as_echo_n "(cached) " >&6
41948 else
41949
41950
41951 ac_ext=cpp
41952 ac_cpp='$CXXCPP $CPPFLAGS'
41953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956
41957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41958 /* end confdefs.h. */
41959 #include <math.h>
41960 #ifdef HAVE_IEEEFP_H
41961 #include <ieeefp.h>
41962 #endif
41963
41964 int
41965 main ()
41966 {
41967 finite(0);
41968 ;
41969 return 0;
41970 }
41971 _ACEOF
41972 if ac_fn_cxx_try_compile "$LINENO"; then :
41973 glibcxx_cv_func_finite_use=yes
41974 else
41975 glibcxx_cv_func_finite_use=no
41976 fi
41977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41978 ac_ext=c
41979 ac_cpp='$CPP $CPPFLAGS'
41980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41983
41984
41985 fi
41986
41987 fi
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41989 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41990
41991 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41992 for ac_func in finite
41993 do :
41994 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41995 if test "x$ac_cv_func_finite" = xyes; then :
41996 cat >>confdefs.h <<_ACEOF
41997 #define HAVE_FINITE 1
41998 _ACEOF
41999
42000 fi
42001 done
42002
42003 else
42004
42005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42006 $as_echo_n "checking for _finite declaration... " >&6; }
42007 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42008 if ${glibcxx_cv_func__finite_use+:} false; then :
42009 $as_echo_n "(cached) " >&6
42010 else
42011
42012
42013 ac_ext=cpp
42014 ac_cpp='$CXXCPP $CPPFLAGS'
42015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018
42019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42020 /* end confdefs.h. */
42021 #include <math.h>
42022 #ifdef HAVE_IEEEFP_H
42023 #include <ieeefp.h>
42024 #endif
42025
42026 int
42027 main ()
42028 {
42029 _finite(0);
42030 ;
42031 return 0;
42032 }
42033 _ACEOF
42034 if ac_fn_cxx_try_compile "$LINENO"; then :
42035 glibcxx_cv_func__finite_use=yes
42036 else
42037 glibcxx_cv_func__finite_use=no
42038 fi
42039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_ext=c
42041 ac_cpp='$CPP $CPPFLAGS'
42042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42045
42046
42047 fi
42048
42049 fi
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42051 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42052
42053 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42054 for ac_func in _finite
42055 do :
42056 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42057 if test "x$ac_cv_func__finite" = xyes; then :
42058 cat >>confdefs.h <<_ACEOF
42059 #define HAVE__FINITE 1
42060 _ACEOF
42061
42062 fi
42063 done
42064
42065 fi
42066 fi
42067
42068
42069
42070
42071
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42073 $as_echo_n "checking for sincos declaration... " >&6; }
42074 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42075 if ${glibcxx_cv_func_sincos_use+:} false; then :
42076 $as_echo_n "(cached) " >&6
42077 else
42078
42079
42080 ac_ext=cpp
42081 ac_cpp='$CXXCPP $CPPFLAGS'
42082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42085
42086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42087 /* end confdefs.h. */
42088 #include <math.h>
42089 int
42090 main ()
42091 {
42092 sincos(0, 0, 0);
42093 ;
42094 return 0;
42095 }
42096 _ACEOF
42097 if ac_fn_cxx_try_compile "$LINENO"; then :
42098 glibcxx_cv_func_sincos_use=yes
42099 else
42100 glibcxx_cv_func_sincos_use=no
42101 fi
42102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103 ac_ext=c
42104 ac_cpp='$CPP $CPPFLAGS'
42105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42108
42109
42110 fi
42111
42112 fi
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42114 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42115
42116 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42117 for ac_func in sincos
42118 do :
42119 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42120 if test "x$ac_cv_func_sincos" = xyes; then :
42121 cat >>confdefs.h <<_ACEOF
42122 #define HAVE_SINCOS 1
42123 _ACEOF
42124
42125 fi
42126 done
42127
42128 else
42129
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42131 $as_echo_n "checking for _sincos declaration... " >&6; }
42132 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42133 if ${glibcxx_cv_func__sincos_use+:} false; then :
42134 $as_echo_n "(cached) " >&6
42135 else
42136
42137
42138 ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143
42144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h. */
42146 #include <math.h>
42147 int
42148 main ()
42149 {
42150 _sincos(0, 0, 0);
42151 ;
42152 return 0;
42153 }
42154 _ACEOF
42155 if ac_fn_cxx_try_compile "$LINENO"; then :
42156 glibcxx_cv_func__sincos_use=yes
42157 else
42158 glibcxx_cv_func__sincos_use=no
42159 fi
42160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42161 ac_ext=c
42162 ac_cpp='$CPP $CPPFLAGS'
42163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42166
42167
42168 fi
42169
42170 fi
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42172 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42173
42174 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42175 for ac_func in _sincos
42176 do :
42177 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42178 if test "x$ac_cv_func__sincos" = xyes; then :
42179 cat >>confdefs.h <<_ACEOF
42180 #define HAVE__SINCOS 1
42181 _ACEOF
42182
42183 fi
42184 done
42185
42186 fi
42187 fi
42188
42189
42190
42191
42192
42193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42194 $as_echo_n "checking for fpclass declaration... " >&6; }
42195 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42196 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42197 $as_echo_n "(cached) " >&6
42198 else
42199
42200
42201 ac_ext=cpp
42202 ac_cpp='$CXXCPP $CPPFLAGS'
42203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206
42207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42208 /* end confdefs.h. */
42209 #include <math.h>
42210 #ifdef HAVE_IEEEFP_H
42211 #include <ieeefp.h>
42212 #endif
42213
42214 int
42215 main ()
42216 {
42217 fpclass(0);
42218 ;
42219 return 0;
42220 }
42221 _ACEOF
42222 if ac_fn_cxx_try_compile "$LINENO"; then :
42223 glibcxx_cv_func_fpclass_use=yes
42224 else
42225 glibcxx_cv_func_fpclass_use=no
42226 fi
42227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42228 ac_ext=c
42229 ac_cpp='$CPP $CPPFLAGS'
42230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42233
42234
42235 fi
42236
42237 fi
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42239 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42240
42241 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42242 for ac_func in fpclass
42243 do :
42244 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42245 if test "x$ac_cv_func_fpclass" = xyes; then :
42246 cat >>confdefs.h <<_ACEOF
42247 #define HAVE_FPCLASS 1
42248 _ACEOF
42249
42250 fi
42251 done
42252
42253 else
42254
42255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42256 $as_echo_n "checking for _fpclass declaration... " >&6; }
42257 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42258 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42259 $as_echo_n "(cached) " >&6
42260 else
42261
42262
42263 ac_ext=cpp
42264 ac_cpp='$CXXCPP $CPPFLAGS'
42265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268
42269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42270 /* end confdefs.h. */
42271 #include <math.h>
42272 #ifdef HAVE_IEEEFP_H
42273 #include <ieeefp.h>
42274 #endif
42275
42276 int
42277 main ()
42278 {
42279 _fpclass(0);
42280 ;
42281 return 0;
42282 }
42283 _ACEOF
42284 if ac_fn_cxx_try_compile "$LINENO"; then :
42285 glibcxx_cv_func__fpclass_use=yes
42286 else
42287 glibcxx_cv_func__fpclass_use=no
42288 fi
42289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42290 ac_ext=c
42291 ac_cpp='$CPP $CPPFLAGS'
42292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42295
42296
42297 fi
42298
42299 fi
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42301 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42302
42303 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42304 for ac_func in _fpclass
42305 do :
42306 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42307 if test "x$ac_cv_func__fpclass" = xyes; then :
42308 cat >>confdefs.h <<_ACEOF
42309 #define HAVE__FPCLASS 1
42310 _ACEOF
42311
42312 fi
42313 done
42314
42315 fi
42316 fi
42317
42318
42319
42320
42321
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42323 $as_echo_n "checking for qfpclass declaration... " >&6; }
42324 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42325 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42326 $as_echo_n "(cached) " >&6
42327 else
42328
42329
42330 ac_ext=cpp
42331 ac_cpp='$CXXCPP $CPPFLAGS'
42332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42335
42336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42337 /* end confdefs.h. */
42338 #include <math.h>
42339 #ifdef HAVE_IEEEFP_H
42340 #include <ieeefp.h>
42341 #endif
42342
42343 int
42344 main ()
42345 {
42346 qfpclass(0);
42347 ;
42348 return 0;
42349 }
42350 _ACEOF
42351 if ac_fn_cxx_try_compile "$LINENO"; then :
42352 glibcxx_cv_func_qfpclass_use=yes
42353 else
42354 glibcxx_cv_func_qfpclass_use=no
42355 fi
42356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357 ac_ext=c
42358 ac_cpp='$CPP $CPPFLAGS'
42359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42362
42363
42364 fi
42365
42366 fi
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42368 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42369
42370 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42371 for ac_func in qfpclass
42372 do :
42373 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42374 if test "x$ac_cv_func_qfpclass" = xyes; then :
42375 cat >>confdefs.h <<_ACEOF
42376 #define HAVE_QFPCLASS 1
42377 _ACEOF
42378
42379 fi
42380 done
42381
42382 else
42383
42384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42385 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42386 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42387 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42388 $as_echo_n "(cached) " >&6
42389 else
42390
42391
42392 ac_ext=cpp
42393 ac_cpp='$CXXCPP $CPPFLAGS'
42394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397
42398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42399 /* end confdefs.h. */
42400 #include <math.h>
42401 #ifdef HAVE_IEEEFP_H
42402 #include <ieeefp.h>
42403 #endif
42404
42405 int
42406 main ()
42407 {
42408 _qfpclass(0);
42409 ;
42410 return 0;
42411 }
42412 _ACEOF
42413 if ac_fn_cxx_try_compile "$LINENO"; then :
42414 glibcxx_cv_func__qfpclass_use=yes
42415 else
42416 glibcxx_cv_func__qfpclass_use=no
42417 fi
42418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42419 ac_ext=c
42420 ac_cpp='$CPP $CPPFLAGS'
42421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42424
42425
42426 fi
42427
42428 fi
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42430 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42431
42432 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42433 for ac_func in _qfpclass
42434 do :
42435 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42436 if test "x$ac_cv_func__qfpclass" = xyes; then :
42437 cat >>confdefs.h <<_ACEOF
42438 #define HAVE__QFPCLASS 1
42439 _ACEOF
42440
42441 fi
42442 done
42443
42444 fi
42445 fi
42446
42447
42448
42449
42450
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42452 $as_echo_n "checking for hypot declaration... " >&6; }
42453 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42454 if ${glibcxx_cv_func_hypot_use+:} false; then :
42455 $as_echo_n "(cached) " >&6
42456 else
42457
42458
42459 ac_ext=cpp
42460 ac_cpp='$CXXCPP $CPPFLAGS'
42461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42464
42465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42466 /* end confdefs.h. */
42467 #include <math.h>
42468 int
42469 main ()
42470 {
42471 hypot(0, 0);
42472 ;
42473 return 0;
42474 }
42475 _ACEOF
42476 if ac_fn_cxx_try_compile "$LINENO"; then :
42477 glibcxx_cv_func_hypot_use=yes
42478 else
42479 glibcxx_cv_func_hypot_use=no
42480 fi
42481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42482 ac_ext=c
42483 ac_cpp='$CPP $CPPFLAGS'
42484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42487
42488
42489 fi
42490
42491 fi
42492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42493 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42494
42495 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42496 for ac_func in hypot
42497 do :
42498 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42499 if test "x$ac_cv_func_hypot" = xyes; then :
42500 cat >>confdefs.h <<_ACEOF
42501 #define HAVE_HYPOT 1
42502 _ACEOF
42503
42504 fi
42505 done
42506
42507 else
42508
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42510 $as_echo_n "checking for _hypot declaration... " >&6; }
42511 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42512 if ${glibcxx_cv_func__hypot_use+:} false; then :
42513 $as_echo_n "(cached) " >&6
42514 else
42515
42516
42517 ac_ext=cpp
42518 ac_cpp='$CXXCPP $CPPFLAGS'
42519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522
42523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42524 /* end confdefs.h. */
42525 #include <math.h>
42526 int
42527 main ()
42528 {
42529 _hypot(0, 0);
42530 ;
42531 return 0;
42532 }
42533 _ACEOF
42534 if ac_fn_cxx_try_compile "$LINENO"; then :
42535 glibcxx_cv_func__hypot_use=yes
42536 else
42537 glibcxx_cv_func__hypot_use=no
42538 fi
42539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540 ac_ext=c
42541 ac_cpp='$CPP $CPPFLAGS'
42542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42545
42546
42547 fi
42548
42549 fi
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42551 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42552
42553 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42554 for ac_func in _hypot
42555 do :
42556 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42557 if test "x$ac_cv_func__hypot" = xyes; then :
42558 cat >>confdefs.h <<_ACEOF
42559 #define HAVE__HYPOT 1
42560 _ACEOF
42561
42562 fi
42563 done
42564
42565 fi
42566 fi
42567
42568
42569
42570
42571
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42573 $as_echo_n "checking for float trig functions... " >&6; }
42574 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42575 $as_echo_n "(cached) " >&6
42576 else
42577
42578
42579 ac_ext=cpp
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584
42585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42586 /* end confdefs.h. */
42587 #include <math.h>
42588 int
42589 main ()
42590 {
42591 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42592 ;
42593 return 0;
42594 }
42595 _ACEOF
42596 if ac_fn_cxx_try_compile "$LINENO"; then :
42597 glibcxx_cv_func_float_trig_use=yes
42598 else
42599 glibcxx_cv_func_float_trig_use=no
42600 fi
42601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42602 ac_ext=c
42603 ac_cpp='$CPP $CPPFLAGS'
42604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42607
42608 fi
42609
42610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42611 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42612 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42613 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42614 do :
42615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42617 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42618 cat >>confdefs.h <<_ACEOF
42619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42620 _ACEOF
42621
42622 fi
42623 done
42624
42625 else
42626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42627 $as_echo_n "checking for _float trig functions... " >&6; }
42628 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42629 $as_echo_n "(cached) " >&6
42630 else
42631
42632
42633 ac_ext=cpp
42634 ac_cpp='$CXXCPP $CPPFLAGS'
42635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42638
42639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42640 /* end confdefs.h. */
42641 #include <math.h>
42642 int
42643 main ()
42644 {
42645 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42646 ;
42647 return 0;
42648 }
42649 _ACEOF
42650 if ac_fn_cxx_try_compile "$LINENO"; then :
42651 glibcxx_cv_func__float_trig_use=yes
42652 else
42653 glibcxx_cv_func__float_trig_use=no
42654 fi
42655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42656 ac_ext=c
42657 ac_cpp='$CPP $CPPFLAGS'
42658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42661
42662 fi
42663
42664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42665 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42666 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42667 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42668 do :
42669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42672 cat >>confdefs.h <<_ACEOF
42673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42674 _ACEOF
42675
42676 fi
42677 done
42678
42679 fi
42680 fi
42681
42682
42683
42684
42685
42686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42687 $as_echo_n "checking for float round functions... " >&6; }
42688 if ${glibcxx_cv_func_float_round_use+:} false; then :
42689 $as_echo_n "(cached) " >&6
42690 else
42691
42692
42693 ac_ext=cpp
42694 ac_cpp='$CXXCPP $CPPFLAGS'
42695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42698
42699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42700 /* end confdefs.h. */
42701 #include <math.h>
42702 int
42703 main ()
42704 {
42705 ceilf (0); floorf (0);
42706 ;
42707 return 0;
42708 }
42709 _ACEOF
42710 if ac_fn_cxx_try_compile "$LINENO"; then :
42711 glibcxx_cv_func_float_round_use=yes
42712 else
42713 glibcxx_cv_func_float_round_use=no
42714 fi
42715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42716 ac_ext=c
42717 ac_cpp='$CPP $CPPFLAGS'
42718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42721
42722 fi
42723
42724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42725 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42726 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42727 for ac_func in ceilf floorf
42728 do :
42729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42731 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42732 cat >>confdefs.h <<_ACEOF
42733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42734 _ACEOF
42735
42736 fi
42737 done
42738
42739 else
42740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42741 $as_echo_n "checking for _float round functions... " >&6; }
42742 if ${glibcxx_cv_func__float_round_use+:} false; then :
42743 $as_echo_n "(cached) " >&6
42744 else
42745
42746
42747 ac_ext=cpp
42748 ac_cpp='$CXXCPP $CPPFLAGS'
42749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42752
42753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42754 /* end confdefs.h. */
42755 #include <math.h>
42756 int
42757 main ()
42758 {
42759 _ceilf (0); _floorf (0);
42760 ;
42761 return 0;
42762 }
42763 _ACEOF
42764 if ac_fn_cxx_try_compile "$LINENO"; then :
42765 glibcxx_cv_func__float_round_use=yes
42766 else
42767 glibcxx_cv_func__float_round_use=no
42768 fi
42769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42770 ac_ext=c
42771 ac_cpp='$CPP $CPPFLAGS'
42772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42775
42776 fi
42777
42778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42779 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42780 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42781 for ac_func in _ceilf _floorf
42782 do :
42783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42786 cat >>confdefs.h <<_ACEOF
42787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42788 _ACEOF
42789
42790 fi
42791 done
42792
42793 fi
42794 fi
42795
42796
42797
42798
42799
42800
42801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42802 $as_echo_n "checking for expf declaration... " >&6; }
42803 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42804 if ${glibcxx_cv_func_expf_use+:} false; then :
42805 $as_echo_n "(cached) " >&6
42806 else
42807
42808
42809 ac_ext=cpp
42810 ac_cpp='$CXXCPP $CPPFLAGS'
42811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42814
42815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42816 /* end confdefs.h. */
42817 #include <math.h>
42818 #ifdef HAVE_IEEEFP_H
42819 #include <ieeefp.h>
42820 #endif
42821
42822 int
42823 main ()
42824 {
42825 expf(0);
42826 ;
42827 return 0;
42828 }
42829 _ACEOF
42830 if ac_fn_cxx_try_compile "$LINENO"; then :
42831 glibcxx_cv_func_expf_use=yes
42832 else
42833 glibcxx_cv_func_expf_use=no
42834 fi
42835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42836 ac_ext=c
42837 ac_cpp='$CPP $CPPFLAGS'
42838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841
42842
42843 fi
42844
42845 fi
42846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42847 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42848
42849 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42850 for ac_func in expf
42851 do :
42852 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42853 if test "x$ac_cv_func_expf" = xyes; then :
42854 cat >>confdefs.h <<_ACEOF
42855 #define HAVE_EXPF 1
42856 _ACEOF
42857
42858 fi
42859 done
42860
42861 else
42862
42863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42864 $as_echo_n "checking for _expf declaration... " >&6; }
42865 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42866 if ${glibcxx_cv_func__expf_use+:} false; then :
42867 $as_echo_n "(cached) " >&6
42868 else
42869
42870
42871 ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876
42877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h. */
42879 #include <math.h>
42880 #ifdef HAVE_IEEEFP_H
42881 #include <ieeefp.h>
42882 #endif
42883
42884 int
42885 main ()
42886 {
42887 _expf(0);
42888 ;
42889 return 0;
42890 }
42891 _ACEOF
42892 if ac_fn_cxx_try_compile "$LINENO"; then :
42893 glibcxx_cv_func__expf_use=yes
42894 else
42895 glibcxx_cv_func__expf_use=no
42896 fi
42897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42898 ac_ext=c
42899 ac_cpp='$CPP $CPPFLAGS'
42900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42903
42904
42905 fi
42906
42907 fi
42908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42909 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42910
42911 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42912 for ac_func in _expf
42913 do :
42914 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42915 if test "x$ac_cv_func__expf" = xyes; then :
42916 cat >>confdefs.h <<_ACEOF
42917 #define HAVE__EXPF 1
42918 _ACEOF
42919
42920 fi
42921 done
42922
42923 fi
42924 fi
42925
42926
42927
42928
42929
42930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42931 $as_echo_n "checking for isnanf declaration... " >&6; }
42932 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42933 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42934 $as_echo_n "(cached) " >&6
42935 else
42936
42937
42938 ac_ext=cpp
42939 ac_cpp='$CXXCPP $CPPFLAGS'
42940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42943
42944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42945 /* end confdefs.h. */
42946 #include <math.h>
42947 #ifdef HAVE_IEEEFP_H
42948 #include <ieeefp.h>
42949 #endif
42950
42951 int
42952 main ()
42953 {
42954 isnanf(0);
42955 ;
42956 return 0;
42957 }
42958 _ACEOF
42959 if ac_fn_cxx_try_compile "$LINENO"; then :
42960 glibcxx_cv_func_isnanf_use=yes
42961 else
42962 glibcxx_cv_func_isnanf_use=no
42963 fi
42964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42965 ac_ext=c
42966 ac_cpp='$CPP $CPPFLAGS'
42967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970
42971
42972 fi
42973
42974 fi
42975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42976 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42977
42978 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42979 for ac_func in isnanf
42980 do :
42981 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42982 if test "x$ac_cv_func_isnanf" = xyes; then :
42983 cat >>confdefs.h <<_ACEOF
42984 #define HAVE_ISNANF 1
42985 _ACEOF
42986
42987 fi
42988 done
42989
42990 else
42991
42992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42993 $as_echo_n "checking for _isnanf declaration... " >&6; }
42994 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42995 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42996 $as_echo_n "(cached) " >&6
42997 else
42998
42999
43000 ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005
43006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007 /* end confdefs.h. */
43008 #include <math.h>
43009 #ifdef HAVE_IEEEFP_H
43010 #include <ieeefp.h>
43011 #endif
43012
43013 int
43014 main ()
43015 {
43016 _isnanf(0);
43017 ;
43018 return 0;
43019 }
43020 _ACEOF
43021 if ac_fn_cxx_try_compile "$LINENO"; then :
43022 glibcxx_cv_func__isnanf_use=yes
43023 else
43024 glibcxx_cv_func__isnanf_use=no
43025 fi
43026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43027 ac_ext=c
43028 ac_cpp='$CPP $CPPFLAGS'
43029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43032
43033
43034 fi
43035
43036 fi
43037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43038 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43039
43040 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43041 for ac_func in _isnanf
43042 do :
43043 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43044 if test "x$ac_cv_func__isnanf" = xyes; then :
43045 cat >>confdefs.h <<_ACEOF
43046 #define HAVE__ISNANF 1
43047 _ACEOF
43048
43049 fi
43050 done
43051
43052 fi
43053 fi
43054
43055
43056
43057
43058
43059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43060 $as_echo_n "checking for isinff declaration... " >&6; }
43061 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43062 if ${glibcxx_cv_func_isinff_use+:} false; then :
43063 $as_echo_n "(cached) " >&6
43064 else
43065
43066
43067 ac_ext=cpp
43068 ac_cpp='$CXXCPP $CPPFLAGS'
43069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43072
43073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43074 /* end confdefs.h. */
43075 #include <math.h>
43076 #ifdef HAVE_IEEEFP_H
43077 #include <ieeefp.h>
43078 #endif
43079
43080 int
43081 main ()
43082 {
43083 isinff(0);
43084 ;
43085 return 0;
43086 }
43087 _ACEOF
43088 if ac_fn_cxx_try_compile "$LINENO"; then :
43089 glibcxx_cv_func_isinff_use=yes
43090 else
43091 glibcxx_cv_func_isinff_use=no
43092 fi
43093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43094 ac_ext=c
43095 ac_cpp='$CPP $CPPFLAGS'
43096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43099
43100
43101 fi
43102
43103 fi
43104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43105 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43106
43107 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43108 for ac_func in isinff
43109 do :
43110 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43111 if test "x$ac_cv_func_isinff" = xyes; then :
43112 cat >>confdefs.h <<_ACEOF
43113 #define HAVE_ISINFF 1
43114 _ACEOF
43115
43116 fi
43117 done
43118
43119 else
43120
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43122 $as_echo_n "checking for _isinff declaration... " >&6; }
43123 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43124 if ${glibcxx_cv_func__isinff_use+:} false; then :
43125 $as_echo_n "(cached) " >&6
43126 else
43127
43128
43129 ac_ext=cpp
43130 ac_cpp='$CXXCPP $CPPFLAGS'
43131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134
43135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43136 /* end confdefs.h. */
43137 #include <math.h>
43138 #ifdef HAVE_IEEEFP_H
43139 #include <ieeefp.h>
43140 #endif
43141
43142 int
43143 main ()
43144 {
43145 _isinff(0);
43146 ;
43147 return 0;
43148 }
43149 _ACEOF
43150 if ac_fn_cxx_try_compile "$LINENO"; then :
43151 glibcxx_cv_func__isinff_use=yes
43152 else
43153 glibcxx_cv_func__isinff_use=no
43154 fi
43155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43156 ac_ext=c
43157 ac_cpp='$CPP $CPPFLAGS'
43158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43161
43162
43163 fi
43164
43165 fi
43166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43167 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43168
43169 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43170 for ac_func in _isinff
43171 do :
43172 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43173 if test "x$ac_cv_func__isinff" = xyes; then :
43174 cat >>confdefs.h <<_ACEOF
43175 #define HAVE__ISINFF 1
43176 _ACEOF
43177
43178 fi
43179 done
43180
43181 fi
43182 fi
43183
43184
43185
43186
43187
43188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43189 $as_echo_n "checking for atan2f declaration... " >&6; }
43190 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43191 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43192 $as_echo_n "(cached) " >&6
43193 else
43194
43195
43196 ac_ext=cpp
43197 ac_cpp='$CXXCPP $CPPFLAGS'
43198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43201
43202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43203 /* end confdefs.h. */
43204 #include <math.h>
43205 int
43206 main ()
43207 {
43208 atan2f(0, 0);
43209 ;
43210 return 0;
43211 }
43212 _ACEOF
43213 if ac_fn_cxx_try_compile "$LINENO"; then :
43214 glibcxx_cv_func_atan2f_use=yes
43215 else
43216 glibcxx_cv_func_atan2f_use=no
43217 fi
43218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43219 ac_ext=c
43220 ac_cpp='$CPP $CPPFLAGS'
43221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43224
43225
43226 fi
43227
43228 fi
43229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43230 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43231
43232 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43233 for ac_func in atan2f
43234 do :
43235 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43236 if test "x$ac_cv_func_atan2f" = xyes; then :
43237 cat >>confdefs.h <<_ACEOF
43238 #define HAVE_ATAN2F 1
43239 _ACEOF
43240
43241 fi
43242 done
43243
43244 else
43245
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43247 $as_echo_n "checking for _atan2f declaration... " >&6; }
43248 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43249 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43250 $as_echo_n "(cached) " >&6
43251 else
43252
43253
43254 ac_ext=cpp
43255 ac_cpp='$CXXCPP $CPPFLAGS'
43256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43259
43260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43261 /* end confdefs.h. */
43262 #include <math.h>
43263 int
43264 main ()
43265 {
43266 _atan2f(0, 0);
43267 ;
43268 return 0;
43269 }
43270 _ACEOF
43271 if ac_fn_cxx_try_compile "$LINENO"; then :
43272 glibcxx_cv_func__atan2f_use=yes
43273 else
43274 glibcxx_cv_func__atan2f_use=no
43275 fi
43276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43277 ac_ext=c
43278 ac_cpp='$CPP $CPPFLAGS'
43279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43282
43283
43284 fi
43285
43286 fi
43287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43288 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43289
43290 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43291 for ac_func in _atan2f
43292 do :
43293 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43294 if test "x$ac_cv_func__atan2f" = xyes; then :
43295 cat >>confdefs.h <<_ACEOF
43296 #define HAVE__ATAN2F 1
43297 _ACEOF
43298
43299 fi
43300 done
43301
43302 fi
43303 fi
43304
43305
43306
43307
43308
43309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43310 $as_echo_n "checking for fabsf declaration... " >&6; }
43311 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43312 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43313 $as_echo_n "(cached) " >&6
43314 else
43315
43316
43317 ac_ext=cpp
43318 ac_cpp='$CXXCPP $CPPFLAGS'
43319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43322
43323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43324 /* end confdefs.h. */
43325 #include <math.h>
43326 #ifdef HAVE_IEEEFP_H
43327 #include <ieeefp.h>
43328 #endif
43329
43330 int
43331 main ()
43332 {
43333 fabsf(0);
43334 ;
43335 return 0;
43336 }
43337 _ACEOF
43338 if ac_fn_cxx_try_compile "$LINENO"; then :
43339 glibcxx_cv_func_fabsf_use=yes
43340 else
43341 glibcxx_cv_func_fabsf_use=no
43342 fi
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43349
43350
43351 fi
43352
43353 fi
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43355 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43356
43357 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43358 for ac_func in fabsf
43359 do :
43360 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43361 if test "x$ac_cv_func_fabsf" = xyes; then :
43362 cat >>confdefs.h <<_ACEOF
43363 #define HAVE_FABSF 1
43364 _ACEOF
43365
43366 fi
43367 done
43368
43369 else
43370
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43372 $as_echo_n "checking for _fabsf declaration... " >&6; }
43373 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43374 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43375 $as_echo_n "(cached) " >&6
43376 else
43377
43378
43379 ac_ext=cpp
43380 ac_cpp='$CXXCPP $CPPFLAGS'
43381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43384
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43386 /* end confdefs.h. */
43387 #include <math.h>
43388 #ifdef HAVE_IEEEFP_H
43389 #include <ieeefp.h>
43390 #endif
43391
43392 int
43393 main ()
43394 {
43395 _fabsf(0);
43396 ;
43397 return 0;
43398 }
43399 _ACEOF
43400 if ac_fn_cxx_try_compile "$LINENO"; then :
43401 glibcxx_cv_func__fabsf_use=yes
43402 else
43403 glibcxx_cv_func__fabsf_use=no
43404 fi
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 ac_ext=c
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43411
43412
43413 fi
43414
43415 fi
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43417 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43418
43419 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43420 for ac_func in _fabsf
43421 do :
43422 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43423 if test "x$ac_cv_func__fabsf" = xyes; then :
43424 cat >>confdefs.h <<_ACEOF
43425 #define HAVE__FABSF 1
43426 _ACEOF
43427
43428 fi
43429 done
43430
43431 fi
43432 fi
43433
43434
43435
43436
43437
43438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43439 $as_echo_n "checking for fmodf declaration... " >&6; }
43440 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43441 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43442 $as_echo_n "(cached) " >&6
43443 else
43444
43445
43446 ac_ext=cpp
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43451
43452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453 /* end confdefs.h. */
43454 #include <math.h>
43455 int
43456 main ()
43457 {
43458 fmodf(0, 0);
43459 ;
43460 return 0;
43461 }
43462 _ACEOF
43463 if ac_fn_cxx_try_compile "$LINENO"; then :
43464 glibcxx_cv_func_fmodf_use=yes
43465 else
43466 glibcxx_cv_func_fmodf_use=no
43467 fi
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469 ac_ext=c
43470 ac_cpp='$CPP $CPPFLAGS'
43471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43474
43475
43476 fi
43477
43478 fi
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43480 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43481
43482 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43483 for ac_func in fmodf
43484 do :
43485 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43486 if test "x$ac_cv_func_fmodf" = xyes; then :
43487 cat >>confdefs.h <<_ACEOF
43488 #define HAVE_FMODF 1
43489 _ACEOF
43490
43491 fi
43492 done
43493
43494 else
43495
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43497 $as_echo_n "checking for _fmodf declaration... " >&6; }
43498 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43499 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43500 $as_echo_n "(cached) " >&6
43501 else
43502
43503
43504 ac_ext=cpp
43505 ac_cpp='$CXXCPP $CPPFLAGS'
43506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509
43510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511 /* end confdefs.h. */
43512 #include <math.h>
43513 int
43514 main ()
43515 {
43516 _fmodf(0, 0);
43517 ;
43518 return 0;
43519 }
43520 _ACEOF
43521 if ac_fn_cxx_try_compile "$LINENO"; then :
43522 glibcxx_cv_func__fmodf_use=yes
43523 else
43524 glibcxx_cv_func__fmodf_use=no
43525 fi
43526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43527 ac_ext=c
43528 ac_cpp='$CPP $CPPFLAGS'
43529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43532
43533
43534 fi
43535
43536 fi
43537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43538 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43539
43540 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43541 for ac_func in _fmodf
43542 do :
43543 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43544 if test "x$ac_cv_func__fmodf" = xyes; then :
43545 cat >>confdefs.h <<_ACEOF
43546 #define HAVE__FMODF 1
43547 _ACEOF
43548
43549 fi
43550 done
43551
43552 fi
43553 fi
43554
43555
43556
43557
43558
43559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43560 $as_echo_n "checking for frexpf declaration... " >&6; }
43561 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43562 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43563 $as_echo_n "(cached) " >&6
43564 else
43565
43566
43567 ac_ext=cpp
43568 ac_cpp='$CXXCPP $CPPFLAGS'
43569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43572
43573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43574 /* end confdefs.h. */
43575 #include <math.h>
43576 int
43577 main ()
43578 {
43579 frexpf(0, 0);
43580 ;
43581 return 0;
43582 }
43583 _ACEOF
43584 if ac_fn_cxx_try_compile "$LINENO"; then :
43585 glibcxx_cv_func_frexpf_use=yes
43586 else
43587 glibcxx_cv_func_frexpf_use=no
43588 fi
43589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43590 ac_ext=c
43591 ac_cpp='$CPP $CPPFLAGS'
43592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43595
43596
43597 fi
43598
43599 fi
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43601 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43602
43603 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43604 for ac_func in frexpf
43605 do :
43606 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43607 if test "x$ac_cv_func_frexpf" = xyes; then :
43608 cat >>confdefs.h <<_ACEOF
43609 #define HAVE_FREXPF 1
43610 _ACEOF
43611
43612 fi
43613 done
43614
43615 else
43616
43617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43618 $as_echo_n "checking for _frexpf declaration... " >&6; }
43619 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43620 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43621 $as_echo_n "(cached) " >&6
43622 else
43623
43624
43625 ac_ext=cpp
43626 ac_cpp='$CXXCPP $CPPFLAGS'
43627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43630
43631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43632 /* end confdefs.h. */
43633 #include <math.h>
43634 int
43635 main ()
43636 {
43637 _frexpf(0, 0);
43638 ;
43639 return 0;
43640 }
43641 _ACEOF
43642 if ac_fn_cxx_try_compile "$LINENO"; then :
43643 glibcxx_cv_func__frexpf_use=yes
43644 else
43645 glibcxx_cv_func__frexpf_use=no
43646 fi
43647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43648 ac_ext=c
43649 ac_cpp='$CPP $CPPFLAGS'
43650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43653
43654
43655 fi
43656
43657 fi
43658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43659 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43660
43661 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43662 for ac_func in _frexpf
43663 do :
43664 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43665 if test "x$ac_cv_func__frexpf" = xyes; then :
43666 cat >>confdefs.h <<_ACEOF
43667 #define HAVE__FREXPF 1
43668 _ACEOF
43669
43670 fi
43671 done
43672
43673 fi
43674 fi
43675
43676
43677
43678
43679
43680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43681 $as_echo_n "checking for hypotf declaration... " >&6; }
43682 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43683 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43684 $as_echo_n "(cached) " >&6
43685 else
43686
43687
43688 ac_ext=cpp
43689 ac_cpp='$CXXCPP $CPPFLAGS'
43690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43693
43694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43695 /* end confdefs.h. */
43696 #include <math.h>
43697 int
43698 main ()
43699 {
43700 hypotf(0, 0);
43701 ;
43702 return 0;
43703 }
43704 _ACEOF
43705 if ac_fn_cxx_try_compile "$LINENO"; then :
43706 glibcxx_cv_func_hypotf_use=yes
43707 else
43708 glibcxx_cv_func_hypotf_use=no
43709 fi
43710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43711 ac_ext=c
43712 ac_cpp='$CPP $CPPFLAGS'
43713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43716
43717
43718 fi
43719
43720 fi
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43722 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43723
43724 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43725 for ac_func in hypotf
43726 do :
43727 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43728 if test "x$ac_cv_func_hypotf" = xyes; then :
43729 cat >>confdefs.h <<_ACEOF
43730 #define HAVE_HYPOTF 1
43731 _ACEOF
43732
43733 fi
43734 done
43735
43736 else
43737
43738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43739 $as_echo_n "checking for _hypotf declaration... " >&6; }
43740 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43741 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43742 $as_echo_n "(cached) " >&6
43743 else
43744
43745
43746 ac_ext=cpp
43747 ac_cpp='$CXXCPP $CPPFLAGS'
43748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43751
43752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43753 /* end confdefs.h. */
43754 #include <math.h>
43755 int
43756 main ()
43757 {
43758 _hypotf(0, 0);
43759 ;
43760 return 0;
43761 }
43762 _ACEOF
43763 if ac_fn_cxx_try_compile "$LINENO"; then :
43764 glibcxx_cv_func__hypotf_use=yes
43765 else
43766 glibcxx_cv_func__hypotf_use=no
43767 fi
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769 ac_ext=c
43770 ac_cpp='$CPP $CPPFLAGS'
43771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43774
43775
43776 fi
43777
43778 fi
43779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43780 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43781
43782 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43783 for ac_func in _hypotf
43784 do :
43785 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43786 if test "x$ac_cv_func__hypotf" = xyes; then :
43787 cat >>confdefs.h <<_ACEOF
43788 #define HAVE__HYPOTF 1
43789 _ACEOF
43790
43791 fi
43792 done
43793
43794 fi
43795 fi
43796
43797
43798
43799
43800
43801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43802 $as_echo_n "checking for ldexpf declaration... " >&6; }
43803 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43804 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43805 $as_echo_n "(cached) " >&6
43806 else
43807
43808
43809 ac_ext=cpp
43810 ac_cpp='$CXXCPP $CPPFLAGS'
43811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43814
43815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43816 /* end confdefs.h. */
43817 #include <math.h>
43818 int
43819 main ()
43820 {
43821 ldexpf(0, 0);
43822 ;
43823 return 0;
43824 }
43825 _ACEOF
43826 if ac_fn_cxx_try_compile "$LINENO"; then :
43827 glibcxx_cv_func_ldexpf_use=yes
43828 else
43829 glibcxx_cv_func_ldexpf_use=no
43830 fi
43831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43832 ac_ext=c
43833 ac_cpp='$CPP $CPPFLAGS'
43834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43837
43838
43839 fi
43840
43841 fi
43842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43843 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43844
43845 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43846 for ac_func in ldexpf
43847 do :
43848 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43849 if test "x$ac_cv_func_ldexpf" = xyes; then :
43850 cat >>confdefs.h <<_ACEOF
43851 #define HAVE_LDEXPF 1
43852 _ACEOF
43853
43854 fi
43855 done
43856
43857 else
43858
43859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43860 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43861 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43862 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43863 $as_echo_n "(cached) " >&6
43864 else
43865
43866
43867 ac_ext=cpp
43868 ac_cpp='$CXXCPP $CPPFLAGS'
43869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43872
43873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43874 /* end confdefs.h. */
43875 #include <math.h>
43876 int
43877 main ()
43878 {
43879 _ldexpf(0, 0);
43880 ;
43881 return 0;
43882 }
43883 _ACEOF
43884 if ac_fn_cxx_try_compile "$LINENO"; then :
43885 glibcxx_cv_func__ldexpf_use=yes
43886 else
43887 glibcxx_cv_func__ldexpf_use=no
43888 fi
43889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43890 ac_ext=c
43891 ac_cpp='$CPP $CPPFLAGS'
43892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43895
43896
43897 fi
43898
43899 fi
43900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43901 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43902
43903 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43904 for ac_func in _ldexpf
43905 do :
43906 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43907 if test "x$ac_cv_func__ldexpf" = xyes; then :
43908 cat >>confdefs.h <<_ACEOF
43909 #define HAVE__LDEXPF 1
43910 _ACEOF
43911
43912 fi
43913 done
43914
43915 fi
43916 fi
43917
43918
43919
43920
43921
43922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43923 $as_echo_n "checking for logf declaration... " >&6; }
43924 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43925 if ${glibcxx_cv_func_logf_use+:} false; then :
43926 $as_echo_n "(cached) " >&6
43927 else
43928
43929
43930 ac_ext=cpp
43931 ac_cpp='$CXXCPP $CPPFLAGS'
43932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43935
43936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43937 /* end confdefs.h. */
43938 #include <math.h>
43939 #ifdef HAVE_IEEEFP_H
43940 #include <ieeefp.h>
43941 #endif
43942
43943 int
43944 main ()
43945 {
43946 logf(0);
43947 ;
43948 return 0;
43949 }
43950 _ACEOF
43951 if ac_fn_cxx_try_compile "$LINENO"; then :
43952 glibcxx_cv_func_logf_use=yes
43953 else
43954 glibcxx_cv_func_logf_use=no
43955 fi
43956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43957 ac_ext=c
43958 ac_cpp='$CPP $CPPFLAGS'
43959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43962
43963
43964 fi
43965
43966 fi
43967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43968 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43969
43970 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43971 for ac_func in logf
43972 do :
43973 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43974 if test "x$ac_cv_func_logf" = xyes; then :
43975 cat >>confdefs.h <<_ACEOF
43976 #define HAVE_LOGF 1
43977 _ACEOF
43978
43979 fi
43980 done
43981
43982 else
43983
43984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43985 $as_echo_n "checking for _logf declaration... " >&6; }
43986 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43987 if ${glibcxx_cv_func__logf_use+:} false; then :
43988 $as_echo_n "(cached) " >&6
43989 else
43990
43991
43992 ac_ext=cpp
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997
43998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999 /* end confdefs.h. */
44000 #include <math.h>
44001 #ifdef HAVE_IEEEFP_H
44002 #include <ieeefp.h>
44003 #endif
44004
44005 int
44006 main ()
44007 {
44008 _logf(0);
44009 ;
44010 return 0;
44011 }
44012 _ACEOF
44013 if ac_fn_cxx_try_compile "$LINENO"; then :
44014 glibcxx_cv_func__logf_use=yes
44015 else
44016 glibcxx_cv_func__logf_use=no
44017 fi
44018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44019 ac_ext=c
44020 ac_cpp='$CPP $CPPFLAGS'
44021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44024
44025
44026 fi
44027
44028 fi
44029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44030 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44031
44032 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44033 for ac_func in _logf
44034 do :
44035 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44036 if test "x$ac_cv_func__logf" = xyes; then :
44037 cat >>confdefs.h <<_ACEOF
44038 #define HAVE__LOGF 1
44039 _ACEOF
44040
44041 fi
44042 done
44043
44044 fi
44045 fi
44046
44047
44048
44049
44050
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44052 $as_echo_n "checking for log10f declaration... " >&6; }
44053 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44054 if ${glibcxx_cv_func_log10f_use+:} false; then :
44055 $as_echo_n "(cached) " >&6
44056 else
44057
44058
44059 ac_ext=cpp
44060 ac_cpp='$CXXCPP $CPPFLAGS'
44061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44064
44065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44066 /* end confdefs.h. */
44067 #include <math.h>
44068 #ifdef HAVE_IEEEFP_H
44069 #include <ieeefp.h>
44070 #endif
44071
44072 int
44073 main ()
44074 {
44075 log10f(0);
44076 ;
44077 return 0;
44078 }
44079 _ACEOF
44080 if ac_fn_cxx_try_compile "$LINENO"; then :
44081 glibcxx_cv_func_log10f_use=yes
44082 else
44083 glibcxx_cv_func_log10f_use=no
44084 fi
44085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44086 ac_ext=c
44087 ac_cpp='$CPP $CPPFLAGS'
44088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44091
44092
44093 fi
44094
44095 fi
44096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44097 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44098
44099 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44100 for ac_func in log10f
44101 do :
44102 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44103 if test "x$ac_cv_func_log10f" = xyes; then :
44104 cat >>confdefs.h <<_ACEOF
44105 #define HAVE_LOG10F 1
44106 _ACEOF
44107
44108 fi
44109 done
44110
44111 else
44112
44113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44114 $as_echo_n "checking for _log10f declaration... " >&6; }
44115 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44116 if ${glibcxx_cv_func__log10f_use+:} false; then :
44117 $as_echo_n "(cached) " >&6
44118 else
44119
44120
44121 ac_ext=cpp
44122 ac_cpp='$CXXCPP $CPPFLAGS'
44123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44126
44127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44128 /* end confdefs.h. */
44129 #include <math.h>
44130 #ifdef HAVE_IEEEFP_H
44131 #include <ieeefp.h>
44132 #endif
44133
44134 int
44135 main ()
44136 {
44137 _log10f(0);
44138 ;
44139 return 0;
44140 }
44141 _ACEOF
44142 if ac_fn_cxx_try_compile "$LINENO"; then :
44143 glibcxx_cv_func__log10f_use=yes
44144 else
44145 glibcxx_cv_func__log10f_use=no
44146 fi
44147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44148 ac_ext=c
44149 ac_cpp='$CPP $CPPFLAGS'
44150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44153
44154
44155 fi
44156
44157 fi
44158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44159 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44160
44161 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44162 for ac_func in _log10f
44163 do :
44164 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44165 if test "x$ac_cv_func__log10f" = xyes; then :
44166 cat >>confdefs.h <<_ACEOF
44167 #define HAVE__LOG10F 1
44168 _ACEOF
44169
44170 fi
44171 done
44172
44173 fi
44174 fi
44175
44176
44177
44178
44179
44180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44181 $as_echo_n "checking for modff declaration... " >&6; }
44182 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44183 if ${glibcxx_cv_func_modff_use+:} false; then :
44184 $as_echo_n "(cached) " >&6
44185 else
44186
44187
44188 ac_ext=cpp
44189 ac_cpp='$CXXCPP $CPPFLAGS'
44190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44193
44194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44195 /* end confdefs.h. */
44196 #include <math.h>
44197 int
44198 main ()
44199 {
44200 modff(0, 0);
44201 ;
44202 return 0;
44203 }
44204 _ACEOF
44205 if ac_fn_cxx_try_compile "$LINENO"; then :
44206 glibcxx_cv_func_modff_use=yes
44207 else
44208 glibcxx_cv_func_modff_use=no
44209 fi
44210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44211 ac_ext=c
44212 ac_cpp='$CPP $CPPFLAGS'
44213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44216
44217
44218 fi
44219
44220 fi
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44222 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44223
44224 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44225 for ac_func in modff
44226 do :
44227 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44228 if test "x$ac_cv_func_modff" = xyes; then :
44229 cat >>confdefs.h <<_ACEOF
44230 #define HAVE_MODFF 1
44231 _ACEOF
44232
44233 fi
44234 done
44235
44236 else
44237
44238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44239 $as_echo_n "checking for _modff declaration... " >&6; }
44240 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44241 if ${glibcxx_cv_func__modff_use+:} false; then :
44242 $as_echo_n "(cached) " >&6
44243 else
44244
44245
44246 ac_ext=cpp
44247 ac_cpp='$CXXCPP $CPPFLAGS'
44248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44251
44252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44253 /* end confdefs.h. */
44254 #include <math.h>
44255 int
44256 main ()
44257 {
44258 _modff(0, 0);
44259 ;
44260 return 0;
44261 }
44262 _ACEOF
44263 if ac_fn_cxx_try_compile "$LINENO"; then :
44264 glibcxx_cv_func__modff_use=yes
44265 else
44266 glibcxx_cv_func__modff_use=no
44267 fi
44268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44269 ac_ext=c
44270 ac_cpp='$CPP $CPPFLAGS'
44271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44274
44275
44276 fi
44277
44278 fi
44279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44280 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44281
44282 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44283 for ac_func in _modff
44284 do :
44285 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44286 if test "x$ac_cv_func__modff" = xyes; then :
44287 cat >>confdefs.h <<_ACEOF
44288 #define HAVE__MODFF 1
44289 _ACEOF
44290
44291 fi
44292 done
44293
44294 fi
44295 fi
44296
44297
44298
44299
44300
44301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44302 $as_echo_n "checking for modf declaration... " >&6; }
44303 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44304 if ${glibcxx_cv_func_modf_use+:} false; then :
44305 $as_echo_n "(cached) " >&6
44306 else
44307
44308
44309 ac_ext=cpp
44310 ac_cpp='$CXXCPP $CPPFLAGS'
44311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44314
44315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44316 /* end confdefs.h. */
44317 #include <math.h>
44318 int
44319 main ()
44320 {
44321 modf(0, 0);
44322 ;
44323 return 0;
44324 }
44325 _ACEOF
44326 if ac_fn_cxx_try_compile "$LINENO"; then :
44327 glibcxx_cv_func_modf_use=yes
44328 else
44329 glibcxx_cv_func_modf_use=no
44330 fi
44331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44332 ac_ext=c
44333 ac_cpp='$CPP $CPPFLAGS'
44334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44337
44338
44339 fi
44340
44341 fi
44342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44343 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44344
44345 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44346 for ac_func in modf
44347 do :
44348 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44349 if test "x$ac_cv_func_modf" = xyes; then :
44350 cat >>confdefs.h <<_ACEOF
44351 #define HAVE_MODF 1
44352 _ACEOF
44353
44354 fi
44355 done
44356
44357 else
44358
44359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44360 $as_echo_n "checking for _modf declaration... " >&6; }
44361 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44362 if ${glibcxx_cv_func__modf_use+:} false; then :
44363 $as_echo_n "(cached) " >&6
44364 else
44365
44366
44367 ac_ext=cpp
44368 ac_cpp='$CXXCPP $CPPFLAGS'
44369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44372
44373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44374 /* end confdefs.h. */
44375 #include <math.h>
44376 int
44377 main ()
44378 {
44379 _modf(0, 0);
44380 ;
44381 return 0;
44382 }
44383 _ACEOF
44384 if ac_fn_cxx_try_compile "$LINENO"; then :
44385 glibcxx_cv_func__modf_use=yes
44386 else
44387 glibcxx_cv_func__modf_use=no
44388 fi
44389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44390 ac_ext=c
44391 ac_cpp='$CPP $CPPFLAGS'
44392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44395
44396
44397 fi
44398
44399 fi
44400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44401 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44402
44403 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44404 for ac_func in _modf
44405 do :
44406 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44407 if test "x$ac_cv_func__modf" = xyes; then :
44408 cat >>confdefs.h <<_ACEOF
44409 #define HAVE__MODF 1
44410 _ACEOF
44411
44412 fi
44413 done
44414
44415 fi
44416 fi
44417
44418
44419
44420
44421
44422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44423 $as_echo_n "checking for powf declaration... " >&6; }
44424 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44425 if ${glibcxx_cv_func_powf_use+:} false; then :
44426 $as_echo_n "(cached) " >&6
44427 else
44428
44429
44430 ac_ext=cpp
44431 ac_cpp='$CXXCPP $CPPFLAGS'
44432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44435
44436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h. */
44438 #include <math.h>
44439 int
44440 main ()
44441 {
44442 powf(0, 0);
44443 ;
44444 return 0;
44445 }
44446 _ACEOF
44447 if ac_fn_cxx_try_compile "$LINENO"; then :
44448 glibcxx_cv_func_powf_use=yes
44449 else
44450 glibcxx_cv_func_powf_use=no
44451 fi
44452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44453 ac_ext=c
44454 ac_cpp='$CPP $CPPFLAGS'
44455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44458
44459
44460 fi
44461
44462 fi
44463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44464 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44465
44466 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44467 for ac_func in powf
44468 do :
44469 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44470 if test "x$ac_cv_func_powf" = xyes; then :
44471 cat >>confdefs.h <<_ACEOF
44472 #define HAVE_POWF 1
44473 _ACEOF
44474
44475 fi
44476 done
44477
44478 else
44479
44480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44481 $as_echo_n "checking for _powf declaration... " >&6; }
44482 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44483 if ${glibcxx_cv_func__powf_use+:} false; then :
44484 $as_echo_n "(cached) " >&6
44485 else
44486
44487
44488 ac_ext=cpp
44489 ac_cpp='$CXXCPP $CPPFLAGS'
44490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44493
44494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44495 /* end confdefs.h. */
44496 #include <math.h>
44497 int
44498 main ()
44499 {
44500 _powf(0, 0);
44501 ;
44502 return 0;
44503 }
44504 _ACEOF
44505 if ac_fn_cxx_try_compile "$LINENO"; then :
44506 glibcxx_cv_func__powf_use=yes
44507 else
44508 glibcxx_cv_func__powf_use=no
44509 fi
44510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44511 ac_ext=c
44512 ac_cpp='$CPP $CPPFLAGS'
44513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44516
44517
44518 fi
44519
44520 fi
44521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44522 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44523
44524 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44525 for ac_func in _powf
44526 do :
44527 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44528 if test "x$ac_cv_func__powf" = xyes; then :
44529 cat >>confdefs.h <<_ACEOF
44530 #define HAVE__POWF 1
44531 _ACEOF
44532
44533 fi
44534 done
44535
44536 fi
44537 fi
44538
44539
44540
44541
44542
44543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44544 $as_echo_n "checking for sqrtf declaration... " >&6; }
44545 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44546 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44547 $as_echo_n "(cached) " >&6
44548 else
44549
44550
44551 ac_ext=cpp
44552 ac_cpp='$CXXCPP $CPPFLAGS'
44553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44556
44557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44558 /* end confdefs.h. */
44559 #include <math.h>
44560 #ifdef HAVE_IEEEFP_H
44561 #include <ieeefp.h>
44562 #endif
44563
44564 int
44565 main ()
44566 {
44567 sqrtf(0);
44568 ;
44569 return 0;
44570 }
44571 _ACEOF
44572 if ac_fn_cxx_try_compile "$LINENO"; then :
44573 glibcxx_cv_func_sqrtf_use=yes
44574 else
44575 glibcxx_cv_func_sqrtf_use=no
44576 fi
44577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44578 ac_ext=c
44579 ac_cpp='$CPP $CPPFLAGS'
44580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44583
44584
44585 fi
44586
44587 fi
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44589 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44590
44591 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44592 for ac_func in sqrtf
44593 do :
44594 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44595 if test "x$ac_cv_func_sqrtf" = xyes; then :
44596 cat >>confdefs.h <<_ACEOF
44597 #define HAVE_SQRTF 1
44598 _ACEOF
44599
44600 fi
44601 done
44602
44603 else
44604
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44606 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44607 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44608 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44609 $as_echo_n "(cached) " >&6
44610 else
44611
44612
44613 ac_ext=cpp
44614 ac_cpp='$CXXCPP $CPPFLAGS'
44615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618
44619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44620 /* end confdefs.h. */
44621 #include <math.h>
44622 #ifdef HAVE_IEEEFP_H
44623 #include <ieeefp.h>
44624 #endif
44625
44626 int
44627 main ()
44628 {
44629 _sqrtf(0);
44630 ;
44631 return 0;
44632 }
44633 _ACEOF
44634 if ac_fn_cxx_try_compile "$LINENO"; then :
44635 glibcxx_cv_func__sqrtf_use=yes
44636 else
44637 glibcxx_cv_func__sqrtf_use=no
44638 fi
44639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44640 ac_ext=c
44641 ac_cpp='$CPP $CPPFLAGS'
44642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44645
44646
44647 fi
44648
44649 fi
44650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44651 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44652
44653 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44654 for ac_func in _sqrtf
44655 do :
44656 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44657 if test "x$ac_cv_func__sqrtf" = xyes; then :
44658 cat >>confdefs.h <<_ACEOF
44659 #define HAVE__SQRTF 1
44660 _ACEOF
44661
44662 fi
44663 done
44664
44665 fi
44666 fi
44667
44668
44669
44670
44671
44672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44673 $as_echo_n "checking for sincosf declaration... " >&6; }
44674 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44675 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44676 $as_echo_n "(cached) " >&6
44677 else
44678
44679
44680 ac_ext=cpp
44681 ac_cpp='$CXXCPP $CPPFLAGS'
44682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44685
44686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44687 /* end confdefs.h. */
44688 #include <math.h>
44689 int
44690 main ()
44691 {
44692 sincosf(0, 0, 0);
44693 ;
44694 return 0;
44695 }
44696 _ACEOF
44697 if ac_fn_cxx_try_compile "$LINENO"; then :
44698 glibcxx_cv_func_sincosf_use=yes
44699 else
44700 glibcxx_cv_func_sincosf_use=no
44701 fi
44702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44703 ac_ext=c
44704 ac_cpp='$CPP $CPPFLAGS'
44705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44708
44709
44710 fi
44711
44712 fi
44713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44714 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44715
44716 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44717 for ac_func in sincosf
44718 do :
44719 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44720 if test "x$ac_cv_func_sincosf" = xyes; then :
44721 cat >>confdefs.h <<_ACEOF
44722 #define HAVE_SINCOSF 1
44723 _ACEOF
44724
44725 fi
44726 done
44727
44728 else
44729
44730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44731 $as_echo_n "checking for _sincosf declaration... " >&6; }
44732 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44733 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44734 $as_echo_n "(cached) " >&6
44735 else
44736
44737
44738 ac_ext=cpp
44739 ac_cpp='$CXXCPP $CPPFLAGS'
44740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44743
44744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44745 /* end confdefs.h. */
44746 #include <math.h>
44747 int
44748 main ()
44749 {
44750 _sincosf(0, 0, 0);
44751 ;
44752 return 0;
44753 }
44754 _ACEOF
44755 if ac_fn_cxx_try_compile "$LINENO"; then :
44756 glibcxx_cv_func__sincosf_use=yes
44757 else
44758 glibcxx_cv_func__sincosf_use=no
44759 fi
44760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44761 ac_ext=c
44762 ac_cpp='$CPP $CPPFLAGS'
44763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44766
44767
44768 fi
44769
44770 fi
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44772 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44773
44774 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44775 for ac_func in _sincosf
44776 do :
44777 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44778 if test "x$ac_cv_func__sincosf" = xyes; then :
44779 cat >>confdefs.h <<_ACEOF
44780 #define HAVE__SINCOSF 1
44781 _ACEOF
44782
44783 fi
44784 done
44785
44786 fi
44787 fi
44788
44789
44790
44791
44792
44793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44794 $as_echo_n "checking for finitef declaration... " >&6; }
44795 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44796 if ${glibcxx_cv_func_finitef_use+:} false; then :
44797 $as_echo_n "(cached) " >&6
44798 else
44799
44800
44801 ac_ext=cpp
44802 ac_cpp='$CXXCPP $CPPFLAGS'
44803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44806
44807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44808 /* end confdefs.h. */
44809 #include <math.h>
44810 #ifdef HAVE_IEEEFP_H
44811 #include <ieeefp.h>
44812 #endif
44813
44814 int
44815 main ()
44816 {
44817 finitef(0);
44818 ;
44819 return 0;
44820 }
44821 _ACEOF
44822 if ac_fn_cxx_try_compile "$LINENO"; then :
44823 glibcxx_cv_func_finitef_use=yes
44824 else
44825 glibcxx_cv_func_finitef_use=no
44826 fi
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828 ac_ext=c
44829 ac_cpp='$CPP $CPPFLAGS'
44830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44833
44834
44835 fi
44836
44837 fi
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44839 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44840
44841 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44842 for ac_func in finitef
44843 do :
44844 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44845 if test "x$ac_cv_func_finitef" = xyes; then :
44846 cat >>confdefs.h <<_ACEOF
44847 #define HAVE_FINITEF 1
44848 _ACEOF
44849
44850 fi
44851 done
44852
44853 else
44854
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44856 $as_echo_n "checking for _finitef declaration... " >&6; }
44857 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44858 if ${glibcxx_cv_func__finitef_use+:} false; then :
44859 $as_echo_n "(cached) " >&6
44860 else
44861
44862
44863 ac_ext=cpp
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868
44869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44870 /* end confdefs.h. */
44871 #include <math.h>
44872 #ifdef HAVE_IEEEFP_H
44873 #include <ieeefp.h>
44874 #endif
44875
44876 int
44877 main ()
44878 {
44879 _finitef(0);
44880 ;
44881 return 0;
44882 }
44883 _ACEOF
44884 if ac_fn_cxx_try_compile "$LINENO"; then :
44885 glibcxx_cv_func__finitef_use=yes
44886 else
44887 glibcxx_cv_func__finitef_use=no
44888 fi
44889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44890 ac_ext=c
44891 ac_cpp='$CPP $CPPFLAGS'
44892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44895
44896
44897 fi
44898
44899 fi
44900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44901 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44902
44903 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44904 for ac_func in _finitef
44905 do :
44906 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44907 if test "x$ac_cv_func__finitef" = xyes; then :
44908 cat >>confdefs.h <<_ACEOF
44909 #define HAVE__FINITEF 1
44910 _ACEOF
44911
44912 fi
44913 done
44914
44915 fi
44916 fi
44917
44918
44919
44920
44921
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44923 $as_echo_n "checking for long double trig functions... " >&6; }
44924 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44925 $as_echo_n "(cached) " >&6
44926 else
44927
44928
44929 ac_ext=cpp
44930 ac_cpp='$CXXCPP $CPPFLAGS'
44931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934
44935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44936 /* end confdefs.h. */
44937 #include <math.h>
44938 int
44939 main ()
44940 {
44941 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44942 ;
44943 return 0;
44944 }
44945 _ACEOF
44946 if ac_fn_cxx_try_compile "$LINENO"; then :
44947 glibcxx_cv_func_long_double_trig_use=yes
44948 else
44949 glibcxx_cv_func_long_double_trig_use=no
44950 fi
44951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44952 ac_ext=c
44953 ac_cpp='$CPP $CPPFLAGS'
44954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44957
44958 fi
44959
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44961 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44962 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44963 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44964 do :
44965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44967 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44968 cat >>confdefs.h <<_ACEOF
44969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44970 _ACEOF
44971
44972 fi
44973 done
44974
44975 else
44976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44977 $as_echo_n "checking for _long double trig functions... " >&6; }
44978 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44979 $as_echo_n "(cached) " >&6
44980 else
44981
44982
44983 ac_ext=cpp
44984 ac_cpp='$CXXCPP $CPPFLAGS'
44985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44988
44989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44990 /* end confdefs.h. */
44991 #include <math.h>
44992 int
44993 main ()
44994 {
44995 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44996 ;
44997 return 0;
44998 }
44999 _ACEOF
45000 if ac_fn_cxx_try_compile "$LINENO"; then :
45001 glibcxx_cv_func__long_double_trig_use=yes
45002 else
45003 glibcxx_cv_func__long_double_trig_use=no
45004 fi
45005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45006 ac_ext=c
45007 ac_cpp='$CPP $CPPFLAGS'
45008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45011
45012 fi
45013
45014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45015 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45016 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45017 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45018 do :
45019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45021 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45022 cat >>confdefs.h <<_ACEOF
45023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45024 _ACEOF
45025
45026 fi
45027 done
45028
45029 fi
45030 fi
45031
45032
45033
45034
45035
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45037 $as_echo_n "checking for long double round functions... " >&6; }
45038 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45039 $as_echo_n "(cached) " >&6
45040 else
45041
45042
45043 ac_ext=cpp
45044 ac_cpp='$CXXCPP $CPPFLAGS'
45045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45048
45049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45050 /* end confdefs.h. */
45051 #include <math.h>
45052 int
45053 main ()
45054 {
45055 ceill (0); floorl (0);
45056 ;
45057 return 0;
45058 }
45059 _ACEOF
45060 if ac_fn_cxx_try_compile "$LINENO"; then :
45061 glibcxx_cv_func_long_double_round_use=yes
45062 else
45063 glibcxx_cv_func_long_double_round_use=no
45064 fi
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066 ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45071
45072 fi
45073
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45075 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45076 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45077 for ac_func in ceill floorl
45078 do :
45079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45081 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45082 cat >>confdefs.h <<_ACEOF
45083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45084 _ACEOF
45085
45086 fi
45087 done
45088
45089 else
45090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45091 $as_echo_n "checking for _long double round functions... " >&6; }
45092 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45093 $as_echo_n "(cached) " >&6
45094 else
45095
45096
45097 ac_ext=cpp
45098 ac_cpp='$CXXCPP $CPPFLAGS'
45099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45102
45103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45104 /* end confdefs.h. */
45105 #include <math.h>
45106 int
45107 main ()
45108 {
45109 _ceill (0); _floorl (0);
45110 ;
45111 return 0;
45112 }
45113 _ACEOF
45114 if ac_fn_cxx_try_compile "$LINENO"; then :
45115 glibcxx_cv_func__long_double_round_use=yes
45116 else
45117 glibcxx_cv_func__long_double_round_use=no
45118 fi
45119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45120 ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45125
45126 fi
45127
45128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45129 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45130 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45131 for ac_func in _ceill _floorl
45132 do :
45133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45135 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45136 cat >>confdefs.h <<_ACEOF
45137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45138 _ACEOF
45139
45140 fi
45141 done
45142
45143 fi
45144 fi
45145
45146
45147
45148
45149
45150
45151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45152 $as_echo_n "checking for isnanl declaration... " >&6; }
45153 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45154 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45155 $as_echo_n "(cached) " >&6
45156 else
45157
45158
45159 ac_ext=cpp
45160 ac_cpp='$CXXCPP $CPPFLAGS'
45161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45164
45165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45166 /* end confdefs.h. */
45167 #include <math.h>
45168 #ifdef HAVE_IEEEFP_H
45169 #include <ieeefp.h>
45170 #endif
45171
45172 int
45173 main ()
45174 {
45175 isnanl(0);
45176 ;
45177 return 0;
45178 }
45179 _ACEOF
45180 if ac_fn_cxx_try_compile "$LINENO"; then :
45181 glibcxx_cv_func_isnanl_use=yes
45182 else
45183 glibcxx_cv_func_isnanl_use=no
45184 fi
45185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45186 ac_ext=c
45187 ac_cpp='$CPP $CPPFLAGS'
45188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45191
45192
45193 fi
45194
45195 fi
45196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45197 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45198
45199 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45200 for ac_func in isnanl
45201 do :
45202 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45203 if test "x$ac_cv_func_isnanl" = xyes; then :
45204 cat >>confdefs.h <<_ACEOF
45205 #define HAVE_ISNANL 1
45206 _ACEOF
45207
45208 fi
45209 done
45210
45211 else
45212
45213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45214 $as_echo_n "checking for _isnanl declaration... " >&6; }
45215 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45216 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45217 $as_echo_n "(cached) " >&6
45218 else
45219
45220
45221 ac_ext=cpp
45222 ac_cpp='$CXXCPP $CPPFLAGS'
45223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45226
45227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45228 /* end confdefs.h. */
45229 #include <math.h>
45230 #ifdef HAVE_IEEEFP_H
45231 #include <ieeefp.h>
45232 #endif
45233
45234 int
45235 main ()
45236 {
45237 _isnanl(0);
45238 ;
45239 return 0;
45240 }
45241 _ACEOF
45242 if ac_fn_cxx_try_compile "$LINENO"; then :
45243 glibcxx_cv_func__isnanl_use=yes
45244 else
45245 glibcxx_cv_func__isnanl_use=no
45246 fi
45247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248 ac_ext=c
45249 ac_cpp='$CPP $CPPFLAGS'
45250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45253
45254
45255 fi
45256
45257 fi
45258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45259 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45260
45261 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45262 for ac_func in _isnanl
45263 do :
45264 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45265 if test "x$ac_cv_func__isnanl" = xyes; then :
45266 cat >>confdefs.h <<_ACEOF
45267 #define HAVE__ISNANL 1
45268 _ACEOF
45269
45270 fi
45271 done
45272
45273 fi
45274 fi
45275
45276
45277
45278
45279
45280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45281 $as_echo_n "checking for isinfl declaration... " >&6; }
45282 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45283 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45284 $as_echo_n "(cached) " >&6
45285 else
45286
45287
45288 ac_ext=cpp
45289 ac_cpp='$CXXCPP $CPPFLAGS'
45290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45293
45294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45295 /* end confdefs.h. */
45296 #include <math.h>
45297 #ifdef HAVE_IEEEFP_H
45298 #include <ieeefp.h>
45299 #endif
45300
45301 int
45302 main ()
45303 {
45304 isinfl(0);
45305 ;
45306 return 0;
45307 }
45308 _ACEOF
45309 if ac_fn_cxx_try_compile "$LINENO"; then :
45310 glibcxx_cv_func_isinfl_use=yes
45311 else
45312 glibcxx_cv_func_isinfl_use=no
45313 fi
45314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45315 ac_ext=c
45316 ac_cpp='$CPP $CPPFLAGS'
45317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320
45321
45322 fi
45323
45324 fi
45325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45326 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45327
45328 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45329 for ac_func in isinfl
45330 do :
45331 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45332 if test "x$ac_cv_func_isinfl" = xyes; then :
45333 cat >>confdefs.h <<_ACEOF
45334 #define HAVE_ISINFL 1
45335 _ACEOF
45336
45337 fi
45338 done
45339
45340 else
45341
45342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45343 $as_echo_n "checking for _isinfl declaration... " >&6; }
45344 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45345 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45346 $as_echo_n "(cached) " >&6
45347 else
45348
45349
45350 ac_ext=cpp
45351 ac_cpp='$CXXCPP $CPPFLAGS'
45352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45355
45356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357 /* end confdefs.h. */
45358 #include <math.h>
45359 #ifdef HAVE_IEEEFP_H
45360 #include <ieeefp.h>
45361 #endif
45362
45363 int
45364 main ()
45365 {
45366 _isinfl(0);
45367 ;
45368 return 0;
45369 }
45370 _ACEOF
45371 if ac_fn_cxx_try_compile "$LINENO"; then :
45372 glibcxx_cv_func__isinfl_use=yes
45373 else
45374 glibcxx_cv_func__isinfl_use=no
45375 fi
45376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45377 ac_ext=c
45378 ac_cpp='$CPP $CPPFLAGS'
45379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45382
45383
45384 fi
45385
45386 fi
45387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45388 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45389
45390 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45391 for ac_func in _isinfl
45392 do :
45393 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45394 if test "x$ac_cv_func__isinfl" = xyes; then :
45395 cat >>confdefs.h <<_ACEOF
45396 #define HAVE__ISINFL 1
45397 _ACEOF
45398
45399 fi
45400 done
45401
45402 fi
45403 fi
45404
45405
45406
45407
45408
45409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45410 $as_echo_n "checking for atan2l declaration... " >&6; }
45411 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45412 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45413 $as_echo_n "(cached) " >&6
45414 else
45415
45416
45417 ac_ext=cpp
45418 ac_cpp='$CXXCPP $CPPFLAGS'
45419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45422
45423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45424 /* end confdefs.h. */
45425 #include <math.h>
45426 int
45427 main ()
45428 {
45429 atan2l(0, 0);
45430 ;
45431 return 0;
45432 }
45433 _ACEOF
45434 if ac_fn_cxx_try_compile "$LINENO"; then :
45435 glibcxx_cv_func_atan2l_use=yes
45436 else
45437 glibcxx_cv_func_atan2l_use=no
45438 fi
45439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440 ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445
45446
45447 fi
45448
45449 fi
45450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45451 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45452
45453 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45454 for ac_func in atan2l
45455 do :
45456 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45457 if test "x$ac_cv_func_atan2l" = xyes; then :
45458 cat >>confdefs.h <<_ACEOF
45459 #define HAVE_ATAN2L 1
45460 _ACEOF
45461
45462 fi
45463 done
45464
45465 else
45466
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45468 $as_echo_n "checking for _atan2l declaration... " >&6; }
45469 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45470 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45471 $as_echo_n "(cached) " >&6
45472 else
45473
45474
45475 ac_ext=cpp
45476 ac_cpp='$CXXCPP $CPPFLAGS'
45477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480
45481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45482 /* end confdefs.h. */
45483 #include <math.h>
45484 int
45485 main ()
45486 {
45487 _atan2l(0, 0);
45488 ;
45489 return 0;
45490 }
45491 _ACEOF
45492 if ac_fn_cxx_try_compile "$LINENO"; then :
45493 glibcxx_cv_func__atan2l_use=yes
45494 else
45495 glibcxx_cv_func__atan2l_use=no
45496 fi
45497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45498 ac_ext=c
45499 ac_cpp='$CPP $CPPFLAGS'
45500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45503
45504
45505 fi
45506
45507 fi
45508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45509 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45510
45511 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45512 for ac_func in _atan2l
45513 do :
45514 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45515 if test "x$ac_cv_func__atan2l" = xyes; then :
45516 cat >>confdefs.h <<_ACEOF
45517 #define HAVE__ATAN2L 1
45518 _ACEOF
45519
45520 fi
45521 done
45522
45523 fi
45524 fi
45525
45526
45527
45528
45529
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45531 $as_echo_n "checking for expl declaration... " >&6; }
45532 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45533 if ${glibcxx_cv_func_expl_use+:} false; then :
45534 $as_echo_n "(cached) " >&6
45535 else
45536
45537
45538 ac_ext=cpp
45539 ac_cpp='$CXXCPP $CPPFLAGS'
45540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45543
45544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45545 /* end confdefs.h. */
45546 #include <math.h>
45547 #ifdef HAVE_IEEEFP_H
45548 #include <ieeefp.h>
45549 #endif
45550
45551 int
45552 main ()
45553 {
45554 expl(0);
45555 ;
45556 return 0;
45557 }
45558 _ACEOF
45559 if ac_fn_cxx_try_compile "$LINENO"; then :
45560 glibcxx_cv_func_expl_use=yes
45561 else
45562 glibcxx_cv_func_expl_use=no
45563 fi
45564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45565 ac_ext=c
45566 ac_cpp='$CPP $CPPFLAGS'
45567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570
45571
45572 fi
45573
45574 fi
45575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45576 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45577
45578 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45579 for ac_func in expl
45580 do :
45581 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45582 if test "x$ac_cv_func_expl" = xyes; then :
45583 cat >>confdefs.h <<_ACEOF
45584 #define HAVE_EXPL 1
45585 _ACEOF
45586
45587 fi
45588 done
45589
45590 else
45591
45592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45593 $as_echo_n "checking for _expl declaration... " >&6; }
45594 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45595 if ${glibcxx_cv_func__expl_use+:} false; then :
45596 $as_echo_n "(cached) " >&6
45597 else
45598
45599
45600 ac_ext=cpp
45601 ac_cpp='$CXXCPP $CPPFLAGS'
45602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45605
45606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45607 /* end confdefs.h. */
45608 #include <math.h>
45609 #ifdef HAVE_IEEEFP_H
45610 #include <ieeefp.h>
45611 #endif
45612
45613 int
45614 main ()
45615 {
45616 _expl(0);
45617 ;
45618 return 0;
45619 }
45620 _ACEOF
45621 if ac_fn_cxx_try_compile "$LINENO"; then :
45622 glibcxx_cv_func__expl_use=yes
45623 else
45624 glibcxx_cv_func__expl_use=no
45625 fi
45626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45627 ac_ext=c
45628 ac_cpp='$CPP $CPPFLAGS'
45629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45632
45633
45634 fi
45635
45636 fi
45637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45638 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45639
45640 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45641 for ac_func in _expl
45642 do :
45643 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45644 if test "x$ac_cv_func__expl" = xyes; then :
45645 cat >>confdefs.h <<_ACEOF
45646 #define HAVE__EXPL 1
45647 _ACEOF
45648
45649 fi
45650 done
45651
45652 fi
45653 fi
45654
45655
45656
45657
45658
45659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45660 $as_echo_n "checking for fabsl declaration... " >&6; }
45661 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45662 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45663 $as_echo_n "(cached) " >&6
45664 else
45665
45666
45667 ac_ext=cpp
45668 ac_cpp='$CXXCPP $CPPFLAGS'
45669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45672
45673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45674 /* end confdefs.h. */
45675 #include <math.h>
45676 #ifdef HAVE_IEEEFP_H
45677 #include <ieeefp.h>
45678 #endif
45679
45680 int
45681 main ()
45682 {
45683 fabsl(0);
45684 ;
45685 return 0;
45686 }
45687 _ACEOF
45688 if ac_fn_cxx_try_compile "$LINENO"; then :
45689 glibcxx_cv_func_fabsl_use=yes
45690 else
45691 glibcxx_cv_func_fabsl_use=no
45692 fi
45693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45694 ac_ext=c
45695 ac_cpp='$CPP $CPPFLAGS'
45696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45699
45700
45701 fi
45702
45703 fi
45704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45705 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45706
45707 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45708 for ac_func in fabsl
45709 do :
45710 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45711 if test "x$ac_cv_func_fabsl" = xyes; then :
45712 cat >>confdefs.h <<_ACEOF
45713 #define HAVE_FABSL 1
45714 _ACEOF
45715
45716 fi
45717 done
45718
45719 else
45720
45721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45722 $as_echo_n "checking for _fabsl declaration... " >&6; }
45723 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45724 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45725 $as_echo_n "(cached) " >&6
45726 else
45727
45728
45729 ac_ext=cpp
45730 ac_cpp='$CXXCPP $CPPFLAGS'
45731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734
45735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45736 /* end confdefs.h. */
45737 #include <math.h>
45738 #ifdef HAVE_IEEEFP_H
45739 #include <ieeefp.h>
45740 #endif
45741
45742 int
45743 main ()
45744 {
45745 _fabsl(0);
45746 ;
45747 return 0;
45748 }
45749 _ACEOF
45750 if ac_fn_cxx_try_compile "$LINENO"; then :
45751 glibcxx_cv_func__fabsl_use=yes
45752 else
45753 glibcxx_cv_func__fabsl_use=no
45754 fi
45755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45756 ac_ext=c
45757 ac_cpp='$CPP $CPPFLAGS'
45758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761
45762
45763 fi
45764
45765 fi
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45767 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45768
45769 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45770 for ac_func in _fabsl
45771 do :
45772 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45773 if test "x$ac_cv_func__fabsl" = xyes; then :
45774 cat >>confdefs.h <<_ACEOF
45775 #define HAVE__FABSL 1
45776 _ACEOF
45777
45778 fi
45779 done
45780
45781 fi
45782 fi
45783
45784
45785
45786
45787
45788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45789 $as_echo_n "checking for fmodl declaration... " >&6; }
45790 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45791 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45792 $as_echo_n "(cached) " >&6
45793 else
45794
45795
45796 ac_ext=cpp
45797 ac_cpp='$CXXCPP $CPPFLAGS'
45798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801
45802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45803 /* end confdefs.h. */
45804 #include <math.h>
45805 int
45806 main ()
45807 {
45808 fmodl(0, 0);
45809 ;
45810 return 0;
45811 }
45812 _ACEOF
45813 if ac_fn_cxx_try_compile "$LINENO"; then :
45814 glibcxx_cv_func_fmodl_use=yes
45815 else
45816 glibcxx_cv_func_fmodl_use=no
45817 fi
45818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45819 ac_ext=c
45820 ac_cpp='$CPP $CPPFLAGS'
45821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45824
45825
45826 fi
45827
45828 fi
45829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45830 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45831
45832 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45833 for ac_func in fmodl
45834 do :
45835 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45836 if test "x$ac_cv_func_fmodl" = xyes; then :
45837 cat >>confdefs.h <<_ACEOF
45838 #define HAVE_FMODL 1
45839 _ACEOF
45840
45841 fi
45842 done
45843
45844 else
45845
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45847 $as_echo_n "checking for _fmodl declaration... " >&6; }
45848 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45849 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45850 $as_echo_n "(cached) " >&6
45851 else
45852
45853
45854 ac_ext=cpp
45855 ac_cpp='$CXXCPP $CPPFLAGS'
45856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45859
45860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45861 /* end confdefs.h. */
45862 #include <math.h>
45863 int
45864 main ()
45865 {
45866 _fmodl(0, 0);
45867 ;
45868 return 0;
45869 }
45870 _ACEOF
45871 if ac_fn_cxx_try_compile "$LINENO"; then :
45872 glibcxx_cv_func__fmodl_use=yes
45873 else
45874 glibcxx_cv_func__fmodl_use=no
45875 fi
45876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45877 ac_ext=c
45878 ac_cpp='$CPP $CPPFLAGS'
45879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45882
45883
45884 fi
45885
45886 fi
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45888 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45889
45890 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45891 for ac_func in _fmodl
45892 do :
45893 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45894 if test "x$ac_cv_func__fmodl" = xyes; then :
45895 cat >>confdefs.h <<_ACEOF
45896 #define HAVE__FMODL 1
45897 _ACEOF
45898
45899 fi
45900 done
45901
45902 fi
45903 fi
45904
45905
45906
45907
45908
45909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45910 $as_echo_n "checking for frexpl declaration... " >&6; }
45911 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45912 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45913 $as_echo_n "(cached) " >&6
45914 else
45915
45916
45917 ac_ext=cpp
45918 ac_cpp='$CXXCPP $CPPFLAGS'
45919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45922
45923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45924 /* end confdefs.h. */
45925 #include <math.h>
45926 int
45927 main ()
45928 {
45929 frexpl(0, 0);
45930 ;
45931 return 0;
45932 }
45933 _ACEOF
45934 if ac_fn_cxx_try_compile "$LINENO"; then :
45935 glibcxx_cv_func_frexpl_use=yes
45936 else
45937 glibcxx_cv_func_frexpl_use=no
45938 fi
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940 ac_ext=c
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45945
45946
45947 fi
45948
45949 fi
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45951 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45952
45953 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45954 for ac_func in frexpl
45955 do :
45956 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45957 if test "x$ac_cv_func_frexpl" = xyes; then :
45958 cat >>confdefs.h <<_ACEOF
45959 #define HAVE_FREXPL 1
45960 _ACEOF
45961
45962 fi
45963 done
45964
45965 else
45966
45967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45968 $as_echo_n "checking for _frexpl declaration... " >&6; }
45969 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45970 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45971 $as_echo_n "(cached) " >&6
45972 else
45973
45974
45975 ac_ext=cpp
45976 ac_cpp='$CXXCPP $CPPFLAGS'
45977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45980
45981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45982 /* end confdefs.h. */
45983 #include <math.h>
45984 int
45985 main ()
45986 {
45987 _frexpl(0, 0);
45988 ;
45989 return 0;
45990 }
45991 _ACEOF
45992 if ac_fn_cxx_try_compile "$LINENO"; then :
45993 glibcxx_cv_func__frexpl_use=yes
45994 else
45995 glibcxx_cv_func__frexpl_use=no
45996 fi
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45998 ac_ext=c
45999 ac_cpp='$CPP $CPPFLAGS'
46000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46003
46004
46005 fi
46006
46007 fi
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46009 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46010
46011 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46012 for ac_func in _frexpl
46013 do :
46014 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46015 if test "x$ac_cv_func__frexpl" = xyes; then :
46016 cat >>confdefs.h <<_ACEOF
46017 #define HAVE__FREXPL 1
46018 _ACEOF
46019
46020 fi
46021 done
46022
46023 fi
46024 fi
46025
46026
46027
46028
46029
46030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46031 $as_echo_n "checking for hypotl declaration... " >&6; }
46032 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46033 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46034 $as_echo_n "(cached) " >&6
46035 else
46036
46037
46038 ac_ext=cpp
46039 ac_cpp='$CXXCPP $CPPFLAGS'
46040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46043
46044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46045 /* end confdefs.h. */
46046 #include <math.h>
46047 int
46048 main ()
46049 {
46050 hypotl(0, 0);
46051 ;
46052 return 0;
46053 }
46054 _ACEOF
46055 if ac_fn_cxx_try_compile "$LINENO"; then :
46056 glibcxx_cv_func_hypotl_use=yes
46057 else
46058 glibcxx_cv_func_hypotl_use=no
46059 fi
46060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46061 ac_ext=c
46062 ac_cpp='$CPP $CPPFLAGS'
46063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46066
46067
46068 fi
46069
46070 fi
46071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46072 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46073
46074 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46075 for ac_func in hypotl
46076 do :
46077 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46078 if test "x$ac_cv_func_hypotl" = xyes; then :
46079 cat >>confdefs.h <<_ACEOF
46080 #define HAVE_HYPOTL 1
46081 _ACEOF
46082
46083 fi
46084 done
46085
46086 else
46087
46088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46089 $as_echo_n "checking for _hypotl declaration... " >&6; }
46090 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46091 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46092 $as_echo_n "(cached) " >&6
46093 else
46094
46095
46096 ac_ext=cpp
46097 ac_cpp='$CXXCPP $CPPFLAGS'
46098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46101
46102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46103 /* end confdefs.h. */
46104 #include <math.h>
46105 int
46106 main ()
46107 {
46108 _hypotl(0, 0);
46109 ;
46110 return 0;
46111 }
46112 _ACEOF
46113 if ac_fn_cxx_try_compile "$LINENO"; then :
46114 glibcxx_cv_func__hypotl_use=yes
46115 else
46116 glibcxx_cv_func__hypotl_use=no
46117 fi
46118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119 ac_ext=c
46120 ac_cpp='$CPP $CPPFLAGS'
46121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46124
46125
46126 fi
46127
46128 fi
46129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46130 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46131
46132 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46133 for ac_func in _hypotl
46134 do :
46135 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46136 if test "x$ac_cv_func__hypotl" = xyes; then :
46137 cat >>confdefs.h <<_ACEOF
46138 #define HAVE__HYPOTL 1
46139 _ACEOF
46140
46141 fi
46142 done
46143
46144 fi
46145 fi
46146
46147
46148
46149
46150
46151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46152 $as_echo_n "checking for ldexpl declaration... " >&6; }
46153 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46154 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46155 $as_echo_n "(cached) " >&6
46156 else
46157
46158
46159 ac_ext=cpp
46160 ac_cpp='$CXXCPP $CPPFLAGS'
46161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164
46165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46166 /* end confdefs.h. */
46167 #include <math.h>
46168 int
46169 main ()
46170 {
46171 ldexpl(0, 0);
46172 ;
46173 return 0;
46174 }
46175 _ACEOF
46176 if ac_fn_cxx_try_compile "$LINENO"; then :
46177 glibcxx_cv_func_ldexpl_use=yes
46178 else
46179 glibcxx_cv_func_ldexpl_use=no
46180 fi
46181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46182 ac_ext=c
46183 ac_cpp='$CPP $CPPFLAGS'
46184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46187
46188
46189 fi
46190
46191 fi
46192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46193 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46194
46195 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46196 for ac_func in ldexpl
46197 do :
46198 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46199 if test "x$ac_cv_func_ldexpl" = xyes; then :
46200 cat >>confdefs.h <<_ACEOF
46201 #define HAVE_LDEXPL 1
46202 _ACEOF
46203
46204 fi
46205 done
46206
46207 else
46208
46209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46210 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46211 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46212 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46213 $as_echo_n "(cached) " >&6
46214 else
46215
46216
46217 ac_ext=cpp
46218 ac_cpp='$CXXCPP $CPPFLAGS'
46219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46222
46223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46224 /* end confdefs.h. */
46225 #include <math.h>
46226 int
46227 main ()
46228 {
46229 _ldexpl(0, 0);
46230 ;
46231 return 0;
46232 }
46233 _ACEOF
46234 if ac_fn_cxx_try_compile "$LINENO"; then :
46235 glibcxx_cv_func__ldexpl_use=yes
46236 else
46237 glibcxx_cv_func__ldexpl_use=no
46238 fi
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240 ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245
46246
46247 fi
46248
46249 fi
46250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46251 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46252
46253 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46254 for ac_func in _ldexpl
46255 do :
46256 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46257 if test "x$ac_cv_func__ldexpl" = xyes; then :
46258 cat >>confdefs.h <<_ACEOF
46259 #define HAVE__LDEXPL 1
46260 _ACEOF
46261
46262 fi
46263 done
46264
46265 fi
46266 fi
46267
46268
46269
46270
46271
46272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46273 $as_echo_n "checking for logl declaration... " >&6; }
46274 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46275 if ${glibcxx_cv_func_logl_use+:} false; then :
46276 $as_echo_n "(cached) " >&6
46277 else
46278
46279
46280 ac_ext=cpp
46281 ac_cpp='$CXXCPP $CPPFLAGS'
46282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46285
46286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46287 /* end confdefs.h. */
46288 #include <math.h>
46289 #ifdef HAVE_IEEEFP_H
46290 #include <ieeefp.h>
46291 #endif
46292
46293 int
46294 main ()
46295 {
46296 logl(0);
46297 ;
46298 return 0;
46299 }
46300 _ACEOF
46301 if ac_fn_cxx_try_compile "$LINENO"; then :
46302 glibcxx_cv_func_logl_use=yes
46303 else
46304 glibcxx_cv_func_logl_use=no
46305 fi
46306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46307 ac_ext=c
46308 ac_cpp='$CPP $CPPFLAGS'
46309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46312
46313
46314 fi
46315
46316 fi
46317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46318 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46319
46320 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46321 for ac_func in logl
46322 do :
46323 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46324 if test "x$ac_cv_func_logl" = xyes; then :
46325 cat >>confdefs.h <<_ACEOF
46326 #define HAVE_LOGL 1
46327 _ACEOF
46328
46329 fi
46330 done
46331
46332 else
46333
46334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46335 $as_echo_n "checking for _logl declaration... " >&6; }
46336 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46337 if ${glibcxx_cv_func__logl_use+:} false; then :
46338 $as_echo_n "(cached) " >&6
46339 else
46340
46341
46342 ac_ext=cpp
46343 ac_cpp='$CXXCPP $CPPFLAGS'
46344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46347
46348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349 /* end confdefs.h. */
46350 #include <math.h>
46351 #ifdef HAVE_IEEEFP_H
46352 #include <ieeefp.h>
46353 #endif
46354
46355 int
46356 main ()
46357 {
46358 _logl(0);
46359 ;
46360 return 0;
46361 }
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364 glibcxx_cv_func__logl_use=yes
46365 else
46366 glibcxx_cv_func__logl_use=no
46367 fi
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369 ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46374
46375
46376 fi
46377
46378 fi
46379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46380 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46381
46382 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46383 for ac_func in _logl
46384 do :
46385 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46386 if test "x$ac_cv_func__logl" = xyes; then :
46387 cat >>confdefs.h <<_ACEOF
46388 #define HAVE__LOGL 1
46389 _ACEOF
46390
46391 fi
46392 done
46393
46394 fi
46395 fi
46396
46397
46398
46399
46400
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46402 $as_echo_n "checking for log10l declaration... " >&6; }
46403 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46404 if ${glibcxx_cv_func_log10l_use+:} false; then :
46405 $as_echo_n "(cached) " >&6
46406 else
46407
46408
46409 ac_ext=cpp
46410 ac_cpp='$CXXCPP $CPPFLAGS'
46411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46414
46415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46416 /* end confdefs.h. */
46417 #include <math.h>
46418 #ifdef HAVE_IEEEFP_H
46419 #include <ieeefp.h>
46420 #endif
46421
46422 int
46423 main ()
46424 {
46425 log10l(0);
46426 ;
46427 return 0;
46428 }
46429 _ACEOF
46430 if ac_fn_cxx_try_compile "$LINENO"; then :
46431 glibcxx_cv_func_log10l_use=yes
46432 else
46433 glibcxx_cv_func_log10l_use=no
46434 fi
46435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46436 ac_ext=c
46437 ac_cpp='$CPP $CPPFLAGS'
46438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46441
46442
46443 fi
46444
46445 fi
46446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46447 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46448
46449 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46450 for ac_func in log10l
46451 do :
46452 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46453 if test "x$ac_cv_func_log10l" = xyes; then :
46454 cat >>confdefs.h <<_ACEOF
46455 #define HAVE_LOG10L 1
46456 _ACEOF
46457
46458 fi
46459 done
46460
46461 else
46462
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46464 $as_echo_n "checking for _log10l declaration... " >&6; }
46465 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46466 if ${glibcxx_cv_func__log10l_use+:} false; then :
46467 $as_echo_n "(cached) " >&6
46468 else
46469
46470
46471 ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476
46477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h. */
46479 #include <math.h>
46480 #ifdef HAVE_IEEEFP_H
46481 #include <ieeefp.h>
46482 #endif
46483
46484 int
46485 main ()
46486 {
46487 _log10l(0);
46488 ;
46489 return 0;
46490 }
46491 _ACEOF
46492 if ac_fn_cxx_try_compile "$LINENO"; then :
46493 glibcxx_cv_func__log10l_use=yes
46494 else
46495 glibcxx_cv_func__log10l_use=no
46496 fi
46497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46498 ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46503
46504
46505 fi
46506
46507 fi
46508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46509 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46510
46511 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46512 for ac_func in _log10l
46513 do :
46514 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46515 if test "x$ac_cv_func__log10l" = xyes; then :
46516 cat >>confdefs.h <<_ACEOF
46517 #define HAVE__LOG10L 1
46518 _ACEOF
46519
46520 fi
46521 done
46522
46523 fi
46524 fi
46525
46526
46527
46528
46529
46530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46531 $as_echo_n "checking for modfl declaration... " >&6; }
46532 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46533 if ${glibcxx_cv_func_modfl_use+:} false; then :
46534 $as_echo_n "(cached) " >&6
46535 else
46536
46537
46538 ac_ext=cpp
46539 ac_cpp='$CXXCPP $CPPFLAGS'
46540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46543
46544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46545 /* end confdefs.h. */
46546 #include <math.h>
46547 int
46548 main ()
46549 {
46550 modfl(0, 0);
46551 ;
46552 return 0;
46553 }
46554 _ACEOF
46555 if ac_fn_cxx_try_compile "$LINENO"; then :
46556 glibcxx_cv_func_modfl_use=yes
46557 else
46558 glibcxx_cv_func_modfl_use=no
46559 fi
46560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46561 ac_ext=c
46562 ac_cpp='$CPP $CPPFLAGS'
46563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46566
46567
46568 fi
46569
46570 fi
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46572 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46573
46574 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46575 for ac_func in modfl
46576 do :
46577 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46578 if test "x$ac_cv_func_modfl" = xyes; then :
46579 cat >>confdefs.h <<_ACEOF
46580 #define HAVE_MODFL 1
46581 _ACEOF
46582
46583 fi
46584 done
46585
46586 else
46587
46588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46589 $as_echo_n "checking for _modfl declaration... " >&6; }
46590 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46591 if ${glibcxx_cv_func__modfl_use+:} false; then :
46592 $as_echo_n "(cached) " >&6
46593 else
46594
46595
46596 ac_ext=cpp
46597 ac_cpp='$CXXCPP $CPPFLAGS'
46598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46601
46602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46603 /* end confdefs.h. */
46604 #include <math.h>
46605 int
46606 main ()
46607 {
46608 _modfl(0, 0);
46609 ;
46610 return 0;
46611 }
46612 _ACEOF
46613 if ac_fn_cxx_try_compile "$LINENO"; then :
46614 glibcxx_cv_func__modfl_use=yes
46615 else
46616 glibcxx_cv_func__modfl_use=no
46617 fi
46618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46619 ac_ext=c
46620 ac_cpp='$CPP $CPPFLAGS'
46621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46624
46625
46626 fi
46627
46628 fi
46629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46630 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46631
46632 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46633 for ac_func in _modfl
46634 do :
46635 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46636 if test "x$ac_cv_func__modfl" = xyes; then :
46637 cat >>confdefs.h <<_ACEOF
46638 #define HAVE__MODFL 1
46639 _ACEOF
46640
46641 fi
46642 done
46643
46644 fi
46645 fi
46646
46647
46648
46649
46650
46651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46652 $as_echo_n "checking for powl declaration... " >&6; }
46653 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46654 if ${glibcxx_cv_func_powl_use+:} false; then :
46655 $as_echo_n "(cached) " >&6
46656 else
46657
46658
46659 ac_ext=cpp
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46664
46665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46666 /* end confdefs.h. */
46667 #include <math.h>
46668 int
46669 main ()
46670 {
46671 powl(0, 0);
46672 ;
46673 return 0;
46674 }
46675 _ACEOF
46676 if ac_fn_cxx_try_compile "$LINENO"; then :
46677 glibcxx_cv_func_powl_use=yes
46678 else
46679 glibcxx_cv_func_powl_use=no
46680 fi
46681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46682 ac_ext=c
46683 ac_cpp='$CPP $CPPFLAGS'
46684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46687
46688
46689 fi
46690
46691 fi
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46693 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46694
46695 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46696 for ac_func in powl
46697 do :
46698 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46699 if test "x$ac_cv_func_powl" = xyes; then :
46700 cat >>confdefs.h <<_ACEOF
46701 #define HAVE_POWL 1
46702 _ACEOF
46703
46704 fi
46705 done
46706
46707 else
46708
46709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46710 $as_echo_n "checking for _powl declaration... " >&6; }
46711 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46712 if ${glibcxx_cv_func__powl_use+:} false; then :
46713 $as_echo_n "(cached) " >&6
46714 else
46715
46716
46717 ac_ext=cpp
46718 ac_cpp='$CXXCPP $CPPFLAGS'
46719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46722
46723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46724 /* end confdefs.h. */
46725 #include <math.h>
46726 int
46727 main ()
46728 {
46729 _powl(0, 0);
46730 ;
46731 return 0;
46732 }
46733 _ACEOF
46734 if ac_fn_cxx_try_compile "$LINENO"; then :
46735 glibcxx_cv_func__powl_use=yes
46736 else
46737 glibcxx_cv_func__powl_use=no
46738 fi
46739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46740 ac_ext=c
46741 ac_cpp='$CPP $CPPFLAGS'
46742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46745
46746
46747 fi
46748
46749 fi
46750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46751 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46752
46753 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46754 for ac_func in _powl
46755 do :
46756 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46757 if test "x$ac_cv_func__powl" = xyes; then :
46758 cat >>confdefs.h <<_ACEOF
46759 #define HAVE__POWL 1
46760 _ACEOF
46761
46762 fi
46763 done
46764
46765 fi
46766 fi
46767
46768
46769
46770
46771
46772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46773 $as_echo_n "checking for sqrtl declaration... " >&6; }
46774 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46775 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46776 $as_echo_n "(cached) " >&6
46777 else
46778
46779
46780 ac_ext=cpp
46781 ac_cpp='$CXXCPP $CPPFLAGS'
46782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46785
46786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46787 /* end confdefs.h. */
46788 #include <math.h>
46789 #ifdef HAVE_IEEEFP_H
46790 #include <ieeefp.h>
46791 #endif
46792
46793 int
46794 main ()
46795 {
46796 sqrtl(0);
46797 ;
46798 return 0;
46799 }
46800 _ACEOF
46801 if ac_fn_cxx_try_compile "$LINENO"; then :
46802 glibcxx_cv_func_sqrtl_use=yes
46803 else
46804 glibcxx_cv_func_sqrtl_use=no
46805 fi
46806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46807 ac_ext=c
46808 ac_cpp='$CPP $CPPFLAGS'
46809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46812
46813
46814 fi
46815
46816 fi
46817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46818 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46819
46820 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46821 for ac_func in sqrtl
46822 do :
46823 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46824 if test "x$ac_cv_func_sqrtl" = xyes; then :
46825 cat >>confdefs.h <<_ACEOF
46826 #define HAVE_SQRTL 1
46827 _ACEOF
46828
46829 fi
46830 done
46831
46832 else
46833
46834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46835 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46836 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46837 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46838 $as_echo_n "(cached) " >&6
46839 else
46840
46841
46842 ac_ext=cpp
46843 ac_cpp='$CXXCPP $CPPFLAGS'
46844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46847
46848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46849 /* end confdefs.h. */
46850 #include <math.h>
46851 #ifdef HAVE_IEEEFP_H
46852 #include <ieeefp.h>
46853 #endif
46854
46855 int
46856 main ()
46857 {
46858 _sqrtl(0);
46859 ;
46860 return 0;
46861 }
46862 _ACEOF
46863 if ac_fn_cxx_try_compile "$LINENO"; then :
46864 glibcxx_cv_func__sqrtl_use=yes
46865 else
46866 glibcxx_cv_func__sqrtl_use=no
46867 fi
46868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46869 ac_ext=c
46870 ac_cpp='$CPP $CPPFLAGS'
46871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46874
46875
46876 fi
46877
46878 fi
46879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46880 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46881
46882 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46883 for ac_func in _sqrtl
46884 do :
46885 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46886 if test "x$ac_cv_func__sqrtl" = xyes; then :
46887 cat >>confdefs.h <<_ACEOF
46888 #define HAVE__SQRTL 1
46889 _ACEOF
46890
46891 fi
46892 done
46893
46894 fi
46895 fi
46896
46897
46898
46899
46900
46901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46902 $as_echo_n "checking for sincosl declaration... " >&6; }
46903 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46904 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46905 $as_echo_n "(cached) " >&6
46906 else
46907
46908
46909 ac_ext=cpp
46910 ac_cpp='$CXXCPP $CPPFLAGS'
46911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914
46915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46916 /* end confdefs.h. */
46917 #include <math.h>
46918 int
46919 main ()
46920 {
46921 sincosl(0, 0, 0);
46922 ;
46923 return 0;
46924 }
46925 _ACEOF
46926 if ac_fn_cxx_try_compile "$LINENO"; then :
46927 glibcxx_cv_func_sincosl_use=yes
46928 else
46929 glibcxx_cv_func_sincosl_use=no
46930 fi
46931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46932 ac_ext=c
46933 ac_cpp='$CPP $CPPFLAGS'
46934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46937
46938
46939 fi
46940
46941 fi
46942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46943 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46944
46945 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46946 for ac_func in sincosl
46947 do :
46948 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46949 if test "x$ac_cv_func_sincosl" = xyes; then :
46950 cat >>confdefs.h <<_ACEOF
46951 #define HAVE_SINCOSL 1
46952 _ACEOF
46953
46954 fi
46955 done
46956
46957 else
46958
46959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46960 $as_echo_n "checking for _sincosl declaration... " >&6; }
46961 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46962 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46963 $as_echo_n "(cached) " >&6
46964 else
46965
46966
46967 ac_ext=cpp
46968 ac_cpp='$CXXCPP $CPPFLAGS'
46969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46972
46973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46974 /* end confdefs.h. */
46975 #include <math.h>
46976 int
46977 main ()
46978 {
46979 _sincosl(0, 0, 0);
46980 ;
46981 return 0;
46982 }
46983 _ACEOF
46984 if ac_fn_cxx_try_compile "$LINENO"; then :
46985 glibcxx_cv_func__sincosl_use=yes
46986 else
46987 glibcxx_cv_func__sincosl_use=no
46988 fi
46989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46990 ac_ext=c
46991 ac_cpp='$CPP $CPPFLAGS'
46992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46995
46996
46997 fi
46998
46999 fi
47000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47001 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47002
47003 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47004 for ac_func in _sincosl
47005 do :
47006 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47007 if test "x$ac_cv_func__sincosl" = xyes; then :
47008 cat >>confdefs.h <<_ACEOF
47009 #define HAVE__SINCOSL 1
47010 _ACEOF
47011
47012 fi
47013 done
47014
47015 fi
47016 fi
47017
47018
47019
47020
47021
47022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47023 $as_echo_n "checking for finitel declaration... " >&6; }
47024 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47025 if ${glibcxx_cv_func_finitel_use+:} false; then :
47026 $as_echo_n "(cached) " >&6
47027 else
47028
47029
47030 ac_ext=cpp
47031 ac_cpp='$CXXCPP $CPPFLAGS'
47032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035
47036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47037 /* end confdefs.h. */
47038 #include <math.h>
47039 #ifdef HAVE_IEEEFP_H
47040 #include <ieeefp.h>
47041 #endif
47042
47043 int
47044 main ()
47045 {
47046 finitel(0);
47047 ;
47048 return 0;
47049 }
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052 glibcxx_cv_func_finitel_use=yes
47053 else
47054 glibcxx_cv_func_finitel_use=no
47055 fi
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062
47063
47064 fi
47065
47066 fi
47067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47068 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47069
47070 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47071 for ac_func in finitel
47072 do :
47073 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47074 if test "x$ac_cv_func_finitel" = xyes; then :
47075 cat >>confdefs.h <<_ACEOF
47076 #define HAVE_FINITEL 1
47077 _ACEOF
47078
47079 fi
47080 done
47081
47082 else
47083
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47085 $as_echo_n "checking for _finitel declaration... " >&6; }
47086 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47087 if ${glibcxx_cv_func__finitel_use+:} false; then :
47088 $as_echo_n "(cached) " >&6
47089 else
47090
47091
47092 ac_ext=cpp
47093 ac_cpp='$CXXCPP $CPPFLAGS'
47094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47097
47098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099 /* end confdefs.h. */
47100 #include <math.h>
47101 #ifdef HAVE_IEEEFP_H
47102 #include <ieeefp.h>
47103 #endif
47104
47105 int
47106 main ()
47107 {
47108 _finitel(0);
47109 ;
47110 return 0;
47111 }
47112 _ACEOF
47113 if ac_fn_cxx_try_compile "$LINENO"; then :
47114 glibcxx_cv_func__finitel_use=yes
47115 else
47116 glibcxx_cv_func__finitel_use=no
47117 fi
47118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47119 ac_ext=c
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47124
47125
47126 fi
47127
47128 fi
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47130 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47131
47132 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47133 for ac_func in _finitel
47134 do :
47135 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47136 if test "x$ac_cv_func__finitel" = xyes; then :
47137 cat >>confdefs.h <<_ACEOF
47138 #define HAVE__FINITEL 1
47139 _ACEOF
47140
47141 fi
47142 done
47143
47144 fi
47145 fi
47146
47147
47148
47149
47150 LIBS="$ac_save_LIBS"
47151 CXXFLAGS="$ac_save_CXXFLAGS"
47152
47153
47154 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47155 ac_save_CXXFLAGS="$CXXFLAGS"
47156 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47157
47158
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47160 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47161 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47162 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47163 $as_echo_n "(cached) " >&6
47164 else
47165
47166
47167 ac_ext=cpp
47168 ac_cpp='$CXXCPP $CPPFLAGS'
47169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47172
47173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47174 /* end confdefs.h. */
47175 #include <stdlib.h>
47176 int
47177 main ()
47178 {
47179 at_quick_exit(0);
47180 ;
47181 return 0;
47182 }
47183 _ACEOF
47184 if ac_fn_cxx_try_compile "$LINENO"; then :
47185 glibcxx_cv_func_at_quick_exit_use=yes
47186 else
47187 glibcxx_cv_func_at_quick_exit_use=no
47188 fi
47189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47190 ac_ext=c
47191 ac_cpp='$CPP $CPPFLAGS'
47192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47195
47196
47197 fi
47198
47199 fi
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47201 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47202 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47203 for ac_func in at_quick_exit
47204 do :
47205 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47206 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47207 cat >>confdefs.h <<_ACEOF
47208 #define HAVE_AT_QUICK_EXIT 1
47209 _ACEOF
47210
47211 fi
47212 done
47213
47214 fi
47215
47216
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47218 $as_echo_n "checking for quick_exit declaration... " >&6; }
47219 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47220 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47221 $as_echo_n "(cached) " >&6
47222 else
47223
47224
47225 ac_ext=cpp
47226 ac_cpp='$CXXCPP $CPPFLAGS'
47227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230
47231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47232 /* end confdefs.h. */
47233 #include <stdlib.h>
47234 int
47235 main ()
47236 {
47237 quick_exit(0);
47238 ;
47239 return 0;
47240 }
47241 _ACEOF
47242 if ac_fn_cxx_try_compile "$LINENO"; then :
47243 glibcxx_cv_func_quick_exit_use=yes
47244 else
47245 glibcxx_cv_func_quick_exit_use=no
47246 fi
47247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47248 ac_ext=c
47249 ac_cpp='$CPP $CPPFLAGS'
47250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47253
47254
47255 fi
47256
47257 fi
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47259 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47260 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47261 for ac_func in quick_exit
47262 do :
47263 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47264 if test "x$ac_cv_func_quick_exit" = xyes; then :
47265 cat >>confdefs.h <<_ACEOF
47266 #define HAVE_QUICK_EXIT 1
47267 _ACEOF
47268
47269 fi
47270 done
47271
47272 fi
47273
47274
47275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47276 $as_echo_n "checking for strtold declaration... " >&6; }
47277 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47278 if ${glibcxx_cv_func_strtold_use+:} false; then :
47279 $as_echo_n "(cached) " >&6
47280 else
47281
47282
47283 ac_ext=cpp
47284 ac_cpp='$CXXCPP $CPPFLAGS'
47285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47288
47289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47290 /* end confdefs.h. */
47291 #include <stdlib.h>
47292 int
47293 main ()
47294 {
47295 strtold(0, 0);
47296 ;
47297 return 0;
47298 }
47299 _ACEOF
47300 if ac_fn_cxx_try_compile "$LINENO"; then :
47301 glibcxx_cv_func_strtold_use=yes
47302 else
47303 glibcxx_cv_func_strtold_use=no
47304 fi
47305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47306 ac_ext=c
47307 ac_cpp='$CPP $CPPFLAGS'
47308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47311
47312
47313 fi
47314
47315 fi
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47317 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47318 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47319 for ac_func in strtold
47320 do :
47321 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47322 if test "x$ac_cv_func_strtold" = xyes; then :
47323 cat >>confdefs.h <<_ACEOF
47324 #define HAVE_STRTOLD 1
47325 _ACEOF
47326
47327 fi
47328 done
47329
47330 fi
47331
47332
47333
47334
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47336 $as_echo_n "checking for strtof declaration... " >&6; }
47337 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47338 if ${glibcxx_cv_func_strtof_use+:} false; then :
47339 $as_echo_n "(cached) " >&6
47340 else
47341
47342
47343 ac_ext=cpp
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47348
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47351 #include <stdlib.h>
47352 int
47353 main ()
47354 {
47355 strtof(0, 0);
47356 ;
47357 return 0;
47358 }
47359 _ACEOF
47360 if ac_fn_cxx_try_compile "$LINENO"; then :
47361 glibcxx_cv_func_strtof_use=yes
47362 else
47363 glibcxx_cv_func_strtof_use=no
47364 fi
47365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47366 ac_ext=c
47367 ac_cpp='$CPP $CPPFLAGS'
47368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47371
47372
47373 fi
47374
47375 fi
47376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47377 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47378 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47379 for ac_func in strtof
47380 do :
47381 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47382 if test "x$ac_cv_func_strtof" = xyes; then :
47383 cat >>confdefs.h <<_ACEOF
47384 #define HAVE_STRTOF 1
47385 _ACEOF
47386
47387 fi
47388 done
47389
47390 fi
47391
47392
47393
47394
47395 CXXFLAGS="$ac_save_CXXFLAGS"
47396
47397 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47398
47399 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47400
47401 # We don't yet support AIX's TLS ABI.
47402 #GCC_CHECK_TLS
47403
47404
47405
47406
47407
47408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47409 $as_echo_n "checking for iconv... " >&6; }
47410 if ${am_cv_func_iconv+:} false; then :
47411 $as_echo_n "(cached) " >&6
47412 else
47413
47414 am_cv_func_iconv="no, consider installing GNU libiconv"
47415 am_cv_lib_iconv=no
47416 am_save_CPPFLAGS="$CPPFLAGS"
47417 CPPFLAGS="$CPPFLAGS $INCICONV"
47418 if test x$gcc_no_link = xyes; then
47419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47420 fi
47421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47422 /* end confdefs.h. */
47423 #include <stdlib.h>
47424 #include <iconv.h>
47425 int
47426 main ()
47427 {
47428 iconv_t cd = iconv_open("","");
47429 iconv(cd,NULL,NULL,NULL,NULL);
47430 iconv_close(cd);
47431 ;
47432 return 0;
47433 }
47434 _ACEOF
47435 if ac_fn_c_try_link "$LINENO"; then :
47436 am_cv_func_iconv=yes
47437 fi
47438 rm -f core conftest.err conftest.$ac_objext \
47439 conftest$ac_exeext conftest.$ac_ext
47440 CPPFLAGS="$am_save_CPPFLAGS"
47441
47442 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47443 for _libs in .libs _libs; do
47444 am_save_CPPFLAGS="$CPPFLAGS"
47445 am_save_LIBS="$LIBS"
47446 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47447 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47448 if test x$gcc_no_link = xyes; then
47449 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47450 fi
47451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47452 /* end confdefs.h. */
47453 #include <stdlib.h>
47454 #include <iconv.h>
47455 int
47456 main ()
47457 {
47458 iconv_t cd = iconv_open("","");
47459 iconv(cd,NULL,NULL,NULL,NULL);
47460 iconv_close(cd);
47461 ;
47462 return 0;
47463 }
47464 _ACEOF
47465 if ac_fn_c_try_link "$LINENO"; then :
47466 INCICONV="-I../libiconv/include"
47467 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47468 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47469 am_cv_lib_iconv=yes
47470 am_cv_func_iconv=yes
47471 fi
47472 rm -f core conftest.err conftest.$ac_objext \
47473 conftest$ac_exeext conftest.$ac_ext
47474 CPPFLAGS="$am_save_CPPFLAGS"
47475 LIBS="$am_save_LIBS"
47476 if test "$am_cv_func_iconv" = "yes"; then
47477 break
47478 fi
47479 done
47480 fi
47481
47482 if test "$am_cv_func_iconv" != yes; then
47483 am_save_CPPFLAGS="$CPPFLAGS"
47484 am_save_LIBS="$LIBS"
47485 CPPFLAGS="$CPPFLAGS $INCICONV"
47486 LIBS="$LIBS $LIBICONV"
47487 if test x$gcc_no_link = xyes; then
47488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47489 fi
47490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47491 /* end confdefs.h. */
47492 #include <stdlib.h>
47493 #include <iconv.h>
47494 int
47495 main ()
47496 {
47497 iconv_t cd = iconv_open("","");
47498 iconv(cd,NULL,NULL,NULL,NULL);
47499 iconv_close(cd);
47500 ;
47501 return 0;
47502 }
47503 _ACEOF
47504 if ac_fn_c_try_link "$LINENO"; then :
47505 am_cv_lib_iconv=yes
47506 am_cv_func_iconv=yes
47507 fi
47508 rm -f core conftest.err conftest.$ac_objext \
47509 conftest$ac_exeext conftest.$ac_ext
47510 CPPFLAGS="$am_save_CPPFLAGS"
47511 LIBS="$am_save_LIBS"
47512 fi
47513
47514 fi
47515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47516 $as_echo "$am_cv_func_iconv" >&6; }
47517 if test "$am_cv_func_iconv" = yes; then
47518
47519 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47520
47521 fi
47522 if test "$am_cv_lib_iconv" = yes; then
47523
47524 for element in $INCICONV; do
47525 haveit=
47526 for x in $CPPFLAGS; do
47527
47528 acl_save_prefix="$prefix"
47529 prefix="$acl_final_prefix"
47530 acl_save_exec_prefix="$exec_prefix"
47531 exec_prefix="$acl_final_exec_prefix"
47532 eval x=\"$x\"
47533 exec_prefix="$acl_save_exec_prefix"
47534 prefix="$acl_save_prefix"
47535
47536 if test "X$x" = "X$element"; then
47537 haveit=yes
47538 break
47539 fi
47540 done
47541 if test -z "$haveit"; then
47542 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47543 fi
47544 done
47545
47546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47547 $as_echo_n "checking how to link with libiconv... " >&6; }
47548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47549 $as_echo "$LIBICONV" >&6; }
47550 else
47551 LIBICONV=
47552 LTLIBICONV=
47553 fi
47554
47555
47556
47557 if test "$am_cv_func_iconv" = yes; then
47558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47559 $as_echo_n "checking for iconv declaration... " >&6; }
47560 if ${am_cv_proto_iconv+:} false; then :
47561 $as_echo_n "(cached) " >&6
47562 else
47563
47564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47565 /* end confdefs.h. */
47566
47567 #include <stdlib.h>
47568 #include <iconv.h>
47569 extern
47570 #ifdef __cplusplus
47571 "C"
47572 #endif
47573 #if defined(__STDC__) || defined(__cplusplus)
47574 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47575 #else
47576 size_t iconv();
47577 #endif
47578
47579 int
47580 main ()
47581 {
47582
47583 ;
47584 return 0;
47585 }
47586 _ACEOF
47587 if ac_fn_c_try_compile "$LINENO"; then :
47588 am_cv_proto_iconv_arg1=""
47589 else
47590 am_cv_proto_iconv_arg1="const"
47591 fi
47592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47593 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);"
47594 fi
47595
47596 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47598 }$am_cv_proto_iconv" >&5
47599 $as_echo "${ac_t:-
47600 }$am_cv_proto_iconv" >&6; }
47601
47602 cat >>confdefs.h <<_ACEOF
47603 #define ICONV_CONST $am_cv_proto_iconv_arg1
47604 _ACEOF
47605
47606 fi
47607
47608 ;;
47609
47610 *-darwin*)
47611 # Darwin versions vary, but the linker should work in a cross environment,
47612 # so we just check for all the features here.
47613 # Check for available headers.
47614
47615 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47616
47617 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47618 ac_save_CXXFLAGS="$CXXFLAGS"
47619 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47620
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47622 $as_echo_n "checking for sin in -lm... " >&6; }
47623 if ${ac_cv_lib_m_sin+:} false; then :
47624 $as_echo_n "(cached) " >&6
47625 else
47626 ac_check_lib_save_LIBS=$LIBS
47627 LIBS="-lm $LIBS"
47628 if test x$gcc_no_link = xyes; then
47629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47630 fi
47631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47632 /* end confdefs.h. */
47633
47634 /* Override any GCC internal prototype to avoid an error.
47635 Use char because int might match the return type of a GCC
47636 builtin and then its argument prototype would still apply. */
47637 #ifdef __cplusplus
47638 extern "C"
47639 #endif
47640 char sin ();
47641 int
47642 main ()
47643 {
47644 return sin ();
47645 ;
47646 return 0;
47647 }
47648 _ACEOF
47649 if ac_fn_c_try_link "$LINENO"; then :
47650 ac_cv_lib_m_sin=yes
47651 else
47652 ac_cv_lib_m_sin=no
47653 fi
47654 rm -f core conftest.err conftest.$ac_objext \
47655 conftest$ac_exeext conftest.$ac_ext
47656 LIBS=$ac_check_lib_save_LIBS
47657 fi
47658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47659 $as_echo "$ac_cv_lib_m_sin" >&6; }
47660 if test "x$ac_cv_lib_m_sin" = xyes; then :
47661 libm="-lm"
47662 fi
47663
47664 ac_save_LIBS="$LIBS"
47665 LIBS="$LIBS $libm"
47666
47667
47668
47669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47670 $as_echo_n "checking for isinf declaration... " >&6; }
47671 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47672 if ${glibcxx_cv_func_isinf_use+:} false; then :
47673 $as_echo_n "(cached) " >&6
47674 else
47675
47676
47677 ac_ext=cpp
47678 ac_cpp='$CXXCPP $CPPFLAGS'
47679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47682
47683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47684 /* end confdefs.h. */
47685 #include <math.h>
47686 #ifdef HAVE_IEEEFP_H
47687 #include <ieeefp.h>
47688 #endif
47689
47690 int
47691 main ()
47692 {
47693 isinf(0);
47694 ;
47695 return 0;
47696 }
47697 _ACEOF
47698 if ac_fn_cxx_try_compile "$LINENO"; then :
47699 glibcxx_cv_func_isinf_use=yes
47700 else
47701 glibcxx_cv_func_isinf_use=no
47702 fi
47703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47704 ac_ext=c
47705 ac_cpp='$CPP $CPPFLAGS'
47706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47709
47710
47711 fi
47712
47713 fi
47714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47715 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47716
47717 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47718 for ac_func in isinf
47719 do :
47720 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47721 if test "x$ac_cv_func_isinf" = xyes; then :
47722 cat >>confdefs.h <<_ACEOF
47723 #define HAVE_ISINF 1
47724 _ACEOF
47725
47726 fi
47727 done
47728
47729 else
47730
47731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47732 $as_echo_n "checking for _isinf declaration... " >&6; }
47733 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47734 if ${glibcxx_cv_func__isinf_use+:} false; then :
47735 $as_echo_n "(cached) " >&6
47736 else
47737
47738
47739 ac_ext=cpp
47740 ac_cpp='$CXXCPP $CPPFLAGS'
47741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47744
47745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746 /* end confdefs.h. */
47747 #include <math.h>
47748 #ifdef HAVE_IEEEFP_H
47749 #include <ieeefp.h>
47750 #endif
47751
47752 int
47753 main ()
47754 {
47755 _isinf(0);
47756 ;
47757 return 0;
47758 }
47759 _ACEOF
47760 if ac_fn_cxx_try_compile "$LINENO"; then :
47761 glibcxx_cv_func__isinf_use=yes
47762 else
47763 glibcxx_cv_func__isinf_use=no
47764 fi
47765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47766 ac_ext=c
47767 ac_cpp='$CPP $CPPFLAGS'
47768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47771
47772
47773 fi
47774
47775 fi
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47777 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47778
47779 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47780 for ac_func in _isinf
47781 do :
47782 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47783 if test "x$ac_cv_func__isinf" = xyes; then :
47784 cat >>confdefs.h <<_ACEOF
47785 #define HAVE__ISINF 1
47786 _ACEOF
47787
47788 fi
47789 done
47790
47791 fi
47792 fi
47793
47794
47795
47796
47797
47798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47799 $as_echo_n "checking for isnan declaration... " >&6; }
47800 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47801 if ${glibcxx_cv_func_isnan_use+:} false; then :
47802 $as_echo_n "(cached) " >&6
47803 else
47804
47805
47806 ac_ext=cpp
47807 ac_cpp='$CXXCPP $CPPFLAGS'
47808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47811
47812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47813 /* end confdefs.h. */
47814 #include <math.h>
47815 #ifdef HAVE_IEEEFP_H
47816 #include <ieeefp.h>
47817 #endif
47818
47819 int
47820 main ()
47821 {
47822 isnan(0);
47823 ;
47824 return 0;
47825 }
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828 glibcxx_cv_func_isnan_use=yes
47829 else
47830 glibcxx_cv_func_isnan_use=no
47831 fi
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833 ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838
47839
47840 fi
47841
47842 fi
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47844 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47845
47846 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47847 for ac_func in isnan
47848 do :
47849 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47850 if test "x$ac_cv_func_isnan" = xyes; then :
47851 cat >>confdefs.h <<_ACEOF
47852 #define HAVE_ISNAN 1
47853 _ACEOF
47854
47855 fi
47856 done
47857
47858 else
47859
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47861 $as_echo_n "checking for _isnan declaration... " >&6; }
47862 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47863 if ${glibcxx_cv_func__isnan_use+:} false; then :
47864 $as_echo_n "(cached) " >&6
47865 else
47866
47867
47868 ac_ext=cpp
47869 ac_cpp='$CXXCPP $CPPFLAGS'
47870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47873
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47876 #include <math.h>
47877 #ifdef HAVE_IEEEFP_H
47878 #include <ieeefp.h>
47879 #endif
47880
47881 int
47882 main ()
47883 {
47884 _isnan(0);
47885 ;
47886 return 0;
47887 }
47888 _ACEOF
47889 if ac_fn_cxx_try_compile "$LINENO"; then :
47890 glibcxx_cv_func__isnan_use=yes
47891 else
47892 glibcxx_cv_func__isnan_use=no
47893 fi
47894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47895 ac_ext=c
47896 ac_cpp='$CPP $CPPFLAGS'
47897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47900
47901
47902 fi
47903
47904 fi
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47906 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47907
47908 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47909 for ac_func in _isnan
47910 do :
47911 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47912 if test "x$ac_cv_func__isnan" = xyes; then :
47913 cat >>confdefs.h <<_ACEOF
47914 #define HAVE__ISNAN 1
47915 _ACEOF
47916
47917 fi
47918 done
47919
47920 fi
47921 fi
47922
47923
47924
47925
47926
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47928 $as_echo_n "checking for finite declaration... " >&6; }
47929 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47930 if ${glibcxx_cv_func_finite_use+:} false; then :
47931 $as_echo_n "(cached) " >&6
47932 else
47933
47934
47935 ac_ext=cpp
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940
47941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47942 /* end confdefs.h. */
47943 #include <math.h>
47944 #ifdef HAVE_IEEEFP_H
47945 #include <ieeefp.h>
47946 #endif
47947
47948 int
47949 main ()
47950 {
47951 finite(0);
47952 ;
47953 return 0;
47954 }
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957 glibcxx_cv_func_finite_use=yes
47958 else
47959 glibcxx_cv_func_finite_use=no
47960 fi
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962 ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967
47968
47969 fi
47970
47971 fi
47972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47973 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47974
47975 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47976 for ac_func in finite
47977 do :
47978 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47979 if test "x$ac_cv_func_finite" = xyes; then :
47980 cat >>confdefs.h <<_ACEOF
47981 #define HAVE_FINITE 1
47982 _ACEOF
47983
47984 fi
47985 done
47986
47987 else
47988
47989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47990 $as_echo_n "checking for _finite declaration... " >&6; }
47991 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47992 if ${glibcxx_cv_func__finite_use+:} false; then :
47993 $as_echo_n "(cached) " >&6
47994 else
47995
47996
47997 ac_ext=cpp
47998 ac_cpp='$CXXCPP $CPPFLAGS'
47999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48002
48003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48004 /* end confdefs.h. */
48005 #include <math.h>
48006 #ifdef HAVE_IEEEFP_H
48007 #include <ieeefp.h>
48008 #endif
48009
48010 int
48011 main ()
48012 {
48013 _finite(0);
48014 ;
48015 return 0;
48016 }
48017 _ACEOF
48018 if ac_fn_cxx_try_compile "$LINENO"; then :
48019 glibcxx_cv_func__finite_use=yes
48020 else
48021 glibcxx_cv_func__finite_use=no
48022 fi
48023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48024 ac_ext=c
48025 ac_cpp='$CPP $CPPFLAGS'
48026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48029
48030
48031 fi
48032
48033 fi
48034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48035 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48036
48037 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48038 for ac_func in _finite
48039 do :
48040 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48041 if test "x$ac_cv_func__finite" = xyes; then :
48042 cat >>confdefs.h <<_ACEOF
48043 #define HAVE__FINITE 1
48044 _ACEOF
48045
48046 fi
48047 done
48048
48049 fi
48050 fi
48051
48052
48053
48054
48055
48056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48057 $as_echo_n "checking for sincos declaration... " >&6; }
48058 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48059 if ${glibcxx_cv_func_sincos_use+:} false; then :
48060 $as_echo_n "(cached) " >&6
48061 else
48062
48063
48064 ac_ext=cpp
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069
48070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48071 /* end confdefs.h. */
48072 #include <math.h>
48073 int
48074 main ()
48075 {
48076 sincos(0, 0, 0);
48077 ;
48078 return 0;
48079 }
48080 _ACEOF
48081 if ac_fn_cxx_try_compile "$LINENO"; then :
48082 glibcxx_cv_func_sincos_use=yes
48083 else
48084 glibcxx_cv_func_sincos_use=no
48085 fi
48086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48087 ac_ext=c
48088 ac_cpp='$CPP $CPPFLAGS'
48089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48092
48093
48094 fi
48095
48096 fi
48097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48098 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48099
48100 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48101 for ac_func in sincos
48102 do :
48103 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48104 if test "x$ac_cv_func_sincos" = xyes; then :
48105 cat >>confdefs.h <<_ACEOF
48106 #define HAVE_SINCOS 1
48107 _ACEOF
48108
48109 fi
48110 done
48111
48112 else
48113
48114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48115 $as_echo_n "checking for _sincos declaration... " >&6; }
48116 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48117 if ${glibcxx_cv_func__sincos_use+:} false; then :
48118 $as_echo_n "(cached) " >&6
48119 else
48120
48121
48122 ac_ext=cpp
48123 ac_cpp='$CXXCPP $CPPFLAGS'
48124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48127
48128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48129 /* end confdefs.h. */
48130 #include <math.h>
48131 int
48132 main ()
48133 {
48134 _sincos(0, 0, 0);
48135 ;
48136 return 0;
48137 }
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func__sincos_use=yes
48141 else
48142 glibcxx_cv_func__sincos_use=no
48143 fi
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48150
48151
48152 fi
48153
48154 fi
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48156 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48157
48158 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48159 for ac_func in _sincos
48160 do :
48161 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48162 if test "x$ac_cv_func__sincos" = xyes; then :
48163 cat >>confdefs.h <<_ACEOF
48164 #define HAVE__SINCOS 1
48165 _ACEOF
48166
48167 fi
48168 done
48169
48170 fi
48171 fi
48172
48173
48174
48175
48176
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48178 $as_echo_n "checking for fpclass declaration... " >&6; }
48179 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48180 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48181 $as_echo_n "(cached) " >&6
48182 else
48183
48184
48185 ac_ext=cpp
48186 ac_cpp='$CXXCPP $CPPFLAGS'
48187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48190
48191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48192 /* end confdefs.h. */
48193 #include <math.h>
48194 #ifdef HAVE_IEEEFP_H
48195 #include <ieeefp.h>
48196 #endif
48197
48198 int
48199 main ()
48200 {
48201 fpclass(0);
48202 ;
48203 return 0;
48204 }
48205 _ACEOF
48206 if ac_fn_cxx_try_compile "$LINENO"; then :
48207 glibcxx_cv_func_fpclass_use=yes
48208 else
48209 glibcxx_cv_func_fpclass_use=no
48210 fi
48211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48212 ac_ext=c
48213 ac_cpp='$CPP $CPPFLAGS'
48214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48217
48218
48219 fi
48220
48221 fi
48222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48223 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48224
48225 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48226 for ac_func in fpclass
48227 do :
48228 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48229 if test "x$ac_cv_func_fpclass" = xyes; then :
48230 cat >>confdefs.h <<_ACEOF
48231 #define HAVE_FPCLASS 1
48232 _ACEOF
48233
48234 fi
48235 done
48236
48237 else
48238
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48240 $as_echo_n "checking for _fpclass declaration... " >&6; }
48241 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48242 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48245
48246
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48252
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48256 #ifdef HAVE_IEEEFP_H
48257 #include <ieeefp.h>
48258 #endif
48259
48260 int
48261 main ()
48262 {
48263 _fpclass(0);
48264 ;
48265 return 0;
48266 }
48267 _ACEOF
48268 if ac_fn_cxx_try_compile "$LINENO"; then :
48269 glibcxx_cv_func__fpclass_use=yes
48270 else
48271 glibcxx_cv_func__fpclass_use=no
48272 fi
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274 ac_ext=c
48275 ac_cpp='$CPP $CPPFLAGS'
48276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48279
48280
48281 fi
48282
48283 fi
48284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48285 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48286
48287 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48288 for ac_func in _fpclass
48289 do :
48290 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48291 if test "x$ac_cv_func__fpclass" = xyes; then :
48292 cat >>confdefs.h <<_ACEOF
48293 #define HAVE__FPCLASS 1
48294 _ACEOF
48295
48296 fi
48297 done
48298
48299 fi
48300 fi
48301
48302
48303
48304
48305
48306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48307 $as_echo_n "checking for qfpclass declaration... " >&6; }
48308 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48309 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48310 $as_echo_n "(cached) " >&6
48311 else
48312
48313
48314 ac_ext=cpp
48315 ac_cpp='$CXXCPP $CPPFLAGS'
48316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48319
48320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48321 /* end confdefs.h. */
48322 #include <math.h>
48323 #ifdef HAVE_IEEEFP_H
48324 #include <ieeefp.h>
48325 #endif
48326
48327 int
48328 main ()
48329 {
48330 qfpclass(0);
48331 ;
48332 return 0;
48333 }
48334 _ACEOF
48335 if ac_fn_cxx_try_compile "$LINENO"; then :
48336 glibcxx_cv_func_qfpclass_use=yes
48337 else
48338 glibcxx_cv_func_qfpclass_use=no
48339 fi
48340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48341 ac_ext=c
48342 ac_cpp='$CPP $CPPFLAGS'
48343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48346
48347
48348 fi
48349
48350 fi
48351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48352 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48353
48354 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48355 for ac_func in qfpclass
48356 do :
48357 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48358 if test "x$ac_cv_func_qfpclass" = xyes; then :
48359 cat >>confdefs.h <<_ACEOF
48360 #define HAVE_QFPCLASS 1
48361 _ACEOF
48362
48363 fi
48364 done
48365
48366 else
48367
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48369 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48370 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48371 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48372 $as_echo_n "(cached) " >&6
48373 else
48374
48375
48376 ac_ext=cpp
48377 ac_cpp='$CXXCPP $CPPFLAGS'
48378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48381
48382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48383 /* end confdefs.h. */
48384 #include <math.h>
48385 #ifdef HAVE_IEEEFP_H
48386 #include <ieeefp.h>
48387 #endif
48388
48389 int
48390 main ()
48391 {
48392 _qfpclass(0);
48393 ;
48394 return 0;
48395 }
48396 _ACEOF
48397 if ac_fn_cxx_try_compile "$LINENO"; then :
48398 glibcxx_cv_func__qfpclass_use=yes
48399 else
48400 glibcxx_cv_func__qfpclass_use=no
48401 fi
48402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48403 ac_ext=c
48404 ac_cpp='$CPP $CPPFLAGS'
48405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48408
48409
48410 fi
48411
48412 fi
48413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48414 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48415
48416 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48417 for ac_func in _qfpclass
48418 do :
48419 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48420 if test "x$ac_cv_func__qfpclass" = xyes; then :
48421 cat >>confdefs.h <<_ACEOF
48422 #define HAVE__QFPCLASS 1
48423 _ACEOF
48424
48425 fi
48426 done
48427
48428 fi
48429 fi
48430
48431
48432
48433
48434
48435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48436 $as_echo_n "checking for hypot declaration... " >&6; }
48437 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48438 if ${glibcxx_cv_func_hypot_use+:} false; then :
48439 $as_echo_n "(cached) " >&6
48440 else
48441
48442
48443 ac_ext=cpp
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448
48449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48450 /* end confdefs.h. */
48451 #include <math.h>
48452 int
48453 main ()
48454 {
48455 hypot(0, 0);
48456 ;
48457 return 0;
48458 }
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func_hypot_use=yes
48462 else
48463 glibcxx_cv_func_hypot_use=no
48464 fi
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48471
48472
48473 fi
48474
48475 fi
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48477 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48478
48479 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48480 for ac_func in hypot
48481 do :
48482 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48483 if test "x$ac_cv_func_hypot" = xyes; then :
48484 cat >>confdefs.h <<_ACEOF
48485 #define HAVE_HYPOT 1
48486 _ACEOF
48487
48488 fi
48489 done
48490
48491 else
48492
48493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48494 $as_echo_n "checking for _hypot declaration... " >&6; }
48495 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48496 if ${glibcxx_cv_func__hypot_use+:} false; then :
48497 $as_echo_n "(cached) " >&6
48498 else
48499
48500
48501 ac_ext=cpp
48502 ac_cpp='$CXXCPP $CPPFLAGS'
48503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48506
48507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48508 /* end confdefs.h. */
48509 #include <math.h>
48510 int
48511 main ()
48512 {
48513 _hypot(0, 0);
48514 ;
48515 return 0;
48516 }
48517 _ACEOF
48518 if ac_fn_cxx_try_compile "$LINENO"; then :
48519 glibcxx_cv_func__hypot_use=yes
48520 else
48521 glibcxx_cv_func__hypot_use=no
48522 fi
48523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48524 ac_ext=c
48525 ac_cpp='$CPP $CPPFLAGS'
48526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48529
48530
48531 fi
48532
48533 fi
48534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48535 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48536
48537 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48538 for ac_func in _hypot
48539 do :
48540 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48541 if test "x$ac_cv_func__hypot" = xyes; then :
48542 cat >>confdefs.h <<_ACEOF
48543 #define HAVE__HYPOT 1
48544 _ACEOF
48545
48546 fi
48547 done
48548
48549 fi
48550 fi
48551
48552
48553
48554
48555
48556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48557 $as_echo_n "checking for float trig functions... " >&6; }
48558 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48559 $as_echo_n "(cached) " >&6
48560 else
48561
48562
48563 ac_ext=cpp
48564 ac_cpp='$CXXCPP $CPPFLAGS'
48565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48568
48569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48570 /* end confdefs.h. */
48571 #include <math.h>
48572 int
48573 main ()
48574 {
48575 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48576 ;
48577 return 0;
48578 }
48579 _ACEOF
48580 if ac_fn_cxx_try_compile "$LINENO"; then :
48581 glibcxx_cv_func_float_trig_use=yes
48582 else
48583 glibcxx_cv_func_float_trig_use=no
48584 fi
48585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48586 ac_ext=c
48587 ac_cpp='$CPP $CPPFLAGS'
48588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48591
48592 fi
48593
48594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48595 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48596 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48597 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48598 do :
48599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48601 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48602 cat >>confdefs.h <<_ACEOF
48603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48604 _ACEOF
48605
48606 fi
48607 done
48608
48609 else
48610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48611 $as_echo_n "checking for _float trig functions... " >&6; }
48612 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48613 $as_echo_n "(cached) " >&6
48614 else
48615
48616
48617 ac_ext=cpp
48618 ac_cpp='$CXXCPP $CPPFLAGS'
48619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48622
48623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48624 /* end confdefs.h. */
48625 #include <math.h>
48626 int
48627 main ()
48628 {
48629 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48630 ;
48631 return 0;
48632 }
48633 _ACEOF
48634 if ac_fn_cxx_try_compile "$LINENO"; then :
48635 glibcxx_cv_func__float_trig_use=yes
48636 else
48637 glibcxx_cv_func__float_trig_use=no
48638 fi
48639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48640 ac_ext=c
48641 ac_cpp='$CPP $CPPFLAGS'
48642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48645
48646 fi
48647
48648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48649 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48650 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48651 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48652 do :
48653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48655 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48656 cat >>confdefs.h <<_ACEOF
48657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48658 _ACEOF
48659
48660 fi
48661 done
48662
48663 fi
48664 fi
48665
48666
48667
48668
48669
48670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48671 $as_echo_n "checking for float round functions... " >&6; }
48672 if ${glibcxx_cv_func_float_round_use+:} false; then :
48673 $as_echo_n "(cached) " >&6
48674 else
48675
48676
48677 ac_ext=cpp
48678 ac_cpp='$CXXCPP $CPPFLAGS'
48679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48682
48683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48684 /* end confdefs.h. */
48685 #include <math.h>
48686 int
48687 main ()
48688 {
48689 ceilf (0); floorf (0);
48690 ;
48691 return 0;
48692 }
48693 _ACEOF
48694 if ac_fn_cxx_try_compile "$LINENO"; then :
48695 glibcxx_cv_func_float_round_use=yes
48696 else
48697 glibcxx_cv_func_float_round_use=no
48698 fi
48699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48700 ac_ext=c
48701 ac_cpp='$CPP $CPPFLAGS'
48702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48705
48706 fi
48707
48708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48709 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48710 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48711 for ac_func in ceilf floorf
48712 do :
48713 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48715 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48716 cat >>confdefs.h <<_ACEOF
48717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48718 _ACEOF
48719
48720 fi
48721 done
48722
48723 else
48724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48725 $as_echo_n "checking for _float round functions... " >&6; }
48726 if ${glibcxx_cv_func__float_round_use+:} false; then :
48727 $as_echo_n "(cached) " >&6
48728 else
48729
48730
48731 ac_ext=cpp
48732 ac_cpp='$CXXCPP $CPPFLAGS'
48733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48736
48737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48738 /* end confdefs.h. */
48739 #include <math.h>
48740 int
48741 main ()
48742 {
48743 _ceilf (0); _floorf (0);
48744 ;
48745 return 0;
48746 }
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749 glibcxx_cv_func__float_round_use=yes
48750 else
48751 glibcxx_cv_func__float_round_use=no
48752 fi
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754 ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48759
48760 fi
48761
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48763 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48764 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48765 for ac_func in _ceilf _floorf
48766 do :
48767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48769 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48770 cat >>confdefs.h <<_ACEOF
48771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48772 _ACEOF
48773
48774 fi
48775 done
48776
48777 fi
48778 fi
48779
48780
48781
48782
48783
48784
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48786 $as_echo_n "checking for expf declaration... " >&6; }
48787 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48788 if ${glibcxx_cv_func_expf_use+:} false; then :
48789 $as_echo_n "(cached) " >&6
48790 else
48791
48792
48793 ac_ext=cpp
48794 ac_cpp='$CXXCPP $CPPFLAGS'
48795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48798
48799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48800 /* end confdefs.h. */
48801 #include <math.h>
48802 #ifdef HAVE_IEEEFP_H
48803 #include <ieeefp.h>
48804 #endif
48805
48806 int
48807 main ()
48808 {
48809 expf(0);
48810 ;
48811 return 0;
48812 }
48813 _ACEOF
48814 if ac_fn_cxx_try_compile "$LINENO"; then :
48815 glibcxx_cv_func_expf_use=yes
48816 else
48817 glibcxx_cv_func_expf_use=no
48818 fi
48819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48820 ac_ext=c
48821 ac_cpp='$CPP $CPPFLAGS'
48822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48825
48826
48827 fi
48828
48829 fi
48830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48831 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48832
48833 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48834 for ac_func in expf
48835 do :
48836 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48837 if test "x$ac_cv_func_expf" = xyes; then :
48838 cat >>confdefs.h <<_ACEOF
48839 #define HAVE_EXPF 1
48840 _ACEOF
48841
48842 fi
48843 done
48844
48845 else
48846
48847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48848 $as_echo_n "checking for _expf declaration... " >&6; }
48849 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48850 if ${glibcxx_cv_func__expf_use+:} false; then :
48851 $as_echo_n "(cached) " >&6
48852 else
48853
48854
48855 ac_ext=cpp
48856 ac_cpp='$CXXCPP $CPPFLAGS'
48857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48860
48861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48862 /* end confdefs.h. */
48863 #include <math.h>
48864 #ifdef HAVE_IEEEFP_H
48865 #include <ieeefp.h>
48866 #endif
48867
48868 int
48869 main ()
48870 {
48871 _expf(0);
48872 ;
48873 return 0;
48874 }
48875 _ACEOF
48876 if ac_fn_cxx_try_compile "$LINENO"; then :
48877 glibcxx_cv_func__expf_use=yes
48878 else
48879 glibcxx_cv_func__expf_use=no
48880 fi
48881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48882 ac_ext=c
48883 ac_cpp='$CPP $CPPFLAGS'
48884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48887
48888
48889 fi
48890
48891 fi
48892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48893 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48894
48895 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48896 for ac_func in _expf
48897 do :
48898 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48899 if test "x$ac_cv_func__expf" = xyes; then :
48900 cat >>confdefs.h <<_ACEOF
48901 #define HAVE__EXPF 1
48902 _ACEOF
48903
48904 fi
48905 done
48906
48907 fi
48908 fi
48909
48910
48911
48912
48913
48914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48915 $as_echo_n "checking for isnanf declaration... " >&6; }
48916 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48917 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48918 $as_echo_n "(cached) " >&6
48919 else
48920
48921
48922 ac_ext=cpp
48923 ac_cpp='$CXXCPP $CPPFLAGS'
48924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48927
48928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48929 /* end confdefs.h. */
48930 #include <math.h>
48931 #ifdef HAVE_IEEEFP_H
48932 #include <ieeefp.h>
48933 #endif
48934
48935 int
48936 main ()
48937 {
48938 isnanf(0);
48939 ;
48940 return 0;
48941 }
48942 _ACEOF
48943 if ac_fn_cxx_try_compile "$LINENO"; then :
48944 glibcxx_cv_func_isnanf_use=yes
48945 else
48946 glibcxx_cv_func_isnanf_use=no
48947 fi
48948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48949 ac_ext=c
48950 ac_cpp='$CPP $CPPFLAGS'
48951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48954
48955
48956 fi
48957
48958 fi
48959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48960 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48961
48962 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48963 for ac_func in isnanf
48964 do :
48965 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48966 if test "x$ac_cv_func_isnanf" = xyes; then :
48967 cat >>confdefs.h <<_ACEOF
48968 #define HAVE_ISNANF 1
48969 _ACEOF
48970
48971 fi
48972 done
48973
48974 else
48975
48976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48977 $as_echo_n "checking for _isnanf declaration... " >&6; }
48978 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48979 if ${glibcxx_cv_func__isnanf_use+:} false; then :
48980 $as_echo_n "(cached) " >&6
48981 else
48982
48983
48984 ac_ext=cpp
48985 ac_cpp='$CXXCPP $CPPFLAGS'
48986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48989
48990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48991 /* end confdefs.h. */
48992 #include <math.h>
48993 #ifdef HAVE_IEEEFP_H
48994 #include <ieeefp.h>
48995 #endif
48996
48997 int
48998 main ()
48999 {
49000 _isnanf(0);
49001 ;
49002 return 0;
49003 }
49004 _ACEOF
49005 if ac_fn_cxx_try_compile "$LINENO"; then :
49006 glibcxx_cv_func__isnanf_use=yes
49007 else
49008 glibcxx_cv_func__isnanf_use=no
49009 fi
49010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49011 ac_ext=c
49012 ac_cpp='$CPP $CPPFLAGS'
49013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49016
49017
49018 fi
49019
49020 fi
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49022 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49023
49024 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49025 for ac_func in _isnanf
49026 do :
49027 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49028 if test "x$ac_cv_func__isnanf" = xyes; then :
49029 cat >>confdefs.h <<_ACEOF
49030 #define HAVE__ISNANF 1
49031 _ACEOF
49032
49033 fi
49034 done
49035
49036 fi
49037 fi
49038
49039
49040
49041
49042
49043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49044 $as_echo_n "checking for isinff declaration... " >&6; }
49045 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49046 if ${glibcxx_cv_func_isinff_use+:} false; then :
49047 $as_echo_n "(cached) " >&6
49048 else
49049
49050
49051 ac_ext=cpp
49052 ac_cpp='$CXXCPP $CPPFLAGS'
49053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49056
49057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49058 /* end confdefs.h. */
49059 #include <math.h>
49060 #ifdef HAVE_IEEEFP_H
49061 #include <ieeefp.h>
49062 #endif
49063
49064 int
49065 main ()
49066 {
49067 isinff(0);
49068 ;
49069 return 0;
49070 }
49071 _ACEOF
49072 if ac_fn_cxx_try_compile "$LINENO"; then :
49073 glibcxx_cv_func_isinff_use=yes
49074 else
49075 glibcxx_cv_func_isinff_use=no
49076 fi
49077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49078 ac_ext=c
49079 ac_cpp='$CPP $CPPFLAGS'
49080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49083
49084
49085 fi
49086
49087 fi
49088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49089 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49090
49091 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49092 for ac_func in isinff
49093 do :
49094 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49095 if test "x$ac_cv_func_isinff" = xyes; then :
49096 cat >>confdefs.h <<_ACEOF
49097 #define HAVE_ISINFF 1
49098 _ACEOF
49099
49100 fi
49101 done
49102
49103 else
49104
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49106 $as_echo_n "checking for _isinff declaration... " >&6; }
49107 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49108 if ${glibcxx_cv_func__isinff_use+:} false; then :
49109 $as_echo_n "(cached) " >&6
49110 else
49111
49112
49113 ac_ext=cpp
49114 ac_cpp='$CXXCPP $CPPFLAGS'
49115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49118
49119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49120 /* end confdefs.h. */
49121 #include <math.h>
49122 #ifdef HAVE_IEEEFP_H
49123 #include <ieeefp.h>
49124 #endif
49125
49126 int
49127 main ()
49128 {
49129 _isinff(0);
49130 ;
49131 return 0;
49132 }
49133 _ACEOF
49134 if ac_fn_cxx_try_compile "$LINENO"; then :
49135 glibcxx_cv_func__isinff_use=yes
49136 else
49137 glibcxx_cv_func__isinff_use=no
49138 fi
49139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49140 ac_ext=c
49141 ac_cpp='$CPP $CPPFLAGS'
49142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49145
49146
49147 fi
49148
49149 fi
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49151 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49152
49153 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49154 for ac_func in _isinff
49155 do :
49156 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49157 if test "x$ac_cv_func__isinff" = xyes; then :
49158 cat >>confdefs.h <<_ACEOF
49159 #define HAVE__ISINFF 1
49160 _ACEOF
49161
49162 fi
49163 done
49164
49165 fi
49166 fi
49167
49168
49169
49170
49171
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49173 $as_echo_n "checking for atan2f declaration... " >&6; }
49174 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49175 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49176 $as_echo_n "(cached) " >&6
49177 else
49178
49179
49180 ac_ext=cpp
49181 ac_cpp='$CXXCPP $CPPFLAGS'
49182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49185
49186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49187 /* end confdefs.h. */
49188 #include <math.h>
49189 int
49190 main ()
49191 {
49192 atan2f(0, 0);
49193 ;
49194 return 0;
49195 }
49196 _ACEOF
49197 if ac_fn_cxx_try_compile "$LINENO"; then :
49198 glibcxx_cv_func_atan2f_use=yes
49199 else
49200 glibcxx_cv_func_atan2f_use=no
49201 fi
49202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49203 ac_ext=c
49204 ac_cpp='$CPP $CPPFLAGS'
49205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49208
49209
49210 fi
49211
49212 fi
49213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49214 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49215
49216 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49217 for ac_func in atan2f
49218 do :
49219 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49220 if test "x$ac_cv_func_atan2f" = xyes; then :
49221 cat >>confdefs.h <<_ACEOF
49222 #define HAVE_ATAN2F 1
49223 _ACEOF
49224
49225 fi
49226 done
49227
49228 else
49229
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49231 $as_echo_n "checking for _atan2f declaration... " >&6; }
49232 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49233 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49234 $as_echo_n "(cached) " >&6
49235 else
49236
49237
49238 ac_ext=cpp
49239 ac_cpp='$CXXCPP $CPPFLAGS'
49240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49243
49244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49245 /* end confdefs.h. */
49246 #include <math.h>
49247 int
49248 main ()
49249 {
49250 _atan2f(0, 0);
49251 ;
49252 return 0;
49253 }
49254 _ACEOF
49255 if ac_fn_cxx_try_compile "$LINENO"; then :
49256 glibcxx_cv_func__atan2f_use=yes
49257 else
49258 glibcxx_cv_func__atan2f_use=no
49259 fi
49260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49261 ac_ext=c
49262 ac_cpp='$CPP $CPPFLAGS'
49263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49266
49267
49268 fi
49269
49270 fi
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49272 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49273
49274 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49275 for ac_func in _atan2f
49276 do :
49277 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49278 if test "x$ac_cv_func__atan2f" = xyes; then :
49279 cat >>confdefs.h <<_ACEOF
49280 #define HAVE__ATAN2F 1
49281 _ACEOF
49282
49283 fi
49284 done
49285
49286 fi
49287 fi
49288
49289
49290
49291
49292
49293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49294 $as_echo_n "checking for fabsf declaration... " >&6; }
49295 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49296 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49297 $as_echo_n "(cached) " >&6
49298 else
49299
49300
49301 ac_ext=cpp
49302 ac_cpp='$CXXCPP $CPPFLAGS'
49303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49306
49307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49308 /* end confdefs.h. */
49309 #include <math.h>
49310 #ifdef HAVE_IEEEFP_H
49311 #include <ieeefp.h>
49312 #endif
49313
49314 int
49315 main ()
49316 {
49317 fabsf(0);
49318 ;
49319 return 0;
49320 }
49321 _ACEOF
49322 if ac_fn_cxx_try_compile "$LINENO"; then :
49323 glibcxx_cv_func_fabsf_use=yes
49324 else
49325 glibcxx_cv_func_fabsf_use=no
49326 fi
49327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49328 ac_ext=c
49329 ac_cpp='$CPP $CPPFLAGS'
49330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49333
49334
49335 fi
49336
49337 fi
49338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49339 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49340
49341 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49342 for ac_func in fabsf
49343 do :
49344 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49345 if test "x$ac_cv_func_fabsf" = xyes; then :
49346 cat >>confdefs.h <<_ACEOF
49347 #define HAVE_FABSF 1
49348 _ACEOF
49349
49350 fi
49351 done
49352
49353 else
49354
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49356 $as_echo_n "checking for _fabsf declaration... " >&6; }
49357 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49358 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49359 $as_echo_n "(cached) " >&6
49360 else
49361
49362
49363 ac_ext=cpp
49364 ac_cpp='$CXXCPP $CPPFLAGS'
49365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49368
49369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49370 /* end confdefs.h. */
49371 #include <math.h>
49372 #ifdef HAVE_IEEEFP_H
49373 #include <ieeefp.h>
49374 #endif
49375
49376 int
49377 main ()
49378 {
49379 _fabsf(0);
49380 ;
49381 return 0;
49382 }
49383 _ACEOF
49384 if ac_fn_cxx_try_compile "$LINENO"; then :
49385 glibcxx_cv_func__fabsf_use=yes
49386 else
49387 glibcxx_cv_func__fabsf_use=no
49388 fi
49389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49390 ac_ext=c
49391 ac_cpp='$CPP $CPPFLAGS'
49392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49395
49396
49397 fi
49398
49399 fi
49400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49401 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49402
49403 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49404 for ac_func in _fabsf
49405 do :
49406 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49407 if test "x$ac_cv_func__fabsf" = xyes; then :
49408 cat >>confdefs.h <<_ACEOF
49409 #define HAVE__FABSF 1
49410 _ACEOF
49411
49412 fi
49413 done
49414
49415 fi
49416 fi
49417
49418
49419
49420
49421
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49423 $as_echo_n "checking for fmodf declaration... " >&6; }
49424 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49425 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49426 $as_echo_n "(cached) " >&6
49427 else
49428
49429
49430 ac_ext=cpp
49431 ac_cpp='$CXXCPP $CPPFLAGS'
49432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49435
49436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49437 /* end confdefs.h. */
49438 #include <math.h>
49439 int
49440 main ()
49441 {
49442 fmodf(0, 0);
49443 ;
49444 return 0;
49445 }
49446 _ACEOF
49447 if ac_fn_cxx_try_compile "$LINENO"; then :
49448 glibcxx_cv_func_fmodf_use=yes
49449 else
49450 glibcxx_cv_func_fmodf_use=no
49451 fi
49452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49453 ac_ext=c
49454 ac_cpp='$CPP $CPPFLAGS'
49455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49458
49459
49460 fi
49461
49462 fi
49463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49464 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49465
49466 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49467 for ac_func in fmodf
49468 do :
49469 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49470 if test "x$ac_cv_func_fmodf" = xyes; then :
49471 cat >>confdefs.h <<_ACEOF
49472 #define HAVE_FMODF 1
49473 _ACEOF
49474
49475 fi
49476 done
49477
49478 else
49479
49480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49481 $as_echo_n "checking for _fmodf declaration... " >&6; }
49482 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49483 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49484 $as_echo_n "(cached) " >&6
49485 else
49486
49487
49488 ac_ext=cpp
49489 ac_cpp='$CXXCPP $CPPFLAGS'
49490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49493
49494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49495 /* end confdefs.h. */
49496 #include <math.h>
49497 int
49498 main ()
49499 {
49500 _fmodf(0, 0);
49501 ;
49502 return 0;
49503 }
49504 _ACEOF
49505 if ac_fn_cxx_try_compile "$LINENO"; then :
49506 glibcxx_cv_func__fmodf_use=yes
49507 else
49508 glibcxx_cv_func__fmodf_use=no
49509 fi
49510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49511 ac_ext=c
49512 ac_cpp='$CPP $CPPFLAGS'
49513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49516
49517
49518 fi
49519
49520 fi
49521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49522 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49523
49524 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49525 for ac_func in _fmodf
49526 do :
49527 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49528 if test "x$ac_cv_func__fmodf" = xyes; then :
49529 cat >>confdefs.h <<_ACEOF
49530 #define HAVE__FMODF 1
49531 _ACEOF
49532
49533 fi
49534 done
49535
49536 fi
49537 fi
49538
49539
49540
49541
49542
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49544 $as_echo_n "checking for frexpf declaration... " >&6; }
49545 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49546 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49547 $as_echo_n "(cached) " >&6
49548 else
49549
49550
49551 ac_ext=cpp
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49556
49557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49558 /* end confdefs.h. */
49559 #include <math.h>
49560 int
49561 main ()
49562 {
49563 frexpf(0, 0);
49564 ;
49565 return 0;
49566 }
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func_frexpf_use=yes
49570 else
49571 glibcxx_cv_func_frexpf_use=no
49572 fi
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49579
49580
49581 fi
49582
49583 fi
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49585 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49586
49587 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49588 for ac_func in frexpf
49589 do :
49590 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49591 if test "x$ac_cv_func_frexpf" = xyes; then :
49592 cat >>confdefs.h <<_ACEOF
49593 #define HAVE_FREXPF 1
49594 _ACEOF
49595
49596 fi
49597 done
49598
49599 else
49600
49601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49602 $as_echo_n "checking for _frexpf declaration... " >&6; }
49603 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49604 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49605 $as_echo_n "(cached) " >&6
49606 else
49607
49608
49609 ac_ext=cpp
49610 ac_cpp='$CXXCPP $CPPFLAGS'
49611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614
49615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49616 /* end confdefs.h. */
49617 #include <math.h>
49618 int
49619 main ()
49620 {
49621 _frexpf(0, 0);
49622 ;
49623 return 0;
49624 }
49625 _ACEOF
49626 if ac_fn_cxx_try_compile "$LINENO"; then :
49627 glibcxx_cv_func__frexpf_use=yes
49628 else
49629 glibcxx_cv_func__frexpf_use=no
49630 fi
49631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49632 ac_ext=c
49633 ac_cpp='$CPP $CPPFLAGS'
49634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49637
49638
49639 fi
49640
49641 fi
49642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49643 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49644
49645 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49646 for ac_func in _frexpf
49647 do :
49648 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49649 if test "x$ac_cv_func__frexpf" = xyes; then :
49650 cat >>confdefs.h <<_ACEOF
49651 #define HAVE__FREXPF 1
49652 _ACEOF
49653
49654 fi
49655 done
49656
49657 fi
49658 fi
49659
49660
49661
49662
49663
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49665 $as_echo_n "checking for hypotf declaration... " >&6; }
49666 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49667 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49670
49671
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49677
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49681 int
49682 main ()
49683 {
49684 hypotf(0, 0);
49685 ;
49686 return 0;
49687 }
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690 glibcxx_cv_func_hypotf_use=yes
49691 else
49692 glibcxx_cv_func_hypotf_use=no
49693 fi
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49700
49701
49702 fi
49703
49704 fi
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49706 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49707
49708 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49709 for ac_func in hypotf
49710 do :
49711 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49712 if test "x$ac_cv_func_hypotf" = xyes; then :
49713 cat >>confdefs.h <<_ACEOF
49714 #define HAVE_HYPOTF 1
49715 _ACEOF
49716
49717 fi
49718 done
49719
49720 else
49721
49722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49723 $as_echo_n "checking for _hypotf declaration... " >&6; }
49724 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49725 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49726 $as_echo_n "(cached) " >&6
49727 else
49728
49729
49730 ac_ext=cpp
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49735
49736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49737 /* end confdefs.h. */
49738 #include <math.h>
49739 int
49740 main ()
49741 {
49742 _hypotf(0, 0);
49743 ;
49744 return 0;
49745 }
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func__hypotf_use=yes
49749 else
49750 glibcxx_cv_func__hypotf_use=no
49751 fi
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49753 ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49758
49759
49760 fi
49761
49762 fi
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49764 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49765
49766 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49767 for ac_func in _hypotf
49768 do :
49769 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49770 if test "x$ac_cv_func__hypotf" = xyes; then :
49771 cat >>confdefs.h <<_ACEOF
49772 #define HAVE__HYPOTF 1
49773 _ACEOF
49774
49775 fi
49776 done
49777
49778 fi
49779 fi
49780
49781
49782
49783
49784
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49786 $as_echo_n "checking for ldexpf declaration... " >&6; }
49787 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49788 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49789 $as_echo_n "(cached) " >&6
49790 else
49791
49792
49793 ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49798
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49801 #include <math.h>
49802 int
49803 main ()
49804 {
49805 ldexpf(0, 0);
49806 ;
49807 return 0;
49808 }
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811 glibcxx_cv_func_ldexpf_use=yes
49812 else
49813 glibcxx_cv_func_ldexpf_use=no
49814 fi
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816 ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49821
49822
49823 fi
49824
49825 fi
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49827 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49828
49829 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49830 for ac_func in ldexpf
49831 do :
49832 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49833 if test "x$ac_cv_func_ldexpf" = xyes; then :
49834 cat >>confdefs.h <<_ACEOF
49835 #define HAVE_LDEXPF 1
49836 _ACEOF
49837
49838 fi
49839 done
49840
49841 else
49842
49843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49844 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49845 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49846 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49847 $as_echo_n "(cached) " >&6
49848 else
49849
49850
49851 ac_ext=cpp
49852 ac_cpp='$CXXCPP $CPPFLAGS'
49853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49856
49857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49858 /* end confdefs.h. */
49859 #include <math.h>
49860 int
49861 main ()
49862 {
49863 _ldexpf(0, 0);
49864 ;
49865 return 0;
49866 }
49867 _ACEOF
49868 if ac_fn_cxx_try_compile "$LINENO"; then :
49869 glibcxx_cv_func__ldexpf_use=yes
49870 else
49871 glibcxx_cv_func__ldexpf_use=no
49872 fi
49873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49874 ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49879
49880
49881 fi
49882
49883 fi
49884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49885 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49886
49887 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49888 for ac_func in _ldexpf
49889 do :
49890 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49891 if test "x$ac_cv_func__ldexpf" = xyes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define HAVE__LDEXPF 1
49894 _ACEOF
49895
49896 fi
49897 done
49898
49899 fi
49900 fi
49901
49902
49903
49904
49905
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49907 $as_echo_n "checking for logf declaration... " >&6; }
49908 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49909 if ${glibcxx_cv_func_logf_use+:} false; then :
49910 $as_echo_n "(cached) " >&6
49911 else
49912
49913
49914 ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 #include <math.h>
49923 #ifdef HAVE_IEEEFP_H
49924 #include <ieeefp.h>
49925 #endif
49926
49927 int
49928 main ()
49929 {
49930 logf(0);
49931 ;
49932 return 0;
49933 }
49934 _ACEOF
49935 if ac_fn_cxx_try_compile "$LINENO"; then :
49936 glibcxx_cv_func_logf_use=yes
49937 else
49938 glibcxx_cv_func_logf_use=no
49939 fi
49940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49941 ac_ext=c
49942 ac_cpp='$CPP $CPPFLAGS'
49943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49946
49947
49948 fi
49949
49950 fi
49951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49952 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49953
49954 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49955 for ac_func in logf
49956 do :
49957 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49958 if test "x$ac_cv_func_logf" = xyes; then :
49959 cat >>confdefs.h <<_ACEOF
49960 #define HAVE_LOGF 1
49961 _ACEOF
49962
49963 fi
49964 done
49965
49966 else
49967
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49969 $as_echo_n "checking for _logf declaration... " >&6; }
49970 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49971 if ${glibcxx_cv_func__logf_use+:} false; then :
49972 $as_echo_n "(cached) " >&6
49973 else
49974
49975
49976 ac_ext=cpp
49977 ac_cpp='$CXXCPP $CPPFLAGS'
49978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49981
49982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49983 /* end confdefs.h. */
49984 #include <math.h>
49985 #ifdef HAVE_IEEEFP_H
49986 #include <ieeefp.h>
49987 #endif
49988
49989 int
49990 main ()
49991 {
49992 _logf(0);
49993 ;
49994 return 0;
49995 }
49996 _ACEOF
49997 if ac_fn_cxx_try_compile "$LINENO"; then :
49998 glibcxx_cv_func__logf_use=yes
49999 else
50000 glibcxx_cv_func__logf_use=no
50001 fi
50002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50003 ac_ext=c
50004 ac_cpp='$CPP $CPPFLAGS'
50005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50008
50009
50010 fi
50011
50012 fi
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50014 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50015
50016 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50017 for ac_func in _logf
50018 do :
50019 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50020 if test "x$ac_cv_func__logf" = xyes; then :
50021 cat >>confdefs.h <<_ACEOF
50022 #define HAVE__LOGF 1
50023 _ACEOF
50024
50025 fi
50026 done
50027
50028 fi
50029 fi
50030
50031
50032
50033
50034
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50036 $as_echo_n "checking for log10f declaration... " >&6; }
50037 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50038 if ${glibcxx_cv_func_log10f_use+:} false; then :
50039 $as_echo_n "(cached) " >&6
50040 else
50041
50042
50043 ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048
50049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h. */
50051 #include <math.h>
50052 #ifdef HAVE_IEEEFP_H
50053 #include <ieeefp.h>
50054 #endif
50055
50056 int
50057 main ()
50058 {
50059 log10f(0);
50060 ;
50061 return 0;
50062 }
50063 _ACEOF
50064 if ac_fn_cxx_try_compile "$LINENO"; then :
50065 glibcxx_cv_func_log10f_use=yes
50066 else
50067 glibcxx_cv_func_log10f_use=no
50068 fi
50069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50070 ac_ext=c
50071 ac_cpp='$CPP $CPPFLAGS'
50072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50075
50076
50077 fi
50078
50079 fi
50080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50081 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50082
50083 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50084 for ac_func in log10f
50085 do :
50086 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50087 if test "x$ac_cv_func_log10f" = xyes; then :
50088 cat >>confdefs.h <<_ACEOF
50089 #define HAVE_LOG10F 1
50090 _ACEOF
50091
50092 fi
50093 done
50094
50095 else
50096
50097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50098 $as_echo_n "checking for _log10f declaration... " >&6; }
50099 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50100 if ${glibcxx_cv_func__log10f_use+:} false; then :
50101 $as_echo_n "(cached) " >&6
50102 else
50103
50104
50105 ac_ext=cpp
50106 ac_cpp='$CXXCPP $CPPFLAGS'
50107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50110
50111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50112 /* end confdefs.h. */
50113 #include <math.h>
50114 #ifdef HAVE_IEEEFP_H
50115 #include <ieeefp.h>
50116 #endif
50117
50118 int
50119 main ()
50120 {
50121 _log10f(0);
50122 ;
50123 return 0;
50124 }
50125 _ACEOF
50126 if ac_fn_cxx_try_compile "$LINENO"; then :
50127 glibcxx_cv_func__log10f_use=yes
50128 else
50129 glibcxx_cv_func__log10f_use=no
50130 fi
50131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50132 ac_ext=c
50133 ac_cpp='$CPP $CPPFLAGS'
50134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50137
50138
50139 fi
50140
50141 fi
50142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50143 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50144
50145 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50146 for ac_func in _log10f
50147 do :
50148 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50149 if test "x$ac_cv_func__log10f" = xyes; then :
50150 cat >>confdefs.h <<_ACEOF
50151 #define HAVE__LOG10F 1
50152 _ACEOF
50153
50154 fi
50155 done
50156
50157 fi
50158 fi
50159
50160
50161
50162
50163
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50165 $as_echo_n "checking for modff declaration... " >&6; }
50166 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50167 if ${glibcxx_cv_func_modff_use+:} false; then :
50168 $as_echo_n "(cached) " >&6
50169 else
50170
50171
50172 ac_ext=cpp
50173 ac_cpp='$CXXCPP $CPPFLAGS'
50174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50177
50178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50179 /* end confdefs.h. */
50180 #include <math.h>
50181 int
50182 main ()
50183 {
50184 modff(0, 0);
50185 ;
50186 return 0;
50187 }
50188 _ACEOF
50189 if ac_fn_cxx_try_compile "$LINENO"; then :
50190 glibcxx_cv_func_modff_use=yes
50191 else
50192 glibcxx_cv_func_modff_use=no
50193 fi
50194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50195 ac_ext=c
50196 ac_cpp='$CPP $CPPFLAGS'
50197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50200
50201
50202 fi
50203
50204 fi
50205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50206 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50207
50208 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50209 for ac_func in modff
50210 do :
50211 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50212 if test "x$ac_cv_func_modff" = xyes; then :
50213 cat >>confdefs.h <<_ACEOF
50214 #define HAVE_MODFF 1
50215 _ACEOF
50216
50217 fi
50218 done
50219
50220 else
50221
50222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50223 $as_echo_n "checking for _modff declaration... " >&6; }
50224 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50225 if ${glibcxx_cv_func__modff_use+:} false; then :
50226 $as_echo_n "(cached) " >&6
50227 else
50228
50229
50230 ac_ext=cpp
50231 ac_cpp='$CXXCPP $CPPFLAGS'
50232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50235
50236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50237 /* end confdefs.h. */
50238 #include <math.h>
50239 int
50240 main ()
50241 {
50242 _modff(0, 0);
50243 ;
50244 return 0;
50245 }
50246 _ACEOF
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248 glibcxx_cv_func__modff_use=yes
50249 else
50250 glibcxx_cv_func__modff_use=no
50251 fi
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50253 ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50258
50259
50260 fi
50261
50262 fi
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50264 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50265
50266 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50267 for ac_func in _modff
50268 do :
50269 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50270 if test "x$ac_cv_func__modff" = xyes; then :
50271 cat >>confdefs.h <<_ACEOF
50272 #define HAVE__MODFF 1
50273 _ACEOF
50274
50275 fi
50276 done
50277
50278 fi
50279 fi
50280
50281
50282
50283
50284
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50286 $as_echo_n "checking for modf declaration... " >&6; }
50287 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50288 if ${glibcxx_cv_func_modf_use+:} false; then :
50289 $as_echo_n "(cached) " >&6
50290 else
50291
50292
50293 ac_ext=cpp
50294 ac_cpp='$CXXCPP $CPPFLAGS'
50295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50298
50299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50300 /* end confdefs.h. */
50301 #include <math.h>
50302 int
50303 main ()
50304 {
50305 modf(0, 0);
50306 ;
50307 return 0;
50308 }
50309 _ACEOF
50310 if ac_fn_cxx_try_compile "$LINENO"; then :
50311 glibcxx_cv_func_modf_use=yes
50312 else
50313 glibcxx_cv_func_modf_use=no
50314 fi
50315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50316 ac_ext=c
50317 ac_cpp='$CPP $CPPFLAGS'
50318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50321
50322
50323 fi
50324
50325 fi
50326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50327 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50328
50329 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50330 for ac_func in modf
50331 do :
50332 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50333 if test "x$ac_cv_func_modf" = xyes; then :
50334 cat >>confdefs.h <<_ACEOF
50335 #define HAVE_MODF 1
50336 _ACEOF
50337
50338 fi
50339 done
50340
50341 else
50342
50343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50344 $as_echo_n "checking for _modf declaration... " >&6; }
50345 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50346 if ${glibcxx_cv_func__modf_use+:} false; then :
50347 $as_echo_n "(cached) " >&6
50348 else
50349
50350
50351 ac_ext=cpp
50352 ac_cpp='$CXXCPP $CPPFLAGS'
50353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50356
50357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50358 /* end confdefs.h. */
50359 #include <math.h>
50360 int
50361 main ()
50362 {
50363 _modf(0, 0);
50364 ;
50365 return 0;
50366 }
50367 _ACEOF
50368 if ac_fn_cxx_try_compile "$LINENO"; then :
50369 glibcxx_cv_func__modf_use=yes
50370 else
50371 glibcxx_cv_func__modf_use=no
50372 fi
50373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50374 ac_ext=c
50375 ac_cpp='$CPP $CPPFLAGS'
50376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50379
50380
50381 fi
50382
50383 fi
50384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50385 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50386
50387 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50388 for ac_func in _modf
50389 do :
50390 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50391 if test "x$ac_cv_func__modf" = xyes; then :
50392 cat >>confdefs.h <<_ACEOF
50393 #define HAVE__MODF 1
50394 _ACEOF
50395
50396 fi
50397 done
50398
50399 fi
50400 fi
50401
50402
50403
50404
50405
50406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50407 $as_echo_n "checking for powf declaration... " >&6; }
50408 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50409 if ${glibcxx_cv_func_powf_use+:} false; then :
50410 $as_echo_n "(cached) " >&6
50411 else
50412
50413
50414 ac_ext=cpp
50415 ac_cpp='$CXXCPP $CPPFLAGS'
50416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50419
50420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50421 /* end confdefs.h. */
50422 #include <math.h>
50423 int
50424 main ()
50425 {
50426 powf(0, 0);
50427 ;
50428 return 0;
50429 }
50430 _ACEOF
50431 if ac_fn_cxx_try_compile "$LINENO"; then :
50432 glibcxx_cv_func_powf_use=yes
50433 else
50434 glibcxx_cv_func_powf_use=no
50435 fi
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50437 ac_ext=c
50438 ac_cpp='$CPP $CPPFLAGS'
50439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50442
50443
50444 fi
50445
50446 fi
50447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50448 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50449
50450 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50451 for ac_func in powf
50452 do :
50453 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50454 if test "x$ac_cv_func_powf" = xyes; then :
50455 cat >>confdefs.h <<_ACEOF
50456 #define HAVE_POWF 1
50457 _ACEOF
50458
50459 fi
50460 done
50461
50462 else
50463
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50465 $as_echo_n "checking for _powf declaration... " >&6; }
50466 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50467 if ${glibcxx_cv_func__powf_use+:} false; then :
50468 $as_echo_n "(cached) " >&6
50469 else
50470
50471
50472 ac_ext=cpp
50473 ac_cpp='$CXXCPP $CPPFLAGS'
50474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50477
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h. */
50480 #include <math.h>
50481 int
50482 main ()
50483 {
50484 _powf(0, 0);
50485 ;
50486 return 0;
50487 }
50488 _ACEOF
50489 if ac_fn_cxx_try_compile "$LINENO"; then :
50490 glibcxx_cv_func__powf_use=yes
50491 else
50492 glibcxx_cv_func__powf_use=no
50493 fi
50494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50495 ac_ext=c
50496 ac_cpp='$CPP $CPPFLAGS'
50497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50500
50501
50502 fi
50503
50504 fi
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50506 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50507
50508 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50509 for ac_func in _powf
50510 do :
50511 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50512 if test "x$ac_cv_func__powf" = xyes; then :
50513 cat >>confdefs.h <<_ACEOF
50514 #define HAVE__POWF 1
50515 _ACEOF
50516
50517 fi
50518 done
50519
50520 fi
50521 fi
50522
50523
50524
50525
50526
50527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50528 $as_echo_n "checking for sqrtf declaration... " >&6; }
50529 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50530 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50531 $as_echo_n "(cached) " >&6
50532 else
50533
50534
50535 ac_ext=cpp
50536 ac_cpp='$CXXCPP $CPPFLAGS'
50537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50540
50541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50542 /* end confdefs.h. */
50543 #include <math.h>
50544 #ifdef HAVE_IEEEFP_H
50545 #include <ieeefp.h>
50546 #endif
50547
50548 int
50549 main ()
50550 {
50551 sqrtf(0);
50552 ;
50553 return 0;
50554 }
50555 _ACEOF
50556 if ac_fn_cxx_try_compile "$LINENO"; then :
50557 glibcxx_cv_func_sqrtf_use=yes
50558 else
50559 glibcxx_cv_func_sqrtf_use=no
50560 fi
50561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50562 ac_ext=c
50563 ac_cpp='$CPP $CPPFLAGS'
50564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50567
50568
50569 fi
50570
50571 fi
50572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50573 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50574
50575 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50576 for ac_func in sqrtf
50577 do :
50578 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50579 if test "x$ac_cv_func_sqrtf" = xyes; then :
50580 cat >>confdefs.h <<_ACEOF
50581 #define HAVE_SQRTF 1
50582 _ACEOF
50583
50584 fi
50585 done
50586
50587 else
50588
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50590 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50591 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50592 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50593 $as_echo_n "(cached) " >&6
50594 else
50595
50596
50597 ac_ext=cpp
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50602
50603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h. */
50605 #include <math.h>
50606 #ifdef HAVE_IEEEFP_H
50607 #include <ieeefp.h>
50608 #endif
50609
50610 int
50611 main ()
50612 {
50613 _sqrtf(0);
50614 ;
50615 return 0;
50616 }
50617 _ACEOF
50618 if ac_fn_cxx_try_compile "$LINENO"; then :
50619 glibcxx_cv_func__sqrtf_use=yes
50620 else
50621 glibcxx_cv_func__sqrtf_use=no
50622 fi
50623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50624 ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50629
50630
50631 fi
50632
50633 fi
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50635 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50636
50637 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50638 for ac_func in _sqrtf
50639 do :
50640 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50641 if test "x$ac_cv_func__sqrtf" = xyes; then :
50642 cat >>confdefs.h <<_ACEOF
50643 #define HAVE__SQRTF 1
50644 _ACEOF
50645
50646 fi
50647 done
50648
50649 fi
50650 fi
50651
50652
50653
50654
50655
50656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50657 $as_echo_n "checking for sincosf declaration... " >&6; }
50658 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50659 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50660 $as_echo_n "(cached) " >&6
50661 else
50662
50663
50664 ac_ext=cpp
50665 ac_cpp='$CXXCPP $CPPFLAGS'
50666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50669
50670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50671 /* end confdefs.h. */
50672 #include <math.h>
50673 int
50674 main ()
50675 {
50676 sincosf(0, 0, 0);
50677 ;
50678 return 0;
50679 }
50680 _ACEOF
50681 if ac_fn_cxx_try_compile "$LINENO"; then :
50682 glibcxx_cv_func_sincosf_use=yes
50683 else
50684 glibcxx_cv_func_sincosf_use=no
50685 fi
50686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50687 ac_ext=c
50688 ac_cpp='$CPP $CPPFLAGS'
50689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50692
50693
50694 fi
50695
50696 fi
50697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50698 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50699
50700 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50701 for ac_func in sincosf
50702 do :
50703 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50704 if test "x$ac_cv_func_sincosf" = xyes; then :
50705 cat >>confdefs.h <<_ACEOF
50706 #define HAVE_SINCOSF 1
50707 _ACEOF
50708
50709 fi
50710 done
50711
50712 else
50713
50714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50715 $as_echo_n "checking for _sincosf declaration... " >&6; }
50716 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50717 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50718 $as_echo_n "(cached) " >&6
50719 else
50720
50721
50722 ac_ext=cpp
50723 ac_cpp='$CXXCPP $CPPFLAGS'
50724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50727
50728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50729 /* end confdefs.h. */
50730 #include <math.h>
50731 int
50732 main ()
50733 {
50734 _sincosf(0, 0, 0);
50735 ;
50736 return 0;
50737 }
50738 _ACEOF
50739 if ac_fn_cxx_try_compile "$LINENO"; then :
50740 glibcxx_cv_func__sincosf_use=yes
50741 else
50742 glibcxx_cv_func__sincosf_use=no
50743 fi
50744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50745 ac_ext=c
50746 ac_cpp='$CPP $CPPFLAGS'
50747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50750
50751
50752 fi
50753
50754 fi
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50756 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50757
50758 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50759 for ac_func in _sincosf
50760 do :
50761 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50762 if test "x$ac_cv_func__sincosf" = xyes; then :
50763 cat >>confdefs.h <<_ACEOF
50764 #define HAVE__SINCOSF 1
50765 _ACEOF
50766
50767 fi
50768 done
50769
50770 fi
50771 fi
50772
50773
50774
50775
50776
50777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50778 $as_echo_n "checking for finitef declaration... " >&6; }
50779 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50780 if ${glibcxx_cv_func_finitef_use+:} false; then :
50781 $as_echo_n "(cached) " >&6
50782 else
50783
50784
50785 ac_ext=cpp
50786 ac_cpp='$CXXCPP $CPPFLAGS'
50787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50790
50791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50792 /* end confdefs.h. */
50793 #include <math.h>
50794 #ifdef HAVE_IEEEFP_H
50795 #include <ieeefp.h>
50796 #endif
50797
50798 int
50799 main ()
50800 {
50801 finitef(0);
50802 ;
50803 return 0;
50804 }
50805 _ACEOF
50806 if ac_fn_cxx_try_compile "$LINENO"; then :
50807 glibcxx_cv_func_finitef_use=yes
50808 else
50809 glibcxx_cv_func_finitef_use=no
50810 fi
50811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50812 ac_ext=c
50813 ac_cpp='$CPP $CPPFLAGS'
50814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50817
50818
50819 fi
50820
50821 fi
50822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50823 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50824
50825 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50826 for ac_func in finitef
50827 do :
50828 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50829 if test "x$ac_cv_func_finitef" = xyes; then :
50830 cat >>confdefs.h <<_ACEOF
50831 #define HAVE_FINITEF 1
50832 _ACEOF
50833
50834 fi
50835 done
50836
50837 else
50838
50839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50840 $as_echo_n "checking for _finitef declaration... " >&6; }
50841 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50842 if ${glibcxx_cv_func__finitef_use+:} false; then :
50843 $as_echo_n "(cached) " >&6
50844 else
50845
50846
50847 ac_ext=cpp
50848 ac_cpp='$CXXCPP $CPPFLAGS'
50849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50852
50853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50854 /* end confdefs.h. */
50855 #include <math.h>
50856 #ifdef HAVE_IEEEFP_H
50857 #include <ieeefp.h>
50858 #endif
50859
50860 int
50861 main ()
50862 {
50863 _finitef(0);
50864 ;
50865 return 0;
50866 }
50867 _ACEOF
50868 if ac_fn_cxx_try_compile "$LINENO"; then :
50869 glibcxx_cv_func__finitef_use=yes
50870 else
50871 glibcxx_cv_func__finitef_use=no
50872 fi
50873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50874 ac_ext=c
50875 ac_cpp='$CPP $CPPFLAGS'
50876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50879
50880
50881 fi
50882
50883 fi
50884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50885 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50886
50887 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50888 for ac_func in _finitef
50889 do :
50890 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50891 if test "x$ac_cv_func__finitef" = xyes; then :
50892 cat >>confdefs.h <<_ACEOF
50893 #define HAVE__FINITEF 1
50894 _ACEOF
50895
50896 fi
50897 done
50898
50899 fi
50900 fi
50901
50902
50903
50904
50905
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50907 $as_echo_n "checking for long double trig functions... " >&6; }
50908 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50909 $as_echo_n "(cached) " >&6
50910 else
50911
50912
50913 ac_ext=cpp
50914 ac_cpp='$CXXCPP $CPPFLAGS'
50915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50918
50919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50920 /* end confdefs.h. */
50921 #include <math.h>
50922 int
50923 main ()
50924 {
50925 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50926 ;
50927 return 0;
50928 }
50929 _ACEOF
50930 if ac_fn_cxx_try_compile "$LINENO"; then :
50931 glibcxx_cv_func_long_double_trig_use=yes
50932 else
50933 glibcxx_cv_func_long_double_trig_use=no
50934 fi
50935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50936 ac_ext=c
50937 ac_cpp='$CPP $CPPFLAGS'
50938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50941
50942 fi
50943
50944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50945 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50946 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50947 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50948 do :
50949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50951 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50952 cat >>confdefs.h <<_ACEOF
50953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50954 _ACEOF
50955
50956 fi
50957 done
50958
50959 else
50960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50961 $as_echo_n "checking for _long double trig functions... " >&6; }
50962 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50963 $as_echo_n "(cached) " >&6
50964 else
50965
50966
50967 ac_ext=cpp
50968 ac_cpp='$CXXCPP $CPPFLAGS'
50969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50972
50973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50974 /* end confdefs.h. */
50975 #include <math.h>
50976 int
50977 main ()
50978 {
50979 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50980 ;
50981 return 0;
50982 }
50983 _ACEOF
50984 if ac_fn_cxx_try_compile "$LINENO"; then :
50985 glibcxx_cv_func__long_double_trig_use=yes
50986 else
50987 glibcxx_cv_func__long_double_trig_use=no
50988 fi
50989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50990 ac_ext=c
50991 ac_cpp='$CPP $CPPFLAGS'
50992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50995
50996 fi
50997
50998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50999 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51000 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51001 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51002 do :
51003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51005 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51006 cat >>confdefs.h <<_ACEOF
51007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51008 _ACEOF
51009
51010 fi
51011 done
51012
51013 fi
51014 fi
51015
51016
51017
51018
51019
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51021 $as_echo_n "checking for long double round functions... " >&6; }
51022 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51023 $as_echo_n "(cached) " >&6
51024 else
51025
51026
51027 ac_ext=cpp
51028 ac_cpp='$CXXCPP $CPPFLAGS'
51029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51032
51033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51034 /* end confdefs.h. */
51035 #include <math.h>
51036 int
51037 main ()
51038 {
51039 ceill (0); floorl (0);
51040 ;
51041 return 0;
51042 }
51043 _ACEOF
51044 if ac_fn_cxx_try_compile "$LINENO"; then :
51045 glibcxx_cv_func_long_double_round_use=yes
51046 else
51047 glibcxx_cv_func_long_double_round_use=no
51048 fi
51049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51050 ac_ext=c
51051 ac_cpp='$CPP $CPPFLAGS'
51052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51055
51056 fi
51057
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51059 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51060 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51061 for ac_func in ceill floorl
51062 do :
51063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51066 cat >>confdefs.h <<_ACEOF
51067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51068 _ACEOF
51069
51070 fi
51071 done
51072
51073 else
51074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51075 $as_echo_n "checking for _long double round functions... " >&6; }
51076 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51077 $as_echo_n "(cached) " >&6
51078 else
51079
51080
51081 ac_ext=cpp
51082 ac_cpp='$CXXCPP $CPPFLAGS'
51083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51086
51087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51088 /* end confdefs.h. */
51089 #include <math.h>
51090 int
51091 main ()
51092 {
51093 _ceill (0); _floorl (0);
51094 ;
51095 return 0;
51096 }
51097 _ACEOF
51098 if ac_fn_cxx_try_compile "$LINENO"; then :
51099 glibcxx_cv_func__long_double_round_use=yes
51100 else
51101 glibcxx_cv_func__long_double_round_use=no
51102 fi
51103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51104 ac_ext=c
51105 ac_cpp='$CPP $CPPFLAGS'
51106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51109
51110 fi
51111
51112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51113 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51114 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51115 for ac_func in _ceill _floorl
51116 do :
51117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51119 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51120 cat >>confdefs.h <<_ACEOF
51121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51122 _ACEOF
51123
51124 fi
51125 done
51126
51127 fi
51128 fi
51129
51130
51131
51132
51133
51134
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51136 $as_echo_n "checking for isnanl declaration... " >&6; }
51137 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51138 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51139 $as_echo_n "(cached) " >&6
51140 else
51141
51142
51143 ac_ext=cpp
51144 ac_cpp='$CXXCPP $CPPFLAGS'
51145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148
51149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51150 /* end confdefs.h. */
51151 #include <math.h>
51152 #ifdef HAVE_IEEEFP_H
51153 #include <ieeefp.h>
51154 #endif
51155
51156 int
51157 main ()
51158 {
51159 isnanl(0);
51160 ;
51161 return 0;
51162 }
51163 _ACEOF
51164 if ac_fn_cxx_try_compile "$LINENO"; then :
51165 glibcxx_cv_func_isnanl_use=yes
51166 else
51167 glibcxx_cv_func_isnanl_use=no
51168 fi
51169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51170 ac_ext=c
51171 ac_cpp='$CPP $CPPFLAGS'
51172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51175
51176
51177 fi
51178
51179 fi
51180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51181 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51182
51183 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51184 for ac_func in isnanl
51185 do :
51186 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51187 if test "x$ac_cv_func_isnanl" = xyes; then :
51188 cat >>confdefs.h <<_ACEOF
51189 #define HAVE_ISNANL 1
51190 _ACEOF
51191
51192 fi
51193 done
51194
51195 else
51196
51197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51198 $as_echo_n "checking for _isnanl declaration... " >&6; }
51199 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51200 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51201 $as_echo_n "(cached) " >&6
51202 else
51203
51204
51205 ac_ext=cpp
51206 ac_cpp='$CXXCPP $CPPFLAGS'
51207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51210
51211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51212 /* end confdefs.h. */
51213 #include <math.h>
51214 #ifdef HAVE_IEEEFP_H
51215 #include <ieeefp.h>
51216 #endif
51217
51218 int
51219 main ()
51220 {
51221 _isnanl(0);
51222 ;
51223 return 0;
51224 }
51225 _ACEOF
51226 if ac_fn_cxx_try_compile "$LINENO"; then :
51227 glibcxx_cv_func__isnanl_use=yes
51228 else
51229 glibcxx_cv_func__isnanl_use=no
51230 fi
51231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51232 ac_ext=c
51233 ac_cpp='$CPP $CPPFLAGS'
51234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51237
51238
51239 fi
51240
51241 fi
51242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51243 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51244
51245 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51246 for ac_func in _isnanl
51247 do :
51248 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51249 if test "x$ac_cv_func__isnanl" = xyes; then :
51250 cat >>confdefs.h <<_ACEOF
51251 #define HAVE__ISNANL 1
51252 _ACEOF
51253
51254 fi
51255 done
51256
51257 fi
51258 fi
51259
51260
51261
51262
51263
51264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51265 $as_echo_n "checking for isinfl declaration... " >&6; }
51266 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51267 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51268 $as_echo_n "(cached) " >&6
51269 else
51270
51271
51272 ac_ext=cpp
51273 ac_cpp='$CXXCPP $CPPFLAGS'
51274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51277
51278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51279 /* end confdefs.h. */
51280 #include <math.h>
51281 #ifdef HAVE_IEEEFP_H
51282 #include <ieeefp.h>
51283 #endif
51284
51285 int
51286 main ()
51287 {
51288 isinfl(0);
51289 ;
51290 return 0;
51291 }
51292 _ACEOF
51293 if ac_fn_cxx_try_compile "$LINENO"; then :
51294 glibcxx_cv_func_isinfl_use=yes
51295 else
51296 glibcxx_cv_func_isinfl_use=no
51297 fi
51298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51299 ac_ext=c
51300 ac_cpp='$CPP $CPPFLAGS'
51301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51304
51305
51306 fi
51307
51308 fi
51309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51310 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51311
51312 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51313 for ac_func in isinfl
51314 do :
51315 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51316 if test "x$ac_cv_func_isinfl" = xyes; then :
51317 cat >>confdefs.h <<_ACEOF
51318 #define HAVE_ISINFL 1
51319 _ACEOF
51320
51321 fi
51322 done
51323
51324 else
51325
51326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51327 $as_echo_n "checking for _isinfl declaration... " >&6; }
51328 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51329 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51330 $as_echo_n "(cached) " >&6
51331 else
51332
51333
51334 ac_ext=cpp
51335 ac_cpp='$CXXCPP $CPPFLAGS'
51336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51339
51340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51341 /* end confdefs.h. */
51342 #include <math.h>
51343 #ifdef HAVE_IEEEFP_H
51344 #include <ieeefp.h>
51345 #endif
51346
51347 int
51348 main ()
51349 {
51350 _isinfl(0);
51351 ;
51352 return 0;
51353 }
51354 _ACEOF
51355 if ac_fn_cxx_try_compile "$LINENO"; then :
51356 glibcxx_cv_func__isinfl_use=yes
51357 else
51358 glibcxx_cv_func__isinfl_use=no
51359 fi
51360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51361 ac_ext=c
51362 ac_cpp='$CPP $CPPFLAGS'
51363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51366
51367
51368 fi
51369
51370 fi
51371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51372 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51373
51374 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51375 for ac_func in _isinfl
51376 do :
51377 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51378 if test "x$ac_cv_func__isinfl" = xyes; then :
51379 cat >>confdefs.h <<_ACEOF
51380 #define HAVE__ISINFL 1
51381 _ACEOF
51382
51383 fi
51384 done
51385
51386 fi
51387 fi
51388
51389
51390
51391
51392
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51394 $as_echo_n "checking for atan2l declaration... " >&6; }
51395 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51396 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51397 $as_echo_n "(cached) " >&6
51398 else
51399
51400
51401 ac_ext=cpp
51402 ac_cpp='$CXXCPP $CPPFLAGS'
51403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406
51407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51408 /* end confdefs.h. */
51409 #include <math.h>
51410 int
51411 main ()
51412 {
51413 atan2l(0, 0);
51414 ;
51415 return 0;
51416 }
51417 _ACEOF
51418 if ac_fn_cxx_try_compile "$LINENO"; then :
51419 glibcxx_cv_func_atan2l_use=yes
51420 else
51421 glibcxx_cv_func_atan2l_use=no
51422 fi
51423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51424 ac_ext=c
51425 ac_cpp='$CPP $CPPFLAGS'
51426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51429
51430
51431 fi
51432
51433 fi
51434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51435 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51436
51437 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51438 for ac_func in atan2l
51439 do :
51440 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51441 if test "x$ac_cv_func_atan2l" = xyes; then :
51442 cat >>confdefs.h <<_ACEOF
51443 #define HAVE_ATAN2L 1
51444 _ACEOF
51445
51446 fi
51447 done
51448
51449 else
51450
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51452 $as_echo_n "checking for _atan2l declaration... " >&6; }
51453 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51454 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51455 $as_echo_n "(cached) " >&6
51456 else
51457
51458
51459 ac_ext=cpp
51460 ac_cpp='$CXXCPP $CPPFLAGS'
51461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51464
51465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51466 /* end confdefs.h. */
51467 #include <math.h>
51468 int
51469 main ()
51470 {
51471 _atan2l(0, 0);
51472 ;
51473 return 0;
51474 }
51475 _ACEOF
51476 if ac_fn_cxx_try_compile "$LINENO"; then :
51477 glibcxx_cv_func__atan2l_use=yes
51478 else
51479 glibcxx_cv_func__atan2l_use=no
51480 fi
51481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51482 ac_ext=c
51483 ac_cpp='$CPP $CPPFLAGS'
51484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51487
51488
51489 fi
51490
51491 fi
51492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51493 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51494
51495 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51496 for ac_func in _atan2l
51497 do :
51498 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51499 if test "x$ac_cv_func__atan2l" = xyes; then :
51500 cat >>confdefs.h <<_ACEOF
51501 #define HAVE__ATAN2L 1
51502 _ACEOF
51503
51504 fi
51505 done
51506
51507 fi
51508 fi
51509
51510
51511
51512
51513
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51515 $as_echo_n "checking for expl declaration... " >&6; }
51516 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51517 if ${glibcxx_cv_func_expl_use+:} false; then :
51518 $as_echo_n "(cached) " >&6
51519 else
51520
51521
51522 ac_ext=cpp
51523 ac_cpp='$CXXCPP $CPPFLAGS'
51524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51527
51528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h. */
51530 #include <math.h>
51531 #ifdef HAVE_IEEEFP_H
51532 #include <ieeefp.h>
51533 #endif
51534
51535 int
51536 main ()
51537 {
51538 expl(0);
51539 ;
51540 return 0;
51541 }
51542 _ACEOF
51543 if ac_fn_cxx_try_compile "$LINENO"; then :
51544 glibcxx_cv_func_expl_use=yes
51545 else
51546 glibcxx_cv_func_expl_use=no
51547 fi
51548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51549 ac_ext=c
51550 ac_cpp='$CPP $CPPFLAGS'
51551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51554
51555
51556 fi
51557
51558 fi
51559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51560 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51561
51562 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51563 for ac_func in expl
51564 do :
51565 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51566 if test "x$ac_cv_func_expl" = xyes; then :
51567 cat >>confdefs.h <<_ACEOF
51568 #define HAVE_EXPL 1
51569 _ACEOF
51570
51571 fi
51572 done
51573
51574 else
51575
51576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51577 $as_echo_n "checking for _expl declaration... " >&6; }
51578 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51579 if ${glibcxx_cv_func__expl_use+:} false; then :
51580 $as_echo_n "(cached) " >&6
51581 else
51582
51583
51584 ac_ext=cpp
51585 ac_cpp='$CXXCPP $CPPFLAGS'
51586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51589
51590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51591 /* end confdefs.h. */
51592 #include <math.h>
51593 #ifdef HAVE_IEEEFP_H
51594 #include <ieeefp.h>
51595 #endif
51596
51597 int
51598 main ()
51599 {
51600 _expl(0);
51601 ;
51602 return 0;
51603 }
51604 _ACEOF
51605 if ac_fn_cxx_try_compile "$LINENO"; then :
51606 glibcxx_cv_func__expl_use=yes
51607 else
51608 glibcxx_cv_func__expl_use=no
51609 fi
51610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51611 ac_ext=c
51612 ac_cpp='$CPP $CPPFLAGS'
51613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51616
51617
51618 fi
51619
51620 fi
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51622 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51623
51624 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51625 for ac_func in _expl
51626 do :
51627 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51628 if test "x$ac_cv_func__expl" = xyes; then :
51629 cat >>confdefs.h <<_ACEOF
51630 #define HAVE__EXPL 1
51631 _ACEOF
51632
51633 fi
51634 done
51635
51636 fi
51637 fi
51638
51639
51640
51641
51642
51643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51644 $as_echo_n "checking for fabsl declaration... " >&6; }
51645 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51646 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51647 $as_echo_n "(cached) " >&6
51648 else
51649
51650
51651 ac_ext=cpp
51652 ac_cpp='$CXXCPP $CPPFLAGS'
51653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656
51657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51658 /* end confdefs.h. */
51659 #include <math.h>
51660 #ifdef HAVE_IEEEFP_H
51661 #include <ieeefp.h>
51662 #endif
51663
51664 int
51665 main ()
51666 {
51667 fabsl(0);
51668 ;
51669 return 0;
51670 }
51671 _ACEOF
51672 if ac_fn_cxx_try_compile "$LINENO"; then :
51673 glibcxx_cv_func_fabsl_use=yes
51674 else
51675 glibcxx_cv_func_fabsl_use=no
51676 fi
51677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51678 ac_ext=c
51679 ac_cpp='$CPP $CPPFLAGS'
51680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51683
51684
51685 fi
51686
51687 fi
51688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51689 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51690
51691 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51692 for ac_func in fabsl
51693 do :
51694 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51695 if test "x$ac_cv_func_fabsl" = xyes; then :
51696 cat >>confdefs.h <<_ACEOF
51697 #define HAVE_FABSL 1
51698 _ACEOF
51699
51700 fi
51701 done
51702
51703 else
51704
51705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51706 $as_echo_n "checking for _fabsl declaration... " >&6; }
51707 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51708 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51709 $as_echo_n "(cached) " >&6
51710 else
51711
51712
51713 ac_ext=cpp
51714 ac_cpp='$CXXCPP $CPPFLAGS'
51715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51718
51719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51720 /* end confdefs.h. */
51721 #include <math.h>
51722 #ifdef HAVE_IEEEFP_H
51723 #include <ieeefp.h>
51724 #endif
51725
51726 int
51727 main ()
51728 {
51729 _fabsl(0);
51730 ;
51731 return 0;
51732 }
51733 _ACEOF
51734 if ac_fn_cxx_try_compile "$LINENO"; then :
51735 glibcxx_cv_func__fabsl_use=yes
51736 else
51737 glibcxx_cv_func__fabsl_use=no
51738 fi
51739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51740 ac_ext=c
51741 ac_cpp='$CPP $CPPFLAGS'
51742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51745
51746
51747 fi
51748
51749 fi
51750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51751 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51752
51753 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51754 for ac_func in _fabsl
51755 do :
51756 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51757 if test "x$ac_cv_func__fabsl" = xyes; then :
51758 cat >>confdefs.h <<_ACEOF
51759 #define HAVE__FABSL 1
51760 _ACEOF
51761
51762 fi
51763 done
51764
51765 fi
51766 fi
51767
51768
51769
51770
51771
51772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51773 $as_echo_n "checking for fmodl declaration... " >&6; }
51774 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51775 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51776 $as_echo_n "(cached) " >&6
51777 else
51778
51779
51780 ac_ext=cpp
51781 ac_cpp='$CXXCPP $CPPFLAGS'
51782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51785
51786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51787 /* end confdefs.h. */
51788 #include <math.h>
51789 int
51790 main ()
51791 {
51792 fmodl(0, 0);
51793 ;
51794 return 0;
51795 }
51796 _ACEOF
51797 if ac_fn_cxx_try_compile "$LINENO"; then :
51798 glibcxx_cv_func_fmodl_use=yes
51799 else
51800 glibcxx_cv_func_fmodl_use=no
51801 fi
51802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51803 ac_ext=c
51804 ac_cpp='$CPP $CPPFLAGS'
51805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51808
51809
51810 fi
51811
51812 fi
51813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51814 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51815
51816 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51817 for ac_func in fmodl
51818 do :
51819 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51820 if test "x$ac_cv_func_fmodl" = xyes; then :
51821 cat >>confdefs.h <<_ACEOF
51822 #define HAVE_FMODL 1
51823 _ACEOF
51824
51825 fi
51826 done
51827
51828 else
51829
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51831 $as_echo_n "checking for _fmodl declaration... " >&6; }
51832 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51833 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51834 $as_echo_n "(cached) " >&6
51835 else
51836
51837
51838 ac_ext=cpp
51839 ac_cpp='$CXXCPP $CPPFLAGS'
51840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51843
51844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51845 /* end confdefs.h. */
51846 #include <math.h>
51847 int
51848 main ()
51849 {
51850 _fmodl(0, 0);
51851 ;
51852 return 0;
51853 }
51854 _ACEOF
51855 if ac_fn_cxx_try_compile "$LINENO"; then :
51856 glibcxx_cv_func__fmodl_use=yes
51857 else
51858 glibcxx_cv_func__fmodl_use=no
51859 fi
51860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51861 ac_ext=c
51862 ac_cpp='$CPP $CPPFLAGS'
51863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51866
51867
51868 fi
51869
51870 fi
51871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51872 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51873
51874 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51875 for ac_func in _fmodl
51876 do :
51877 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51878 if test "x$ac_cv_func__fmodl" = xyes; then :
51879 cat >>confdefs.h <<_ACEOF
51880 #define HAVE__FMODL 1
51881 _ACEOF
51882
51883 fi
51884 done
51885
51886 fi
51887 fi
51888
51889
51890
51891
51892
51893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51894 $as_echo_n "checking for frexpl declaration... " >&6; }
51895 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51896 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51897 $as_echo_n "(cached) " >&6
51898 else
51899
51900
51901 ac_ext=cpp
51902 ac_cpp='$CXXCPP $CPPFLAGS'
51903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51906
51907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51908 /* end confdefs.h. */
51909 #include <math.h>
51910 int
51911 main ()
51912 {
51913 frexpl(0, 0);
51914 ;
51915 return 0;
51916 }
51917 _ACEOF
51918 if ac_fn_cxx_try_compile "$LINENO"; then :
51919 glibcxx_cv_func_frexpl_use=yes
51920 else
51921 glibcxx_cv_func_frexpl_use=no
51922 fi
51923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51924 ac_ext=c
51925 ac_cpp='$CPP $CPPFLAGS'
51926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51929
51930
51931 fi
51932
51933 fi
51934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51935 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51936
51937 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51938 for ac_func in frexpl
51939 do :
51940 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51941 if test "x$ac_cv_func_frexpl" = xyes; then :
51942 cat >>confdefs.h <<_ACEOF
51943 #define HAVE_FREXPL 1
51944 _ACEOF
51945
51946 fi
51947 done
51948
51949 else
51950
51951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51952 $as_echo_n "checking for _frexpl declaration... " >&6; }
51953 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51954 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51955 $as_echo_n "(cached) " >&6
51956 else
51957
51958
51959 ac_ext=cpp
51960 ac_cpp='$CXXCPP $CPPFLAGS'
51961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51964
51965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51966 /* end confdefs.h. */
51967 #include <math.h>
51968 int
51969 main ()
51970 {
51971 _frexpl(0, 0);
51972 ;
51973 return 0;
51974 }
51975 _ACEOF
51976 if ac_fn_cxx_try_compile "$LINENO"; then :
51977 glibcxx_cv_func__frexpl_use=yes
51978 else
51979 glibcxx_cv_func__frexpl_use=no
51980 fi
51981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51982 ac_ext=c
51983 ac_cpp='$CPP $CPPFLAGS'
51984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51987
51988
51989 fi
51990
51991 fi
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51993 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51994
51995 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51996 for ac_func in _frexpl
51997 do :
51998 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51999 if test "x$ac_cv_func__frexpl" = xyes; then :
52000 cat >>confdefs.h <<_ACEOF
52001 #define HAVE__FREXPL 1
52002 _ACEOF
52003
52004 fi
52005 done
52006
52007 fi
52008 fi
52009
52010
52011
52012
52013
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52015 $as_echo_n "checking for hypotl declaration... " >&6; }
52016 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52017 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52018 $as_echo_n "(cached) " >&6
52019 else
52020
52021
52022 ac_ext=cpp
52023 ac_cpp='$CXXCPP $CPPFLAGS'
52024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52027
52028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52029 /* end confdefs.h. */
52030 #include <math.h>
52031 int
52032 main ()
52033 {
52034 hypotl(0, 0);
52035 ;
52036 return 0;
52037 }
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func_hypotl_use=yes
52041 else
52042 glibcxx_cv_func_hypotl_use=no
52043 fi
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52050
52051
52052 fi
52053
52054 fi
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52056 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52057
52058 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52059 for ac_func in hypotl
52060 do :
52061 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52062 if test "x$ac_cv_func_hypotl" = xyes; then :
52063 cat >>confdefs.h <<_ACEOF
52064 #define HAVE_HYPOTL 1
52065 _ACEOF
52066
52067 fi
52068 done
52069
52070 else
52071
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52073 $as_echo_n "checking for _hypotl declaration... " >&6; }
52074 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52075 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52076 $as_echo_n "(cached) " >&6
52077 else
52078
52079
52080 ac_ext=cpp
52081 ac_cpp='$CXXCPP $CPPFLAGS'
52082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52085
52086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52087 /* end confdefs.h. */
52088 #include <math.h>
52089 int
52090 main ()
52091 {
52092 _hypotl(0, 0);
52093 ;
52094 return 0;
52095 }
52096 _ACEOF
52097 if ac_fn_cxx_try_compile "$LINENO"; then :
52098 glibcxx_cv_func__hypotl_use=yes
52099 else
52100 glibcxx_cv_func__hypotl_use=no
52101 fi
52102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52103 ac_ext=c
52104 ac_cpp='$CPP $CPPFLAGS'
52105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52108
52109
52110 fi
52111
52112 fi
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52114 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52115
52116 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52117 for ac_func in _hypotl
52118 do :
52119 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52120 if test "x$ac_cv_func__hypotl" = xyes; then :
52121 cat >>confdefs.h <<_ACEOF
52122 #define HAVE__HYPOTL 1
52123 _ACEOF
52124
52125 fi
52126 done
52127
52128 fi
52129 fi
52130
52131
52132
52133
52134
52135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52136 $as_echo_n "checking for ldexpl declaration... " >&6; }
52137 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52138 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52139 $as_echo_n "(cached) " >&6
52140 else
52141
52142
52143 ac_ext=cpp
52144 ac_cpp='$CXXCPP $CPPFLAGS'
52145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52148
52149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52150 /* end confdefs.h. */
52151 #include <math.h>
52152 int
52153 main ()
52154 {
52155 ldexpl(0, 0);
52156 ;
52157 return 0;
52158 }
52159 _ACEOF
52160 if ac_fn_cxx_try_compile "$LINENO"; then :
52161 glibcxx_cv_func_ldexpl_use=yes
52162 else
52163 glibcxx_cv_func_ldexpl_use=no
52164 fi
52165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52166 ac_ext=c
52167 ac_cpp='$CPP $CPPFLAGS'
52168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52171
52172
52173 fi
52174
52175 fi
52176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52177 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52178
52179 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52180 for ac_func in ldexpl
52181 do :
52182 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52183 if test "x$ac_cv_func_ldexpl" = xyes; then :
52184 cat >>confdefs.h <<_ACEOF
52185 #define HAVE_LDEXPL 1
52186 _ACEOF
52187
52188 fi
52189 done
52190
52191 else
52192
52193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52194 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52195 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52196 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52197 $as_echo_n "(cached) " >&6
52198 else
52199
52200
52201 ac_ext=cpp
52202 ac_cpp='$CXXCPP $CPPFLAGS'
52203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52206
52207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52208 /* end confdefs.h. */
52209 #include <math.h>
52210 int
52211 main ()
52212 {
52213 _ldexpl(0, 0);
52214 ;
52215 return 0;
52216 }
52217 _ACEOF
52218 if ac_fn_cxx_try_compile "$LINENO"; then :
52219 glibcxx_cv_func__ldexpl_use=yes
52220 else
52221 glibcxx_cv_func__ldexpl_use=no
52222 fi
52223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52224 ac_ext=c
52225 ac_cpp='$CPP $CPPFLAGS'
52226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52229
52230
52231 fi
52232
52233 fi
52234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52235 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52236
52237 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52238 for ac_func in _ldexpl
52239 do :
52240 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52241 if test "x$ac_cv_func__ldexpl" = xyes; then :
52242 cat >>confdefs.h <<_ACEOF
52243 #define HAVE__LDEXPL 1
52244 _ACEOF
52245
52246 fi
52247 done
52248
52249 fi
52250 fi
52251
52252
52253
52254
52255
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52257 $as_echo_n "checking for logl declaration... " >&6; }
52258 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52259 if ${glibcxx_cv_func_logl_use+:} false; then :
52260 $as_echo_n "(cached) " >&6
52261 else
52262
52263
52264 ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52269
52270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h. */
52272 #include <math.h>
52273 #ifdef HAVE_IEEEFP_H
52274 #include <ieeefp.h>
52275 #endif
52276
52277 int
52278 main ()
52279 {
52280 logl(0);
52281 ;
52282 return 0;
52283 }
52284 _ACEOF
52285 if ac_fn_cxx_try_compile "$LINENO"; then :
52286 glibcxx_cv_func_logl_use=yes
52287 else
52288 glibcxx_cv_func_logl_use=no
52289 fi
52290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52291 ac_ext=c
52292 ac_cpp='$CPP $CPPFLAGS'
52293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52296
52297
52298 fi
52299
52300 fi
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52302 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52303
52304 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52305 for ac_func in logl
52306 do :
52307 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52308 if test "x$ac_cv_func_logl" = xyes; then :
52309 cat >>confdefs.h <<_ACEOF
52310 #define HAVE_LOGL 1
52311 _ACEOF
52312
52313 fi
52314 done
52315
52316 else
52317
52318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52319 $as_echo_n "checking for _logl declaration... " >&6; }
52320 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52321 if ${glibcxx_cv_func__logl_use+:} false; then :
52322 $as_echo_n "(cached) " >&6
52323 else
52324
52325
52326 ac_ext=cpp
52327 ac_cpp='$CXXCPP $CPPFLAGS'
52328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52331
52332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52333 /* end confdefs.h. */
52334 #include <math.h>
52335 #ifdef HAVE_IEEEFP_H
52336 #include <ieeefp.h>
52337 #endif
52338
52339 int
52340 main ()
52341 {
52342 _logl(0);
52343 ;
52344 return 0;
52345 }
52346 _ACEOF
52347 if ac_fn_cxx_try_compile "$LINENO"; then :
52348 glibcxx_cv_func__logl_use=yes
52349 else
52350 glibcxx_cv_func__logl_use=no
52351 fi
52352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52353 ac_ext=c
52354 ac_cpp='$CPP $CPPFLAGS'
52355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52358
52359
52360 fi
52361
52362 fi
52363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52364 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52365
52366 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52367 for ac_func in _logl
52368 do :
52369 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52370 if test "x$ac_cv_func__logl" = xyes; then :
52371 cat >>confdefs.h <<_ACEOF
52372 #define HAVE__LOGL 1
52373 _ACEOF
52374
52375 fi
52376 done
52377
52378 fi
52379 fi
52380
52381
52382
52383
52384
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52386 $as_echo_n "checking for log10l declaration... " >&6; }
52387 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52388 if ${glibcxx_cv_func_log10l_use+:} false; then :
52389 $as_echo_n "(cached) " >&6
52390 else
52391
52392
52393 ac_ext=cpp
52394 ac_cpp='$CXXCPP $CPPFLAGS'
52395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52398
52399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52400 /* end confdefs.h. */
52401 #include <math.h>
52402 #ifdef HAVE_IEEEFP_H
52403 #include <ieeefp.h>
52404 #endif
52405
52406 int
52407 main ()
52408 {
52409 log10l(0);
52410 ;
52411 return 0;
52412 }
52413 _ACEOF
52414 if ac_fn_cxx_try_compile "$LINENO"; then :
52415 glibcxx_cv_func_log10l_use=yes
52416 else
52417 glibcxx_cv_func_log10l_use=no
52418 fi
52419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52420 ac_ext=c
52421 ac_cpp='$CPP $CPPFLAGS'
52422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52425
52426
52427 fi
52428
52429 fi
52430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52431 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52432
52433 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52434 for ac_func in log10l
52435 do :
52436 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52437 if test "x$ac_cv_func_log10l" = xyes; then :
52438 cat >>confdefs.h <<_ACEOF
52439 #define HAVE_LOG10L 1
52440 _ACEOF
52441
52442 fi
52443 done
52444
52445 else
52446
52447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52448 $as_echo_n "checking for _log10l declaration... " >&6; }
52449 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52450 if ${glibcxx_cv_func__log10l_use+:} false; then :
52451 $as_echo_n "(cached) " >&6
52452 else
52453
52454
52455 ac_ext=cpp
52456 ac_cpp='$CXXCPP $CPPFLAGS'
52457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52460
52461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52462 /* end confdefs.h. */
52463 #include <math.h>
52464 #ifdef HAVE_IEEEFP_H
52465 #include <ieeefp.h>
52466 #endif
52467
52468 int
52469 main ()
52470 {
52471 _log10l(0);
52472 ;
52473 return 0;
52474 }
52475 _ACEOF
52476 if ac_fn_cxx_try_compile "$LINENO"; then :
52477 glibcxx_cv_func__log10l_use=yes
52478 else
52479 glibcxx_cv_func__log10l_use=no
52480 fi
52481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52482 ac_ext=c
52483 ac_cpp='$CPP $CPPFLAGS'
52484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52487
52488
52489 fi
52490
52491 fi
52492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52493 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52494
52495 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52496 for ac_func in _log10l
52497 do :
52498 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52499 if test "x$ac_cv_func__log10l" = xyes; then :
52500 cat >>confdefs.h <<_ACEOF
52501 #define HAVE__LOG10L 1
52502 _ACEOF
52503
52504 fi
52505 done
52506
52507 fi
52508 fi
52509
52510
52511
52512
52513
52514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52515 $as_echo_n "checking for modfl declaration... " >&6; }
52516 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52517 if ${glibcxx_cv_func_modfl_use+:} false; then :
52518 $as_echo_n "(cached) " >&6
52519 else
52520
52521
52522 ac_ext=cpp
52523 ac_cpp='$CXXCPP $CPPFLAGS'
52524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52527
52528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52529 /* end confdefs.h. */
52530 #include <math.h>
52531 int
52532 main ()
52533 {
52534 modfl(0, 0);
52535 ;
52536 return 0;
52537 }
52538 _ACEOF
52539 if ac_fn_cxx_try_compile "$LINENO"; then :
52540 glibcxx_cv_func_modfl_use=yes
52541 else
52542 glibcxx_cv_func_modfl_use=no
52543 fi
52544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52545 ac_ext=c
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52550
52551
52552 fi
52553
52554 fi
52555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52556 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52557
52558 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52559 for ac_func in modfl
52560 do :
52561 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52562 if test "x$ac_cv_func_modfl" = xyes; then :
52563 cat >>confdefs.h <<_ACEOF
52564 #define HAVE_MODFL 1
52565 _ACEOF
52566
52567 fi
52568 done
52569
52570 else
52571
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52573 $as_echo_n "checking for _modfl declaration... " >&6; }
52574 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52575 if ${glibcxx_cv_func__modfl_use+:} false; then :
52576 $as_echo_n "(cached) " >&6
52577 else
52578
52579
52580 ac_ext=cpp
52581 ac_cpp='$CXXCPP $CPPFLAGS'
52582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52585
52586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52587 /* end confdefs.h. */
52588 #include <math.h>
52589 int
52590 main ()
52591 {
52592 _modfl(0, 0);
52593 ;
52594 return 0;
52595 }
52596 _ACEOF
52597 if ac_fn_cxx_try_compile "$LINENO"; then :
52598 glibcxx_cv_func__modfl_use=yes
52599 else
52600 glibcxx_cv_func__modfl_use=no
52601 fi
52602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52603 ac_ext=c
52604 ac_cpp='$CPP $CPPFLAGS'
52605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52608
52609
52610 fi
52611
52612 fi
52613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52614 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52615
52616 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52617 for ac_func in _modfl
52618 do :
52619 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52620 if test "x$ac_cv_func__modfl" = xyes; then :
52621 cat >>confdefs.h <<_ACEOF
52622 #define HAVE__MODFL 1
52623 _ACEOF
52624
52625 fi
52626 done
52627
52628 fi
52629 fi
52630
52631
52632
52633
52634
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52636 $as_echo_n "checking for powl declaration... " >&6; }
52637 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52638 if ${glibcxx_cv_func_powl_use+:} false; then :
52639 $as_echo_n "(cached) " >&6
52640 else
52641
52642
52643 ac_ext=cpp
52644 ac_cpp='$CXXCPP $CPPFLAGS'
52645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52648
52649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52650 /* end confdefs.h. */
52651 #include <math.h>
52652 int
52653 main ()
52654 {
52655 powl(0, 0);
52656 ;
52657 return 0;
52658 }
52659 _ACEOF
52660 if ac_fn_cxx_try_compile "$LINENO"; then :
52661 glibcxx_cv_func_powl_use=yes
52662 else
52663 glibcxx_cv_func_powl_use=no
52664 fi
52665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52666 ac_ext=c
52667 ac_cpp='$CPP $CPPFLAGS'
52668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52671
52672
52673 fi
52674
52675 fi
52676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52677 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52678
52679 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52680 for ac_func in powl
52681 do :
52682 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52683 if test "x$ac_cv_func_powl" = xyes; then :
52684 cat >>confdefs.h <<_ACEOF
52685 #define HAVE_POWL 1
52686 _ACEOF
52687
52688 fi
52689 done
52690
52691 else
52692
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52694 $as_echo_n "checking for _powl declaration... " >&6; }
52695 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52696 if ${glibcxx_cv_func__powl_use+:} false; then :
52697 $as_echo_n "(cached) " >&6
52698 else
52699
52700
52701 ac_ext=cpp
52702 ac_cpp='$CXXCPP $CPPFLAGS'
52703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52706
52707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52708 /* end confdefs.h. */
52709 #include <math.h>
52710 int
52711 main ()
52712 {
52713 _powl(0, 0);
52714 ;
52715 return 0;
52716 }
52717 _ACEOF
52718 if ac_fn_cxx_try_compile "$LINENO"; then :
52719 glibcxx_cv_func__powl_use=yes
52720 else
52721 glibcxx_cv_func__powl_use=no
52722 fi
52723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52724 ac_ext=c
52725 ac_cpp='$CPP $CPPFLAGS'
52726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52729
52730
52731 fi
52732
52733 fi
52734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52735 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52736
52737 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52738 for ac_func in _powl
52739 do :
52740 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52741 if test "x$ac_cv_func__powl" = xyes; then :
52742 cat >>confdefs.h <<_ACEOF
52743 #define HAVE__POWL 1
52744 _ACEOF
52745
52746 fi
52747 done
52748
52749 fi
52750 fi
52751
52752
52753
52754
52755
52756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52757 $as_echo_n "checking for sqrtl declaration... " >&6; }
52758 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52759 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52760 $as_echo_n "(cached) " >&6
52761 else
52762
52763
52764 ac_ext=cpp
52765 ac_cpp='$CXXCPP $CPPFLAGS'
52766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52769
52770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52771 /* end confdefs.h. */
52772 #include <math.h>
52773 #ifdef HAVE_IEEEFP_H
52774 #include <ieeefp.h>
52775 #endif
52776
52777 int
52778 main ()
52779 {
52780 sqrtl(0);
52781 ;
52782 return 0;
52783 }
52784 _ACEOF
52785 if ac_fn_cxx_try_compile "$LINENO"; then :
52786 glibcxx_cv_func_sqrtl_use=yes
52787 else
52788 glibcxx_cv_func_sqrtl_use=no
52789 fi
52790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52791 ac_ext=c
52792 ac_cpp='$CPP $CPPFLAGS'
52793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52796
52797
52798 fi
52799
52800 fi
52801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52802 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52803
52804 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52805 for ac_func in sqrtl
52806 do :
52807 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52808 if test "x$ac_cv_func_sqrtl" = xyes; then :
52809 cat >>confdefs.h <<_ACEOF
52810 #define HAVE_SQRTL 1
52811 _ACEOF
52812
52813 fi
52814 done
52815
52816 else
52817
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52819 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52820 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52821 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52822 $as_echo_n "(cached) " >&6
52823 else
52824
52825
52826 ac_ext=cpp
52827 ac_cpp='$CXXCPP $CPPFLAGS'
52828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52831
52832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52833 /* end confdefs.h. */
52834 #include <math.h>
52835 #ifdef HAVE_IEEEFP_H
52836 #include <ieeefp.h>
52837 #endif
52838
52839 int
52840 main ()
52841 {
52842 _sqrtl(0);
52843 ;
52844 return 0;
52845 }
52846 _ACEOF
52847 if ac_fn_cxx_try_compile "$LINENO"; then :
52848 glibcxx_cv_func__sqrtl_use=yes
52849 else
52850 glibcxx_cv_func__sqrtl_use=no
52851 fi
52852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52853 ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52858
52859
52860 fi
52861
52862 fi
52863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52864 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52865
52866 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52867 for ac_func in _sqrtl
52868 do :
52869 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52870 if test "x$ac_cv_func__sqrtl" = xyes; then :
52871 cat >>confdefs.h <<_ACEOF
52872 #define HAVE__SQRTL 1
52873 _ACEOF
52874
52875 fi
52876 done
52877
52878 fi
52879 fi
52880
52881
52882
52883
52884
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52886 $as_echo_n "checking for sincosl declaration... " >&6; }
52887 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52888 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52889 $as_echo_n "(cached) " >&6
52890 else
52891
52892
52893 ac_ext=cpp
52894 ac_cpp='$CXXCPP $CPPFLAGS'
52895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52898
52899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52900 /* end confdefs.h. */
52901 #include <math.h>
52902 int
52903 main ()
52904 {
52905 sincosl(0, 0, 0);
52906 ;
52907 return 0;
52908 }
52909 _ACEOF
52910 if ac_fn_cxx_try_compile "$LINENO"; then :
52911 glibcxx_cv_func_sincosl_use=yes
52912 else
52913 glibcxx_cv_func_sincosl_use=no
52914 fi
52915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52916 ac_ext=c
52917 ac_cpp='$CPP $CPPFLAGS'
52918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52921
52922
52923 fi
52924
52925 fi
52926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52927 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52928
52929 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52930 for ac_func in sincosl
52931 do :
52932 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52933 if test "x$ac_cv_func_sincosl" = xyes; then :
52934 cat >>confdefs.h <<_ACEOF
52935 #define HAVE_SINCOSL 1
52936 _ACEOF
52937
52938 fi
52939 done
52940
52941 else
52942
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52944 $as_echo_n "checking for _sincosl declaration... " >&6; }
52945 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52946 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52947 $as_echo_n "(cached) " >&6
52948 else
52949
52950
52951 ac_ext=cpp
52952 ac_cpp='$CXXCPP $CPPFLAGS'
52953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52956
52957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52958 /* end confdefs.h. */
52959 #include <math.h>
52960 int
52961 main ()
52962 {
52963 _sincosl(0, 0, 0);
52964 ;
52965 return 0;
52966 }
52967 _ACEOF
52968 if ac_fn_cxx_try_compile "$LINENO"; then :
52969 glibcxx_cv_func__sincosl_use=yes
52970 else
52971 glibcxx_cv_func__sincosl_use=no
52972 fi
52973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52979
52980
52981 fi
52982
52983 fi
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52985 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52986
52987 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52988 for ac_func in _sincosl
52989 do :
52990 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52991 if test "x$ac_cv_func__sincosl" = xyes; then :
52992 cat >>confdefs.h <<_ACEOF
52993 #define HAVE__SINCOSL 1
52994 _ACEOF
52995
52996 fi
52997 done
52998
52999 fi
53000 fi
53001
53002
53003
53004
53005
53006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53007 $as_echo_n "checking for finitel declaration... " >&6; }
53008 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53009 if ${glibcxx_cv_func_finitel_use+:} false; then :
53010 $as_echo_n "(cached) " >&6
53011 else
53012
53013
53014 ac_ext=cpp
53015 ac_cpp='$CXXCPP $CPPFLAGS'
53016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53019
53020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53021 /* end confdefs.h. */
53022 #include <math.h>
53023 #ifdef HAVE_IEEEFP_H
53024 #include <ieeefp.h>
53025 #endif
53026
53027 int
53028 main ()
53029 {
53030 finitel(0);
53031 ;
53032 return 0;
53033 }
53034 _ACEOF
53035 if ac_fn_cxx_try_compile "$LINENO"; then :
53036 glibcxx_cv_func_finitel_use=yes
53037 else
53038 glibcxx_cv_func_finitel_use=no
53039 fi
53040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53041 ac_ext=c
53042 ac_cpp='$CPP $CPPFLAGS'
53043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53046
53047
53048 fi
53049
53050 fi
53051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53052 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53053
53054 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53055 for ac_func in finitel
53056 do :
53057 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53058 if test "x$ac_cv_func_finitel" = xyes; then :
53059 cat >>confdefs.h <<_ACEOF
53060 #define HAVE_FINITEL 1
53061 _ACEOF
53062
53063 fi
53064 done
53065
53066 else
53067
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53069 $as_echo_n "checking for _finitel declaration... " >&6; }
53070 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53071 if ${glibcxx_cv_func__finitel_use+:} false; then :
53072 $as_echo_n "(cached) " >&6
53073 else
53074
53075
53076 ac_ext=cpp
53077 ac_cpp='$CXXCPP $CPPFLAGS'
53078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53081
53082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53083 /* end confdefs.h. */
53084 #include <math.h>
53085 #ifdef HAVE_IEEEFP_H
53086 #include <ieeefp.h>
53087 #endif
53088
53089 int
53090 main ()
53091 {
53092 _finitel(0);
53093 ;
53094 return 0;
53095 }
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098 glibcxx_cv_func__finitel_use=yes
53099 else
53100 glibcxx_cv_func__finitel_use=no
53101 fi
53102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103 ac_ext=c
53104 ac_cpp='$CPP $CPPFLAGS'
53105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53108
53109
53110 fi
53111
53112 fi
53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53114 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53115
53116 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53117 for ac_func in _finitel
53118 do :
53119 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53120 if test "x$ac_cv_func__finitel" = xyes; then :
53121 cat >>confdefs.h <<_ACEOF
53122 #define HAVE__FINITEL 1
53123 _ACEOF
53124
53125 fi
53126 done
53127
53128 fi
53129 fi
53130
53131
53132
53133
53134 LIBS="$ac_save_LIBS"
53135 CXXFLAGS="$ac_save_CXXFLAGS"
53136
53137
53138 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53139 ac_save_CXXFLAGS="$CXXFLAGS"
53140 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53141
53142
53143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53144 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53145 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53146 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53147 $as_echo_n "(cached) " >&6
53148 else
53149
53150
53151 ac_ext=cpp
53152 ac_cpp='$CXXCPP $CPPFLAGS'
53153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53156
53157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53158 /* end confdefs.h. */
53159 #include <stdlib.h>
53160 int
53161 main ()
53162 {
53163 at_quick_exit(0);
53164 ;
53165 return 0;
53166 }
53167 _ACEOF
53168 if ac_fn_cxx_try_compile "$LINENO"; then :
53169 glibcxx_cv_func_at_quick_exit_use=yes
53170 else
53171 glibcxx_cv_func_at_quick_exit_use=no
53172 fi
53173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53174 ac_ext=c
53175 ac_cpp='$CPP $CPPFLAGS'
53176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53179
53180
53181 fi
53182
53183 fi
53184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53185 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53186 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53187 for ac_func in at_quick_exit
53188 do :
53189 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53190 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53191 cat >>confdefs.h <<_ACEOF
53192 #define HAVE_AT_QUICK_EXIT 1
53193 _ACEOF
53194
53195 fi
53196 done
53197
53198 fi
53199
53200
53201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53202 $as_echo_n "checking for quick_exit declaration... " >&6; }
53203 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53204 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53205 $as_echo_n "(cached) " >&6
53206 else
53207
53208
53209 ac_ext=cpp
53210 ac_cpp='$CXXCPP $CPPFLAGS'
53211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53214
53215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53216 /* end confdefs.h. */
53217 #include <stdlib.h>
53218 int
53219 main ()
53220 {
53221 quick_exit(0);
53222 ;
53223 return 0;
53224 }
53225 _ACEOF
53226 if ac_fn_cxx_try_compile "$LINENO"; then :
53227 glibcxx_cv_func_quick_exit_use=yes
53228 else
53229 glibcxx_cv_func_quick_exit_use=no
53230 fi
53231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53232 ac_ext=c
53233 ac_cpp='$CPP $CPPFLAGS'
53234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53237
53238
53239 fi
53240
53241 fi
53242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53243 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53244 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53245 for ac_func in quick_exit
53246 do :
53247 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53248 if test "x$ac_cv_func_quick_exit" = xyes; then :
53249 cat >>confdefs.h <<_ACEOF
53250 #define HAVE_QUICK_EXIT 1
53251 _ACEOF
53252
53253 fi
53254 done
53255
53256 fi
53257
53258
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53260 $as_echo_n "checking for strtold declaration... " >&6; }
53261 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53262 if ${glibcxx_cv_func_strtold_use+:} false; then :
53263 $as_echo_n "(cached) " >&6
53264 else
53265
53266
53267 ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272
53273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h. */
53275 #include <stdlib.h>
53276 int
53277 main ()
53278 {
53279 strtold(0, 0);
53280 ;
53281 return 0;
53282 }
53283 _ACEOF
53284 if ac_fn_cxx_try_compile "$LINENO"; then :
53285 glibcxx_cv_func_strtold_use=yes
53286 else
53287 glibcxx_cv_func_strtold_use=no
53288 fi
53289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53290 ac_ext=c
53291 ac_cpp='$CPP $CPPFLAGS'
53292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53295
53296
53297 fi
53298
53299 fi
53300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53301 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53302 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53303 for ac_func in strtold
53304 do :
53305 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53306 if test "x$ac_cv_func_strtold" = xyes; then :
53307 cat >>confdefs.h <<_ACEOF
53308 #define HAVE_STRTOLD 1
53309 _ACEOF
53310
53311 fi
53312 done
53313
53314 fi
53315
53316
53317
53318
53319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53320 $as_echo_n "checking for strtof declaration... " >&6; }
53321 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53322 if ${glibcxx_cv_func_strtof_use+:} false; then :
53323 $as_echo_n "(cached) " >&6
53324 else
53325
53326
53327 ac_ext=cpp
53328 ac_cpp='$CXXCPP $CPPFLAGS'
53329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53332
53333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53334 /* end confdefs.h. */
53335 #include <stdlib.h>
53336 int
53337 main ()
53338 {
53339 strtof(0, 0);
53340 ;
53341 return 0;
53342 }
53343 _ACEOF
53344 if ac_fn_cxx_try_compile "$LINENO"; then :
53345 glibcxx_cv_func_strtof_use=yes
53346 else
53347 glibcxx_cv_func_strtof_use=no
53348 fi
53349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53350 ac_ext=c
53351 ac_cpp='$CPP $CPPFLAGS'
53352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53355
53356
53357 fi
53358
53359 fi
53360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53361 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53362 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53363 for ac_func in strtof
53364 do :
53365 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53366 if test "x$ac_cv_func_strtof" = xyes; then :
53367 cat >>confdefs.h <<_ACEOF
53368 #define HAVE_STRTOF 1
53369 _ACEOF
53370
53371 fi
53372 done
53373
53374 fi
53375
53376
53377
53378
53379 CXXFLAGS="$ac_save_CXXFLAGS"
53380
53381 ;;
53382
53383 *djgpp)
53384 # GLIBCXX_CHECK_MATH_SUPPORT
53385 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53386
53387 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53388
53389 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53390
53391 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53392
53393 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53394
53395 ;;
53396
53397 *-freebsd*)
53398 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53399
53400
53401 # If we're not using GNU ld, then there's no point in even trying these
53402 # tests. Check for that first. We should have already tested for gld
53403 # by now (in libtool), but require it now just to be safe...
53404 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53405 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53406
53407
53408
53409 # The name set by libtool depends on the version of libtool. Shame on us
53410 # for depending on an impl detail, but c'est la vie. Older versions used
53411 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53412 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53413 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53414 # set (hence we're using an older libtool), then set it.
53415 if test x${with_gnu_ld+set} != xset; then
53416 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53417 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53418 with_gnu_ld=no
53419 else
53420 with_gnu_ld=$ac_cv_prog_gnu_ld
53421 fi
53422 fi
53423
53424 # Start by getting the version number. I think the libtool test already
53425 # does some of this, but throws away the result.
53426 glibcxx_ld_is_gold=no
53427 if test x"$with_gnu_ld" = x"yes"; then
53428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53429 $as_echo_n "checking for ld version... " >&6; }
53430
53431 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53432 glibcxx_ld_is_gold=yes
53433 fi
53434 ldver=`$LD --version 2>/dev/null |
53435 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'`
53436
53437 glibcxx_gnu_ld_version=`echo $ldver | \
53438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53440 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53441 fi
53442
53443 # Set --gc-sections.
53444 glibcxx_have_gc_sections=no
53445 if test "$glibcxx_ld_is_gold" = "yes"; then
53446 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53447 glibcxx_have_gc_sections=yes
53448 fi
53449 else
53450 glibcxx_gcsections_min_ld=21602
53451 if test x"$with_gnu_ld" = x"yes" &&
53452 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53453 glibcxx_have_gc_sections=yes
53454 fi
53455 fi
53456 if test "$glibcxx_have_gc_sections" = "yes"; then
53457 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53458 # NB: This flag only works reliably after 2.16.1. Configure tests
53459 # for this are difficult, so hard wire a value that should work.
53460
53461 ac_test_CFLAGS="${CFLAGS+set}"
53462 ac_save_CFLAGS="$CFLAGS"
53463 CFLAGS='-Wl,--gc-sections'
53464
53465 # Check for -Wl,--gc-sections
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53467 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53468 if test x$gcc_no_link = xyes; then
53469 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53470 fi
53471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53472 /* end confdefs.h. */
53473 int one(void) { return 1; }
53474 int two(void) { return 2; }
53475
53476 int
53477 main ()
53478 {
53479 two();
53480 ;
53481 return 0;
53482 }
53483 _ACEOF
53484 if ac_fn_c_try_link "$LINENO"; then :
53485 ac_gcsections=yes
53486 else
53487 ac_gcsections=no
53488 fi
53489 rm -f core conftest.err conftest.$ac_objext \
53490 conftest$ac_exeext conftest.$ac_ext
53491 if test "$ac_gcsections" = "yes"; then
53492 rm -f conftest.c
53493 touch conftest.c
53494 if $CC -c conftest.c; then
53495 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53496 grep "Warning: gc-sections option ignored" > /dev/null; then
53497 ac_gcsections=no
53498 fi
53499 fi
53500 rm -f conftest.c conftest.o conftest
53501 fi
53502 if test "$ac_gcsections" = "yes"; then
53503 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53504 fi
53505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53506 $as_echo "$ac_gcsections" >&6; }
53507
53508 if test "$ac_test_CFLAGS" = set; then
53509 CFLAGS="$ac_save_CFLAGS"
53510 else
53511 # this is the suspicious part
53512 CFLAGS=''
53513 fi
53514 fi
53515
53516 # Set -z,relro.
53517 # Note this is only for shared objects.
53518 ac_ld_relro=no
53519 if test x"$with_gnu_ld" = x"yes"; then
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53521 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53522 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53523 if test -n "$cxx_z_relo"; then
53524 OPT_LDFLAGS="-Wl,-z,relro"
53525 ac_ld_relro=yes
53526 fi
53527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53528 $as_echo "$ac_ld_relro" >&6; }
53529 fi
53530
53531 # Set linker optimization flags.
53532 if test x"$with_gnu_ld" = x"yes"; then
53533 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53534 fi
53535
53536
53537
53538
53539 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53540
53541 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53542
53543 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53544
53545 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53546
53547 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53548
53549 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53550
53551 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53552
53553 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53554
53555 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53556
53557
53558 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53559
53560 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53561
53562 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53563
53564 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53565
53566 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53567
53568 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53569
53570 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53571
53572 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53573
53574 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53575
53576 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53577
53578 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53579
53580 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53581
53582 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53583
53584 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53585
53586 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53587
53588 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53589
53590 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53591
53592 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53593
53594 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53595
53596 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53597
53598 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53599
53600 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53601
53602 if test x"long_double_math_on_this_cpu" = x"yes"; then
53603 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53604
53605 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53606
53607 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53608
53609 fi
53610 for ac_func in __cxa_thread_atexit
53611 do :
53612 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53613 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53614 cat >>confdefs.h <<_ACEOF
53615 #define HAVE___CXA_THREAD_ATEXIT 1
53616 _ACEOF
53617
53618 fi
53619 done
53620
53621 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53622 do :
53623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53626 cat >>confdefs.h <<_ACEOF
53627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53628 _ACEOF
53629
53630 fi
53631 done
53632
53633 for ac_func in timespec_get
53634 do :
53635 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
53636 if test "x$ac_cv_func_timespec_get" = xyes; then :
53637 cat >>confdefs.h <<_ACEOF
53638 #define HAVE_TIMESPEC_GET 1
53639 _ACEOF
53640
53641 fi
53642 done
53643
53644 ;;
53645
53646 *-fuchsia*)
53647 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53648
53649 ;;
53650
53651 *-hpux*)
53652 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53653
53654
53655 # If we're not using GNU ld, then there's no point in even trying these
53656 # tests. Check for that first. We should have already tested for gld
53657 # by now (in libtool), but require it now just to be safe...
53658 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53659 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53660
53661
53662
53663 # The name set by libtool depends on the version of libtool. Shame on us
53664 # for depending on an impl detail, but c'est la vie. Older versions used
53665 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53666 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53667 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53668 # set (hence we're using an older libtool), then set it.
53669 if test x${with_gnu_ld+set} != xset; then
53670 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53671 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53672 with_gnu_ld=no
53673 else
53674 with_gnu_ld=$ac_cv_prog_gnu_ld
53675 fi
53676 fi
53677
53678 # Start by getting the version number. I think the libtool test already
53679 # does some of this, but throws away the result.
53680 glibcxx_ld_is_gold=no
53681 if test x"$with_gnu_ld" = x"yes"; then
53682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53683 $as_echo_n "checking for ld version... " >&6; }
53684
53685 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53686 glibcxx_ld_is_gold=yes
53687 fi
53688 ldver=`$LD --version 2>/dev/null |
53689 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'`
53690
53691 glibcxx_gnu_ld_version=`echo $ldver | \
53692 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53694 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53695 fi
53696
53697 # Set --gc-sections.
53698 glibcxx_have_gc_sections=no
53699 if test "$glibcxx_ld_is_gold" = "yes"; then
53700 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53701 glibcxx_have_gc_sections=yes
53702 fi
53703 else
53704 glibcxx_gcsections_min_ld=21602
53705 if test x"$with_gnu_ld" = x"yes" &&
53706 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53707 glibcxx_have_gc_sections=yes
53708 fi
53709 fi
53710 if test "$glibcxx_have_gc_sections" = "yes"; then
53711 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53712 # NB: This flag only works reliably after 2.16.1. Configure tests
53713 # for this are difficult, so hard wire a value that should work.
53714
53715 ac_test_CFLAGS="${CFLAGS+set}"
53716 ac_save_CFLAGS="$CFLAGS"
53717 CFLAGS='-Wl,--gc-sections'
53718
53719 # Check for -Wl,--gc-sections
53720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53721 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53722 if test x$gcc_no_link = xyes; then
53723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53724 fi
53725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53726 /* end confdefs.h. */
53727 int one(void) { return 1; }
53728 int two(void) { return 2; }
53729
53730 int
53731 main ()
53732 {
53733 two();
53734 ;
53735 return 0;
53736 }
53737 _ACEOF
53738 if ac_fn_c_try_link "$LINENO"; then :
53739 ac_gcsections=yes
53740 else
53741 ac_gcsections=no
53742 fi
53743 rm -f core conftest.err conftest.$ac_objext \
53744 conftest$ac_exeext conftest.$ac_ext
53745 if test "$ac_gcsections" = "yes"; then
53746 rm -f conftest.c
53747 touch conftest.c
53748 if $CC -c conftest.c; then
53749 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53750 grep "Warning: gc-sections option ignored" > /dev/null; then
53751 ac_gcsections=no
53752 fi
53753 fi
53754 rm -f conftest.c conftest.o conftest
53755 fi
53756 if test "$ac_gcsections" = "yes"; then
53757 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53758 fi
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53760 $as_echo "$ac_gcsections" >&6; }
53761
53762 if test "$ac_test_CFLAGS" = set; then
53763 CFLAGS="$ac_save_CFLAGS"
53764 else
53765 # this is the suspicious part
53766 CFLAGS=''
53767 fi
53768 fi
53769
53770 # Set -z,relro.
53771 # Note this is only for shared objects.
53772 ac_ld_relro=no
53773 if test x"$with_gnu_ld" = x"yes"; then
53774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53775 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53776 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53777 if test -n "$cxx_z_relo"; then
53778 OPT_LDFLAGS="-Wl,-z,relro"
53779 ac_ld_relro=yes
53780 fi
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53782 $as_echo "$ac_ld_relro" >&6; }
53783 fi
53784
53785 # Set linker optimization flags.
53786 if test x"$with_gnu_ld" = x"yes"; then
53787 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53788 fi
53789
53790
53791
53792
53793
53794 # GLIBCXX_CHECK_MATH_SUPPORT
53795 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53796
53797 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53798
53799 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53800
53801 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53802
53803 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53804
53805 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53806
53807 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53808
53809 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53810
53811 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53812
53813 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53814
53815 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53816
53817 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53818
53819 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53820
53821 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53822
53823 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53824
53825 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53826
53827 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53828
53829 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53830
53831 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53832
53833 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53834
53835 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53836
53837
53838 # GLIBCXX_CHECK_STDLIB_SUPPORT
53839 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53840
53841
53842
53843
53844 # Check whether --enable-tls was given.
53845 if test "${enable_tls+set}" = set; then :
53846 enableval=$enable_tls;
53847 case "$enableval" in
53848 yes|no) ;;
53849 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53850 esac
53851
53852 else
53853 enable_tls=yes
53854 fi
53855
53856
53857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53858 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53859 if ${gcc_cv_have_tls+:} false; then :
53860 $as_echo_n "(cached) " >&6
53861 else
53862
53863 if test "$cross_compiling" = yes; then :
53864 if test x$gcc_no_link = xyes; then
53865 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53866 fi
53867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53868 /* end confdefs.h. */
53869 __thread int a; int b; int main() { return a = b; }
53870 _ACEOF
53871 if ac_fn_c_try_link "$LINENO"; then :
53872 chktls_save_LDFLAGS="$LDFLAGS"
53873 case $host in
53874 *-*-linux*)
53875 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53876 ;;
53877 esac
53878 chktls_save_CFLAGS="$CFLAGS"
53879 CFLAGS="-fPIC $CFLAGS"
53880 if test x$gcc_no_link = xyes; then
53881 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53882 fi
53883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53884 /* end confdefs.h. */
53885 int f() { return 0; }
53886 _ACEOF
53887 if ac_fn_c_try_link "$LINENO"; then :
53888 if test x$gcc_no_link = xyes; then
53889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53890 fi
53891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53892 /* end confdefs.h. */
53893 __thread int a; int b; int f() { return a = b; }
53894 _ACEOF
53895 if ac_fn_c_try_link "$LINENO"; then :
53896 gcc_cv_have_tls=yes
53897 else
53898 gcc_cv_have_tls=no
53899 fi
53900 rm -f core conftest.err conftest.$ac_objext \
53901 conftest$ac_exeext conftest.$ac_ext
53902 else
53903 gcc_cv_have_tls=yes
53904 fi
53905 rm -f core conftest.err conftest.$ac_objext \
53906 conftest$ac_exeext conftest.$ac_ext
53907 CFLAGS="$chktls_save_CFLAGS"
53908 LDFLAGS="$chktls_save_LDFLAGS"
53909 else
53910 gcc_cv_have_tls=no
53911 fi
53912 rm -f core conftest.err conftest.$ac_objext \
53913 conftest$ac_exeext conftest.$ac_ext
53914
53915
53916 else
53917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53918 /* end confdefs.h. */
53919 __thread int a; int b; int main() { return a = b; }
53920 _ACEOF
53921 if ac_fn_c_try_run "$LINENO"; then :
53922 chktls_save_LDFLAGS="$LDFLAGS"
53923 LDFLAGS="-static $LDFLAGS"
53924 if test x$gcc_no_link = xyes; then
53925 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53926 fi
53927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53928 /* end confdefs.h. */
53929 int main() { return 0; }
53930 _ACEOF
53931 if ac_fn_c_try_link "$LINENO"; then :
53932 if test "$cross_compiling" = yes; then :
53933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53935 as_fn_error $? "cannot run test program while cross compiling
53936 See \`config.log' for more details" "$LINENO" 5; }
53937 else
53938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53939 /* end confdefs.h. */
53940 __thread int a; int b; int main() { return a = b; }
53941 _ACEOF
53942 if ac_fn_c_try_run "$LINENO"; then :
53943 gcc_cv_have_tls=yes
53944 else
53945 gcc_cv_have_tls=no
53946 fi
53947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53948 conftest.$ac_objext conftest.beam conftest.$ac_ext
53949 fi
53950
53951 else
53952 gcc_cv_have_tls=yes
53953 fi
53954 rm -f core conftest.err conftest.$ac_objext \
53955 conftest$ac_exeext conftest.$ac_ext
53956 LDFLAGS="$chktls_save_LDFLAGS"
53957 if test $gcc_cv_have_tls = yes; then
53958 chktls_save_CFLAGS="$CFLAGS"
53959 thread_CFLAGS=failed
53960 for flag in '' '-pthread' '-lpthread'; do
53961 CFLAGS="$flag $chktls_save_CFLAGS"
53962 if test x$gcc_no_link = xyes; then
53963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53964 fi
53965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53966 /* end confdefs.h. */
53967 #include <pthread.h>
53968 void *g(void *d) { return NULL; }
53969 int
53970 main ()
53971 {
53972 pthread_t t; pthread_create(&t,NULL,g,NULL);
53973 ;
53974 return 0;
53975 }
53976 _ACEOF
53977 if ac_fn_c_try_link "$LINENO"; then :
53978 thread_CFLAGS="$flag"
53979 fi
53980 rm -f core conftest.err conftest.$ac_objext \
53981 conftest$ac_exeext conftest.$ac_ext
53982 if test "X$thread_CFLAGS" != Xfailed; then
53983 break
53984 fi
53985 done
53986 CFLAGS="$chktls_save_CFLAGS"
53987 if test "X$thread_CFLAGS" != Xfailed; then
53988 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53989 if test "$cross_compiling" = yes; then :
53990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53992 as_fn_error $? "cannot run test program while cross compiling
53993 See \`config.log' for more details" "$LINENO" 5; }
53994 else
53995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53996 /* end confdefs.h. */
53997 #include <pthread.h>
53998 __thread int a;
53999 static int *volatile a_in_other_thread;
54000 static void *
54001 thread_func (void *arg)
54002 {
54003 a_in_other_thread = &a;
54004 return (void *)0;
54005 }
54006 int
54007 main ()
54008 {
54009 pthread_t thread;
54010 void *thread_retval;
54011 int *volatile a_in_main_thread;
54012 a_in_main_thread = &a;
54013 if (pthread_create (&thread, (pthread_attr_t *)0,
54014 thread_func, (void *)0))
54015 return 0;
54016 if (pthread_join (thread, &thread_retval))
54017 return 0;
54018 return (a_in_other_thread == a_in_main_thread);
54019 ;
54020 return 0;
54021 }
54022 _ACEOF
54023 if ac_fn_c_try_run "$LINENO"; then :
54024 gcc_cv_have_tls=yes
54025 else
54026 gcc_cv_have_tls=no
54027 fi
54028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54029 conftest.$ac_objext conftest.beam conftest.$ac_ext
54030 fi
54031
54032 CFLAGS="$chktls_save_CFLAGS"
54033 fi
54034 fi
54035 else
54036 gcc_cv_have_tls=no
54037 fi
54038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54039 conftest.$ac_objext conftest.beam conftest.$ac_ext
54040 fi
54041
54042 fi
54043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54044 $as_echo "$gcc_cv_have_tls" >&6; }
54045 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54046
54047 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54048
54049 fi
54050 case "$target" in
54051 *-hpux10*)
54052 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
54053
54054 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54055
54056 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54057
54058 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
54059
54060 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54061
54062 ;;
54063 esac
54064 ;;
54065 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54066
54067 # All these tests are for C++; save the language and the compiler flags.
54068 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54069 # found in GLIBCXX_CONFIGURE.
54070
54071 ac_ext=cpp
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076
54077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54078 ac_save_CXXFLAGS="$CXXFLAGS"
54079
54080 # Check for -ffunction-sections -fdata-sections
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54082 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54083 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54085 /* end confdefs.h. */
54086 int foo; void bar() { };
54087 int
54088 main ()
54089 {
54090
54091 ;
54092 return 0;
54093 }
54094 _ACEOF
54095 if ac_fn_cxx_try_compile "$LINENO"; then :
54096 ac_fdsections=yes
54097 else
54098 ac_fdsections=no
54099 fi
54100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54101 if test "$ac_test_CXXFLAGS" = set; then
54102 CXXFLAGS="$ac_save_CXXFLAGS"
54103 else
54104 # this is the suspicious part
54105 CXXFLAGS=''
54106 fi
54107 if test x"$ac_fdsections" = x"yes"; then
54108 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54109 fi
54110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54111 $as_echo "$ac_fdsections" >&6; }
54112
54113 ac_ext=c
54114 ac_cpp='$CPP $CPPFLAGS'
54115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54118
54119
54120
54121
54122 # If we're not using GNU ld, then there's no point in even trying these
54123 # tests. Check for that first. We should have already tested for gld
54124 # by now (in libtool), but require it now just to be safe...
54125 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54126 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54127
54128
54129
54130 # The name set by libtool depends on the version of libtool. Shame on us
54131 # for depending on an impl detail, but c'est la vie. Older versions used
54132 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54133 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54134 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54135 # set (hence we're using an older libtool), then set it.
54136 if test x${with_gnu_ld+set} != xset; then
54137 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54138 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54139 with_gnu_ld=no
54140 else
54141 with_gnu_ld=$ac_cv_prog_gnu_ld
54142 fi
54143 fi
54144
54145 # Start by getting the version number. I think the libtool test already
54146 # does some of this, but throws away the result.
54147 glibcxx_ld_is_gold=no
54148 if test x"$with_gnu_ld" = x"yes"; then
54149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54150 $as_echo_n "checking for ld version... " >&6; }
54151
54152 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54153 glibcxx_ld_is_gold=yes
54154 fi
54155 ldver=`$LD --version 2>/dev/null |
54156 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'`
54157
54158 glibcxx_gnu_ld_version=`echo $ldver | \
54159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54161 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54162 fi
54163
54164 # Set --gc-sections.
54165 glibcxx_have_gc_sections=no
54166 if test "$glibcxx_ld_is_gold" = "yes"; then
54167 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54168 glibcxx_have_gc_sections=yes
54169 fi
54170 else
54171 glibcxx_gcsections_min_ld=21602
54172 if test x"$with_gnu_ld" = x"yes" &&
54173 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54174 glibcxx_have_gc_sections=yes
54175 fi
54176 fi
54177 if test "$glibcxx_have_gc_sections" = "yes"; then
54178 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54179 # NB: This flag only works reliably after 2.16.1. Configure tests
54180 # for this are difficult, so hard wire a value that should work.
54181
54182 ac_test_CFLAGS="${CFLAGS+set}"
54183 ac_save_CFLAGS="$CFLAGS"
54184 CFLAGS='-Wl,--gc-sections'
54185
54186 # Check for -Wl,--gc-sections
54187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54188 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54189 if test x$gcc_no_link = xyes; then
54190 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54191 fi
54192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54193 /* end confdefs.h. */
54194 int one(void) { return 1; }
54195 int two(void) { return 2; }
54196
54197 int
54198 main ()
54199 {
54200 two();
54201 ;
54202 return 0;
54203 }
54204 _ACEOF
54205 if ac_fn_c_try_link "$LINENO"; then :
54206 ac_gcsections=yes
54207 else
54208 ac_gcsections=no
54209 fi
54210 rm -f core conftest.err conftest.$ac_objext \
54211 conftest$ac_exeext conftest.$ac_ext
54212 if test "$ac_gcsections" = "yes"; then
54213 rm -f conftest.c
54214 touch conftest.c
54215 if $CC -c conftest.c; then
54216 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54217 grep "Warning: gc-sections option ignored" > /dev/null; then
54218 ac_gcsections=no
54219 fi
54220 fi
54221 rm -f conftest.c conftest.o conftest
54222 fi
54223 if test "$ac_gcsections" = "yes"; then
54224 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54225 fi
54226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54227 $as_echo "$ac_gcsections" >&6; }
54228
54229 if test "$ac_test_CFLAGS" = set; then
54230 CFLAGS="$ac_save_CFLAGS"
54231 else
54232 # this is the suspicious part
54233 CFLAGS=''
54234 fi
54235 fi
54236
54237 # Set -z,relro.
54238 # Note this is only for shared objects.
54239 ac_ld_relro=no
54240 if test x"$with_gnu_ld" = x"yes"; then
54241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54242 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54243 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54244 if test -n "$cxx_z_relo"; then
54245 OPT_LDFLAGS="-Wl,-z,relro"
54246 ac_ld_relro=yes
54247 fi
54248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54249 $as_echo "$ac_ld_relro" >&6; }
54250 fi
54251
54252 # Set linker optimization flags.
54253 if test x"$with_gnu_ld" = x"yes"; then
54254 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54255 fi
54256
54257
54258
54259
54260
54261 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54262 ac_save_CXXFLAGS="$CXXFLAGS"
54263 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54264
54265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54266 $as_echo_n "checking for sin in -lm... " >&6; }
54267 if ${ac_cv_lib_m_sin+:} false; then :
54268 $as_echo_n "(cached) " >&6
54269 else
54270 ac_check_lib_save_LIBS=$LIBS
54271 LIBS="-lm $LIBS"
54272 if test x$gcc_no_link = xyes; then
54273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54274 fi
54275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54276 /* end confdefs.h. */
54277
54278 /* Override any GCC internal prototype to avoid an error.
54279 Use char because int might match the return type of a GCC
54280 builtin and then its argument prototype would still apply. */
54281 #ifdef __cplusplus
54282 extern "C"
54283 #endif
54284 char sin ();
54285 int
54286 main ()
54287 {
54288 return sin ();
54289 ;
54290 return 0;
54291 }
54292 _ACEOF
54293 if ac_fn_c_try_link "$LINENO"; then :
54294 ac_cv_lib_m_sin=yes
54295 else
54296 ac_cv_lib_m_sin=no
54297 fi
54298 rm -f core conftest.err conftest.$ac_objext \
54299 conftest$ac_exeext conftest.$ac_ext
54300 LIBS=$ac_check_lib_save_LIBS
54301 fi
54302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54303 $as_echo "$ac_cv_lib_m_sin" >&6; }
54304 if test "x$ac_cv_lib_m_sin" = xyes; then :
54305 libm="-lm"
54306 fi
54307
54308 ac_save_LIBS="$LIBS"
54309 LIBS="$LIBS $libm"
54310
54311
54312
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54314 $as_echo_n "checking for isinf declaration... " >&6; }
54315 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54316 if ${glibcxx_cv_func_isinf_use+:} false; then :
54317 $as_echo_n "(cached) " >&6
54318 else
54319
54320
54321 ac_ext=cpp
54322 ac_cpp='$CXXCPP $CPPFLAGS'
54323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54326
54327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54328 /* end confdefs.h. */
54329 #include <math.h>
54330 #ifdef HAVE_IEEEFP_H
54331 #include <ieeefp.h>
54332 #endif
54333
54334 int
54335 main ()
54336 {
54337 isinf(0);
54338 ;
54339 return 0;
54340 }
54341 _ACEOF
54342 if ac_fn_cxx_try_compile "$LINENO"; then :
54343 glibcxx_cv_func_isinf_use=yes
54344 else
54345 glibcxx_cv_func_isinf_use=no
54346 fi
54347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54348 ac_ext=c
54349 ac_cpp='$CPP $CPPFLAGS'
54350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54353
54354
54355 fi
54356
54357 fi
54358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54359 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54360
54361 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54362 for ac_func in isinf
54363 do :
54364 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54365 if test "x$ac_cv_func_isinf" = xyes; then :
54366 cat >>confdefs.h <<_ACEOF
54367 #define HAVE_ISINF 1
54368 _ACEOF
54369
54370 fi
54371 done
54372
54373 else
54374
54375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54376 $as_echo_n "checking for _isinf declaration... " >&6; }
54377 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54378 if ${glibcxx_cv_func__isinf_use+:} false; then :
54379 $as_echo_n "(cached) " >&6
54380 else
54381
54382
54383 ac_ext=cpp
54384 ac_cpp='$CXXCPP $CPPFLAGS'
54385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54388
54389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54390 /* end confdefs.h. */
54391 #include <math.h>
54392 #ifdef HAVE_IEEEFP_H
54393 #include <ieeefp.h>
54394 #endif
54395
54396 int
54397 main ()
54398 {
54399 _isinf(0);
54400 ;
54401 return 0;
54402 }
54403 _ACEOF
54404 if ac_fn_cxx_try_compile "$LINENO"; then :
54405 glibcxx_cv_func__isinf_use=yes
54406 else
54407 glibcxx_cv_func__isinf_use=no
54408 fi
54409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54410 ac_ext=c
54411 ac_cpp='$CPP $CPPFLAGS'
54412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54415
54416
54417 fi
54418
54419 fi
54420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54421 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54422
54423 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54424 for ac_func in _isinf
54425 do :
54426 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54427 if test "x$ac_cv_func__isinf" = xyes; then :
54428 cat >>confdefs.h <<_ACEOF
54429 #define HAVE__ISINF 1
54430 _ACEOF
54431
54432 fi
54433 done
54434
54435 fi
54436 fi
54437
54438
54439
54440
54441
54442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54443 $as_echo_n "checking for isnan declaration... " >&6; }
54444 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54445 if ${glibcxx_cv_func_isnan_use+:} false; then :
54446 $as_echo_n "(cached) " >&6
54447 else
54448
54449
54450 ac_ext=cpp
54451 ac_cpp='$CXXCPP $CPPFLAGS'
54452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54455
54456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54457 /* end confdefs.h. */
54458 #include <math.h>
54459 #ifdef HAVE_IEEEFP_H
54460 #include <ieeefp.h>
54461 #endif
54462
54463 int
54464 main ()
54465 {
54466 isnan(0);
54467 ;
54468 return 0;
54469 }
54470 _ACEOF
54471 if ac_fn_cxx_try_compile "$LINENO"; then :
54472 glibcxx_cv_func_isnan_use=yes
54473 else
54474 glibcxx_cv_func_isnan_use=no
54475 fi
54476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54477 ac_ext=c
54478 ac_cpp='$CPP $CPPFLAGS'
54479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54482
54483
54484 fi
54485
54486 fi
54487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54488 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54489
54490 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54491 for ac_func in isnan
54492 do :
54493 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54494 if test "x$ac_cv_func_isnan" = xyes; then :
54495 cat >>confdefs.h <<_ACEOF
54496 #define HAVE_ISNAN 1
54497 _ACEOF
54498
54499 fi
54500 done
54501
54502 else
54503
54504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54505 $as_echo_n "checking for _isnan declaration... " >&6; }
54506 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54507 if ${glibcxx_cv_func__isnan_use+:} false; then :
54508 $as_echo_n "(cached) " >&6
54509 else
54510
54511
54512 ac_ext=cpp
54513 ac_cpp='$CXXCPP $CPPFLAGS'
54514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54517
54518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54519 /* end confdefs.h. */
54520 #include <math.h>
54521 #ifdef HAVE_IEEEFP_H
54522 #include <ieeefp.h>
54523 #endif
54524
54525 int
54526 main ()
54527 {
54528 _isnan(0);
54529 ;
54530 return 0;
54531 }
54532 _ACEOF
54533 if ac_fn_cxx_try_compile "$LINENO"; then :
54534 glibcxx_cv_func__isnan_use=yes
54535 else
54536 glibcxx_cv_func__isnan_use=no
54537 fi
54538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54539 ac_ext=c
54540 ac_cpp='$CPP $CPPFLAGS'
54541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54544
54545
54546 fi
54547
54548 fi
54549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54550 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54551
54552 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54553 for ac_func in _isnan
54554 do :
54555 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54556 if test "x$ac_cv_func__isnan" = xyes; then :
54557 cat >>confdefs.h <<_ACEOF
54558 #define HAVE__ISNAN 1
54559 _ACEOF
54560
54561 fi
54562 done
54563
54564 fi
54565 fi
54566
54567
54568
54569
54570
54571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54572 $as_echo_n "checking for finite declaration... " >&6; }
54573 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54574 if ${glibcxx_cv_func_finite_use+:} false; then :
54575 $as_echo_n "(cached) " >&6
54576 else
54577
54578
54579 ac_ext=cpp
54580 ac_cpp='$CXXCPP $CPPFLAGS'
54581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54584
54585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54586 /* end confdefs.h. */
54587 #include <math.h>
54588 #ifdef HAVE_IEEEFP_H
54589 #include <ieeefp.h>
54590 #endif
54591
54592 int
54593 main ()
54594 {
54595 finite(0);
54596 ;
54597 return 0;
54598 }
54599 _ACEOF
54600 if ac_fn_cxx_try_compile "$LINENO"; then :
54601 glibcxx_cv_func_finite_use=yes
54602 else
54603 glibcxx_cv_func_finite_use=no
54604 fi
54605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54606 ac_ext=c
54607 ac_cpp='$CPP $CPPFLAGS'
54608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54611
54612
54613 fi
54614
54615 fi
54616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54617 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54618
54619 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54620 for ac_func in finite
54621 do :
54622 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54623 if test "x$ac_cv_func_finite" = xyes; then :
54624 cat >>confdefs.h <<_ACEOF
54625 #define HAVE_FINITE 1
54626 _ACEOF
54627
54628 fi
54629 done
54630
54631 else
54632
54633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54634 $as_echo_n "checking for _finite declaration... " >&6; }
54635 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54636 if ${glibcxx_cv_func__finite_use+:} false; then :
54637 $as_echo_n "(cached) " >&6
54638 else
54639
54640
54641 ac_ext=cpp
54642 ac_cpp='$CXXCPP $CPPFLAGS'
54643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54646
54647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54648 /* end confdefs.h. */
54649 #include <math.h>
54650 #ifdef HAVE_IEEEFP_H
54651 #include <ieeefp.h>
54652 #endif
54653
54654 int
54655 main ()
54656 {
54657 _finite(0);
54658 ;
54659 return 0;
54660 }
54661 _ACEOF
54662 if ac_fn_cxx_try_compile "$LINENO"; then :
54663 glibcxx_cv_func__finite_use=yes
54664 else
54665 glibcxx_cv_func__finite_use=no
54666 fi
54667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54668 ac_ext=c
54669 ac_cpp='$CPP $CPPFLAGS'
54670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54673
54674
54675 fi
54676
54677 fi
54678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54679 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54680
54681 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54682 for ac_func in _finite
54683 do :
54684 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54685 if test "x$ac_cv_func__finite" = xyes; then :
54686 cat >>confdefs.h <<_ACEOF
54687 #define HAVE__FINITE 1
54688 _ACEOF
54689
54690 fi
54691 done
54692
54693 fi
54694 fi
54695
54696
54697
54698
54699
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54701 $as_echo_n "checking for sincos declaration... " >&6; }
54702 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54703 if ${glibcxx_cv_func_sincos_use+:} false; then :
54704 $as_echo_n "(cached) " >&6
54705 else
54706
54707
54708 ac_ext=cpp
54709 ac_cpp='$CXXCPP $CPPFLAGS'
54710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54713
54714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54715 /* end confdefs.h. */
54716 #include <math.h>
54717 int
54718 main ()
54719 {
54720 sincos(0, 0, 0);
54721 ;
54722 return 0;
54723 }
54724 _ACEOF
54725 if ac_fn_cxx_try_compile "$LINENO"; then :
54726 glibcxx_cv_func_sincos_use=yes
54727 else
54728 glibcxx_cv_func_sincos_use=no
54729 fi
54730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54731 ac_ext=c
54732 ac_cpp='$CPP $CPPFLAGS'
54733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54736
54737
54738 fi
54739
54740 fi
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54742 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54743
54744 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54745 for ac_func in sincos
54746 do :
54747 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54748 if test "x$ac_cv_func_sincos" = xyes; then :
54749 cat >>confdefs.h <<_ACEOF
54750 #define HAVE_SINCOS 1
54751 _ACEOF
54752
54753 fi
54754 done
54755
54756 else
54757
54758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54759 $as_echo_n "checking for _sincos declaration... " >&6; }
54760 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54761 if ${glibcxx_cv_func__sincos_use+:} false; then :
54762 $as_echo_n "(cached) " >&6
54763 else
54764
54765
54766 ac_ext=cpp
54767 ac_cpp='$CXXCPP $CPPFLAGS'
54768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54771
54772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54773 /* end confdefs.h. */
54774 #include <math.h>
54775 int
54776 main ()
54777 {
54778 _sincos(0, 0, 0);
54779 ;
54780 return 0;
54781 }
54782 _ACEOF
54783 if ac_fn_cxx_try_compile "$LINENO"; then :
54784 glibcxx_cv_func__sincos_use=yes
54785 else
54786 glibcxx_cv_func__sincos_use=no
54787 fi
54788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54789 ac_ext=c
54790 ac_cpp='$CPP $CPPFLAGS'
54791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54794
54795
54796 fi
54797
54798 fi
54799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54800 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54801
54802 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54803 for ac_func in _sincos
54804 do :
54805 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54806 if test "x$ac_cv_func__sincos" = xyes; then :
54807 cat >>confdefs.h <<_ACEOF
54808 #define HAVE__SINCOS 1
54809 _ACEOF
54810
54811 fi
54812 done
54813
54814 fi
54815 fi
54816
54817
54818
54819
54820
54821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54822 $as_echo_n "checking for fpclass declaration... " >&6; }
54823 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54824 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54825 $as_echo_n "(cached) " >&6
54826 else
54827
54828
54829 ac_ext=cpp
54830 ac_cpp='$CXXCPP $CPPFLAGS'
54831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54834
54835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54836 /* end confdefs.h. */
54837 #include <math.h>
54838 #ifdef HAVE_IEEEFP_H
54839 #include <ieeefp.h>
54840 #endif
54841
54842 int
54843 main ()
54844 {
54845 fpclass(0);
54846 ;
54847 return 0;
54848 }
54849 _ACEOF
54850 if ac_fn_cxx_try_compile "$LINENO"; then :
54851 glibcxx_cv_func_fpclass_use=yes
54852 else
54853 glibcxx_cv_func_fpclass_use=no
54854 fi
54855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54856 ac_ext=c
54857 ac_cpp='$CPP $CPPFLAGS'
54858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54861
54862
54863 fi
54864
54865 fi
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54867 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54868
54869 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54870 for ac_func in fpclass
54871 do :
54872 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54873 if test "x$ac_cv_func_fpclass" = xyes; then :
54874 cat >>confdefs.h <<_ACEOF
54875 #define HAVE_FPCLASS 1
54876 _ACEOF
54877
54878 fi
54879 done
54880
54881 else
54882
54883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54884 $as_echo_n "checking for _fpclass declaration... " >&6; }
54885 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54886 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54887 $as_echo_n "(cached) " >&6
54888 else
54889
54890
54891 ac_ext=cpp
54892 ac_cpp='$CXXCPP $CPPFLAGS'
54893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54896
54897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54898 /* end confdefs.h. */
54899 #include <math.h>
54900 #ifdef HAVE_IEEEFP_H
54901 #include <ieeefp.h>
54902 #endif
54903
54904 int
54905 main ()
54906 {
54907 _fpclass(0);
54908 ;
54909 return 0;
54910 }
54911 _ACEOF
54912 if ac_fn_cxx_try_compile "$LINENO"; then :
54913 glibcxx_cv_func__fpclass_use=yes
54914 else
54915 glibcxx_cv_func__fpclass_use=no
54916 fi
54917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54918 ac_ext=c
54919 ac_cpp='$CPP $CPPFLAGS'
54920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54923
54924
54925 fi
54926
54927 fi
54928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54929 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54930
54931 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54932 for ac_func in _fpclass
54933 do :
54934 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54935 if test "x$ac_cv_func__fpclass" = xyes; then :
54936 cat >>confdefs.h <<_ACEOF
54937 #define HAVE__FPCLASS 1
54938 _ACEOF
54939
54940 fi
54941 done
54942
54943 fi
54944 fi
54945
54946
54947
54948
54949
54950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54951 $as_echo_n "checking for qfpclass declaration... " >&6; }
54952 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54953 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54954 $as_echo_n "(cached) " >&6
54955 else
54956
54957
54958 ac_ext=cpp
54959 ac_cpp='$CXXCPP $CPPFLAGS'
54960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54963
54964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54965 /* end confdefs.h. */
54966 #include <math.h>
54967 #ifdef HAVE_IEEEFP_H
54968 #include <ieeefp.h>
54969 #endif
54970
54971 int
54972 main ()
54973 {
54974 qfpclass(0);
54975 ;
54976 return 0;
54977 }
54978 _ACEOF
54979 if ac_fn_cxx_try_compile "$LINENO"; then :
54980 glibcxx_cv_func_qfpclass_use=yes
54981 else
54982 glibcxx_cv_func_qfpclass_use=no
54983 fi
54984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54985 ac_ext=c
54986 ac_cpp='$CPP $CPPFLAGS'
54987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54990
54991
54992 fi
54993
54994 fi
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54996 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54997
54998 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54999 for ac_func in qfpclass
55000 do :
55001 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55002 if test "x$ac_cv_func_qfpclass" = xyes; then :
55003 cat >>confdefs.h <<_ACEOF
55004 #define HAVE_QFPCLASS 1
55005 _ACEOF
55006
55007 fi
55008 done
55009
55010 else
55011
55012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55013 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55014 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55015 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55016 $as_echo_n "(cached) " >&6
55017 else
55018
55019
55020 ac_ext=cpp
55021 ac_cpp='$CXXCPP $CPPFLAGS'
55022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55025
55026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55027 /* end confdefs.h. */
55028 #include <math.h>
55029 #ifdef HAVE_IEEEFP_H
55030 #include <ieeefp.h>
55031 #endif
55032
55033 int
55034 main ()
55035 {
55036 _qfpclass(0);
55037 ;
55038 return 0;
55039 }
55040 _ACEOF
55041 if ac_fn_cxx_try_compile "$LINENO"; then :
55042 glibcxx_cv_func__qfpclass_use=yes
55043 else
55044 glibcxx_cv_func__qfpclass_use=no
55045 fi
55046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55047 ac_ext=c
55048 ac_cpp='$CPP $CPPFLAGS'
55049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55052
55053
55054 fi
55055
55056 fi
55057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55058 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55059
55060 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55061 for ac_func in _qfpclass
55062 do :
55063 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55064 if test "x$ac_cv_func__qfpclass" = xyes; then :
55065 cat >>confdefs.h <<_ACEOF
55066 #define HAVE__QFPCLASS 1
55067 _ACEOF
55068
55069 fi
55070 done
55071
55072 fi
55073 fi
55074
55075
55076
55077
55078
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55080 $as_echo_n "checking for hypot declaration... " >&6; }
55081 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55082 if ${glibcxx_cv_func_hypot_use+:} false; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55085
55086
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55092
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55096 int
55097 main ()
55098 {
55099 hypot(0, 0);
55100 ;
55101 return 0;
55102 }
55103 _ACEOF
55104 if ac_fn_cxx_try_compile "$LINENO"; then :
55105 glibcxx_cv_func_hypot_use=yes
55106 else
55107 glibcxx_cv_func_hypot_use=no
55108 fi
55109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55110 ac_ext=c
55111 ac_cpp='$CPP $CPPFLAGS'
55112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55115
55116
55117 fi
55118
55119 fi
55120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55121 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55122
55123 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55124 for ac_func in hypot
55125 do :
55126 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55127 if test "x$ac_cv_func_hypot" = xyes; then :
55128 cat >>confdefs.h <<_ACEOF
55129 #define HAVE_HYPOT 1
55130 _ACEOF
55131
55132 fi
55133 done
55134
55135 else
55136
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55138 $as_echo_n "checking for _hypot declaration... " >&6; }
55139 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55140 if ${glibcxx_cv_func__hypot_use+:} false; then :
55141 $as_echo_n "(cached) " >&6
55142 else
55143
55144
55145 ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150
55151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h. */
55153 #include <math.h>
55154 int
55155 main ()
55156 {
55157 _hypot(0, 0);
55158 ;
55159 return 0;
55160 }
55161 _ACEOF
55162 if ac_fn_cxx_try_compile "$LINENO"; then :
55163 glibcxx_cv_func__hypot_use=yes
55164 else
55165 glibcxx_cv_func__hypot_use=no
55166 fi
55167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55168 ac_ext=c
55169 ac_cpp='$CPP $CPPFLAGS'
55170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55173
55174
55175 fi
55176
55177 fi
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55179 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55180
55181 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55182 for ac_func in _hypot
55183 do :
55184 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55185 if test "x$ac_cv_func__hypot" = xyes; then :
55186 cat >>confdefs.h <<_ACEOF
55187 #define HAVE__HYPOT 1
55188 _ACEOF
55189
55190 fi
55191 done
55192
55193 fi
55194 fi
55195
55196
55197
55198
55199
55200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55201 $as_echo_n "checking for float trig functions... " >&6; }
55202 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55203 $as_echo_n "(cached) " >&6
55204 else
55205
55206
55207 ac_ext=cpp
55208 ac_cpp='$CXXCPP $CPPFLAGS'
55209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212
55213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55214 /* end confdefs.h. */
55215 #include <math.h>
55216 int
55217 main ()
55218 {
55219 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55220 ;
55221 return 0;
55222 }
55223 _ACEOF
55224 if ac_fn_cxx_try_compile "$LINENO"; then :
55225 glibcxx_cv_func_float_trig_use=yes
55226 else
55227 glibcxx_cv_func_float_trig_use=no
55228 fi
55229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55230 ac_ext=c
55231 ac_cpp='$CPP $CPPFLAGS'
55232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55235
55236 fi
55237
55238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55239 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55240 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55241 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55242 do :
55243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55246 cat >>confdefs.h <<_ACEOF
55247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55248 _ACEOF
55249
55250 fi
55251 done
55252
55253 else
55254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55255 $as_echo_n "checking for _float trig functions... " >&6; }
55256 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55257 $as_echo_n "(cached) " >&6
55258 else
55259
55260
55261 ac_ext=cpp
55262 ac_cpp='$CXXCPP $CPPFLAGS'
55263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55266
55267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55268 /* end confdefs.h. */
55269 #include <math.h>
55270 int
55271 main ()
55272 {
55273 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55274 ;
55275 return 0;
55276 }
55277 _ACEOF
55278 if ac_fn_cxx_try_compile "$LINENO"; then :
55279 glibcxx_cv_func__float_trig_use=yes
55280 else
55281 glibcxx_cv_func__float_trig_use=no
55282 fi
55283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55284 ac_ext=c
55285 ac_cpp='$CPP $CPPFLAGS'
55286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55289
55290 fi
55291
55292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55293 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55294 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55295 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55296 do :
55297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55299 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55300 cat >>confdefs.h <<_ACEOF
55301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55302 _ACEOF
55303
55304 fi
55305 done
55306
55307 fi
55308 fi
55309
55310
55311
55312
55313
55314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55315 $as_echo_n "checking for float round functions... " >&6; }
55316 if ${glibcxx_cv_func_float_round_use+:} false; then :
55317 $as_echo_n "(cached) " >&6
55318 else
55319
55320
55321 ac_ext=cpp
55322 ac_cpp='$CXXCPP $CPPFLAGS'
55323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55326
55327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55328 /* end confdefs.h. */
55329 #include <math.h>
55330 int
55331 main ()
55332 {
55333 ceilf (0); floorf (0);
55334 ;
55335 return 0;
55336 }
55337 _ACEOF
55338 if ac_fn_cxx_try_compile "$LINENO"; then :
55339 glibcxx_cv_func_float_round_use=yes
55340 else
55341 glibcxx_cv_func_float_round_use=no
55342 fi
55343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55344 ac_ext=c
55345 ac_cpp='$CPP $CPPFLAGS'
55346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55349
55350 fi
55351
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55353 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55354 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55355 for ac_func in ceilf floorf
55356 do :
55357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55360 cat >>confdefs.h <<_ACEOF
55361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55362 _ACEOF
55363
55364 fi
55365 done
55366
55367 else
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55369 $as_echo_n "checking for _float round functions... " >&6; }
55370 if ${glibcxx_cv_func__float_round_use+:} false; then :
55371 $as_echo_n "(cached) " >&6
55372 else
55373
55374
55375 ac_ext=cpp
55376 ac_cpp='$CXXCPP $CPPFLAGS'
55377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55380
55381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55382 /* end confdefs.h. */
55383 #include <math.h>
55384 int
55385 main ()
55386 {
55387 _ceilf (0); _floorf (0);
55388 ;
55389 return 0;
55390 }
55391 _ACEOF
55392 if ac_fn_cxx_try_compile "$LINENO"; then :
55393 glibcxx_cv_func__float_round_use=yes
55394 else
55395 glibcxx_cv_func__float_round_use=no
55396 fi
55397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55398 ac_ext=c
55399 ac_cpp='$CPP $CPPFLAGS'
55400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55403
55404 fi
55405
55406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55407 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55408 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55409 for ac_func in _ceilf _floorf
55410 do :
55411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55414 cat >>confdefs.h <<_ACEOF
55415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55416 _ACEOF
55417
55418 fi
55419 done
55420
55421 fi
55422 fi
55423
55424
55425
55426
55427
55428
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55430 $as_echo_n "checking for expf declaration... " >&6; }
55431 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55432 if ${glibcxx_cv_func_expf_use+:} false; then :
55433 $as_echo_n "(cached) " >&6
55434 else
55435
55436
55437 ac_ext=cpp
55438 ac_cpp='$CXXCPP $CPPFLAGS'
55439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55442
55443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55444 /* end confdefs.h. */
55445 #include <math.h>
55446 #ifdef HAVE_IEEEFP_H
55447 #include <ieeefp.h>
55448 #endif
55449
55450 int
55451 main ()
55452 {
55453 expf(0);
55454 ;
55455 return 0;
55456 }
55457 _ACEOF
55458 if ac_fn_cxx_try_compile "$LINENO"; then :
55459 glibcxx_cv_func_expf_use=yes
55460 else
55461 glibcxx_cv_func_expf_use=no
55462 fi
55463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55464 ac_ext=c
55465 ac_cpp='$CPP $CPPFLAGS'
55466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55469
55470
55471 fi
55472
55473 fi
55474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55475 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55476
55477 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55478 for ac_func in expf
55479 do :
55480 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55481 if test "x$ac_cv_func_expf" = xyes; then :
55482 cat >>confdefs.h <<_ACEOF
55483 #define HAVE_EXPF 1
55484 _ACEOF
55485
55486 fi
55487 done
55488
55489 else
55490
55491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55492 $as_echo_n "checking for _expf declaration... " >&6; }
55493 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55494 if ${glibcxx_cv_func__expf_use+:} false; then :
55495 $as_echo_n "(cached) " >&6
55496 else
55497
55498
55499 ac_ext=cpp
55500 ac_cpp='$CXXCPP $CPPFLAGS'
55501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55504
55505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55506 /* end confdefs.h. */
55507 #include <math.h>
55508 #ifdef HAVE_IEEEFP_H
55509 #include <ieeefp.h>
55510 #endif
55511
55512 int
55513 main ()
55514 {
55515 _expf(0);
55516 ;
55517 return 0;
55518 }
55519 _ACEOF
55520 if ac_fn_cxx_try_compile "$LINENO"; then :
55521 glibcxx_cv_func__expf_use=yes
55522 else
55523 glibcxx_cv_func__expf_use=no
55524 fi
55525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55526 ac_ext=c
55527 ac_cpp='$CPP $CPPFLAGS'
55528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55531
55532
55533 fi
55534
55535 fi
55536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55537 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55538
55539 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55540 for ac_func in _expf
55541 do :
55542 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55543 if test "x$ac_cv_func__expf" = xyes; then :
55544 cat >>confdefs.h <<_ACEOF
55545 #define HAVE__EXPF 1
55546 _ACEOF
55547
55548 fi
55549 done
55550
55551 fi
55552 fi
55553
55554
55555
55556
55557
55558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55559 $as_echo_n "checking for isnanf declaration... " >&6; }
55560 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55561 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55562 $as_echo_n "(cached) " >&6
55563 else
55564
55565
55566 ac_ext=cpp
55567 ac_cpp='$CXXCPP $CPPFLAGS'
55568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55571
55572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55573 /* end confdefs.h. */
55574 #include <math.h>
55575 #ifdef HAVE_IEEEFP_H
55576 #include <ieeefp.h>
55577 #endif
55578
55579 int
55580 main ()
55581 {
55582 isnanf(0);
55583 ;
55584 return 0;
55585 }
55586 _ACEOF
55587 if ac_fn_cxx_try_compile "$LINENO"; then :
55588 glibcxx_cv_func_isnanf_use=yes
55589 else
55590 glibcxx_cv_func_isnanf_use=no
55591 fi
55592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55593 ac_ext=c
55594 ac_cpp='$CPP $CPPFLAGS'
55595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55598
55599
55600 fi
55601
55602 fi
55603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55604 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55605
55606 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55607 for ac_func in isnanf
55608 do :
55609 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55610 if test "x$ac_cv_func_isnanf" = xyes; then :
55611 cat >>confdefs.h <<_ACEOF
55612 #define HAVE_ISNANF 1
55613 _ACEOF
55614
55615 fi
55616 done
55617
55618 else
55619
55620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55621 $as_echo_n "checking for _isnanf declaration... " >&6; }
55622 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55623 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55624 $as_echo_n "(cached) " >&6
55625 else
55626
55627
55628 ac_ext=cpp
55629 ac_cpp='$CXXCPP $CPPFLAGS'
55630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55633
55634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55635 /* end confdefs.h. */
55636 #include <math.h>
55637 #ifdef HAVE_IEEEFP_H
55638 #include <ieeefp.h>
55639 #endif
55640
55641 int
55642 main ()
55643 {
55644 _isnanf(0);
55645 ;
55646 return 0;
55647 }
55648 _ACEOF
55649 if ac_fn_cxx_try_compile "$LINENO"; then :
55650 glibcxx_cv_func__isnanf_use=yes
55651 else
55652 glibcxx_cv_func__isnanf_use=no
55653 fi
55654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55655 ac_ext=c
55656 ac_cpp='$CPP $CPPFLAGS'
55657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55660
55661
55662 fi
55663
55664 fi
55665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55666 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55667
55668 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55669 for ac_func in _isnanf
55670 do :
55671 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55672 if test "x$ac_cv_func__isnanf" = xyes; then :
55673 cat >>confdefs.h <<_ACEOF
55674 #define HAVE__ISNANF 1
55675 _ACEOF
55676
55677 fi
55678 done
55679
55680 fi
55681 fi
55682
55683
55684
55685
55686
55687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55688 $as_echo_n "checking for isinff declaration... " >&6; }
55689 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55690 if ${glibcxx_cv_func_isinff_use+:} false; then :
55691 $as_echo_n "(cached) " >&6
55692 else
55693
55694
55695 ac_ext=cpp
55696 ac_cpp='$CXXCPP $CPPFLAGS'
55697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55700
55701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55702 /* end confdefs.h. */
55703 #include <math.h>
55704 #ifdef HAVE_IEEEFP_H
55705 #include <ieeefp.h>
55706 #endif
55707
55708 int
55709 main ()
55710 {
55711 isinff(0);
55712 ;
55713 return 0;
55714 }
55715 _ACEOF
55716 if ac_fn_cxx_try_compile "$LINENO"; then :
55717 glibcxx_cv_func_isinff_use=yes
55718 else
55719 glibcxx_cv_func_isinff_use=no
55720 fi
55721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55722 ac_ext=c
55723 ac_cpp='$CPP $CPPFLAGS'
55724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55727
55728
55729 fi
55730
55731 fi
55732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55733 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55734
55735 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55736 for ac_func in isinff
55737 do :
55738 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55739 if test "x$ac_cv_func_isinff" = xyes; then :
55740 cat >>confdefs.h <<_ACEOF
55741 #define HAVE_ISINFF 1
55742 _ACEOF
55743
55744 fi
55745 done
55746
55747 else
55748
55749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55750 $as_echo_n "checking for _isinff declaration... " >&6; }
55751 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55752 if ${glibcxx_cv_func__isinff_use+:} false; then :
55753 $as_echo_n "(cached) " >&6
55754 else
55755
55756
55757 ac_ext=cpp
55758 ac_cpp='$CXXCPP $CPPFLAGS'
55759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55762
55763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55764 /* end confdefs.h. */
55765 #include <math.h>
55766 #ifdef HAVE_IEEEFP_H
55767 #include <ieeefp.h>
55768 #endif
55769
55770 int
55771 main ()
55772 {
55773 _isinff(0);
55774 ;
55775 return 0;
55776 }
55777 _ACEOF
55778 if ac_fn_cxx_try_compile "$LINENO"; then :
55779 glibcxx_cv_func__isinff_use=yes
55780 else
55781 glibcxx_cv_func__isinff_use=no
55782 fi
55783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55784 ac_ext=c
55785 ac_cpp='$CPP $CPPFLAGS'
55786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55789
55790
55791 fi
55792
55793 fi
55794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55795 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55796
55797 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55798 for ac_func in _isinff
55799 do :
55800 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55801 if test "x$ac_cv_func__isinff" = xyes; then :
55802 cat >>confdefs.h <<_ACEOF
55803 #define HAVE__ISINFF 1
55804 _ACEOF
55805
55806 fi
55807 done
55808
55809 fi
55810 fi
55811
55812
55813
55814
55815
55816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55817 $as_echo_n "checking for atan2f declaration... " >&6; }
55818 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55819 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55820 $as_echo_n "(cached) " >&6
55821 else
55822
55823
55824 ac_ext=cpp
55825 ac_cpp='$CXXCPP $CPPFLAGS'
55826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55829
55830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55831 /* end confdefs.h. */
55832 #include <math.h>
55833 int
55834 main ()
55835 {
55836 atan2f(0, 0);
55837 ;
55838 return 0;
55839 }
55840 _ACEOF
55841 if ac_fn_cxx_try_compile "$LINENO"; then :
55842 glibcxx_cv_func_atan2f_use=yes
55843 else
55844 glibcxx_cv_func_atan2f_use=no
55845 fi
55846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55852
55853
55854 fi
55855
55856 fi
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55858 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55859
55860 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55861 for ac_func in atan2f
55862 do :
55863 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55864 if test "x$ac_cv_func_atan2f" = xyes; then :
55865 cat >>confdefs.h <<_ACEOF
55866 #define HAVE_ATAN2F 1
55867 _ACEOF
55868
55869 fi
55870 done
55871
55872 else
55873
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55875 $as_echo_n "checking for _atan2f declaration... " >&6; }
55876 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55877 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55878 $as_echo_n "(cached) " >&6
55879 else
55880
55881
55882 ac_ext=cpp
55883 ac_cpp='$CXXCPP $CPPFLAGS'
55884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55887
55888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55889 /* end confdefs.h. */
55890 #include <math.h>
55891 int
55892 main ()
55893 {
55894 _atan2f(0, 0);
55895 ;
55896 return 0;
55897 }
55898 _ACEOF
55899 if ac_fn_cxx_try_compile "$LINENO"; then :
55900 glibcxx_cv_func__atan2f_use=yes
55901 else
55902 glibcxx_cv_func__atan2f_use=no
55903 fi
55904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55905 ac_ext=c
55906 ac_cpp='$CPP $CPPFLAGS'
55907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55910
55911
55912 fi
55913
55914 fi
55915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55916 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55917
55918 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55919 for ac_func in _atan2f
55920 do :
55921 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55922 if test "x$ac_cv_func__atan2f" = xyes; then :
55923 cat >>confdefs.h <<_ACEOF
55924 #define HAVE__ATAN2F 1
55925 _ACEOF
55926
55927 fi
55928 done
55929
55930 fi
55931 fi
55932
55933
55934
55935
55936
55937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55938 $as_echo_n "checking for fabsf declaration... " >&6; }
55939 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55940 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55941 $as_echo_n "(cached) " >&6
55942 else
55943
55944
55945 ac_ext=cpp
55946 ac_cpp='$CXXCPP $CPPFLAGS'
55947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55950
55951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55952 /* end confdefs.h. */
55953 #include <math.h>
55954 #ifdef HAVE_IEEEFP_H
55955 #include <ieeefp.h>
55956 #endif
55957
55958 int
55959 main ()
55960 {
55961 fabsf(0);
55962 ;
55963 return 0;
55964 }
55965 _ACEOF
55966 if ac_fn_cxx_try_compile "$LINENO"; then :
55967 glibcxx_cv_func_fabsf_use=yes
55968 else
55969 glibcxx_cv_func_fabsf_use=no
55970 fi
55971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55972 ac_ext=c
55973 ac_cpp='$CPP $CPPFLAGS'
55974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55977
55978
55979 fi
55980
55981 fi
55982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55983 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55984
55985 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55986 for ac_func in fabsf
55987 do :
55988 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55989 if test "x$ac_cv_func_fabsf" = xyes; then :
55990 cat >>confdefs.h <<_ACEOF
55991 #define HAVE_FABSF 1
55992 _ACEOF
55993
55994 fi
55995 done
55996
55997 else
55998
55999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56000 $as_echo_n "checking for _fabsf declaration... " >&6; }
56001 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56002 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56003 $as_echo_n "(cached) " >&6
56004 else
56005
56006
56007 ac_ext=cpp
56008 ac_cpp='$CXXCPP $CPPFLAGS'
56009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56012
56013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56014 /* end confdefs.h. */
56015 #include <math.h>
56016 #ifdef HAVE_IEEEFP_H
56017 #include <ieeefp.h>
56018 #endif
56019
56020 int
56021 main ()
56022 {
56023 _fabsf(0);
56024 ;
56025 return 0;
56026 }
56027 _ACEOF
56028 if ac_fn_cxx_try_compile "$LINENO"; then :
56029 glibcxx_cv_func__fabsf_use=yes
56030 else
56031 glibcxx_cv_func__fabsf_use=no
56032 fi
56033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56034 ac_ext=c
56035 ac_cpp='$CPP $CPPFLAGS'
56036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56039
56040
56041 fi
56042
56043 fi
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56045 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56046
56047 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56048 for ac_func in _fabsf
56049 do :
56050 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56051 if test "x$ac_cv_func__fabsf" = xyes; then :
56052 cat >>confdefs.h <<_ACEOF
56053 #define HAVE__FABSF 1
56054 _ACEOF
56055
56056 fi
56057 done
56058
56059 fi
56060 fi
56061
56062
56063
56064
56065
56066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56067 $as_echo_n "checking for fmodf declaration... " >&6; }
56068 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56069 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56070 $as_echo_n "(cached) " >&6
56071 else
56072
56073
56074 ac_ext=cpp
56075 ac_cpp='$CXXCPP $CPPFLAGS'
56076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56079
56080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56081 /* end confdefs.h. */
56082 #include <math.h>
56083 int
56084 main ()
56085 {
56086 fmodf(0, 0);
56087 ;
56088 return 0;
56089 }
56090 _ACEOF
56091 if ac_fn_cxx_try_compile "$LINENO"; then :
56092 glibcxx_cv_func_fmodf_use=yes
56093 else
56094 glibcxx_cv_func_fmodf_use=no
56095 fi
56096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56097 ac_ext=c
56098 ac_cpp='$CPP $CPPFLAGS'
56099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56102
56103
56104 fi
56105
56106 fi
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56108 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56109
56110 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56111 for ac_func in fmodf
56112 do :
56113 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56114 if test "x$ac_cv_func_fmodf" = xyes; then :
56115 cat >>confdefs.h <<_ACEOF
56116 #define HAVE_FMODF 1
56117 _ACEOF
56118
56119 fi
56120 done
56121
56122 else
56123
56124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56125 $as_echo_n "checking for _fmodf declaration... " >&6; }
56126 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56127 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56128 $as_echo_n "(cached) " >&6
56129 else
56130
56131
56132 ac_ext=cpp
56133 ac_cpp='$CXXCPP $CPPFLAGS'
56134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56137
56138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56139 /* end confdefs.h. */
56140 #include <math.h>
56141 int
56142 main ()
56143 {
56144 _fmodf(0, 0);
56145 ;
56146 return 0;
56147 }
56148 _ACEOF
56149 if ac_fn_cxx_try_compile "$LINENO"; then :
56150 glibcxx_cv_func__fmodf_use=yes
56151 else
56152 glibcxx_cv_func__fmodf_use=no
56153 fi
56154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56155 ac_ext=c
56156 ac_cpp='$CPP $CPPFLAGS'
56157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56160
56161
56162 fi
56163
56164 fi
56165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56166 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56167
56168 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56169 for ac_func in _fmodf
56170 do :
56171 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56172 if test "x$ac_cv_func__fmodf" = xyes; then :
56173 cat >>confdefs.h <<_ACEOF
56174 #define HAVE__FMODF 1
56175 _ACEOF
56176
56177 fi
56178 done
56179
56180 fi
56181 fi
56182
56183
56184
56185
56186
56187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56188 $as_echo_n "checking for frexpf declaration... " >&6; }
56189 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56190 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56191 $as_echo_n "(cached) " >&6
56192 else
56193
56194
56195 ac_ext=cpp
56196 ac_cpp='$CXXCPP $CPPFLAGS'
56197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56200
56201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56202 /* end confdefs.h. */
56203 #include <math.h>
56204 int
56205 main ()
56206 {
56207 frexpf(0, 0);
56208 ;
56209 return 0;
56210 }
56211 _ACEOF
56212 if ac_fn_cxx_try_compile "$LINENO"; then :
56213 glibcxx_cv_func_frexpf_use=yes
56214 else
56215 glibcxx_cv_func_frexpf_use=no
56216 fi
56217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56218 ac_ext=c
56219 ac_cpp='$CPP $CPPFLAGS'
56220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56223
56224
56225 fi
56226
56227 fi
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56229 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56230
56231 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56232 for ac_func in frexpf
56233 do :
56234 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56235 if test "x$ac_cv_func_frexpf" = xyes; then :
56236 cat >>confdefs.h <<_ACEOF
56237 #define HAVE_FREXPF 1
56238 _ACEOF
56239
56240 fi
56241 done
56242
56243 else
56244
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56246 $as_echo_n "checking for _frexpf declaration... " >&6; }
56247 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56248 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56249 $as_echo_n "(cached) " >&6
56250 else
56251
56252
56253 ac_ext=cpp
56254 ac_cpp='$CXXCPP $CPPFLAGS'
56255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56258
56259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56260 /* end confdefs.h. */
56261 #include <math.h>
56262 int
56263 main ()
56264 {
56265 _frexpf(0, 0);
56266 ;
56267 return 0;
56268 }
56269 _ACEOF
56270 if ac_fn_cxx_try_compile "$LINENO"; then :
56271 glibcxx_cv_func__frexpf_use=yes
56272 else
56273 glibcxx_cv_func__frexpf_use=no
56274 fi
56275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56276 ac_ext=c
56277 ac_cpp='$CPP $CPPFLAGS'
56278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56281
56282
56283 fi
56284
56285 fi
56286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56287 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56288
56289 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56290 for ac_func in _frexpf
56291 do :
56292 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56293 if test "x$ac_cv_func__frexpf" = xyes; then :
56294 cat >>confdefs.h <<_ACEOF
56295 #define HAVE__FREXPF 1
56296 _ACEOF
56297
56298 fi
56299 done
56300
56301 fi
56302 fi
56303
56304
56305
56306
56307
56308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56309 $as_echo_n "checking for hypotf declaration... " >&6; }
56310 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56311 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56312 $as_echo_n "(cached) " >&6
56313 else
56314
56315
56316 ac_ext=cpp
56317 ac_cpp='$CXXCPP $CPPFLAGS'
56318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56321
56322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56323 /* end confdefs.h. */
56324 #include <math.h>
56325 int
56326 main ()
56327 {
56328 hypotf(0, 0);
56329 ;
56330 return 0;
56331 }
56332 _ACEOF
56333 if ac_fn_cxx_try_compile "$LINENO"; then :
56334 glibcxx_cv_func_hypotf_use=yes
56335 else
56336 glibcxx_cv_func_hypotf_use=no
56337 fi
56338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56339 ac_ext=c
56340 ac_cpp='$CPP $CPPFLAGS'
56341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56344
56345
56346 fi
56347
56348 fi
56349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56350 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56351
56352 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56353 for ac_func in hypotf
56354 do :
56355 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56356 if test "x$ac_cv_func_hypotf" = xyes; then :
56357 cat >>confdefs.h <<_ACEOF
56358 #define HAVE_HYPOTF 1
56359 _ACEOF
56360
56361 fi
56362 done
56363
56364 else
56365
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56367 $as_echo_n "checking for _hypotf declaration... " >&6; }
56368 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56369 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56370 $as_echo_n "(cached) " >&6
56371 else
56372
56373
56374 ac_ext=cpp
56375 ac_cpp='$CXXCPP $CPPFLAGS'
56376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56379
56380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56381 /* end confdefs.h. */
56382 #include <math.h>
56383 int
56384 main ()
56385 {
56386 _hypotf(0, 0);
56387 ;
56388 return 0;
56389 }
56390 _ACEOF
56391 if ac_fn_cxx_try_compile "$LINENO"; then :
56392 glibcxx_cv_func__hypotf_use=yes
56393 else
56394 glibcxx_cv_func__hypotf_use=no
56395 fi
56396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56397 ac_ext=c
56398 ac_cpp='$CPP $CPPFLAGS'
56399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56402
56403
56404 fi
56405
56406 fi
56407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56408 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56409
56410 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56411 for ac_func in _hypotf
56412 do :
56413 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56414 if test "x$ac_cv_func__hypotf" = xyes; then :
56415 cat >>confdefs.h <<_ACEOF
56416 #define HAVE__HYPOTF 1
56417 _ACEOF
56418
56419 fi
56420 done
56421
56422 fi
56423 fi
56424
56425
56426
56427
56428
56429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56430 $as_echo_n "checking for ldexpf declaration... " >&6; }
56431 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56432 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56433 $as_echo_n "(cached) " >&6
56434 else
56435
56436
56437 ac_ext=cpp
56438 ac_cpp='$CXXCPP $CPPFLAGS'
56439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56442
56443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56444 /* end confdefs.h. */
56445 #include <math.h>
56446 int
56447 main ()
56448 {
56449 ldexpf(0, 0);
56450 ;
56451 return 0;
56452 }
56453 _ACEOF
56454 if ac_fn_cxx_try_compile "$LINENO"; then :
56455 glibcxx_cv_func_ldexpf_use=yes
56456 else
56457 glibcxx_cv_func_ldexpf_use=no
56458 fi
56459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56460 ac_ext=c
56461 ac_cpp='$CPP $CPPFLAGS'
56462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56465
56466
56467 fi
56468
56469 fi
56470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56471 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56472
56473 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56474 for ac_func in ldexpf
56475 do :
56476 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56477 if test "x$ac_cv_func_ldexpf" = xyes; then :
56478 cat >>confdefs.h <<_ACEOF
56479 #define HAVE_LDEXPF 1
56480 _ACEOF
56481
56482 fi
56483 done
56484
56485 else
56486
56487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56488 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56489 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56490 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56491 $as_echo_n "(cached) " >&6
56492 else
56493
56494
56495 ac_ext=cpp
56496 ac_cpp='$CXXCPP $CPPFLAGS'
56497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56500
56501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56502 /* end confdefs.h. */
56503 #include <math.h>
56504 int
56505 main ()
56506 {
56507 _ldexpf(0, 0);
56508 ;
56509 return 0;
56510 }
56511 _ACEOF
56512 if ac_fn_cxx_try_compile "$LINENO"; then :
56513 glibcxx_cv_func__ldexpf_use=yes
56514 else
56515 glibcxx_cv_func__ldexpf_use=no
56516 fi
56517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56518 ac_ext=c
56519 ac_cpp='$CPP $CPPFLAGS'
56520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56523
56524
56525 fi
56526
56527 fi
56528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56529 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56530
56531 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56532 for ac_func in _ldexpf
56533 do :
56534 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56535 if test "x$ac_cv_func__ldexpf" = xyes; then :
56536 cat >>confdefs.h <<_ACEOF
56537 #define HAVE__LDEXPF 1
56538 _ACEOF
56539
56540 fi
56541 done
56542
56543 fi
56544 fi
56545
56546
56547
56548
56549
56550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56551 $as_echo_n "checking for logf declaration... " >&6; }
56552 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56553 if ${glibcxx_cv_func_logf_use+:} false; then :
56554 $as_echo_n "(cached) " >&6
56555 else
56556
56557
56558 ac_ext=cpp
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563
56564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56565 /* end confdefs.h. */
56566 #include <math.h>
56567 #ifdef HAVE_IEEEFP_H
56568 #include <ieeefp.h>
56569 #endif
56570
56571 int
56572 main ()
56573 {
56574 logf(0);
56575 ;
56576 return 0;
56577 }
56578 _ACEOF
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func_logf_use=yes
56581 else
56582 glibcxx_cv_func_logf_use=no
56583 fi
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56585 ac_ext=c
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56590
56591
56592 fi
56593
56594 fi
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56596 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56597
56598 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56599 for ac_func in logf
56600 do :
56601 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56602 if test "x$ac_cv_func_logf" = xyes; then :
56603 cat >>confdefs.h <<_ACEOF
56604 #define HAVE_LOGF 1
56605 _ACEOF
56606
56607 fi
56608 done
56609
56610 else
56611
56612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56613 $as_echo_n "checking for _logf declaration... " >&6; }
56614 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56615 if ${glibcxx_cv_func__logf_use+:} false; then :
56616 $as_echo_n "(cached) " >&6
56617 else
56618
56619
56620 ac_ext=cpp
56621 ac_cpp='$CXXCPP $CPPFLAGS'
56622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56625
56626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56627 /* end confdefs.h. */
56628 #include <math.h>
56629 #ifdef HAVE_IEEEFP_H
56630 #include <ieeefp.h>
56631 #endif
56632
56633 int
56634 main ()
56635 {
56636 _logf(0);
56637 ;
56638 return 0;
56639 }
56640 _ACEOF
56641 if ac_fn_cxx_try_compile "$LINENO"; then :
56642 glibcxx_cv_func__logf_use=yes
56643 else
56644 glibcxx_cv_func__logf_use=no
56645 fi
56646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56647 ac_ext=c
56648 ac_cpp='$CPP $CPPFLAGS'
56649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56652
56653
56654 fi
56655
56656 fi
56657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56658 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56659
56660 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56661 for ac_func in _logf
56662 do :
56663 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56664 if test "x$ac_cv_func__logf" = xyes; then :
56665 cat >>confdefs.h <<_ACEOF
56666 #define HAVE__LOGF 1
56667 _ACEOF
56668
56669 fi
56670 done
56671
56672 fi
56673 fi
56674
56675
56676
56677
56678
56679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56680 $as_echo_n "checking for log10f declaration... " >&6; }
56681 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56682 if ${glibcxx_cv_func_log10f_use+:} false; then :
56683 $as_echo_n "(cached) " >&6
56684 else
56685
56686
56687 ac_ext=cpp
56688 ac_cpp='$CXXCPP $CPPFLAGS'
56689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56692
56693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56694 /* end confdefs.h. */
56695 #include <math.h>
56696 #ifdef HAVE_IEEEFP_H
56697 #include <ieeefp.h>
56698 #endif
56699
56700 int
56701 main ()
56702 {
56703 log10f(0);
56704 ;
56705 return 0;
56706 }
56707 _ACEOF
56708 if ac_fn_cxx_try_compile "$LINENO"; then :
56709 glibcxx_cv_func_log10f_use=yes
56710 else
56711 glibcxx_cv_func_log10f_use=no
56712 fi
56713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56714 ac_ext=c
56715 ac_cpp='$CPP $CPPFLAGS'
56716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56719
56720
56721 fi
56722
56723 fi
56724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56725 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56726
56727 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56728 for ac_func in log10f
56729 do :
56730 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56731 if test "x$ac_cv_func_log10f" = xyes; then :
56732 cat >>confdefs.h <<_ACEOF
56733 #define HAVE_LOG10F 1
56734 _ACEOF
56735
56736 fi
56737 done
56738
56739 else
56740
56741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56742 $as_echo_n "checking for _log10f declaration... " >&6; }
56743 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56744 if ${glibcxx_cv_func__log10f_use+:} false; then :
56745 $as_echo_n "(cached) " >&6
56746 else
56747
56748
56749 ac_ext=cpp
56750 ac_cpp='$CXXCPP $CPPFLAGS'
56751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56754
56755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56756 /* end confdefs.h. */
56757 #include <math.h>
56758 #ifdef HAVE_IEEEFP_H
56759 #include <ieeefp.h>
56760 #endif
56761
56762 int
56763 main ()
56764 {
56765 _log10f(0);
56766 ;
56767 return 0;
56768 }
56769 _ACEOF
56770 if ac_fn_cxx_try_compile "$LINENO"; then :
56771 glibcxx_cv_func__log10f_use=yes
56772 else
56773 glibcxx_cv_func__log10f_use=no
56774 fi
56775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56776 ac_ext=c
56777 ac_cpp='$CPP $CPPFLAGS'
56778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56781
56782
56783 fi
56784
56785 fi
56786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56787 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56788
56789 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56790 for ac_func in _log10f
56791 do :
56792 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56793 if test "x$ac_cv_func__log10f" = xyes; then :
56794 cat >>confdefs.h <<_ACEOF
56795 #define HAVE__LOG10F 1
56796 _ACEOF
56797
56798 fi
56799 done
56800
56801 fi
56802 fi
56803
56804
56805
56806
56807
56808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56809 $as_echo_n "checking for modff declaration... " >&6; }
56810 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56811 if ${glibcxx_cv_func_modff_use+:} false; then :
56812 $as_echo_n "(cached) " >&6
56813 else
56814
56815
56816 ac_ext=cpp
56817 ac_cpp='$CXXCPP $CPPFLAGS'
56818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56821
56822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56823 /* end confdefs.h. */
56824 #include <math.h>
56825 int
56826 main ()
56827 {
56828 modff(0, 0);
56829 ;
56830 return 0;
56831 }
56832 _ACEOF
56833 if ac_fn_cxx_try_compile "$LINENO"; then :
56834 glibcxx_cv_func_modff_use=yes
56835 else
56836 glibcxx_cv_func_modff_use=no
56837 fi
56838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56839 ac_ext=c
56840 ac_cpp='$CPP $CPPFLAGS'
56841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56844
56845
56846 fi
56847
56848 fi
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56850 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56851
56852 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56853 for ac_func in modff
56854 do :
56855 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56856 if test "x$ac_cv_func_modff" = xyes; then :
56857 cat >>confdefs.h <<_ACEOF
56858 #define HAVE_MODFF 1
56859 _ACEOF
56860
56861 fi
56862 done
56863
56864 else
56865
56866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56867 $as_echo_n "checking for _modff declaration... " >&6; }
56868 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56869 if ${glibcxx_cv_func__modff_use+:} false; then :
56870 $as_echo_n "(cached) " >&6
56871 else
56872
56873
56874 ac_ext=cpp
56875 ac_cpp='$CXXCPP $CPPFLAGS'
56876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56879
56880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56881 /* end confdefs.h. */
56882 #include <math.h>
56883 int
56884 main ()
56885 {
56886 _modff(0, 0);
56887 ;
56888 return 0;
56889 }
56890 _ACEOF
56891 if ac_fn_cxx_try_compile "$LINENO"; then :
56892 glibcxx_cv_func__modff_use=yes
56893 else
56894 glibcxx_cv_func__modff_use=no
56895 fi
56896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56897 ac_ext=c
56898 ac_cpp='$CPP $CPPFLAGS'
56899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56902
56903
56904 fi
56905
56906 fi
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56908 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56909
56910 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56911 for ac_func in _modff
56912 do :
56913 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56914 if test "x$ac_cv_func__modff" = xyes; then :
56915 cat >>confdefs.h <<_ACEOF
56916 #define HAVE__MODFF 1
56917 _ACEOF
56918
56919 fi
56920 done
56921
56922 fi
56923 fi
56924
56925
56926
56927
56928
56929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56930 $as_echo_n "checking for modf declaration... " >&6; }
56931 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56932 if ${glibcxx_cv_func_modf_use+:} false; then :
56933 $as_echo_n "(cached) " >&6
56934 else
56935
56936
56937 ac_ext=cpp
56938 ac_cpp='$CXXCPP $CPPFLAGS'
56939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56942
56943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56944 /* end confdefs.h. */
56945 #include <math.h>
56946 int
56947 main ()
56948 {
56949 modf(0, 0);
56950 ;
56951 return 0;
56952 }
56953 _ACEOF
56954 if ac_fn_cxx_try_compile "$LINENO"; then :
56955 glibcxx_cv_func_modf_use=yes
56956 else
56957 glibcxx_cv_func_modf_use=no
56958 fi
56959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56960 ac_ext=c
56961 ac_cpp='$CPP $CPPFLAGS'
56962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56965
56966
56967 fi
56968
56969 fi
56970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56971 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56972
56973 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56974 for ac_func in modf
56975 do :
56976 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56977 if test "x$ac_cv_func_modf" = xyes; then :
56978 cat >>confdefs.h <<_ACEOF
56979 #define HAVE_MODF 1
56980 _ACEOF
56981
56982 fi
56983 done
56984
56985 else
56986
56987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56988 $as_echo_n "checking for _modf declaration... " >&6; }
56989 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56990 if ${glibcxx_cv_func__modf_use+:} false; then :
56991 $as_echo_n "(cached) " >&6
56992 else
56993
56994
56995 ac_ext=cpp
56996 ac_cpp='$CXXCPP $CPPFLAGS'
56997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57000
57001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57002 /* end confdefs.h. */
57003 #include <math.h>
57004 int
57005 main ()
57006 {
57007 _modf(0, 0);
57008 ;
57009 return 0;
57010 }
57011 _ACEOF
57012 if ac_fn_cxx_try_compile "$LINENO"; then :
57013 glibcxx_cv_func__modf_use=yes
57014 else
57015 glibcxx_cv_func__modf_use=no
57016 fi
57017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57018 ac_ext=c
57019 ac_cpp='$CPP $CPPFLAGS'
57020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57023
57024
57025 fi
57026
57027 fi
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57029 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57030
57031 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57032 for ac_func in _modf
57033 do :
57034 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57035 if test "x$ac_cv_func__modf" = xyes; then :
57036 cat >>confdefs.h <<_ACEOF
57037 #define HAVE__MODF 1
57038 _ACEOF
57039
57040 fi
57041 done
57042
57043 fi
57044 fi
57045
57046
57047
57048
57049
57050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57051 $as_echo_n "checking for powf declaration... " >&6; }
57052 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57053 if ${glibcxx_cv_func_powf_use+:} false; then :
57054 $as_echo_n "(cached) " >&6
57055 else
57056
57057
57058 ac_ext=cpp
57059 ac_cpp='$CXXCPP $CPPFLAGS'
57060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57063
57064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57065 /* end confdefs.h. */
57066 #include <math.h>
57067 int
57068 main ()
57069 {
57070 powf(0, 0);
57071 ;
57072 return 0;
57073 }
57074 _ACEOF
57075 if ac_fn_cxx_try_compile "$LINENO"; then :
57076 glibcxx_cv_func_powf_use=yes
57077 else
57078 glibcxx_cv_func_powf_use=no
57079 fi
57080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57081 ac_ext=c
57082 ac_cpp='$CPP $CPPFLAGS'
57083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57086
57087
57088 fi
57089
57090 fi
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57092 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57093
57094 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57095 for ac_func in powf
57096 do :
57097 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57098 if test "x$ac_cv_func_powf" = xyes; then :
57099 cat >>confdefs.h <<_ACEOF
57100 #define HAVE_POWF 1
57101 _ACEOF
57102
57103 fi
57104 done
57105
57106 else
57107
57108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57109 $as_echo_n "checking for _powf declaration... " >&6; }
57110 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57111 if ${glibcxx_cv_func__powf_use+:} false; then :
57112 $as_echo_n "(cached) " >&6
57113 else
57114
57115
57116 ac_ext=cpp
57117 ac_cpp='$CXXCPP $CPPFLAGS'
57118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57121
57122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57123 /* end confdefs.h. */
57124 #include <math.h>
57125 int
57126 main ()
57127 {
57128 _powf(0, 0);
57129 ;
57130 return 0;
57131 }
57132 _ACEOF
57133 if ac_fn_cxx_try_compile "$LINENO"; then :
57134 glibcxx_cv_func__powf_use=yes
57135 else
57136 glibcxx_cv_func__powf_use=no
57137 fi
57138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57139 ac_ext=c
57140 ac_cpp='$CPP $CPPFLAGS'
57141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57144
57145
57146 fi
57147
57148 fi
57149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57150 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57151
57152 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57153 for ac_func in _powf
57154 do :
57155 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57156 if test "x$ac_cv_func__powf" = xyes; then :
57157 cat >>confdefs.h <<_ACEOF
57158 #define HAVE__POWF 1
57159 _ACEOF
57160
57161 fi
57162 done
57163
57164 fi
57165 fi
57166
57167
57168
57169
57170
57171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57172 $as_echo_n "checking for sqrtf declaration... " >&6; }
57173 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57174 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57175 $as_echo_n "(cached) " >&6
57176 else
57177
57178
57179 ac_ext=cpp
57180 ac_cpp='$CXXCPP $CPPFLAGS'
57181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57184
57185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57186 /* end confdefs.h. */
57187 #include <math.h>
57188 #ifdef HAVE_IEEEFP_H
57189 #include <ieeefp.h>
57190 #endif
57191
57192 int
57193 main ()
57194 {
57195 sqrtf(0);
57196 ;
57197 return 0;
57198 }
57199 _ACEOF
57200 if ac_fn_cxx_try_compile "$LINENO"; then :
57201 glibcxx_cv_func_sqrtf_use=yes
57202 else
57203 glibcxx_cv_func_sqrtf_use=no
57204 fi
57205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57206 ac_ext=c
57207 ac_cpp='$CPP $CPPFLAGS'
57208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57211
57212
57213 fi
57214
57215 fi
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57217 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57218
57219 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57220 for ac_func in sqrtf
57221 do :
57222 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57223 if test "x$ac_cv_func_sqrtf" = xyes; then :
57224 cat >>confdefs.h <<_ACEOF
57225 #define HAVE_SQRTF 1
57226 _ACEOF
57227
57228 fi
57229 done
57230
57231 else
57232
57233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57234 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57235 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57236 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57237 $as_echo_n "(cached) " >&6
57238 else
57239
57240
57241 ac_ext=cpp
57242 ac_cpp='$CXXCPP $CPPFLAGS'
57243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57246
57247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57248 /* end confdefs.h. */
57249 #include <math.h>
57250 #ifdef HAVE_IEEEFP_H
57251 #include <ieeefp.h>
57252 #endif
57253
57254 int
57255 main ()
57256 {
57257 _sqrtf(0);
57258 ;
57259 return 0;
57260 }
57261 _ACEOF
57262 if ac_fn_cxx_try_compile "$LINENO"; then :
57263 glibcxx_cv_func__sqrtf_use=yes
57264 else
57265 glibcxx_cv_func__sqrtf_use=no
57266 fi
57267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57268 ac_ext=c
57269 ac_cpp='$CPP $CPPFLAGS'
57270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57273
57274
57275 fi
57276
57277 fi
57278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57279 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57280
57281 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57282 for ac_func in _sqrtf
57283 do :
57284 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57285 if test "x$ac_cv_func__sqrtf" = xyes; then :
57286 cat >>confdefs.h <<_ACEOF
57287 #define HAVE__SQRTF 1
57288 _ACEOF
57289
57290 fi
57291 done
57292
57293 fi
57294 fi
57295
57296
57297
57298
57299
57300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57301 $as_echo_n "checking for sincosf declaration... " >&6; }
57302 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57303 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57304 $as_echo_n "(cached) " >&6
57305 else
57306
57307
57308 ac_ext=cpp
57309 ac_cpp='$CXXCPP $CPPFLAGS'
57310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313
57314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57315 /* end confdefs.h. */
57316 #include <math.h>
57317 int
57318 main ()
57319 {
57320 sincosf(0, 0, 0);
57321 ;
57322 return 0;
57323 }
57324 _ACEOF
57325 if ac_fn_cxx_try_compile "$LINENO"; then :
57326 glibcxx_cv_func_sincosf_use=yes
57327 else
57328 glibcxx_cv_func_sincosf_use=no
57329 fi
57330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57331 ac_ext=c
57332 ac_cpp='$CPP $CPPFLAGS'
57333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57336
57337
57338 fi
57339
57340 fi
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57342 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57343
57344 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57345 for ac_func in sincosf
57346 do :
57347 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57348 if test "x$ac_cv_func_sincosf" = xyes; then :
57349 cat >>confdefs.h <<_ACEOF
57350 #define HAVE_SINCOSF 1
57351 _ACEOF
57352
57353 fi
57354 done
57355
57356 else
57357
57358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57359 $as_echo_n "checking for _sincosf declaration... " >&6; }
57360 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57361 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57362 $as_echo_n "(cached) " >&6
57363 else
57364
57365
57366 ac_ext=cpp
57367 ac_cpp='$CXXCPP $CPPFLAGS'
57368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57371
57372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57373 /* end confdefs.h. */
57374 #include <math.h>
57375 int
57376 main ()
57377 {
57378 _sincosf(0, 0, 0);
57379 ;
57380 return 0;
57381 }
57382 _ACEOF
57383 if ac_fn_cxx_try_compile "$LINENO"; then :
57384 glibcxx_cv_func__sincosf_use=yes
57385 else
57386 glibcxx_cv_func__sincosf_use=no
57387 fi
57388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57389 ac_ext=c
57390 ac_cpp='$CPP $CPPFLAGS'
57391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57394
57395
57396 fi
57397
57398 fi
57399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57400 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57401
57402 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57403 for ac_func in _sincosf
57404 do :
57405 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57406 if test "x$ac_cv_func__sincosf" = xyes; then :
57407 cat >>confdefs.h <<_ACEOF
57408 #define HAVE__SINCOSF 1
57409 _ACEOF
57410
57411 fi
57412 done
57413
57414 fi
57415 fi
57416
57417
57418
57419
57420
57421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57422 $as_echo_n "checking for finitef declaration... " >&6; }
57423 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57424 if ${glibcxx_cv_func_finitef_use+:} false; then :
57425 $as_echo_n "(cached) " >&6
57426 else
57427
57428
57429 ac_ext=cpp
57430 ac_cpp='$CXXCPP $CPPFLAGS'
57431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57434
57435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57436 /* end confdefs.h. */
57437 #include <math.h>
57438 #ifdef HAVE_IEEEFP_H
57439 #include <ieeefp.h>
57440 #endif
57441
57442 int
57443 main ()
57444 {
57445 finitef(0);
57446 ;
57447 return 0;
57448 }
57449 _ACEOF
57450 if ac_fn_cxx_try_compile "$LINENO"; then :
57451 glibcxx_cv_func_finitef_use=yes
57452 else
57453 glibcxx_cv_func_finitef_use=no
57454 fi
57455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57456 ac_ext=c
57457 ac_cpp='$CPP $CPPFLAGS'
57458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57461
57462
57463 fi
57464
57465 fi
57466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57467 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57468
57469 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57470 for ac_func in finitef
57471 do :
57472 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57473 if test "x$ac_cv_func_finitef" = xyes; then :
57474 cat >>confdefs.h <<_ACEOF
57475 #define HAVE_FINITEF 1
57476 _ACEOF
57477
57478 fi
57479 done
57480
57481 else
57482
57483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57484 $as_echo_n "checking for _finitef declaration... " >&6; }
57485 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57486 if ${glibcxx_cv_func__finitef_use+:} false; then :
57487 $as_echo_n "(cached) " >&6
57488 else
57489
57490
57491 ac_ext=cpp
57492 ac_cpp='$CXXCPP $CPPFLAGS'
57493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57496
57497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57498 /* end confdefs.h. */
57499 #include <math.h>
57500 #ifdef HAVE_IEEEFP_H
57501 #include <ieeefp.h>
57502 #endif
57503
57504 int
57505 main ()
57506 {
57507 _finitef(0);
57508 ;
57509 return 0;
57510 }
57511 _ACEOF
57512 if ac_fn_cxx_try_compile "$LINENO"; then :
57513 glibcxx_cv_func__finitef_use=yes
57514 else
57515 glibcxx_cv_func__finitef_use=no
57516 fi
57517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57518 ac_ext=c
57519 ac_cpp='$CPP $CPPFLAGS'
57520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57523
57524
57525 fi
57526
57527 fi
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57529 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57530
57531 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57532 for ac_func in _finitef
57533 do :
57534 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57535 if test "x$ac_cv_func__finitef" = xyes; then :
57536 cat >>confdefs.h <<_ACEOF
57537 #define HAVE__FINITEF 1
57538 _ACEOF
57539
57540 fi
57541 done
57542
57543 fi
57544 fi
57545
57546
57547
57548
57549
57550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57551 $as_echo_n "checking for long double trig functions... " >&6; }
57552 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57553 $as_echo_n "(cached) " >&6
57554 else
57555
57556
57557 ac_ext=cpp
57558 ac_cpp='$CXXCPP $CPPFLAGS'
57559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57562
57563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57564 /* end confdefs.h. */
57565 #include <math.h>
57566 int
57567 main ()
57568 {
57569 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57570 ;
57571 return 0;
57572 }
57573 _ACEOF
57574 if ac_fn_cxx_try_compile "$LINENO"; then :
57575 glibcxx_cv_func_long_double_trig_use=yes
57576 else
57577 glibcxx_cv_func_long_double_trig_use=no
57578 fi
57579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57580 ac_ext=c
57581 ac_cpp='$CPP $CPPFLAGS'
57582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57585
57586 fi
57587
57588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57589 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57590 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57591 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57592 do :
57593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57595 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57596 cat >>confdefs.h <<_ACEOF
57597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57598 _ACEOF
57599
57600 fi
57601 done
57602
57603 else
57604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57605 $as_echo_n "checking for _long double trig functions... " >&6; }
57606 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57607 $as_echo_n "(cached) " >&6
57608 else
57609
57610
57611 ac_ext=cpp
57612 ac_cpp='$CXXCPP $CPPFLAGS'
57613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57616
57617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57618 /* end confdefs.h. */
57619 #include <math.h>
57620 int
57621 main ()
57622 {
57623 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57624 ;
57625 return 0;
57626 }
57627 _ACEOF
57628 if ac_fn_cxx_try_compile "$LINENO"; then :
57629 glibcxx_cv_func__long_double_trig_use=yes
57630 else
57631 glibcxx_cv_func__long_double_trig_use=no
57632 fi
57633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57634 ac_ext=c
57635 ac_cpp='$CPP $CPPFLAGS'
57636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57639
57640 fi
57641
57642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57643 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57644 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57645 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57646 do :
57647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57649 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57650 cat >>confdefs.h <<_ACEOF
57651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57652 _ACEOF
57653
57654 fi
57655 done
57656
57657 fi
57658 fi
57659
57660
57661
57662
57663
57664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57665 $as_echo_n "checking for long double round functions... " >&6; }
57666 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57667 $as_echo_n "(cached) " >&6
57668 else
57669
57670
57671 ac_ext=cpp
57672 ac_cpp='$CXXCPP $CPPFLAGS'
57673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57676
57677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57678 /* end confdefs.h. */
57679 #include <math.h>
57680 int
57681 main ()
57682 {
57683 ceill (0); floorl (0);
57684 ;
57685 return 0;
57686 }
57687 _ACEOF
57688 if ac_fn_cxx_try_compile "$LINENO"; then :
57689 glibcxx_cv_func_long_double_round_use=yes
57690 else
57691 glibcxx_cv_func_long_double_round_use=no
57692 fi
57693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57694 ac_ext=c
57695 ac_cpp='$CPP $CPPFLAGS'
57696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57699
57700 fi
57701
57702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57703 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57704 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57705 for ac_func in ceill floorl
57706 do :
57707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57710 cat >>confdefs.h <<_ACEOF
57711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57712 _ACEOF
57713
57714 fi
57715 done
57716
57717 else
57718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57719 $as_echo_n "checking for _long double round functions... " >&6; }
57720 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57721 $as_echo_n "(cached) " >&6
57722 else
57723
57724
57725 ac_ext=cpp
57726 ac_cpp='$CXXCPP $CPPFLAGS'
57727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57730
57731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57732 /* end confdefs.h. */
57733 #include <math.h>
57734 int
57735 main ()
57736 {
57737 _ceill (0); _floorl (0);
57738 ;
57739 return 0;
57740 }
57741 _ACEOF
57742 if ac_fn_cxx_try_compile "$LINENO"; then :
57743 glibcxx_cv_func__long_double_round_use=yes
57744 else
57745 glibcxx_cv_func__long_double_round_use=no
57746 fi
57747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57748 ac_ext=c
57749 ac_cpp='$CPP $CPPFLAGS'
57750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57753
57754 fi
57755
57756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57757 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57758 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57759 for ac_func in _ceill _floorl
57760 do :
57761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57764 cat >>confdefs.h <<_ACEOF
57765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57766 _ACEOF
57767
57768 fi
57769 done
57770
57771 fi
57772 fi
57773
57774
57775
57776
57777
57778
57779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57780 $as_echo_n "checking for isnanl declaration... " >&6; }
57781 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57782 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57783 $as_echo_n "(cached) " >&6
57784 else
57785
57786
57787 ac_ext=cpp
57788 ac_cpp='$CXXCPP $CPPFLAGS'
57789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57792
57793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57794 /* end confdefs.h. */
57795 #include <math.h>
57796 #ifdef HAVE_IEEEFP_H
57797 #include <ieeefp.h>
57798 #endif
57799
57800 int
57801 main ()
57802 {
57803 isnanl(0);
57804 ;
57805 return 0;
57806 }
57807 _ACEOF
57808 if ac_fn_cxx_try_compile "$LINENO"; then :
57809 glibcxx_cv_func_isnanl_use=yes
57810 else
57811 glibcxx_cv_func_isnanl_use=no
57812 fi
57813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57814 ac_ext=c
57815 ac_cpp='$CPP $CPPFLAGS'
57816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57819
57820
57821 fi
57822
57823 fi
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57825 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57826
57827 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57828 for ac_func in isnanl
57829 do :
57830 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57831 if test "x$ac_cv_func_isnanl" = xyes; then :
57832 cat >>confdefs.h <<_ACEOF
57833 #define HAVE_ISNANL 1
57834 _ACEOF
57835
57836 fi
57837 done
57838
57839 else
57840
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57842 $as_echo_n "checking for _isnanl declaration... " >&6; }
57843 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57844 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57845 $as_echo_n "(cached) " >&6
57846 else
57847
57848
57849 ac_ext=cpp
57850 ac_cpp='$CXXCPP $CPPFLAGS'
57851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57854
57855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57856 /* end confdefs.h. */
57857 #include <math.h>
57858 #ifdef HAVE_IEEEFP_H
57859 #include <ieeefp.h>
57860 #endif
57861
57862 int
57863 main ()
57864 {
57865 _isnanl(0);
57866 ;
57867 return 0;
57868 }
57869 _ACEOF
57870 if ac_fn_cxx_try_compile "$LINENO"; then :
57871 glibcxx_cv_func__isnanl_use=yes
57872 else
57873 glibcxx_cv_func__isnanl_use=no
57874 fi
57875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57876 ac_ext=c
57877 ac_cpp='$CPP $CPPFLAGS'
57878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57881
57882
57883 fi
57884
57885 fi
57886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57887 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57888
57889 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57890 for ac_func in _isnanl
57891 do :
57892 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57893 if test "x$ac_cv_func__isnanl" = xyes; then :
57894 cat >>confdefs.h <<_ACEOF
57895 #define HAVE__ISNANL 1
57896 _ACEOF
57897
57898 fi
57899 done
57900
57901 fi
57902 fi
57903
57904
57905
57906
57907
57908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57909 $as_echo_n "checking for isinfl declaration... " >&6; }
57910 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57911 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57912 $as_echo_n "(cached) " >&6
57913 else
57914
57915
57916 ac_ext=cpp
57917 ac_cpp='$CXXCPP $CPPFLAGS'
57918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57921
57922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57923 /* end confdefs.h. */
57924 #include <math.h>
57925 #ifdef HAVE_IEEEFP_H
57926 #include <ieeefp.h>
57927 #endif
57928
57929 int
57930 main ()
57931 {
57932 isinfl(0);
57933 ;
57934 return 0;
57935 }
57936 _ACEOF
57937 if ac_fn_cxx_try_compile "$LINENO"; then :
57938 glibcxx_cv_func_isinfl_use=yes
57939 else
57940 glibcxx_cv_func_isinfl_use=no
57941 fi
57942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57943 ac_ext=c
57944 ac_cpp='$CPP $CPPFLAGS'
57945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57948
57949
57950 fi
57951
57952 fi
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57954 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57955
57956 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57957 for ac_func in isinfl
57958 do :
57959 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57960 if test "x$ac_cv_func_isinfl" = xyes; then :
57961 cat >>confdefs.h <<_ACEOF
57962 #define HAVE_ISINFL 1
57963 _ACEOF
57964
57965 fi
57966 done
57967
57968 else
57969
57970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57971 $as_echo_n "checking for _isinfl declaration... " >&6; }
57972 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57973 if ${glibcxx_cv_func__isinfl_use+:} false; then :
57974 $as_echo_n "(cached) " >&6
57975 else
57976
57977
57978 ac_ext=cpp
57979 ac_cpp='$CXXCPP $CPPFLAGS'
57980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57983
57984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57985 /* end confdefs.h. */
57986 #include <math.h>
57987 #ifdef HAVE_IEEEFP_H
57988 #include <ieeefp.h>
57989 #endif
57990
57991 int
57992 main ()
57993 {
57994 _isinfl(0);
57995 ;
57996 return 0;
57997 }
57998 _ACEOF
57999 if ac_fn_cxx_try_compile "$LINENO"; then :
58000 glibcxx_cv_func__isinfl_use=yes
58001 else
58002 glibcxx_cv_func__isinfl_use=no
58003 fi
58004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58005 ac_ext=c
58006 ac_cpp='$CPP $CPPFLAGS'
58007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58010
58011
58012 fi
58013
58014 fi
58015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58016 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58017
58018 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58019 for ac_func in _isinfl
58020 do :
58021 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58022 if test "x$ac_cv_func__isinfl" = xyes; then :
58023 cat >>confdefs.h <<_ACEOF
58024 #define HAVE__ISINFL 1
58025 _ACEOF
58026
58027 fi
58028 done
58029
58030 fi
58031 fi
58032
58033
58034
58035
58036
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58038 $as_echo_n "checking for atan2l declaration... " >&6; }
58039 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58040 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58041 $as_echo_n "(cached) " >&6
58042 else
58043
58044
58045 ac_ext=cpp
58046 ac_cpp='$CXXCPP $CPPFLAGS'
58047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050
58051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58052 /* end confdefs.h. */
58053 #include <math.h>
58054 int
58055 main ()
58056 {
58057 atan2l(0, 0);
58058 ;
58059 return 0;
58060 }
58061 _ACEOF
58062 if ac_fn_cxx_try_compile "$LINENO"; then :
58063 glibcxx_cv_func_atan2l_use=yes
58064 else
58065 glibcxx_cv_func_atan2l_use=no
58066 fi
58067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58068 ac_ext=c
58069 ac_cpp='$CPP $CPPFLAGS'
58070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58073
58074
58075 fi
58076
58077 fi
58078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58079 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58080
58081 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58082 for ac_func in atan2l
58083 do :
58084 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58085 if test "x$ac_cv_func_atan2l" = xyes; then :
58086 cat >>confdefs.h <<_ACEOF
58087 #define HAVE_ATAN2L 1
58088 _ACEOF
58089
58090 fi
58091 done
58092
58093 else
58094
58095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58096 $as_echo_n "checking for _atan2l declaration... " >&6; }
58097 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58098 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58099 $as_echo_n "(cached) " >&6
58100 else
58101
58102
58103 ac_ext=cpp
58104 ac_cpp='$CXXCPP $CPPFLAGS'
58105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58108
58109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58110 /* end confdefs.h. */
58111 #include <math.h>
58112 int
58113 main ()
58114 {
58115 _atan2l(0, 0);
58116 ;
58117 return 0;
58118 }
58119 _ACEOF
58120 if ac_fn_cxx_try_compile "$LINENO"; then :
58121 glibcxx_cv_func__atan2l_use=yes
58122 else
58123 glibcxx_cv_func__atan2l_use=no
58124 fi
58125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58126 ac_ext=c
58127 ac_cpp='$CPP $CPPFLAGS'
58128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58131
58132
58133 fi
58134
58135 fi
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58137 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58138
58139 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58140 for ac_func in _atan2l
58141 do :
58142 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58143 if test "x$ac_cv_func__atan2l" = xyes; then :
58144 cat >>confdefs.h <<_ACEOF
58145 #define HAVE__ATAN2L 1
58146 _ACEOF
58147
58148 fi
58149 done
58150
58151 fi
58152 fi
58153
58154
58155
58156
58157
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58159 $as_echo_n "checking for expl declaration... " >&6; }
58160 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58161 if ${glibcxx_cv_func_expl_use+:} false; then :
58162 $as_echo_n "(cached) " >&6
58163 else
58164
58165
58166 ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58171
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174 #include <math.h>
58175 #ifdef HAVE_IEEEFP_H
58176 #include <ieeefp.h>
58177 #endif
58178
58179 int
58180 main ()
58181 {
58182 expl(0);
58183 ;
58184 return 0;
58185 }
58186 _ACEOF
58187 if ac_fn_cxx_try_compile "$LINENO"; then :
58188 glibcxx_cv_func_expl_use=yes
58189 else
58190 glibcxx_cv_func_expl_use=no
58191 fi
58192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58193 ac_ext=c
58194 ac_cpp='$CPP $CPPFLAGS'
58195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58198
58199
58200 fi
58201
58202 fi
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58204 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58205
58206 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58207 for ac_func in expl
58208 do :
58209 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58210 if test "x$ac_cv_func_expl" = xyes; then :
58211 cat >>confdefs.h <<_ACEOF
58212 #define HAVE_EXPL 1
58213 _ACEOF
58214
58215 fi
58216 done
58217
58218 else
58219
58220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58221 $as_echo_n "checking for _expl declaration... " >&6; }
58222 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58223 if ${glibcxx_cv_func__expl_use+:} false; then :
58224 $as_echo_n "(cached) " >&6
58225 else
58226
58227
58228 ac_ext=cpp
58229 ac_cpp='$CXXCPP $CPPFLAGS'
58230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58233
58234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58235 /* end confdefs.h. */
58236 #include <math.h>
58237 #ifdef HAVE_IEEEFP_H
58238 #include <ieeefp.h>
58239 #endif
58240
58241 int
58242 main ()
58243 {
58244 _expl(0);
58245 ;
58246 return 0;
58247 }
58248 _ACEOF
58249 if ac_fn_cxx_try_compile "$LINENO"; then :
58250 glibcxx_cv_func__expl_use=yes
58251 else
58252 glibcxx_cv_func__expl_use=no
58253 fi
58254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58255 ac_ext=c
58256 ac_cpp='$CPP $CPPFLAGS'
58257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58260
58261
58262 fi
58263
58264 fi
58265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58266 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58267
58268 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58269 for ac_func in _expl
58270 do :
58271 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58272 if test "x$ac_cv_func__expl" = xyes; then :
58273 cat >>confdefs.h <<_ACEOF
58274 #define HAVE__EXPL 1
58275 _ACEOF
58276
58277 fi
58278 done
58279
58280 fi
58281 fi
58282
58283
58284
58285
58286
58287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58288 $as_echo_n "checking for fabsl declaration... " >&6; }
58289 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58290 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58291 $as_echo_n "(cached) " >&6
58292 else
58293
58294
58295 ac_ext=cpp
58296 ac_cpp='$CXXCPP $CPPFLAGS'
58297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58300
58301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58302 /* end confdefs.h. */
58303 #include <math.h>
58304 #ifdef HAVE_IEEEFP_H
58305 #include <ieeefp.h>
58306 #endif
58307
58308 int
58309 main ()
58310 {
58311 fabsl(0);
58312 ;
58313 return 0;
58314 }
58315 _ACEOF
58316 if ac_fn_cxx_try_compile "$LINENO"; then :
58317 glibcxx_cv_func_fabsl_use=yes
58318 else
58319 glibcxx_cv_func_fabsl_use=no
58320 fi
58321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58322 ac_ext=c
58323 ac_cpp='$CPP $CPPFLAGS'
58324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58327
58328
58329 fi
58330
58331 fi
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58333 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58334
58335 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58336 for ac_func in fabsl
58337 do :
58338 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58339 if test "x$ac_cv_func_fabsl" = xyes; then :
58340 cat >>confdefs.h <<_ACEOF
58341 #define HAVE_FABSL 1
58342 _ACEOF
58343
58344 fi
58345 done
58346
58347 else
58348
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58350 $as_echo_n "checking for _fabsl declaration... " >&6; }
58351 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58352 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58353 $as_echo_n "(cached) " >&6
58354 else
58355
58356
58357 ac_ext=cpp
58358 ac_cpp='$CXXCPP $CPPFLAGS'
58359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58362
58363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58364 /* end confdefs.h. */
58365 #include <math.h>
58366 #ifdef HAVE_IEEEFP_H
58367 #include <ieeefp.h>
58368 #endif
58369
58370 int
58371 main ()
58372 {
58373 _fabsl(0);
58374 ;
58375 return 0;
58376 }
58377 _ACEOF
58378 if ac_fn_cxx_try_compile "$LINENO"; then :
58379 glibcxx_cv_func__fabsl_use=yes
58380 else
58381 glibcxx_cv_func__fabsl_use=no
58382 fi
58383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58384 ac_ext=c
58385 ac_cpp='$CPP $CPPFLAGS'
58386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58389
58390
58391 fi
58392
58393 fi
58394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58395 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58396
58397 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58398 for ac_func in _fabsl
58399 do :
58400 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58401 if test "x$ac_cv_func__fabsl" = xyes; then :
58402 cat >>confdefs.h <<_ACEOF
58403 #define HAVE__FABSL 1
58404 _ACEOF
58405
58406 fi
58407 done
58408
58409 fi
58410 fi
58411
58412
58413
58414
58415
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58417 $as_echo_n "checking for fmodl declaration... " >&6; }
58418 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58419 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58420 $as_echo_n "(cached) " >&6
58421 else
58422
58423
58424 ac_ext=cpp
58425 ac_cpp='$CXXCPP $CPPFLAGS'
58426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58429
58430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58431 /* end confdefs.h. */
58432 #include <math.h>
58433 int
58434 main ()
58435 {
58436 fmodl(0, 0);
58437 ;
58438 return 0;
58439 }
58440 _ACEOF
58441 if ac_fn_cxx_try_compile "$LINENO"; then :
58442 glibcxx_cv_func_fmodl_use=yes
58443 else
58444 glibcxx_cv_func_fmodl_use=no
58445 fi
58446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58447 ac_ext=c
58448 ac_cpp='$CPP $CPPFLAGS'
58449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58452
58453
58454 fi
58455
58456 fi
58457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58458 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58459
58460 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58461 for ac_func in fmodl
58462 do :
58463 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58464 if test "x$ac_cv_func_fmodl" = xyes; then :
58465 cat >>confdefs.h <<_ACEOF
58466 #define HAVE_FMODL 1
58467 _ACEOF
58468
58469 fi
58470 done
58471
58472 else
58473
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58475 $as_echo_n "checking for _fmodl declaration... " >&6; }
58476 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58477 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58478 $as_echo_n "(cached) " >&6
58479 else
58480
58481
58482 ac_ext=cpp
58483 ac_cpp='$CXXCPP $CPPFLAGS'
58484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58487
58488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58489 /* end confdefs.h. */
58490 #include <math.h>
58491 int
58492 main ()
58493 {
58494 _fmodl(0, 0);
58495 ;
58496 return 0;
58497 }
58498 _ACEOF
58499 if ac_fn_cxx_try_compile "$LINENO"; then :
58500 glibcxx_cv_func__fmodl_use=yes
58501 else
58502 glibcxx_cv_func__fmodl_use=no
58503 fi
58504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58505 ac_ext=c
58506 ac_cpp='$CPP $CPPFLAGS'
58507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58510
58511
58512 fi
58513
58514 fi
58515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58516 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58517
58518 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58519 for ac_func in _fmodl
58520 do :
58521 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58522 if test "x$ac_cv_func__fmodl" = xyes; then :
58523 cat >>confdefs.h <<_ACEOF
58524 #define HAVE__FMODL 1
58525 _ACEOF
58526
58527 fi
58528 done
58529
58530 fi
58531 fi
58532
58533
58534
58535
58536
58537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58538 $as_echo_n "checking for frexpl declaration... " >&6; }
58539 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58540 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58541 $as_echo_n "(cached) " >&6
58542 else
58543
58544
58545 ac_ext=cpp
58546 ac_cpp='$CXXCPP $CPPFLAGS'
58547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58550
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 #include <math.h>
58554 int
58555 main ()
58556 {
58557 frexpl(0, 0);
58558 ;
58559 return 0;
58560 }
58561 _ACEOF
58562 if ac_fn_cxx_try_compile "$LINENO"; then :
58563 glibcxx_cv_func_frexpl_use=yes
58564 else
58565 glibcxx_cv_func_frexpl_use=no
58566 fi
58567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58568 ac_ext=c
58569 ac_cpp='$CPP $CPPFLAGS'
58570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58573
58574
58575 fi
58576
58577 fi
58578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58579 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58580
58581 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58582 for ac_func in frexpl
58583 do :
58584 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58585 if test "x$ac_cv_func_frexpl" = xyes; then :
58586 cat >>confdefs.h <<_ACEOF
58587 #define HAVE_FREXPL 1
58588 _ACEOF
58589
58590 fi
58591 done
58592
58593 else
58594
58595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58596 $as_echo_n "checking for _frexpl declaration... " >&6; }
58597 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58598 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58599 $as_echo_n "(cached) " >&6
58600 else
58601
58602
58603 ac_ext=cpp
58604 ac_cpp='$CXXCPP $CPPFLAGS'
58605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58608
58609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58610 /* end confdefs.h. */
58611 #include <math.h>
58612 int
58613 main ()
58614 {
58615 _frexpl(0, 0);
58616 ;
58617 return 0;
58618 }
58619 _ACEOF
58620 if ac_fn_cxx_try_compile "$LINENO"; then :
58621 glibcxx_cv_func__frexpl_use=yes
58622 else
58623 glibcxx_cv_func__frexpl_use=no
58624 fi
58625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58626 ac_ext=c
58627 ac_cpp='$CPP $CPPFLAGS'
58628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58631
58632
58633 fi
58634
58635 fi
58636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58637 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58638
58639 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58640 for ac_func in _frexpl
58641 do :
58642 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58643 if test "x$ac_cv_func__frexpl" = xyes; then :
58644 cat >>confdefs.h <<_ACEOF
58645 #define HAVE__FREXPL 1
58646 _ACEOF
58647
58648 fi
58649 done
58650
58651 fi
58652 fi
58653
58654
58655
58656
58657
58658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58659 $as_echo_n "checking for hypotl declaration... " >&6; }
58660 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58661 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58662 $as_echo_n "(cached) " >&6
58663 else
58664
58665
58666 ac_ext=cpp
58667 ac_cpp='$CXXCPP $CPPFLAGS'
58668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58671
58672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58673 /* end confdefs.h. */
58674 #include <math.h>
58675 int
58676 main ()
58677 {
58678 hypotl(0, 0);
58679 ;
58680 return 0;
58681 }
58682 _ACEOF
58683 if ac_fn_cxx_try_compile "$LINENO"; then :
58684 glibcxx_cv_func_hypotl_use=yes
58685 else
58686 glibcxx_cv_func_hypotl_use=no
58687 fi
58688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58689 ac_ext=c
58690 ac_cpp='$CPP $CPPFLAGS'
58691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58694
58695
58696 fi
58697
58698 fi
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58700 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58701
58702 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58703 for ac_func in hypotl
58704 do :
58705 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58706 if test "x$ac_cv_func_hypotl" = xyes; then :
58707 cat >>confdefs.h <<_ACEOF
58708 #define HAVE_HYPOTL 1
58709 _ACEOF
58710
58711 fi
58712 done
58713
58714 else
58715
58716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58717 $as_echo_n "checking for _hypotl declaration... " >&6; }
58718 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58719 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58720 $as_echo_n "(cached) " >&6
58721 else
58722
58723
58724 ac_ext=cpp
58725 ac_cpp='$CXXCPP $CPPFLAGS'
58726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58729
58730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58731 /* end confdefs.h. */
58732 #include <math.h>
58733 int
58734 main ()
58735 {
58736 _hypotl(0, 0);
58737 ;
58738 return 0;
58739 }
58740 _ACEOF
58741 if ac_fn_cxx_try_compile "$LINENO"; then :
58742 glibcxx_cv_func__hypotl_use=yes
58743 else
58744 glibcxx_cv_func__hypotl_use=no
58745 fi
58746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58747 ac_ext=c
58748 ac_cpp='$CPP $CPPFLAGS'
58749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58752
58753
58754 fi
58755
58756 fi
58757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58758 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58759
58760 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58761 for ac_func in _hypotl
58762 do :
58763 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58764 if test "x$ac_cv_func__hypotl" = xyes; then :
58765 cat >>confdefs.h <<_ACEOF
58766 #define HAVE__HYPOTL 1
58767 _ACEOF
58768
58769 fi
58770 done
58771
58772 fi
58773 fi
58774
58775
58776
58777
58778
58779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58780 $as_echo_n "checking for ldexpl declaration... " >&6; }
58781 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58782 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58783 $as_echo_n "(cached) " >&6
58784 else
58785
58786
58787 ac_ext=cpp
58788 ac_cpp='$CXXCPP $CPPFLAGS'
58789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58792
58793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58794 /* end confdefs.h. */
58795 #include <math.h>
58796 int
58797 main ()
58798 {
58799 ldexpl(0, 0);
58800 ;
58801 return 0;
58802 }
58803 _ACEOF
58804 if ac_fn_cxx_try_compile "$LINENO"; then :
58805 glibcxx_cv_func_ldexpl_use=yes
58806 else
58807 glibcxx_cv_func_ldexpl_use=no
58808 fi
58809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58810 ac_ext=c
58811 ac_cpp='$CPP $CPPFLAGS'
58812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58815
58816
58817 fi
58818
58819 fi
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58821 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58822
58823 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58824 for ac_func in ldexpl
58825 do :
58826 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58827 if test "x$ac_cv_func_ldexpl" = xyes; then :
58828 cat >>confdefs.h <<_ACEOF
58829 #define HAVE_LDEXPL 1
58830 _ACEOF
58831
58832 fi
58833 done
58834
58835 else
58836
58837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58838 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58839 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58840 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58841 $as_echo_n "(cached) " >&6
58842 else
58843
58844
58845 ac_ext=cpp
58846 ac_cpp='$CXXCPP $CPPFLAGS'
58847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58850
58851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58852 /* end confdefs.h. */
58853 #include <math.h>
58854 int
58855 main ()
58856 {
58857 _ldexpl(0, 0);
58858 ;
58859 return 0;
58860 }
58861 _ACEOF
58862 if ac_fn_cxx_try_compile "$LINENO"; then :
58863 glibcxx_cv_func__ldexpl_use=yes
58864 else
58865 glibcxx_cv_func__ldexpl_use=no
58866 fi
58867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58868 ac_ext=c
58869 ac_cpp='$CPP $CPPFLAGS'
58870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58873
58874
58875 fi
58876
58877 fi
58878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58879 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58880
58881 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58882 for ac_func in _ldexpl
58883 do :
58884 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58885 if test "x$ac_cv_func__ldexpl" = xyes; then :
58886 cat >>confdefs.h <<_ACEOF
58887 #define HAVE__LDEXPL 1
58888 _ACEOF
58889
58890 fi
58891 done
58892
58893 fi
58894 fi
58895
58896
58897
58898
58899
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58901 $as_echo_n "checking for logl declaration... " >&6; }
58902 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58903 if ${glibcxx_cv_func_logl_use+:} false; then :
58904 $as_echo_n "(cached) " >&6
58905 else
58906
58907
58908 ac_ext=cpp
58909 ac_cpp='$CXXCPP $CPPFLAGS'
58910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58913
58914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58915 /* end confdefs.h. */
58916 #include <math.h>
58917 #ifdef HAVE_IEEEFP_H
58918 #include <ieeefp.h>
58919 #endif
58920
58921 int
58922 main ()
58923 {
58924 logl(0);
58925 ;
58926 return 0;
58927 }
58928 _ACEOF
58929 if ac_fn_cxx_try_compile "$LINENO"; then :
58930 glibcxx_cv_func_logl_use=yes
58931 else
58932 glibcxx_cv_func_logl_use=no
58933 fi
58934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58935 ac_ext=c
58936 ac_cpp='$CPP $CPPFLAGS'
58937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58940
58941
58942 fi
58943
58944 fi
58945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58946 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58947
58948 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58949 for ac_func in logl
58950 do :
58951 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58952 if test "x$ac_cv_func_logl" = xyes; then :
58953 cat >>confdefs.h <<_ACEOF
58954 #define HAVE_LOGL 1
58955 _ACEOF
58956
58957 fi
58958 done
58959
58960 else
58961
58962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58963 $as_echo_n "checking for _logl declaration... " >&6; }
58964 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58965 if ${glibcxx_cv_func__logl_use+:} false; then :
58966 $as_echo_n "(cached) " >&6
58967 else
58968
58969
58970 ac_ext=cpp
58971 ac_cpp='$CXXCPP $CPPFLAGS'
58972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58975
58976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58977 /* end confdefs.h. */
58978 #include <math.h>
58979 #ifdef HAVE_IEEEFP_H
58980 #include <ieeefp.h>
58981 #endif
58982
58983 int
58984 main ()
58985 {
58986 _logl(0);
58987 ;
58988 return 0;
58989 }
58990 _ACEOF
58991 if ac_fn_cxx_try_compile "$LINENO"; then :
58992 glibcxx_cv_func__logl_use=yes
58993 else
58994 glibcxx_cv_func__logl_use=no
58995 fi
58996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58997 ac_ext=c
58998 ac_cpp='$CPP $CPPFLAGS'
58999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59002
59003
59004 fi
59005
59006 fi
59007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59008 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59009
59010 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59011 for ac_func in _logl
59012 do :
59013 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59014 if test "x$ac_cv_func__logl" = xyes; then :
59015 cat >>confdefs.h <<_ACEOF
59016 #define HAVE__LOGL 1
59017 _ACEOF
59018
59019 fi
59020 done
59021
59022 fi
59023 fi
59024
59025
59026
59027
59028
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59030 $as_echo_n "checking for log10l declaration... " >&6; }
59031 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59032 if ${glibcxx_cv_func_log10l_use+:} false; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59035
59036
59037 ac_ext=cpp
59038 ac_cpp='$CXXCPP $CPPFLAGS'
59039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59042
59043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044 /* end confdefs.h. */
59045 #include <math.h>
59046 #ifdef HAVE_IEEEFP_H
59047 #include <ieeefp.h>
59048 #endif
59049
59050 int
59051 main ()
59052 {
59053 log10l(0);
59054 ;
59055 return 0;
59056 }
59057 _ACEOF
59058 if ac_fn_cxx_try_compile "$LINENO"; then :
59059 glibcxx_cv_func_log10l_use=yes
59060 else
59061 glibcxx_cv_func_log10l_use=no
59062 fi
59063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59064 ac_ext=c
59065 ac_cpp='$CPP $CPPFLAGS'
59066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59069
59070
59071 fi
59072
59073 fi
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59075 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59076
59077 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59078 for ac_func in log10l
59079 do :
59080 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59081 if test "x$ac_cv_func_log10l" = xyes; then :
59082 cat >>confdefs.h <<_ACEOF
59083 #define HAVE_LOG10L 1
59084 _ACEOF
59085
59086 fi
59087 done
59088
59089 else
59090
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59092 $as_echo_n "checking for _log10l declaration... " >&6; }
59093 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59094 if ${glibcxx_cv_func__log10l_use+:} false; then :
59095 $as_echo_n "(cached) " >&6
59096 else
59097
59098
59099 ac_ext=cpp
59100 ac_cpp='$CXXCPP $CPPFLAGS'
59101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59104
59105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59106 /* end confdefs.h. */
59107 #include <math.h>
59108 #ifdef HAVE_IEEEFP_H
59109 #include <ieeefp.h>
59110 #endif
59111
59112 int
59113 main ()
59114 {
59115 _log10l(0);
59116 ;
59117 return 0;
59118 }
59119 _ACEOF
59120 if ac_fn_cxx_try_compile "$LINENO"; then :
59121 glibcxx_cv_func__log10l_use=yes
59122 else
59123 glibcxx_cv_func__log10l_use=no
59124 fi
59125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59126 ac_ext=c
59127 ac_cpp='$CPP $CPPFLAGS'
59128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59131
59132
59133 fi
59134
59135 fi
59136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59137 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59138
59139 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59140 for ac_func in _log10l
59141 do :
59142 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59143 if test "x$ac_cv_func__log10l" = xyes; then :
59144 cat >>confdefs.h <<_ACEOF
59145 #define HAVE__LOG10L 1
59146 _ACEOF
59147
59148 fi
59149 done
59150
59151 fi
59152 fi
59153
59154
59155
59156
59157
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59159 $as_echo_n "checking for modfl declaration... " >&6; }
59160 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59161 if ${glibcxx_cv_func_modfl_use+:} false; then :
59162 $as_echo_n "(cached) " >&6
59163 else
59164
59165
59166 ac_ext=cpp
59167 ac_cpp='$CXXCPP $CPPFLAGS'
59168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59171
59172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59173 /* end confdefs.h. */
59174 #include <math.h>
59175 int
59176 main ()
59177 {
59178 modfl(0, 0);
59179 ;
59180 return 0;
59181 }
59182 _ACEOF
59183 if ac_fn_cxx_try_compile "$LINENO"; then :
59184 glibcxx_cv_func_modfl_use=yes
59185 else
59186 glibcxx_cv_func_modfl_use=no
59187 fi
59188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59189 ac_ext=c
59190 ac_cpp='$CPP $CPPFLAGS'
59191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59194
59195
59196 fi
59197
59198 fi
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59200 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59201
59202 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59203 for ac_func in modfl
59204 do :
59205 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59206 if test "x$ac_cv_func_modfl" = xyes; then :
59207 cat >>confdefs.h <<_ACEOF
59208 #define HAVE_MODFL 1
59209 _ACEOF
59210
59211 fi
59212 done
59213
59214 else
59215
59216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59217 $as_echo_n "checking for _modfl declaration... " >&6; }
59218 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59219 if ${glibcxx_cv_func__modfl_use+:} false; then :
59220 $as_echo_n "(cached) " >&6
59221 else
59222
59223
59224 ac_ext=cpp
59225 ac_cpp='$CXXCPP $CPPFLAGS'
59226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59229
59230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59231 /* end confdefs.h. */
59232 #include <math.h>
59233 int
59234 main ()
59235 {
59236 _modfl(0, 0);
59237 ;
59238 return 0;
59239 }
59240 _ACEOF
59241 if ac_fn_cxx_try_compile "$LINENO"; then :
59242 glibcxx_cv_func__modfl_use=yes
59243 else
59244 glibcxx_cv_func__modfl_use=no
59245 fi
59246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59247 ac_ext=c
59248 ac_cpp='$CPP $CPPFLAGS'
59249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59252
59253
59254 fi
59255
59256 fi
59257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59258 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59259
59260 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59261 for ac_func in _modfl
59262 do :
59263 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59264 if test "x$ac_cv_func__modfl" = xyes; then :
59265 cat >>confdefs.h <<_ACEOF
59266 #define HAVE__MODFL 1
59267 _ACEOF
59268
59269 fi
59270 done
59271
59272 fi
59273 fi
59274
59275
59276
59277
59278
59279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59280 $as_echo_n "checking for powl declaration... " >&6; }
59281 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59282 if ${glibcxx_cv_func_powl_use+:} false; then :
59283 $as_echo_n "(cached) " >&6
59284 else
59285
59286
59287 ac_ext=cpp
59288 ac_cpp='$CXXCPP $CPPFLAGS'
59289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59292
59293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59294 /* end confdefs.h. */
59295 #include <math.h>
59296 int
59297 main ()
59298 {
59299 powl(0, 0);
59300 ;
59301 return 0;
59302 }
59303 _ACEOF
59304 if ac_fn_cxx_try_compile "$LINENO"; then :
59305 glibcxx_cv_func_powl_use=yes
59306 else
59307 glibcxx_cv_func_powl_use=no
59308 fi
59309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59310 ac_ext=c
59311 ac_cpp='$CPP $CPPFLAGS'
59312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59315
59316
59317 fi
59318
59319 fi
59320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59321 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59322
59323 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59324 for ac_func in powl
59325 do :
59326 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59327 if test "x$ac_cv_func_powl" = xyes; then :
59328 cat >>confdefs.h <<_ACEOF
59329 #define HAVE_POWL 1
59330 _ACEOF
59331
59332 fi
59333 done
59334
59335 else
59336
59337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59338 $as_echo_n "checking for _powl declaration... " >&6; }
59339 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59340 if ${glibcxx_cv_func__powl_use+:} false; then :
59341 $as_echo_n "(cached) " >&6
59342 else
59343
59344
59345 ac_ext=cpp
59346 ac_cpp='$CXXCPP $CPPFLAGS'
59347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59350
59351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59352 /* end confdefs.h. */
59353 #include <math.h>
59354 int
59355 main ()
59356 {
59357 _powl(0, 0);
59358 ;
59359 return 0;
59360 }
59361 _ACEOF
59362 if ac_fn_cxx_try_compile "$LINENO"; then :
59363 glibcxx_cv_func__powl_use=yes
59364 else
59365 glibcxx_cv_func__powl_use=no
59366 fi
59367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59368 ac_ext=c
59369 ac_cpp='$CPP $CPPFLAGS'
59370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59373
59374
59375 fi
59376
59377 fi
59378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59379 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59380
59381 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59382 for ac_func in _powl
59383 do :
59384 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59385 if test "x$ac_cv_func__powl" = xyes; then :
59386 cat >>confdefs.h <<_ACEOF
59387 #define HAVE__POWL 1
59388 _ACEOF
59389
59390 fi
59391 done
59392
59393 fi
59394 fi
59395
59396
59397
59398
59399
59400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59401 $as_echo_n "checking for sqrtl declaration... " >&6; }
59402 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59403 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59404 $as_echo_n "(cached) " >&6
59405 else
59406
59407
59408 ac_ext=cpp
59409 ac_cpp='$CXXCPP $CPPFLAGS'
59410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59413
59414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59415 /* end confdefs.h. */
59416 #include <math.h>
59417 #ifdef HAVE_IEEEFP_H
59418 #include <ieeefp.h>
59419 #endif
59420
59421 int
59422 main ()
59423 {
59424 sqrtl(0);
59425 ;
59426 return 0;
59427 }
59428 _ACEOF
59429 if ac_fn_cxx_try_compile "$LINENO"; then :
59430 glibcxx_cv_func_sqrtl_use=yes
59431 else
59432 glibcxx_cv_func_sqrtl_use=no
59433 fi
59434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59435 ac_ext=c
59436 ac_cpp='$CPP $CPPFLAGS'
59437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59440
59441
59442 fi
59443
59444 fi
59445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59446 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59447
59448 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59449 for ac_func in sqrtl
59450 do :
59451 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59452 if test "x$ac_cv_func_sqrtl" = xyes; then :
59453 cat >>confdefs.h <<_ACEOF
59454 #define HAVE_SQRTL 1
59455 _ACEOF
59456
59457 fi
59458 done
59459
59460 else
59461
59462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59463 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59464 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59465 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59466 $as_echo_n "(cached) " >&6
59467 else
59468
59469
59470 ac_ext=cpp
59471 ac_cpp='$CXXCPP $CPPFLAGS'
59472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59475
59476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59477 /* end confdefs.h. */
59478 #include <math.h>
59479 #ifdef HAVE_IEEEFP_H
59480 #include <ieeefp.h>
59481 #endif
59482
59483 int
59484 main ()
59485 {
59486 _sqrtl(0);
59487 ;
59488 return 0;
59489 }
59490 _ACEOF
59491 if ac_fn_cxx_try_compile "$LINENO"; then :
59492 glibcxx_cv_func__sqrtl_use=yes
59493 else
59494 glibcxx_cv_func__sqrtl_use=no
59495 fi
59496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59497 ac_ext=c
59498 ac_cpp='$CPP $CPPFLAGS'
59499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59502
59503
59504 fi
59505
59506 fi
59507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59508 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59509
59510 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59511 for ac_func in _sqrtl
59512 do :
59513 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59514 if test "x$ac_cv_func__sqrtl" = xyes; then :
59515 cat >>confdefs.h <<_ACEOF
59516 #define HAVE__SQRTL 1
59517 _ACEOF
59518
59519 fi
59520 done
59521
59522 fi
59523 fi
59524
59525
59526
59527
59528
59529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59530 $as_echo_n "checking for sincosl declaration... " >&6; }
59531 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59532 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59533 $as_echo_n "(cached) " >&6
59534 else
59535
59536
59537 ac_ext=cpp
59538 ac_cpp='$CXXCPP $CPPFLAGS'
59539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59542
59543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59544 /* end confdefs.h. */
59545 #include <math.h>
59546 int
59547 main ()
59548 {
59549 sincosl(0, 0, 0);
59550 ;
59551 return 0;
59552 }
59553 _ACEOF
59554 if ac_fn_cxx_try_compile "$LINENO"; then :
59555 glibcxx_cv_func_sincosl_use=yes
59556 else
59557 glibcxx_cv_func_sincosl_use=no
59558 fi
59559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59560 ac_ext=c
59561 ac_cpp='$CPP $CPPFLAGS'
59562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59565
59566
59567 fi
59568
59569 fi
59570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59571 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59572
59573 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59574 for ac_func in sincosl
59575 do :
59576 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59577 if test "x$ac_cv_func_sincosl" = xyes; then :
59578 cat >>confdefs.h <<_ACEOF
59579 #define HAVE_SINCOSL 1
59580 _ACEOF
59581
59582 fi
59583 done
59584
59585 else
59586
59587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59588 $as_echo_n "checking for _sincosl declaration... " >&6; }
59589 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59590 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59591 $as_echo_n "(cached) " >&6
59592 else
59593
59594
59595 ac_ext=cpp
59596 ac_cpp='$CXXCPP $CPPFLAGS'
59597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59600
59601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59602 /* end confdefs.h. */
59603 #include <math.h>
59604 int
59605 main ()
59606 {
59607 _sincosl(0, 0, 0);
59608 ;
59609 return 0;
59610 }
59611 _ACEOF
59612 if ac_fn_cxx_try_compile "$LINENO"; then :
59613 glibcxx_cv_func__sincosl_use=yes
59614 else
59615 glibcxx_cv_func__sincosl_use=no
59616 fi
59617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59618 ac_ext=c
59619 ac_cpp='$CPP $CPPFLAGS'
59620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59623
59624
59625 fi
59626
59627 fi
59628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59629 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59630
59631 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59632 for ac_func in _sincosl
59633 do :
59634 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59635 if test "x$ac_cv_func__sincosl" = xyes; then :
59636 cat >>confdefs.h <<_ACEOF
59637 #define HAVE__SINCOSL 1
59638 _ACEOF
59639
59640 fi
59641 done
59642
59643 fi
59644 fi
59645
59646
59647
59648
59649
59650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59651 $as_echo_n "checking for finitel declaration... " >&6; }
59652 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59653 if ${glibcxx_cv_func_finitel_use+:} false; then :
59654 $as_echo_n "(cached) " >&6
59655 else
59656
59657
59658 ac_ext=cpp
59659 ac_cpp='$CXXCPP $CPPFLAGS'
59660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59663
59664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59665 /* end confdefs.h. */
59666 #include <math.h>
59667 #ifdef HAVE_IEEEFP_H
59668 #include <ieeefp.h>
59669 #endif
59670
59671 int
59672 main ()
59673 {
59674 finitel(0);
59675 ;
59676 return 0;
59677 }
59678 _ACEOF
59679 if ac_fn_cxx_try_compile "$LINENO"; then :
59680 glibcxx_cv_func_finitel_use=yes
59681 else
59682 glibcxx_cv_func_finitel_use=no
59683 fi
59684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59685 ac_ext=c
59686 ac_cpp='$CPP $CPPFLAGS'
59687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59690
59691
59692 fi
59693
59694 fi
59695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59696 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59697
59698 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59699 for ac_func in finitel
59700 do :
59701 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59702 if test "x$ac_cv_func_finitel" = xyes; then :
59703 cat >>confdefs.h <<_ACEOF
59704 #define HAVE_FINITEL 1
59705 _ACEOF
59706
59707 fi
59708 done
59709
59710 else
59711
59712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59713 $as_echo_n "checking for _finitel declaration... " >&6; }
59714 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59715 if ${glibcxx_cv_func__finitel_use+:} false; then :
59716 $as_echo_n "(cached) " >&6
59717 else
59718
59719
59720 ac_ext=cpp
59721 ac_cpp='$CXXCPP $CPPFLAGS'
59722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59725
59726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59727 /* end confdefs.h. */
59728 #include <math.h>
59729 #ifdef HAVE_IEEEFP_H
59730 #include <ieeefp.h>
59731 #endif
59732
59733 int
59734 main ()
59735 {
59736 _finitel(0);
59737 ;
59738 return 0;
59739 }
59740 _ACEOF
59741 if ac_fn_cxx_try_compile "$LINENO"; then :
59742 glibcxx_cv_func__finitel_use=yes
59743 else
59744 glibcxx_cv_func__finitel_use=no
59745 fi
59746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59747 ac_ext=c
59748 ac_cpp='$CPP $CPPFLAGS'
59749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59752
59753
59754 fi
59755
59756 fi
59757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59758 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59759
59760 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59761 for ac_func in _finitel
59762 do :
59763 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59764 if test "x$ac_cv_func__finitel" = xyes; then :
59765 cat >>confdefs.h <<_ACEOF
59766 #define HAVE__FINITEL 1
59767 _ACEOF
59768
59769 fi
59770 done
59771
59772 fi
59773 fi
59774
59775
59776
59777
59778 LIBS="$ac_save_LIBS"
59779 CXXFLAGS="$ac_save_CXXFLAGS"
59780
59781
59782 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59783 ac_save_CXXFLAGS="$CXXFLAGS"
59784 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59785
59786
59787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59788 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59789 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59790 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59791 $as_echo_n "(cached) " >&6
59792 else
59793
59794
59795 ac_ext=cpp
59796 ac_cpp='$CXXCPP $CPPFLAGS'
59797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59800
59801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59802 /* end confdefs.h. */
59803 #include <stdlib.h>
59804 int
59805 main ()
59806 {
59807 at_quick_exit(0);
59808 ;
59809 return 0;
59810 }
59811 _ACEOF
59812 if ac_fn_cxx_try_compile "$LINENO"; then :
59813 glibcxx_cv_func_at_quick_exit_use=yes
59814 else
59815 glibcxx_cv_func_at_quick_exit_use=no
59816 fi
59817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59818 ac_ext=c
59819 ac_cpp='$CPP $CPPFLAGS'
59820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59823
59824
59825 fi
59826
59827 fi
59828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59829 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59830 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59831 for ac_func in at_quick_exit
59832 do :
59833 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59834 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59835 cat >>confdefs.h <<_ACEOF
59836 #define HAVE_AT_QUICK_EXIT 1
59837 _ACEOF
59838
59839 fi
59840 done
59841
59842 fi
59843
59844
59845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59846 $as_echo_n "checking for quick_exit declaration... " >&6; }
59847 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59848 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59849 $as_echo_n "(cached) " >&6
59850 else
59851
59852
59853 ac_ext=cpp
59854 ac_cpp='$CXXCPP $CPPFLAGS'
59855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59858
59859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59860 /* end confdefs.h. */
59861 #include <stdlib.h>
59862 int
59863 main ()
59864 {
59865 quick_exit(0);
59866 ;
59867 return 0;
59868 }
59869 _ACEOF
59870 if ac_fn_cxx_try_compile "$LINENO"; then :
59871 glibcxx_cv_func_quick_exit_use=yes
59872 else
59873 glibcxx_cv_func_quick_exit_use=no
59874 fi
59875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59876 ac_ext=c
59877 ac_cpp='$CPP $CPPFLAGS'
59878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59881
59882
59883 fi
59884
59885 fi
59886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59887 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59888 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59889 for ac_func in quick_exit
59890 do :
59891 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59892 if test "x$ac_cv_func_quick_exit" = xyes; then :
59893 cat >>confdefs.h <<_ACEOF
59894 #define HAVE_QUICK_EXIT 1
59895 _ACEOF
59896
59897 fi
59898 done
59899
59900 fi
59901
59902
59903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59904 $as_echo_n "checking for strtold declaration... " >&6; }
59905 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59906 if ${glibcxx_cv_func_strtold_use+:} false; then :
59907 $as_echo_n "(cached) " >&6
59908 else
59909
59910
59911 ac_ext=cpp
59912 ac_cpp='$CXXCPP $CPPFLAGS'
59913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59916
59917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59918 /* end confdefs.h. */
59919 #include <stdlib.h>
59920 int
59921 main ()
59922 {
59923 strtold(0, 0);
59924 ;
59925 return 0;
59926 }
59927 _ACEOF
59928 if ac_fn_cxx_try_compile "$LINENO"; then :
59929 glibcxx_cv_func_strtold_use=yes
59930 else
59931 glibcxx_cv_func_strtold_use=no
59932 fi
59933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59934 ac_ext=c
59935 ac_cpp='$CPP $CPPFLAGS'
59936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59939
59940
59941 fi
59942
59943 fi
59944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59945 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59946 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59947 for ac_func in strtold
59948 do :
59949 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59950 if test "x$ac_cv_func_strtold" = xyes; then :
59951 cat >>confdefs.h <<_ACEOF
59952 #define HAVE_STRTOLD 1
59953 _ACEOF
59954
59955 fi
59956 done
59957
59958 fi
59959
59960
59961
59962
59963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59964 $as_echo_n "checking for strtof declaration... " >&6; }
59965 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59966 if ${glibcxx_cv_func_strtof_use+:} false; then :
59967 $as_echo_n "(cached) " >&6
59968 else
59969
59970
59971 ac_ext=cpp
59972 ac_cpp='$CXXCPP $CPPFLAGS'
59973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59976
59977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59978 /* end confdefs.h. */
59979 #include <stdlib.h>
59980 int
59981 main ()
59982 {
59983 strtof(0, 0);
59984 ;
59985 return 0;
59986 }
59987 _ACEOF
59988 if ac_fn_cxx_try_compile "$LINENO"; then :
59989 glibcxx_cv_func_strtof_use=yes
59990 else
59991 glibcxx_cv_func_strtof_use=no
59992 fi
59993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59994 ac_ext=c
59995 ac_cpp='$CPP $CPPFLAGS'
59996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59999
60000
60001 fi
60002
60003 fi
60004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60005 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60006 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60007 for ac_func in strtof
60008 do :
60009 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60010 if test "x$ac_cv_func_strtof" = xyes; then :
60011 cat >>confdefs.h <<_ACEOF
60012 #define HAVE_STRTOF 1
60013 _ACEOF
60014
60015 fi
60016 done
60017
60018 fi
60019
60020
60021
60022
60023 CXXFLAGS="$ac_save_CXXFLAGS"
60024
60025 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
60026
60027 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60028
60029
60030
60031 # Check whether --enable-tls was given.
60032 if test "${enable_tls+set}" = set; then :
60033 enableval=$enable_tls;
60034 case "$enableval" in
60035 yes|no) ;;
60036 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60037 esac
60038
60039 else
60040 enable_tls=yes
60041 fi
60042
60043
60044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60045 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60046 if ${gcc_cv_have_tls+:} false; then :
60047 $as_echo_n "(cached) " >&6
60048 else
60049
60050 if test "$cross_compiling" = yes; then :
60051 if test x$gcc_no_link = xyes; then
60052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60053 fi
60054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60055 /* end confdefs.h. */
60056 __thread int a; int b; int main() { return a = b; }
60057 _ACEOF
60058 if ac_fn_c_try_link "$LINENO"; then :
60059 chktls_save_LDFLAGS="$LDFLAGS"
60060 case $host in
60061 *-*-linux*)
60062 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60063 ;;
60064 esac
60065 chktls_save_CFLAGS="$CFLAGS"
60066 CFLAGS="-fPIC $CFLAGS"
60067 if test x$gcc_no_link = xyes; then
60068 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60069 fi
60070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60071 /* end confdefs.h. */
60072 int f() { return 0; }
60073 _ACEOF
60074 if ac_fn_c_try_link "$LINENO"; then :
60075 if test x$gcc_no_link = xyes; then
60076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60077 fi
60078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60079 /* end confdefs.h. */
60080 __thread int a; int b; int f() { return a = b; }
60081 _ACEOF
60082 if ac_fn_c_try_link "$LINENO"; then :
60083 gcc_cv_have_tls=yes
60084 else
60085 gcc_cv_have_tls=no
60086 fi
60087 rm -f core conftest.err conftest.$ac_objext \
60088 conftest$ac_exeext conftest.$ac_ext
60089 else
60090 gcc_cv_have_tls=yes
60091 fi
60092 rm -f core conftest.err conftest.$ac_objext \
60093 conftest$ac_exeext conftest.$ac_ext
60094 CFLAGS="$chktls_save_CFLAGS"
60095 LDFLAGS="$chktls_save_LDFLAGS"
60096 else
60097 gcc_cv_have_tls=no
60098 fi
60099 rm -f core conftest.err conftest.$ac_objext \
60100 conftest$ac_exeext conftest.$ac_ext
60101
60102
60103 else
60104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60105 /* end confdefs.h. */
60106 __thread int a; int b; int main() { return a = b; }
60107 _ACEOF
60108 if ac_fn_c_try_run "$LINENO"; then :
60109 chktls_save_LDFLAGS="$LDFLAGS"
60110 LDFLAGS="-static $LDFLAGS"
60111 if test x$gcc_no_link = xyes; then
60112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60113 fi
60114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60115 /* end confdefs.h. */
60116 int main() { return 0; }
60117 _ACEOF
60118 if ac_fn_c_try_link "$LINENO"; then :
60119 if test "$cross_compiling" = yes; then :
60120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60122 as_fn_error $? "cannot run test program while cross compiling
60123 See \`config.log' for more details" "$LINENO" 5; }
60124 else
60125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60126 /* end confdefs.h. */
60127 __thread int a; int b; int main() { return a = b; }
60128 _ACEOF
60129 if ac_fn_c_try_run "$LINENO"; then :
60130 gcc_cv_have_tls=yes
60131 else
60132 gcc_cv_have_tls=no
60133 fi
60134 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60135 conftest.$ac_objext conftest.beam conftest.$ac_ext
60136 fi
60137
60138 else
60139 gcc_cv_have_tls=yes
60140 fi
60141 rm -f core conftest.err conftest.$ac_objext \
60142 conftest$ac_exeext conftest.$ac_ext
60143 LDFLAGS="$chktls_save_LDFLAGS"
60144 if test $gcc_cv_have_tls = yes; then
60145 chktls_save_CFLAGS="$CFLAGS"
60146 thread_CFLAGS=failed
60147 for flag in '' '-pthread' '-lpthread'; do
60148 CFLAGS="$flag $chktls_save_CFLAGS"
60149 if test x$gcc_no_link = xyes; then
60150 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60151 fi
60152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60153 /* end confdefs.h. */
60154 #include <pthread.h>
60155 void *g(void *d) { return NULL; }
60156 int
60157 main ()
60158 {
60159 pthread_t t; pthread_create(&t,NULL,g,NULL);
60160 ;
60161 return 0;
60162 }
60163 _ACEOF
60164 if ac_fn_c_try_link "$LINENO"; then :
60165 thread_CFLAGS="$flag"
60166 fi
60167 rm -f core conftest.err conftest.$ac_objext \
60168 conftest$ac_exeext conftest.$ac_ext
60169 if test "X$thread_CFLAGS" != Xfailed; then
60170 break
60171 fi
60172 done
60173 CFLAGS="$chktls_save_CFLAGS"
60174 if test "X$thread_CFLAGS" != Xfailed; then
60175 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60176 if test "$cross_compiling" = yes; then :
60177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60179 as_fn_error $? "cannot run test program while cross compiling
60180 See \`config.log' for more details" "$LINENO" 5; }
60181 else
60182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60183 /* end confdefs.h. */
60184 #include <pthread.h>
60185 __thread int a;
60186 static int *volatile a_in_other_thread;
60187 static void *
60188 thread_func (void *arg)
60189 {
60190 a_in_other_thread = &a;
60191 return (void *)0;
60192 }
60193 int
60194 main ()
60195 {
60196 pthread_t thread;
60197 void *thread_retval;
60198 int *volatile a_in_main_thread;
60199 a_in_main_thread = &a;
60200 if (pthread_create (&thread, (pthread_attr_t *)0,
60201 thread_func, (void *)0))
60202 return 0;
60203 if (pthread_join (thread, &thread_retval))
60204 return 0;
60205 return (a_in_other_thread == a_in_main_thread);
60206 ;
60207 return 0;
60208 }
60209 _ACEOF
60210 if ac_fn_c_try_run "$LINENO"; then :
60211 gcc_cv_have_tls=yes
60212 else
60213 gcc_cv_have_tls=no
60214 fi
60215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60216 conftest.$ac_objext conftest.beam conftest.$ac_ext
60217 fi
60218
60219 CFLAGS="$chktls_save_CFLAGS"
60220 fi
60221 fi
60222 else
60223 gcc_cv_have_tls=no
60224 fi
60225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60226 conftest.$ac_objext conftest.beam conftest.$ac_ext
60227 fi
60228
60229 fi
60230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60231 $as_echo "$gcc_cv_have_tls" >&6; }
60232 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60233
60234 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60235
60236 fi
60237 for ac_func in __cxa_thread_atexit_impl
60238 do :
60239 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60240 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60241 cat >>confdefs.h <<_ACEOF
60242 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60243 _ACEOF
60244
60245 fi
60246 done
60247
60248 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60249 do :
60250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60253 cat >>confdefs.h <<_ACEOF
60254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60255 _ACEOF
60256
60257 fi
60258 done
60259
60260 for ac_func in timespec_get
60261 do :
60262 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60263 if test "x$ac_cv_func_timespec_get" = xyes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define HAVE_TIMESPEC_GET 1
60266 _ACEOF
60267
60268 fi
60269 done
60270
60271
60272
60273
60274
60275
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60277 $as_echo_n "checking for iconv... " >&6; }
60278 if ${am_cv_func_iconv+:} false; then :
60279 $as_echo_n "(cached) " >&6
60280 else
60281
60282 am_cv_func_iconv="no, consider installing GNU libiconv"
60283 am_cv_lib_iconv=no
60284 am_save_CPPFLAGS="$CPPFLAGS"
60285 CPPFLAGS="$CPPFLAGS $INCICONV"
60286 if test x$gcc_no_link = xyes; then
60287 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60288 fi
60289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60290 /* end confdefs.h. */
60291 #include <stdlib.h>
60292 #include <iconv.h>
60293 int
60294 main ()
60295 {
60296 iconv_t cd = iconv_open("","");
60297 iconv(cd,NULL,NULL,NULL,NULL);
60298 iconv_close(cd);
60299 ;
60300 return 0;
60301 }
60302 _ACEOF
60303 if ac_fn_c_try_link "$LINENO"; then :
60304 am_cv_func_iconv=yes
60305 fi
60306 rm -f core conftest.err conftest.$ac_objext \
60307 conftest$ac_exeext conftest.$ac_ext
60308 CPPFLAGS="$am_save_CPPFLAGS"
60309
60310 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60311 for _libs in .libs _libs; do
60312 am_save_CPPFLAGS="$CPPFLAGS"
60313 am_save_LIBS="$LIBS"
60314 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60315 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60316 if test x$gcc_no_link = xyes; then
60317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60318 fi
60319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60320 /* end confdefs.h. */
60321 #include <stdlib.h>
60322 #include <iconv.h>
60323 int
60324 main ()
60325 {
60326 iconv_t cd = iconv_open("","");
60327 iconv(cd,NULL,NULL,NULL,NULL);
60328 iconv_close(cd);
60329 ;
60330 return 0;
60331 }
60332 _ACEOF
60333 if ac_fn_c_try_link "$LINENO"; then :
60334 INCICONV="-I../libiconv/include"
60335 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60336 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60337 am_cv_lib_iconv=yes
60338 am_cv_func_iconv=yes
60339 fi
60340 rm -f core conftest.err conftest.$ac_objext \
60341 conftest$ac_exeext conftest.$ac_ext
60342 CPPFLAGS="$am_save_CPPFLAGS"
60343 LIBS="$am_save_LIBS"
60344 if test "$am_cv_func_iconv" = "yes"; then
60345 break
60346 fi
60347 done
60348 fi
60349
60350 if test "$am_cv_func_iconv" != yes; then
60351 am_save_CPPFLAGS="$CPPFLAGS"
60352 am_save_LIBS="$LIBS"
60353 CPPFLAGS="$CPPFLAGS $INCICONV"
60354 LIBS="$LIBS $LIBICONV"
60355 if test x$gcc_no_link = xyes; then
60356 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60357 fi
60358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60359 /* end confdefs.h. */
60360 #include <stdlib.h>
60361 #include <iconv.h>
60362 int
60363 main ()
60364 {
60365 iconv_t cd = iconv_open("","");
60366 iconv(cd,NULL,NULL,NULL,NULL);
60367 iconv_close(cd);
60368 ;
60369 return 0;
60370 }
60371 _ACEOF
60372 if ac_fn_c_try_link "$LINENO"; then :
60373 am_cv_lib_iconv=yes
60374 am_cv_func_iconv=yes
60375 fi
60376 rm -f core conftest.err conftest.$ac_objext \
60377 conftest$ac_exeext conftest.$ac_ext
60378 CPPFLAGS="$am_save_CPPFLAGS"
60379 LIBS="$am_save_LIBS"
60380 fi
60381
60382 fi
60383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60384 $as_echo "$am_cv_func_iconv" >&6; }
60385 if test "$am_cv_func_iconv" = yes; then
60386
60387 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60388
60389 fi
60390 if test "$am_cv_lib_iconv" = yes; then
60391
60392 for element in $INCICONV; do
60393 haveit=
60394 for x in $CPPFLAGS; do
60395
60396 acl_save_prefix="$prefix"
60397 prefix="$acl_final_prefix"
60398 acl_save_exec_prefix="$exec_prefix"
60399 exec_prefix="$acl_final_exec_prefix"
60400 eval x=\"$x\"
60401 exec_prefix="$acl_save_exec_prefix"
60402 prefix="$acl_save_prefix"
60403
60404 if test "X$x" = "X$element"; then
60405 haveit=yes
60406 break
60407 fi
60408 done
60409 if test -z "$haveit"; then
60410 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60411 fi
60412 done
60413
60414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60415 $as_echo_n "checking how to link with libiconv... " >&6; }
60416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60417 $as_echo "$LIBICONV" >&6; }
60418 else
60419 LIBICONV=
60420 LTLIBICONV=
60421 fi
60422
60423
60424
60425 if test "$am_cv_func_iconv" = yes; then
60426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60427 $as_echo_n "checking for iconv declaration... " >&6; }
60428 if ${am_cv_proto_iconv+:} false; then :
60429 $as_echo_n "(cached) " >&6
60430 else
60431
60432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60433 /* end confdefs.h. */
60434
60435 #include <stdlib.h>
60436 #include <iconv.h>
60437 extern
60438 #ifdef __cplusplus
60439 "C"
60440 #endif
60441 #if defined(__STDC__) || defined(__cplusplus)
60442 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60443 #else
60444 size_t iconv();
60445 #endif
60446
60447 int
60448 main ()
60449 {
60450
60451 ;
60452 return 0;
60453 }
60454 _ACEOF
60455 if ac_fn_c_try_compile "$LINENO"; then :
60456 am_cv_proto_iconv_arg1=""
60457 else
60458 am_cv_proto_iconv_arg1="const"
60459 fi
60460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60461 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);"
60462 fi
60463
60464 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60466 }$am_cv_proto_iconv" >&5
60467 $as_echo "${ac_t:-
60468 }$am_cv_proto_iconv" >&6; }
60469
60470 cat >>confdefs.h <<_ACEOF
60471 #define ICONV_CONST $am_cv_proto_iconv_arg1
60472 _ACEOF
60473
60474 fi
60475
60476 ;;
60477 *-mingw32*)
60478
60479 # If we're not using GNU ld, then there's no point in even trying these
60480 # tests. Check for that first. We should have already tested for gld
60481 # by now (in libtool), but require it now just to be safe...
60482 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60483 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60484
60485
60486
60487 # The name set by libtool depends on the version of libtool. Shame on us
60488 # for depending on an impl detail, but c'est la vie. Older versions used
60489 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60490 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60491 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60492 # set (hence we're using an older libtool), then set it.
60493 if test x${with_gnu_ld+set} != xset; then
60494 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60495 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60496 with_gnu_ld=no
60497 else
60498 with_gnu_ld=$ac_cv_prog_gnu_ld
60499 fi
60500 fi
60501
60502 # Start by getting the version number. I think the libtool test already
60503 # does some of this, but throws away the result.
60504 glibcxx_ld_is_gold=no
60505 if test x"$with_gnu_ld" = x"yes"; then
60506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60507 $as_echo_n "checking for ld version... " >&6; }
60508
60509 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60510 glibcxx_ld_is_gold=yes
60511 fi
60512 ldver=`$LD --version 2>/dev/null |
60513 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'`
60514
60515 glibcxx_gnu_ld_version=`echo $ldver | \
60516 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60518 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60519 fi
60520
60521 # Set --gc-sections.
60522 glibcxx_have_gc_sections=no
60523 if test "$glibcxx_ld_is_gold" = "yes"; then
60524 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60525 glibcxx_have_gc_sections=yes
60526 fi
60527 else
60528 glibcxx_gcsections_min_ld=21602
60529 if test x"$with_gnu_ld" = x"yes" &&
60530 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60531 glibcxx_have_gc_sections=yes
60532 fi
60533 fi
60534 if test "$glibcxx_have_gc_sections" = "yes"; then
60535 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60536 # NB: This flag only works reliably after 2.16.1. Configure tests
60537 # for this are difficult, so hard wire a value that should work.
60538
60539 ac_test_CFLAGS="${CFLAGS+set}"
60540 ac_save_CFLAGS="$CFLAGS"
60541 CFLAGS='-Wl,--gc-sections'
60542
60543 # Check for -Wl,--gc-sections
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60545 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60546 if test x$gcc_no_link = xyes; then
60547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60548 fi
60549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60550 /* end confdefs.h. */
60551 int one(void) { return 1; }
60552 int two(void) { return 2; }
60553
60554 int
60555 main ()
60556 {
60557 two();
60558 ;
60559 return 0;
60560 }
60561 _ACEOF
60562 if ac_fn_c_try_link "$LINENO"; then :
60563 ac_gcsections=yes
60564 else
60565 ac_gcsections=no
60566 fi
60567 rm -f core conftest.err conftest.$ac_objext \
60568 conftest$ac_exeext conftest.$ac_ext
60569 if test "$ac_gcsections" = "yes"; then
60570 rm -f conftest.c
60571 touch conftest.c
60572 if $CC -c conftest.c; then
60573 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60574 grep "Warning: gc-sections option ignored" > /dev/null; then
60575 ac_gcsections=no
60576 fi
60577 fi
60578 rm -f conftest.c conftest.o conftest
60579 fi
60580 if test "$ac_gcsections" = "yes"; then
60581 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60582 fi
60583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60584 $as_echo "$ac_gcsections" >&6; }
60585
60586 if test "$ac_test_CFLAGS" = set; then
60587 CFLAGS="$ac_save_CFLAGS"
60588 else
60589 # this is the suspicious part
60590 CFLAGS=''
60591 fi
60592 fi
60593
60594 # Set -z,relro.
60595 # Note this is only for shared objects.
60596 ac_ld_relro=no
60597 if test x"$with_gnu_ld" = x"yes"; then
60598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60599 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60600 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60601 if test -n "$cxx_z_relo"; then
60602 OPT_LDFLAGS="-Wl,-z,relro"
60603 ac_ld_relro=yes
60604 fi
60605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60606 $as_echo "$ac_ld_relro" >&6; }
60607 fi
60608
60609 # Set linker optimization flags.
60610 if test x"$with_gnu_ld" = x"yes"; then
60611 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60612 fi
60613
60614
60615
60616
60617
60618 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60619 ac_save_CXXFLAGS="$CXXFLAGS"
60620 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60621
60622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60623 $as_echo_n "checking for sin in -lm... " >&6; }
60624 if ${ac_cv_lib_m_sin+:} false; then :
60625 $as_echo_n "(cached) " >&6
60626 else
60627 ac_check_lib_save_LIBS=$LIBS
60628 LIBS="-lm $LIBS"
60629 if test x$gcc_no_link = xyes; then
60630 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60631 fi
60632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60633 /* end confdefs.h. */
60634
60635 /* Override any GCC internal prototype to avoid an error.
60636 Use char because int might match the return type of a GCC
60637 builtin and then its argument prototype would still apply. */
60638 #ifdef __cplusplus
60639 extern "C"
60640 #endif
60641 char sin ();
60642 int
60643 main ()
60644 {
60645 return sin ();
60646 ;
60647 return 0;
60648 }
60649 _ACEOF
60650 if ac_fn_c_try_link "$LINENO"; then :
60651 ac_cv_lib_m_sin=yes
60652 else
60653 ac_cv_lib_m_sin=no
60654 fi
60655 rm -f core conftest.err conftest.$ac_objext \
60656 conftest$ac_exeext conftest.$ac_ext
60657 LIBS=$ac_check_lib_save_LIBS
60658 fi
60659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60660 $as_echo "$ac_cv_lib_m_sin" >&6; }
60661 if test "x$ac_cv_lib_m_sin" = xyes; then :
60662 libm="-lm"
60663 fi
60664
60665 ac_save_LIBS="$LIBS"
60666 LIBS="$LIBS $libm"
60667
60668
60669
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60671 $as_echo_n "checking for isinf declaration... " >&6; }
60672 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60673 if ${glibcxx_cv_func_isinf_use+:} false; then :
60674 $as_echo_n "(cached) " >&6
60675 else
60676
60677
60678 ac_ext=cpp
60679 ac_cpp='$CXXCPP $CPPFLAGS'
60680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60683
60684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60685 /* end confdefs.h. */
60686 #include <math.h>
60687 #ifdef HAVE_IEEEFP_H
60688 #include <ieeefp.h>
60689 #endif
60690
60691 int
60692 main ()
60693 {
60694 isinf(0);
60695 ;
60696 return 0;
60697 }
60698 _ACEOF
60699 if ac_fn_cxx_try_compile "$LINENO"; then :
60700 glibcxx_cv_func_isinf_use=yes
60701 else
60702 glibcxx_cv_func_isinf_use=no
60703 fi
60704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60705 ac_ext=c
60706 ac_cpp='$CPP $CPPFLAGS'
60707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60710
60711
60712 fi
60713
60714 fi
60715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60716 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60717
60718 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60719 for ac_func in isinf
60720 do :
60721 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60722 if test "x$ac_cv_func_isinf" = xyes; then :
60723 cat >>confdefs.h <<_ACEOF
60724 #define HAVE_ISINF 1
60725 _ACEOF
60726
60727 fi
60728 done
60729
60730 else
60731
60732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60733 $as_echo_n "checking for _isinf declaration... " >&6; }
60734 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60735 if ${glibcxx_cv_func__isinf_use+:} false; then :
60736 $as_echo_n "(cached) " >&6
60737 else
60738
60739
60740 ac_ext=cpp
60741 ac_cpp='$CXXCPP $CPPFLAGS'
60742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60745
60746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60747 /* end confdefs.h. */
60748 #include <math.h>
60749 #ifdef HAVE_IEEEFP_H
60750 #include <ieeefp.h>
60751 #endif
60752
60753 int
60754 main ()
60755 {
60756 _isinf(0);
60757 ;
60758 return 0;
60759 }
60760 _ACEOF
60761 if ac_fn_cxx_try_compile "$LINENO"; then :
60762 glibcxx_cv_func__isinf_use=yes
60763 else
60764 glibcxx_cv_func__isinf_use=no
60765 fi
60766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60767 ac_ext=c
60768 ac_cpp='$CPP $CPPFLAGS'
60769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60772
60773
60774 fi
60775
60776 fi
60777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60778 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60779
60780 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60781 for ac_func in _isinf
60782 do :
60783 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60784 if test "x$ac_cv_func__isinf" = xyes; then :
60785 cat >>confdefs.h <<_ACEOF
60786 #define HAVE__ISINF 1
60787 _ACEOF
60788
60789 fi
60790 done
60791
60792 fi
60793 fi
60794
60795
60796
60797
60798
60799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60800 $as_echo_n "checking for isnan declaration... " >&6; }
60801 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60802 if ${glibcxx_cv_func_isnan_use+:} false; then :
60803 $as_echo_n "(cached) " >&6
60804 else
60805
60806
60807 ac_ext=cpp
60808 ac_cpp='$CXXCPP $CPPFLAGS'
60809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60812
60813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60814 /* end confdefs.h. */
60815 #include <math.h>
60816 #ifdef HAVE_IEEEFP_H
60817 #include <ieeefp.h>
60818 #endif
60819
60820 int
60821 main ()
60822 {
60823 isnan(0);
60824 ;
60825 return 0;
60826 }
60827 _ACEOF
60828 if ac_fn_cxx_try_compile "$LINENO"; then :
60829 glibcxx_cv_func_isnan_use=yes
60830 else
60831 glibcxx_cv_func_isnan_use=no
60832 fi
60833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60834 ac_ext=c
60835 ac_cpp='$CPP $CPPFLAGS'
60836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60839
60840
60841 fi
60842
60843 fi
60844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60845 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60846
60847 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60848 for ac_func in isnan
60849 do :
60850 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60851 if test "x$ac_cv_func_isnan" = xyes; then :
60852 cat >>confdefs.h <<_ACEOF
60853 #define HAVE_ISNAN 1
60854 _ACEOF
60855
60856 fi
60857 done
60858
60859 else
60860
60861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60862 $as_echo_n "checking for _isnan declaration... " >&6; }
60863 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60864 if ${glibcxx_cv_func__isnan_use+:} false; then :
60865 $as_echo_n "(cached) " >&6
60866 else
60867
60868
60869 ac_ext=cpp
60870 ac_cpp='$CXXCPP $CPPFLAGS'
60871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60874
60875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60876 /* end confdefs.h. */
60877 #include <math.h>
60878 #ifdef HAVE_IEEEFP_H
60879 #include <ieeefp.h>
60880 #endif
60881
60882 int
60883 main ()
60884 {
60885 _isnan(0);
60886 ;
60887 return 0;
60888 }
60889 _ACEOF
60890 if ac_fn_cxx_try_compile "$LINENO"; then :
60891 glibcxx_cv_func__isnan_use=yes
60892 else
60893 glibcxx_cv_func__isnan_use=no
60894 fi
60895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60896 ac_ext=c
60897 ac_cpp='$CPP $CPPFLAGS'
60898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60901
60902
60903 fi
60904
60905 fi
60906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60907 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60908
60909 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60910 for ac_func in _isnan
60911 do :
60912 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60913 if test "x$ac_cv_func__isnan" = xyes; then :
60914 cat >>confdefs.h <<_ACEOF
60915 #define HAVE__ISNAN 1
60916 _ACEOF
60917
60918 fi
60919 done
60920
60921 fi
60922 fi
60923
60924
60925
60926
60927
60928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60929 $as_echo_n "checking for finite declaration... " >&6; }
60930 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60931 if ${glibcxx_cv_func_finite_use+:} false; then :
60932 $as_echo_n "(cached) " >&6
60933 else
60934
60935
60936 ac_ext=cpp
60937 ac_cpp='$CXXCPP $CPPFLAGS'
60938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60941
60942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60943 /* end confdefs.h. */
60944 #include <math.h>
60945 #ifdef HAVE_IEEEFP_H
60946 #include <ieeefp.h>
60947 #endif
60948
60949 int
60950 main ()
60951 {
60952 finite(0);
60953 ;
60954 return 0;
60955 }
60956 _ACEOF
60957 if ac_fn_cxx_try_compile "$LINENO"; then :
60958 glibcxx_cv_func_finite_use=yes
60959 else
60960 glibcxx_cv_func_finite_use=no
60961 fi
60962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60963 ac_ext=c
60964 ac_cpp='$CPP $CPPFLAGS'
60965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60968
60969
60970 fi
60971
60972 fi
60973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60974 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60975
60976 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60977 for ac_func in finite
60978 do :
60979 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60980 if test "x$ac_cv_func_finite" = xyes; then :
60981 cat >>confdefs.h <<_ACEOF
60982 #define HAVE_FINITE 1
60983 _ACEOF
60984
60985 fi
60986 done
60987
60988 else
60989
60990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60991 $as_echo_n "checking for _finite declaration... " >&6; }
60992 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60993 if ${glibcxx_cv_func__finite_use+:} false; then :
60994 $as_echo_n "(cached) " >&6
60995 else
60996
60997
60998 ac_ext=cpp
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61003
61004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61005 /* end confdefs.h. */
61006 #include <math.h>
61007 #ifdef HAVE_IEEEFP_H
61008 #include <ieeefp.h>
61009 #endif
61010
61011 int
61012 main ()
61013 {
61014 _finite(0);
61015 ;
61016 return 0;
61017 }
61018 _ACEOF
61019 if ac_fn_cxx_try_compile "$LINENO"; then :
61020 glibcxx_cv_func__finite_use=yes
61021 else
61022 glibcxx_cv_func__finite_use=no
61023 fi
61024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61025 ac_ext=c
61026 ac_cpp='$CPP $CPPFLAGS'
61027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61030
61031
61032 fi
61033
61034 fi
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61036 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61037
61038 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61039 for ac_func in _finite
61040 do :
61041 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61042 if test "x$ac_cv_func__finite" = xyes; then :
61043 cat >>confdefs.h <<_ACEOF
61044 #define HAVE__FINITE 1
61045 _ACEOF
61046
61047 fi
61048 done
61049
61050 fi
61051 fi
61052
61053
61054
61055
61056
61057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61058 $as_echo_n "checking for sincos declaration... " >&6; }
61059 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61060 if ${glibcxx_cv_func_sincos_use+:} false; then :
61061 $as_echo_n "(cached) " >&6
61062 else
61063
61064
61065 ac_ext=cpp
61066 ac_cpp='$CXXCPP $CPPFLAGS'
61067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61070
61071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61072 /* end confdefs.h. */
61073 #include <math.h>
61074 int
61075 main ()
61076 {
61077 sincos(0, 0, 0);
61078 ;
61079 return 0;
61080 }
61081 _ACEOF
61082 if ac_fn_cxx_try_compile "$LINENO"; then :
61083 glibcxx_cv_func_sincos_use=yes
61084 else
61085 glibcxx_cv_func_sincos_use=no
61086 fi
61087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61088 ac_ext=c
61089 ac_cpp='$CPP $CPPFLAGS'
61090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61093
61094
61095 fi
61096
61097 fi
61098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61099 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61100
61101 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61102 for ac_func in sincos
61103 do :
61104 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61105 if test "x$ac_cv_func_sincos" = xyes; then :
61106 cat >>confdefs.h <<_ACEOF
61107 #define HAVE_SINCOS 1
61108 _ACEOF
61109
61110 fi
61111 done
61112
61113 else
61114
61115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61116 $as_echo_n "checking for _sincos declaration... " >&6; }
61117 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61118 if ${glibcxx_cv_func__sincos_use+:} false; then :
61119 $as_echo_n "(cached) " >&6
61120 else
61121
61122
61123 ac_ext=cpp
61124 ac_cpp='$CXXCPP $CPPFLAGS'
61125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61128
61129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61130 /* end confdefs.h. */
61131 #include <math.h>
61132 int
61133 main ()
61134 {
61135 _sincos(0, 0, 0);
61136 ;
61137 return 0;
61138 }
61139 _ACEOF
61140 if ac_fn_cxx_try_compile "$LINENO"; then :
61141 glibcxx_cv_func__sincos_use=yes
61142 else
61143 glibcxx_cv_func__sincos_use=no
61144 fi
61145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61146 ac_ext=c
61147 ac_cpp='$CPP $CPPFLAGS'
61148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61151
61152
61153 fi
61154
61155 fi
61156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61157 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61158
61159 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61160 for ac_func in _sincos
61161 do :
61162 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61163 if test "x$ac_cv_func__sincos" = xyes; then :
61164 cat >>confdefs.h <<_ACEOF
61165 #define HAVE__SINCOS 1
61166 _ACEOF
61167
61168 fi
61169 done
61170
61171 fi
61172 fi
61173
61174
61175
61176
61177
61178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61179 $as_echo_n "checking for fpclass declaration... " >&6; }
61180 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61181 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61182 $as_echo_n "(cached) " >&6
61183 else
61184
61185
61186 ac_ext=cpp
61187 ac_cpp='$CXXCPP $CPPFLAGS'
61188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191
61192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61193 /* end confdefs.h. */
61194 #include <math.h>
61195 #ifdef HAVE_IEEEFP_H
61196 #include <ieeefp.h>
61197 #endif
61198
61199 int
61200 main ()
61201 {
61202 fpclass(0);
61203 ;
61204 return 0;
61205 }
61206 _ACEOF
61207 if ac_fn_cxx_try_compile "$LINENO"; then :
61208 glibcxx_cv_func_fpclass_use=yes
61209 else
61210 glibcxx_cv_func_fpclass_use=no
61211 fi
61212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61213 ac_ext=c
61214 ac_cpp='$CPP $CPPFLAGS'
61215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61218
61219
61220 fi
61221
61222 fi
61223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61224 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61225
61226 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61227 for ac_func in fpclass
61228 do :
61229 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61230 if test "x$ac_cv_func_fpclass" = xyes; then :
61231 cat >>confdefs.h <<_ACEOF
61232 #define HAVE_FPCLASS 1
61233 _ACEOF
61234
61235 fi
61236 done
61237
61238 else
61239
61240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61241 $as_echo_n "checking for _fpclass declaration... " >&6; }
61242 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61243 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61244 $as_echo_n "(cached) " >&6
61245 else
61246
61247
61248 ac_ext=cpp
61249 ac_cpp='$CXXCPP $CPPFLAGS'
61250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61253
61254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61255 /* end confdefs.h. */
61256 #include <math.h>
61257 #ifdef HAVE_IEEEFP_H
61258 #include <ieeefp.h>
61259 #endif
61260
61261 int
61262 main ()
61263 {
61264 _fpclass(0);
61265 ;
61266 return 0;
61267 }
61268 _ACEOF
61269 if ac_fn_cxx_try_compile "$LINENO"; then :
61270 glibcxx_cv_func__fpclass_use=yes
61271 else
61272 glibcxx_cv_func__fpclass_use=no
61273 fi
61274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61275 ac_ext=c
61276 ac_cpp='$CPP $CPPFLAGS'
61277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61280
61281
61282 fi
61283
61284 fi
61285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61286 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61287
61288 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61289 for ac_func in _fpclass
61290 do :
61291 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61292 if test "x$ac_cv_func__fpclass" = xyes; then :
61293 cat >>confdefs.h <<_ACEOF
61294 #define HAVE__FPCLASS 1
61295 _ACEOF
61296
61297 fi
61298 done
61299
61300 fi
61301 fi
61302
61303
61304
61305
61306
61307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61308 $as_echo_n "checking for qfpclass declaration... " >&6; }
61309 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61310 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61311 $as_echo_n "(cached) " >&6
61312 else
61313
61314
61315 ac_ext=cpp
61316 ac_cpp='$CXXCPP $CPPFLAGS'
61317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61320
61321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61322 /* end confdefs.h. */
61323 #include <math.h>
61324 #ifdef HAVE_IEEEFP_H
61325 #include <ieeefp.h>
61326 #endif
61327
61328 int
61329 main ()
61330 {
61331 qfpclass(0);
61332 ;
61333 return 0;
61334 }
61335 _ACEOF
61336 if ac_fn_cxx_try_compile "$LINENO"; then :
61337 glibcxx_cv_func_qfpclass_use=yes
61338 else
61339 glibcxx_cv_func_qfpclass_use=no
61340 fi
61341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61342 ac_ext=c
61343 ac_cpp='$CPP $CPPFLAGS'
61344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61347
61348
61349 fi
61350
61351 fi
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61353 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61354
61355 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61356 for ac_func in qfpclass
61357 do :
61358 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61359 if test "x$ac_cv_func_qfpclass" = xyes; then :
61360 cat >>confdefs.h <<_ACEOF
61361 #define HAVE_QFPCLASS 1
61362 _ACEOF
61363
61364 fi
61365 done
61366
61367 else
61368
61369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61370 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61371 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61372 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61373 $as_echo_n "(cached) " >&6
61374 else
61375
61376
61377 ac_ext=cpp
61378 ac_cpp='$CXXCPP $CPPFLAGS'
61379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61382
61383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61384 /* end confdefs.h. */
61385 #include <math.h>
61386 #ifdef HAVE_IEEEFP_H
61387 #include <ieeefp.h>
61388 #endif
61389
61390 int
61391 main ()
61392 {
61393 _qfpclass(0);
61394 ;
61395 return 0;
61396 }
61397 _ACEOF
61398 if ac_fn_cxx_try_compile "$LINENO"; then :
61399 glibcxx_cv_func__qfpclass_use=yes
61400 else
61401 glibcxx_cv_func__qfpclass_use=no
61402 fi
61403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61404 ac_ext=c
61405 ac_cpp='$CPP $CPPFLAGS'
61406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61409
61410
61411 fi
61412
61413 fi
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61415 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61416
61417 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61418 for ac_func in _qfpclass
61419 do :
61420 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61421 if test "x$ac_cv_func__qfpclass" = xyes; then :
61422 cat >>confdefs.h <<_ACEOF
61423 #define HAVE__QFPCLASS 1
61424 _ACEOF
61425
61426 fi
61427 done
61428
61429 fi
61430 fi
61431
61432
61433
61434
61435
61436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61437 $as_echo_n "checking for hypot declaration... " >&6; }
61438 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61439 if ${glibcxx_cv_func_hypot_use+:} false; then :
61440 $as_echo_n "(cached) " >&6
61441 else
61442
61443
61444 ac_ext=cpp
61445 ac_cpp='$CXXCPP $CPPFLAGS'
61446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61449
61450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61451 /* end confdefs.h. */
61452 #include <math.h>
61453 int
61454 main ()
61455 {
61456 hypot(0, 0);
61457 ;
61458 return 0;
61459 }
61460 _ACEOF
61461 if ac_fn_cxx_try_compile "$LINENO"; then :
61462 glibcxx_cv_func_hypot_use=yes
61463 else
61464 glibcxx_cv_func_hypot_use=no
61465 fi
61466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61467 ac_ext=c
61468 ac_cpp='$CPP $CPPFLAGS'
61469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61472
61473
61474 fi
61475
61476 fi
61477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61478 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61479
61480 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61481 for ac_func in hypot
61482 do :
61483 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61484 if test "x$ac_cv_func_hypot" = xyes; then :
61485 cat >>confdefs.h <<_ACEOF
61486 #define HAVE_HYPOT 1
61487 _ACEOF
61488
61489 fi
61490 done
61491
61492 else
61493
61494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61495 $as_echo_n "checking for _hypot declaration... " >&6; }
61496 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61497 if ${glibcxx_cv_func__hypot_use+:} false; then :
61498 $as_echo_n "(cached) " >&6
61499 else
61500
61501
61502 ac_ext=cpp
61503 ac_cpp='$CXXCPP $CPPFLAGS'
61504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61507
61508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61509 /* end confdefs.h. */
61510 #include <math.h>
61511 int
61512 main ()
61513 {
61514 _hypot(0, 0);
61515 ;
61516 return 0;
61517 }
61518 _ACEOF
61519 if ac_fn_cxx_try_compile "$LINENO"; then :
61520 glibcxx_cv_func__hypot_use=yes
61521 else
61522 glibcxx_cv_func__hypot_use=no
61523 fi
61524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61525 ac_ext=c
61526 ac_cpp='$CPP $CPPFLAGS'
61527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61530
61531
61532 fi
61533
61534 fi
61535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61536 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61537
61538 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61539 for ac_func in _hypot
61540 do :
61541 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61542 if test "x$ac_cv_func__hypot" = xyes; then :
61543 cat >>confdefs.h <<_ACEOF
61544 #define HAVE__HYPOT 1
61545 _ACEOF
61546
61547 fi
61548 done
61549
61550 fi
61551 fi
61552
61553
61554
61555
61556
61557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61558 $as_echo_n "checking for float trig functions... " >&6; }
61559 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61560 $as_echo_n "(cached) " >&6
61561 else
61562
61563
61564 ac_ext=cpp
61565 ac_cpp='$CXXCPP $CPPFLAGS'
61566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61569
61570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61571 /* end confdefs.h. */
61572 #include <math.h>
61573 int
61574 main ()
61575 {
61576 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61577 ;
61578 return 0;
61579 }
61580 _ACEOF
61581 if ac_fn_cxx_try_compile "$LINENO"; then :
61582 glibcxx_cv_func_float_trig_use=yes
61583 else
61584 glibcxx_cv_func_float_trig_use=no
61585 fi
61586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61587 ac_ext=c
61588 ac_cpp='$CPP $CPPFLAGS'
61589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61592
61593 fi
61594
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61596 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61597 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61598 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61599 do :
61600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61602 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61605 _ACEOF
61606
61607 fi
61608 done
61609
61610 else
61611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61612 $as_echo_n "checking for _float trig functions... " >&6; }
61613 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61614 $as_echo_n "(cached) " >&6
61615 else
61616
61617
61618 ac_ext=cpp
61619 ac_cpp='$CXXCPP $CPPFLAGS'
61620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61623
61624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61625 /* end confdefs.h. */
61626 #include <math.h>
61627 int
61628 main ()
61629 {
61630 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61631 ;
61632 return 0;
61633 }
61634 _ACEOF
61635 if ac_fn_cxx_try_compile "$LINENO"; then :
61636 glibcxx_cv_func__float_trig_use=yes
61637 else
61638 glibcxx_cv_func__float_trig_use=no
61639 fi
61640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61641 ac_ext=c
61642 ac_cpp='$CPP $CPPFLAGS'
61643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61646
61647 fi
61648
61649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61650 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61651 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61652 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61653 do :
61654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61656 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61657 cat >>confdefs.h <<_ACEOF
61658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61659 _ACEOF
61660
61661 fi
61662 done
61663
61664 fi
61665 fi
61666
61667
61668
61669
61670
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61672 $as_echo_n "checking for float round functions... " >&6; }
61673 if ${glibcxx_cv_func_float_round_use+:} false; then :
61674 $as_echo_n "(cached) " >&6
61675 else
61676
61677
61678 ac_ext=cpp
61679 ac_cpp='$CXXCPP $CPPFLAGS'
61680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61683
61684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61685 /* end confdefs.h. */
61686 #include <math.h>
61687 int
61688 main ()
61689 {
61690 ceilf (0); floorf (0);
61691 ;
61692 return 0;
61693 }
61694 _ACEOF
61695 if ac_fn_cxx_try_compile "$LINENO"; then :
61696 glibcxx_cv_func_float_round_use=yes
61697 else
61698 glibcxx_cv_func_float_round_use=no
61699 fi
61700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61701 ac_ext=c
61702 ac_cpp='$CPP $CPPFLAGS'
61703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61706
61707 fi
61708
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61710 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61711 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61712 for ac_func in ceilf floorf
61713 do :
61714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61716 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61717 cat >>confdefs.h <<_ACEOF
61718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61719 _ACEOF
61720
61721 fi
61722 done
61723
61724 else
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61726 $as_echo_n "checking for _float round functions... " >&6; }
61727 if ${glibcxx_cv_func__float_round_use+:} false; then :
61728 $as_echo_n "(cached) " >&6
61729 else
61730
61731
61732 ac_ext=cpp
61733 ac_cpp='$CXXCPP $CPPFLAGS'
61734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61737
61738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61739 /* end confdefs.h. */
61740 #include <math.h>
61741 int
61742 main ()
61743 {
61744 _ceilf (0); _floorf (0);
61745 ;
61746 return 0;
61747 }
61748 _ACEOF
61749 if ac_fn_cxx_try_compile "$LINENO"; then :
61750 glibcxx_cv_func__float_round_use=yes
61751 else
61752 glibcxx_cv_func__float_round_use=no
61753 fi
61754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61755 ac_ext=c
61756 ac_cpp='$CPP $CPPFLAGS'
61757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61760
61761 fi
61762
61763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61764 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61765 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61766 for ac_func in _ceilf _floorf
61767 do :
61768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61770 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61771 cat >>confdefs.h <<_ACEOF
61772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61773 _ACEOF
61774
61775 fi
61776 done
61777
61778 fi
61779 fi
61780
61781
61782
61783
61784
61785
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61787 $as_echo_n "checking for expf declaration... " >&6; }
61788 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61789 if ${glibcxx_cv_func_expf_use+:} false; then :
61790 $as_echo_n "(cached) " >&6
61791 else
61792
61793
61794 ac_ext=cpp
61795 ac_cpp='$CXXCPP $CPPFLAGS'
61796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61799
61800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61801 /* end confdefs.h. */
61802 #include <math.h>
61803 #ifdef HAVE_IEEEFP_H
61804 #include <ieeefp.h>
61805 #endif
61806
61807 int
61808 main ()
61809 {
61810 expf(0);
61811 ;
61812 return 0;
61813 }
61814 _ACEOF
61815 if ac_fn_cxx_try_compile "$LINENO"; then :
61816 glibcxx_cv_func_expf_use=yes
61817 else
61818 glibcxx_cv_func_expf_use=no
61819 fi
61820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61821 ac_ext=c
61822 ac_cpp='$CPP $CPPFLAGS'
61823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61826
61827
61828 fi
61829
61830 fi
61831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61832 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61833
61834 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61835 for ac_func in expf
61836 do :
61837 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61838 if test "x$ac_cv_func_expf" = xyes; then :
61839 cat >>confdefs.h <<_ACEOF
61840 #define HAVE_EXPF 1
61841 _ACEOF
61842
61843 fi
61844 done
61845
61846 else
61847
61848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61849 $as_echo_n "checking for _expf declaration... " >&6; }
61850 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61851 if ${glibcxx_cv_func__expf_use+:} false; then :
61852 $as_echo_n "(cached) " >&6
61853 else
61854
61855
61856 ac_ext=cpp
61857 ac_cpp='$CXXCPP $CPPFLAGS'
61858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61861
61862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61863 /* end confdefs.h. */
61864 #include <math.h>
61865 #ifdef HAVE_IEEEFP_H
61866 #include <ieeefp.h>
61867 #endif
61868
61869 int
61870 main ()
61871 {
61872 _expf(0);
61873 ;
61874 return 0;
61875 }
61876 _ACEOF
61877 if ac_fn_cxx_try_compile "$LINENO"; then :
61878 glibcxx_cv_func__expf_use=yes
61879 else
61880 glibcxx_cv_func__expf_use=no
61881 fi
61882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61883 ac_ext=c
61884 ac_cpp='$CPP $CPPFLAGS'
61885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61888
61889
61890 fi
61891
61892 fi
61893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61894 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61895
61896 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61897 for ac_func in _expf
61898 do :
61899 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61900 if test "x$ac_cv_func__expf" = xyes; then :
61901 cat >>confdefs.h <<_ACEOF
61902 #define HAVE__EXPF 1
61903 _ACEOF
61904
61905 fi
61906 done
61907
61908 fi
61909 fi
61910
61911
61912
61913
61914
61915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61916 $as_echo_n "checking for isnanf declaration... " >&6; }
61917 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61918 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61919 $as_echo_n "(cached) " >&6
61920 else
61921
61922
61923 ac_ext=cpp
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61928
61929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61930 /* end confdefs.h. */
61931 #include <math.h>
61932 #ifdef HAVE_IEEEFP_H
61933 #include <ieeefp.h>
61934 #endif
61935
61936 int
61937 main ()
61938 {
61939 isnanf(0);
61940 ;
61941 return 0;
61942 }
61943 _ACEOF
61944 if ac_fn_cxx_try_compile "$LINENO"; then :
61945 glibcxx_cv_func_isnanf_use=yes
61946 else
61947 glibcxx_cv_func_isnanf_use=no
61948 fi
61949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61950 ac_ext=c
61951 ac_cpp='$CPP $CPPFLAGS'
61952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61955
61956
61957 fi
61958
61959 fi
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61961 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61962
61963 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61964 for ac_func in isnanf
61965 do :
61966 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61967 if test "x$ac_cv_func_isnanf" = xyes; then :
61968 cat >>confdefs.h <<_ACEOF
61969 #define HAVE_ISNANF 1
61970 _ACEOF
61971
61972 fi
61973 done
61974
61975 else
61976
61977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61978 $as_echo_n "checking for _isnanf declaration... " >&6; }
61979 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61980 if ${glibcxx_cv_func__isnanf_use+:} false; then :
61981 $as_echo_n "(cached) " >&6
61982 else
61983
61984
61985 ac_ext=cpp
61986 ac_cpp='$CXXCPP $CPPFLAGS'
61987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61990
61991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61992 /* end confdefs.h. */
61993 #include <math.h>
61994 #ifdef HAVE_IEEEFP_H
61995 #include <ieeefp.h>
61996 #endif
61997
61998 int
61999 main ()
62000 {
62001 _isnanf(0);
62002 ;
62003 return 0;
62004 }
62005 _ACEOF
62006 if ac_fn_cxx_try_compile "$LINENO"; then :
62007 glibcxx_cv_func__isnanf_use=yes
62008 else
62009 glibcxx_cv_func__isnanf_use=no
62010 fi
62011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62012 ac_ext=c
62013 ac_cpp='$CPP $CPPFLAGS'
62014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62017
62018
62019 fi
62020
62021 fi
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62023 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62024
62025 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62026 for ac_func in _isnanf
62027 do :
62028 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62029 if test "x$ac_cv_func__isnanf" = xyes; then :
62030 cat >>confdefs.h <<_ACEOF
62031 #define HAVE__ISNANF 1
62032 _ACEOF
62033
62034 fi
62035 done
62036
62037 fi
62038 fi
62039
62040
62041
62042
62043
62044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62045 $as_echo_n "checking for isinff declaration... " >&6; }
62046 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62047 if ${glibcxx_cv_func_isinff_use+:} false; then :
62048 $as_echo_n "(cached) " >&6
62049 else
62050
62051
62052 ac_ext=cpp
62053 ac_cpp='$CXXCPP $CPPFLAGS'
62054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62057
62058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62059 /* end confdefs.h. */
62060 #include <math.h>
62061 #ifdef HAVE_IEEEFP_H
62062 #include <ieeefp.h>
62063 #endif
62064
62065 int
62066 main ()
62067 {
62068 isinff(0);
62069 ;
62070 return 0;
62071 }
62072 _ACEOF
62073 if ac_fn_cxx_try_compile "$LINENO"; then :
62074 glibcxx_cv_func_isinff_use=yes
62075 else
62076 glibcxx_cv_func_isinff_use=no
62077 fi
62078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62079 ac_ext=c
62080 ac_cpp='$CPP $CPPFLAGS'
62081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62084
62085
62086 fi
62087
62088 fi
62089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62090 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62091
62092 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62093 for ac_func in isinff
62094 do :
62095 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62096 if test "x$ac_cv_func_isinff" = xyes; then :
62097 cat >>confdefs.h <<_ACEOF
62098 #define HAVE_ISINFF 1
62099 _ACEOF
62100
62101 fi
62102 done
62103
62104 else
62105
62106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62107 $as_echo_n "checking for _isinff declaration... " >&6; }
62108 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62109 if ${glibcxx_cv_func__isinff_use+:} false; then :
62110 $as_echo_n "(cached) " >&6
62111 else
62112
62113
62114 ac_ext=cpp
62115 ac_cpp='$CXXCPP $CPPFLAGS'
62116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62119
62120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62121 /* end confdefs.h. */
62122 #include <math.h>
62123 #ifdef HAVE_IEEEFP_H
62124 #include <ieeefp.h>
62125 #endif
62126
62127 int
62128 main ()
62129 {
62130 _isinff(0);
62131 ;
62132 return 0;
62133 }
62134 _ACEOF
62135 if ac_fn_cxx_try_compile "$LINENO"; then :
62136 glibcxx_cv_func__isinff_use=yes
62137 else
62138 glibcxx_cv_func__isinff_use=no
62139 fi
62140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62141 ac_ext=c
62142 ac_cpp='$CPP $CPPFLAGS'
62143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62146
62147
62148 fi
62149
62150 fi
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62152 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62153
62154 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62155 for ac_func in _isinff
62156 do :
62157 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62158 if test "x$ac_cv_func__isinff" = xyes; then :
62159 cat >>confdefs.h <<_ACEOF
62160 #define HAVE__ISINFF 1
62161 _ACEOF
62162
62163 fi
62164 done
62165
62166 fi
62167 fi
62168
62169
62170
62171
62172
62173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62174 $as_echo_n "checking for atan2f declaration... " >&6; }
62175 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62176 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62177 $as_echo_n "(cached) " >&6
62178 else
62179
62180
62181 ac_ext=cpp
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62186
62187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62188 /* end confdefs.h. */
62189 #include <math.h>
62190 int
62191 main ()
62192 {
62193 atan2f(0, 0);
62194 ;
62195 return 0;
62196 }
62197 _ACEOF
62198 if ac_fn_cxx_try_compile "$LINENO"; then :
62199 glibcxx_cv_func_atan2f_use=yes
62200 else
62201 glibcxx_cv_func_atan2f_use=no
62202 fi
62203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62204 ac_ext=c
62205 ac_cpp='$CPP $CPPFLAGS'
62206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62209
62210
62211 fi
62212
62213 fi
62214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62215 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62216
62217 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62218 for ac_func in atan2f
62219 do :
62220 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62221 if test "x$ac_cv_func_atan2f" = xyes; then :
62222 cat >>confdefs.h <<_ACEOF
62223 #define HAVE_ATAN2F 1
62224 _ACEOF
62225
62226 fi
62227 done
62228
62229 else
62230
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62232 $as_echo_n "checking for _atan2f declaration... " >&6; }
62233 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62234 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62237
62238
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62244
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62248 int
62249 main ()
62250 {
62251 _atan2f(0, 0);
62252 ;
62253 return 0;
62254 }
62255 _ACEOF
62256 if ac_fn_cxx_try_compile "$LINENO"; then :
62257 glibcxx_cv_func__atan2f_use=yes
62258 else
62259 glibcxx_cv_func__atan2f_use=no
62260 fi
62261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62262 ac_ext=c
62263 ac_cpp='$CPP $CPPFLAGS'
62264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62267
62268
62269 fi
62270
62271 fi
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62273 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62274
62275 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62276 for ac_func in _atan2f
62277 do :
62278 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62279 if test "x$ac_cv_func__atan2f" = xyes; then :
62280 cat >>confdefs.h <<_ACEOF
62281 #define HAVE__ATAN2F 1
62282 _ACEOF
62283
62284 fi
62285 done
62286
62287 fi
62288 fi
62289
62290
62291
62292
62293
62294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62295 $as_echo_n "checking for fabsf declaration... " >&6; }
62296 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62297 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62298 $as_echo_n "(cached) " >&6
62299 else
62300
62301
62302 ac_ext=cpp
62303 ac_cpp='$CXXCPP $CPPFLAGS'
62304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307
62308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62309 /* end confdefs.h. */
62310 #include <math.h>
62311 #ifdef HAVE_IEEEFP_H
62312 #include <ieeefp.h>
62313 #endif
62314
62315 int
62316 main ()
62317 {
62318 fabsf(0);
62319 ;
62320 return 0;
62321 }
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func_fabsf_use=yes
62325 else
62326 glibcxx_cv_func_fabsf_use=no
62327 fi
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62334
62335
62336 fi
62337
62338 fi
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62340 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62341
62342 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62343 for ac_func in fabsf
62344 do :
62345 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62346 if test "x$ac_cv_func_fabsf" = xyes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE_FABSF 1
62349 _ACEOF
62350
62351 fi
62352 done
62353
62354 else
62355
62356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62357 $as_echo_n "checking for _fabsf declaration... " >&6; }
62358 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62359 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62360 $as_echo_n "(cached) " >&6
62361 else
62362
62363
62364 ac_ext=cpp
62365 ac_cpp='$CXXCPP $CPPFLAGS'
62366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62369
62370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62371 /* end confdefs.h. */
62372 #include <math.h>
62373 #ifdef HAVE_IEEEFP_H
62374 #include <ieeefp.h>
62375 #endif
62376
62377 int
62378 main ()
62379 {
62380 _fabsf(0);
62381 ;
62382 return 0;
62383 }
62384 _ACEOF
62385 if ac_fn_cxx_try_compile "$LINENO"; then :
62386 glibcxx_cv_func__fabsf_use=yes
62387 else
62388 glibcxx_cv_func__fabsf_use=no
62389 fi
62390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62391 ac_ext=c
62392 ac_cpp='$CPP $CPPFLAGS'
62393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62396
62397
62398 fi
62399
62400 fi
62401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62402 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62403
62404 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62405 for ac_func in _fabsf
62406 do :
62407 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62408 if test "x$ac_cv_func__fabsf" = xyes; then :
62409 cat >>confdefs.h <<_ACEOF
62410 #define HAVE__FABSF 1
62411 _ACEOF
62412
62413 fi
62414 done
62415
62416 fi
62417 fi
62418
62419
62420
62421
62422
62423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62424 $as_echo_n "checking for fmodf declaration... " >&6; }
62425 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62426 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62427 $as_echo_n "(cached) " >&6
62428 else
62429
62430
62431 ac_ext=cpp
62432 ac_cpp='$CXXCPP $CPPFLAGS'
62433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62436
62437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62438 /* end confdefs.h. */
62439 #include <math.h>
62440 int
62441 main ()
62442 {
62443 fmodf(0, 0);
62444 ;
62445 return 0;
62446 }
62447 _ACEOF
62448 if ac_fn_cxx_try_compile "$LINENO"; then :
62449 glibcxx_cv_func_fmodf_use=yes
62450 else
62451 glibcxx_cv_func_fmodf_use=no
62452 fi
62453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62454 ac_ext=c
62455 ac_cpp='$CPP $CPPFLAGS'
62456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62459
62460
62461 fi
62462
62463 fi
62464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62465 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62466
62467 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62468 for ac_func in fmodf
62469 do :
62470 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62471 if test "x$ac_cv_func_fmodf" = xyes; then :
62472 cat >>confdefs.h <<_ACEOF
62473 #define HAVE_FMODF 1
62474 _ACEOF
62475
62476 fi
62477 done
62478
62479 else
62480
62481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62482 $as_echo_n "checking for _fmodf declaration... " >&6; }
62483 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62484 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62485 $as_echo_n "(cached) " >&6
62486 else
62487
62488
62489 ac_ext=cpp
62490 ac_cpp='$CXXCPP $CPPFLAGS'
62491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62494
62495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62496 /* end confdefs.h. */
62497 #include <math.h>
62498 int
62499 main ()
62500 {
62501 _fmodf(0, 0);
62502 ;
62503 return 0;
62504 }
62505 _ACEOF
62506 if ac_fn_cxx_try_compile "$LINENO"; then :
62507 glibcxx_cv_func__fmodf_use=yes
62508 else
62509 glibcxx_cv_func__fmodf_use=no
62510 fi
62511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62512 ac_ext=c
62513 ac_cpp='$CPP $CPPFLAGS'
62514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62517
62518
62519 fi
62520
62521 fi
62522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62523 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62524
62525 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62526 for ac_func in _fmodf
62527 do :
62528 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62529 if test "x$ac_cv_func__fmodf" = xyes; then :
62530 cat >>confdefs.h <<_ACEOF
62531 #define HAVE__FMODF 1
62532 _ACEOF
62533
62534 fi
62535 done
62536
62537 fi
62538 fi
62539
62540
62541
62542
62543
62544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62545 $as_echo_n "checking for frexpf declaration... " >&6; }
62546 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62547 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62548 $as_echo_n "(cached) " >&6
62549 else
62550
62551
62552 ac_ext=cpp
62553 ac_cpp='$CXXCPP $CPPFLAGS'
62554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62557
62558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62559 /* end confdefs.h. */
62560 #include <math.h>
62561 int
62562 main ()
62563 {
62564 frexpf(0, 0);
62565 ;
62566 return 0;
62567 }
62568 _ACEOF
62569 if ac_fn_cxx_try_compile "$LINENO"; then :
62570 glibcxx_cv_func_frexpf_use=yes
62571 else
62572 glibcxx_cv_func_frexpf_use=no
62573 fi
62574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62575 ac_ext=c
62576 ac_cpp='$CPP $CPPFLAGS'
62577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62580
62581
62582 fi
62583
62584 fi
62585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62586 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62587
62588 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62589 for ac_func in frexpf
62590 do :
62591 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62592 if test "x$ac_cv_func_frexpf" = xyes; then :
62593 cat >>confdefs.h <<_ACEOF
62594 #define HAVE_FREXPF 1
62595 _ACEOF
62596
62597 fi
62598 done
62599
62600 else
62601
62602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62603 $as_echo_n "checking for _frexpf declaration... " >&6; }
62604 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62605 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62606 $as_echo_n "(cached) " >&6
62607 else
62608
62609
62610 ac_ext=cpp
62611 ac_cpp='$CXXCPP $CPPFLAGS'
62612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62615
62616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62617 /* end confdefs.h. */
62618 #include <math.h>
62619 int
62620 main ()
62621 {
62622 _frexpf(0, 0);
62623 ;
62624 return 0;
62625 }
62626 _ACEOF
62627 if ac_fn_cxx_try_compile "$LINENO"; then :
62628 glibcxx_cv_func__frexpf_use=yes
62629 else
62630 glibcxx_cv_func__frexpf_use=no
62631 fi
62632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62633 ac_ext=c
62634 ac_cpp='$CPP $CPPFLAGS'
62635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62638
62639
62640 fi
62641
62642 fi
62643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62644 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62645
62646 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62647 for ac_func in _frexpf
62648 do :
62649 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62650 if test "x$ac_cv_func__frexpf" = xyes; then :
62651 cat >>confdefs.h <<_ACEOF
62652 #define HAVE__FREXPF 1
62653 _ACEOF
62654
62655 fi
62656 done
62657
62658 fi
62659 fi
62660
62661
62662
62663
62664
62665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62666 $as_echo_n "checking for hypotf declaration... " >&6; }
62667 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62668 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62669 $as_echo_n "(cached) " >&6
62670 else
62671
62672
62673 ac_ext=cpp
62674 ac_cpp='$CXXCPP $CPPFLAGS'
62675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62678
62679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62680 /* end confdefs.h. */
62681 #include <math.h>
62682 int
62683 main ()
62684 {
62685 hypotf(0, 0);
62686 ;
62687 return 0;
62688 }
62689 _ACEOF
62690 if ac_fn_cxx_try_compile "$LINENO"; then :
62691 glibcxx_cv_func_hypotf_use=yes
62692 else
62693 glibcxx_cv_func_hypotf_use=no
62694 fi
62695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62696 ac_ext=c
62697 ac_cpp='$CPP $CPPFLAGS'
62698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62701
62702
62703 fi
62704
62705 fi
62706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62707 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62708
62709 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62710 for ac_func in hypotf
62711 do :
62712 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62713 if test "x$ac_cv_func_hypotf" = xyes; then :
62714 cat >>confdefs.h <<_ACEOF
62715 #define HAVE_HYPOTF 1
62716 _ACEOF
62717
62718 fi
62719 done
62720
62721 else
62722
62723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62724 $as_echo_n "checking for _hypotf declaration... " >&6; }
62725 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62726 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62727 $as_echo_n "(cached) " >&6
62728 else
62729
62730
62731 ac_ext=cpp
62732 ac_cpp='$CXXCPP $CPPFLAGS'
62733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62736
62737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62738 /* end confdefs.h. */
62739 #include <math.h>
62740 int
62741 main ()
62742 {
62743 _hypotf(0, 0);
62744 ;
62745 return 0;
62746 }
62747 _ACEOF
62748 if ac_fn_cxx_try_compile "$LINENO"; then :
62749 glibcxx_cv_func__hypotf_use=yes
62750 else
62751 glibcxx_cv_func__hypotf_use=no
62752 fi
62753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62754 ac_ext=c
62755 ac_cpp='$CPP $CPPFLAGS'
62756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62759
62760
62761 fi
62762
62763 fi
62764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62765 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62766
62767 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62768 for ac_func in _hypotf
62769 do :
62770 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62771 if test "x$ac_cv_func__hypotf" = xyes; then :
62772 cat >>confdefs.h <<_ACEOF
62773 #define HAVE__HYPOTF 1
62774 _ACEOF
62775
62776 fi
62777 done
62778
62779 fi
62780 fi
62781
62782
62783
62784
62785
62786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62787 $as_echo_n "checking for ldexpf declaration... " >&6; }
62788 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62789 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62790 $as_echo_n "(cached) " >&6
62791 else
62792
62793
62794 ac_ext=cpp
62795 ac_cpp='$CXXCPP $CPPFLAGS'
62796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62799
62800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62801 /* end confdefs.h. */
62802 #include <math.h>
62803 int
62804 main ()
62805 {
62806 ldexpf(0, 0);
62807 ;
62808 return 0;
62809 }
62810 _ACEOF
62811 if ac_fn_cxx_try_compile "$LINENO"; then :
62812 glibcxx_cv_func_ldexpf_use=yes
62813 else
62814 glibcxx_cv_func_ldexpf_use=no
62815 fi
62816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62817 ac_ext=c
62818 ac_cpp='$CPP $CPPFLAGS'
62819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62822
62823
62824 fi
62825
62826 fi
62827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62828 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62829
62830 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62831 for ac_func in ldexpf
62832 do :
62833 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62834 if test "x$ac_cv_func_ldexpf" = xyes; then :
62835 cat >>confdefs.h <<_ACEOF
62836 #define HAVE_LDEXPF 1
62837 _ACEOF
62838
62839 fi
62840 done
62841
62842 else
62843
62844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62845 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62846 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62847 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62848 $as_echo_n "(cached) " >&6
62849 else
62850
62851
62852 ac_ext=cpp
62853 ac_cpp='$CXXCPP $CPPFLAGS'
62854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62857
62858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62859 /* end confdefs.h. */
62860 #include <math.h>
62861 int
62862 main ()
62863 {
62864 _ldexpf(0, 0);
62865 ;
62866 return 0;
62867 }
62868 _ACEOF
62869 if ac_fn_cxx_try_compile "$LINENO"; then :
62870 glibcxx_cv_func__ldexpf_use=yes
62871 else
62872 glibcxx_cv_func__ldexpf_use=no
62873 fi
62874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62875 ac_ext=c
62876 ac_cpp='$CPP $CPPFLAGS'
62877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62880
62881
62882 fi
62883
62884 fi
62885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62886 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62887
62888 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62889 for ac_func in _ldexpf
62890 do :
62891 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62892 if test "x$ac_cv_func__ldexpf" = xyes; then :
62893 cat >>confdefs.h <<_ACEOF
62894 #define HAVE__LDEXPF 1
62895 _ACEOF
62896
62897 fi
62898 done
62899
62900 fi
62901 fi
62902
62903
62904
62905
62906
62907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62908 $as_echo_n "checking for logf declaration... " >&6; }
62909 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62910 if ${glibcxx_cv_func_logf_use+:} false; then :
62911 $as_echo_n "(cached) " >&6
62912 else
62913
62914
62915 ac_ext=cpp
62916 ac_cpp='$CXXCPP $CPPFLAGS'
62917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62920
62921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62922 /* end confdefs.h. */
62923 #include <math.h>
62924 #ifdef HAVE_IEEEFP_H
62925 #include <ieeefp.h>
62926 #endif
62927
62928 int
62929 main ()
62930 {
62931 logf(0);
62932 ;
62933 return 0;
62934 }
62935 _ACEOF
62936 if ac_fn_cxx_try_compile "$LINENO"; then :
62937 glibcxx_cv_func_logf_use=yes
62938 else
62939 glibcxx_cv_func_logf_use=no
62940 fi
62941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62942 ac_ext=c
62943 ac_cpp='$CPP $CPPFLAGS'
62944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62947
62948
62949 fi
62950
62951 fi
62952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62953 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62954
62955 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62956 for ac_func in logf
62957 do :
62958 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62959 if test "x$ac_cv_func_logf" = xyes; then :
62960 cat >>confdefs.h <<_ACEOF
62961 #define HAVE_LOGF 1
62962 _ACEOF
62963
62964 fi
62965 done
62966
62967 else
62968
62969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62970 $as_echo_n "checking for _logf declaration... " >&6; }
62971 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62972 if ${glibcxx_cv_func__logf_use+:} false; then :
62973 $as_echo_n "(cached) " >&6
62974 else
62975
62976
62977 ac_ext=cpp
62978 ac_cpp='$CXXCPP $CPPFLAGS'
62979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982
62983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62984 /* end confdefs.h. */
62985 #include <math.h>
62986 #ifdef HAVE_IEEEFP_H
62987 #include <ieeefp.h>
62988 #endif
62989
62990 int
62991 main ()
62992 {
62993 _logf(0);
62994 ;
62995 return 0;
62996 }
62997 _ACEOF
62998 if ac_fn_cxx_try_compile "$LINENO"; then :
62999 glibcxx_cv_func__logf_use=yes
63000 else
63001 glibcxx_cv_func__logf_use=no
63002 fi
63003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63004 ac_ext=c
63005 ac_cpp='$CPP $CPPFLAGS'
63006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63009
63010
63011 fi
63012
63013 fi
63014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63015 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63016
63017 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63018 for ac_func in _logf
63019 do :
63020 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63021 if test "x$ac_cv_func__logf" = xyes; then :
63022 cat >>confdefs.h <<_ACEOF
63023 #define HAVE__LOGF 1
63024 _ACEOF
63025
63026 fi
63027 done
63028
63029 fi
63030 fi
63031
63032
63033
63034
63035
63036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63037 $as_echo_n "checking for log10f declaration... " >&6; }
63038 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63039 if ${glibcxx_cv_func_log10f_use+:} false; then :
63040 $as_echo_n "(cached) " >&6
63041 else
63042
63043
63044 ac_ext=cpp
63045 ac_cpp='$CXXCPP $CPPFLAGS'
63046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63049
63050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63051 /* end confdefs.h. */
63052 #include <math.h>
63053 #ifdef HAVE_IEEEFP_H
63054 #include <ieeefp.h>
63055 #endif
63056
63057 int
63058 main ()
63059 {
63060 log10f(0);
63061 ;
63062 return 0;
63063 }
63064 _ACEOF
63065 if ac_fn_cxx_try_compile "$LINENO"; then :
63066 glibcxx_cv_func_log10f_use=yes
63067 else
63068 glibcxx_cv_func_log10f_use=no
63069 fi
63070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63071 ac_ext=c
63072 ac_cpp='$CPP $CPPFLAGS'
63073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63076
63077
63078 fi
63079
63080 fi
63081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63082 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63083
63084 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63085 for ac_func in log10f
63086 do :
63087 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63088 if test "x$ac_cv_func_log10f" = xyes; then :
63089 cat >>confdefs.h <<_ACEOF
63090 #define HAVE_LOG10F 1
63091 _ACEOF
63092
63093 fi
63094 done
63095
63096 else
63097
63098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63099 $as_echo_n "checking for _log10f declaration... " >&6; }
63100 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63101 if ${glibcxx_cv_func__log10f_use+:} false; then :
63102 $as_echo_n "(cached) " >&6
63103 else
63104
63105
63106 ac_ext=cpp
63107 ac_cpp='$CXXCPP $CPPFLAGS'
63108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63111
63112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63113 /* end confdefs.h. */
63114 #include <math.h>
63115 #ifdef HAVE_IEEEFP_H
63116 #include <ieeefp.h>
63117 #endif
63118
63119 int
63120 main ()
63121 {
63122 _log10f(0);
63123 ;
63124 return 0;
63125 }
63126 _ACEOF
63127 if ac_fn_cxx_try_compile "$LINENO"; then :
63128 glibcxx_cv_func__log10f_use=yes
63129 else
63130 glibcxx_cv_func__log10f_use=no
63131 fi
63132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63133 ac_ext=c
63134 ac_cpp='$CPP $CPPFLAGS'
63135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63138
63139
63140 fi
63141
63142 fi
63143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63144 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63145
63146 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63147 for ac_func in _log10f
63148 do :
63149 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63150 if test "x$ac_cv_func__log10f" = xyes; then :
63151 cat >>confdefs.h <<_ACEOF
63152 #define HAVE__LOG10F 1
63153 _ACEOF
63154
63155 fi
63156 done
63157
63158 fi
63159 fi
63160
63161
63162
63163
63164
63165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63166 $as_echo_n "checking for modff declaration... " >&6; }
63167 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63168 if ${glibcxx_cv_func_modff_use+:} false; then :
63169 $as_echo_n "(cached) " >&6
63170 else
63171
63172
63173 ac_ext=cpp
63174 ac_cpp='$CXXCPP $CPPFLAGS'
63175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63178
63179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63180 /* end confdefs.h. */
63181 #include <math.h>
63182 int
63183 main ()
63184 {
63185 modff(0, 0);
63186 ;
63187 return 0;
63188 }
63189 _ACEOF
63190 if ac_fn_cxx_try_compile "$LINENO"; then :
63191 glibcxx_cv_func_modff_use=yes
63192 else
63193 glibcxx_cv_func_modff_use=no
63194 fi
63195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63196 ac_ext=c
63197 ac_cpp='$CPP $CPPFLAGS'
63198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63201
63202
63203 fi
63204
63205 fi
63206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63207 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63208
63209 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63210 for ac_func in modff
63211 do :
63212 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63213 if test "x$ac_cv_func_modff" = xyes; then :
63214 cat >>confdefs.h <<_ACEOF
63215 #define HAVE_MODFF 1
63216 _ACEOF
63217
63218 fi
63219 done
63220
63221 else
63222
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63224 $as_echo_n "checking for _modff declaration... " >&6; }
63225 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63226 if ${glibcxx_cv_func__modff_use+:} false; then :
63227 $as_echo_n "(cached) " >&6
63228 else
63229
63230
63231 ac_ext=cpp
63232 ac_cpp='$CXXCPP $CPPFLAGS'
63233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63236
63237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63238 /* end confdefs.h. */
63239 #include <math.h>
63240 int
63241 main ()
63242 {
63243 _modff(0, 0);
63244 ;
63245 return 0;
63246 }
63247 _ACEOF
63248 if ac_fn_cxx_try_compile "$LINENO"; then :
63249 glibcxx_cv_func__modff_use=yes
63250 else
63251 glibcxx_cv_func__modff_use=no
63252 fi
63253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63254 ac_ext=c
63255 ac_cpp='$CPP $CPPFLAGS'
63256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63259
63260
63261 fi
63262
63263 fi
63264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63265 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63266
63267 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63268 for ac_func in _modff
63269 do :
63270 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63271 if test "x$ac_cv_func__modff" = xyes; then :
63272 cat >>confdefs.h <<_ACEOF
63273 #define HAVE__MODFF 1
63274 _ACEOF
63275
63276 fi
63277 done
63278
63279 fi
63280 fi
63281
63282
63283
63284
63285
63286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63287 $as_echo_n "checking for modf declaration... " >&6; }
63288 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63289 if ${glibcxx_cv_func_modf_use+:} false; then :
63290 $as_echo_n "(cached) " >&6
63291 else
63292
63293
63294 ac_ext=cpp
63295 ac_cpp='$CXXCPP $CPPFLAGS'
63296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299
63300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63301 /* end confdefs.h. */
63302 #include <math.h>
63303 int
63304 main ()
63305 {
63306 modf(0, 0);
63307 ;
63308 return 0;
63309 }
63310 _ACEOF
63311 if ac_fn_cxx_try_compile "$LINENO"; then :
63312 glibcxx_cv_func_modf_use=yes
63313 else
63314 glibcxx_cv_func_modf_use=no
63315 fi
63316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63317 ac_ext=c
63318 ac_cpp='$CPP $CPPFLAGS'
63319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63322
63323
63324 fi
63325
63326 fi
63327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63328 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63329
63330 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63331 for ac_func in modf
63332 do :
63333 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63334 if test "x$ac_cv_func_modf" = xyes; then :
63335 cat >>confdefs.h <<_ACEOF
63336 #define HAVE_MODF 1
63337 _ACEOF
63338
63339 fi
63340 done
63341
63342 else
63343
63344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63345 $as_echo_n "checking for _modf declaration... " >&6; }
63346 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63347 if ${glibcxx_cv_func__modf_use+:} false; then :
63348 $as_echo_n "(cached) " >&6
63349 else
63350
63351
63352 ac_ext=cpp
63353 ac_cpp='$CXXCPP $CPPFLAGS'
63354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63357
63358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63359 /* end confdefs.h. */
63360 #include <math.h>
63361 int
63362 main ()
63363 {
63364 _modf(0, 0);
63365 ;
63366 return 0;
63367 }
63368 _ACEOF
63369 if ac_fn_cxx_try_compile "$LINENO"; then :
63370 glibcxx_cv_func__modf_use=yes
63371 else
63372 glibcxx_cv_func__modf_use=no
63373 fi
63374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63375 ac_ext=c
63376 ac_cpp='$CPP $CPPFLAGS'
63377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63380
63381
63382 fi
63383
63384 fi
63385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63386 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63387
63388 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63389 for ac_func in _modf
63390 do :
63391 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63392 if test "x$ac_cv_func__modf" = xyes; then :
63393 cat >>confdefs.h <<_ACEOF
63394 #define HAVE__MODF 1
63395 _ACEOF
63396
63397 fi
63398 done
63399
63400 fi
63401 fi
63402
63403
63404
63405
63406
63407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63408 $as_echo_n "checking for powf declaration... " >&6; }
63409 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63410 if ${glibcxx_cv_func_powf_use+:} false; then :
63411 $as_echo_n "(cached) " >&6
63412 else
63413
63414
63415 ac_ext=cpp
63416 ac_cpp='$CXXCPP $CPPFLAGS'
63417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420
63421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63422 /* end confdefs.h. */
63423 #include <math.h>
63424 int
63425 main ()
63426 {
63427 powf(0, 0);
63428 ;
63429 return 0;
63430 }
63431 _ACEOF
63432 if ac_fn_cxx_try_compile "$LINENO"; then :
63433 glibcxx_cv_func_powf_use=yes
63434 else
63435 glibcxx_cv_func_powf_use=no
63436 fi
63437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63438 ac_ext=c
63439 ac_cpp='$CPP $CPPFLAGS'
63440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63443
63444
63445 fi
63446
63447 fi
63448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63449 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63450
63451 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63452 for ac_func in powf
63453 do :
63454 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63455 if test "x$ac_cv_func_powf" = xyes; then :
63456 cat >>confdefs.h <<_ACEOF
63457 #define HAVE_POWF 1
63458 _ACEOF
63459
63460 fi
63461 done
63462
63463 else
63464
63465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63466 $as_echo_n "checking for _powf declaration... " >&6; }
63467 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63468 if ${glibcxx_cv_func__powf_use+:} false; then :
63469 $as_echo_n "(cached) " >&6
63470 else
63471
63472
63473 ac_ext=cpp
63474 ac_cpp='$CXXCPP $CPPFLAGS'
63475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63478
63479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63480 /* end confdefs.h. */
63481 #include <math.h>
63482 int
63483 main ()
63484 {
63485 _powf(0, 0);
63486 ;
63487 return 0;
63488 }
63489 _ACEOF
63490 if ac_fn_cxx_try_compile "$LINENO"; then :
63491 glibcxx_cv_func__powf_use=yes
63492 else
63493 glibcxx_cv_func__powf_use=no
63494 fi
63495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63496 ac_ext=c
63497 ac_cpp='$CPP $CPPFLAGS'
63498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63501
63502
63503 fi
63504
63505 fi
63506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63507 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63508
63509 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63510 for ac_func in _powf
63511 do :
63512 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63513 if test "x$ac_cv_func__powf" = xyes; then :
63514 cat >>confdefs.h <<_ACEOF
63515 #define HAVE__POWF 1
63516 _ACEOF
63517
63518 fi
63519 done
63520
63521 fi
63522 fi
63523
63524
63525
63526
63527
63528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63529 $as_echo_n "checking for sqrtf declaration... " >&6; }
63530 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63531 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63532 $as_echo_n "(cached) " >&6
63533 else
63534
63535
63536 ac_ext=cpp
63537 ac_cpp='$CXXCPP $CPPFLAGS'
63538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63541
63542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63543 /* end confdefs.h. */
63544 #include <math.h>
63545 #ifdef HAVE_IEEEFP_H
63546 #include <ieeefp.h>
63547 #endif
63548
63549 int
63550 main ()
63551 {
63552 sqrtf(0);
63553 ;
63554 return 0;
63555 }
63556 _ACEOF
63557 if ac_fn_cxx_try_compile "$LINENO"; then :
63558 glibcxx_cv_func_sqrtf_use=yes
63559 else
63560 glibcxx_cv_func_sqrtf_use=no
63561 fi
63562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63563 ac_ext=c
63564 ac_cpp='$CPP $CPPFLAGS'
63565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63568
63569
63570 fi
63571
63572 fi
63573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63574 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63575
63576 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63577 for ac_func in sqrtf
63578 do :
63579 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63580 if test "x$ac_cv_func_sqrtf" = xyes; then :
63581 cat >>confdefs.h <<_ACEOF
63582 #define HAVE_SQRTF 1
63583 _ACEOF
63584
63585 fi
63586 done
63587
63588 else
63589
63590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63591 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63592 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63593 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63594 $as_echo_n "(cached) " >&6
63595 else
63596
63597
63598 ac_ext=cpp
63599 ac_cpp='$CXXCPP $CPPFLAGS'
63600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63603
63604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63605 /* end confdefs.h. */
63606 #include <math.h>
63607 #ifdef HAVE_IEEEFP_H
63608 #include <ieeefp.h>
63609 #endif
63610
63611 int
63612 main ()
63613 {
63614 _sqrtf(0);
63615 ;
63616 return 0;
63617 }
63618 _ACEOF
63619 if ac_fn_cxx_try_compile "$LINENO"; then :
63620 glibcxx_cv_func__sqrtf_use=yes
63621 else
63622 glibcxx_cv_func__sqrtf_use=no
63623 fi
63624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63625 ac_ext=c
63626 ac_cpp='$CPP $CPPFLAGS'
63627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63630
63631
63632 fi
63633
63634 fi
63635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63636 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63637
63638 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63639 for ac_func in _sqrtf
63640 do :
63641 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63642 if test "x$ac_cv_func__sqrtf" = xyes; then :
63643 cat >>confdefs.h <<_ACEOF
63644 #define HAVE__SQRTF 1
63645 _ACEOF
63646
63647 fi
63648 done
63649
63650 fi
63651 fi
63652
63653
63654
63655
63656
63657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63658 $as_echo_n "checking for sincosf declaration... " >&6; }
63659 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63660 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63661 $as_echo_n "(cached) " >&6
63662 else
63663
63664
63665 ac_ext=cpp
63666 ac_cpp='$CXXCPP $CPPFLAGS'
63667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63670
63671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63672 /* end confdefs.h. */
63673 #include <math.h>
63674 int
63675 main ()
63676 {
63677 sincosf(0, 0, 0);
63678 ;
63679 return 0;
63680 }
63681 _ACEOF
63682 if ac_fn_cxx_try_compile "$LINENO"; then :
63683 glibcxx_cv_func_sincosf_use=yes
63684 else
63685 glibcxx_cv_func_sincosf_use=no
63686 fi
63687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63688 ac_ext=c
63689 ac_cpp='$CPP $CPPFLAGS'
63690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63693
63694
63695 fi
63696
63697 fi
63698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63699 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63700
63701 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63702 for ac_func in sincosf
63703 do :
63704 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63705 if test "x$ac_cv_func_sincosf" = xyes; then :
63706 cat >>confdefs.h <<_ACEOF
63707 #define HAVE_SINCOSF 1
63708 _ACEOF
63709
63710 fi
63711 done
63712
63713 else
63714
63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63716 $as_echo_n "checking for _sincosf declaration... " >&6; }
63717 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63718 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63719 $as_echo_n "(cached) " >&6
63720 else
63721
63722
63723 ac_ext=cpp
63724 ac_cpp='$CXXCPP $CPPFLAGS'
63725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63728
63729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63730 /* end confdefs.h. */
63731 #include <math.h>
63732 int
63733 main ()
63734 {
63735 _sincosf(0, 0, 0);
63736 ;
63737 return 0;
63738 }
63739 _ACEOF
63740 if ac_fn_cxx_try_compile "$LINENO"; then :
63741 glibcxx_cv_func__sincosf_use=yes
63742 else
63743 glibcxx_cv_func__sincosf_use=no
63744 fi
63745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63746 ac_ext=c
63747 ac_cpp='$CPP $CPPFLAGS'
63748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63751
63752
63753 fi
63754
63755 fi
63756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63757 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63758
63759 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63760 for ac_func in _sincosf
63761 do :
63762 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63763 if test "x$ac_cv_func__sincosf" = xyes; then :
63764 cat >>confdefs.h <<_ACEOF
63765 #define HAVE__SINCOSF 1
63766 _ACEOF
63767
63768 fi
63769 done
63770
63771 fi
63772 fi
63773
63774
63775
63776
63777
63778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63779 $as_echo_n "checking for finitef declaration... " >&6; }
63780 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63781 if ${glibcxx_cv_func_finitef_use+:} false; then :
63782 $as_echo_n "(cached) " >&6
63783 else
63784
63785
63786 ac_ext=cpp
63787 ac_cpp='$CXXCPP $CPPFLAGS'
63788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63791
63792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63793 /* end confdefs.h. */
63794 #include <math.h>
63795 #ifdef HAVE_IEEEFP_H
63796 #include <ieeefp.h>
63797 #endif
63798
63799 int
63800 main ()
63801 {
63802 finitef(0);
63803 ;
63804 return 0;
63805 }
63806 _ACEOF
63807 if ac_fn_cxx_try_compile "$LINENO"; then :
63808 glibcxx_cv_func_finitef_use=yes
63809 else
63810 glibcxx_cv_func_finitef_use=no
63811 fi
63812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63813 ac_ext=c
63814 ac_cpp='$CPP $CPPFLAGS'
63815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63818
63819
63820 fi
63821
63822 fi
63823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63824 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63825
63826 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63827 for ac_func in finitef
63828 do :
63829 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63830 if test "x$ac_cv_func_finitef" = xyes; then :
63831 cat >>confdefs.h <<_ACEOF
63832 #define HAVE_FINITEF 1
63833 _ACEOF
63834
63835 fi
63836 done
63837
63838 else
63839
63840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63841 $as_echo_n "checking for _finitef declaration... " >&6; }
63842 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63843 if ${glibcxx_cv_func__finitef_use+:} false; then :
63844 $as_echo_n "(cached) " >&6
63845 else
63846
63847
63848 ac_ext=cpp
63849 ac_cpp='$CXXCPP $CPPFLAGS'
63850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63853
63854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63855 /* end confdefs.h. */
63856 #include <math.h>
63857 #ifdef HAVE_IEEEFP_H
63858 #include <ieeefp.h>
63859 #endif
63860
63861 int
63862 main ()
63863 {
63864 _finitef(0);
63865 ;
63866 return 0;
63867 }
63868 _ACEOF
63869 if ac_fn_cxx_try_compile "$LINENO"; then :
63870 glibcxx_cv_func__finitef_use=yes
63871 else
63872 glibcxx_cv_func__finitef_use=no
63873 fi
63874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63875 ac_ext=c
63876 ac_cpp='$CPP $CPPFLAGS'
63877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63880
63881
63882 fi
63883
63884 fi
63885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63886 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63887
63888 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63889 for ac_func in _finitef
63890 do :
63891 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63892 if test "x$ac_cv_func__finitef" = xyes; then :
63893 cat >>confdefs.h <<_ACEOF
63894 #define HAVE__FINITEF 1
63895 _ACEOF
63896
63897 fi
63898 done
63899
63900 fi
63901 fi
63902
63903
63904
63905
63906
63907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63908 $as_echo_n "checking for long double trig functions... " >&6; }
63909 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63910 $as_echo_n "(cached) " >&6
63911 else
63912
63913
63914 ac_ext=cpp
63915 ac_cpp='$CXXCPP $CPPFLAGS'
63916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63919
63920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921 /* end confdefs.h. */
63922 #include <math.h>
63923 int
63924 main ()
63925 {
63926 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63927 ;
63928 return 0;
63929 }
63930 _ACEOF
63931 if ac_fn_cxx_try_compile "$LINENO"; then :
63932 glibcxx_cv_func_long_double_trig_use=yes
63933 else
63934 glibcxx_cv_func_long_double_trig_use=no
63935 fi
63936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63937 ac_ext=c
63938 ac_cpp='$CPP $CPPFLAGS'
63939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63942
63943 fi
63944
63945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63946 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63947 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63948 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63949 do :
63950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63952 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63953 cat >>confdefs.h <<_ACEOF
63954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63955 _ACEOF
63956
63957 fi
63958 done
63959
63960 else
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63962 $as_echo_n "checking for _long double trig functions... " >&6; }
63963 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
63964 $as_echo_n "(cached) " >&6
63965 else
63966
63967
63968 ac_ext=cpp
63969 ac_cpp='$CXXCPP $CPPFLAGS'
63970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63973
63974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63975 /* end confdefs.h. */
63976 #include <math.h>
63977 int
63978 main ()
63979 {
63980 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63981 ;
63982 return 0;
63983 }
63984 _ACEOF
63985 if ac_fn_cxx_try_compile "$LINENO"; then :
63986 glibcxx_cv_func__long_double_trig_use=yes
63987 else
63988 glibcxx_cv_func__long_double_trig_use=no
63989 fi
63990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63991 ac_ext=c
63992 ac_cpp='$CPP $CPPFLAGS'
63993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63996
63997 fi
63998
63999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64000 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64001 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64002 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64003 do :
64004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64006 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64007 cat >>confdefs.h <<_ACEOF
64008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64009 _ACEOF
64010
64011 fi
64012 done
64013
64014 fi
64015 fi
64016
64017
64018
64019
64020
64021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64022 $as_echo_n "checking for long double round functions... " >&6; }
64023 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64024 $as_echo_n "(cached) " >&6
64025 else
64026
64027
64028 ac_ext=cpp
64029 ac_cpp='$CXXCPP $CPPFLAGS'
64030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033
64034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64035 /* end confdefs.h. */
64036 #include <math.h>
64037 int
64038 main ()
64039 {
64040 ceill (0); floorl (0);
64041 ;
64042 return 0;
64043 }
64044 _ACEOF
64045 if ac_fn_cxx_try_compile "$LINENO"; then :
64046 glibcxx_cv_func_long_double_round_use=yes
64047 else
64048 glibcxx_cv_func_long_double_round_use=no
64049 fi
64050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64051 ac_ext=c
64052 ac_cpp='$CPP $CPPFLAGS'
64053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64056
64057 fi
64058
64059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64060 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64061 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64062 for ac_func in ceill floorl
64063 do :
64064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64067 cat >>confdefs.h <<_ACEOF
64068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64069 _ACEOF
64070
64071 fi
64072 done
64073
64074 else
64075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64076 $as_echo_n "checking for _long double round functions... " >&6; }
64077 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64078 $as_echo_n "(cached) " >&6
64079 else
64080
64081
64082 ac_ext=cpp
64083 ac_cpp='$CXXCPP $CPPFLAGS'
64084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64087
64088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64089 /* end confdefs.h. */
64090 #include <math.h>
64091 int
64092 main ()
64093 {
64094 _ceill (0); _floorl (0);
64095 ;
64096 return 0;
64097 }
64098 _ACEOF
64099 if ac_fn_cxx_try_compile "$LINENO"; then :
64100 glibcxx_cv_func__long_double_round_use=yes
64101 else
64102 glibcxx_cv_func__long_double_round_use=no
64103 fi
64104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64105 ac_ext=c
64106 ac_cpp='$CPP $CPPFLAGS'
64107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64110
64111 fi
64112
64113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64114 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64115 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64116 for ac_func in _ceill _floorl
64117 do :
64118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64120 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64121 cat >>confdefs.h <<_ACEOF
64122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64123 _ACEOF
64124
64125 fi
64126 done
64127
64128 fi
64129 fi
64130
64131
64132
64133
64134
64135
64136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64137 $as_echo_n "checking for isnanl declaration... " >&6; }
64138 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64139 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64140 $as_echo_n "(cached) " >&6
64141 else
64142
64143
64144 ac_ext=cpp
64145 ac_cpp='$CXXCPP $CPPFLAGS'
64146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64149
64150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64151 /* end confdefs.h. */
64152 #include <math.h>
64153 #ifdef HAVE_IEEEFP_H
64154 #include <ieeefp.h>
64155 #endif
64156
64157 int
64158 main ()
64159 {
64160 isnanl(0);
64161 ;
64162 return 0;
64163 }
64164 _ACEOF
64165 if ac_fn_cxx_try_compile "$LINENO"; then :
64166 glibcxx_cv_func_isnanl_use=yes
64167 else
64168 glibcxx_cv_func_isnanl_use=no
64169 fi
64170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64171 ac_ext=c
64172 ac_cpp='$CPP $CPPFLAGS'
64173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64176
64177
64178 fi
64179
64180 fi
64181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64182 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64183
64184 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64185 for ac_func in isnanl
64186 do :
64187 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64188 if test "x$ac_cv_func_isnanl" = xyes; then :
64189 cat >>confdefs.h <<_ACEOF
64190 #define HAVE_ISNANL 1
64191 _ACEOF
64192
64193 fi
64194 done
64195
64196 else
64197
64198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64199 $as_echo_n "checking for _isnanl declaration... " >&6; }
64200 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64201 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64202 $as_echo_n "(cached) " >&6
64203 else
64204
64205
64206 ac_ext=cpp
64207 ac_cpp='$CXXCPP $CPPFLAGS'
64208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64211
64212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64213 /* end confdefs.h. */
64214 #include <math.h>
64215 #ifdef HAVE_IEEEFP_H
64216 #include <ieeefp.h>
64217 #endif
64218
64219 int
64220 main ()
64221 {
64222 _isnanl(0);
64223 ;
64224 return 0;
64225 }
64226 _ACEOF
64227 if ac_fn_cxx_try_compile "$LINENO"; then :
64228 glibcxx_cv_func__isnanl_use=yes
64229 else
64230 glibcxx_cv_func__isnanl_use=no
64231 fi
64232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64233 ac_ext=c
64234 ac_cpp='$CPP $CPPFLAGS'
64235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64238
64239
64240 fi
64241
64242 fi
64243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64244 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64245
64246 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64247 for ac_func in _isnanl
64248 do :
64249 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64250 if test "x$ac_cv_func__isnanl" = xyes; then :
64251 cat >>confdefs.h <<_ACEOF
64252 #define HAVE__ISNANL 1
64253 _ACEOF
64254
64255 fi
64256 done
64257
64258 fi
64259 fi
64260
64261
64262
64263
64264
64265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64266 $as_echo_n "checking for isinfl declaration... " >&6; }
64267 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64268 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64269 $as_echo_n "(cached) " >&6
64270 else
64271
64272
64273 ac_ext=cpp
64274 ac_cpp='$CXXCPP $CPPFLAGS'
64275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64278
64279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64280 /* end confdefs.h. */
64281 #include <math.h>
64282 #ifdef HAVE_IEEEFP_H
64283 #include <ieeefp.h>
64284 #endif
64285
64286 int
64287 main ()
64288 {
64289 isinfl(0);
64290 ;
64291 return 0;
64292 }
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func_isinfl_use=yes
64296 else
64297 glibcxx_cv_func_isinfl_use=no
64298 fi
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64305
64306
64307 fi
64308
64309 fi
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64311 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64312
64313 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64314 for ac_func in isinfl
64315 do :
64316 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64317 if test "x$ac_cv_func_isinfl" = xyes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE_ISINFL 1
64320 _ACEOF
64321
64322 fi
64323 done
64324
64325 else
64326
64327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64328 $as_echo_n "checking for _isinfl declaration... " >&6; }
64329 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64330 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64331 $as_echo_n "(cached) " >&6
64332 else
64333
64334
64335 ac_ext=cpp
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64340
64341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64342 /* end confdefs.h. */
64343 #include <math.h>
64344 #ifdef HAVE_IEEEFP_H
64345 #include <ieeefp.h>
64346 #endif
64347
64348 int
64349 main ()
64350 {
64351 _isinfl(0);
64352 ;
64353 return 0;
64354 }
64355 _ACEOF
64356 if ac_fn_cxx_try_compile "$LINENO"; then :
64357 glibcxx_cv_func__isinfl_use=yes
64358 else
64359 glibcxx_cv_func__isinfl_use=no
64360 fi
64361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64362 ac_ext=c
64363 ac_cpp='$CPP $CPPFLAGS'
64364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64367
64368
64369 fi
64370
64371 fi
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64373 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64374
64375 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64376 for ac_func in _isinfl
64377 do :
64378 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64379 if test "x$ac_cv_func__isinfl" = xyes; then :
64380 cat >>confdefs.h <<_ACEOF
64381 #define HAVE__ISINFL 1
64382 _ACEOF
64383
64384 fi
64385 done
64386
64387 fi
64388 fi
64389
64390
64391
64392
64393
64394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64395 $as_echo_n "checking for atan2l declaration... " >&6; }
64396 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64397 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64398 $as_echo_n "(cached) " >&6
64399 else
64400
64401
64402 ac_ext=cpp
64403 ac_cpp='$CXXCPP $CPPFLAGS'
64404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64407
64408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64409 /* end confdefs.h. */
64410 #include <math.h>
64411 int
64412 main ()
64413 {
64414 atan2l(0, 0);
64415 ;
64416 return 0;
64417 }
64418 _ACEOF
64419 if ac_fn_cxx_try_compile "$LINENO"; then :
64420 glibcxx_cv_func_atan2l_use=yes
64421 else
64422 glibcxx_cv_func_atan2l_use=no
64423 fi
64424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 ac_ext=c
64426 ac_cpp='$CPP $CPPFLAGS'
64427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64430
64431
64432 fi
64433
64434 fi
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64436 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64437
64438 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64439 for ac_func in atan2l
64440 do :
64441 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64442 if test "x$ac_cv_func_atan2l" = xyes; then :
64443 cat >>confdefs.h <<_ACEOF
64444 #define HAVE_ATAN2L 1
64445 _ACEOF
64446
64447 fi
64448 done
64449
64450 else
64451
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64453 $as_echo_n "checking for _atan2l declaration... " >&6; }
64454 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64455 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64458
64459
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 int
64470 main ()
64471 {
64472 _atan2l(0, 0);
64473 ;
64474 return 0;
64475 }
64476 _ACEOF
64477 if ac_fn_cxx_try_compile "$LINENO"; then :
64478 glibcxx_cv_func__atan2l_use=yes
64479 else
64480 glibcxx_cv_func__atan2l_use=no
64481 fi
64482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64483 ac_ext=c
64484 ac_cpp='$CPP $CPPFLAGS'
64485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64488
64489
64490 fi
64491
64492 fi
64493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64494 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64495
64496 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64497 for ac_func in _atan2l
64498 do :
64499 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64500 if test "x$ac_cv_func__atan2l" = xyes; then :
64501 cat >>confdefs.h <<_ACEOF
64502 #define HAVE__ATAN2L 1
64503 _ACEOF
64504
64505 fi
64506 done
64507
64508 fi
64509 fi
64510
64511
64512
64513
64514
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64516 $as_echo_n "checking for expl declaration... " >&6; }
64517 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64518 if ${glibcxx_cv_func_expl_use+:} false; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64521
64522
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <math.h>
64532 #ifdef HAVE_IEEEFP_H
64533 #include <ieeefp.h>
64534 #endif
64535
64536 int
64537 main ()
64538 {
64539 expl(0);
64540 ;
64541 return 0;
64542 }
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func_expl_use=yes
64546 else
64547 glibcxx_cv_func_expl_use=no
64548 fi
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64555
64556
64557 fi
64558
64559 fi
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64561 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64562
64563 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64564 for ac_func in expl
64565 do :
64566 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64567 if test "x$ac_cv_func_expl" = xyes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE_EXPL 1
64570 _ACEOF
64571
64572 fi
64573 done
64574
64575 else
64576
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64578 $as_echo_n "checking for _expl declaration... " >&6; }
64579 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64580 if ${glibcxx_cv_func__expl_use+:} false; then :
64581 $as_echo_n "(cached) " >&6
64582 else
64583
64584
64585 ac_ext=cpp
64586 ac_cpp='$CXXCPP $CPPFLAGS'
64587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64590
64591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64592 /* end confdefs.h. */
64593 #include <math.h>
64594 #ifdef HAVE_IEEEFP_H
64595 #include <ieeefp.h>
64596 #endif
64597
64598 int
64599 main ()
64600 {
64601 _expl(0);
64602 ;
64603 return 0;
64604 }
64605 _ACEOF
64606 if ac_fn_cxx_try_compile "$LINENO"; then :
64607 glibcxx_cv_func__expl_use=yes
64608 else
64609 glibcxx_cv_func__expl_use=no
64610 fi
64611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64612 ac_ext=c
64613 ac_cpp='$CPP $CPPFLAGS'
64614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64617
64618
64619 fi
64620
64621 fi
64622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64623 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64624
64625 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64626 for ac_func in _expl
64627 do :
64628 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64629 if test "x$ac_cv_func__expl" = xyes; then :
64630 cat >>confdefs.h <<_ACEOF
64631 #define HAVE__EXPL 1
64632 _ACEOF
64633
64634 fi
64635 done
64636
64637 fi
64638 fi
64639
64640
64641
64642
64643
64644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64645 $as_echo_n "checking for fabsl declaration... " >&6; }
64646 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64647 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64648 $as_echo_n "(cached) " >&6
64649 else
64650
64651
64652 ac_ext=cpp
64653 ac_cpp='$CXXCPP $CPPFLAGS'
64654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657
64658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64659 /* end confdefs.h. */
64660 #include <math.h>
64661 #ifdef HAVE_IEEEFP_H
64662 #include <ieeefp.h>
64663 #endif
64664
64665 int
64666 main ()
64667 {
64668 fabsl(0);
64669 ;
64670 return 0;
64671 }
64672 _ACEOF
64673 if ac_fn_cxx_try_compile "$LINENO"; then :
64674 glibcxx_cv_func_fabsl_use=yes
64675 else
64676 glibcxx_cv_func_fabsl_use=no
64677 fi
64678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64679 ac_ext=c
64680 ac_cpp='$CPP $CPPFLAGS'
64681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64684
64685
64686 fi
64687
64688 fi
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64690 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64691
64692 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64693 for ac_func in fabsl
64694 do :
64695 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64696 if test "x$ac_cv_func_fabsl" = xyes; then :
64697 cat >>confdefs.h <<_ACEOF
64698 #define HAVE_FABSL 1
64699 _ACEOF
64700
64701 fi
64702 done
64703
64704 else
64705
64706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64707 $as_echo_n "checking for _fabsl declaration... " >&6; }
64708 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64709 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64710 $as_echo_n "(cached) " >&6
64711 else
64712
64713
64714 ac_ext=cpp
64715 ac_cpp='$CXXCPP $CPPFLAGS'
64716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64719
64720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64721 /* end confdefs.h. */
64722 #include <math.h>
64723 #ifdef HAVE_IEEEFP_H
64724 #include <ieeefp.h>
64725 #endif
64726
64727 int
64728 main ()
64729 {
64730 _fabsl(0);
64731 ;
64732 return 0;
64733 }
64734 _ACEOF
64735 if ac_fn_cxx_try_compile "$LINENO"; then :
64736 glibcxx_cv_func__fabsl_use=yes
64737 else
64738 glibcxx_cv_func__fabsl_use=no
64739 fi
64740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64741 ac_ext=c
64742 ac_cpp='$CPP $CPPFLAGS'
64743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64746
64747
64748 fi
64749
64750 fi
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64752 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64753
64754 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64755 for ac_func in _fabsl
64756 do :
64757 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64758 if test "x$ac_cv_func__fabsl" = xyes; then :
64759 cat >>confdefs.h <<_ACEOF
64760 #define HAVE__FABSL 1
64761 _ACEOF
64762
64763 fi
64764 done
64765
64766 fi
64767 fi
64768
64769
64770
64771
64772
64773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64774 $as_echo_n "checking for fmodl declaration... " >&6; }
64775 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64776 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64777 $as_echo_n "(cached) " >&6
64778 else
64779
64780
64781 ac_ext=cpp
64782 ac_cpp='$CXXCPP $CPPFLAGS'
64783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64786
64787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64788 /* end confdefs.h. */
64789 #include <math.h>
64790 int
64791 main ()
64792 {
64793 fmodl(0, 0);
64794 ;
64795 return 0;
64796 }
64797 _ACEOF
64798 if ac_fn_cxx_try_compile "$LINENO"; then :
64799 glibcxx_cv_func_fmodl_use=yes
64800 else
64801 glibcxx_cv_func_fmodl_use=no
64802 fi
64803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64804 ac_ext=c
64805 ac_cpp='$CPP $CPPFLAGS'
64806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64809
64810
64811 fi
64812
64813 fi
64814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64815 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64816
64817 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64818 for ac_func in fmodl
64819 do :
64820 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64821 if test "x$ac_cv_func_fmodl" = xyes; then :
64822 cat >>confdefs.h <<_ACEOF
64823 #define HAVE_FMODL 1
64824 _ACEOF
64825
64826 fi
64827 done
64828
64829 else
64830
64831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64832 $as_echo_n "checking for _fmodl declaration... " >&6; }
64833 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64834 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64835 $as_echo_n "(cached) " >&6
64836 else
64837
64838
64839 ac_ext=cpp
64840 ac_cpp='$CXXCPP $CPPFLAGS'
64841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64844
64845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64846 /* end confdefs.h. */
64847 #include <math.h>
64848 int
64849 main ()
64850 {
64851 _fmodl(0, 0);
64852 ;
64853 return 0;
64854 }
64855 _ACEOF
64856 if ac_fn_cxx_try_compile "$LINENO"; then :
64857 glibcxx_cv_func__fmodl_use=yes
64858 else
64859 glibcxx_cv_func__fmodl_use=no
64860 fi
64861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64862 ac_ext=c
64863 ac_cpp='$CPP $CPPFLAGS'
64864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64867
64868
64869 fi
64870
64871 fi
64872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64873 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64874
64875 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64876 for ac_func in _fmodl
64877 do :
64878 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64879 if test "x$ac_cv_func__fmodl" = xyes; then :
64880 cat >>confdefs.h <<_ACEOF
64881 #define HAVE__FMODL 1
64882 _ACEOF
64883
64884 fi
64885 done
64886
64887 fi
64888 fi
64889
64890
64891
64892
64893
64894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64895 $as_echo_n "checking for frexpl declaration... " >&6; }
64896 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64897 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64898 $as_echo_n "(cached) " >&6
64899 else
64900
64901
64902 ac_ext=cpp
64903 ac_cpp='$CXXCPP $CPPFLAGS'
64904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907
64908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64909 /* end confdefs.h. */
64910 #include <math.h>
64911 int
64912 main ()
64913 {
64914 frexpl(0, 0);
64915 ;
64916 return 0;
64917 }
64918 _ACEOF
64919 if ac_fn_cxx_try_compile "$LINENO"; then :
64920 glibcxx_cv_func_frexpl_use=yes
64921 else
64922 glibcxx_cv_func_frexpl_use=no
64923 fi
64924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64925 ac_ext=c
64926 ac_cpp='$CPP $CPPFLAGS'
64927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64930
64931
64932 fi
64933
64934 fi
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64936 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64937
64938 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64939 for ac_func in frexpl
64940 do :
64941 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64942 if test "x$ac_cv_func_frexpl" = xyes; then :
64943 cat >>confdefs.h <<_ACEOF
64944 #define HAVE_FREXPL 1
64945 _ACEOF
64946
64947 fi
64948 done
64949
64950 else
64951
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64953 $as_echo_n "checking for _frexpl declaration... " >&6; }
64954 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64955 if ${glibcxx_cv_func__frexpl_use+:} false; then :
64956 $as_echo_n "(cached) " >&6
64957 else
64958
64959
64960 ac_ext=cpp
64961 ac_cpp='$CXXCPP $CPPFLAGS'
64962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64965
64966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64967 /* end confdefs.h. */
64968 #include <math.h>
64969 int
64970 main ()
64971 {
64972 _frexpl(0, 0);
64973 ;
64974 return 0;
64975 }
64976 _ACEOF
64977 if ac_fn_cxx_try_compile "$LINENO"; then :
64978 glibcxx_cv_func__frexpl_use=yes
64979 else
64980 glibcxx_cv_func__frexpl_use=no
64981 fi
64982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64983 ac_ext=c
64984 ac_cpp='$CPP $CPPFLAGS'
64985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64988
64989
64990 fi
64991
64992 fi
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64994 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64995
64996 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64997 for ac_func in _frexpl
64998 do :
64999 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65000 if test "x$ac_cv_func__frexpl" = xyes; then :
65001 cat >>confdefs.h <<_ACEOF
65002 #define HAVE__FREXPL 1
65003 _ACEOF
65004
65005 fi
65006 done
65007
65008 fi
65009 fi
65010
65011
65012
65013
65014
65015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65016 $as_echo_n "checking for hypotl declaration... " >&6; }
65017 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65018 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65019 $as_echo_n "(cached) " >&6
65020 else
65021
65022
65023 ac_ext=cpp
65024 ac_cpp='$CXXCPP $CPPFLAGS'
65025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65028
65029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65030 /* end confdefs.h. */
65031 #include <math.h>
65032 int
65033 main ()
65034 {
65035 hypotl(0, 0);
65036 ;
65037 return 0;
65038 }
65039 _ACEOF
65040 if ac_fn_cxx_try_compile "$LINENO"; then :
65041 glibcxx_cv_func_hypotl_use=yes
65042 else
65043 glibcxx_cv_func_hypotl_use=no
65044 fi
65045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65046 ac_ext=c
65047 ac_cpp='$CPP $CPPFLAGS'
65048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65051
65052
65053 fi
65054
65055 fi
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65057 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65058
65059 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65060 for ac_func in hypotl
65061 do :
65062 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65063 if test "x$ac_cv_func_hypotl" = xyes; then :
65064 cat >>confdefs.h <<_ACEOF
65065 #define HAVE_HYPOTL 1
65066 _ACEOF
65067
65068 fi
65069 done
65070
65071 else
65072
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65074 $as_echo_n "checking for _hypotl declaration... " >&6; }
65075 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65076 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65077 $as_echo_n "(cached) " >&6
65078 else
65079
65080
65081 ac_ext=cpp
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65086
65087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65088 /* end confdefs.h. */
65089 #include <math.h>
65090 int
65091 main ()
65092 {
65093 _hypotl(0, 0);
65094 ;
65095 return 0;
65096 }
65097 _ACEOF
65098 if ac_fn_cxx_try_compile "$LINENO"; then :
65099 glibcxx_cv_func__hypotl_use=yes
65100 else
65101 glibcxx_cv_func__hypotl_use=no
65102 fi
65103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65104 ac_ext=c
65105 ac_cpp='$CPP $CPPFLAGS'
65106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65109
65110
65111 fi
65112
65113 fi
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65115 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65116
65117 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65118 for ac_func in _hypotl
65119 do :
65120 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65121 if test "x$ac_cv_func__hypotl" = xyes; then :
65122 cat >>confdefs.h <<_ACEOF
65123 #define HAVE__HYPOTL 1
65124 _ACEOF
65125
65126 fi
65127 done
65128
65129 fi
65130 fi
65131
65132
65133
65134
65135
65136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65137 $as_echo_n "checking for ldexpl declaration... " >&6; }
65138 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65139 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65140 $as_echo_n "(cached) " >&6
65141 else
65142
65143
65144 ac_ext=cpp
65145 ac_cpp='$CXXCPP $CPPFLAGS'
65146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65149
65150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65151 /* end confdefs.h. */
65152 #include <math.h>
65153 int
65154 main ()
65155 {
65156 ldexpl(0, 0);
65157 ;
65158 return 0;
65159 }
65160 _ACEOF
65161 if ac_fn_cxx_try_compile "$LINENO"; then :
65162 glibcxx_cv_func_ldexpl_use=yes
65163 else
65164 glibcxx_cv_func_ldexpl_use=no
65165 fi
65166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65167 ac_ext=c
65168 ac_cpp='$CPP $CPPFLAGS'
65169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65172
65173
65174 fi
65175
65176 fi
65177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65178 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65179
65180 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65181 for ac_func in ldexpl
65182 do :
65183 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65184 if test "x$ac_cv_func_ldexpl" = xyes; then :
65185 cat >>confdefs.h <<_ACEOF
65186 #define HAVE_LDEXPL 1
65187 _ACEOF
65188
65189 fi
65190 done
65191
65192 else
65193
65194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65195 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65196 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65197 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65198 $as_echo_n "(cached) " >&6
65199 else
65200
65201
65202 ac_ext=cpp
65203 ac_cpp='$CXXCPP $CPPFLAGS'
65204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65207
65208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65209 /* end confdefs.h. */
65210 #include <math.h>
65211 int
65212 main ()
65213 {
65214 _ldexpl(0, 0);
65215 ;
65216 return 0;
65217 }
65218 _ACEOF
65219 if ac_fn_cxx_try_compile "$LINENO"; then :
65220 glibcxx_cv_func__ldexpl_use=yes
65221 else
65222 glibcxx_cv_func__ldexpl_use=no
65223 fi
65224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65225 ac_ext=c
65226 ac_cpp='$CPP $CPPFLAGS'
65227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65230
65231
65232 fi
65233
65234 fi
65235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65236 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65237
65238 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65239 for ac_func in _ldexpl
65240 do :
65241 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65242 if test "x$ac_cv_func__ldexpl" = xyes; then :
65243 cat >>confdefs.h <<_ACEOF
65244 #define HAVE__LDEXPL 1
65245 _ACEOF
65246
65247 fi
65248 done
65249
65250 fi
65251 fi
65252
65253
65254
65255
65256
65257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65258 $as_echo_n "checking for logl declaration... " >&6; }
65259 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65260 if ${glibcxx_cv_func_logl_use+:} false; then :
65261 $as_echo_n "(cached) " >&6
65262 else
65263
65264
65265 ac_ext=cpp
65266 ac_cpp='$CXXCPP $CPPFLAGS'
65267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65270
65271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65272 /* end confdefs.h. */
65273 #include <math.h>
65274 #ifdef HAVE_IEEEFP_H
65275 #include <ieeefp.h>
65276 #endif
65277
65278 int
65279 main ()
65280 {
65281 logl(0);
65282 ;
65283 return 0;
65284 }
65285 _ACEOF
65286 if ac_fn_cxx_try_compile "$LINENO"; then :
65287 glibcxx_cv_func_logl_use=yes
65288 else
65289 glibcxx_cv_func_logl_use=no
65290 fi
65291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65292 ac_ext=c
65293 ac_cpp='$CPP $CPPFLAGS'
65294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65297
65298
65299 fi
65300
65301 fi
65302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65303 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65304
65305 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65306 for ac_func in logl
65307 do :
65308 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65309 if test "x$ac_cv_func_logl" = xyes; then :
65310 cat >>confdefs.h <<_ACEOF
65311 #define HAVE_LOGL 1
65312 _ACEOF
65313
65314 fi
65315 done
65316
65317 else
65318
65319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65320 $as_echo_n "checking for _logl declaration... " >&6; }
65321 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65322 if ${glibcxx_cv_func__logl_use+:} false; then :
65323 $as_echo_n "(cached) " >&6
65324 else
65325
65326
65327 ac_ext=cpp
65328 ac_cpp='$CXXCPP $CPPFLAGS'
65329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65332
65333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65334 /* end confdefs.h. */
65335 #include <math.h>
65336 #ifdef HAVE_IEEEFP_H
65337 #include <ieeefp.h>
65338 #endif
65339
65340 int
65341 main ()
65342 {
65343 _logl(0);
65344 ;
65345 return 0;
65346 }
65347 _ACEOF
65348 if ac_fn_cxx_try_compile "$LINENO"; then :
65349 glibcxx_cv_func__logl_use=yes
65350 else
65351 glibcxx_cv_func__logl_use=no
65352 fi
65353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65354 ac_ext=c
65355 ac_cpp='$CPP $CPPFLAGS'
65356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65359
65360
65361 fi
65362
65363 fi
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65365 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65366
65367 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65368 for ac_func in _logl
65369 do :
65370 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65371 if test "x$ac_cv_func__logl" = xyes; then :
65372 cat >>confdefs.h <<_ACEOF
65373 #define HAVE__LOGL 1
65374 _ACEOF
65375
65376 fi
65377 done
65378
65379 fi
65380 fi
65381
65382
65383
65384
65385
65386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65387 $as_echo_n "checking for log10l declaration... " >&6; }
65388 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65389 if ${glibcxx_cv_func_log10l_use+:} false; then :
65390 $as_echo_n "(cached) " >&6
65391 else
65392
65393
65394 ac_ext=cpp
65395 ac_cpp='$CXXCPP $CPPFLAGS'
65396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65399
65400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65401 /* end confdefs.h. */
65402 #include <math.h>
65403 #ifdef HAVE_IEEEFP_H
65404 #include <ieeefp.h>
65405 #endif
65406
65407 int
65408 main ()
65409 {
65410 log10l(0);
65411 ;
65412 return 0;
65413 }
65414 _ACEOF
65415 if ac_fn_cxx_try_compile "$LINENO"; then :
65416 glibcxx_cv_func_log10l_use=yes
65417 else
65418 glibcxx_cv_func_log10l_use=no
65419 fi
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65421 ac_ext=c
65422 ac_cpp='$CPP $CPPFLAGS'
65423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65426
65427
65428 fi
65429
65430 fi
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65432 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65433
65434 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65435 for ac_func in log10l
65436 do :
65437 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65438 if test "x$ac_cv_func_log10l" = xyes; then :
65439 cat >>confdefs.h <<_ACEOF
65440 #define HAVE_LOG10L 1
65441 _ACEOF
65442
65443 fi
65444 done
65445
65446 else
65447
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65449 $as_echo_n "checking for _log10l declaration... " >&6; }
65450 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65451 if ${glibcxx_cv_func__log10l_use+:} false; then :
65452 $as_echo_n "(cached) " >&6
65453 else
65454
65455
65456 ac_ext=cpp
65457 ac_cpp='$CXXCPP $CPPFLAGS'
65458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65461
65462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65463 /* end confdefs.h. */
65464 #include <math.h>
65465 #ifdef HAVE_IEEEFP_H
65466 #include <ieeefp.h>
65467 #endif
65468
65469 int
65470 main ()
65471 {
65472 _log10l(0);
65473 ;
65474 return 0;
65475 }
65476 _ACEOF
65477 if ac_fn_cxx_try_compile "$LINENO"; then :
65478 glibcxx_cv_func__log10l_use=yes
65479 else
65480 glibcxx_cv_func__log10l_use=no
65481 fi
65482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65483 ac_ext=c
65484 ac_cpp='$CPP $CPPFLAGS'
65485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65488
65489
65490 fi
65491
65492 fi
65493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65494 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65495
65496 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65497 for ac_func in _log10l
65498 do :
65499 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65500 if test "x$ac_cv_func__log10l" = xyes; then :
65501 cat >>confdefs.h <<_ACEOF
65502 #define HAVE__LOG10L 1
65503 _ACEOF
65504
65505 fi
65506 done
65507
65508 fi
65509 fi
65510
65511
65512
65513
65514
65515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65516 $as_echo_n "checking for modfl declaration... " >&6; }
65517 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65518 if ${glibcxx_cv_func_modfl_use+:} false; then :
65519 $as_echo_n "(cached) " >&6
65520 else
65521
65522
65523 ac_ext=cpp
65524 ac_cpp='$CXXCPP $CPPFLAGS'
65525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65528
65529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65530 /* end confdefs.h. */
65531 #include <math.h>
65532 int
65533 main ()
65534 {
65535 modfl(0, 0);
65536 ;
65537 return 0;
65538 }
65539 _ACEOF
65540 if ac_fn_cxx_try_compile "$LINENO"; then :
65541 glibcxx_cv_func_modfl_use=yes
65542 else
65543 glibcxx_cv_func_modfl_use=no
65544 fi
65545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65546 ac_ext=c
65547 ac_cpp='$CPP $CPPFLAGS'
65548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65551
65552
65553 fi
65554
65555 fi
65556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65557 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65558
65559 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65560 for ac_func in modfl
65561 do :
65562 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65563 if test "x$ac_cv_func_modfl" = xyes; then :
65564 cat >>confdefs.h <<_ACEOF
65565 #define HAVE_MODFL 1
65566 _ACEOF
65567
65568 fi
65569 done
65570
65571 else
65572
65573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65574 $as_echo_n "checking for _modfl declaration... " >&6; }
65575 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65576 if ${glibcxx_cv_func__modfl_use+:} false; then :
65577 $as_echo_n "(cached) " >&6
65578 else
65579
65580
65581 ac_ext=cpp
65582 ac_cpp='$CXXCPP $CPPFLAGS'
65583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65586
65587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65588 /* end confdefs.h. */
65589 #include <math.h>
65590 int
65591 main ()
65592 {
65593 _modfl(0, 0);
65594 ;
65595 return 0;
65596 }
65597 _ACEOF
65598 if ac_fn_cxx_try_compile "$LINENO"; then :
65599 glibcxx_cv_func__modfl_use=yes
65600 else
65601 glibcxx_cv_func__modfl_use=no
65602 fi
65603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65604 ac_ext=c
65605 ac_cpp='$CPP $CPPFLAGS'
65606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65609
65610
65611 fi
65612
65613 fi
65614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65615 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65616
65617 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65618 for ac_func in _modfl
65619 do :
65620 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65621 if test "x$ac_cv_func__modfl" = xyes; then :
65622 cat >>confdefs.h <<_ACEOF
65623 #define HAVE__MODFL 1
65624 _ACEOF
65625
65626 fi
65627 done
65628
65629 fi
65630 fi
65631
65632
65633
65634
65635
65636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65637 $as_echo_n "checking for powl declaration... " >&6; }
65638 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65639 if ${glibcxx_cv_func_powl_use+:} false; then :
65640 $as_echo_n "(cached) " >&6
65641 else
65642
65643
65644 ac_ext=cpp
65645 ac_cpp='$CXXCPP $CPPFLAGS'
65646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65649
65650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65651 /* end confdefs.h. */
65652 #include <math.h>
65653 int
65654 main ()
65655 {
65656 powl(0, 0);
65657 ;
65658 return 0;
65659 }
65660 _ACEOF
65661 if ac_fn_cxx_try_compile "$LINENO"; then :
65662 glibcxx_cv_func_powl_use=yes
65663 else
65664 glibcxx_cv_func_powl_use=no
65665 fi
65666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65667 ac_ext=c
65668 ac_cpp='$CPP $CPPFLAGS'
65669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65672
65673
65674 fi
65675
65676 fi
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65678 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65679
65680 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65681 for ac_func in powl
65682 do :
65683 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65684 if test "x$ac_cv_func_powl" = xyes; then :
65685 cat >>confdefs.h <<_ACEOF
65686 #define HAVE_POWL 1
65687 _ACEOF
65688
65689 fi
65690 done
65691
65692 else
65693
65694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65695 $as_echo_n "checking for _powl declaration... " >&6; }
65696 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65697 if ${glibcxx_cv_func__powl_use+:} false; then :
65698 $as_echo_n "(cached) " >&6
65699 else
65700
65701
65702 ac_ext=cpp
65703 ac_cpp='$CXXCPP $CPPFLAGS'
65704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65707
65708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65709 /* end confdefs.h. */
65710 #include <math.h>
65711 int
65712 main ()
65713 {
65714 _powl(0, 0);
65715 ;
65716 return 0;
65717 }
65718 _ACEOF
65719 if ac_fn_cxx_try_compile "$LINENO"; then :
65720 glibcxx_cv_func__powl_use=yes
65721 else
65722 glibcxx_cv_func__powl_use=no
65723 fi
65724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65725 ac_ext=c
65726 ac_cpp='$CPP $CPPFLAGS'
65727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65730
65731
65732 fi
65733
65734 fi
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65736 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65737
65738 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65739 for ac_func in _powl
65740 do :
65741 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65742 if test "x$ac_cv_func__powl" = xyes; then :
65743 cat >>confdefs.h <<_ACEOF
65744 #define HAVE__POWL 1
65745 _ACEOF
65746
65747 fi
65748 done
65749
65750 fi
65751 fi
65752
65753
65754
65755
65756
65757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65758 $as_echo_n "checking for sqrtl declaration... " >&6; }
65759 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65760 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65761 $as_echo_n "(cached) " >&6
65762 else
65763
65764
65765 ac_ext=cpp
65766 ac_cpp='$CXXCPP $CPPFLAGS'
65767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65770
65771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65772 /* end confdefs.h. */
65773 #include <math.h>
65774 #ifdef HAVE_IEEEFP_H
65775 #include <ieeefp.h>
65776 #endif
65777
65778 int
65779 main ()
65780 {
65781 sqrtl(0);
65782 ;
65783 return 0;
65784 }
65785 _ACEOF
65786 if ac_fn_cxx_try_compile "$LINENO"; then :
65787 glibcxx_cv_func_sqrtl_use=yes
65788 else
65789 glibcxx_cv_func_sqrtl_use=no
65790 fi
65791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65792 ac_ext=c
65793 ac_cpp='$CPP $CPPFLAGS'
65794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65797
65798
65799 fi
65800
65801 fi
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65803 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65804
65805 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65806 for ac_func in sqrtl
65807 do :
65808 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65809 if test "x$ac_cv_func_sqrtl" = xyes; then :
65810 cat >>confdefs.h <<_ACEOF
65811 #define HAVE_SQRTL 1
65812 _ACEOF
65813
65814 fi
65815 done
65816
65817 else
65818
65819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65820 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65821 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65822 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65823 $as_echo_n "(cached) " >&6
65824 else
65825
65826
65827 ac_ext=cpp
65828 ac_cpp='$CXXCPP $CPPFLAGS'
65829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65832
65833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65834 /* end confdefs.h. */
65835 #include <math.h>
65836 #ifdef HAVE_IEEEFP_H
65837 #include <ieeefp.h>
65838 #endif
65839
65840 int
65841 main ()
65842 {
65843 _sqrtl(0);
65844 ;
65845 return 0;
65846 }
65847 _ACEOF
65848 if ac_fn_cxx_try_compile "$LINENO"; then :
65849 glibcxx_cv_func__sqrtl_use=yes
65850 else
65851 glibcxx_cv_func__sqrtl_use=no
65852 fi
65853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65854 ac_ext=c
65855 ac_cpp='$CPP $CPPFLAGS'
65856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65859
65860
65861 fi
65862
65863 fi
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65865 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65866
65867 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65868 for ac_func in _sqrtl
65869 do :
65870 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65871 if test "x$ac_cv_func__sqrtl" = xyes; then :
65872 cat >>confdefs.h <<_ACEOF
65873 #define HAVE__SQRTL 1
65874 _ACEOF
65875
65876 fi
65877 done
65878
65879 fi
65880 fi
65881
65882
65883
65884
65885
65886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65887 $as_echo_n "checking for sincosl declaration... " >&6; }
65888 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65889 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65890 $as_echo_n "(cached) " >&6
65891 else
65892
65893
65894 ac_ext=cpp
65895 ac_cpp='$CXXCPP $CPPFLAGS'
65896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65899
65900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65901 /* end confdefs.h. */
65902 #include <math.h>
65903 int
65904 main ()
65905 {
65906 sincosl(0, 0, 0);
65907 ;
65908 return 0;
65909 }
65910 _ACEOF
65911 if ac_fn_cxx_try_compile "$LINENO"; then :
65912 glibcxx_cv_func_sincosl_use=yes
65913 else
65914 glibcxx_cv_func_sincosl_use=no
65915 fi
65916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65917 ac_ext=c
65918 ac_cpp='$CPP $CPPFLAGS'
65919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65922
65923
65924 fi
65925
65926 fi
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65928 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65929
65930 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65931 for ac_func in sincosl
65932 do :
65933 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65934 if test "x$ac_cv_func_sincosl" = xyes; then :
65935 cat >>confdefs.h <<_ACEOF
65936 #define HAVE_SINCOSL 1
65937 _ACEOF
65938
65939 fi
65940 done
65941
65942 else
65943
65944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65945 $as_echo_n "checking for _sincosl declaration... " >&6; }
65946 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65947 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65948 $as_echo_n "(cached) " >&6
65949 else
65950
65951
65952 ac_ext=cpp
65953 ac_cpp='$CXXCPP $CPPFLAGS'
65954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65957
65958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65959 /* end confdefs.h. */
65960 #include <math.h>
65961 int
65962 main ()
65963 {
65964 _sincosl(0, 0, 0);
65965 ;
65966 return 0;
65967 }
65968 _ACEOF
65969 if ac_fn_cxx_try_compile "$LINENO"; then :
65970 glibcxx_cv_func__sincosl_use=yes
65971 else
65972 glibcxx_cv_func__sincosl_use=no
65973 fi
65974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65975 ac_ext=c
65976 ac_cpp='$CPP $CPPFLAGS'
65977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65980
65981
65982 fi
65983
65984 fi
65985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65986 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65987
65988 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65989 for ac_func in _sincosl
65990 do :
65991 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65992 if test "x$ac_cv_func__sincosl" = xyes; then :
65993 cat >>confdefs.h <<_ACEOF
65994 #define HAVE__SINCOSL 1
65995 _ACEOF
65996
65997 fi
65998 done
65999
66000 fi
66001 fi
66002
66003
66004
66005
66006
66007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66008 $as_echo_n "checking for finitel declaration... " >&6; }
66009 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66010 if ${glibcxx_cv_func_finitel_use+:} false; then :
66011 $as_echo_n "(cached) " >&6
66012 else
66013
66014
66015 ac_ext=cpp
66016 ac_cpp='$CXXCPP $CPPFLAGS'
66017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66020
66021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66022 /* end confdefs.h. */
66023 #include <math.h>
66024 #ifdef HAVE_IEEEFP_H
66025 #include <ieeefp.h>
66026 #endif
66027
66028 int
66029 main ()
66030 {
66031 finitel(0);
66032 ;
66033 return 0;
66034 }
66035 _ACEOF
66036 if ac_fn_cxx_try_compile "$LINENO"; then :
66037 glibcxx_cv_func_finitel_use=yes
66038 else
66039 glibcxx_cv_func_finitel_use=no
66040 fi
66041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66042 ac_ext=c
66043 ac_cpp='$CPP $CPPFLAGS'
66044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66047
66048
66049 fi
66050
66051 fi
66052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66053 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66054
66055 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66056 for ac_func in finitel
66057 do :
66058 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66059 if test "x$ac_cv_func_finitel" = xyes; then :
66060 cat >>confdefs.h <<_ACEOF
66061 #define HAVE_FINITEL 1
66062 _ACEOF
66063
66064 fi
66065 done
66066
66067 else
66068
66069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66070 $as_echo_n "checking for _finitel declaration... " >&6; }
66071 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66072 if ${glibcxx_cv_func__finitel_use+:} false; then :
66073 $as_echo_n "(cached) " >&6
66074 else
66075
66076
66077 ac_ext=cpp
66078 ac_cpp='$CXXCPP $CPPFLAGS'
66079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66082
66083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66084 /* end confdefs.h. */
66085 #include <math.h>
66086 #ifdef HAVE_IEEEFP_H
66087 #include <ieeefp.h>
66088 #endif
66089
66090 int
66091 main ()
66092 {
66093 _finitel(0);
66094 ;
66095 return 0;
66096 }
66097 _ACEOF
66098 if ac_fn_cxx_try_compile "$LINENO"; then :
66099 glibcxx_cv_func__finitel_use=yes
66100 else
66101 glibcxx_cv_func__finitel_use=no
66102 fi
66103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66104 ac_ext=c
66105 ac_cpp='$CPP $CPPFLAGS'
66106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66109
66110
66111 fi
66112
66113 fi
66114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66115 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66116
66117 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66118 for ac_func in _finitel
66119 do :
66120 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66121 if test "x$ac_cv_func__finitel" = xyes; then :
66122 cat >>confdefs.h <<_ACEOF
66123 #define HAVE__FINITEL 1
66124 _ACEOF
66125
66126 fi
66127 done
66128
66129 fi
66130 fi
66131
66132
66133
66134
66135 LIBS="$ac_save_LIBS"
66136 CXXFLAGS="$ac_save_CXXFLAGS"
66137
66138
66139 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66140 ac_save_CXXFLAGS="$CXXFLAGS"
66141 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66142
66143
66144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66145 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66146 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66147 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66148 $as_echo_n "(cached) " >&6
66149 else
66150
66151
66152 ac_ext=cpp
66153 ac_cpp='$CXXCPP $CPPFLAGS'
66154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66157
66158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66159 /* end confdefs.h. */
66160 #include <stdlib.h>
66161 int
66162 main ()
66163 {
66164 at_quick_exit(0);
66165 ;
66166 return 0;
66167 }
66168 _ACEOF
66169 if ac_fn_cxx_try_compile "$LINENO"; then :
66170 glibcxx_cv_func_at_quick_exit_use=yes
66171 else
66172 glibcxx_cv_func_at_quick_exit_use=no
66173 fi
66174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66175 ac_ext=c
66176 ac_cpp='$CPP $CPPFLAGS'
66177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66180
66181
66182 fi
66183
66184 fi
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66186 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66187 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66188 for ac_func in at_quick_exit
66189 do :
66190 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66191 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66192 cat >>confdefs.h <<_ACEOF
66193 #define HAVE_AT_QUICK_EXIT 1
66194 _ACEOF
66195
66196 fi
66197 done
66198
66199 fi
66200
66201
66202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66203 $as_echo_n "checking for quick_exit declaration... " >&6; }
66204 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66205 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66206 $as_echo_n "(cached) " >&6
66207 else
66208
66209
66210 ac_ext=cpp
66211 ac_cpp='$CXXCPP $CPPFLAGS'
66212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66215
66216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66217 /* end confdefs.h. */
66218 #include <stdlib.h>
66219 int
66220 main ()
66221 {
66222 quick_exit(0);
66223 ;
66224 return 0;
66225 }
66226 _ACEOF
66227 if ac_fn_cxx_try_compile "$LINENO"; then :
66228 glibcxx_cv_func_quick_exit_use=yes
66229 else
66230 glibcxx_cv_func_quick_exit_use=no
66231 fi
66232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66233 ac_ext=c
66234 ac_cpp='$CPP $CPPFLAGS'
66235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66238
66239
66240 fi
66241
66242 fi
66243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66244 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66245 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66246 for ac_func in quick_exit
66247 do :
66248 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66249 if test "x$ac_cv_func_quick_exit" = xyes; then :
66250 cat >>confdefs.h <<_ACEOF
66251 #define HAVE_QUICK_EXIT 1
66252 _ACEOF
66253
66254 fi
66255 done
66256
66257 fi
66258
66259
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66261 $as_echo_n "checking for strtold declaration... " >&6; }
66262 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66263 if ${glibcxx_cv_func_strtold_use+:} false; then :
66264 $as_echo_n "(cached) " >&6
66265 else
66266
66267
66268 ac_ext=cpp
66269 ac_cpp='$CXXCPP $CPPFLAGS'
66270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66273
66274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66275 /* end confdefs.h. */
66276 #include <stdlib.h>
66277 int
66278 main ()
66279 {
66280 strtold(0, 0);
66281 ;
66282 return 0;
66283 }
66284 _ACEOF
66285 if ac_fn_cxx_try_compile "$LINENO"; then :
66286 glibcxx_cv_func_strtold_use=yes
66287 else
66288 glibcxx_cv_func_strtold_use=no
66289 fi
66290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66291 ac_ext=c
66292 ac_cpp='$CPP $CPPFLAGS'
66293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66296
66297
66298 fi
66299
66300 fi
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66302 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66303 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66304 for ac_func in strtold
66305 do :
66306 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66307 if test "x$ac_cv_func_strtold" = xyes; then :
66308 cat >>confdefs.h <<_ACEOF
66309 #define HAVE_STRTOLD 1
66310 _ACEOF
66311
66312 fi
66313 done
66314
66315 fi
66316
66317
66318
66319
66320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66321 $as_echo_n "checking for strtof declaration... " >&6; }
66322 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66323 if ${glibcxx_cv_func_strtof_use+:} false; then :
66324 $as_echo_n "(cached) " >&6
66325 else
66326
66327
66328 ac_ext=cpp
66329 ac_cpp='$CXXCPP $CPPFLAGS'
66330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66333
66334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66335 /* end confdefs.h. */
66336 #include <stdlib.h>
66337 int
66338 main ()
66339 {
66340 strtof(0, 0);
66341 ;
66342 return 0;
66343 }
66344 _ACEOF
66345 if ac_fn_cxx_try_compile "$LINENO"; then :
66346 glibcxx_cv_func_strtof_use=yes
66347 else
66348 glibcxx_cv_func_strtof_use=no
66349 fi
66350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66351 ac_ext=c
66352 ac_cpp='$CPP $CPPFLAGS'
66353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66356
66357
66358 fi
66359
66360 fi
66361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66362 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66363 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66364 for ac_func in strtof
66365 do :
66366 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66367 if test "x$ac_cv_func_strtof" = xyes; then :
66368 cat >>confdefs.h <<_ACEOF
66369 #define HAVE_STRTOF 1
66370 _ACEOF
66371
66372 fi
66373 done
66374
66375 fi
66376
66377
66378
66379
66380 CXXFLAGS="$ac_save_CXXFLAGS"
66381
66382 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66383 do :
66384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66387 cat >>confdefs.h <<_ACEOF
66388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66389 _ACEOF
66390
66391 fi
66392 done
66393
66394 for ac_func in _wfopen
66395 do :
66396 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66397 if test "x$ac_cv_func__wfopen" = xyes; then :
66398 cat >>confdefs.h <<_ACEOF
66399 #define HAVE__WFOPEN 1
66400 _ACEOF
66401
66402 fi
66403 done
66404
66405 ;;
66406 *-netbsd* | *-openbsd*)
66407 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66408
66409
66410 # If we're not using GNU ld, then there's no point in even trying these
66411 # tests. Check for that first. We should have already tested for gld
66412 # by now (in libtool), but require it now just to be safe...
66413 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66414 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66415
66416
66417
66418 # The name set by libtool depends on the version of libtool. Shame on us
66419 # for depending on an impl detail, but c'est la vie. Older versions used
66420 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66421 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66422 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66423 # set (hence we're using an older libtool), then set it.
66424 if test x${with_gnu_ld+set} != xset; then
66425 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66426 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66427 with_gnu_ld=no
66428 else
66429 with_gnu_ld=$ac_cv_prog_gnu_ld
66430 fi
66431 fi
66432
66433 # Start by getting the version number. I think the libtool test already
66434 # does some of this, but throws away the result.
66435 glibcxx_ld_is_gold=no
66436 if test x"$with_gnu_ld" = x"yes"; then
66437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66438 $as_echo_n "checking for ld version... " >&6; }
66439
66440 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66441 glibcxx_ld_is_gold=yes
66442 fi
66443 ldver=`$LD --version 2>/dev/null |
66444 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'`
66445
66446 glibcxx_gnu_ld_version=`echo $ldver | \
66447 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66449 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66450 fi
66451
66452 # Set --gc-sections.
66453 glibcxx_have_gc_sections=no
66454 if test "$glibcxx_ld_is_gold" = "yes"; then
66455 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66456 glibcxx_have_gc_sections=yes
66457 fi
66458 else
66459 glibcxx_gcsections_min_ld=21602
66460 if test x"$with_gnu_ld" = x"yes" &&
66461 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66462 glibcxx_have_gc_sections=yes
66463 fi
66464 fi
66465 if test "$glibcxx_have_gc_sections" = "yes"; then
66466 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66467 # NB: This flag only works reliably after 2.16.1. Configure tests
66468 # for this are difficult, so hard wire a value that should work.
66469
66470 ac_test_CFLAGS="${CFLAGS+set}"
66471 ac_save_CFLAGS="$CFLAGS"
66472 CFLAGS='-Wl,--gc-sections'
66473
66474 # Check for -Wl,--gc-sections
66475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66476 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66477 if test x$gcc_no_link = xyes; then
66478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66479 fi
66480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66481 /* end confdefs.h. */
66482 int one(void) { return 1; }
66483 int two(void) { return 2; }
66484
66485 int
66486 main ()
66487 {
66488 two();
66489 ;
66490 return 0;
66491 }
66492 _ACEOF
66493 if ac_fn_c_try_link "$LINENO"; then :
66494 ac_gcsections=yes
66495 else
66496 ac_gcsections=no
66497 fi
66498 rm -f core conftest.err conftest.$ac_objext \
66499 conftest$ac_exeext conftest.$ac_ext
66500 if test "$ac_gcsections" = "yes"; then
66501 rm -f conftest.c
66502 touch conftest.c
66503 if $CC -c conftest.c; then
66504 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66505 grep "Warning: gc-sections option ignored" > /dev/null; then
66506 ac_gcsections=no
66507 fi
66508 fi
66509 rm -f conftest.c conftest.o conftest
66510 fi
66511 if test "$ac_gcsections" = "yes"; then
66512 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66513 fi
66514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66515 $as_echo "$ac_gcsections" >&6; }
66516
66517 if test "$ac_test_CFLAGS" = set; then
66518 CFLAGS="$ac_save_CFLAGS"
66519 else
66520 # this is the suspicious part
66521 CFLAGS=''
66522 fi
66523 fi
66524
66525 # Set -z,relro.
66526 # Note this is only for shared objects.
66527 ac_ld_relro=no
66528 if test x"$with_gnu_ld" = x"yes"; then
66529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66530 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66531 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66532 if test -n "$cxx_z_relo"; then
66533 OPT_LDFLAGS="-Wl,-z,relro"
66534 ac_ld_relro=yes
66535 fi
66536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66537 $as_echo "$ac_ld_relro" >&6; }
66538 fi
66539
66540 # Set linker optimization flags.
66541 if test x"$with_gnu_ld" = x"yes"; then
66542 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66543 fi
66544
66545
66546
66547
66548 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66549
66550 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66551
66552 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66553
66554 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66555
66556 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66557
66558 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66559
66560 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66561
66562 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66563
66564 if test x"long_double_math_on_this_cpu" = x"yes"; then
66565 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66566
66567 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66568
66569 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66570
66571 fi
66572 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66573 do :
66574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66577 cat >>confdefs.h <<_ACEOF
66578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66579 _ACEOF
66580
66581 fi
66582 done
66583
66584 for ac_func in timespec_get
66585 do :
66586 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
66587 if test "x$ac_cv_func_timespec_get" = xyes; then :
66588 cat >>confdefs.h <<_ACEOF
66589 #define HAVE_TIMESPEC_GET 1
66590 _ACEOF
66591
66592 fi
66593 done
66594
66595 ;;
66596 *-qnx6.1* | *-qnx6.2*)
66597 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66598
66599
66600 # If we're not using GNU ld, then there's no point in even trying these
66601 # tests. Check for that first. We should have already tested for gld
66602 # by now (in libtool), but require it now just to be safe...
66603 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66604 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66605
66606
66607
66608 # The name set by libtool depends on the version of libtool. Shame on us
66609 # for depending on an impl detail, but c'est la vie. Older versions used
66610 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66611 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66612 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66613 # set (hence we're using an older libtool), then set it.
66614 if test x${with_gnu_ld+set} != xset; then
66615 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66616 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66617 with_gnu_ld=no
66618 else
66619 with_gnu_ld=$ac_cv_prog_gnu_ld
66620 fi
66621 fi
66622
66623 # Start by getting the version number. I think the libtool test already
66624 # does some of this, but throws away the result.
66625 glibcxx_ld_is_gold=no
66626 if test x"$with_gnu_ld" = x"yes"; then
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66628 $as_echo_n "checking for ld version... " >&6; }
66629
66630 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66631 glibcxx_ld_is_gold=yes
66632 fi
66633 ldver=`$LD --version 2>/dev/null |
66634 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'`
66635
66636 glibcxx_gnu_ld_version=`echo $ldver | \
66637 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66639 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66640 fi
66641
66642 # Set --gc-sections.
66643 glibcxx_have_gc_sections=no
66644 if test "$glibcxx_ld_is_gold" = "yes"; then
66645 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66646 glibcxx_have_gc_sections=yes
66647 fi
66648 else
66649 glibcxx_gcsections_min_ld=21602
66650 if test x"$with_gnu_ld" = x"yes" &&
66651 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66652 glibcxx_have_gc_sections=yes
66653 fi
66654 fi
66655 if test "$glibcxx_have_gc_sections" = "yes"; then
66656 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66657 # NB: This flag only works reliably after 2.16.1. Configure tests
66658 # for this are difficult, so hard wire a value that should work.
66659
66660 ac_test_CFLAGS="${CFLAGS+set}"
66661 ac_save_CFLAGS="$CFLAGS"
66662 CFLAGS='-Wl,--gc-sections'
66663
66664 # Check for -Wl,--gc-sections
66665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66666 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66667 if test x$gcc_no_link = xyes; then
66668 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66669 fi
66670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66671 /* end confdefs.h. */
66672 int one(void) { return 1; }
66673 int two(void) { return 2; }
66674
66675 int
66676 main ()
66677 {
66678 two();
66679 ;
66680 return 0;
66681 }
66682 _ACEOF
66683 if ac_fn_c_try_link "$LINENO"; then :
66684 ac_gcsections=yes
66685 else
66686 ac_gcsections=no
66687 fi
66688 rm -f core conftest.err conftest.$ac_objext \
66689 conftest$ac_exeext conftest.$ac_ext
66690 if test "$ac_gcsections" = "yes"; then
66691 rm -f conftest.c
66692 touch conftest.c
66693 if $CC -c conftest.c; then
66694 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66695 grep "Warning: gc-sections option ignored" > /dev/null; then
66696 ac_gcsections=no
66697 fi
66698 fi
66699 rm -f conftest.c conftest.o conftest
66700 fi
66701 if test "$ac_gcsections" = "yes"; then
66702 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66703 fi
66704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66705 $as_echo "$ac_gcsections" >&6; }
66706
66707 if test "$ac_test_CFLAGS" = set; then
66708 CFLAGS="$ac_save_CFLAGS"
66709 else
66710 # this is the suspicious part
66711 CFLAGS=''
66712 fi
66713 fi
66714
66715 # Set -z,relro.
66716 # Note this is only for shared objects.
66717 ac_ld_relro=no
66718 if test x"$with_gnu_ld" = x"yes"; then
66719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66720 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66721 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66722 if test -n "$cxx_z_relo"; then
66723 OPT_LDFLAGS="-Wl,-z,relro"
66724 ac_ld_relro=yes
66725 fi
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66727 $as_echo "$ac_ld_relro" >&6; }
66728 fi
66729
66730 # Set linker optimization flags.
66731 if test x"$with_gnu_ld" = x"yes"; then
66732 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66733 fi
66734
66735
66736
66737
66738 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66739
66740 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66741
66742 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66743
66744 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66745
66746 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66747
66748 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66749
66750 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66751
66752 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66753
66754 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66755
66756 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66757
66758 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66759
66760 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66761
66762 ;;
66763 *-rtems*)
66764
66765 # All these tests are for C++; save the language and the compiler flags.
66766 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66767 # found in GLIBCXX_CONFIGURE.
66768
66769 ac_ext=cpp
66770 ac_cpp='$CXXCPP $CPPFLAGS'
66771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66774
66775 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66776 ac_save_CXXFLAGS="$CXXFLAGS"
66777
66778 # Check for -ffunction-sections -fdata-sections
66779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66780 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66781 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66783 /* end confdefs.h. */
66784 int foo; void bar() { };
66785 int
66786 main ()
66787 {
66788
66789 ;
66790 return 0;
66791 }
66792 _ACEOF
66793 if ac_fn_cxx_try_compile "$LINENO"; then :
66794 ac_fdsections=yes
66795 else
66796 ac_fdsections=no
66797 fi
66798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66799 if test "$ac_test_CXXFLAGS" = set; then
66800 CXXFLAGS="$ac_save_CXXFLAGS"
66801 else
66802 # this is the suspicious part
66803 CXXFLAGS=''
66804 fi
66805 if test x"$ac_fdsections" = x"yes"; then
66806 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66807 fi
66808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66809 $as_echo "$ac_fdsections" >&6; }
66810
66811 ac_ext=c
66812 ac_cpp='$CPP $CPPFLAGS'
66813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66816
66817
66818
66819
66820 # If we're not using GNU ld, then there's no point in even trying these
66821 # tests. Check for that first. We should have already tested for gld
66822 # by now (in libtool), but require it now just to be safe...
66823 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66824 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66825
66826
66827
66828 # The name set by libtool depends on the version of libtool. Shame on us
66829 # for depending on an impl detail, but c'est la vie. Older versions used
66830 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66831 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66832 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66833 # set (hence we're using an older libtool), then set it.
66834 if test x${with_gnu_ld+set} != xset; then
66835 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66836 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66837 with_gnu_ld=no
66838 else
66839 with_gnu_ld=$ac_cv_prog_gnu_ld
66840 fi
66841 fi
66842
66843 # Start by getting the version number. I think the libtool test already
66844 # does some of this, but throws away the result.
66845 glibcxx_ld_is_gold=no
66846 if test x"$with_gnu_ld" = x"yes"; then
66847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66848 $as_echo_n "checking for ld version... " >&6; }
66849
66850 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66851 glibcxx_ld_is_gold=yes
66852 fi
66853 ldver=`$LD --version 2>/dev/null |
66854 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'`
66855
66856 glibcxx_gnu_ld_version=`echo $ldver | \
66857 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66859 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66860 fi
66861
66862 # Set --gc-sections.
66863 glibcxx_have_gc_sections=no
66864 if test "$glibcxx_ld_is_gold" = "yes"; then
66865 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66866 glibcxx_have_gc_sections=yes
66867 fi
66868 else
66869 glibcxx_gcsections_min_ld=21602
66870 if test x"$with_gnu_ld" = x"yes" &&
66871 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66872 glibcxx_have_gc_sections=yes
66873 fi
66874 fi
66875 if test "$glibcxx_have_gc_sections" = "yes"; then
66876 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66877 # NB: This flag only works reliably after 2.16.1. Configure tests
66878 # for this are difficult, so hard wire a value that should work.
66879
66880 ac_test_CFLAGS="${CFLAGS+set}"
66881 ac_save_CFLAGS="$CFLAGS"
66882 CFLAGS='-Wl,--gc-sections'
66883
66884 # Check for -Wl,--gc-sections
66885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66886 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66887 if test x$gcc_no_link = xyes; then
66888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66889 fi
66890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66891 /* end confdefs.h. */
66892 int one(void) { return 1; }
66893 int two(void) { return 2; }
66894
66895 int
66896 main ()
66897 {
66898 two();
66899 ;
66900 return 0;
66901 }
66902 _ACEOF
66903 if ac_fn_c_try_link "$LINENO"; then :
66904 ac_gcsections=yes
66905 else
66906 ac_gcsections=no
66907 fi
66908 rm -f core conftest.err conftest.$ac_objext \
66909 conftest$ac_exeext conftest.$ac_ext
66910 if test "$ac_gcsections" = "yes"; then
66911 rm -f conftest.c
66912 touch conftest.c
66913 if $CC -c conftest.c; then
66914 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66915 grep "Warning: gc-sections option ignored" > /dev/null; then
66916 ac_gcsections=no
66917 fi
66918 fi
66919 rm -f conftest.c conftest.o conftest
66920 fi
66921 if test "$ac_gcsections" = "yes"; then
66922 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66923 fi
66924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66925 $as_echo "$ac_gcsections" >&6; }
66926
66927 if test "$ac_test_CFLAGS" = set; then
66928 CFLAGS="$ac_save_CFLAGS"
66929 else
66930 # this is the suspicious part
66931 CFLAGS=''
66932 fi
66933 fi
66934
66935 # Set -z,relro.
66936 # Note this is only for shared objects.
66937 ac_ld_relro=no
66938 if test x"$with_gnu_ld" = x"yes"; then
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66940 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66941 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66942 if test -n "$cxx_z_relo"; then
66943 OPT_LDFLAGS="-Wl,-z,relro"
66944 ac_ld_relro=yes
66945 fi
66946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66947 $as_echo "$ac_ld_relro" >&6; }
66948 fi
66949
66950 # Set linker optimization flags.
66951 if test x"$with_gnu_ld" = x"yes"; then
66952 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66953 fi
66954
66955
66956
66957
66958
66959 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66960 ac_save_CXXFLAGS="$CXXFLAGS"
66961 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66962
66963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66964 $as_echo_n "checking for sin in -lm... " >&6; }
66965 if ${ac_cv_lib_m_sin+:} false; then :
66966 $as_echo_n "(cached) " >&6
66967 else
66968 ac_check_lib_save_LIBS=$LIBS
66969 LIBS="-lm $LIBS"
66970 if test x$gcc_no_link = xyes; then
66971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66972 fi
66973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66974 /* end confdefs.h. */
66975
66976 /* Override any GCC internal prototype to avoid an error.
66977 Use char because int might match the return type of a GCC
66978 builtin and then its argument prototype would still apply. */
66979 #ifdef __cplusplus
66980 extern "C"
66981 #endif
66982 char sin ();
66983 int
66984 main ()
66985 {
66986 return sin ();
66987 ;
66988 return 0;
66989 }
66990 _ACEOF
66991 if ac_fn_c_try_link "$LINENO"; then :
66992 ac_cv_lib_m_sin=yes
66993 else
66994 ac_cv_lib_m_sin=no
66995 fi
66996 rm -f core conftest.err conftest.$ac_objext \
66997 conftest$ac_exeext conftest.$ac_ext
66998 LIBS=$ac_check_lib_save_LIBS
66999 fi
67000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67001 $as_echo "$ac_cv_lib_m_sin" >&6; }
67002 if test "x$ac_cv_lib_m_sin" = xyes; then :
67003 libm="-lm"
67004 fi
67005
67006 ac_save_LIBS="$LIBS"
67007 LIBS="$LIBS $libm"
67008
67009
67010
67011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67012 $as_echo_n "checking for isinf declaration... " >&6; }
67013 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67014 if ${glibcxx_cv_func_isinf_use+:} false; then :
67015 $as_echo_n "(cached) " >&6
67016 else
67017
67018
67019 ac_ext=cpp
67020 ac_cpp='$CXXCPP $CPPFLAGS'
67021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67024
67025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67026 /* end confdefs.h. */
67027 #include <math.h>
67028 #ifdef HAVE_IEEEFP_H
67029 #include <ieeefp.h>
67030 #endif
67031
67032 int
67033 main ()
67034 {
67035 isinf(0);
67036 ;
67037 return 0;
67038 }
67039 _ACEOF
67040 if ac_fn_cxx_try_compile "$LINENO"; then :
67041 glibcxx_cv_func_isinf_use=yes
67042 else
67043 glibcxx_cv_func_isinf_use=no
67044 fi
67045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67046 ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67051
67052
67053 fi
67054
67055 fi
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67057 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67058
67059 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67060 for ac_func in isinf
67061 do :
67062 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67063 if test "x$ac_cv_func_isinf" = xyes; then :
67064 cat >>confdefs.h <<_ACEOF
67065 #define HAVE_ISINF 1
67066 _ACEOF
67067
67068 fi
67069 done
67070
67071 else
67072
67073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67074 $as_echo_n "checking for _isinf declaration... " >&6; }
67075 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67076 if ${glibcxx_cv_func__isinf_use+:} false; then :
67077 $as_echo_n "(cached) " >&6
67078 else
67079
67080
67081 ac_ext=cpp
67082 ac_cpp='$CXXCPP $CPPFLAGS'
67083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67086
67087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67088 /* end confdefs.h. */
67089 #include <math.h>
67090 #ifdef HAVE_IEEEFP_H
67091 #include <ieeefp.h>
67092 #endif
67093
67094 int
67095 main ()
67096 {
67097 _isinf(0);
67098 ;
67099 return 0;
67100 }
67101 _ACEOF
67102 if ac_fn_cxx_try_compile "$LINENO"; then :
67103 glibcxx_cv_func__isinf_use=yes
67104 else
67105 glibcxx_cv_func__isinf_use=no
67106 fi
67107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67108 ac_ext=c
67109 ac_cpp='$CPP $CPPFLAGS'
67110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67113
67114
67115 fi
67116
67117 fi
67118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67119 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67120
67121 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67122 for ac_func in _isinf
67123 do :
67124 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67125 if test "x$ac_cv_func__isinf" = xyes; then :
67126 cat >>confdefs.h <<_ACEOF
67127 #define HAVE__ISINF 1
67128 _ACEOF
67129
67130 fi
67131 done
67132
67133 fi
67134 fi
67135
67136
67137
67138
67139
67140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67141 $as_echo_n "checking for isnan declaration... " >&6; }
67142 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67143 if ${glibcxx_cv_func_isnan_use+:} false; then :
67144 $as_echo_n "(cached) " >&6
67145 else
67146
67147
67148 ac_ext=cpp
67149 ac_cpp='$CXXCPP $CPPFLAGS'
67150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67153
67154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67155 /* end confdefs.h. */
67156 #include <math.h>
67157 #ifdef HAVE_IEEEFP_H
67158 #include <ieeefp.h>
67159 #endif
67160
67161 int
67162 main ()
67163 {
67164 isnan(0);
67165 ;
67166 return 0;
67167 }
67168 _ACEOF
67169 if ac_fn_cxx_try_compile "$LINENO"; then :
67170 glibcxx_cv_func_isnan_use=yes
67171 else
67172 glibcxx_cv_func_isnan_use=no
67173 fi
67174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67175 ac_ext=c
67176 ac_cpp='$CPP $CPPFLAGS'
67177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67180
67181
67182 fi
67183
67184 fi
67185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67186 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67187
67188 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67189 for ac_func in isnan
67190 do :
67191 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67192 if test "x$ac_cv_func_isnan" = xyes; then :
67193 cat >>confdefs.h <<_ACEOF
67194 #define HAVE_ISNAN 1
67195 _ACEOF
67196
67197 fi
67198 done
67199
67200 else
67201
67202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67203 $as_echo_n "checking for _isnan declaration... " >&6; }
67204 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67205 if ${glibcxx_cv_func__isnan_use+:} false; then :
67206 $as_echo_n "(cached) " >&6
67207 else
67208
67209
67210 ac_ext=cpp
67211 ac_cpp='$CXXCPP $CPPFLAGS'
67212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67215
67216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67217 /* end confdefs.h. */
67218 #include <math.h>
67219 #ifdef HAVE_IEEEFP_H
67220 #include <ieeefp.h>
67221 #endif
67222
67223 int
67224 main ()
67225 {
67226 _isnan(0);
67227 ;
67228 return 0;
67229 }
67230 _ACEOF
67231 if ac_fn_cxx_try_compile "$LINENO"; then :
67232 glibcxx_cv_func__isnan_use=yes
67233 else
67234 glibcxx_cv_func__isnan_use=no
67235 fi
67236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67237 ac_ext=c
67238 ac_cpp='$CPP $CPPFLAGS'
67239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67242
67243
67244 fi
67245
67246 fi
67247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67248 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67249
67250 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67251 for ac_func in _isnan
67252 do :
67253 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67254 if test "x$ac_cv_func__isnan" = xyes; then :
67255 cat >>confdefs.h <<_ACEOF
67256 #define HAVE__ISNAN 1
67257 _ACEOF
67258
67259 fi
67260 done
67261
67262 fi
67263 fi
67264
67265
67266
67267
67268
67269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67270 $as_echo_n "checking for finite declaration... " >&6; }
67271 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67272 if ${glibcxx_cv_func_finite_use+:} false; then :
67273 $as_echo_n "(cached) " >&6
67274 else
67275
67276
67277 ac_ext=cpp
67278 ac_cpp='$CXXCPP $CPPFLAGS'
67279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67282
67283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67284 /* end confdefs.h. */
67285 #include <math.h>
67286 #ifdef HAVE_IEEEFP_H
67287 #include <ieeefp.h>
67288 #endif
67289
67290 int
67291 main ()
67292 {
67293 finite(0);
67294 ;
67295 return 0;
67296 }
67297 _ACEOF
67298 if ac_fn_cxx_try_compile "$LINENO"; then :
67299 glibcxx_cv_func_finite_use=yes
67300 else
67301 glibcxx_cv_func_finite_use=no
67302 fi
67303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67304 ac_ext=c
67305 ac_cpp='$CPP $CPPFLAGS'
67306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67309
67310
67311 fi
67312
67313 fi
67314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67315 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67316
67317 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67318 for ac_func in finite
67319 do :
67320 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67321 if test "x$ac_cv_func_finite" = xyes; then :
67322 cat >>confdefs.h <<_ACEOF
67323 #define HAVE_FINITE 1
67324 _ACEOF
67325
67326 fi
67327 done
67328
67329 else
67330
67331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67332 $as_echo_n "checking for _finite declaration... " >&6; }
67333 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67334 if ${glibcxx_cv_func__finite_use+:} false; then :
67335 $as_echo_n "(cached) " >&6
67336 else
67337
67338
67339 ac_ext=cpp
67340 ac_cpp='$CXXCPP $CPPFLAGS'
67341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67344
67345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67346 /* end confdefs.h. */
67347 #include <math.h>
67348 #ifdef HAVE_IEEEFP_H
67349 #include <ieeefp.h>
67350 #endif
67351
67352 int
67353 main ()
67354 {
67355 _finite(0);
67356 ;
67357 return 0;
67358 }
67359 _ACEOF
67360 if ac_fn_cxx_try_compile "$LINENO"; then :
67361 glibcxx_cv_func__finite_use=yes
67362 else
67363 glibcxx_cv_func__finite_use=no
67364 fi
67365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67366 ac_ext=c
67367 ac_cpp='$CPP $CPPFLAGS'
67368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67371
67372
67373 fi
67374
67375 fi
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67377 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67378
67379 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67380 for ac_func in _finite
67381 do :
67382 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67383 if test "x$ac_cv_func__finite" = xyes; then :
67384 cat >>confdefs.h <<_ACEOF
67385 #define HAVE__FINITE 1
67386 _ACEOF
67387
67388 fi
67389 done
67390
67391 fi
67392 fi
67393
67394
67395
67396
67397
67398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67399 $as_echo_n "checking for sincos declaration... " >&6; }
67400 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67401 if ${glibcxx_cv_func_sincos_use+:} false; then :
67402 $as_echo_n "(cached) " >&6
67403 else
67404
67405
67406 ac_ext=cpp
67407 ac_cpp='$CXXCPP $CPPFLAGS'
67408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67411
67412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67413 /* end confdefs.h. */
67414 #include <math.h>
67415 int
67416 main ()
67417 {
67418 sincos(0, 0, 0);
67419 ;
67420 return 0;
67421 }
67422 _ACEOF
67423 if ac_fn_cxx_try_compile "$LINENO"; then :
67424 glibcxx_cv_func_sincos_use=yes
67425 else
67426 glibcxx_cv_func_sincos_use=no
67427 fi
67428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67429 ac_ext=c
67430 ac_cpp='$CPP $CPPFLAGS'
67431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67434
67435
67436 fi
67437
67438 fi
67439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67440 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67441
67442 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67443 for ac_func in sincos
67444 do :
67445 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67446 if test "x$ac_cv_func_sincos" = xyes; then :
67447 cat >>confdefs.h <<_ACEOF
67448 #define HAVE_SINCOS 1
67449 _ACEOF
67450
67451 fi
67452 done
67453
67454 else
67455
67456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67457 $as_echo_n "checking for _sincos declaration... " >&6; }
67458 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67459 if ${glibcxx_cv_func__sincos_use+:} false; then :
67460 $as_echo_n "(cached) " >&6
67461 else
67462
67463
67464 ac_ext=cpp
67465 ac_cpp='$CXXCPP $CPPFLAGS'
67466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67469
67470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67471 /* end confdefs.h. */
67472 #include <math.h>
67473 int
67474 main ()
67475 {
67476 _sincos(0, 0, 0);
67477 ;
67478 return 0;
67479 }
67480 _ACEOF
67481 if ac_fn_cxx_try_compile "$LINENO"; then :
67482 glibcxx_cv_func__sincos_use=yes
67483 else
67484 glibcxx_cv_func__sincos_use=no
67485 fi
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 ac_ext=c
67488 ac_cpp='$CPP $CPPFLAGS'
67489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67492
67493
67494 fi
67495
67496 fi
67497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67498 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67499
67500 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67501 for ac_func in _sincos
67502 do :
67503 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67504 if test "x$ac_cv_func__sincos" = xyes; then :
67505 cat >>confdefs.h <<_ACEOF
67506 #define HAVE__SINCOS 1
67507 _ACEOF
67508
67509 fi
67510 done
67511
67512 fi
67513 fi
67514
67515
67516
67517
67518
67519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67520 $as_echo_n "checking for fpclass declaration... " >&6; }
67521 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67522 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67523 $as_echo_n "(cached) " >&6
67524 else
67525
67526
67527 ac_ext=cpp
67528 ac_cpp='$CXXCPP $CPPFLAGS'
67529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67532
67533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67534 /* end confdefs.h. */
67535 #include <math.h>
67536 #ifdef HAVE_IEEEFP_H
67537 #include <ieeefp.h>
67538 #endif
67539
67540 int
67541 main ()
67542 {
67543 fpclass(0);
67544 ;
67545 return 0;
67546 }
67547 _ACEOF
67548 if ac_fn_cxx_try_compile "$LINENO"; then :
67549 glibcxx_cv_func_fpclass_use=yes
67550 else
67551 glibcxx_cv_func_fpclass_use=no
67552 fi
67553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67554 ac_ext=c
67555 ac_cpp='$CPP $CPPFLAGS'
67556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67559
67560
67561 fi
67562
67563 fi
67564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67565 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67566
67567 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67568 for ac_func in fpclass
67569 do :
67570 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67571 if test "x$ac_cv_func_fpclass" = xyes; then :
67572 cat >>confdefs.h <<_ACEOF
67573 #define HAVE_FPCLASS 1
67574 _ACEOF
67575
67576 fi
67577 done
67578
67579 else
67580
67581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67582 $as_echo_n "checking for _fpclass declaration... " >&6; }
67583 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67584 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67585 $as_echo_n "(cached) " >&6
67586 else
67587
67588
67589 ac_ext=cpp
67590 ac_cpp='$CXXCPP $CPPFLAGS'
67591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67594
67595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67596 /* end confdefs.h. */
67597 #include <math.h>
67598 #ifdef HAVE_IEEEFP_H
67599 #include <ieeefp.h>
67600 #endif
67601
67602 int
67603 main ()
67604 {
67605 _fpclass(0);
67606 ;
67607 return 0;
67608 }
67609 _ACEOF
67610 if ac_fn_cxx_try_compile "$LINENO"; then :
67611 glibcxx_cv_func__fpclass_use=yes
67612 else
67613 glibcxx_cv_func__fpclass_use=no
67614 fi
67615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67616 ac_ext=c
67617 ac_cpp='$CPP $CPPFLAGS'
67618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67621
67622
67623 fi
67624
67625 fi
67626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67627 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67628
67629 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67630 for ac_func in _fpclass
67631 do :
67632 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67633 if test "x$ac_cv_func__fpclass" = xyes; then :
67634 cat >>confdefs.h <<_ACEOF
67635 #define HAVE__FPCLASS 1
67636 _ACEOF
67637
67638 fi
67639 done
67640
67641 fi
67642 fi
67643
67644
67645
67646
67647
67648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67649 $as_echo_n "checking for qfpclass declaration... " >&6; }
67650 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67651 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67652 $as_echo_n "(cached) " >&6
67653 else
67654
67655
67656 ac_ext=cpp
67657 ac_cpp='$CXXCPP $CPPFLAGS'
67658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67661
67662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67663 /* end confdefs.h. */
67664 #include <math.h>
67665 #ifdef HAVE_IEEEFP_H
67666 #include <ieeefp.h>
67667 #endif
67668
67669 int
67670 main ()
67671 {
67672 qfpclass(0);
67673 ;
67674 return 0;
67675 }
67676 _ACEOF
67677 if ac_fn_cxx_try_compile "$LINENO"; then :
67678 glibcxx_cv_func_qfpclass_use=yes
67679 else
67680 glibcxx_cv_func_qfpclass_use=no
67681 fi
67682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67683 ac_ext=c
67684 ac_cpp='$CPP $CPPFLAGS'
67685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67688
67689
67690 fi
67691
67692 fi
67693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67694 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67695
67696 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67697 for ac_func in qfpclass
67698 do :
67699 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67700 if test "x$ac_cv_func_qfpclass" = xyes; then :
67701 cat >>confdefs.h <<_ACEOF
67702 #define HAVE_QFPCLASS 1
67703 _ACEOF
67704
67705 fi
67706 done
67707
67708 else
67709
67710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67711 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67712 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67713 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67714 $as_echo_n "(cached) " >&6
67715 else
67716
67717
67718 ac_ext=cpp
67719 ac_cpp='$CXXCPP $CPPFLAGS'
67720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67723
67724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67725 /* end confdefs.h. */
67726 #include <math.h>
67727 #ifdef HAVE_IEEEFP_H
67728 #include <ieeefp.h>
67729 #endif
67730
67731 int
67732 main ()
67733 {
67734 _qfpclass(0);
67735 ;
67736 return 0;
67737 }
67738 _ACEOF
67739 if ac_fn_cxx_try_compile "$LINENO"; then :
67740 glibcxx_cv_func__qfpclass_use=yes
67741 else
67742 glibcxx_cv_func__qfpclass_use=no
67743 fi
67744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67745 ac_ext=c
67746 ac_cpp='$CPP $CPPFLAGS'
67747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67750
67751
67752 fi
67753
67754 fi
67755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67756 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67757
67758 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67759 for ac_func in _qfpclass
67760 do :
67761 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67762 if test "x$ac_cv_func__qfpclass" = xyes; then :
67763 cat >>confdefs.h <<_ACEOF
67764 #define HAVE__QFPCLASS 1
67765 _ACEOF
67766
67767 fi
67768 done
67769
67770 fi
67771 fi
67772
67773
67774
67775
67776
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67778 $as_echo_n "checking for hypot declaration... " >&6; }
67779 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67780 if ${glibcxx_cv_func_hypot_use+:} false; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67783
67784
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67794 int
67795 main ()
67796 {
67797 hypot(0, 0);
67798 ;
67799 return 0;
67800 }
67801 _ACEOF
67802 if ac_fn_cxx_try_compile "$LINENO"; then :
67803 glibcxx_cv_func_hypot_use=yes
67804 else
67805 glibcxx_cv_func_hypot_use=no
67806 fi
67807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67808 ac_ext=c
67809 ac_cpp='$CPP $CPPFLAGS'
67810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67813
67814
67815 fi
67816
67817 fi
67818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67819 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67820
67821 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67822 for ac_func in hypot
67823 do :
67824 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67825 if test "x$ac_cv_func_hypot" = xyes; then :
67826 cat >>confdefs.h <<_ACEOF
67827 #define HAVE_HYPOT 1
67828 _ACEOF
67829
67830 fi
67831 done
67832
67833 else
67834
67835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67836 $as_echo_n "checking for _hypot declaration... " >&6; }
67837 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67838 if ${glibcxx_cv_func__hypot_use+:} false; then :
67839 $as_echo_n "(cached) " >&6
67840 else
67841
67842
67843 ac_ext=cpp
67844 ac_cpp='$CXXCPP $CPPFLAGS'
67845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67848
67849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67850 /* end confdefs.h. */
67851 #include <math.h>
67852 int
67853 main ()
67854 {
67855 _hypot(0, 0);
67856 ;
67857 return 0;
67858 }
67859 _ACEOF
67860 if ac_fn_cxx_try_compile "$LINENO"; then :
67861 glibcxx_cv_func__hypot_use=yes
67862 else
67863 glibcxx_cv_func__hypot_use=no
67864 fi
67865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67866 ac_ext=c
67867 ac_cpp='$CPP $CPPFLAGS'
67868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67871
67872
67873 fi
67874
67875 fi
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67877 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67878
67879 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67880 for ac_func in _hypot
67881 do :
67882 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67883 if test "x$ac_cv_func__hypot" = xyes; then :
67884 cat >>confdefs.h <<_ACEOF
67885 #define HAVE__HYPOT 1
67886 _ACEOF
67887
67888 fi
67889 done
67890
67891 fi
67892 fi
67893
67894
67895
67896
67897
67898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67899 $as_echo_n "checking for float trig functions... " >&6; }
67900 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67901 $as_echo_n "(cached) " >&6
67902 else
67903
67904
67905 ac_ext=cpp
67906 ac_cpp='$CXXCPP $CPPFLAGS'
67907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67910
67911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67912 /* end confdefs.h. */
67913 #include <math.h>
67914 int
67915 main ()
67916 {
67917 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67918 ;
67919 return 0;
67920 }
67921 _ACEOF
67922 if ac_fn_cxx_try_compile "$LINENO"; then :
67923 glibcxx_cv_func_float_trig_use=yes
67924 else
67925 glibcxx_cv_func_float_trig_use=no
67926 fi
67927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67928 ac_ext=c
67929 ac_cpp='$CPP $CPPFLAGS'
67930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67933
67934 fi
67935
67936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67937 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67938 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67939 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67940 do :
67941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67944 cat >>confdefs.h <<_ACEOF
67945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67946 _ACEOF
67947
67948 fi
67949 done
67950
67951 else
67952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67953 $as_echo_n "checking for _float trig functions... " >&6; }
67954 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67955 $as_echo_n "(cached) " >&6
67956 else
67957
67958
67959 ac_ext=cpp
67960 ac_cpp='$CXXCPP $CPPFLAGS'
67961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67964
67965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67966 /* end confdefs.h. */
67967 #include <math.h>
67968 int
67969 main ()
67970 {
67971 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67972 ;
67973 return 0;
67974 }
67975 _ACEOF
67976 if ac_fn_cxx_try_compile "$LINENO"; then :
67977 glibcxx_cv_func__float_trig_use=yes
67978 else
67979 glibcxx_cv_func__float_trig_use=no
67980 fi
67981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67982 ac_ext=c
67983 ac_cpp='$CPP $CPPFLAGS'
67984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67987
67988 fi
67989
67990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67991 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67992 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67993 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67994 do :
67995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67998 cat >>confdefs.h <<_ACEOF
67999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68000 _ACEOF
68001
68002 fi
68003 done
68004
68005 fi
68006 fi
68007
68008
68009
68010
68011
68012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68013 $as_echo_n "checking for float round functions... " >&6; }
68014 if ${glibcxx_cv_func_float_round_use+:} false; then :
68015 $as_echo_n "(cached) " >&6
68016 else
68017
68018
68019 ac_ext=cpp
68020 ac_cpp='$CXXCPP $CPPFLAGS'
68021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68024
68025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68026 /* end confdefs.h. */
68027 #include <math.h>
68028 int
68029 main ()
68030 {
68031 ceilf (0); floorf (0);
68032 ;
68033 return 0;
68034 }
68035 _ACEOF
68036 if ac_fn_cxx_try_compile "$LINENO"; then :
68037 glibcxx_cv_func_float_round_use=yes
68038 else
68039 glibcxx_cv_func_float_round_use=no
68040 fi
68041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68042 ac_ext=c
68043 ac_cpp='$CPP $CPPFLAGS'
68044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68047
68048 fi
68049
68050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68051 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68052 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68053 for ac_func in ceilf floorf
68054 do :
68055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68058 cat >>confdefs.h <<_ACEOF
68059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68060 _ACEOF
68061
68062 fi
68063 done
68064
68065 else
68066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68067 $as_echo_n "checking for _float round functions... " >&6; }
68068 if ${glibcxx_cv_func__float_round_use+:} false; then :
68069 $as_echo_n "(cached) " >&6
68070 else
68071
68072
68073 ac_ext=cpp
68074 ac_cpp='$CXXCPP $CPPFLAGS'
68075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68078
68079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68080 /* end confdefs.h. */
68081 #include <math.h>
68082 int
68083 main ()
68084 {
68085 _ceilf (0); _floorf (0);
68086 ;
68087 return 0;
68088 }
68089 _ACEOF
68090 if ac_fn_cxx_try_compile "$LINENO"; then :
68091 glibcxx_cv_func__float_round_use=yes
68092 else
68093 glibcxx_cv_func__float_round_use=no
68094 fi
68095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68096 ac_ext=c
68097 ac_cpp='$CPP $CPPFLAGS'
68098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68101
68102 fi
68103
68104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68105 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68106 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68107 for ac_func in _ceilf _floorf
68108 do :
68109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68112 cat >>confdefs.h <<_ACEOF
68113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68114 _ACEOF
68115
68116 fi
68117 done
68118
68119 fi
68120 fi
68121
68122
68123
68124
68125
68126
68127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68128 $as_echo_n "checking for expf declaration... " >&6; }
68129 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68130 if ${glibcxx_cv_func_expf_use+:} false; then :
68131 $as_echo_n "(cached) " >&6
68132 else
68133
68134
68135 ac_ext=cpp
68136 ac_cpp='$CXXCPP $CPPFLAGS'
68137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68140
68141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68142 /* end confdefs.h. */
68143 #include <math.h>
68144 #ifdef HAVE_IEEEFP_H
68145 #include <ieeefp.h>
68146 #endif
68147
68148 int
68149 main ()
68150 {
68151 expf(0);
68152 ;
68153 return 0;
68154 }
68155 _ACEOF
68156 if ac_fn_cxx_try_compile "$LINENO"; then :
68157 glibcxx_cv_func_expf_use=yes
68158 else
68159 glibcxx_cv_func_expf_use=no
68160 fi
68161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68162 ac_ext=c
68163 ac_cpp='$CPP $CPPFLAGS'
68164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68167
68168
68169 fi
68170
68171 fi
68172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68173 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68174
68175 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68176 for ac_func in expf
68177 do :
68178 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68179 if test "x$ac_cv_func_expf" = xyes; then :
68180 cat >>confdefs.h <<_ACEOF
68181 #define HAVE_EXPF 1
68182 _ACEOF
68183
68184 fi
68185 done
68186
68187 else
68188
68189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68190 $as_echo_n "checking for _expf declaration... " >&6; }
68191 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68192 if ${glibcxx_cv_func__expf_use+:} false; then :
68193 $as_echo_n "(cached) " >&6
68194 else
68195
68196
68197 ac_ext=cpp
68198 ac_cpp='$CXXCPP $CPPFLAGS'
68199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68202
68203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68204 /* end confdefs.h. */
68205 #include <math.h>
68206 #ifdef HAVE_IEEEFP_H
68207 #include <ieeefp.h>
68208 #endif
68209
68210 int
68211 main ()
68212 {
68213 _expf(0);
68214 ;
68215 return 0;
68216 }
68217 _ACEOF
68218 if ac_fn_cxx_try_compile "$LINENO"; then :
68219 glibcxx_cv_func__expf_use=yes
68220 else
68221 glibcxx_cv_func__expf_use=no
68222 fi
68223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68224 ac_ext=c
68225 ac_cpp='$CPP $CPPFLAGS'
68226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68229
68230
68231 fi
68232
68233 fi
68234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68235 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68236
68237 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68238 for ac_func in _expf
68239 do :
68240 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68241 if test "x$ac_cv_func__expf" = xyes; then :
68242 cat >>confdefs.h <<_ACEOF
68243 #define HAVE__EXPF 1
68244 _ACEOF
68245
68246 fi
68247 done
68248
68249 fi
68250 fi
68251
68252
68253
68254
68255
68256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68257 $as_echo_n "checking for isnanf declaration... " >&6; }
68258 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68259 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68260 $as_echo_n "(cached) " >&6
68261 else
68262
68263
68264 ac_ext=cpp
68265 ac_cpp='$CXXCPP $CPPFLAGS'
68266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68269
68270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68271 /* end confdefs.h. */
68272 #include <math.h>
68273 #ifdef HAVE_IEEEFP_H
68274 #include <ieeefp.h>
68275 #endif
68276
68277 int
68278 main ()
68279 {
68280 isnanf(0);
68281 ;
68282 return 0;
68283 }
68284 _ACEOF
68285 if ac_fn_cxx_try_compile "$LINENO"; then :
68286 glibcxx_cv_func_isnanf_use=yes
68287 else
68288 glibcxx_cv_func_isnanf_use=no
68289 fi
68290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68291 ac_ext=c
68292 ac_cpp='$CPP $CPPFLAGS'
68293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68296
68297
68298 fi
68299
68300 fi
68301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68302 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68303
68304 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68305 for ac_func in isnanf
68306 do :
68307 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68308 if test "x$ac_cv_func_isnanf" = xyes; then :
68309 cat >>confdefs.h <<_ACEOF
68310 #define HAVE_ISNANF 1
68311 _ACEOF
68312
68313 fi
68314 done
68315
68316 else
68317
68318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68319 $as_echo_n "checking for _isnanf declaration... " >&6; }
68320 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68321 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68322 $as_echo_n "(cached) " >&6
68323 else
68324
68325
68326 ac_ext=cpp
68327 ac_cpp='$CXXCPP $CPPFLAGS'
68328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68331
68332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68333 /* end confdefs.h. */
68334 #include <math.h>
68335 #ifdef HAVE_IEEEFP_H
68336 #include <ieeefp.h>
68337 #endif
68338
68339 int
68340 main ()
68341 {
68342 _isnanf(0);
68343 ;
68344 return 0;
68345 }
68346 _ACEOF
68347 if ac_fn_cxx_try_compile "$LINENO"; then :
68348 glibcxx_cv_func__isnanf_use=yes
68349 else
68350 glibcxx_cv_func__isnanf_use=no
68351 fi
68352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68353 ac_ext=c
68354 ac_cpp='$CPP $CPPFLAGS'
68355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68358
68359
68360 fi
68361
68362 fi
68363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68364 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68365
68366 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68367 for ac_func in _isnanf
68368 do :
68369 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68370 if test "x$ac_cv_func__isnanf" = xyes; then :
68371 cat >>confdefs.h <<_ACEOF
68372 #define HAVE__ISNANF 1
68373 _ACEOF
68374
68375 fi
68376 done
68377
68378 fi
68379 fi
68380
68381
68382
68383
68384
68385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68386 $as_echo_n "checking for isinff declaration... " >&6; }
68387 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68388 if ${glibcxx_cv_func_isinff_use+:} false; then :
68389 $as_echo_n "(cached) " >&6
68390 else
68391
68392
68393 ac_ext=cpp
68394 ac_cpp='$CXXCPP $CPPFLAGS'
68395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68398
68399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68400 /* end confdefs.h. */
68401 #include <math.h>
68402 #ifdef HAVE_IEEEFP_H
68403 #include <ieeefp.h>
68404 #endif
68405
68406 int
68407 main ()
68408 {
68409 isinff(0);
68410 ;
68411 return 0;
68412 }
68413 _ACEOF
68414 if ac_fn_cxx_try_compile "$LINENO"; then :
68415 glibcxx_cv_func_isinff_use=yes
68416 else
68417 glibcxx_cv_func_isinff_use=no
68418 fi
68419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68420 ac_ext=c
68421 ac_cpp='$CPP $CPPFLAGS'
68422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68425
68426
68427 fi
68428
68429 fi
68430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68431 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68432
68433 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68434 for ac_func in isinff
68435 do :
68436 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68437 if test "x$ac_cv_func_isinff" = xyes; then :
68438 cat >>confdefs.h <<_ACEOF
68439 #define HAVE_ISINFF 1
68440 _ACEOF
68441
68442 fi
68443 done
68444
68445 else
68446
68447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68448 $as_echo_n "checking for _isinff declaration... " >&6; }
68449 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68450 if ${glibcxx_cv_func__isinff_use+:} false; then :
68451 $as_echo_n "(cached) " >&6
68452 else
68453
68454
68455 ac_ext=cpp
68456 ac_cpp='$CXXCPP $CPPFLAGS'
68457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68460
68461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68462 /* end confdefs.h. */
68463 #include <math.h>
68464 #ifdef HAVE_IEEEFP_H
68465 #include <ieeefp.h>
68466 #endif
68467
68468 int
68469 main ()
68470 {
68471 _isinff(0);
68472 ;
68473 return 0;
68474 }
68475 _ACEOF
68476 if ac_fn_cxx_try_compile "$LINENO"; then :
68477 glibcxx_cv_func__isinff_use=yes
68478 else
68479 glibcxx_cv_func__isinff_use=no
68480 fi
68481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68482 ac_ext=c
68483 ac_cpp='$CPP $CPPFLAGS'
68484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68487
68488
68489 fi
68490
68491 fi
68492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68493 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68494
68495 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68496 for ac_func in _isinff
68497 do :
68498 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68499 if test "x$ac_cv_func__isinff" = xyes; then :
68500 cat >>confdefs.h <<_ACEOF
68501 #define HAVE__ISINFF 1
68502 _ACEOF
68503
68504 fi
68505 done
68506
68507 fi
68508 fi
68509
68510
68511
68512
68513
68514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68515 $as_echo_n "checking for atan2f declaration... " >&6; }
68516 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68517 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68518 $as_echo_n "(cached) " >&6
68519 else
68520
68521
68522 ac_ext=cpp
68523 ac_cpp='$CXXCPP $CPPFLAGS'
68524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68527
68528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68529 /* end confdefs.h. */
68530 #include <math.h>
68531 int
68532 main ()
68533 {
68534 atan2f(0, 0);
68535 ;
68536 return 0;
68537 }
68538 _ACEOF
68539 if ac_fn_cxx_try_compile "$LINENO"; then :
68540 glibcxx_cv_func_atan2f_use=yes
68541 else
68542 glibcxx_cv_func_atan2f_use=no
68543 fi
68544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68545 ac_ext=c
68546 ac_cpp='$CPP $CPPFLAGS'
68547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68550
68551
68552 fi
68553
68554 fi
68555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68556 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68557
68558 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68559 for ac_func in atan2f
68560 do :
68561 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68562 if test "x$ac_cv_func_atan2f" = xyes; then :
68563 cat >>confdefs.h <<_ACEOF
68564 #define HAVE_ATAN2F 1
68565 _ACEOF
68566
68567 fi
68568 done
68569
68570 else
68571
68572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68573 $as_echo_n "checking for _atan2f declaration... " >&6; }
68574 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68575 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68576 $as_echo_n "(cached) " >&6
68577 else
68578
68579
68580 ac_ext=cpp
68581 ac_cpp='$CXXCPP $CPPFLAGS'
68582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68585
68586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68587 /* end confdefs.h. */
68588 #include <math.h>
68589 int
68590 main ()
68591 {
68592 _atan2f(0, 0);
68593 ;
68594 return 0;
68595 }
68596 _ACEOF
68597 if ac_fn_cxx_try_compile "$LINENO"; then :
68598 glibcxx_cv_func__atan2f_use=yes
68599 else
68600 glibcxx_cv_func__atan2f_use=no
68601 fi
68602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68603 ac_ext=c
68604 ac_cpp='$CPP $CPPFLAGS'
68605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68608
68609
68610 fi
68611
68612 fi
68613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68614 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68615
68616 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68617 for ac_func in _atan2f
68618 do :
68619 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68620 if test "x$ac_cv_func__atan2f" = xyes; then :
68621 cat >>confdefs.h <<_ACEOF
68622 #define HAVE__ATAN2F 1
68623 _ACEOF
68624
68625 fi
68626 done
68627
68628 fi
68629 fi
68630
68631
68632
68633
68634
68635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68636 $as_echo_n "checking for fabsf declaration... " >&6; }
68637 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68638 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68639 $as_echo_n "(cached) " >&6
68640 else
68641
68642
68643 ac_ext=cpp
68644 ac_cpp='$CXXCPP $CPPFLAGS'
68645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68648
68649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68650 /* end confdefs.h. */
68651 #include <math.h>
68652 #ifdef HAVE_IEEEFP_H
68653 #include <ieeefp.h>
68654 #endif
68655
68656 int
68657 main ()
68658 {
68659 fabsf(0);
68660 ;
68661 return 0;
68662 }
68663 _ACEOF
68664 if ac_fn_cxx_try_compile "$LINENO"; then :
68665 glibcxx_cv_func_fabsf_use=yes
68666 else
68667 glibcxx_cv_func_fabsf_use=no
68668 fi
68669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68670 ac_ext=c
68671 ac_cpp='$CPP $CPPFLAGS'
68672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68675
68676
68677 fi
68678
68679 fi
68680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68681 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68682
68683 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68684 for ac_func in fabsf
68685 do :
68686 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68687 if test "x$ac_cv_func_fabsf" = xyes; then :
68688 cat >>confdefs.h <<_ACEOF
68689 #define HAVE_FABSF 1
68690 _ACEOF
68691
68692 fi
68693 done
68694
68695 else
68696
68697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68698 $as_echo_n "checking for _fabsf declaration... " >&6; }
68699 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68700 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68701 $as_echo_n "(cached) " >&6
68702 else
68703
68704
68705 ac_ext=cpp
68706 ac_cpp='$CXXCPP $CPPFLAGS'
68707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68710
68711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68712 /* end confdefs.h. */
68713 #include <math.h>
68714 #ifdef HAVE_IEEEFP_H
68715 #include <ieeefp.h>
68716 #endif
68717
68718 int
68719 main ()
68720 {
68721 _fabsf(0);
68722 ;
68723 return 0;
68724 }
68725 _ACEOF
68726 if ac_fn_cxx_try_compile "$LINENO"; then :
68727 glibcxx_cv_func__fabsf_use=yes
68728 else
68729 glibcxx_cv_func__fabsf_use=no
68730 fi
68731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68732 ac_ext=c
68733 ac_cpp='$CPP $CPPFLAGS'
68734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68737
68738
68739 fi
68740
68741 fi
68742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68743 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68744
68745 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68746 for ac_func in _fabsf
68747 do :
68748 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68749 if test "x$ac_cv_func__fabsf" = xyes; then :
68750 cat >>confdefs.h <<_ACEOF
68751 #define HAVE__FABSF 1
68752 _ACEOF
68753
68754 fi
68755 done
68756
68757 fi
68758 fi
68759
68760
68761
68762
68763
68764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68765 $as_echo_n "checking for fmodf declaration... " >&6; }
68766 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68767 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68768 $as_echo_n "(cached) " >&6
68769 else
68770
68771
68772 ac_ext=cpp
68773 ac_cpp='$CXXCPP $CPPFLAGS'
68774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68777
68778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68779 /* end confdefs.h. */
68780 #include <math.h>
68781 int
68782 main ()
68783 {
68784 fmodf(0, 0);
68785 ;
68786 return 0;
68787 }
68788 _ACEOF
68789 if ac_fn_cxx_try_compile "$LINENO"; then :
68790 glibcxx_cv_func_fmodf_use=yes
68791 else
68792 glibcxx_cv_func_fmodf_use=no
68793 fi
68794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68795 ac_ext=c
68796 ac_cpp='$CPP $CPPFLAGS'
68797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68800
68801
68802 fi
68803
68804 fi
68805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68806 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68807
68808 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68809 for ac_func in fmodf
68810 do :
68811 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68812 if test "x$ac_cv_func_fmodf" = xyes; then :
68813 cat >>confdefs.h <<_ACEOF
68814 #define HAVE_FMODF 1
68815 _ACEOF
68816
68817 fi
68818 done
68819
68820 else
68821
68822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68823 $as_echo_n "checking for _fmodf declaration... " >&6; }
68824 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68825 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68826 $as_echo_n "(cached) " >&6
68827 else
68828
68829
68830 ac_ext=cpp
68831 ac_cpp='$CXXCPP $CPPFLAGS'
68832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68835
68836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68837 /* end confdefs.h. */
68838 #include <math.h>
68839 int
68840 main ()
68841 {
68842 _fmodf(0, 0);
68843 ;
68844 return 0;
68845 }
68846 _ACEOF
68847 if ac_fn_cxx_try_compile "$LINENO"; then :
68848 glibcxx_cv_func__fmodf_use=yes
68849 else
68850 glibcxx_cv_func__fmodf_use=no
68851 fi
68852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68853 ac_ext=c
68854 ac_cpp='$CPP $CPPFLAGS'
68855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68858
68859
68860 fi
68861
68862 fi
68863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68864 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68865
68866 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68867 for ac_func in _fmodf
68868 do :
68869 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68870 if test "x$ac_cv_func__fmodf" = xyes; then :
68871 cat >>confdefs.h <<_ACEOF
68872 #define HAVE__FMODF 1
68873 _ACEOF
68874
68875 fi
68876 done
68877
68878 fi
68879 fi
68880
68881
68882
68883
68884
68885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68886 $as_echo_n "checking for frexpf declaration... " >&6; }
68887 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68888 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68889 $as_echo_n "(cached) " >&6
68890 else
68891
68892
68893 ac_ext=cpp
68894 ac_cpp='$CXXCPP $CPPFLAGS'
68895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68898
68899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68900 /* end confdefs.h. */
68901 #include <math.h>
68902 int
68903 main ()
68904 {
68905 frexpf(0, 0);
68906 ;
68907 return 0;
68908 }
68909 _ACEOF
68910 if ac_fn_cxx_try_compile "$LINENO"; then :
68911 glibcxx_cv_func_frexpf_use=yes
68912 else
68913 glibcxx_cv_func_frexpf_use=no
68914 fi
68915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68916 ac_ext=c
68917 ac_cpp='$CPP $CPPFLAGS'
68918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68921
68922
68923 fi
68924
68925 fi
68926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68927 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68928
68929 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68930 for ac_func in frexpf
68931 do :
68932 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68933 if test "x$ac_cv_func_frexpf" = xyes; then :
68934 cat >>confdefs.h <<_ACEOF
68935 #define HAVE_FREXPF 1
68936 _ACEOF
68937
68938 fi
68939 done
68940
68941 else
68942
68943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68944 $as_echo_n "checking for _frexpf declaration... " >&6; }
68945 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68946 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68947 $as_echo_n "(cached) " >&6
68948 else
68949
68950
68951 ac_ext=cpp
68952 ac_cpp='$CXXCPP $CPPFLAGS'
68953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68956
68957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68958 /* end confdefs.h. */
68959 #include <math.h>
68960 int
68961 main ()
68962 {
68963 _frexpf(0, 0);
68964 ;
68965 return 0;
68966 }
68967 _ACEOF
68968 if ac_fn_cxx_try_compile "$LINENO"; then :
68969 glibcxx_cv_func__frexpf_use=yes
68970 else
68971 glibcxx_cv_func__frexpf_use=no
68972 fi
68973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68974 ac_ext=c
68975 ac_cpp='$CPP $CPPFLAGS'
68976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68979
68980
68981 fi
68982
68983 fi
68984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68985 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68986
68987 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68988 for ac_func in _frexpf
68989 do :
68990 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68991 if test "x$ac_cv_func__frexpf" = xyes; then :
68992 cat >>confdefs.h <<_ACEOF
68993 #define HAVE__FREXPF 1
68994 _ACEOF
68995
68996 fi
68997 done
68998
68999 fi
69000 fi
69001
69002
69003
69004
69005
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69007 $as_echo_n "checking for hypotf declaration... " >&6; }
69008 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69009 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69010 $as_echo_n "(cached) " >&6
69011 else
69012
69013
69014 ac_ext=cpp
69015 ac_cpp='$CXXCPP $CPPFLAGS'
69016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69019
69020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69021 /* end confdefs.h. */
69022 #include <math.h>
69023 int
69024 main ()
69025 {
69026 hypotf(0, 0);
69027 ;
69028 return 0;
69029 }
69030 _ACEOF
69031 if ac_fn_cxx_try_compile "$LINENO"; then :
69032 glibcxx_cv_func_hypotf_use=yes
69033 else
69034 glibcxx_cv_func_hypotf_use=no
69035 fi
69036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69037 ac_ext=c
69038 ac_cpp='$CPP $CPPFLAGS'
69039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69042
69043
69044 fi
69045
69046 fi
69047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69048 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69049
69050 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69051 for ac_func in hypotf
69052 do :
69053 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69054 if test "x$ac_cv_func_hypotf" = xyes; then :
69055 cat >>confdefs.h <<_ACEOF
69056 #define HAVE_HYPOTF 1
69057 _ACEOF
69058
69059 fi
69060 done
69061
69062 else
69063
69064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69065 $as_echo_n "checking for _hypotf declaration... " >&6; }
69066 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69067 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69068 $as_echo_n "(cached) " >&6
69069 else
69070
69071
69072 ac_ext=cpp
69073 ac_cpp='$CXXCPP $CPPFLAGS'
69074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69077
69078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69079 /* end confdefs.h. */
69080 #include <math.h>
69081 int
69082 main ()
69083 {
69084 _hypotf(0, 0);
69085 ;
69086 return 0;
69087 }
69088 _ACEOF
69089 if ac_fn_cxx_try_compile "$LINENO"; then :
69090 glibcxx_cv_func__hypotf_use=yes
69091 else
69092 glibcxx_cv_func__hypotf_use=no
69093 fi
69094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69095 ac_ext=c
69096 ac_cpp='$CPP $CPPFLAGS'
69097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69100
69101
69102 fi
69103
69104 fi
69105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69106 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69107
69108 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69109 for ac_func in _hypotf
69110 do :
69111 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69112 if test "x$ac_cv_func__hypotf" = xyes; then :
69113 cat >>confdefs.h <<_ACEOF
69114 #define HAVE__HYPOTF 1
69115 _ACEOF
69116
69117 fi
69118 done
69119
69120 fi
69121 fi
69122
69123
69124
69125
69126
69127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69128 $as_echo_n "checking for ldexpf declaration... " >&6; }
69129 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69130 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69131 $as_echo_n "(cached) " >&6
69132 else
69133
69134
69135 ac_ext=cpp
69136 ac_cpp='$CXXCPP $CPPFLAGS'
69137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69140
69141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69142 /* end confdefs.h. */
69143 #include <math.h>
69144 int
69145 main ()
69146 {
69147 ldexpf(0, 0);
69148 ;
69149 return 0;
69150 }
69151 _ACEOF
69152 if ac_fn_cxx_try_compile "$LINENO"; then :
69153 glibcxx_cv_func_ldexpf_use=yes
69154 else
69155 glibcxx_cv_func_ldexpf_use=no
69156 fi
69157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69158 ac_ext=c
69159 ac_cpp='$CPP $CPPFLAGS'
69160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69163
69164
69165 fi
69166
69167 fi
69168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69169 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69170
69171 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69172 for ac_func in ldexpf
69173 do :
69174 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69175 if test "x$ac_cv_func_ldexpf" = xyes; then :
69176 cat >>confdefs.h <<_ACEOF
69177 #define HAVE_LDEXPF 1
69178 _ACEOF
69179
69180 fi
69181 done
69182
69183 else
69184
69185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69186 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69187 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69188 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69189 $as_echo_n "(cached) " >&6
69190 else
69191
69192
69193 ac_ext=cpp
69194 ac_cpp='$CXXCPP $CPPFLAGS'
69195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69198
69199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69200 /* end confdefs.h. */
69201 #include <math.h>
69202 int
69203 main ()
69204 {
69205 _ldexpf(0, 0);
69206 ;
69207 return 0;
69208 }
69209 _ACEOF
69210 if ac_fn_cxx_try_compile "$LINENO"; then :
69211 glibcxx_cv_func__ldexpf_use=yes
69212 else
69213 glibcxx_cv_func__ldexpf_use=no
69214 fi
69215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69216 ac_ext=c
69217 ac_cpp='$CPP $CPPFLAGS'
69218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69221
69222
69223 fi
69224
69225 fi
69226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69227 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69228
69229 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69230 for ac_func in _ldexpf
69231 do :
69232 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69233 if test "x$ac_cv_func__ldexpf" = xyes; then :
69234 cat >>confdefs.h <<_ACEOF
69235 #define HAVE__LDEXPF 1
69236 _ACEOF
69237
69238 fi
69239 done
69240
69241 fi
69242 fi
69243
69244
69245
69246
69247
69248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69249 $as_echo_n "checking for logf declaration... " >&6; }
69250 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69251 if ${glibcxx_cv_func_logf_use+:} false; then :
69252 $as_echo_n "(cached) " >&6
69253 else
69254
69255
69256 ac_ext=cpp
69257 ac_cpp='$CXXCPP $CPPFLAGS'
69258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69261
69262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69263 /* end confdefs.h. */
69264 #include <math.h>
69265 #ifdef HAVE_IEEEFP_H
69266 #include <ieeefp.h>
69267 #endif
69268
69269 int
69270 main ()
69271 {
69272 logf(0);
69273 ;
69274 return 0;
69275 }
69276 _ACEOF
69277 if ac_fn_cxx_try_compile "$LINENO"; then :
69278 glibcxx_cv_func_logf_use=yes
69279 else
69280 glibcxx_cv_func_logf_use=no
69281 fi
69282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69283 ac_ext=c
69284 ac_cpp='$CPP $CPPFLAGS'
69285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69288
69289
69290 fi
69291
69292 fi
69293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69294 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69295
69296 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69297 for ac_func in logf
69298 do :
69299 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69300 if test "x$ac_cv_func_logf" = xyes; then :
69301 cat >>confdefs.h <<_ACEOF
69302 #define HAVE_LOGF 1
69303 _ACEOF
69304
69305 fi
69306 done
69307
69308 else
69309
69310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69311 $as_echo_n "checking for _logf declaration... " >&6; }
69312 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69313 if ${glibcxx_cv_func__logf_use+:} false; then :
69314 $as_echo_n "(cached) " >&6
69315 else
69316
69317
69318 ac_ext=cpp
69319 ac_cpp='$CXXCPP $CPPFLAGS'
69320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69323
69324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69325 /* end confdefs.h. */
69326 #include <math.h>
69327 #ifdef HAVE_IEEEFP_H
69328 #include <ieeefp.h>
69329 #endif
69330
69331 int
69332 main ()
69333 {
69334 _logf(0);
69335 ;
69336 return 0;
69337 }
69338 _ACEOF
69339 if ac_fn_cxx_try_compile "$LINENO"; then :
69340 glibcxx_cv_func__logf_use=yes
69341 else
69342 glibcxx_cv_func__logf_use=no
69343 fi
69344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69345 ac_ext=c
69346 ac_cpp='$CPP $CPPFLAGS'
69347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69350
69351
69352 fi
69353
69354 fi
69355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69356 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69357
69358 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69359 for ac_func in _logf
69360 do :
69361 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69362 if test "x$ac_cv_func__logf" = xyes; then :
69363 cat >>confdefs.h <<_ACEOF
69364 #define HAVE__LOGF 1
69365 _ACEOF
69366
69367 fi
69368 done
69369
69370 fi
69371 fi
69372
69373
69374
69375
69376
69377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69378 $as_echo_n "checking for log10f declaration... " >&6; }
69379 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69380 if ${glibcxx_cv_func_log10f_use+:} false; then :
69381 $as_echo_n "(cached) " >&6
69382 else
69383
69384
69385 ac_ext=cpp
69386 ac_cpp='$CXXCPP $CPPFLAGS'
69387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69390
69391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69392 /* end confdefs.h. */
69393 #include <math.h>
69394 #ifdef HAVE_IEEEFP_H
69395 #include <ieeefp.h>
69396 #endif
69397
69398 int
69399 main ()
69400 {
69401 log10f(0);
69402 ;
69403 return 0;
69404 }
69405 _ACEOF
69406 if ac_fn_cxx_try_compile "$LINENO"; then :
69407 glibcxx_cv_func_log10f_use=yes
69408 else
69409 glibcxx_cv_func_log10f_use=no
69410 fi
69411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69412 ac_ext=c
69413 ac_cpp='$CPP $CPPFLAGS'
69414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69417
69418
69419 fi
69420
69421 fi
69422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69423 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69424
69425 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69426 for ac_func in log10f
69427 do :
69428 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69429 if test "x$ac_cv_func_log10f" = xyes; then :
69430 cat >>confdefs.h <<_ACEOF
69431 #define HAVE_LOG10F 1
69432 _ACEOF
69433
69434 fi
69435 done
69436
69437 else
69438
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69440 $as_echo_n "checking for _log10f declaration... " >&6; }
69441 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69442 if ${glibcxx_cv_func__log10f_use+:} false; then :
69443 $as_echo_n "(cached) " >&6
69444 else
69445
69446
69447 ac_ext=cpp
69448 ac_cpp='$CXXCPP $CPPFLAGS'
69449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69452
69453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69454 /* end confdefs.h. */
69455 #include <math.h>
69456 #ifdef HAVE_IEEEFP_H
69457 #include <ieeefp.h>
69458 #endif
69459
69460 int
69461 main ()
69462 {
69463 _log10f(0);
69464 ;
69465 return 0;
69466 }
69467 _ACEOF
69468 if ac_fn_cxx_try_compile "$LINENO"; then :
69469 glibcxx_cv_func__log10f_use=yes
69470 else
69471 glibcxx_cv_func__log10f_use=no
69472 fi
69473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69474 ac_ext=c
69475 ac_cpp='$CPP $CPPFLAGS'
69476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69479
69480
69481 fi
69482
69483 fi
69484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69485 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69486
69487 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69488 for ac_func in _log10f
69489 do :
69490 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69491 if test "x$ac_cv_func__log10f" = xyes; then :
69492 cat >>confdefs.h <<_ACEOF
69493 #define HAVE__LOG10F 1
69494 _ACEOF
69495
69496 fi
69497 done
69498
69499 fi
69500 fi
69501
69502
69503
69504
69505
69506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69507 $as_echo_n "checking for modff declaration... " >&6; }
69508 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69509 if ${glibcxx_cv_func_modff_use+:} false; then :
69510 $as_echo_n "(cached) " >&6
69511 else
69512
69513
69514 ac_ext=cpp
69515 ac_cpp='$CXXCPP $CPPFLAGS'
69516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69519
69520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69521 /* end confdefs.h. */
69522 #include <math.h>
69523 int
69524 main ()
69525 {
69526 modff(0, 0);
69527 ;
69528 return 0;
69529 }
69530 _ACEOF
69531 if ac_fn_cxx_try_compile "$LINENO"; then :
69532 glibcxx_cv_func_modff_use=yes
69533 else
69534 glibcxx_cv_func_modff_use=no
69535 fi
69536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69537 ac_ext=c
69538 ac_cpp='$CPP $CPPFLAGS'
69539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69542
69543
69544 fi
69545
69546 fi
69547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69548 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69549
69550 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69551 for ac_func in modff
69552 do :
69553 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69554 if test "x$ac_cv_func_modff" = xyes; then :
69555 cat >>confdefs.h <<_ACEOF
69556 #define HAVE_MODFF 1
69557 _ACEOF
69558
69559 fi
69560 done
69561
69562 else
69563
69564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69565 $as_echo_n "checking for _modff declaration... " >&6; }
69566 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69567 if ${glibcxx_cv_func__modff_use+:} false; then :
69568 $as_echo_n "(cached) " >&6
69569 else
69570
69571
69572 ac_ext=cpp
69573 ac_cpp='$CXXCPP $CPPFLAGS'
69574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69577
69578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69579 /* end confdefs.h. */
69580 #include <math.h>
69581 int
69582 main ()
69583 {
69584 _modff(0, 0);
69585 ;
69586 return 0;
69587 }
69588 _ACEOF
69589 if ac_fn_cxx_try_compile "$LINENO"; then :
69590 glibcxx_cv_func__modff_use=yes
69591 else
69592 glibcxx_cv_func__modff_use=no
69593 fi
69594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69595 ac_ext=c
69596 ac_cpp='$CPP $CPPFLAGS'
69597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69600
69601
69602 fi
69603
69604 fi
69605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69606 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69607
69608 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69609 for ac_func in _modff
69610 do :
69611 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69612 if test "x$ac_cv_func__modff" = xyes; then :
69613 cat >>confdefs.h <<_ACEOF
69614 #define HAVE__MODFF 1
69615 _ACEOF
69616
69617 fi
69618 done
69619
69620 fi
69621 fi
69622
69623
69624
69625
69626
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69628 $as_echo_n "checking for modf declaration... " >&6; }
69629 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69630 if ${glibcxx_cv_func_modf_use+:} false; then :
69631 $as_echo_n "(cached) " >&6
69632 else
69633
69634
69635 ac_ext=cpp
69636 ac_cpp='$CXXCPP $CPPFLAGS'
69637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69640
69641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69642 /* end confdefs.h. */
69643 #include <math.h>
69644 int
69645 main ()
69646 {
69647 modf(0, 0);
69648 ;
69649 return 0;
69650 }
69651 _ACEOF
69652 if ac_fn_cxx_try_compile "$LINENO"; then :
69653 glibcxx_cv_func_modf_use=yes
69654 else
69655 glibcxx_cv_func_modf_use=no
69656 fi
69657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69658 ac_ext=c
69659 ac_cpp='$CPP $CPPFLAGS'
69660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69663
69664
69665 fi
69666
69667 fi
69668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69669 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69670
69671 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69672 for ac_func in modf
69673 do :
69674 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69675 if test "x$ac_cv_func_modf" = xyes; then :
69676 cat >>confdefs.h <<_ACEOF
69677 #define HAVE_MODF 1
69678 _ACEOF
69679
69680 fi
69681 done
69682
69683 else
69684
69685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69686 $as_echo_n "checking for _modf declaration... " >&6; }
69687 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69688 if ${glibcxx_cv_func__modf_use+:} false; then :
69689 $as_echo_n "(cached) " >&6
69690 else
69691
69692
69693 ac_ext=cpp
69694 ac_cpp='$CXXCPP $CPPFLAGS'
69695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69698
69699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69700 /* end confdefs.h. */
69701 #include <math.h>
69702 int
69703 main ()
69704 {
69705 _modf(0, 0);
69706 ;
69707 return 0;
69708 }
69709 _ACEOF
69710 if ac_fn_cxx_try_compile "$LINENO"; then :
69711 glibcxx_cv_func__modf_use=yes
69712 else
69713 glibcxx_cv_func__modf_use=no
69714 fi
69715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69716 ac_ext=c
69717 ac_cpp='$CPP $CPPFLAGS'
69718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69721
69722
69723 fi
69724
69725 fi
69726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69727 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69728
69729 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69730 for ac_func in _modf
69731 do :
69732 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69733 if test "x$ac_cv_func__modf" = xyes; then :
69734 cat >>confdefs.h <<_ACEOF
69735 #define HAVE__MODF 1
69736 _ACEOF
69737
69738 fi
69739 done
69740
69741 fi
69742 fi
69743
69744
69745
69746
69747
69748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69749 $as_echo_n "checking for powf declaration... " >&6; }
69750 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69751 if ${glibcxx_cv_func_powf_use+:} false; then :
69752 $as_echo_n "(cached) " >&6
69753 else
69754
69755
69756 ac_ext=cpp
69757 ac_cpp='$CXXCPP $CPPFLAGS'
69758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69761
69762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69763 /* end confdefs.h. */
69764 #include <math.h>
69765 int
69766 main ()
69767 {
69768 powf(0, 0);
69769 ;
69770 return 0;
69771 }
69772 _ACEOF
69773 if ac_fn_cxx_try_compile "$LINENO"; then :
69774 glibcxx_cv_func_powf_use=yes
69775 else
69776 glibcxx_cv_func_powf_use=no
69777 fi
69778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69779 ac_ext=c
69780 ac_cpp='$CPP $CPPFLAGS'
69781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69784
69785
69786 fi
69787
69788 fi
69789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69790 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69791
69792 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69793 for ac_func in powf
69794 do :
69795 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69796 if test "x$ac_cv_func_powf" = xyes; then :
69797 cat >>confdefs.h <<_ACEOF
69798 #define HAVE_POWF 1
69799 _ACEOF
69800
69801 fi
69802 done
69803
69804 else
69805
69806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69807 $as_echo_n "checking for _powf declaration... " >&6; }
69808 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69809 if ${glibcxx_cv_func__powf_use+:} false; then :
69810 $as_echo_n "(cached) " >&6
69811 else
69812
69813
69814 ac_ext=cpp
69815 ac_cpp='$CXXCPP $CPPFLAGS'
69816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69819
69820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69821 /* end confdefs.h. */
69822 #include <math.h>
69823 int
69824 main ()
69825 {
69826 _powf(0, 0);
69827 ;
69828 return 0;
69829 }
69830 _ACEOF
69831 if ac_fn_cxx_try_compile "$LINENO"; then :
69832 glibcxx_cv_func__powf_use=yes
69833 else
69834 glibcxx_cv_func__powf_use=no
69835 fi
69836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69837 ac_ext=c
69838 ac_cpp='$CPP $CPPFLAGS'
69839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69842
69843
69844 fi
69845
69846 fi
69847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69848 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69849
69850 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69851 for ac_func in _powf
69852 do :
69853 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69854 if test "x$ac_cv_func__powf" = xyes; then :
69855 cat >>confdefs.h <<_ACEOF
69856 #define HAVE__POWF 1
69857 _ACEOF
69858
69859 fi
69860 done
69861
69862 fi
69863 fi
69864
69865
69866
69867
69868
69869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69870 $as_echo_n "checking for sqrtf declaration... " >&6; }
69871 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69872 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69873 $as_echo_n "(cached) " >&6
69874 else
69875
69876
69877 ac_ext=cpp
69878 ac_cpp='$CXXCPP $CPPFLAGS'
69879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69882
69883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69884 /* end confdefs.h. */
69885 #include <math.h>
69886 #ifdef HAVE_IEEEFP_H
69887 #include <ieeefp.h>
69888 #endif
69889
69890 int
69891 main ()
69892 {
69893 sqrtf(0);
69894 ;
69895 return 0;
69896 }
69897 _ACEOF
69898 if ac_fn_cxx_try_compile "$LINENO"; then :
69899 glibcxx_cv_func_sqrtf_use=yes
69900 else
69901 glibcxx_cv_func_sqrtf_use=no
69902 fi
69903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69904 ac_ext=c
69905 ac_cpp='$CPP $CPPFLAGS'
69906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69909
69910
69911 fi
69912
69913 fi
69914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69915 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69916
69917 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69918 for ac_func in sqrtf
69919 do :
69920 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69921 if test "x$ac_cv_func_sqrtf" = xyes; then :
69922 cat >>confdefs.h <<_ACEOF
69923 #define HAVE_SQRTF 1
69924 _ACEOF
69925
69926 fi
69927 done
69928
69929 else
69930
69931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69932 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69933 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69934 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69935 $as_echo_n "(cached) " >&6
69936 else
69937
69938
69939 ac_ext=cpp
69940 ac_cpp='$CXXCPP $CPPFLAGS'
69941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69944
69945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69946 /* end confdefs.h. */
69947 #include <math.h>
69948 #ifdef HAVE_IEEEFP_H
69949 #include <ieeefp.h>
69950 #endif
69951
69952 int
69953 main ()
69954 {
69955 _sqrtf(0);
69956 ;
69957 return 0;
69958 }
69959 _ACEOF
69960 if ac_fn_cxx_try_compile "$LINENO"; then :
69961 glibcxx_cv_func__sqrtf_use=yes
69962 else
69963 glibcxx_cv_func__sqrtf_use=no
69964 fi
69965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69966 ac_ext=c
69967 ac_cpp='$CPP $CPPFLAGS'
69968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69971
69972
69973 fi
69974
69975 fi
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69977 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69978
69979 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69980 for ac_func in _sqrtf
69981 do :
69982 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69983 if test "x$ac_cv_func__sqrtf" = xyes; then :
69984 cat >>confdefs.h <<_ACEOF
69985 #define HAVE__SQRTF 1
69986 _ACEOF
69987
69988 fi
69989 done
69990
69991 fi
69992 fi
69993
69994
69995
69996
69997
69998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69999 $as_echo_n "checking for sincosf declaration... " >&6; }
70000 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70001 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70002 $as_echo_n "(cached) " >&6
70003 else
70004
70005
70006 ac_ext=cpp
70007 ac_cpp='$CXXCPP $CPPFLAGS'
70008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70011
70012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70013 /* end confdefs.h. */
70014 #include <math.h>
70015 int
70016 main ()
70017 {
70018 sincosf(0, 0, 0);
70019 ;
70020 return 0;
70021 }
70022 _ACEOF
70023 if ac_fn_cxx_try_compile "$LINENO"; then :
70024 glibcxx_cv_func_sincosf_use=yes
70025 else
70026 glibcxx_cv_func_sincosf_use=no
70027 fi
70028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70029 ac_ext=c
70030 ac_cpp='$CPP $CPPFLAGS'
70031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70034
70035
70036 fi
70037
70038 fi
70039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70040 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70041
70042 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70043 for ac_func in sincosf
70044 do :
70045 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70046 if test "x$ac_cv_func_sincosf" = xyes; then :
70047 cat >>confdefs.h <<_ACEOF
70048 #define HAVE_SINCOSF 1
70049 _ACEOF
70050
70051 fi
70052 done
70053
70054 else
70055
70056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70057 $as_echo_n "checking for _sincosf declaration... " >&6; }
70058 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70059 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70060 $as_echo_n "(cached) " >&6
70061 else
70062
70063
70064 ac_ext=cpp
70065 ac_cpp='$CXXCPP $CPPFLAGS'
70066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70069
70070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70071 /* end confdefs.h. */
70072 #include <math.h>
70073 int
70074 main ()
70075 {
70076 _sincosf(0, 0, 0);
70077 ;
70078 return 0;
70079 }
70080 _ACEOF
70081 if ac_fn_cxx_try_compile "$LINENO"; then :
70082 glibcxx_cv_func__sincosf_use=yes
70083 else
70084 glibcxx_cv_func__sincosf_use=no
70085 fi
70086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70087 ac_ext=c
70088 ac_cpp='$CPP $CPPFLAGS'
70089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70092
70093
70094 fi
70095
70096 fi
70097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70098 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70099
70100 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70101 for ac_func in _sincosf
70102 do :
70103 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70104 if test "x$ac_cv_func__sincosf" = xyes; then :
70105 cat >>confdefs.h <<_ACEOF
70106 #define HAVE__SINCOSF 1
70107 _ACEOF
70108
70109 fi
70110 done
70111
70112 fi
70113 fi
70114
70115
70116
70117
70118
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70120 $as_echo_n "checking for finitef declaration... " >&6; }
70121 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70122 if ${glibcxx_cv_func_finitef_use+:} false; then :
70123 $as_echo_n "(cached) " >&6
70124 else
70125
70126
70127 ac_ext=cpp
70128 ac_cpp='$CXXCPP $CPPFLAGS'
70129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70132
70133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70134 /* end confdefs.h. */
70135 #include <math.h>
70136 #ifdef HAVE_IEEEFP_H
70137 #include <ieeefp.h>
70138 #endif
70139
70140 int
70141 main ()
70142 {
70143 finitef(0);
70144 ;
70145 return 0;
70146 }
70147 _ACEOF
70148 if ac_fn_cxx_try_compile "$LINENO"; then :
70149 glibcxx_cv_func_finitef_use=yes
70150 else
70151 glibcxx_cv_func_finitef_use=no
70152 fi
70153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70154 ac_ext=c
70155 ac_cpp='$CPP $CPPFLAGS'
70156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70159
70160
70161 fi
70162
70163 fi
70164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70165 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70166
70167 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70168 for ac_func in finitef
70169 do :
70170 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70171 if test "x$ac_cv_func_finitef" = xyes; then :
70172 cat >>confdefs.h <<_ACEOF
70173 #define HAVE_FINITEF 1
70174 _ACEOF
70175
70176 fi
70177 done
70178
70179 else
70180
70181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70182 $as_echo_n "checking for _finitef declaration... " >&6; }
70183 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70184 if ${glibcxx_cv_func__finitef_use+:} false; then :
70185 $as_echo_n "(cached) " >&6
70186 else
70187
70188
70189 ac_ext=cpp
70190 ac_cpp='$CXXCPP $CPPFLAGS'
70191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70194
70195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70196 /* end confdefs.h. */
70197 #include <math.h>
70198 #ifdef HAVE_IEEEFP_H
70199 #include <ieeefp.h>
70200 #endif
70201
70202 int
70203 main ()
70204 {
70205 _finitef(0);
70206 ;
70207 return 0;
70208 }
70209 _ACEOF
70210 if ac_fn_cxx_try_compile "$LINENO"; then :
70211 glibcxx_cv_func__finitef_use=yes
70212 else
70213 glibcxx_cv_func__finitef_use=no
70214 fi
70215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70216 ac_ext=c
70217 ac_cpp='$CPP $CPPFLAGS'
70218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70221
70222
70223 fi
70224
70225 fi
70226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70227 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70228
70229 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70230 for ac_func in _finitef
70231 do :
70232 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70233 if test "x$ac_cv_func__finitef" = xyes; then :
70234 cat >>confdefs.h <<_ACEOF
70235 #define HAVE__FINITEF 1
70236 _ACEOF
70237
70238 fi
70239 done
70240
70241 fi
70242 fi
70243
70244
70245
70246
70247
70248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70249 $as_echo_n "checking for long double trig functions... " >&6; }
70250 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70251 $as_echo_n "(cached) " >&6
70252 else
70253
70254
70255 ac_ext=cpp
70256 ac_cpp='$CXXCPP $CPPFLAGS'
70257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70260
70261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70262 /* end confdefs.h. */
70263 #include <math.h>
70264 int
70265 main ()
70266 {
70267 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70268 ;
70269 return 0;
70270 }
70271 _ACEOF
70272 if ac_fn_cxx_try_compile "$LINENO"; then :
70273 glibcxx_cv_func_long_double_trig_use=yes
70274 else
70275 glibcxx_cv_func_long_double_trig_use=no
70276 fi
70277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70278 ac_ext=c
70279 ac_cpp='$CPP $CPPFLAGS'
70280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70283
70284 fi
70285
70286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70287 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70288 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70289 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70290 do :
70291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70293 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70294 cat >>confdefs.h <<_ACEOF
70295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70296 _ACEOF
70297
70298 fi
70299 done
70300
70301 else
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70303 $as_echo_n "checking for _long double trig functions... " >&6; }
70304 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70305 $as_echo_n "(cached) " >&6
70306 else
70307
70308
70309 ac_ext=cpp
70310 ac_cpp='$CXXCPP $CPPFLAGS'
70311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70314
70315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70316 /* end confdefs.h. */
70317 #include <math.h>
70318 int
70319 main ()
70320 {
70321 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70322 ;
70323 return 0;
70324 }
70325 _ACEOF
70326 if ac_fn_cxx_try_compile "$LINENO"; then :
70327 glibcxx_cv_func__long_double_trig_use=yes
70328 else
70329 glibcxx_cv_func__long_double_trig_use=no
70330 fi
70331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70332 ac_ext=c
70333 ac_cpp='$CPP $CPPFLAGS'
70334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70337
70338 fi
70339
70340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70341 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70342 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70343 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70344 do :
70345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70348 cat >>confdefs.h <<_ACEOF
70349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70350 _ACEOF
70351
70352 fi
70353 done
70354
70355 fi
70356 fi
70357
70358
70359
70360
70361
70362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70363 $as_echo_n "checking for long double round functions... " >&6; }
70364 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70365 $as_echo_n "(cached) " >&6
70366 else
70367
70368
70369 ac_ext=cpp
70370 ac_cpp='$CXXCPP $CPPFLAGS'
70371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70374
70375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70376 /* end confdefs.h. */
70377 #include <math.h>
70378 int
70379 main ()
70380 {
70381 ceill (0); floorl (0);
70382 ;
70383 return 0;
70384 }
70385 _ACEOF
70386 if ac_fn_cxx_try_compile "$LINENO"; then :
70387 glibcxx_cv_func_long_double_round_use=yes
70388 else
70389 glibcxx_cv_func_long_double_round_use=no
70390 fi
70391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70392 ac_ext=c
70393 ac_cpp='$CPP $CPPFLAGS'
70394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70397
70398 fi
70399
70400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70401 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70402 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70403 for ac_func in ceill floorl
70404 do :
70405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70408 cat >>confdefs.h <<_ACEOF
70409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70410 _ACEOF
70411
70412 fi
70413 done
70414
70415 else
70416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70417 $as_echo_n "checking for _long double round functions... " >&6; }
70418 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70419 $as_echo_n "(cached) " >&6
70420 else
70421
70422
70423 ac_ext=cpp
70424 ac_cpp='$CXXCPP $CPPFLAGS'
70425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70428
70429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70430 /* end confdefs.h. */
70431 #include <math.h>
70432 int
70433 main ()
70434 {
70435 _ceill (0); _floorl (0);
70436 ;
70437 return 0;
70438 }
70439 _ACEOF
70440 if ac_fn_cxx_try_compile "$LINENO"; then :
70441 glibcxx_cv_func__long_double_round_use=yes
70442 else
70443 glibcxx_cv_func__long_double_round_use=no
70444 fi
70445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70446 ac_ext=c
70447 ac_cpp='$CPP $CPPFLAGS'
70448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70451
70452 fi
70453
70454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70455 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70456 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70457 for ac_func in _ceill _floorl
70458 do :
70459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70462 cat >>confdefs.h <<_ACEOF
70463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70464 _ACEOF
70465
70466 fi
70467 done
70468
70469 fi
70470 fi
70471
70472
70473
70474
70475
70476
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70478 $as_echo_n "checking for isnanl declaration... " >&6; }
70479 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70480 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70481 $as_echo_n "(cached) " >&6
70482 else
70483
70484
70485 ac_ext=cpp
70486 ac_cpp='$CXXCPP $CPPFLAGS'
70487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70490
70491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70492 /* end confdefs.h. */
70493 #include <math.h>
70494 #ifdef HAVE_IEEEFP_H
70495 #include <ieeefp.h>
70496 #endif
70497
70498 int
70499 main ()
70500 {
70501 isnanl(0);
70502 ;
70503 return 0;
70504 }
70505 _ACEOF
70506 if ac_fn_cxx_try_compile "$LINENO"; then :
70507 glibcxx_cv_func_isnanl_use=yes
70508 else
70509 glibcxx_cv_func_isnanl_use=no
70510 fi
70511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70512 ac_ext=c
70513 ac_cpp='$CPP $CPPFLAGS'
70514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70517
70518
70519 fi
70520
70521 fi
70522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70523 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70524
70525 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70526 for ac_func in isnanl
70527 do :
70528 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70529 if test "x$ac_cv_func_isnanl" = xyes; then :
70530 cat >>confdefs.h <<_ACEOF
70531 #define HAVE_ISNANL 1
70532 _ACEOF
70533
70534 fi
70535 done
70536
70537 else
70538
70539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70540 $as_echo_n "checking for _isnanl declaration... " >&6; }
70541 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70542 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70543 $as_echo_n "(cached) " >&6
70544 else
70545
70546
70547 ac_ext=cpp
70548 ac_cpp='$CXXCPP $CPPFLAGS'
70549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70552
70553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70554 /* end confdefs.h. */
70555 #include <math.h>
70556 #ifdef HAVE_IEEEFP_H
70557 #include <ieeefp.h>
70558 #endif
70559
70560 int
70561 main ()
70562 {
70563 _isnanl(0);
70564 ;
70565 return 0;
70566 }
70567 _ACEOF
70568 if ac_fn_cxx_try_compile "$LINENO"; then :
70569 glibcxx_cv_func__isnanl_use=yes
70570 else
70571 glibcxx_cv_func__isnanl_use=no
70572 fi
70573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70574 ac_ext=c
70575 ac_cpp='$CPP $CPPFLAGS'
70576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70579
70580
70581 fi
70582
70583 fi
70584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70585 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70586
70587 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70588 for ac_func in _isnanl
70589 do :
70590 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70591 if test "x$ac_cv_func__isnanl" = xyes; then :
70592 cat >>confdefs.h <<_ACEOF
70593 #define HAVE__ISNANL 1
70594 _ACEOF
70595
70596 fi
70597 done
70598
70599 fi
70600 fi
70601
70602
70603
70604
70605
70606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70607 $as_echo_n "checking for isinfl declaration... " >&6; }
70608 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70609 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70610 $as_echo_n "(cached) " >&6
70611 else
70612
70613
70614 ac_ext=cpp
70615 ac_cpp='$CXXCPP $CPPFLAGS'
70616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70619
70620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70621 /* end confdefs.h. */
70622 #include <math.h>
70623 #ifdef HAVE_IEEEFP_H
70624 #include <ieeefp.h>
70625 #endif
70626
70627 int
70628 main ()
70629 {
70630 isinfl(0);
70631 ;
70632 return 0;
70633 }
70634 _ACEOF
70635 if ac_fn_cxx_try_compile "$LINENO"; then :
70636 glibcxx_cv_func_isinfl_use=yes
70637 else
70638 glibcxx_cv_func_isinfl_use=no
70639 fi
70640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70641 ac_ext=c
70642 ac_cpp='$CPP $CPPFLAGS'
70643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70646
70647
70648 fi
70649
70650 fi
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70652 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70653
70654 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70655 for ac_func in isinfl
70656 do :
70657 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70658 if test "x$ac_cv_func_isinfl" = xyes; then :
70659 cat >>confdefs.h <<_ACEOF
70660 #define HAVE_ISINFL 1
70661 _ACEOF
70662
70663 fi
70664 done
70665
70666 else
70667
70668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70669 $as_echo_n "checking for _isinfl declaration... " >&6; }
70670 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70671 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70672 $as_echo_n "(cached) " >&6
70673 else
70674
70675
70676 ac_ext=cpp
70677 ac_cpp='$CXXCPP $CPPFLAGS'
70678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70681
70682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70683 /* end confdefs.h. */
70684 #include <math.h>
70685 #ifdef HAVE_IEEEFP_H
70686 #include <ieeefp.h>
70687 #endif
70688
70689 int
70690 main ()
70691 {
70692 _isinfl(0);
70693 ;
70694 return 0;
70695 }
70696 _ACEOF
70697 if ac_fn_cxx_try_compile "$LINENO"; then :
70698 glibcxx_cv_func__isinfl_use=yes
70699 else
70700 glibcxx_cv_func__isinfl_use=no
70701 fi
70702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70703 ac_ext=c
70704 ac_cpp='$CPP $CPPFLAGS'
70705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70708
70709
70710 fi
70711
70712 fi
70713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70714 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70715
70716 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70717 for ac_func in _isinfl
70718 do :
70719 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70720 if test "x$ac_cv_func__isinfl" = xyes; then :
70721 cat >>confdefs.h <<_ACEOF
70722 #define HAVE__ISINFL 1
70723 _ACEOF
70724
70725 fi
70726 done
70727
70728 fi
70729 fi
70730
70731
70732
70733
70734
70735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70736 $as_echo_n "checking for atan2l declaration... " >&6; }
70737 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70738 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70739 $as_echo_n "(cached) " >&6
70740 else
70741
70742
70743 ac_ext=cpp
70744 ac_cpp='$CXXCPP $CPPFLAGS'
70745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70748
70749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70750 /* end confdefs.h. */
70751 #include <math.h>
70752 int
70753 main ()
70754 {
70755 atan2l(0, 0);
70756 ;
70757 return 0;
70758 }
70759 _ACEOF
70760 if ac_fn_cxx_try_compile "$LINENO"; then :
70761 glibcxx_cv_func_atan2l_use=yes
70762 else
70763 glibcxx_cv_func_atan2l_use=no
70764 fi
70765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70766 ac_ext=c
70767 ac_cpp='$CPP $CPPFLAGS'
70768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70771
70772
70773 fi
70774
70775 fi
70776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70777 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70778
70779 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70780 for ac_func in atan2l
70781 do :
70782 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70783 if test "x$ac_cv_func_atan2l" = xyes; then :
70784 cat >>confdefs.h <<_ACEOF
70785 #define HAVE_ATAN2L 1
70786 _ACEOF
70787
70788 fi
70789 done
70790
70791 else
70792
70793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70794 $as_echo_n "checking for _atan2l declaration... " >&6; }
70795 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70796 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70797 $as_echo_n "(cached) " >&6
70798 else
70799
70800
70801 ac_ext=cpp
70802 ac_cpp='$CXXCPP $CPPFLAGS'
70803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70806
70807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70808 /* end confdefs.h. */
70809 #include <math.h>
70810 int
70811 main ()
70812 {
70813 _atan2l(0, 0);
70814 ;
70815 return 0;
70816 }
70817 _ACEOF
70818 if ac_fn_cxx_try_compile "$LINENO"; then :
70819 glibcxx_cv_func__atan2l_use=yes
70820 else
70821 glibcxx_cv_func__atan2l_use=no
70822 fi
70823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70824 ac_ext=c
70825 ac_cpp='$CPP $CPPFLAGS'
70826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70829
70830
70831 fi
70832
70833 fi
70834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70835 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70836
70837 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70838 for ac_func in _atan2l
70839 do :
70840 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70841 if test "x$ac_cv_func__atan2l" = xyes; then :
70842 cat >>confdefs.h <<_ACEOF
70843 #define HAVE__ATAN2L 1
70844 _ACEOF
70845
70846 fi
70847 done
70848
70849 fi
70850 fi
70851
70852
70853
70854
70855
70856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70857 $as_echo_n "checking for expl declaration... " >&6; }
70858 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70859 if ${glibcxx_cv_func_expl_use+:} false; then :
70860 $as_echo_n "(cached) " >&6
70861 else
70862
70863
70864 ac_ext=cpp
70865 ac_cpp='$CXXCPP $CPPFLAGS'
70866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70869
70870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70871 /* end confdefs.h. */
70872 #include <math.h>
70873 #ifdef HAVE_IEEEFP_H
70874 #include <ieeefp.h>
70875 #endif
70876
70877 int
70878 main ()
70879 {
70880 expl(0);
70881 ;
70882 return 0;
70883 }
70884 _ACEOF
70885 if ac_fn_cxx_try_compile "$LINENO"; then :
70886 glibcxx_cv_func_expl_use=yes
70887 else
70888 glibcxx_cv_func_expl_use=no
70889 fi
70890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70891 ac_ext=c
70892 ac_cpp='$CPP $CPPFLAGS'
70893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70896
70897
70898 fi
70899
70900 fi
70901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70902 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70903
70904 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70905 for ac_func in expl
70906 do :
70907 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70908 if test "x$ac_cv_func_expl" = xyes; then :
70909 cat >>confdefs.h <<_ACEOF
70910 #define HAVE_EXPL 1
70911 _ACEOF
70912
70913 fi
70914 done
70915
70916 else
70917
70918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70919 $as_echo_n "checking for _expl declaration... " >&6; }
70920 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70921 if ${glibcxx_cv_func__expl_use+:} false; then :
70922 $as_echo_n "(cached) " >&6
70923 else
70924
70925
70926 ac_ext=cpp
70927 ac_cpp='$CXXCPP $CPPFLAGS'
70928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70931
70932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70933 /* end confdefs.h. */
70934 #include <math.h>
70935 #ifdef HAVE_IEEEFP_H
70936 #include <ieeefp.h>
70937 #endif
70938
70939 int
70940 main ()
70941 {
70942 _expl(0);
70943 ;
70944 return 0;
70945 }
70946 _ACEOF
70947 if ac_fn_cxx_try_compile "$LINENO"; then :
70948 glibcxx_cv_func__expl_use=yes
70949 else
70950 glibcxx_cv_func__expl_use=no
70951 fi
70952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70953 ac_ext=c
70954 ac_cpp='$CPP $CPPFLAGS'
70955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70958
70959
70960 fi
70961
70962 fi
70963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70964 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70965
70966 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70967 for ac_func in _expl
70968 do :
70969 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70970 if test "x$ac_cv_func__expl" = xyes; then :
70971 cat >>confdefs.h <<_ACEOF
70972 #define HAVE__EXPL 1
70973 _ACEOF
70974
70975 fi
70976 done
70977
70978 fi
70979 fi
70980
70981
70982
70983
70984
70985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70986 $as_echo_n "checking for fabsl declaration... " >&6; }
70987 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70988 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70989 $as_echo_n "(cached) " >&6
70990 else
70991
70992
70993 ac_ext=cpp
70994 ac_cpp='$CXXCPP $CPPFLAGS'
70995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70998
70999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71000 /* end confdefs.h. */
71001 #include <math.h>
71002 #ifdef HAVE_IEEEFP_H
71003 #include <ieeefp.h>
71004 #endif
71005
71006 int
71007 main ()
71008 {
71009 fabsl(0);
71010 ;
71011 return 0;
71012 }
71013 _ACEOF
71014 if ac_fn_cxx_try_compile "$LINENO"; then :
71015 glibcxx_cv_func_fabsl_use=yes
71016 else
71017 glibcxx_cv_func_fabsl_use=no
71018 fi
71019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71020 ac_ext=c
71021 ac_cpp='$CPP $CPPFLAGS'
71022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71025
71026
71027 fi
71028
71029 fi
71030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71031 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71032
71033 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71034 for ac_func in fabsl
71035 do :
71036 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71037 if test "x$ac_cv_func_fabsl" = xyes; then :
71038 cat >>confdefs.h <<_ACEOF
71039 #define HAVE_FABSL 1
71040 _ACEOF
71041
71042 fi
71043 done
71044
71045 else
71046
71047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71048 $as_echo_n "checking for _fabsl declaration... " >&6; }
71049 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71050 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71051 $as_echo_n "(cached) " >&6
71052 else
71053
71054
71055 ac_ext=cpp
71056 ac_cpp='$CXXCPP $CPPFLAGS'
71057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71060
71061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71062 /* end confdefs.h. */
71063 #include <math.h>
71064 #ifdef HAVE_IEEEFP_H
71065 #include <ieeefp.h>
71066 #endif
71067
71068 int
71069 main ()
71070 {
71071 _fabsl(0);
71072 ;
71073 return 0;
71074 }
71075 _ACEOF
71076 if ac_fn_cxx_try_compile "$LINENO"; then :
71077 glibcxx_cv_func__fabsl_use=yes
71078 else
71079 glibcxx_cv_func__fabsl_use=no
71080 fi
71081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71082 ac_ext=c
71083 ac_cpp='$CPP $CPPFLAGS'
71084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71087
71088
71089 fi
71090
71091 fi
71092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71093 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71094
71095 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71096 for ac_func in _fabsl
71097 do :
71098 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71099 if test "x$ac_cv_func__fabsl" = xyes; then :
71100 cat >>confdefs.h <<_ACEOF
71101 #define HAVE__FABSL 1
71102 _ACEOF
71103
71104 fi
71105 done
71106
71107 fi
71108 fi
71109
71110
71111
71112
71113
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71115 $as_echo_n "checking for fmodl declaration... " >&6; }
71116 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71117 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71118 $as_echo_n "(cached) " >&6
71119 else
71120
71121
71122 ac_ext=cpp
71123 ac_cpp='$CXXCPP $CPPFLAGS'
71124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71127
71128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71129 /* end confdefs.h. */
71130 #include <math.h>
71131 int
71132 main ()
71133 {
71134 fmodl(0, 0);
71135 ;
71136 return 0;
71137 }
71138 _ACEOF
71139 if ac_fn_cxx_try_compile "$LINENO"; then :
71140 glibcxx_cv_func_fmodl_use=yes
71141 else
71142 glibcxx_cv_func_fmodl_use=no
71143 fi
71144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71145 ac_ext=c
71146 ac_cpp='$CPP $CPPFLAGS'
71147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71150
71151
71152 fi
71153
71154 fi
71155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71156 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71157
71158 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71159 for ac_func in fmodl
71160 do :
71161 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71162 if test "x$ac_cv_func_fmodl" = xyes; then :
71163 cat >>confdefs.h <<_ACEOF
71164 #define HAVE_FMODL 1
71165 _ACEOF
71166
71167 fi
71168 done
71169
71170 else
71171
71172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71173 $as_echo_n "checking for _fmodl declaration... " >&6; }
71174 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71175 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71176 $as_echo_n "(cached) " >&6
71177 else
71178
71179
71180 ac_ext=cpp
71181 ac_cpp='$CXXCPP $CPPFLAGS'
71182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71185
71186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71187 /* end confdefs.h. */
71188 #include <math.h>
71189 int
71190 main ()
71191 {
71192 _fmodl(0, 0);
71193 ;
71194 return 0;
71195 }
71196 _ACEOF
71197 if ac_fn_cxx_try_compile "$LINENO"; then :
71198 glibcxx_cv_func__fmodl_use=yes
71199 else
71200 glibcxx_cv_func__fmodl_use=no
71201 fi
71202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71203 ac_ext=c
71204 ac_cpp='$CPP $CPPFLAGS'
71205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71208
71209
71210 fi
71211
71212 fi
71213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71214 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71215
71216 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71217 for ac_func in _fmodl
71218 do :
71219 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71220 if test "x$ac_cv_func__fmodl" = xyes; then :
71221 cat >>confdefs.h <<_ACEOF
71222 #define HAVE__FMODL 1
71223 _ACEOF
71224
71225 fi
71226 done
71227
71228 fi
71229 fi
71230
71231
71232
71233
71234
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71236 $as_echo_n "checking for frexpl declaration... " >&6; }
71237 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71238 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71239 $as_echo_n "(cached) " >&6
71240 else
71241
71242
71243 ac_ext=cpp
71244 ac_cpp='$CXXCPP $CPPFLAGS'
71245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71248
71249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71250 /* end confdefs.h. */
71251 #include <math.h>
71252 int
71253 main ()
71254 {
71255 frexpl(0, 0);
71256 ;
71257 return 0;
71258 }
71259 _ACEOF
71260 if ac_fn_cxx_try_compile "$LINENO"; then :
71261 glibcxx_cv_func_frexpl_use=yes
71262 else
71263 glibcxx_cv_func_frexpl_use=no
71264 fi
71265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71266 ac_ext=c
71267 ac_cpp='$CPP $CPPFLAGS'
71268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71271
71272
71273 fi
71274
71275 fi
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71277 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71278
71279 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71280 for ac_func in frexpl
71281 do :
71282 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71283 if test "x$ac_cv_func_frexpl" = xyes; then :
71284 cat >>confdefs.h <<_ACEOF
71285 #define HAVE_FREXPL 1
71286 _ACEOF
71287
71288 fi
71289 done
71290
71291 else
71292
71293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71294 $as_echo_n "checking for _frexpl declaration... " >&6; }
71295 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71296 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71297 $as_echo_n "(cached) " >&6
71298 else
71299
71300
71301 ac_ext=cpp
71302 ac_cpp='$CXXCPP $CPPFLAGS'
71303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71306
71307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71308 /* end confdefs.h. */
71309 #include <math.h>
71310 int
71311 main ()
71312 {
71313 _frexpl(0, 0);
71314 ;
71315 return 0;
71316 }
71317 _ACEOF
71318 if ac_fn_cxx_try_compile "$LINENO"; then :
71319 glibcxx_cv_func__frexpl_use=yes
71320 else
71321 glibcxx_cv_func__frexpl_use=no
71322 fi
71323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71324 ac_ext=c
71325 ac_cpp='$CPP $CPPFLAGS'
71326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71329
71330
71331 fi
71332
71333 fi
71334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71335 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71336
71337 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71338 for ac_func in _frexpl
71339 do :
71340 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71341 if test "x$ac_cv_func__frexpl" = xyes; then :
71342 cat >>confdefs.h <<_ACEOF
71343 #define HAVE__FREXPL 1
71344 _ACEOF
71345
71346 fi
71347 done
71348
71349 fi
71350 fi
71351
71352
71353
71354
71355
71356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71357 $as_echo_n "checking for hypotl declaration... " >&6; }
71358 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71359 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71360 $as_echo_n "(cached) " >&6
71361 else
71362
71363
71364 ac_ext=cpp
71365 ac_cpp='$CXXCPP $CPPFLAGS'
71366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71369
71370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71371 /* end confdefs.h. */
71372 #include <math.h>
71373 int
71374 main ()
71375 {
71376 hypotl(0, 0);
71377 ;
71378 return 0;
71379 }
71380 _ACEOF
71381 if ac_fn_cxx_try_compile "$LINENO"; then :
71382 glibcxx_cv_func_hypotl_use=yes
71383 else
71384 glibcxx_cv_func_hypotl_use=no
71385 fi
71386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71387 ac_ext=c
71388 ac_cpp='$CPP $CPPFLAGS'
71389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71392
71393
71394 fi
71395
71396 fi
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71398 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71399
71400 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71401 for ac_func in hypotl
71402 do :
71403 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71404 if test "x$ac_cv_func_hypotl" = xyes; then :
71405 cat >>confdefs.h <<_ACEOF
71406 #define HAVE_HYPOTL 1
71407 _ACEOF
71408
71409 fi
71410 done
71411
71412 else
71413
71414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71415 $as_echo_n "checking for _hypotl declaration... " >&6; }
71416 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71417 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71418 $as_echo_n "(cached) " >&6
71419 else
71420
71421
71422 ac_ext=cpp
71423 ac_cpp='$CXXCPP $CPPFLAGS'
71424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71427
71428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71429 /* end confdefs.h. */
71430 #include <math.h>
71431 int
71432 main ()
71433 {
71434 _hypotl(0, 0);
71435 ;
71436 return 0;
71437 }
71438 _ACEOF
71439 if ac_fn_cxx_try_compile "$LINENO"; then :
71440 glibcxx_cv_func__hypotl_use=yes
71441 else
71442 glibcxx_cv_func__hypotl_use=no
71443 fi
71444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71445 ac_ext=c
71446 ac_cpp='$CPP $CPPFLAGS'
71447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71450
71451
71452 fi
71453
71454 fi
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71456 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71457
71458 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71459 for ac_func in _hypotl
71460 do :
71461 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71462 if test "x$ac_cv_func__hypotl" = xyes; then :
71463 cat >>confdefs.h <<_ACEOF
71464 #define HAVE__HYPOTL 1
71465 _ACEOF
71466
71467 fi
71468 done
71469
71470 fi
71471 fi
71472
71473
71474
71475
71476
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71478 $as_echo_n "checking for ldexpl declaration... " >&6; }
71479 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71480 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71481 $as_echo_n "(cached) " >&6
71482 else
71483
71484
71485 ac_ext=cpp
71486 ac_cpp='$CXXCPP $CPPFLAGS'
71487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71490
71491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71492 /* end confdefs.h. */
71493 #include <math.h>
71494 int
71495 main ()
71496 {
71497 ldexpl(0, 0);
71498 ;
71499 return 0;
71500 }
71501 _ACEOF
71502 if ac_fn_cxx_try_compile "$LINENO"; then :
71503 glibcxx_cv_func_ldexpl_use=yes
71504 else
71505 glibcxx_cv_func_ldexpl_use=no
71506 fi
71507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71508 ac_ext=c
71509 ac_cpp='$CPP $CPPFLAGS'
71510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71513
71514
71515 fi
71516
71517 fi
71518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71519 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71520
71521 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71522 for ac_func in ldexpl
71523 do :
71524 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71525 if test "x$ac_cv_func_ldexpl" = xyes; then :
71526 cat >>confdefs.h <<_ACEOF
71527 #define HAVE_LDEXPL 1
71528 _ACEOF
71529
71530 fi
71531 done
71532
71533 else
71534
71535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71536 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71537 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71538 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71539 $as_echo_n "(cached) " >&6
71540 else
71541
71542
71543 ac_ext=cpp
71544 ac_cpp='$CXXCPP $CPPFLAGS'
71545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71548
71549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71550 /* end confdefs.h. */
71551 #include <math.h>
71552 int
71553 main ()
71554 {
71555 _ldexpl(0, 0);
71556 ;
71557 return 0;
71558 }
71559 _ACEOF
71560 if ac_fn_cxx_try_compile "$LINENO"; then :
71561 glibcxx_cv_func__ldexpl_use=yes
71562 else
71563 glibcxx_cv_func__ldexpl_use=no
71564 fi
71565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71566 ac_ext=c
71567 ac_cpp='$CPP $CPPFLAGS'
71568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71571
71572
71573 fi
71574
71575 fi
71576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71577 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71578
71579 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71580 for ac_func in _ldexpl
71581 do :
71582 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71583 if test "x$ac_cv_func__ldexpl" = xyes; then :
71584 cat >>confdefs.h <<_ACEOF
71585 #define HAVE__LDEXPL 1
71586 _ACEOF
71587
71588 fi
71589 done
71590
71591 fi
71592 fi
71593
71594
71595
71596
71597
71598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71599 $as_echo_n "checking for logl declaration... " >&6; }
71600 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71601 if ${glibcxx_cv_func_logl_use+:} false; then :
71602 $as_echo_n "(cached) " >&6
71603 else
71604
71605
71606 ac_ext=cpp
71607 ac_cpp='$CXXCPP $CPPFLAGS'
71608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71611
71612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71613 /* end confdefs.h. */
71614 #include <math.h>
71615 #ifdef HAVE_IEEEFP_H
71616 #include <ieeefp.h>
71617 #endif
71618
71619 int
71620 main ()
71621 {
71622 logl(0);
71623 ;
71624 return 0;
71625 }
71626 _ACEOF
71627 if ac_fn_cxx_try_compile "$LINENO"; then :
71628 glibcxx_cv_func_logl_use=yes
71629 else
71630 glibcxx_cv_func_logl_use=no
71631 fi
71632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71633 ac_ext=c
71634 ac_cpp='$CPP $CPPFLAGS'
71635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71638
71639
71640 fi
71641
71642 fi
71643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71644 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71645
71646 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71647 for ac_func in logl
71648 do :
71649 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71650 if test "x$ac_cv_func_logl" = xyes; then :
71651 cat >>confdefs.h <<_ACEOF
71652 #define HAVE_LOGL 1
71653 _ACEOF
71654
71655 fi
71656 done
71657
71658 else
71659
71660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71661 $as_echo_n "checking for _logl declaration... " >&6; }
71662 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71663 if ${glibcxx_cv_func__logl_use+:} false; then :
71664 $as_echo_n "(cached) " >&6
71665 else
71666
71667
71668 ac_ext=cpp
71669 ac_cpp='$CXXCPP $CPPFLAGS'
71670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71673
71674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71675 /* end confdefs.h. */
71676 #include <math.h>
71677 #ifdef HAVE_IEEEFP_H
71678 #include <ieeefp.h>
71679 #endif
71680
71681 int
71682 main ()
71683 {
71684 _logl(0);
71685 ;
71686 return 0;
71687 }
71688 _ACEOF
71689 if ac_fn_cxx_try_compile "$LINENO"; then :
71690 glibcxx_cv_func__logl_use=yes
71691 else
71692 glibcxx_cv_func__logl_use=no
71693 fi
71694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71695 ac_ext=c
71696 ac_cpp='$CPP $CPPFLAGS'
71697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71700
71701
71702 fi
71703
71704 fi
71705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71706 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71707
71708 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71709 for ac_func in _logl
71710 do :
71711 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71712 if test "x$ac_cv_func__logl" = xyes; then :
71713 cat >>confdefs.h <<_ACEOF
71714 #define HAVE__LOGL 1
71715 _ACEOF
71716
71717 fi
71718 done
71719
71720 fi
71721 fi
71722
71723
71724
71725
71726
71727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71728 $as_echo_n "checking for log10l declaration... " >&6; }
71729 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71730 if ${glibcxx_cv_func_log10l_use+:} false; then :
71731 $as_echo_n "(cached) " >&6
71732 else
71733
71734
71735 ac_ext=cpp
71736 ac_cpp='$CXXCPP $CPPFLAGS'
71737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71740
71741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71742 /* end confdefs.h. */
71743 #include <math.h>
71744 #ifdef HAVE_IEEEFP_H
71745 #include <ieeefp.h>
71746 #endif
71747
71748 int
71749 main ()
71750 {
71751 log10l(0);
71752 ;
71753 return 0;
71754 }
71755 _ACEOF
71756 if ac_fn_cxx_try_compile "$LINENO"; then :
71757 glibcxx_cv_func_log10l_use=yes
71758 else
71759 glibcxx_cv_func_log10l_use=no
71760 fi
71761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71762 ac_ext=c
71763 ac_cpp='$CPP $CPPFLAGS'
71764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71767
71768
71769 fi
71770
71771 fi
71772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71773 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71774
71775 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71776 for ac_func in log10l
71777 do :
71778 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71779 if test "x$ac_cv_func_log10l" = xyes; then :
71780 cat >>confdefs.h <<_ACEOF
71781 #define HAVE_LOG10L 1
71782 _ACEOF
71783
71784 fi
71785 done
71786
71787 else
71788
71789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71790 $as_echo_n "checking for _log10l declaration... " >&6; }
71791 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71792 if ${glibcxx_cv_func__log10l_use+:} false; then :
71793 $as_echo_n "(cached) " >&6
71794 else
71795
71796
71797 ac_ext=cpp
71798 ac_cpp='$CXXCPP $CPPFLAGS'
71799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71802
71803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71804 /* end confdefs.h. */
71805 #include <math.h>
71806 #ifdef HAVE_IEEEFP_H
71807 #include <ieeefp.h>
71808 #endif
71809
71810 int
71811 main ()
71812 {
71813 _log10l(0);
71814 ;
71815 return 0;
71816 }
71817 _ACEOF
71818 if ac_fn_cxx_try_compile "$LINENO"; then :
71819 glibcxx_cv_func__log10l_use=yes
71820 else
71821 glibcxx_cv_func__log10l_use=no
71822 fi
71823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71824 ac_ext=c
71825 ac_cpp='$CPP $CPPFLAGS'
71826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71829
71830
71831 fi
71832
71833 fi
71834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71835 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71836
71837 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71838 for ac_func in _log10l
71839 do :
71840 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71841 if test "x$ac_cv_func__log10l" = xyes; then :
71842 cat >>confdefs.h <<_ACEOF
71843 #define HAVE__LOG10L 1
71844 _ACEOF
71845
71846 fi
71847 done
71848
71849 fi
71850 fi
71851
71852
71853
71854
71855
71856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71857 $as_echo_n "checking for modfl declaration... " >&6; }
71858 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71859 if ${glibcxx_cv_func_modfl_use+:} false; then :
71860 $as_echo_n "(cached) " >&6
71861 else
71862
71863
71864 ac_ext=cpp
71865 ac_cpp='$CXXCPP $CPPFLAGS'
71866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71869
71870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71871 /* end confdefs.h. */
71872 #include <math.h>
71873 int
71874 main ()
71875 {
71876 modfl(0, 0);
71877 ;
71878 return 0;
71879 }
71880 _ACEOF
71881 if ac_fn_cxx_try_compile "$LINENO"; then :
71882 glibcxx_cv_func_modfl_use=yes
71883 else
71884 glibcxx_cv_func_modfl_use=no
71885 fi
71886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71887 ac_ext=c
71888 ac_cpp='$CPP $CPPFLAGS'
71889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71892
71893
71894 fi
71895
71896 fi
71897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71898 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71899
71900 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71901 for ac_func in modfl
71902 do :
71903 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71904 if test "x$ac_cv_func_modfl" = xyes; then :
71905 cat >>confdefs.h <<_ACEOF
71906 #define HAVE_MODFL 1
71907 _ACEOF
71908
71909 fi
71910 done
71911
71912 else
71913
71914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71915 $as_echo_n "checking for _modfl declaration... " >&6; }
71916 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71917 if ${glibcxx_cv_func__modfl_use+:} false; then :
71918 $as_echo_n "(cached) " >&6
71919 else
71920
71921
71922 ac_ext=cpp
71923 ac_cpp='$CXXCPP $CPPFLAGS'
71924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71927
71928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71929 /* end confdefs.h. */
71930 #include <math.h>
71931 int
71932 main ()
71933 {
71934 _modfl(0, 0);
71935 ;
71936 return 0;
71937 }
71938 _ACEOF
71939 if ac_fn_cxx_try_compile "$LINENO"; then :
71940 glibcxx_cv_func__modfl_use=yes
71941 else
71942 glibcxx_cv_func__modfl_use=no
71943 fi
71944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71945 ac_ext=c
71946 ac_cpp='$CPP $CPPFLAGS'
71947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71950
71951
71952 fi
71953
71954 fi
71955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71956 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71957
71958 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71959 for ac_func in _modfl
71960 do :
71961 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71962 if test "x$ac_cv_func__modfl" = xyes; then :
71963 cat >>confdefs.h <<_ACEOF
71964 #define HAVE__MODFL 1
71965 _ACEOF
71966
71967 fi
71968 done
71969
71970 fi
71971 fi
71972
71973
71974
71975
71976
71977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71978 $as_echo_n "checking for powl declaration... " >&6; }
71979 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71980 if ${glibcxx_cv_func_powl_use+:} false; then :
71981 $as_echo_n "(cached) " >&6
71982 else
71983
71984
71985 ac_ext=cpp
71986 ac_cpp='$CXXCPP $CPPFLAGS'
71987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71990
71991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71992 /* end confdefs.h. */
71993 #include <math.h>
71994 int
71995 main ()
71996 {
71997 powl(0, 0);
71998 ;
71999 return 0;
72000 }
72001 _ACEOF
72002 if ac_fn_cxx_try_compile "$LINENO"; then :
72003 glibcxx_cv_func_powl_use=yes
72004 else
72005 glibcxx_cv_func_powl_use=no
72006 fi
72007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72008 ac_ext=c
72009 ac_cpp='$CPP $CPPFLAGS'
72010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72013
72014
72015 fi
72016
72017 fi
72018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72019 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72020
72021 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72022 for ac_func in powl
72023 do :
72024 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72025 if test "x$ac_cv_func_powl" = xyes; then :
72026 cat >>confdefs.h <<_ACEOF
72027 #define HAVE_POWL 1
72028 _ACEOF
72029
72030 fi
72031 done
72032
72033 else
72034
72035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72036 $as_echo_n "checking for _powl declaration... " >&6; }
72037 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72038 if ${glibcxx_cv_func__powl_use+:} false; then :
72039 $as_echo_n "(cached) " >&6
72040 else
72041
72042
72043 ac_ext=cpp
72044 ac_cpp='$CXXCPP $CPPFLAGS'
72045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72048
72049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72050 /* end confdefs.h. */
72051 #include <math.h>
72052 int
72053 main ()
72054 {
72055 _powl(0, 0);
72056 ;
72057 return 0;
72058 }
72059 _ACEOF
72060 if ac_fn_cxx_try_compile "$LINENO"; then :
72061 glibcxx_cv_func__powl_use=yes
72062 else
72063 glibcxx_cv_func__powl_use=no
72064 fi
72065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72066 ac_ext=c
72067 ac_cpp='$CPP $CPPFLAGS'
72068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72071
72072
72073 fi
72074
72075 fi
72076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72077 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72078
72079 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72080 for ac_func in _powl
72081 do :
72082 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72083 if test "x$ac_cv_func__powl" = xyes; then :
72084 cat >>confdefs.h <<_ACEOF
72085 #define HAVE__POWL 1
72086 _ACEOF
72087
72088 fi
72089 done
72090
72091 fi
72092 fi
72093
72094
72095
72096
72097
72098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72099 $as_echo_n "checking for sqrtl declaration... " >&6; }
72100 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72101 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72102 $as_echo_n "(cached) " >&6
72103 else
72104
72105
72106 ac_ext=cpp
72107 ac_cpp='$CXXCPP $CPPFLAGS'
72108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72111
72112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72113 /* end confdefs.h. */
72114 #include <math.h>
72115 #ifdef HAVE_IEEEFP_H
72116 #include <ieeefp.h>
72117 #endif
72118
72119 int
72120 main ()
72121 {
72122 sqrtl(0);
72123 ;
72124 return 0;
72125 }
72126 _ACEOF
72127 if ac_fn_cxx_try_compile "$LINENO"; then :
72128 glibcxx_cv_func_sqrtl_use=yes
72129 else
72130 glibcxx_cv_func_sqrtl_use=no
72131 fi
72132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72133 ac_ext=c
72134 ac_cpp='$CPP $CPPFLAGS'
72135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72138
72139
72140 fi
72141
72142 fi
72143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72144 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72145
72146 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72147 for ac_func in sqrtl
72148 do :
72149 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72150 if test "x$ac_cv_func_sqrtl" = xyes; then :
72151 cat >>confdefs.h <<_ACEOF
72152 #define HAVE_SQRTL 1
72153 _ACEOF
72154
72155 fi
72156 done
72157
72158 else
72159
72160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72161 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72162 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72163 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72164 $as_echo_n "(cached) " >&6
72165 else
72166
72167
72168 ac_ext=cpp
72169 ac_cpp='$CXXCPP $CPPFLAGS'
72170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72173
72174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72175 /* end confdefs.h. */
72176 #include <math.h>
72177 #ifdef HAVE_IEEEFP_H
72178 #include <ieeefp.h>
72179 #endif
72180
72181 int
72182 main ()
72183 {
72184 _sqrtl(0);
72185 ;
72186 return 0;
72187 }
72188 _ACEOF
72189 if ac_fn_cxx_try_compile "$LINENO"; then :
72190 glibcxx_cv_func__sqrtl_use=yes
72191 else
72192 glibcxx_cv_func__sqrtl_use=no
72193 fi
72194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72195 ac_ext=c
72196 ac_cpp='$CPP $CPPFLAGS'
72197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72200
72201
72202 fi
72203
72204 fi
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72206 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72207
72208 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72209 for ac_func in _sqrtl
72210 do :
72211 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72212 if test "x$ac_cv_func__sqrtl" = xyes; then :
72213 cat >>confdefs.h <<_ACEOF
72214 #define HAVE__SQRTL 1
72215 _ACEOF
72216
72217 fi
72218 done
72219
72220 fi
72221 fi
72222
72223
72224
72225
72226
72227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72228 $as_echo_n "checking for sincosl declaration... " >&6; }
72229 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72230 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72231 $as_echo_n "(cached) " >&6
72232 else
72233
72234
72235 ac_ext=cpp
72236 ac_cpp='$CXXCPP $CPPFLAGS'
72237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72240
72241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72242 /* end confdefs.h. */
72243 #include <math.h>
72244 int
72245 main ()
72246 {
72247 sincosl(0, 0, 0);
72248 ;
72249 return 0;
72250 }
72251 _ACEOF
72252 if ac_fn_cxx_try_compile "$LINENO"; then :
72253 glibcxx_cv_func_sincosl_use=yes
72254 else
72255 glibcxx_cv_func_sincosl_use=no
72256 fi
72257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72258 ac_ext=c
72259 ac_cpp='$CPP $CPPFLAGS'
72260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72263
72264
72265 fi
72266
72267 fi
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72269 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72270
72271 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72272 for ac_func in sincosl
72273 do :
72274 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72275 if test "x$ac_cv_func_sincosl" = xyes; then :
72276 cat >>confdefs.h <<_ACEOF
72277 #define HAVE_SINCOSL 1
72278 _ACEOF
72279
72280 fi
72281 done
72282
72283 else
72284
72285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72286 $as_echo_n "checking for _sincosl declaration... " >&6; }
72287 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72288 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72289 $as_echo_n "(cached) " >&6
72290 else
72291
72292
72293 ac_ext=cpp
72294 ac_cpp='$CXXCPP $CPPFLAGS'
72295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72298
72299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72300 /* end confdefs.h. */
72301 #include <math.h>
72302 int
72303 main ()
72304 {
72305 _sincosl(0, 0, 0);
72306 ;
72307 return 0;
72308 }
72309 _ACEOF
72310 if ac_fn_cxx_try_compile "$LINENO"; then :
72311 glibcxx_cv_func__sincosl_use=yes
72312 else
72313 glibcxx_cv_func__sincosl_use=no
72314 fi
72315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72316 ac_ext=c
72317 ac_cpp='$CPP $CPPFLAGS'
72318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72321
72322
72323 fi
72324
72325 fi
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72327 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72328
72329 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72330 for ac_func in _sincosl
72331 do :
72332 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72333 if test "x$ac_cv_func__sincosl" = xyes; then :
72334 cat >>confdefs.h <<_ACEOF
72335 #define HAVE__SINCOSL 1
72336 _ACEOF
72337
72338 fi
72339 done
72340
72341 fi
72342 fi
72343
72344
72345
72346
72347
72348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72349 $as_echo_n "checking for finitel declaration... " >&6; }
72350 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72351 if ${glibcxx_cv_func_finitel_use+:} false; then :
72352 $as_echo_n "(cached) " >&6
72353 else
72354
72355
72356 ac_ext=cpp
72357 ac_cpp='$CXXCPP $CPPFLAGS'
72358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72361
72362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72363 /* end confdefs.h. */
72364 #include <math.h>
72365 #ifdef HAVE_IEEEFP_H
72366 #include <ieeefp.h>
72367 #endif
72368
72369 int
72370 main ()
72371 {
72372 finitel(0);
72373 ;
72374 return 0;
72375 }
72376 _ACEOF
72377 if ac_fn_cxx_try_compile "$LINENO"; then :
72378 glibcxx_cv_func_finitel_use=yes
72379 else
72380 glibcxx_cv_func_finitel_use=no
72381 fi
72382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72383 ac_ext=c
72384 ac_cpp='$CPP $CPPFLAGS'
72385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72388
72389
72390 fi
72391
72392 fi
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72394 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72395
72396 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72397 for ac_func in finitel
72398 do :
72399 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72400 if test "x$ac_cv_func_finitel" = xyes; then :
72401 cat >>confdefs.h <<_ACEOF
72402 #define HAVE_FINITEL 1
72403 _ACEOF
72404
72405 fi
72406 done
72407
72408 else
72409
72410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72411 $as_echo_n "checking for _finitel declaration... " >&6; }
72412 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72413 if ${glibcxx_cv_func__finitel_use+:} false; then :
72414 $as_echo_n "(cached) " >&6
72415 else
72416
72417
72418 ac_ext=cpp
72419 ac_cpp='$CXXCPP $CPPFLAGS'
72420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72423
72424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72425 /* end confdefs.h. */
72426 #include <math.h>
72427 #ifdef HAVE_IEEEFP_H
72428 #include <ieeefp.h>
72429 #endif
72430
72431 int
72432 main ()
72433 {
72434 _finitel(0);
72435 ;
72436 return 0;
72437 }
72438 _ACEOF
72439 if ac_fn_cxx_try_compile "$LINENO"; then :
72440 glibcxx_cv_func__finitel_use=yes
72441 else
72442 glibcxx_cv_func__finitel_use=no
72443 fi
72444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72445 ac_ext=c
72446 ac_cpp='$CPP $CPPFLAGS'
72447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72450
72451
72452 fi
72453
72454 fi
72455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72456 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72457
72458 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72459 for ac_func in _finitel
72460 do :
72461 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72462 if test "x$ac_cv_func__finitel" = xyes; then :
72463 cat >>confdefs.h <<_ACEOF
72464 #define HAVE__FINITEL 1
72465 _ACEOF
72466
72467 fi
72468 done
72469
72470 fi
72471 fi
72472
72473
72474
72475
72476 LIBS="$ac_save_LIBS"
72477 CXXFLAGS="$ac_save_CXXFLAGS"
72478
72479
72480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72481 ac_save_CXXFLAGS="$CXXFLAGS"
72482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72483
72484
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72486 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72487 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72488 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72489 $as_echo_n "(cached) " >&6
72490 else
72491
72492
72493 ac_ext=cpp
72494 ac_cpp='$CXXCPP $CPPFLAGS'
72495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72498
72499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72500 /* end confdefs.h. */
72501 #include <stdlib.h>
72502 int
72503 main ()
72504 {
72505 at_quick_exit(0);
72506 ;
72507 return 0;
72508 }
72509 _ACEOF
72510 if ac_fn_cxx_try_compile "$LINENO"; then :
72511 glibcxx_cv_func_at_quick_exit_use=yes
72512 else
72513 glibcxx_cv_func_at_quick_exit_use=no
72514 fi
72515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72516 ac_ext=c
72517 ac_cpp='$CPP $CPPFLAGS'
72518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72521
72522
72523 fi
72524
72525 fi
72526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72527 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72528 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72529 for ac_func in at_quick_exit
72530 do :
72531 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72532 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72533 cat >>confdefs.h <<_ACEOF
72534 #define HAVE_AT_QUICK_EXIT 1
72535 _ACEOF
72536
72537 fi
72538 done
72539
72540 fi
72541
72542
72543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72544 $as_echo_n "checking for quick_exit declaration... " >&6; }
72545 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72546 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72547 $as_echo_n "(cached) " >&6
72548 else
72549
72550
72551 ac_ext=cpp
72552 ac_cpp='$CXXCPP $CPPFLAGS'
72553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72556
72557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72558 /* end confdefs.h. */
72559 #include <stdlib.h>
72560 int
72561 main ()
72562 {
72563 quick_exit(0);
72564 ;
72565 return 0;
72566 }
72567 _ACEOF
72568 if ac_fn_cxx_try_compile "$LINENO"; then :
72569 glibcxx_cv_func_quick_exit_use=yes
72570 else
72571 glibcxx_cv_func_quick_exit_use=no
72572 fi
72573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72574 ac_ext=c
72575 ac_cpp='$CPP $CPPFLAGS'
72576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72579
72580
72581 fi
72582
72583 fi
72584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72585 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72586 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72587 for ac_func in quick_exit
72588 do :
72589 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72590 if test "x$ac_cv_func_quick_exit" = xyes; then :
72591 cat >>confdefs.h <<_ACEOF
72592 #define HAVE_QUICK_EXIT 1
72593 _ACEOF
72594
72595 fi
72596 done
72597
72598 fi
72599
72600
72601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72602 $as_echo_n "checking for strtold declaration... " >&6; }
72603 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72604 if ${glibcxx_cv_func_strtold_use+:} false; then :
72605 $as_echo_n "(cached) " >&6
72606 else
72607
72608
72609 ac_ext=cpp
72610 ac_cpp='$CXXCPP $CPPFLAGS'
72611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72614
72615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72616 /* end confdefs.h. */
72617 #include <stdlib.h>
72618 int
72619 main ()
72620 {
72621 strtold(0, 0);
72622 ;
72623 return 0;
72624 }
72625 _ACEOF
72626 if ac_fn_cxx_try_compile "$LINENO"; then :
72627 glibcxx_cv_func_strtold_use=yes
72628 else
72629 glibcxx_cv_func_strtold_use=no
72630 fi
72631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72632 ac_ext=c
72633 ac_cpp='$CPP $CPPFLAGS'
72634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72637
72638
72639 fi
72640
72641 fi
72642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72643 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72644 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72645 for ac_func in strtold
72646 do :
72647 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72648 if test "x$ac_cv_func_strtold" = xyes; then :
72649 cat >>confdefs.h <<_ACEOF
72650 #define HAVE_STRTOLD 1
72651 _ACEOF
72652
72653 fi
72654 done
72655
72656 fi
72657
72658
72659
72660
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72662 $as_echo_n "checking for strtof declaration... " >&6; }
72663 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72664 if ${glibcxx_cv_func_strtof_use+:} false; then :
72665 $as_echo_n "(cached) " >&6
72666 else
72667
72668
72669 ac_ext=cpp
72670 ac_cpp='$CXXCPP $CPPFLAGS'
72671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674
72675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72676 /* end confdefs.h. */
72677 #include <stdlib.h>
72678 int
72679 main ()
72680 {
72681 strtof(0, 0);
72682 ;
72683 return 0;
72684 }
72685 _ACEOF
72686 if ac_fn_cxx_try_compile "$LINENO"; then :
72687 glibcxx_cv_func_strtof_use=yes
72688 else
72689 glibcxx_cv_func_strtof_use=no
72690 fi
72691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72692 ac_ext=c
72693 ac_cpp='$CPP $CPPFLAGS'
72694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72697
72698
72699 fi
72700
72701 fi
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72703 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72704 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72705 for ac_func in strtof
72706 do :
72707 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72708 if test "x$ac_cv_func_strtof" = xyes; then :
72709 cat >>confdefs.h <<_ACEOF
72710 #define HAVE_STRTOF 1
72711 _ACEOF
72712
72713 fi
72714 done
72715
72716 fi
72717
72718
72719
72720
72721 CXXFLAGS="$ac_save_CXXFLAGS"
72722
72723 ;;
72724 *-tpf)
72725 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72726 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72727
72728 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72729
72730 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72731
72732 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72733
72734 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72735
72736 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72737
72738 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72739
72740 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72741
72742 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72743
72744 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72745
72746 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72747
72748 if test x"long_double_math_on_this_cpu" = x"yes"; then
72749 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72750
72751 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72752
72753 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72754
72755 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72756
72757 fi
72758 ;;
72759 *-*vms*)
72760 # Check for available headers.
72761 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72762
72763 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72764 ac_save_CXXFLAGS="$CXXFLAGS"
72765 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72766
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72768 $as_echo_n "checking for sin in -lm... " >&6; }
72769 if ${ac_cv_lib_m_sin+:} false; then :
72770 $as_echo_n "(cached) " >&6
72771 else
72772 ac_check_lib_save_LIBS=$LIBS
72773 LIBS="-lm $LIBS"
72774 if test x$gcc_no_link = xyes; then
72775 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72776 fi
72777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72778 /* end confdefs.h. */
72779
72780 /* Override any GCC internal prototype to avoid an error.
72781 Use char because int might match the return type of a GCC
72782 builtin and then its argument prototype would still apply. */
72783 #ifdef __cplusplus
72784 extern "C"
72785 #endif
72786 char sin ();
72787 int
72788 main ()
72789 {
72790 return sin ();
72791 ;
72792 return 0;
72793 }
72794 _ACEOF
72795 if ac_fn_c_try_link "$LINENO"; then :
72796 ac_cv_lib_m_sin=yes
72797 else
72798 ac_cv_lib_m_sin=no
72799 fi
72800 rm -f core conftest.err conftest.$ac_objext \
72801 conftest$ac_exeext conftest.$ac_ext
72802 LIBS=$ac_check_lib_save_LIBS
72803 fi
72804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72805 $as_echo "$ac_cv_lib_m_sin" >&6; }
72806 if test "x$ac_cv_lib_m_sin" = xyes; then :
72807 libm="-lm"
72808 fi
72809
72810 ac_save_LIBS="$LIBS"
72811 LIBS="$LIBS $libm"
72812
72813
72814
72815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72816 $as_echo_n "checking for isinf declaration... " >&6; }
72817 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72818 if ${glibcxx_cv_func_isinf_use+:} false; then :
72819 $as_echo_n "(cached) " >&6
72820 else
72821
72822
72823 ac_ext=cpp
72824 ac_cpp='$CXXCPP $CPPFLAGS'
72825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72828
72829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72830 /* end confdefs.h. */
72831 #include <math.h>
72832 #ifdef HAVE_IEEEFP_H
72833 #include <ieeefp.h>
72834 #endif
72835
72836 int
72837 main ()
72838 {
72839 isinf(0);
72840 ;
72841 return 0;
72842 }
72843 _ACEOF
72844 if ac_fn_cxx_try_compile "$LINENO"; then :
72845 glibcxx_cv_func_isinf_use=yes
72846 else
72847 glibcxx_cv_func_isinf_use=no
72848 fi
72849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72850 ac_ext=c
72851 ac_cpp='$CPP $CPPFLAGS'
72852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72855
72856
72857 fi
72858
72859 fi
72860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72861 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72862
72863 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72864 for ac_func in isinf
72865 do :
72866 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72867 if test "x$ac_cv_func_isinf" = xyes; then :
72868 cat >>confdefs.h <<_ACEOF
72869 #define HAVE_ISINF 1
72870 _ACEOF
72871
72872 fi
72873 done
72874
72875 else
72876
72877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72878 $as_echo_n "checking for _isinf declaration... " >&6; }
72879 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72880 if ${glibcxx_cv_func__isinf_use+:} false; then :
72881 $as_echo_n "(cached) " >&6
72882 else
72883
72884
72885 ac_ext=cpp
72886 ac_cpp='$CXXCPP $CPPFLAGS'
72887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72890
72891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72892 /* end confdefs.h. */
72893 #include <math.h>
72894 #ifdef HAVE_IEEEFP_H
72895 #include <ieeefp.h>
72896 #endif
72897
72898 int
72899 main ()
72900 {
72901 _isinf(0);
72902 ;
72903 return 0;
72904 }
72905 _ACEOF
72906 if ac_fn_cxx_try_compile "$LINENO"; then :
72907 glibcxx_cv_func__isinf_use=yes
72908 else
72909 glibcxx_cv_func__isinf_use=no
72910 fi
72911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72912 ac_ext=c
72913 ac_cpp='$CPP $CPPFLAGS'
72914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72917
72918
72919 fi
72920
72921 fi
72922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72923 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72924
72925 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72926 for ac_func in _isinf
72927 do :
72928 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72929 if test "x$ac_cv_func__isinf" = xyes; then :
72930 cat >>confdefs.h <<_ACEOF
72931 #define HAVE__ISINF 1
72932 _ACEOF
72933
72934 fi
72935 done
72936
72937 fi
72938 fi
72939
72940
72941
72942
72943
72944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72945 $as_echo_n "checking for isnan declaration... " >&6; }
72946 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72947 if ${glibcxx_cv_func_isnan_use+:} false; then :
72948 $as_echo_n "(cached) " >&6
72949 else
72950
72951
72952 ac_ext=cpp
72953 ac_cpp='$CXXCPP $CPPFLAGS'
72954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72957
72958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72959 /* end confdefs.h. */
72960 #include <math.h>
72961 #ifdef HAVE_IEEEFP_H
72962 #include <ieeefp.h>
72963 #endif
72964
72965 int
72966 main ()
72967 {
72968 isnan(0);
72969 ;
72970 return 0;
72971 }
72972 _ACEOF
72973 if ac_fn_cxx_try_compile "$LINENO"; then :
72974 glibcxx_cv_func_isnan_use=yes
72975 else
72976 glibcxx_cv_func_isnan_use=no
72977 fi
72978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72979 ac_ext=c
72980 ac_cpp='$CPP $CPPFLAGS'
72981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72984
72985
72986 fi
72987
72988 fi
72989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72990 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72991
72992 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72993 for ac_func in isnan
72994 do :
72995 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72996 if test "x$ac_cv_func_isnan" = xyes; then :
72997 cat >>confdefs.h <<_ACEOF
72998 #define HAVE_ISNAN 1
72999 _ACEOF
73000
73001 fi
73002 done
73003
73004 else
73005
73006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
73007 $as_echo_n "checking for _isnan declaration... " >&6; }
73008 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
73009 if ${glibcxx_cv_func__isnan_use+:} false; then :
73010 $as_echo_n "(cached) " >&6
73011 else
73012
73013
73014 ac_ext=cpp
73015 ac_cpp='$CXXCPP $CPPFLAGS'
73016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73019
73020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73021 /* end confdefs.h. */
73022 #include <math.h>
73023 #ifdef HAVE_IEEEFP_H
73024 #include <ieeefp.h>
73025 #endif
73026
73027 int
73028 main ()
73029 {
73030 _isnan(0);
73031 ;
73032 return 0;
73033 }
73034 _ACEOF
73035 if ac_fn_cxx_try_compile "$LINENO"; then :
73036 glibcxx_cv_func__isnan_use=yes
73037 else
73038 glibcxx_cv_func__isnan_use=no
73039 fi
73040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73041 ac_ext=c
73042 ac_cpp='$CPP $CPPFLAGS'
73043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73046
73047
73048 fi
73049
73050 fi
73051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73052 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73053
73054 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73055 for ac_func in _isnan
73056 do :
73057 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73058 if test "x$ac_cv_func__isnan" = xyes; then :
73059 cat >>confdefs.h <<_ACEOF
73060 #define HAVE__ISNAN 1
73061 _ACEOF
73062
73063 fi
73064 done
73065
73066 fi
73067 fi
73068
73069
73070
73071
73072
73073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73074 $as_echo_n "checking for finite declaration... " >&6; }
73075 if test x${glibcxx_cv_func_finite_use+set} != xset; then
73076 if ${glibcxx_cv_func_finite_use+:} false; then :
73077 $as_echo_n "(cached) " >&6
73078 else
73079
73080
73081 ac_ext=cpp
73082 ac_cpp='$CXXCPP $CPPFLAGS'
73083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73086
73087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73088 /* end confdefs.h. */
73089 #include <math.h>
73090 #ifdef HAVE_IEEEFP_H
73091 #include <ieeefp.h>
73092 #endif
73093
73094 int
73095 main ()
73096 {
73097 finite(0);
73098 ;
73099 return 0;
73100 }
73101 _ACEOF
73102 if ac_fn_cxx_try_compile "$LINENO"; then :
73103 glibcxx_cv_func_finite_use=yes
73104 else
73105 glibcxx_cv_func_finite_use=no
73106 fi
73107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73108 ac_ext=c
73109 ac_cpp='$CPP $CPPFLAGS'
73110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73113
73114
73115 fi
73116
73117 fi
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73119 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
73120
73121 if test x$glibcxx_cv_func_finite_use = x"yes"; then
73122 for ac_func in finite
73123 do :
73124 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73125 if test "x$ac_cv_func_finite" = xyes; then :
73126 cat >>confdefs.h <<_ACEOF
73127 #define HAVE_FINITE 1
73128 _ACEOF
73129
73130 fi
73131 done
73132
73133 else
73134
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73136 $as_echo_n "checking for _finite declaration... " >&6; }
73137 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73138 if ${glibcxx_cv_func__finite_use+:} false; then :
73139 $as_echo_n "(cached) " >&6
73140 else
73141
73142
73143 ac_ext=cpp
73144 ac_cpp='$CXXCPP $CPPFLAGS'
73145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73148
73149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73150 /* end confdefs.h. */
73151 #include <math.h>
73152 #ifdef HAVE_IEEEFP_H
73153 #include <ieeefp.h>
73154 #endif
73155
73156 int
73157 main ()
73158 {
73159 _finite(0);
73160 ;
73161 return 0;
73162 }
73163 _ACEOF
73164 if ac_fn_cxx_try_compile "$LINENO"; then :
73165 glibcxx_cv_func__finite_use=yes
73166 else
73167 glibcxx_cv_func__finite_use=no
73168 fi
73169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73170 ac_ext=c
73171 ac_cpp='$CPP $CPPFLAGS'
73172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73175
73176
73177 fi
73178
73179 fi
73180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73181 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73182
73183 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73184 for ac_func in _finite
73185 do :
73186 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73187 if test "x$ac_cv_func__finite" = xyes; then :
73188 cat >>confdefs.h <<_ACEOF
73189 #define HAVE__FINITE 1
73190 _ACEOF
73191
73192 fi
73193 done
73194
73195 fi
73196 fi
73197
73198
73199
73200
73201
73202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73203 $as_echo_n "checking for sincos declaration... " >&6; }
73204 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73205 if ${glibcxx_cv_func_sincos_use+:} false; then :
73206 $as_echo_n "(cached) " >&6
73207 else
73208
73209
73210 ac_ext=cpp
73211 ac_cpp='$CXXCPP $CPPFLAGS'
73212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73215
73216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73217 /* end confdefs.h. */
73218 #include <math.h>
73219 int
73220 main ()
73221 {
73222 sincos(0, 0, 0);
73223 ;
73224 return 0;
73225 }
73226 _ACEOF
73227 if ac_fn_cxx_try_compile "$LINENO"; then :
73228 glibcxx_cv_func_sincos_use=yes
73229 else
73230 glibcxx_cv_func_sincos_use=no
73231 fi
73232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73233 ac_ext=c
73234 ac_cpp='$CPP $CPPFLAGS'
73235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73238
73239
73240 fi
73241
73242 fi
73243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73244 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73245
73246 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73247 for ac_func in sincos
73248 do :
73249 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73250 if test "x$ac_cv_func_sincos" = xyes; then :
73251 cat >>confdefs.h <<_ACEOF
73252 #define HAVE_SINCOS 1
73253 _ACEOF
73254
73255 fi
73256 done
73257
73258 else
73259
73260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73261 $as_echo_n "checking for _sincos declaration... " >&6; }
73262 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73263 if ${glibcxx_cv_func__sincos_use+:} false; then :
73264 $as_echo_n "(cached) " >&6
73265 else
73266
73267
73268 ac_ext=cpp
73269 ac_cpp='$CXXCPP $CPPFLAGS'
73270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73273
73274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73275 /* end confdefs.h. */
73276 #include <math.h>
73277 int
73278 main ()
73279 {
73280 _sincos(0, 0, 0);
73281 ;
73282 return 0;
73283 }
73284 _ACEOF
73285 if ac_fn_cxx_try_compile "$LINENO"; then :
73286 glibcxx_cv_func__sincos_use=yes
73287 else
73288 glibcxx_cv_func__sincos_use=no
73289 fi
73290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73291 ac_ext=c
73292 ac_cpp='$CPP $CPPFLAGS'
73293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73296
73297
73298 fi
73299
73300 fi
73301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73302 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73303
73304 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73305 for ac_func in _sincos
73306 do :
73307 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73308 if test "x$ac_cv_func__sincos" = xyes; then :
73309 cat >>confdefs.h <<_ACEOF
73310 #define HAVE__SINCOS 1
73311 _ACEOF
73312
73313 fi
73314 done
73315
73316 fi
73317 fi
73318
73319
73320
73321
73322
73323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73324 $as_echo_n "checking for fpclass declaration... " >&6; }
73325 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73326 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73327 $as_echo_n "(cached) " >&6
73328 else
73329
73330
73331 ac_ext=cpp
73332 ac_cpp='$CXXCPP $CPPFLAGS'
73333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73336
73337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73338 /* end confdefs.h. */
73339 #include <math.h>
73340 #ifdef HAVE_IEEEFP_H
73341 #include <ieeefp.h>
73342 #endif
73343
73344 int
73345 main ()
73346 {
73347 fpclass(0);
73348 ;
73349 return 0;
73350 }
73351 _ACEOF
73352 if ac_fn_cxx_try_compile "$LINENO"; then :
73353 glibcxx_cv_func_fpclass_use=yes
73354 else
73355 glibcxx_cv_func_fpclass_use=no
73356 fi
73357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73358 ac_ext=c
73359 ac_cpp='$CPP $CPPFLAGS'
73360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73363
73364
73365 fi
73366
73367 fi
73368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73369 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73370
73371 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73372 for ac_func in fpclass
73373 do :
73374 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73375 if test "x$ac_cv_func_fpclass" = xyes; then :
73376 cat >>confdefs.h <<_ACEOF
73377 #define HAVE_FPCLASS 1
73378 _ACEOF
73379
73380 fi
73381 done
73382
73383 else
73384
73385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73386 $as_echo_n "checking for _fpclass declaration... " >&6; }
73387 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73388 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73389 $as_echo_n "(cached) " >&6
73390 else
73391
73392
73393 ac_ext=cpp
73394 ac_cpp='$CXXCPP $CPPFLAGS'
73395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73398
73399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73400 /* end confdefs.h. */
73401 #include <math.h>
73402 #ifdef HAVE_IEEEFP_H
73403 #include <ieeefp.h>
73404 #endif
73405
73406 int
73407 main ()
73408 {
73409 _fpclass(0);
73410 ;
73411 return 0;
73412 }
73413 _ACEOF
73414 if ac_fn_cxx_try_compile "$LINENO"; then :
73415 glibcxx_cv_func__fpclass_use=yes
73416 else
73417 glibcxx_cv_func__fpclass_use=no
73418 fi
73419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73420 ac_ext=c
73421 ac_cpp='$CPP $CPPFLAGS'
73422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73425
73426
73427 fi
73428
73429 fi
73430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73431 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73432
73433 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73434 for ac_func in _fpclass
73435 do :
73436 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73437 if test "x$ac_cv_func__fpclass" = xyes; then :
73438 cat >>confdefs.h <<_ACEOF
73439 #define HAVE__FPCLASS 1
73440 _ACEOF
73441
73442 fi
73443 done
73444
73445 fi
73446 fi
73447
73448
73449
73450
73451
73452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73453 $as_echo_n "checking for qfpclass declaration... " >&6; }
73454 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73455 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73456 $as_echo_n "(cached) " >&6
73457 else
73458
73459
73460 ac_ext=cpp
73461 ac_cpp='$CXXCPP $CPPFLAGS'
73462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73465
73466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73467 /* end confdefs.h. */
73468 #include <math.h>
73469 #ifdef HAVE_IEEEFP_H
73470 #include <ieeefp.h>
73471 #endif
73472
73473 int
73474 main ()
73475 {
73476 qfpclass(0);
73477 ;
73478 return 0;
73479 }
73480 _ACEOF
73481 if ac_fn_cxx_try_compile "$LINENO"; then :
73482 glibcxx_cv_func_qfpclass_use=yes
73483 else
73484 glibcxx_cv_func_qfpclass_use=no
73485 fi
73486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73487 ac_ext=c
73488 ac_cpp='$CPP $CPPFLAGS'
73489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73492
73493
73494 fi
73495
73496 fi
73497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73498 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73499
73500 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73501 for ac_func in qfpclass
73502 do :
73503 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73504 if test "x$ac_cv_func_qfpclass" = xyes; then :
73505 cat >>confdefs.h <<_ACEOF
73506 #define HAVE_QFPCLASS 1
73507 _ACEOF
73508
73509 fi
73510 done
73511
73512 else
73513
73514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73515 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73516 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73517 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73518 $as_echo_n "(cached) " >&6
73519 else
73520
73521
73522 ac_ext=cpp
73523 ac_cpp='$CXXCPP $CPPFLAGS'
73524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73527
73528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73529 /* end confdefs.h. */
73530 #include <math.h>
73531 #ifdef HAVE_IEEEFP_H
73532 #include <ieeefp.h>
73533 #endif
73534
73535 int
73536 main ()
73537 {
73538 _qfpclass(0);
73539 ;
73540 return 0;
73541 }
73542 _ACEOF
73543 if ac_fn_cxx_try_compile "$LINENO"; then :
73544 glibcxx_cv_func__qfpclass_use=yes
73545 else
73546 glibcxx_cv_func__qfpclass_use=no
73547 fi
73548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73549 ac_ext=c
73550 ac_cpp='$CPP $CPPFLAGS'
73551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73554
73555
73556 fi
73557
73558 fi
73559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73560 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73561
73562 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73563 for ac_func in _qfpclass
73564 do :
73565 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73566 if test "x$ac_cv_func__qfpclass" = xyes; then :
73567 cat >>confdefs.h <<_ACEOF
73568 #define HAVE__QFPCLASS 1
73569 _ACEOF
73570
73571 fi
73572 done
73573
73574 fi
73575 fi
73576
73577
73578
73579
73580
73581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73582 $as_echo_n "checking for hypot declaration... " >&6; }
73583 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73584 if ${glibcxx_cv_func_hypot_use+:} false; then :
73585 $as_echo_n "(cached) " >&6
73586 else
73587
73588
73589 ac_ext=cpp
73590 ac_cpp='$CXXCPP $CPPFLAGS'
73591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73594
73595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73596 /* end confdefs.h. */
73597 #include <math.h>
73598 int
73599 main ()
73600 {
73601 hypot(0, 0);
73602 ;
73603 return 0;
73604 }
73605 _ACEOF
73606 if ac_fn_cxx_try_compile "$LINENO"; then :
73607 glibcxx_cv_func_hypot_use=yes
73608 else
73609 glibcxx_cv_func_hypot_use=no
73610 fi
73611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73612 ac_ext=c
73613 ac_cpp='$CPP $CPPFLAGS'
73614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73617
73618
73619 fi
73620
73621 fi
73622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73623 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73624
73625 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73626 for ac_func in hypot
73627 do :
73628 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73629 if test "x$ac_cv_func_hypot" = xyes; then :
73630 cat >>confdefs.h <<_ACEOF
73631 #define HAVE_HYPOT 1
73632 _ACEOF
73633
73634 fi
73635 done
73636
73637 else
73638
73639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73640 $as_echo_n "checking for _hypot declaration... " >&6; }
73641 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73642 if ${glibcxx_cv_func__hypot_use+:} false; then :
73643 $as_echo_n "(cached) " >&6
73644 else
73645
73646
73647 ac_ext=cpp
73648 ac_cpp='$CXXCPP $CPPFLAGS'
73649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73652
73653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73654 /* end confdefs.h. */
73655 #include <math.h>
73656 int
73657 main ()
73658 {
73659 _hypot(0, 0);
73660 ;
73661 return 0;
73662 }
73663 _ACEOF
73664 if ac_fn_cxx_try_compile "$LINENO"; then :
73665 glibcxx_cv_func__hypot_use=yes
73666 else
73667 glibcxx_cv_func__hypot_use=no
73668 fi
73669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73675
73676
73677 fi
73678
73679 fi
73680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73681 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73682
73683 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73684 for ac_func in _hypot
73685 do :
73686 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73687 if test "x$ac_cv_func__hypot" = xyes; then :
73688 cat >>confdefs.h <<_ACEOF
73689 #define HAVE__HYPOT 1
73690 _ACEOF
73691
73692 fi
73693 done
73694
73695 fi
73696 fi
73697
73698
73699
73700
73701
73702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73703 $as_echo_n "checking for float trig functions... " >&6; }
73704 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73705 $as_echo_n "(cached) " >&6
73706 else
73707
73708
73709 ac_ext=cpp
73710 ac_cpp='$CXXCPP $CPPFLAGS'
73711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73714
73715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73716 /* end confdefs.h. */
73717 #include <math.h>
73718 int
73719 main ()
73720 {
73721 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73722 ;
73723 return 0;
73724 }
73725 _ACEOF
73726 if ac_fn_cxx_try_compile "$LINENO"; then :
73727 glibcxx_cv_func_float_trig_use=yes
73728 else
73729 glibcxx_cv_func_float_trig_use=no
73730 fi
73731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73732 ac_ext=c
73733 ac_cpp='$CPP $CPPFLAGS'
73734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73737
73738 fi
73739
73740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73741 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73742 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73743 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73744 do :
73745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73747 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73748 cat >>confdefs.h <<_ACEOF
73749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73750 _ACEOF
73751
73752 fi
73753 done
73754
73755 else
73756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73757 $as_echo_n "checking for _float trig functions... " >&6; }
73758 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73759 $as_echo_n "(cached) " >&6
73760 else
73761
73762
73763 ac_ext=cpp
73764 ac_cpp='$CXXCPP $CPPFLAGS'
73765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73768
73769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73770 /* end confdefs.h. */
73771 #include <math.h>
73772 int
73773 main ()
73774 {
73775 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73776 ;
73777 return 0;
73778 }
73779 _ACEOF
73780 if ac_fn_cxx_try_compile "$LINENO"; then :
73781 glibcxx_cv_func__float_trig_use=yes
73782 else
73783 glibcxx_cv_func__float_trig_use=no
73784 fi
73785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73786 ac_ext=c
73787 ac_cpp='$CPP $CPPFLAGS'
73788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73791
73792 fi
73793
73794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73795 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73796 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73797 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73798 do :
73799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73801 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73802 cat >>confdefs.h <<_ACEOF
73803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73804 _ACEOF
73805
73806 fi
73807 done
73808
73809 fi
73810 fi
73811
73812
73813
73814
73815
73816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73817 $as_echo_n "checking for float round functions... " >&6; }
73818 if ${glibcxx_cv_func_float_round_use+:} false; then :
73819 $as_echo_n "(cached) " >&6
73820 else
73821
73822
73823 ac_ext=cpp
73824 ac_cpp='$CXXCPP $CPPFLAGS'
73825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73828
73829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73830 /* end confdefs.h. */
73831 #include <math.h>
73832 int
73833 main ()
73834 {
73835 ceilf (0); floorf (0);
73836 ;
73837 return 0;
73838 }
73839 _ACEOF
73840 if ac_fn_cxx_try_compile "$LINENO"; then :
73841 glibcxx_cv_func_float_round_use=yes
73842 else
73843 glibcxx_cv_func_float_round_use=no
73844 fi
73845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73846 ac_ext=c
73847 ac_cpp='$CPP $CPPFLAGS'
73848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73851
73852 fi
73853
73854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73855 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73856 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73857 for ac_func in ceilf floorf
73858 do :
73859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73862 cat >>confdefs.h <<_ACEOF
73863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73864 _ACEOF
73865
73866 fi
73867 done
73868
73869 else
73870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73871 $as_echo_n "checking for _float round functions... " >&6; }
73872 if ${glibcxx_cv_func__float_round_use+:} false; then :
73873 $as_echo_n "(cached) " >&6
73874 else
73875
73876
73877 ac_ext=cpp
73878 ac_cpp='$CXXCPP $CPPFLAGS'
73879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73882
73883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73884 /* end confdefs.h. */
73885 #include <math.h>
73886 int
73887 main ()
73888 {
73889 _ceilf (0); _floorf (0);
73890 ;
73891 return 0;
73892 }
73893 _ACEOF
73894 if ac_fn_cxx_try_compile "$LINENO"; then :
73895 glibcxx_cv_func__float_round_use=yes
73896 else
73897 glibcxx_cv_func__float_round_use=no
73898 fi
73899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73900 ac_ext=c
73901 ac_cpp='$CPP $CPPFLAGS'
73902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73905
73906 fi
73907
73908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73909 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73910 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73911 for ac_func in _ceilf _floorf
73912 do :
73913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73916 cat >>confdefs.h <<_ACEOF
73917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73918 _ACEOF
73919
73920 fi
73921 done
73922
73923 fi
73924 fi
73925
73926
73927
73928
73929
73930
73931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73932 $as_echo_n "checking for expf declaration... " >&6; }
73933 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73934 if ${glibcxx_cv_func_expf_use+:} false; then :
73935 $as_echo_n "(cached) " >&6
73936 else
73937
73938
73939 ac_ext=cpp
73940 ac_cpp='$CXXCPP $CPPFLAGS'
73941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73944
73945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73946 /* end confdefs.h. */
73947 #include <math.h>
73948 #ifdef HAVE_IEEEFP_H
73949 #include <ieeefp.h>
73950 #endif
73951
73952 int
73953 main ()
73954 {
73955 expf(0);
73956 ;
73957 return 0;
73958 }
73959 _ACEOF
73960 if ac_fn_cxx_try_compile "$LINENO"; then :
73961 glibcxx_cv_func_expf_use=yes
73962 else
73963 glibcxx_cv_func_expf_use=no
73964 fi
73965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73966 ac_ext=c
73967 ac_cpp='$CPP $CPPFLAGS'
73968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73971
73972
73973 fi
73974
73975 fi
73976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73977 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73978
73979 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73980 for ac_func in expf
73981 do :
73982 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73983 if test "x$ac_cv_func_expf" = xyes; then :
73984 cat >>confdefs.h <<_ACEOF
73985 #define HAVE_EXPF 1
73986 _ACEOF
73987
73988 fi
73989 done
73990
73991 else
73992
73993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73994 $as_echo_n "checking for _expf declaration... " >&6; }
73995 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73996 if ${glibcxx_cv_func__expf_use+:} false; then :
73997 $as_echo_n "(cached) " >&6
73998 else
73999
74000
74001 ac_ext=cpp
74002 ac_cpp='$CXXCPP $CPPFLAGS'
74003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74006
74007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74008 /* end confdefs.h. */
74009 #include <math.h>
74010 #ifdef HAVE_IEEEFP_H
74011 #include <ieeefp.h>
74012 #endif
74013
74014 int
74015 main ()
74016 {
74017 _expf(0);
74018 ;
74019 return 0;
74020 }
74021 _ACEOF
74022 if ac_fn_cxx_try_compile "$LINENO"; then :
74023 glibcxx_cv_func__expf_use=yes
74024 else
74025 glibcxx_cv_func__expf_use=no
74026 fi
74027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74028 ac_ext=c
74029 ac_cpp='$CPP $CPPFLAGS'
74030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74033
74034
74035 fi
74036
74037 fi
74038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
74039 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
74040
74041 if test x$glibcxx_cv_func__expf_use = x"yes"; then
74042 for ac_func in _expf
74043 do :
74044 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
74045 if test "x$ac_cv_func__expf" = xyes; then :
74046 cat >>confdefs.h <<_ACEOF
74047 #define HAVE__EXPF 1
74048 _ACEOF
74049
74050 fi
74051 done
74052
74053 fi
74054 fi
74055
74056
74057
74058
74059
74060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74061 $as_echo_n "checking for isnanf declaration... " >&6; }
74062 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74063 if ${glibcxx_cv_func_isnanf_use+:} false; then :
74064 $as_echo_n "(cached) " >&6
74065 else
74066
74067
74068 ac_ext=cpp
74069 ac_cpp='$CXXCPP $CPPFLAGS'
74070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74073
74074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74075 /* end confdefs.h. */
74076 #include <math.h>
74077 #ifdef HAVE_IEEEFP_H
74078 #include <ieeefp.h>
74079 #endif
74080
74081 int
74082 main ()
74083 {
74084 isnanf(0);
74085 ;
74086 return 0;
74087 }
74088 _ACEOF
74089 if ac_fn_cxx_try_compile "$LINENO"; then :
74090 glibcxx_cv_func_isnanf_use=yes
74091 else
74092 glibcxx_cv_func_isnanf_use=no
74093 fi
74094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74095 ac_ext=c
74096 ac_cpp='$CPP $CPPFLAGS'
74097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74100
74101
74102 fi
74103
74104 fi
74105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74106 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74107
74108 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74109 for ac_func in isnanf
74110 do :
74111 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74112 if test "x$ac_cv_func_isnanf" = xyes; then :
74113 cat >>confdefs.h <<_ACEOF
74114 #define HAVE_ISNANF 1
74115 _ACEOF
74116
74117 fi
74118 done
74119
74120 else
74121
74122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74123 $as_echo_n "checking for _isnanf declaration... " >&6; }
74124 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74125 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74126 $as_echo_n "(cached) " >&6
74127 else
74128
74129
74130 ac_ext=cpp
74131 ac_cpp='$CXXCPP $CPPFLAGS'
74132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74135
74136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74137 /* end confdefs.h. */
74138 #include <math.h>
74139 #ifdef HAVE_IEEEFP_H
74140 #include <ieeefp.h>
74141 #endif
74142
74143 int
74144 main ()
74145 {
74146 _isnanf(0);
74147 ;
74148 return 0;
74149 }
74150 _ACEOF
74151 if ac_fn_cxx_try_compile "$LINENO"; then :
74152 glibcxx_cv_func__isnanf_use=yes
74153 else
74154 glibcxx_cv_func__isnanf_use=no
74155 fi
74156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74157 ac_ext=c
74158 ac_cpp='$CPP $CPPFLAGS'
74159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74162
74163
74164 fi
74165
74166 fi
74167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74168 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74169
74170 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74171 for ac_func in _isnanf
74172 do :
74173 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74174 if test "x$ac_cv_func__isnanf" = xyes; then :
74175 cat >>confdefs.h <<_ACEOF
74176 #define HAVE__ISNANF 1
74177 _ACEOF
74178
74179 fi
74180 done
74181
74182 fi
74183 fi
74184
74185
74186
74187
74188
74189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74190 $as_echo_n "checking for isinff declaration... " >&6; }
74191 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74192 if ${glibcxx_cv_func_isinff_use+:} false; then :
74193 $as_echo_n "(cached) " >&6
74194 else
74195
74196
74197 ac_ext=cpp
74198 ac_cpp='$CXXCPP $CPPFLAGS'
74199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74202
74203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74204 /* end confdefs.h. */
74205 #include <math.h>
74206 #ifdef HAVE_IEEEFP_H
74207 #include <ieeefp.h>
74208 #endif
74209
74210 int
74211 main ()
74212 {
74213 isinff(0);
74214 ;
74215 return 0;
74216 }
74217 _ACEOF
74218 if ac_fn_cxx_try_compile "$LINENO"; then :
74219 glibcxx_cv_func_isinff_use=yes
74220 else
74221 glibcxx_cv_func_isinff_use=no
74222 fi
74223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74224 ac_ext=c
74225 ac_cpp='$CPP $CPPFLAGS'
74226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74229
74230
74231 fi
74232
74233 fi
74234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74235 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74236
74237 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74238 for ac_func in isinff
74239 do :
74240 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74241 if test "x$ac_cv_func_isinff" = xyes; then :
74242 cat >>confdefs.h <<_ACEOF
74243 #define HAVE_ISINFF 1
74244 _ACEOF
74245
74246 fi
74247 done
74248
74249 else
74250
74251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74252 $as_echo_n "checking for _isinff declaration... " >&6; }
74253 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74254 if ${glibcxx_cv_func__isinff_use+:} false; then :
74255 $as_echo_n "(cached) " >&6
74256 else
74257
74258
74259 ac_ext=cpp
74260 ac_cpp='$CXXCPP $CPPFLAGS'
74261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74264
74265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74266 /* end confdefs.h. */
74267 #include <math.h>
74268 #ifdef HAVE_IEEEFP_H
74269 #include <ieeefp.h>
74270 #endif
74271
74272 int
74273 main ()
74274 {
74275 _isinff(0);
74276 ;
74277 return 0;
74278 }
74279 _ACEOF
74280 if ac_fn_cxx_try_compile "$LINENO"; then :
74281 glibcxx_cv_func__isinff_use=yes
74282 else
74283 glibcxx_cv_func__isinff_use=no
74284 fi
74285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74286 ac_ext=c
74287 ac_cpp='$CPP $CPPFLAGS'
74288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74291
74292
74293 fi
74294
74295 fi
74296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74297 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74298
74299 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74300 for ac_func in _isinff
74301 do :
74302 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74303 if test "x$ac_cv_func__isinff" = xyes; then :
74304 cat >>confdefs.h <<_ACEOF
74305 #define HAVE__ISINFF 1
74306 _ACEOF
74307
74308 fi
74309 done
74310
74311 fi
74312 fi
74313
74314
74315
74316
74317
74318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74319 $as_echo_n "checking for atan2f declaration... " >&6; }
74320 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74321 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74322 $as_echo_n "(cached) " >&6
74323 else
74324
74325
74326 ac_ext=cpp
74327 ac_cpp='$CXXCPP $CPPFLAGS'
74328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74331
74332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74333 /* end confdefs.h. */
74334 #include <math.h>
74335 int
74336 main ()
74337 {
74338 atan2f(0, 0);
74339 ;
74340 return 0;
74341 }
74342 _ACEOF
74343 if ac_fn_cxx_try_compile "$LINENO"; then :
74344 glibcxx_cv_func_atan2f_use=yes
74345 else
74346 glibcxx_cv_func_atan2f_use=no
74347 fi
74348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74349 ac_ext=c
74350 ac_cpp='$CPP $CPPFLAGS'
74351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74354
74355
74356 fi
74357
74358 fi
74359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74360 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74361
74362 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74363 for ac_func in atan2f
74364 do :
74365 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74366 if test "x$ac_cv_func_atan2f" = xyes; then :
74367 cat >>confdefs.h <<_ACEOF
74368 #define HAVE_ATAN2F 1
74369 _ACEOF
74370
74371 fi
74372 done
74373
74374 else
74375
74376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74377 $as_echo_n "checking for _atan2f declaration... " >&6; }
74378 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74379 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74380 $as_echo_n "(cached) " >&6
74381 else
74382
74383
74384 ac_ext=cpp
74385 ac_cpp='$CXXCPP $CPPFLAGS'
74386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74389
74390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74391 /* end confdefs.h. */
74392 #include <math.h>
74393 int
74394 main ()
74395 {
74396 _atan2f(0, 0);
74397 ;
74398 return 0;
74399 }
74400 _ACEOF
74401 if ac_fn_cxx_try_compile "$LINENO"; then :
74402 glibcxx_cv_func__atan2f_use=yes
74403 else
74404 glibcxx_cv_func__atan2f_use=no
74405 fi
74406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74407 ac_ext=c
74408 ac_cpp='$CPP $CPPFLAGS'
74409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74412
74413
74414 fi
74415
74416 fi
74417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74418 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74419
74420 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74421 for ac_func in _atan2f
74422 do :
74423 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74424 if test "x$ac_cv_func__atan2f" = xyes; then :
74425 cat >>confdefs.h <<_ACEOF
74426 #define HAVE__ATAN2F 1
74427 _ACEOF
74428
74429 fi
74430 done
74431
74432 fi
74433 fi
74434
74435
74436
74437
74438
74439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74440 $as_echo_n "checking for fabsf declaration... " >&6; }
74441 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74442 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74443 $as_echo_n "(cached) " >&6
74444 else
74445
74446
74447 ac_ext=cpp
74448 ac_cpp='$CXXCPP $CPPFLAGS'
74449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74452
74453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74454 /* end confdefs.h. */
74455 #include <math.h>
74456 #ifdef HAVE_IEEEFP_H
74457 #include <ieeefp.h>
74458 #endif
74459
74460 int
74461 main ()
74462 {
74463 fabsf(0);
74464 ;
74465 return 0;
74466 }
74467 _ACEOF
74468 if ac_fn_cxx_try_compile "$LINENO"; then :
74469 glibcxx_cv_func_fabsf_use=yes
74470 else
74471 glibcxx_cv_func_fabsf_use=no
74472 fi
74473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74474 ac_ext=c
74475 ac_cpp='$CPP $CPPFLAGS'
74476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74479
74480
74481 fi
74482
74483 fi
74484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74485 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74486
74487 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74488 for ac_func in fabsf
74489 do :
74490 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74491 if test "x$ac_cv_func_fabsf" = xyes; then :
74492 cat >>confdefs.h <<_ACEOF
74493 #define HAVE_FABSF 1
74494 _ACEOF
74495
74496 fi
74497 done
74498
74499 else
74500
74501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74502 $as_echo_n "checking for _fabsf declaration... " >&6; }
74503 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74504 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74505 $as_echo_n "(cached) " >&6
74506 else
74507
74508
74509 ac_ext=cpp
74510 ac_cpp='$CXXCPP $CPPFLAGS'
74511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74514
74515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74516 /* end confdefs.h. */
74517 #include <math.h>
74518 #ifdef HAVE_IEEEFP_H
74519 #include <ieeefp.h>
74520 #endif
74521
74522 int
74523 main ()
74524 {
74525 _fabsf(0);
74526 ;
74527 return 0;
74528 }
74529 _ACEOF
74530 if ac_fn_cxx_try_compile "$LINENO"; then :
74531 glibcxx_cv_func__fabsf_use=yes
74532 else
74533 glibcxx_cv_func__fabsf_use=no
74534 fi
74535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74536 ac_ext=c
74537 ac_cpp='$CPP $CPPFLAGS'
74538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74541
74542
74543 fi
74544
74545 fi
74546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74547 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74548
74549 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74550 for ac_func in _fabsf
74551 do :
74552 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74553 if test "x$ac_cv_func__fabsf" = xyes; then :
74554 cat >>confdefs.h <<_ACEOF
74555 #define HAVE__FABSF 1
74556 _ACEOF
74557
74558 fi
74559 done
74560
74561 fi
74562 fi
74563
74564
74565
74566
74567
74568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74569 $as_echo_n "checking for fmodf declaration... " >&6; }
74570 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74571 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74572 $as_echo_n "(cached) " >&6
74573 else
74574
74575
74576 ac_ext=cpp
74577 ac_cpp='$CXXCPP $CPPFLAGS'
74578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74581
74582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74583 /* end confdefs.h. */
74584 #include <math.h>
74585 int
74586 main ()
74587 {
74588 fmodf(0, 0);
74589 ;
74590 return 0;
74591 }
74592 _ACEOF
74593 if ac_fn_cxx_try_compile "$LINENO"; then :
74594 glibcxx_cv_func_fmodf_use=yes
74595 else
74596 glibcxx_cv_func_fmodf_use=no
74597 fi
74598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74599 ac_ext=c
74600 ac_cpp='$CPP $CPPFLAGS'
74601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74604
74605
74606 fi
74607
74608 fi
74609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74610 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74611
74612 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74613 for ac_func in fmodf
74614 do :
74615 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74616 if test "x$ac_cv_func_fmodf" = xyes; then :
74617 cat >>confdefs.h <<_ACEOF
74618 #define HAVE_FMODF 1
74619 _ACEOF
74620
74621 fi
74622 done
74623
74624 else
74625
74626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74627 $as_echo_n "checking for _fmodf declaration... " >&6; }
74628 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74629 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74630 $as_echo_n "(cached) " >&6
74631 else
74632
74633
74634 ac_ext=cpp
74635 ac_cpp='$CXXCPP $CPPFLAGS'
74636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74639
74640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74641 /* end confdefs.h. */
74642 #include <math.h>
74643 int
74644 main ()
74645 {
74646 _fmodf(0, 0);
74647 ;
74648 return 0;
74649 }
74650 _ACEOF
74651 if ac_fn_cxx_try_compile "$LINENO"; then :
74652 glibcxx_cv_func__fmodf_use=yes
74653 else
74654 glibcxx_cv_func__fmodf_use=no
74655 fi
74656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74657 ac_ext=c
74658 ac_cpp='$CPP $CPPFLAGS'
74659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74662
74663
74664 fi
74665
74666 fi
74667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74668 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74669
74670 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74671 for ac_func in _fmodf
74672 do :
74673 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74674 if test "x$ac_cv_func__fmodf" = xyes; then :
74675 cat >>confdefs.h <<_ACEOF
74676 #define HAVE__FMODF 1
74677 _ACEOF
74678
74679 fi
74680 done
74681
74682 fi
74683 fi
74684
74685
74686
74687
74688
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74690 $as_echo_n "checking for frexpf declaration... " >&6; }
74691 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74692 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74693 $as_echo_n "(cached) " >&6
74694 else
74695
74696
74697 ac_ext=cpp
74698 ac_cpp='$CXXCPP $CPPFLAGS'
74699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74702
74703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74704 /* end confdefs.h. */
74705 #include <math.h>
74706 int
74707 main ()
74708 {
74709 frexpf(0, 0);
74710 ;
74711 return 0;
74712 }
74713 _ACEOF
74714 if ac_fn_cxx_try_compile "$LINENO"; then :
74715 glibcxx_cv_func_frexpf_use=yes
74716 else
74717 glibcxx_cv_func_frexpf_use=no
74718 fi
74719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74720 ac_ext=c
74721 ac_cpp='$CPP $CPPFLAGS'
74722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74725
74726
74727 fi
74728
74729 fi
74730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74731 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74732
74733 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74734 for ac_func in frexpf
74735 do :
74736 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74737 if test "x$ac_cv_func_frexpf" = xyes; then :
74738 cat >>confdefs.h <<_ACEOF
74739 #define HAVE_FREXPF 1
74740 _ACEOF
74741
74742 fi
74743 done
74744
74745 else
74746
74747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74748 $as_echo_n "checking for _frexpf declaration... " >&6; }
74749 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74750 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74751 $as_echo_n "(cached) " >&6
74752 else
74753
74754
74755 ac_ext=cpp
74756 ac_cpp='$CXXCPP $CPPFLAGS'
74757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74760
74761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74762 /* end confdefs.h. */
74763 #include <math.h>
74764 int
74765 main ()
74766 {
74767 _frexpf(0, 0);
74768 ;
74769 return 0;
74770 }
74771 _ACEOF
74772 if ac_fn_cxx_try_compile "$LINENO"; then :
74773 glibcxx_cv_func__frexpf_use=yes
74774 else
74775 glibcxx_cv_func__frexpf_use=no
74776 fi
74777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74778 ac_ext=c
74779 ac_cpp='$CPP $CPPFLAGS'
74780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74783
74784
74785 fi
74786
74787 fi
74788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74789 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74790
74791 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74792 for ac_func in _frexpf
74793 do :
74794 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74795 if test "x$ac_cv_func__frexpf" = xyes; then :
74796 cat >>confdefs.h <<_ACEOF
74797 #define HAVE__FREXPF 1
74798 _ACEOF
74799
74800 fi
74801 done
74802
74803 fi
74804 fi
74805
74806
74807
74808
74809
74810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74811 $as_echo_n "checking for hypotf declaration... " >&6; }
74812 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74813 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74814 $as_echo_n "(cached) " >&6
74815 else
74816
74817
74818 ac_ext=cpp
74819 ac_cpp='$CXXCPP $CPPFLAGS'
74820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74823
74824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74825 /* end confdefs.h. */
74826 #include <math.h>
74827 int
74828 main ()
74829 {
74830 hypotf(0, 0);
74831 ;
74832 return 0;
74833 }
74834 _ACEOF
74835 if ac_fn_cxx_try_compile "$LINENO"; then :
74836 glibcxx_cv_func_hypotf_use=yes
74837 else
74838 glibcxx_cv_func_hypotf_use=no
74839 fi
74840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74841 ac_ext=c
74842 ac_cpp='$CPP $CPPFLAGS'
74843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74846
74847
74848 fi
74849
74850 fi
74851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74852 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74853
74854 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74855 for ac_func in hypotf
74856 do :
74857 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74858 if test "x$ac_cv_func_hypotf" = xyes; then :
74859 cat >>confdefs.h <<_ACEOF
74860 #define HAVE_HYPOTF 1
74861 _ACEOF
74862
74863 fi
74864 done
74865
74866 else
74867
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74869 $as_echo_n "checking for _hypotf declaration... " >&6; }
74870 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74871 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74872 $as_echo_n "(cached) " >&6
74873 else
74874
74875
74876 ac_ext=cpp
74877 ac_cpp='$CXXCPP $CPPFLAGS'
74878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74881
74882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74883 /* end confdefs.h. */
74884 #include <math.h>
74885 int
74886 main ()
74887 {
74888 _hypotf(0, 0);
74889 ;
74890 return 0;
74891 }
74892 _ACEOF
74893 if ac_fn_cxx_try_compile "$LINENO"; then :
74894 glibcxx_cv_func__hypotf_use=yes
74895 else
74896 glibcxx_cv_func__hypotf_use=no
74897 fi
74898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74899 ac_ext=c
74900 ac_cpp='$CPP $CPPFLAGS'
74901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74904
74905
74906 fi
74907
74908 fi
74909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74910 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74911
74912 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74913 for ac_func in _hypotf
74914 do :
74915 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74916 if test "x$ac_cv_func__hypotf" = xyes; then :
74917 cat >>confdefs.h <<_ACEOF
74918 #define HAVE__HYPOTF 1
74919 _ACEOF
74920
74921 fi
74922 done
74923
74924 fi
74925 fi
74926
74927
74928
74929
74930
74931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74932 $as_echo_n "checking for ldexpf declaration... " >&6; }
74933 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74934 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74935 $as_echo_n "(cached) " >&6
74936 else
74937
74938
74939 ac_ext=cpp
74940 ac_cpp='$CXXCPP $CPPFLAGS'
74941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74944
74945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74946 /* end confdefs.h. */
74947 #include <math.h>
74948 int
74949 main ()
74950 {
74951 ldexpf(0, 0);
74952 ;
74953 return 0;
74954 }
74955 _ACEOF
74956 if ac_fn_cxx_try_compile "$LINENO"; then :
74957 glibcxx_cv_func_ldexpf_use=yes
74958 else
74959 glibcxx_cv_func_ldexpf_use=no
74960 fi
74961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74962 ac_ext=c
74963 ac_cpp='$CPP $CPPFLAGS'
74964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74967
74968
74969 fi
74970
74971 fi
74972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74973 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74974
74975 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74976 for ac_func in ldexpf
74977 do :
74978 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74979 if test "x$ac_cv_func_ldexpf" = xyes; then :
74980 cat >>confdefs.h <<_ACEOF
74981 #define HAVE_LDEXPF 1
74982 _ACEOF
74983
74984 fi
74985 done
74986
74987 else
74988
74989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74990 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74991 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74992 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
74993 $as_echo_n "(cached) " >&6
74994 else
74995
74996
74997 ac_ext=cpp
74998 ac_cpp='$CXXCPP $CPPFLAGS'
74999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75002
75003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75004 /* end confdefs.h. */
75005 #include <math.h>
75006 int
75007 main ()
75008 {
75009 _ldexpf(0, 0);
75010 ;
75011 return 0;
75012 }
75013 _ACEOF
75014 if ac_fn_cxx_try_compile "$LINENO"; then :
75015 glibcxx_cv_func__ldexpf_use=yes
75016 else
75017 glibcxx_cv_func__ldexpf_use=no
75018 fi
75019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75020 ac_ext=c
75021 ac_cpp='$CPP $CPPFLAGS'
75022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75025
75026
75027 fi
75028
75029 fi
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
75031 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
75032
75033 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
75034 for ac_func in _ldexpf
75035 do :
75036 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
75037 if test "x$ac_cv_func__ldexpf" = xyes; then :
75038 cat >>confdefs.h <<_ACEOF
75039 #define HAVE__LDEXPF 1
75040 _ACEOF
75041
75042 fi
75043 done
75044
75045 fi
75046 fi
75047
75048
75049
75050
75051
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75053 $as_echo_n "checking for logf declaration... " >&6; }
75054 if test x${glibcxx_cv_func_logf_use+set} != xset; then
75055 if ${glibcxx_cv_func_logf_use+:} false; then :
75056 $as_echo_n "(cached) " >&6
75057 else
75058
75059
75060 ac_ext=cpp
75061 ac_cpp='$CXXCPP $CPPFLAGS'
75062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75065
75066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75067 /* end confdefs.h. */
75068 #include <math.h>
75069 #ifdef HAVE_IEEEFP_H
75070 #include <ieeefp.h>
75071 #endif
75072
75073 int
75074 main ()
75075 {
75076 logf(0);
75077 ;
75078 return 0;
75079 }
75080 _ACEOF
75081 if ac_fn_cxx_try_compile "$LINENO"; then :
75082 glibcxx_cv_func_logf_use=yes
75083 else
75084 glibcxx_cv_func_logf_use=no
75085 fi
75086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75087 ac_ext=c
75088 ac_cpp='$CPP $CPPFLAGS'
75089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75092
75093
75094 fi
75095
75096 fi
75097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75098 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
75099
75100 if test x$glibcxx_cv_func_logf_use = x"yes"; then
75101 for ac_func in logf
75102 do :
75103 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75104 if test "x$ac_cv_func_logf" = xyes; then :
75105 cat >>confdefs.h <<_ACEOF
75106 #define HAVE_LOGF 1
75107 _ACEOF
75108
75109 fi
75110 done
75111
75112 else
75113
75114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75115 $as_echo_n "checking for _logf declaration... " >&6; }
75116 if test x${glibcxx_cv_func__logf_use+set} != xset; then
75117 if ${glibcxx_cv_func__logf_use+:} false; then :
75118 $as_echo_n "(cached) " >&6
75119 else
75120
75121
75122 ac_ext=cpp
75123 ac_cpp='$CXXCPP $CPPFLAGS'
75124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75127
75128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75129 /* end confdefs.h. */
75130 #include <math.h>
75131 #ifdef HAVE_IEEEFP_H
75132 #include <ieeefp.h>
75133 #endif
75134
75135 int
75136 main ()
75137 {
75138 _logf(0);
75139 ;
75140 return 0;
75141 }
75142 _ACEOF
75143 if ac_fn_cxx_try_compile "$LINENO"; then :
75144 glibcxx_cv_func__logf_use=yes
75145 else
75146 glibcxx_cv_func__logf_use=no
75147 fi
75148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75149 ac_ext=c
75150 ac_cpp='$CPP $CPPFLAGS'
75151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75154
75155
75156 fi
75157
75158 fi
75159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75160 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75161
75162 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75163 for ac_func in _logf
75164 do :
75165 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75166 if test "x$ac_cv_func__logf" = xyes; then :
75167 cat >>confdefs.h <<_ACEOF
75168 #define HAVE__LOGF 1
75169 _ACEOF
75170
75171 fi
75172 done
75173
75174 fi
75175 fi
75176
75177
75178
75179
75180
75181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75182 $as_echo_n "checking for log10f declaration... " >&6; }
75183 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75184 if ${glibcxx_cv_func_log10f_use+:} false; then :
75185 $as_echo_n "(cached) " >&6
75186 else
75187
75188
75189 ac_ext=cpp
75190 ac_cpp='$CXXCPP $CPPFLAGS'
75191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75194
75195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75196 /* end confdefs.h. */
75197 #include <math.h>
75198 #ifdef HAVE_IEEEFP_H
75199 #include <ieeefp.h>
75200 #endif
75201
75202 int
75203 main ()
75204 {
75205 log10f(0);
75206 ;
75207 return 0;
75208 }
75209 _ACEOF
75210 if ac_fn_cxx_try_compile "$LINENO"; then :
75211 glibcxx_cv_func_log10f_use=yes
75212 else
75213 glibcxx_cv_func_log10f_use=no
75214 fi
75215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75216 ac_ext=c
75217 ac_cpp='$CPP $CPPFLAGS'
75218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75221
75222
75223 fi
75224
75225 fi
75226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75227 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75228
75229 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75230 for ac_func in log10f
75231 do :
75232 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75233 if test "x$ac_cv_func_log10f" = xyes; then :
75234 cat >>confdefs.h <<_ACEOF
75235 #define HAVE_LOG10F 1
75236 _ACEOF
75237
75238 fi
75239 done
75240
75241 else
75242
75243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75244 $as_echo_n "checking for _log10f declaration... " >&6; }
75245 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75246 if ${glibcxx_cv_func__log10f_use+:} false; then :
75247 $as_echo_n "(cached) " >&6
75248 else
75249
75250
75251 ac_ext=cpp
75252 ac_cpp='$CXXCPP $CPPFLAGS'
75253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75256
75257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75258 /* end confdefs.h. */
75259 #include <math.h>
75260 #ifdef HAVE_IEEEFP_H
75261 #include <ieeefp.h>
75262 #endif
75263
75264 int
75265 main ()
75266 {
75267 _log10f(0);
75268 ;
75269 return 0;
75270 }
75271 _ACEOF
75272 if ac_fn_cxx_try_compile "$LINENO"; then :
75273 glibcxx_cv_func__log10f_use=yes
75274 else
75275 glibcxx_cv_func__log10f_use=no
75276 fi
75277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75278 ac_ext=c
75279 ac_cpp='$CPP $CPPFLAGS'
75280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75283
75284
75285 fi
75286
75287 fi
75288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75289 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75290
75291 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75292 for ac_func in _log10f
75293 do :
75294 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75295 if test "x$ac_cv_func__log10f" = xyes; then :
75296 cat >>confdefs.h <<_ACEOF
75297 #define HAVE__LOG10F 1
75298 _ACEOF
75299
75300 fi
75301 done
75302
75303 fi
75304 fi
75305
75306
75307
75308
75309
75310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75311 $as_echo_n "checking for modff declaration... " >&6; }
75312 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75313 if ${glibcxx_cv_func_modff_use+:} false; then :
75314 $as_echo_n "(cached) " >&6
75315 else
75316
75317
75318 ac_ext=cpp
75319 ac_cpp='$CXXCPP $CPPFLAGS'
75320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75323
75324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75325 /* end confdefs.h. */
75326 #include <math.h>
75327 int
75328 main ()
75329 {
75330 modff(0, 0);
75331 ;
75332 return 0;
75333 }
75334 _ACEOF
75335 if ac_fn_cxx_try_compile "$LINENO"; then :
75336 glibcxx_cv_func_modff_use=yes
75337 else
75338 glibcxx_cv_func_modff_use=no
75339 fi
75340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75341 ac_ext=c
75342 ac_cpp='$CPP $CPPFLAGS'
75343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75346
75347
75348 fi
75349
75350 fi
75351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75352 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75353
75354 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75355 for ac_func in modff
75356 do :
75357 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75358 if test "x$ac_cv_func_modff" = xyes; then :
75359 cat >>confdefs.h <<_ACEOF
75360 #define HAVE_MODFF 1
75361 _ACEOF
75362
75363 fi
75364 done
75365
75366 else
75367
75368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75369 $as_echo_n "checking for _modff declaration... " >&6; }
75370 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75371 if ${glibcxx_cv_func__modff_use+:} false; then :
75372 $as_echo_n "(cached) " >&6
75373 else
75374
75375
75376 ac_ext=cpp
75377 ac_cpp='$CXXCPP $CPPFLAGS'
75378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75381
75382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75383 /* end confdefs.h. */
75384 #include <math.h>
75385 int
75386 main ()
75387 {
75388 _modff(0, 0);
75389 ;
75390 return 0;
75391 }
75392 _ACEOF
75393 if ac_fn_cxx_try_compile "$LINENO"; then :
75394 glibcxx_cv_func__modff_use=yes
75395 else
75396 glibcxx_cv_func__modff_use=no
75397 fi
75398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75399 ac_ext=c
75400 ac_cpp='$CPP $CPPFLAGS'
75401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75404
75405
75406 fi
75407
75408 fi
75409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75410 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75411
75412 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75413 for ac_func in _modff
75414 do :
75415 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75416 if test "x$ac_cv_func__modff" = xyes; then :
75417 cat >>confdefs.h <<_ACEOF
75418 #define HAVE__MODFF 1
75419 _ACEOF
75420
75421 fi
75422 done
75423
75424 fi
75425 fi
75426
75427
75428
75429
75430
75431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75432 $as_echo_n "checking for modf declaration... " >&6; }
75433 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75434 if ${glibcxx_cv_func_modf_use+:} false; then :
75435 $as_echo_n "(cached) " >&6
75436 else
75437
75438
75439 ac_ext=cpp
75440 ac_cpp='$CXXCPP $CPPFLAGS'
75441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75444
75445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75446 /* end confdefs.h. */
75447 #include <math.h>
75448 int
75449 main ()
75450 {
75451 modf(0, 0);
75452 ;
75453 return 0;
75454 }
75455 _ACEOF
75456 if ac_fn_cxx_try_compile "$LINENO"; then :
75457 glibcxx_cv_func_modf_use=yes
75458 else
75459 glibcxx_cv_func_modf_use=no
75460 fi
75461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75462 ac_ext=c
75463 ac_cpp='$CPP $CPPFLAGS'
75464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75467
75468
75469 fi
75470
75471 fi
75472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75473 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75474
75475 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75476 for ac_func in modf
75477 do :
75478 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75479 if test "x$ac_cv_func_modf" = xyes; then :
75480 cat >>confdefs.h <<_ACEOF
75481 #define HAVE_MODF 1
75482 _ACEOF
75483
75484 fi
75485 done
75486
75487 else
75488
75489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75490 $as_echo_n "checking for _modf declaration... " >&6; }
75491 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75492 if ${glibcxx_cv_func__modf_use+:} false; then :
75493 $as_echo_n "(cached) " >&6
75494 else
75495
75496
75497 ac_ext=cpp
75498 ac_cpp='$CXXCPP $CPPFLAGS'
75499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75502
75503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75504 /* end confdefs.h. */
75505 #include <math.h>
75506 int
75507 main ()
75508 {
75509 _modf(0, 0);
75510 ;
75511 return 0;
75512 }
75513 _ACEOF
75514 if ac_fn_cxx_try_compile "$LINENO"; then :
75515 glibcxx_cv_func__modf_use=yes
75516 else
75517 glibcxx_cv_func__modf_use=no
75518 fi
75519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75520 ac_ext=c
75521 ac_cpp='$CPP $CPPFLAGS'
75522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75525
75526
75527 fi
75528
75529 fi
75530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75531 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75532
75533 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75534 for ac_func in _modf
75535 do :
75536 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75537 if test "x$ac_cv_func__modf" = xyes; then :
75538 cat >>confdefs.h <<_ACEOF
75539 #define HAVE__MODF 1
75540 _ACEOF
75541
75542 fi
75543 done
75544
75545 fi
75546 fi
75547
75548
75549
75550
75551
75552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75553 $as_echo_n "checking for powf declaration... " >&6; }
75554 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75555 if ${glibcxx_cv_func_powf_use+:} false; then :
75556 $as_echo_n "(cached) " >&6
75557 else
75558
75559
75560 ac_ext=cpp
75561 ac_cpp='$CXXCPP $CPPFLAGS'
75562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75565
75566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75567 /* end confdefs.h. */
75568 #include <math.h>
75569 int
75570 main ()
75571 {
75572 powf(0, 0);
75573 ;
75574 return 0;
75575 }
75576 _ACEOF
75577 if ac_fn_cxx_try_compile "$LINENO"; then :
75578 glibcxx_cv_func_powf_use=yes
75579 else
75580 glibcxx_cv_func_powf_use=no
75581 fi
75582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75583 ac_ext=c
75584 ac_cpp='$CPP $CPPFLAGS'
75585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75588
75589
75590 fi
75591
75592 fi
75593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75594 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75595
75596 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75597 for ac_func in powf
75598 do :
75599 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75600 if test "x$ac_cv_func_powf" = xyes; then :
75601 cat >>confdefs.h <<_ACEOF
75602 #define HAVE_POWF 1
75603 _ACEOF
75604
75605 fi
75606 done
75607
75608 else
75609
75610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75611 $as_echo_n "checking for _powf declaration... " >&6; }
75612 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75613 if ${glibcxx_cv_func__powf_use+:} false; then :
75614 $as_echo_n "(cached) " >&6
75615 else
75616
75617
75618 ac_ext=cpp
75619 ac_cpp='$CXXCPP $CPPFLAGS'
75620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75623
75624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75625 /* end confdefs.h. */
75626 #include <math.h>
75627 int
75628 main ()
75629 {
75630 _powf(0, 0);
75631 ;
75632 return 0;
75633 }
75634 _ACEOF
75635 if ac_fn_cxx_try_compile "$LINENO"; then :
75636 glibcxx_cv_func__powf_use=yes
75637 else
75638 glibcxx_cv_func__powf_use=no
75639 fi
75640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75641 ac_ext=c
75642 ac_cpp='$CPP $CPPFLAGS'
75643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75646
75647
75648 fi
75649
75650 fi
75651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75652 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75653
75654 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75655 for ac_func in _powf
75656 do :
75657 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75658 if test "x$ac_cv_func__powf" = xyes; then :
75659 cat >>confdefs.h <<_ACEOF
75660 #define HAVE__POWF 1
75661 _ACEOF
75662
75663 fi
75664 done
75665
75666 fi
75667 fi
75668
75669
75670
75671
75672
75673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75674 $as_echo_n "checking for sqrtf declaration... " >&6; }
75675 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75676 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75677 $as_echo_n "(cached) " >&6
75678 else
75679
75680
75681 ac_ext=cpp
75682 ac_cpp='$CXXCPP $CPPFLAGS'
75683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75686
75687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75688 /* end confdefs.h. */
75689 #include <math.h>
75690 #ifdef HAVE_IEEEFP_H
75691 #include <ieeefp.h>
75692 #endif
75693
75694 int
75695 main ()
75696 {
75697 sqrtf(0);
75698 ;
75699 return 0;
75700 }
75701 _ACEOF
75702 if ac_fn_cxx_try_compile "$LINENO"; then :
75703 glibcxx_cv_func_sqrtf_use=yes
75704 else
75705 glibcxx_cv_func_sqrtf_use=no
75706 fi
75707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75708 ac_ext=c
75709 ac_cpp='$CPP $CPPFLAGS'
75710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75713
75714
75715 fi
75716
75717 fi
75718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75719 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75720
75721 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75722 for ac_func in sqrtf
75723 do :
75724 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75725 if test "x$ac_cv_func_sqrtf" = xyes; then :
75726 cat >>confdefs.h <<_ACEOF
75727 #define HAVE_SQRTF 1
75728 _ACEOF
75729
75730 fi
75731 done
75732
75733 else
75734
75735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75736 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75737 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75738 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75739 $as_echo_n "(cached) " >&6
75740 else
75741
75742
75743 ac_ext=cpp
75744 ac_cpp='$CXXCPP $CPPFLAGS'
75745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75748
75749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75750 /* end confdefs.h. */
75751 #include <math.h>
75752 #ifdef HAVE_IEEEFP_H
75753 #include <ieeefp.h>
75754 #endif
75755
75756 int
75757 main ()
75758 {
75759 _sqrtf(0);
75760 ;
75761 return 0;
75762 }
75763 _ACEOF
75764 if ac_fn_cxx_try_compile "$LINENO"; then :
75765 glibcxx_cv_func__sqrtf_use=yes
75766 else
75767 glibcxx_cv_func__sqrtf_use=no
75768 fi
75769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75770 ac_ext=c
75771 ac_cpp='$CPP $CPPFLAGS'
75772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75775
75776
75777 fi
75778
75779 fi
75780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75781 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75782
75783 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75784 for ac_func in _sqrtf
75785 do :
75786 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75787 if test "x$ac_cv_func__sqrtf" = xyes; then :
75788 cat >>confdefs.h <<_ACEOF
75789 #define HAVE__SQRTF 1
75790 _ACEOF
75791
75792 fi
75793 done
75794
75795 fi
75796 fi
75797
75798
75799
75800
75801
75802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75803 $as_echo_n "checking for sincosf declaration... " >&6; }
75804 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75805 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75806 $as_echo_n "(cached) " >&6
75807 else
75808
75809
75810 ac_ext=cpp
75811 ac_cpp='$CXXCPP $CPPFLAGS'
75812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75815
75816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75817 /* end confdefs.h. */
75818 #include <math.h>
75819 int
75820 main ()
75821 {
75822 sincosf(0, 0, 0);
75823 ;
75824 return 0;
75825 }
75826 _ACEOF
75827 if ac_fn_cxx_try_compile "$LINENO"; then :
75828 glibcxx_cv_func_sincosf_use=yes
75829 else
75830 glibcxx_cv_func_sincosf_use=no
75831 fi
75832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75833 ac_ext=c
75834 ac_cpp='$CPP $CPPFLAGS'
75835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75838
75839
75840 fi
75841
75842 fi
75843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75844 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75845
75846 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75847 for ac_func in sincosf
75848 do :
75849 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75850 if test "x$ac_cv_func_sincosf" = xyes; then :
75851 cat >>confdefs.h <<_ACEOF
75852 #define HAVE_SINCOSF 1
75853 _ACEOF
75854
75855 fi
75856 done
75857
75858 else
75859
75860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75861 $as_echo_n "checking for _sincosf declaration... " >&6; }
75862 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75863 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75864 $as_echo_n "(cached) " >&6
75865 else
75866
75867
75868 ac_ext=cpp
75869 ac_cpp='$CXXCPP $CPPFLAGS'
75870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75873
75874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75875 /* end confdefs.h. */
75876 #include <math.h>
75877 int
75878 main ()
75879 {
75880 _sincosf(0, 0, 0);
75881 ;
75882 return 0;
75883 }
75884 _ACEOF
75885 if ac_fn_cxx_try_compile "$LINENO"; then :
75886 glibcxx_cv_func__sincosf_use=yes
75887 else
75888 glibcxx_cv_func__sincosf_use=no
75889 fi
75890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75891 ac_ext=c
75892 ac_cpp='$CPP $CPPFLAGS'
75893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75896
75897
75898 fi
75899
75900 fi
75901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75902 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75903
75904 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75905 for ac_func in _sincosf
75906 do :
75907 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75908 if test "x$ac_cv_func__sincosf" = xyes; then :
75909 cat >>confdefs.h <<_ACEOF
75910 #define HAVE__SINCOSF 1
75911 _ACEOF
75912
75913 fi
75914 done
75915
75916 fi
75917 fi
75918
75919
75920
75921
75922
75923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75924 $as_echo_n "checking for finitef declaration... " >&6; }
75925 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75926 if ${glibcxx_cv_func_finitef_use+:} false; then :
75927 $as_echo_n "(cached) " >&6
75928 else
75929
75930
75931 ac_ext=cpp
75932 ac_cpp='$CXXCPP $CPPFLAGS'
75933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75936
75937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75938 /* end confdefs.h. */
75939 #include <math.h>
75940 #ifdef HAVE_IEEEFP_H
75941 #include <ieeefp.h>
75942 #endif
75943
75944 int
75945 main ()
75946 {
75947 finitef(0);
75948 ;
75949 return 0;
75950 }
75951 _ACEOF
75952 if ac_fn_cxx_try_compile "$LINENO"; then :
75953 glibcxx_cv_func_finitef_use=yes
75954 else
75955 glibcxx_cv_func_finitef_use=no
75956 fi
75957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75958 ac_ext=c
75959 ac_cpp='$CPP $CPPFLAGS'
75960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75963
75964
75965 fi
75966
75967 fi
75968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75969 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75970
75971 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75972 for ac_func in finitef
75973 do :
75974 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75975 if test "x$ac_cv_func_finitef" = xyes; then :
75976 cat >>confdefs.h <<_ACEOF
75977 #define HAVE_FINITEF 1
75978 _ACEOF
75979
75980 fi
75981 done
75982
75983 else
75984
75985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75986 $as_echo_n "checking for _finitef declaration... " >&6; }
75987 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75988 if ${glibcxx_cv_func__finitef_use+:} false; then :
75989 $as_echo_n "(cached) " >&6
75990 else
75991
75992
75993 ac_ext=cpp
75994 ac_cpp='$CXXCPP $CPPFLAGS'
75995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75998
75999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76000 /* end confdefs.h. */
76001 #include <math.h>
76002 #ifdef HAVE_IEEEFP_H
76003 #include <ieeefp.h>
76004 #endif
76005
76006 int
76007 main ()
76008 {
76009 _finitef(0);
76010 ;
76011 return 0;
76012 }
76013 _ACEOF
76014 if ac_fn_cxx_try_compile "$LINENO"; then :
76015 glibcxx_cv_func__finitef_use=yes
76016 else
76017 glibcxx_cv_func__finitef_use=no
76018 fi
76019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76020 ac_ext=c
76021 ac_cpp='$CPP $CPPFLAGS'
76022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76025
76026
76027 fi
76028
76029 fi
76030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
76031 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
76032
76033 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76034 for ac_func in _finitef
76035 do :
76036 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
76037 if test "x$ac_cv_func__finitef" = xyes; then :
76038 cat >>confdefs.h <<_ACEOF
76039 #define HAVE__FINITEF 1
76040 _ACEOF
76041
76042 fi
76043 done
76044
76045 fi
76046 fi
76047
76048
76049
76050
76051
76052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76053 $as_echo_n "checking for long double trig functions... " >&6; }
76054 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
76055 $as_echo_n "(cached) " >&6
76056 else
76057
76058
76059 ac_ext=cpp
76060 ac_cpp='$CXXCPP $CPPFLAGS'
76061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76064
76065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76066 /* end confdefs.h. */
76067 #include <math.h>
76068 int
76069 main ()
76070 {
76071 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76072 ;
76073 return 0;
76074 }
76075 _ACEOF
76076 if ac_fn_cxx_try_compile "$LINENO"; then :
76077 glibcxx_cv_func_long_double_trig_use=yes
76078 else
76079 glibcxx_cv_func_long_double_trig_use=no
76080 fi
76081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76082 ac_ext=c
76083 ac_cpp='$CPP $CPPFLAGS'
76084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76087
76088 fi
76089
76090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76091 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76092 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76093 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76094 do :
76095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76098 cat >>confdefs.h <<_ACEOF
76099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76100 _ACEOF
76101
76102 fi
76103 done
76104
76105 else
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76107 $as_echo_n "checking for _long double trig functions... " >&6; }
76108 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
76109 $as_echo_n "(cached) " >&6
76110 else
76111
76112
76113 ac_ext=cpp
76114 ac_cpp='$CXXCPP $CPPFLAGS'
76115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76118
76119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76120 /* end confdefs.h. */
76121 #include <math.h>
76122 int
76123 main ()
76124 {
76125 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76126 ;
76127 return 0;
76128 }
76129 _ACEOF
76130 if ac_fn_cxx_try_compile "$LINENO"; then :
76131 glibcxx_cv_func__long_double_trig_use=yes
76132 else
76133 glibcxx_cv_func__long_double_trig_use=no
76134 fi
76135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76136 ac_ext=c
76137 ac_cpp='$CPP $CPPFLAGS'
76138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76141
76142 fi
76143
76144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76145 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76146 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76147 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76148 do :
76149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76152 cat >>confdefs.h <<_ACEOF
76153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76154 _ACEOF
76155
76156 fi
76157 done
76158
76159 fi
76160 fi
76161
76162
76163
76164
76165
76166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76167 $as_echo_n "checking for long double round functions... " >&6; }
76168 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76169 $as_echo_n "(cached) " >&6
76170 else
76171
76172
76173 ac_ext=cpp
76174 ac_cpp='$CXXCPP $CPPFLAGS'
76175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76178
76179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76180 /* end confdefs.h. */
76181 #include <math.h>
76182 int
76183 main ()
76184 {
76185 ceill (0); floorl (0);
76186 ;
76187 return 0;
76188 }
76189 _ACEOF
76190 if ac_fn_cxx_try_compile "$LINENO"; then :
76191 glibcxx_cv_func_long_double_round_use=yes
76192 else
76193 glibcxx_cv_func_long_double_round_use=no
76194 fi
76195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76196 ac_ext=c
76197 ac_cpp='$CPP $CPPFLAGS'
76198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76201
76202 fi
76203
76204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76205 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76206 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76207 for ac_func in ceill floorl
76208 do :
76209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76211 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76212 cat >>confdefs.h <<_ACEOF
76213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76214 _ACEOF
76215
76216 fi
76217 done
76218
76219 else
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76221 $as_echo_n "checking for _long double round functions... " >&6; }
76222 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76223 $as_echo_n "(cached) " >&6
76224 else
76225
76226
76227 ac_ext=cpp
76228 ac_cpp='$CXXCPP $CPPFLAGS'
76229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76232
76233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76234 /* end confdefs.h. */
76235 #include <math.h>
76236 int
76237 main ()
76238 {
76239 _ceill (0); _floorl (0);
76240 ;
76241 return 0;
76242 }
76243 _ACEOF
76244 if ac_fn_cxx_try_compile "$LINENO"; then :
76245 glibcxx_cv_func__long_double_round_use=yes
76246 else
76247 glibcxx_cv_func__long_double_round_use=no
76248 fi
76249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76250 ac_ext=c
76251 ac_cpp='$CPP $CPPFLAGS'
76252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76255
76256 fi
76257
76258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76259 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76260 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76261 for ac_func in _ceill _floorl
76262 do :
76263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76265 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76266 cat >>confdefs.h <<_ACEOF
76267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76268 _ACEOF
76269
76270 fi
76271 done
76272
76273 fi
76274 fi
76275
76276
76277
76278
76279
76280
76281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76282 $as_echo_n "checking for isnanl declaration... " >&6; }
76283 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76284 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76285 $as_echo_n "(cached) " >&6
76286 else
76287
76288
76289 ac_ext=cpp
76290 ac_cpp='$CXXCPP $CPPFLAGS'
76291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76294
76295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76296 /* end confdefs.h. */
76297 #include <math.h>
76298 #ifdef HAVE_IEEEFP_H
76299 #include <ieeefp.h>
76300 #endif
76301
76302 int
76303 main ()
76304 {
76305 isnanl(0);
76306 ;
76307 return 0;
76308 }
76309 _ACEOF
76310 if ac_fn_cxx_try_compile "$LINENO"; then :
76311 glibcxx_cv_func_isnanl_use=yes
76312 else
76313 glibcxx_cv_func_isnanl_use=no
76314 fi
76315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76316 ac_ext=c
76317 ac_cpp='$CPP $CPPFLAGS'
76318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76321
76322
76323 fi
76324
76325 fi
76326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76327 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76328
76329 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76330 for ac_func in isnanl
76331 do :
76332 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76333 if test "x$ac_cv_func_isnanl" = xyes; then :
76334 cat >>confdefs.h <<_ACEOF
76335 #define HAVE_ISNANL 1
76336 _ACEOF
76337
76338 fi
76339 done
76340
76341 else
76342
76343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76344 $as_echo_n "checking for _isnanl declaration... " >&6; }
76345 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76346 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76347 $as_echo_n "(cached) " >&6
76348 else
76349
76350
76351 ac_ext=cpp
76352 ac_cpp='$CXXCPP $CPPFLAGS'
76353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76356
76357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76358 /* end confdefs.h. */
76359 #include <math.h>
76360 #ifdef HAVE_IEEEFP_H
76361 #include <ieeefp.h>
76362 #endif
76363
76364 int
76365 main ()
76366 {
76367 _isnanl(0);
76368 ;
76369 return 0;
76370 }
76371 _ACEOF
76372 if ac_fn_cxx_try_compile "$LINENO"; then :
76373 glibcxx_cv_func__isnanl_use=yes
76374 else
76375 glibcxx_cv_func__isnanl_use=no
76376 fi
76377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76378 ac_ext=c
76379 ac_cpp='$CPP $CPPFLAGS'
76380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76383
76384
76385 fi
76386
76387 fi
76388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76389 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76390
76391 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76392 for ac_func in _isnanl
76393 do :
76394 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76395 if test "x$ac_cv_func__isnanl" = xyes; then :
76396 cat >>confdefs.h <<_ACEOF
76397 #define HAVE__ISNANL 1
76398 _ACEOF
76399
76400 fi
76401 done
76402
76403 fi
76404 fi
76405
76406
76407
76408
76409
76410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76411 $as_echo_n "checking for isinfl declaration... " >&6; }
76412 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76413 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76414 $as_echo_n "(cached) " >&6
76415 else
76416
76417
76418 ac_ext=cpp
76419 ac_cpp='$CXXCPP $CPPFLAGS'
76420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76423
76424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76425 /* end confdefs.h. */
76426 #include <math.h>
76427 #ifdef HAVE_IEEEFP_H
76428 #include <ieeefp.h>
76429 #endif
76430
76431 int
76432 main ()
76433 {
76434 isinfl(0);
76435 ;
76436 return 0;
76437 }
76438 _ACEOF
76439 if ac_fn_cxx_try_compile "$LINENO"; then :
76440 glibcxx_cv_func_isinfl_use=yes
76441 else
76442 glibcxx_cv_func_isinfl_use=no
76443 fi
76444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76445 ac_ext=c
76446 ac_cpp='$CPP $CPPFLAGS'
76447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76450
76451
76452 fi
76453
76454 fi
76455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76456 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76457
76458 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76459 for ac_func in isinfl
76460 do :
76461 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76462 if test "x$ac_cv_func_isinfl" = xyes; then :
76463 cat >>confdefs.h <<_ACEOF
76464 #define HAVE_ISINFL 1
76465 _ACEOF
76466
76467 fi
76468 done
76469
76470 else
76471
76472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76473 $as_echo_n "checking for _isinfl declaration... " >&6; }
76474 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76475 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76476 $as_echo_n "(cached) " >&6
76477 else
76478
76479
76480 ac_ext=cpp
76481 ac_cpp='$CXXCPP $CPPFLAGS'
76482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76485
76486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76487 /* end confdefs.h. */
76488 #include <math.h>
76489 #ifdef HAVE_IEEEFP_H
76490 #include <ieeefp.h>
76491 #endif
76492
76493 int
76494 main ()
76495 {
76496 _isinfl(0);
76497 ;
76498 return 0;
76499 }
76500 _ACEOF
76501 if ac_fn_cxx_try_compile "$LINENO"; then :
76502 glibcxx_cv_func__isinfl_use=yes
76503 else
76504 glibcxx_cv_func__isinfl_use=no
76505 fi
76506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76507 ac_ext=c
76508 ac_cpp='$CPP $CPPFLAGS'
76509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76512
76513
76514 fi
76515
76516 fi
76517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76518 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76519
76520 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76521 for ac_func in _isinfl
76522 do :
76523 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76524 if test "x$ac_cv_func__isinfl" = xyes; then :
76525 cat >>confdefs.h <<_ACEOF
76526 #define HAVE__ISINFL 1
76527 _ACEOF
76528
76529 fi
76530 done
76531
76532 fi
76533 fi
76534
76535
76536
76537
76538
76539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76540 $as_echo_n "checking for atan2l declaration... " >&6; }
76541 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76542 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76543 $as_echo_n "(cached) " >&6
76544 else
76545
76546
76547 ac_ext=cpp
76548 ac_cpp='$CXXCPP $CPPFLAGS'
76549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76552
76553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76554 /* end confdefs.h. */
76555 #include <math.h>
76556 int
76557 main ()
76558 {
76559 atan2l(0, 0);
76560 ;
76561 return 0;
76562 }
76563 _ACEOF
76564 if ac_fn_cxx_try_compile "$LINENO"; then :
76565 glibcxx_cv_func_atan2l_use=yes
76566 else
76567 glibcxx_cv_func_atan2l_use=no
76568 fi
76569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76570 ac_ext=c
76571 ac_cpp='$CPP $CPPFLAGS'
76572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76575
76576
76577 fi
76578
76579 fi
76580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76581 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76582
76583 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76584 for ac_func in atan2l
76585 do :
76586 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76587 if test "x$ac_cv_func_atan2l" = xyes; then :
76588 cat >>confdefs.h <<_ACEOF
76589 #define HAVE_ATAN2L 1
76590 _ACEOF
76591
76592 fi
76593 done
76594
76595 else
76596
76597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76598 $as_echo_n "checking for _atan2l declaration... " >&6; }
76599 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76600 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76601 $as_echo_n "(cached) " >&6
76602 else
76603
76604
76605 ac_ext=cpp
76606 ac_cpp='$CXXCPP $CPPFLAGS'
76607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76610
76611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76612 /* end confdefs.h. */
76613 #include <math.h>
76614 int
76615 main ()
76616 {
76617 _atan2l(0, 0);
76618 ;
76619 return 0;
76620 }
76621 _ACEOF
76622 if ac_fn_cxx_try_compile "$LINENO"; then :
76623 glibcxx_cv_func__atan2l_use=yes
76624 else
76625 glibcxx_cv_func__atan2l_use=no
76626 fi
76627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76628 ac_ext=c
76629 ac_cpp='$CPP $CPPFLAGS'
76630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76633
76634
76635 fi
76636
76637 fi
76638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76639 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76640
76641 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76642 for ac_func in _atan2l
76643 do :
76644 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76645 if test "x$ac_cv_func__atan2l" = xyes; then :
76646 cat >>confdefs.h <<_ACEOF
76647 #define HAVE__ATAN2L 1
76648 _ACEOF
76649
76650 fi
76651 done
76652
76653 fi
76654 fi
76655
76656
76657
76658
76659
76660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76661 $as_echo_n "checking for expl declaration... " >&6; }
76662 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76663 if ${glibcxx_cv_func_expl_use+:} false; then :
76664 $as_echo_n "(cached) " >&6
76665 else
76666
76667
76668 ac_ext=cpp
76669 ac_cpp='$CXXCPP $CPPFLAGS'
76670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76673
76674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76675 /* end confdefs.h. */
76676 #include <math.h>
76677 #ifdef HAVE_IEEEFP_H
76678 #include <ieeefp.h>
76679 #endif
76680
76681 int
76682 main ()
76683 {
76684 expl(0);
76685 ;
76686 return 0;
76687 }
76688 _ACEOF
76689 if ac_fn_cxx_try_compile "$LINENO"; then :
76690 glibcxx_cv_func_expl_use=yes
76691 else
76692 glibcxx_cv_func_expl_use=no
76693 fi
76694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76695 ac_ext=c
76696 ac_cpp='$CPP $CPPFLAGS'
76697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76700
76701
76702 fi
76703
76704 fi
76705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76706 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76707
76708 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76709 for ac_func in expl
76710 do :
76711 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76712 if test "x$ac_cv_func_expl" = xyes; then :
76713 cat >>confdefs.h <<_ACEOF
76714 #define HAVE_EXPL 1
76715 _ACEOF
76716
76717 fi
76718 done
76719
76720 else
76721
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76723 $as_echo_n "checking for _expl declaration... " >&6; }
76724 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76725 if ${glibcxx_cv_func__expl_use+:} false; then :
76726 $as_echo_n "(cached) " >&6
76727 else
76728
76729
76730 ac_ext=cpp
76731 ac_cpp='$CXXCPP $CPPFLAGS'
76732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76735
76736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76737 /* end confdefs.h. */
76738 #include <math.h>
76739 #ifdef HAVE_IEEEFP_H
76740 #include <ieeefp.h>
76741 #endif
76742
76743 int
76744 main ()
76745 {
76746 _expl(0);
76747 ;
76748 return 0;
76749 }
76750 _ACEOF
76751 if ac_fn_cxx_try_compile "$LINENO"; then :
76752 glibcxx_cv_func__expl_use=yes
76753 else
76754 glibcxx_cv_func__expl_use=no
76755 fi
76756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76757 ac_ext=c
76758 ac_cpp='$CPP $CPPFLAGS'
76759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76762
76763
76764 fi
76765
76766 fi
76767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76768 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76769
76770 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76771 for ac_func in _expl
76772 do :
76773 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76774 if test "x$ac_cv_func__expl" = xyes; then :
76775 cat >>confdefs.h <<_ACEOF
76776 #define HAVE__EXPL 1
76777 _ACEOF
76778
76779 fi
76780 done
76781
76782 fi
76783 fi
76784
76785
76786
76787
76788
76789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76790 $as_echo_n "checking for fabsl declaration... " >&6; }
76791 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76792 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76793 $as_echo_n "(cached) " >&6
76794 else
76795
76796
76797 ac_ext=cpp
76798 ac_cpp='$CXXCPP $CPPFLAGS'
76799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76802
76803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76804 /* end confdefs.h. */
76805 #include <math.h>
76806 #ifdef HAVE_IEEEFP_H
76807 #include <ieeefp.h>
76808 #endif
76809
76810 int
76811 main ()
76812 {
76813 fabsl(0);
76814 ;
76815 return 0;
76816 }
76817 _ACEOF
76818 if ac_fn_cxx_try_compile "$LINENO"; then :
76819 glibcxx_cv_func_fabsl_use=yes
76820 else
76821 glibcxx_cv_func_fabsl_use=no
76822 fi
76823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76824 ac_ext=c
76825 ac_cpp='$CPP $CPPFLAGS'
76826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76829
76830
76831 fi
76832
76833 fi
76834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76835 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76836
76837 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76838 for ac_func in fabsl
76839 do :
76840 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76841 if test "x$ac_cv_func_fabsl" = xyes; then :
76842 cat >>confdefs.h <<_ACEOF
76843 #define HAVE_FABSL 1
76844 _ACEOF
76845
76846 fi
76847 done
76848
76849 else
76850
76851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76852 $as_echo_n "checking for _fabsl declaration... " >&6; }
76853 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76854 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76855 $as_echo_n "(cached) " >&6
76856 else
76857
76858
76859 ac_ext=cpp
76860 ac_cpp='$CXXCPP $CPPFLAGS'
76861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76864
76865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76866 /* end confdefs.h. */
76867 #include <math.h>
76868 #ifdef HAVE_IEEEFP_H
76869 #include <ieeefp.h>
76870 #endif
76871
76872 int
76873 main ()
76874 {
76875 _fabsl(0);
76876 ;
76877 return 0;
76878 }
76879 _ACEOF
76880 if ac_fn_cxx_try_compile "$LINENO"; then :
76881 glibcxx_cv_func__fabsl_use=yes
76882 else
76883 glibcxx_cv_func__fabsl_use=no
76884 fi
76885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76886 ac_ext=c
76887 ac_cpp='$CPP $CPPFLAGS'
76888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76891
76892
76893 fi
76894
76895 fi
76896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76897 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76898
76899 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76900 for ac_func in _fabsl
76901 do :
76902 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76903 if test "x$ac_cv_func__fabsl" = xyes; then :
76904 cat >>confdefs.h <<_ACEOF
76905 #define HAVE__FABSL 1
76906 _ACEOF
76907
76908 fi
76909 done
76910
76911 fi
76912 fi
76913
76914
76915
76916
76917
76918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76919 $as_echo_n "checking for fmodl declaration... " >&6; }
76920 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76921 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76922 $as_echo_n "(cached) " >&6
76923 else
76924
76925
76926 ac_ext=cpp
76927 ac_cpp='$CXXCPP $CPPFLAGS'
76928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76931
76932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76933 /* end confdefs.h. */
76934 #include <math.h>
76935 int
76936 main ()
76937 {
76938 fmodl(0, 0);
76939 ;
76940 return 0;
76941 }
76942 _ACEOF
76943 if ac_fn_cxx_try_compile "$LINENO"; then :
76944 glibcxx_cv_func_fmodl_use=yes
76945 else
76946 glibcxx_cv_func_fmodl_use=no
76947 fi
76948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76949 ac_ext=c
76950 ac_cpp='$CPP $CPPFLAGS'
76951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76954
76955
76956 fi
76957
76958 fi
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76960 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76961
76962 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76963 for ac_func in fmodl
76964 do :
76965 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76966 if test "x$ac_cv_func_fmodl" = xyes; then :
76967 cat >>confdefs.h <<_ACEOF
76968 #define HAVE_FMODL 1
76969 _ACEOF
76970
76971 fi
76972 done
76973
76974 else
76975
76976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76977 $as_echo_n "checking for _fmodl declaration... " >&6; }
76978 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76979 if ${glibcxx_cv_func__fmodl_use+:} false; then :
76980 $as_echo_n "(cached) " >&6
76981 else
76982
76983
76984 ac_ext=cpp
76985 ac_cpp='$CXXCPP $CPPFLAGS'
76986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76989
76990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76991 /* end confdefs.h. */
76992 #include <math.h>
76993 int
76994 main ()
76995 {
76996 _fmodl(0, 0);
76997 ;
76998 return 0;
76999 }
77000 _ACEOF
77001 if ac_fn_cxx_try_compile "$LINENO"; then :
77002 glibcxx_cv_func__fmodl_use=yes
77003 else
77004 glibcxx_cv_func__fmodl_use=no
77005 fi
77006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77007 ac_ext=c
77008 ac_cpp='$CPP $CPPFLAGS'
77009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77012
77013
77014 fi
77015
77016 fi
77017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
77018 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
77019
77020 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77021 for ac_func in _fmodl
77022 do :
77023 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
77024 if test "x$ac_cv_func__fmodl" = xyes; then :
77025 cat >>confdefs.h <<_ACEOF
77026 #define HAVE__FMODL 1
77027 _ACEOF
77028
77029 fi
77030 done
77031
77032 fi
77033 fi
77034
77035
77036
77037
77038
77039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
77040 $as_echo_n "checking for frexpl declaration... " >&6; }
77041 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77042 if ${glibcxx_cv_func_frexpl_use+:} false; then :
77043 $as_echo_n "(cached) " >&6
77044 else
77045
77046
77047 ac_ext=cpp
77048 ac_cpp='$CXXCPP $CPPFLAGS'
77049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77052
77053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77054 /* end confdefs.h. */
77055 #include <math.h>
77056 int
77057 main ()
77058 {
77059 frexpl(0, 0);
77060 ;
77061 return 0;
77062 }
77063 _ACEOF
77064 if ac_fn_cxx_try_compile "$LINENO"; then :
77065 glibcxx_cv_func_frexpl_use=yes
77066 else
77067 glibcxx_cv_func_frexpl_use=no
77068 fi
77069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77070 ac_ext=c
77071 ac_cpp='$CPP $CPPFLAGS'
77072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77075
77076
77077 fi
77078
77079 fi
77080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77081 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77082
77083 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77084 for ac_func in frexpl
77085 do :
77086 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77087 if test "x$ac_cv_func_frexpl" = xyes; then :
77088 cat >>confdefs.h <<_ACEOF
77089 #define HAVE_FREXPL 1
77090 _ACEOF
77091
77092 fi
77093 done
77094
77095 else
77096
77097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77098 $as_echo_n "checking for _frexpl declaration... " >&6; }
77099 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77100 if ${glibcxx_cv_func__frexpl_use+:} false; then :
77101 $as_echo_n "(cached) " >&6
77102 else
77103
77104
77105 ac_ext=cpp
77106 ac_cpp='$CXXCPP $CPPFLAGS'
77107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77110
77111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77112 /* end confdefs.h. */
77113 #include <math.h>
77114 int
77115 main ()
77116 {
77117 _frexpl(0, 0);
77118 ;
77119 return 0;
77120 }
77121 _ACEOF
77122 if ac_fn_cxx_try_compile "$LINENO"; then :
77123 glibcxx_cv_func__frexpl_use=yes
77124 else
77125 glibcxx_cv_func__frexpl_use=no
77126 fi
77127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77128 ac_ext=c
77129 ac_cpp='$CPP $CPPFLAGS'
77130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77133
77134
77135 fi
77136
77137 fi
77138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77139 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77140
77141 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77142 for ac_func in _frexpl
77143 do :
77144 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77145 if test "x$ac_cv_func__frexpl" = xyes; then :
77146 cat >>confdefs.h <<_ACEOF
77147 #define HAVE__FREXPL 1
77148 _ACEOF
77149
77150 fi
77151 done
77152
77153 fi
77154 fi
77155
77156
77157
77158
77159
77160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77161 $as_echo_n "checking for hypotl declaration... " >&6; }
77162 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77163 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77164 $as_echo_n "(cached) " >&6
77165 else
77166
77167
77168 ac_ext=cpp
77169 ac_cpp='$CXXCPP $CPPFLAGS'
77170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77173
77174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77175 /* end confdefs.h. */
77176 #include <math.h>
77177 int
77178 main ()
77179 {
77180 hypotl(0, 0);
77181 ;
77182 return 0;
77183 }
77184 _ACEOF
77185 if ac_fn_cxx_try_compile "$LINENO"; then :
77186 glibcxx_cv_func_hypotl_use=yes
77187 else
77188 glibcxx_cv_func_hypotl_use=no
77189 fi
77190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77191 ac_ext=c
77192 ac_cpp='$CPP $CPPFLAGS'
77193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77196
77197
77198 fi
77199
77200 fi
77201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77202 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77203
77204 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77205 for ac_func in hypotl
77206 do :
77207 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77208 if test "x$ac_cv_func_hypotl" = xyes; then :
77209 cat >>confdefs.h <<_ACEOF
77210 #define HAVE_HYPOTL 1
77211 _ACEOF
77212
77213 fi
77214 done
77215
77216 else
77217
77218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77219 $as_echo_n "checking for _hypotl declaration... " >&6; }
77220 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77221 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77222 $as_echo_n "(cached) " >&6
77223 else
77224
77225
77226 ac_ext=cpp
77227 ac_cpp='$CXXCPP $CPPFLAGS'
77228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77231
77232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77233 /* end confdefs.h. */
77234 #include <math.h>
77235 int
77236 main ()
77237 {
77238 _hypotl(0, 0);
77239 ;
77240 return 0;
77241 }
77242 _ACEOF
77243 if ac_fn_cxx_try_compile "$LINENO"; then :
77244 glibcxx_cv_func__hypotl_use=yes
77245 else
77246 glibcxx_cv_func__hypotl_use=no
77247 fi
77248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77249 ac_ext=c
77250 ac_cpp='$CPP $CPPFLAGS'
77251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77254
77255
77256 fi
77257
77258 fi
77259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77260 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77261
77262 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77263 for ac_func in _hypotl
77264 do :
77265 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77266 if test "x$ac_cv_func__hypotl" = xyes; then :
77267 cat >>confdefs.h <<_ACEOF
77268 #define HAVE__HYPOTL 1
77269 _ACEOF
77270
77271 fi
77272 done
77273
77274 fi
77275 fi
77276
77277
77278
77279
77280
77281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77282 $as_echo_n "checking for ldexpl declaration... " >&6; }
77283 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77284 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77285 $as_echo_n "(cached) " >&6
77286 else
77287
77288
77289 ac_ext=cpp
77290 ac_cpp='$CXXCPP $CPPFLAGS'
77291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77294
77295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77296 /* end confdefs.h. */
77297 #include <math.h>
77298 int
77299 main ()
77300 {
77301 ldexpl(0, 0);
77302 ;
77303 return 0;
77304 }
77305 _ACEOF
77306 if ac_fn_cxx_try_compile "$LINENO"; then :
77307 glibcxx_cv_func_ldexpl_use=yes
77308 else
77309 glibcxx_cv_func_ldexpl_use=no
77310 fi
77311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77312 ac_ext=c
77313 ac_cpp='$CPP $CPPFLAGS'
77314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77317
77318
77319 fi
77320
77321 fi
77322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77323 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77324
77325 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77326 for ac_func in ldexpl
77327 do :
77328 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77329 if test "x$ac_cv_func_ldexpl" = xyes; then :
77330 cat >>confdefs.h <<_ACEOF
77331 #define HAVE_LDEXPL 1
77332 _ACEOF
77333
77334 fi
77335 done
77336
77337 else
77338
77339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77340 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77341 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77342 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77343 $as_echo_n "(cached) " >&6
77344 else
77345
77346
77347 ac_ext=cpp
77348 ac_cpp='$CXXCPP $CPPFLAGS'
77349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77352
77353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77354 /* end confdefs.h. */
77355 #include <math.h>
77356 int
77357 main ()
77358 {
77359 _ldexpl(0, 0);
77360 ;
77361 return 0;
77362 }
77363 _ACEOF
77364 if ac_fn_cxx_try_compile "$LINENO"; then :
77365 glibcxx_cv_func__ldexpl_use=yes
77366 else
77367 glibcxx_cv_func__ldexpl_use=no
77368 fi
77369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77370 ac_ext=c
77371 ac_cpp='$CPP $CPPFLAGS'
77372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77375
77376
77377 fi
77378
77379 fi
77380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77381 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77382
77383 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77384 for ac_func in _ldexpl
77385 do :
77386 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77387 if test "x$ac_cv_func__ldexpl" = xyes; then :
77388 cat >>confdefs.h <<_ACEOF
77389 #define HAVE__LDEXPL 1
77390 _ACEOF
77391
77392 fi
77393 done
77394
77395 fi
77396 fi
77397
77398
77399
77400
77401
77402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77403 $as_echo_n "checking for logl declaration... " >&6; }
77404 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77405 if ${glibcxx_cv_func_logl_use+:} false; then :
77406 $as_echo_n "(cached) " >&6
77407 else
77408
77409
77410 ac_ext=cpp
77411 ac_cpp='$CXXCPP $CPPFLAGS'
77412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77415
77416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77417 /* end confdefs.h. */
77418 #include <math.h>
77419 #ifdef HAVE_IEEEFP_H
77420 #include <ieeefp.h>
77421 #endif
77422
77423 int
77424 main ()
77425 {
77426 logl(0);
77427 ;
77428 return 0;
77429 }
77430 _ACEOF
77431 if ac_fn_cxx_try_compile "$LINENO"; then :
77432 glibcxx_cv_func_logl_use=yes
77433 else
77434 glibcxx_cv_func_logl_use=no
77435 fi
77436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77437 ac_ext=c
77438 ac_cpp='$CPP $CPPFLAGS'
77439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77442
77443
77444 fi
77445
77446 fi
77447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77448 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77449
77450 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77451 for ac_func in logl
77452 do :
77453 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77454 if test "x$ac_cv_func_logl" = xyes; then :
77455 cat >>confdefs.h <<_ACEOF
77456 #define HAVE_LOGL 1
77457 _ACEOF
77458
77459 fi
77460 done
77461
77462 else
77463
77464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77465 $as_echo_n "checking for _logl declaration... " >&6; }
77466 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77467 if ${glibcxx_cv_func__logl_use+:} false; then :
77468 $as_echo_n "(cached) " >&6
77469 else
77470
77471
77472 ac_ext=cpp
77473 ac_cpp='$CXXCPP $CPPFLAGS'
77474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77477
77478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77479 /* end confdefs.h. */
77480 #include <math.h>
77481 #ifdef HAVE_IEEEFP_H
77482 #include <ieeefp.h>
77483 #endif
77484
77485 int
77486 main ()
77487 {
77488 _logl(0);
77489 ;
77490 return 0;
77491 }
77492 _ACEOF
77493 if ac_fn_cxx_try_compile "$LINENO"; then :
77494 glibcxx_cv_func__logl_use=yes
77495 else
77496 glibcxx_cv_func__logl_use=no
77497 fi
77498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77499 ac_ext=c
77500 ac_cpp='$CPP $CPPFLAGS'
77501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77504
77505
77506 fi
77507
77508 fi
77509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77510 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77511
77512 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77513 for ac_func in _logl
77514 do :
77515 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77516 if test "x$ac_cv_func__logl" = xyes; then :
77517 cat >>confdefs.h <<_ACEOF
77518 #define HAVE__LOGL 1
77519 _ACEOF
77520
77521 fi
77522 done
77523
77524 fi
77525 fi
77526
77527
77528
77529
77530
77531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77532 $as_echo_n "checking for log10l declaration... " >&6; }
77533 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77534 if ${glibcxx_cv_func_log10l_use+:} false; then :
77535 $as_echo_n "(cached) " >&6
77536 else
77537
77538
77539 ac_ext=cpp
77540 ac_cpp='$CXXCPP $CPPFLAGS'
77541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77544
77545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77546 /* end confdefs.h. */
77547 #include <math.h>
77548 #ifdef HAVE_IEEEFP_H
77549 #include <ieeefp.h>
77550 #endif
77551
77552 int
77553 main ()
77554 {
77555 log10l(0);
77556 ;
77557 return 0;
77558 }
77559 _ACEOF
77560 if ac_fn_cxx_try_compile "$LINENO"; then :
77561 glibcxx_cv_func_log10l_use=yes
77562 else
77563 glibcxx_cv_func_log10l_use=no
77564 fi
77565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77566 ac_ext=c
77567 ac_cpp='$CPP $CPPFLAGS'
77568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77571
77572
77573 fi
77574
77575 fi
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77577 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77578
77579 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77580 for ac_func in log10l
77581 do :
77582 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77583 if test "x$ac_cv_func_log10l" = xyes; then :
77584 cat >>confdefs.h <<_ACEOF
77585 #define HAVE_LOG10L 1
77586 _ACEOF
77587
77588 fi
77589 done
77590
77591 else
77592
77593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77594 $as_echo_n "checking for _log10l declaration... " >&6; }
77595 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77596 if ${glibcxx_cv_func__log10l_use+:} false; then :
77597 $as_echo_n "(cached) " >&6
77598 else
77599
77600
77601 ac_ext=cpp
77602 ac_cpp='$CXXCPP $CPPFLAGS'
77603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77606
77607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77608 /* end confdefs.h. */
77609 #include <math.h>
77610 #ifdef HAVE_IEEEFP_H
77611 #include <ieeefp.h>
77612 #endif
77613
77614 int
77615 main ()
77616 {
77617 _log10l(0);
77618 ;
77619 return 0;
77620 }
77621 _ACEOF
77622 if ac_fn_cxx_try_compile "$LINENO"; then :
77623 glibcxx_cv_func__log10l_use=yes
77624 else
77625 glibcxx_cv_func__log10l_use=no
77626 fi
77627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77628 ac_ext=c
77629 ac_cpp='$CPP $CPPFLAGS'
77630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77633
77634
77635 fi
77636
77637 fi
77638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77639 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77640
77641 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77642 for ac_func in _log10l
77643 do :
77644 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77645 if test "x$ac_cv_func__log10l" = xyes; then :
77646 cat >>confdefs.h <<_ACEOF
77647 #define HAVE__LOG10L 1
77648 _ACEOF
77649
77650 fi
77651 done
77652
77653 fi
77654 fi
77655
77656
77657
77658
77659
77660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77661 $as_echo_n "checking for modfl declaration... " >&6; }
77662 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77663 if ${glibcxx_cv_func_modfl_use+:} false; then :
77664 $as_echo_n "(cached) " >&6
77665 else
77666
77667
77668 ac_ext=cpp
77669 ac_cpp='$CXXCPP $CPPFLAGS'
77670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77673
77674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77675 /* end confdefs.h. */
77676 #include <math.h>
77677 int
77678 main ()
77679 {
77680 modfl(0, 0);
77681 ;
77682 return 0;
77683 }
77684 _ACEOF
77685 if ac_fn_cxx_try_compile "$LINENO"; then :
77686 glibcxx_cv_func_modfl_use=yes
77687 else
77688 glibcxx_cv_func_modfl_use=no
77689 fi
77690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77691 ac_ext=c
77692 ac_cpp='$CPP $CPPFLAGS'
77693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77696
77697
77698 fi
77699
77700 fi
77701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77702 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77703
77704 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77705 for ac_func in modfl
77706 do :
77707 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77708 if test "x$ac_cv_func_modfl" = xyes; then :
77709 cat >>confdefs.h <<_ACEOF
77710 #define HAVE_MODFL 1
77711 _ACEOF
77712
77713 fi
77714 done
77715
77716 else
77717
77718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77719 $as_echo_n "checking for _modfl declaration... " >&6; }
77720 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77721 if ${glibcxx_cv_func__modfl_use+:} false; then :
77722 $as_echo_n "(cached) " >&6
77723 else
77724
77725
77726 ac_ext=cpp
77727 ac_cpp='$CXXCPP $CPPFLAGS'
77728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77731
77732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77733 /* end confdefs.h. */
77734 #include <math.h>
77735 int
77736 main ()
77737 {
77738 _modfl(0, 0);
77739 ;
77740 return 0;
77741 }
77742 _ACEOF
77743 if ac_fn_cxx_try_compile "$LINENO"; then :
77744 glibcxx_cv_func__modfl_use=yes
77745 else
77746 glibcxx_cv_func__modfl_use=no
77747 fi
77748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77749 ac_ext=c
77750 ac_cpp='$CPP $CPPFLAGS'
77751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77754
77755
77756 fi
77757
77758 fi
77759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77760 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77761
77762 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77763 for ac_func in _modfl
77764 do :
77765 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77766 if test "x$ac_cv_func__modfl" = xyes; then :
77767 cat >>confdefs.h <<_ACEOF
77768 #define HAVE__MODFL 1
77769 _ACEOF
77770
77771 fi
77772 done
77773
77774 fi
77775 fi
77776
77777
77778
77779
77780
77781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77782 $as_echo_n "checking for powl declaration... " >&6; }
77783 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77784 if ${glibcxx_cv_func_powl_use+:} false; then :
77785 $as_echo_n "(cached) " >&6
77786 else
77787
77788
77789 ac_ext=cpp
77790 ac_cpp='$CXXCPP $CPPFLAGS'
77791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77794
77795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77796 /* end confdefs.h. */
77797 #include <math.h>
77798 int
77799 main ()
77800 {
77801 powl(0, 0);
77802 ;
77803 return 0;
77804 }
77805 _ACEOF
77806 if ac_fn_cxx_try_compile "$LINENO"; then :
77807 glibcxx_cv_func_powl_use=yes
77808 else
77809 glibcxx_cv_func_powl_use=no
77810 fi
77811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77812 ac_ext=c
77813 ac_cpp='$CPP $CPPFLAGS'
77814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77817
77818
77819 fi
77820
77821 fi
77822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77823 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77824
77825 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77826 for ac_func in powl
77827 do :
77828 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77829 if test "x$ac_cv_func_powl" = xyes; then :
77830 cat >>confdefs.h <<_ACEOF
77831 #define HAVE_POWL 1
77832 _ACEOF
77833
77834 fi
77835 done
77836
77837 else
77838
77839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77840 $as_echo_n "checking for _powl declaration... " >&6; }
77841 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77842 if ${glibcxx_cv_func__powl_use+:} false; then :
77843 $as_echo_n "(cached) " >&6
77844 else
77845
77846
77847 ac_ext=cpp
77848 ac_cpp='$CXXCPP $CPPFLAGS'
77849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77852
77853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77854 /* end confdefs.h. */
77855 #include <math.h>
77856 int
77857 main ()
77858 {
77859 _powl(0, 0);
77860 ;
77861 return 0;
77862 }
77863 _ACEOF
77864 if ac_fn_cxx_try_compile "$LINENO"; then :
77865 glibcxx_cv_func__powl_use=yes
77866 else
77867 glibcxx_cv_func__powl_use=no
77868 fi
77869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77870 ac_ext=c
77871 ac_cpp='$CPP $CPPFLAGS'
77872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77875
77876
77877 fi
77878
77879 fi
77880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77881 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77882
77883 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77884 for ac_func in _powl
77885 do :
77886 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77887 if test "x$ac_cv_func__powl" = xyes; then :
77888 cat >>confdefs.h <<_ACEOF
77889 #define HAVE__POWL 1
77890 _ACEOF
77891
77892 fi
77893 done
77894
77895 fi
77896 fi
77897
77898
77899
77900
77901
77902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77903 $as_echo_n "checking for sqrtl declaration... " >&6; }
77904 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77905 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77906 $as_echo_n "(cached) " >&6
77907 else
77908
77909
77910 ac_ext=cpp
77911 ac_cpp='$CXXCPP $CPPFLAGS'
77912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77915
77916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77917 /* end confdefs.h. */
77918 #include <math.h>
77919 #ifdef HAVE_IEEEFP_H
77920 #include <ieeefp.h>
77921 #endif
77922
77923 int
77924 main ()
77925 {
77926 sqrtl(0);
77927 ;
77928 return 0;
77929 }
77930 _ACEOF
77931 if ac_fn_cxx_try_compile "$LINENO"; then :
77932 glibcxx_cv_func_sqrtl_use=yes
77933 else
77934 glibcxx_cv_func_sqrtl_use=no
77935 fi
77936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77937 ac_ext=c
77938 ac_cpp='$CPP $CPPFLAGS'
77939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77942
77943
77944 fi
77945
77946 fi
77947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77948 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77949
77950 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77951 for ac_func in sqrtl
77952 do :
77953 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77954 if test "x$ac_cv_func_sqrtl" = xyes; then :
77955 cat >>confdefs.h <<_ACEOF
77956 #define HAVE_SQRTL 1
77957 _ACEOF
77958
77959 fi
77960 done
77961
77962 else
77963
77964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77965 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77966 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77967 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
77968 $as_echo_n "(cached) " >&6
77969 else
77970
77971
77972 ac_ext=cpp
77973 ac_cpp='$CXXCPP $CPPFLAGS'
77974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77977
77978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77979 /* end confdefs.h. */
77980 #include <math.h>
77981 #ifdef HAVE_IEEEFP_H
77982 #include <ieeefp.h>
77983 #endif
77984
77985 int
77986 main ()
77987 {
77988 _sqrtl(0);
77989 ;
77990 return 0;
77991 }
77992 _ACEOF
77993 if ac_fn_cxx_try_compile "$LINENO"; then :
77994 glibcxx_cv_func__sqrtl_use=yes
77995 else
77996 glibcxx_cv_func__sqrtl_use=no
77997 fi
77998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77999 ac_ext=c
78000 ac_cpp='$CPP $CPPFLAGS'
78001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78004
78005
78006 fi
78007
78008 fi
78009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
78010 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
78011
78012 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78013 for ac_func in _sqrtl
78014 do :
78015 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
78016 if test "x$ac_cv_func__sqrtl" = xyes; then :
78017 cat >>confdefs.h <<_ACEOF
78018 #define HAVE__SQRTL 1
78019 _ACEOF
78020
78021 fi
78022 done
78023
78024 fi
78025 fi
78026
78027
78028
78029
78030
78031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
78032 $as_echo_n "checking for sincosl declaration... " >&6; }
78033 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78034 if ${glibcxx_cv_func_sincosl_use+:} false; then :
78035 $as_echo_n "(cached) " >&6
78036 else
78037
78038
78039 ac_ext=cpp
78040 ac_cpp='$CXXCPP $CPPFLAGS'
78041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78044
78045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78046 /* end confdefs.h. */
78047 #include <math.h>
78048 int
78049 main ()
78050 {
78051 sincosl(0, 0, 0);
78052 ;
78053 return 0;
78054 }
78055 _ACEOF
78056 if ac_fn_cxx_try_compile "$LINENO"; then :
78057 glibcxx_cv_func_sincosl_use=yes
78058 else
78059 glibcxx_cv_func_sincosl_use=no
78060 fi
78061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78062 ac_ext=c
78063 ac_cpp='$CPP $CPPFLAGS'
78064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78067
78068
78069 fi
78070
78071 fi
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78073 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78074
78075 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78076 for ac_func in sincosl
78077 do :
78078 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78079 if test "x$ac_cv_func_sincosl" = xyes; then :
78080 cat >>confdefs.h <<_ACEOF
78081 #define HAVE_SINCOSL 1
78082 _ACEOF
78083
78084 fi
78085 done
78086
78087 else
78088
78089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78090 $as_echo_n "checking for _sincosl declaration... " >&6; }
78091 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78092 if ${glibcxx_cv_func__sincosl_use+:} false; then :
78093 $as_echo_n "(cached) " >&6
78094 else
78095
78096
78097 ac_ext=cpp
78098 ac_cpp='$CXXCPP $CPPFLAGS'
78099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78102
78103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78104 /* end confdefs.h. */
78105 #include <math.h>
78106 int
78107 main ()
78108 {
78109 _sincosl(0, 0, 0);
78110 ;
78111 return 0;
78112 }
78113 _ACEOF
78114 if ac_fn_cxx_try_compile "$LINENO"; then :
78115 glibcxx_cv_func__sincosl_use=yes
78116 else
78117 glibcxx_cv_func__sincosl_use=no
78118 fi
78119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78120 ac_ext=c
78121 ac_cpp='$CPP $CPPFLAGS'
78122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78125
78126
78127 fi
78128
78129 fi
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78131 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78132
78133 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78134 for ac_func in _sincosl
78135 do :
78136 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78137 if test "x$ac_cv_func__sincosl" = xyes; then :
78138 cat >>confdefs.h <<_ACEOF
78139 #define HAVE__SINCOSL 1
78140 _ACEOF
78141
78142 fi
78143 done
78144
78145 fi
78146 fi
78147
78148
78149
78150
78151
78152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78153 $as_echo_n "checking for finitel declaration... " >&6; }
78154 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78155 if ${glibcxx_cv_func_finitel_use+:} false; then :
78156 $as_echo_n "(cached) " >&6
78157 else
78158
78159
78160 ac_ext=cpp
78161 ac_cpp='$CXXCPP $CPPFLAGS'
78162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78165
78166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78167 /* end confdefs.h. */
78168 #include <math.h>
78169 #ifdef HAVE_IEEEFP_H
78170 #include <ieeefp.h>
78171 #endif
78172
78173 int
78174 main ()
78175 {
78176 finitel(0);
78177 ;
78178 return 0;
78179 }
78180 _ACEOF
78181 if ac_fn_cxx_try_compile "$LINENO"; then :
78182 glibcxx_cv_func_finitel_use=yes
78183 else
78184 glibcxx_cv_func_finitel_use=no
78185 fi
78186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78187 ac_ext=c
78188 ac_cpp='$CPP $CPPFLAGS'
78189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78192
78193
78194 fi
78195
78196 fi
78197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78198 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78199
78200 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78201 for ac_func in finitel
78202 do :
78203 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78204 if test "x$ac_cv_func_finitel" = xyes; then :
78205 cat >>confdefs.h <<_ACEOF
78206 #define HAVE_FINITEL 1
78207 _ACEOF
78208
78209 fi
78210 done
78211
78212 else
78213
78214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78215 $as_echo_n "checking for _finitel declaration... " >&6; }
78216 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78217 if ${glibcxx_cv_func__finitel_use+:} false; then :
78218 $as_echo_n "(cached) " >&6
78219 else
78220
78221
78222 ac_ext=cpp
78223 ac_cpp='$CXXCPP $CPPFLAGS'
78224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78227
78228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78229 /* end confdefs.h. */
78230 #include <math.h>
78231 #ifdef HAVE_IEEEFP_H
78232 #include <ieeefp.h>
78233 #endif
78234
78235 int
78236 main ()
78237 {
78238 _finitel(0);
78239 ;
78240 return 0;
78241 }
78242 _ACEOF
78243 if ac_fn_cxx_try_compile "$LINENO"; then :
78244 glibcxx_cv_func__finitel_use=yes
78245 else
78246 glibcxx_cv_func__finitel_use=no
78247 fi
78248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78249 ac_ext=c
78250 ac_cpp='$CPP $CPPFLAGS'
78251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78254
78255
78256 fi
78257
78258 fi
78259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78260 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78261
78262 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78263 for ac_func in _finitel
78264 do :
78265 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78266 if test "x$ac_cv_func__finitel" = xyes; then :
78267 cat >>confdefs.h <<_ACEOF
78268 #define HAVE__FINITEL 1
78269 _ACEOF
78270
78271 fi
78272 done
78273
78274 fi
78275 fi
78276
78277
78278
78279
78280 LIBS="$ac_save_LIBS"
78281 CXXFLAGS="$ac_save_CXXFLAGS"
78282
78283
78284 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78285 ac_save_CXXFLAGS="$CXXFLAGS"
78286 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78287
78288
78289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78290 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78291 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78292 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78293 $as_echo_n "(cached) " >&6
78294 else
78295
78296
78297 ac_ext=cpp
78298 ac_cpp='$CXXCPP $CPPFLAGS'
78299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78302
78303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78304 /* end confdefs.h. */
78305 #include <stdlib.h>
78306 int
78307 main ()
78308 {
78309 at_quick_exit(0);
78310 ;
78311 return 0;
78312 }
78313 _ACEOF
78314 if ac_fn_cxx_try_compile "$LINENO"; then :
78315 glibcxx_cv_func_at_quick_exit_use=yes
78316 else
78317 glibcxx_cv_func_at_quick_exit_use=no
78318 fi
78319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78320 ac_ext=c
78321 ac_cpp='$CPP $CPPFLAGS'
78322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78325
78326
78327 fi
78328
78329 fi
78330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78331 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78332 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78333 for ac_func in at_quick_exit
78334 do :
78335 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78336 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78337 cat >>confdefs.h <<_ACEOF
78338 #define HAVE_AT_QUICK_EXIT 1
78339 _ACEOF
78340
78341 fi
78342 done
78343
78344 fi
78345
78346
78347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78348 $as_echo_n "checking for quick_exit declaration... " >&6; }
78349 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78350 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78351 $as_echo_n "(cached) " >&6
78352 else
78353
78354
78355 ac_ext=cpp
78356 ac_cpp='$CXXCPP $CPPFLAGS'
78357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78360
78361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78362 /* end confdefs.h. */
78363 #include <stdlib.h>
78364 int
78365 main ()
78366 {
78367 quick_exit(0);
78368 ;
78369 return 0;
78370 }
78371 _ACEOF
78372 if ac_fn_cxx_try_compile "$LINENO"; then :
78373 glibcxx_cv_func_quick_exit_use=yes
78374 else
78375 glibcxx_cv_func_quick_exit_use=no
78376 fi
78377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78378 ac_ext=c
78379 ac_cpp='$CPP $CPPFLAGS'
78380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78383
78384
78385 fi
78386
78387 fi
78388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78389 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78390 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78391 for ac_func in quick_exit
78392 do :
78393 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78394 if test "x$ac_cv_func_quick_exit" = xyes; then :
78395 cat >>confdefs.h <<_ACEOF
78396 #define HAVE_QUICK_EXIT 1
78397 _ACEOF
78398
78399 fi
78400 done
78401
78402 fi
78403
78404
78405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78406 $as_echo_n "checking for strtold declaration... " >&6; }
78407 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78408 if ${glibcxx_cv_func_strtold_use+:} false; then :
78409 $as_echo_n "(cached) " >&6
78410 else
78411
78412
78413 ac_ext=cpp
78414 ac_cpp='$CXXCPP $CPPFLAGS'
78415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78418
78419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78420 /* end confdefs.h. */
78421 #include <stdlib.h>
78422 int
78423 main ()
78424 {
78425 strtold(0, 0);
78426 ;
78427 return 0;
78428 }
78429 _ACEOF
78430 if ac_fn_cxx_try_compile "$LINENO"; then :
78431 glibcxx_cv_func_strtold_use=yes
78432 else
78433 glibcxx_cv_func_strtold_use=no
78434 fi
78435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78436 ac_ext=c
78437 ac_cpp='$CPP $CPPFLAGS'
78438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78441
78442
78443 fi
78444
78445 fi
78446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78447 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78448 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78449 for ac_func in strtold
78450 do :
78451 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78452 if test "x$ac_cv_func_strtold" = xyes; then :
78453 cat >>confdefs.h <<_ACEOF
78454 #define HAVE_STRTOLD 1
78455 _ACEOF
78456
78457 fi
78458 done
78459
78460 fi
78461
78462
78463
78464
78465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78466 $as_echo_n "checking for strtof declaration... " >&6; }
78467 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78468 if ${glibcxx_cv_func_strtof_use+:} false; then :
78469 $as_echo_n "(cached) " >&6
78470 else
78471
78472
78473 ac_ext=cpp
78474 ac_cpp='$CXXCPP $CPPFLAGS'
78475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78478
78479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78480 /* end confdefs.h. */
78481 #include <stdlib.h>
78482 int
78483 main ()
78484 {
78485 strtof(0, 0);
78486 ;
78487 return 0;
78488 }
78489 _ACEOF
78490 if ac_fn_cxx_try_compile "$LINENO"; then :
78491 glibcxx_cv_func_strtof_use=yes
78492 else
78493 glibcxx_cv_func_strtof_use=no
78494 fi
78495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78496 ac_ext=c
78497 ac_cpp='$CPP $CPPFLAGS'
78498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78501
78502
78503 fi
78504
78505 fi
78506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78507 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78508 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78509 for ac_func in strtof
78510 do :
78511 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78512 if test "x$ac_cv_func_strtof" = xyes; then :
78513 cat >>confdefs.h <<_ACEOF
78514 #define HAVE_STRTOF 1
78515 _ACEOF
78516
78517 fi
78518 done
78519
78520 fi
78521
78522
78523
78524
78525 CXXFLAGS="$ac_save_CXXFLAGS"
78526
78527 ;;
78528 *-vxworks)
78529 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78530
78531 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78532
78533 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78534
78535 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78536
78537 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78538
78539 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78540
78541 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78542
78543 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78544
78545 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78546
78547 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78548
78549 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78550
78551 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78552
78553 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78554
78555 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78556
78557 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78558
78559 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78560
78561 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78562
78563 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78564
78565 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78566
78567 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78568
78569 ;;
78570 *)
78571 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78572 ;;
78573 esac
78574
78575 fi
78576
78577 # At some point, we should differentiate between architectures
78578 # like x86, which have long double versions, and alpha/powerpc/etc.,
78579 # which don't. For the time being, punt.
78580 if test x"long_double_math_on_this_cpu" = x"yes"; then
78581 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78582
78583 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78584
78585 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78586
78587 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78588
78589 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78590
78591 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78592
78593 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78594
78595 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78596
78597 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78598
78599 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78600
78601 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78602
78603 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78604
78605 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78606
78607 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78608
78609 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78610
78611 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78612
78613 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78614
78615 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78616
78617 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78618
78619 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78620
78621 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78622
78623 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78624
78625 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78626
78627 fi
78628 fi
78629
78630 # Check for _Unwind_GetIPInfo.
78631
78632
78633 # Check whether --with-system-libunwind was given.
78634 if test "${with_system_libunwind+set}" = set; then :
78635 withval=$with_system_libunwind;
78636 fi
78637
78638 # If system-libunwind was not specifically set, pick a default setting.
78639 if test x$with_system_libunwind = x; then
78640 case ${target} in
78641 ia64-*-hpux*) with_system_libunwind=yes ;;
78642 *) with_system_libunwind=no ;;
78643 esac
78644 fi
78645 # Based on system-libunwind and target, do we have ipinfo?
78646 if test x$with_system_libunwind = xyes; then
78647 case ${target} in
78648 ia64-*-*) have_unwind_getipinfo=no ;;
78649 *) have_unwind_getipinfo=yes ;;
78650 esac
78651 else
78652 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78653
78654 case ${target} in
78655 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78656 *) have_unwind_getipinfo=yes ;;
78657 esac
78658
78659 fi
78660
78661 if test x$have_unwind_getipinfo = xyes; then
78662
78663 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78664
78665 fi
78666
78667
78668 # Check whether --enable-linux-futex was given.
78669 if test "${enable_linux_futex+set}" = set; then :
78670 enableval=$enable_linux_futex;
78671 case "$enableval" in
78672 yes|no|default) ;;
78673 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78674 esac
78675
78676 else
78677 enable_linux_futex=default
78678 fi
78679
78680
78681 case "$target" in
78682 *-linux*)
78683 case "$enable_linux_futex" in
78684 default)
78685 # If headers don't have gettid/futex syscalls definition, then
78686 # default to no, otherwise there will be compile time failures.
78687 # Otherwise, default to yes. If we don't detect we are
78688 # compiled/linked against NPTL and not cross-compiling, check
78689 # if programs are run by default against NPTL and if not, issue
78690 # a warning.
78691 enable_linux_futex=no
78692 if test x$gcc_no_link = xyes; then
78693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78694 fi
78695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78696 /* end confdefs.h. */
78697 #include <sys/syscall.h>
78698 int lk;
78699 int
78700 main ()
78701 {
78702 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78703 ;
78704 return 0;
78705 }
78706 _ACEOF
78707 if ac_fn_c_try_link "$LINENO"; then :
78708 save_LIBS="$LIBS"
78709 LIBS="-lpthread $LIBS"
78710 if test x$gcc_no_link = xyes; then
78711 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78712 fi
78713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78714 /* end confdefs.h. */
78715 #ifndef _GNU_SOURCE
78716 #define _GNU_SOURCE 1
78717 #endif
78718 #include <pthread.h>
78719 pthread_t th; void *status;
78720 int
78721 main ()
78722 {
78723 pthread_tryjoin_np (th, &status);
78724 ;
78725 return 0;
78726 }
78727 _ACEOF
78728 if ac_fn_c_try_link "$LINENO"; then :
78729 enable_linux_futex=yes
78730 else
78731 if test x$cross_compiling = xno; then
78732 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78733 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78735 If so, please configure with --disable-linux-futex" >&5
78736 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78737 If so, please configure with --disable-linux-futex" >&2;}
78738 fi
78739 fi
78740 enable_linux_futex=yes
78741 fi
78742 rm -f core conftest.err conftest.$ac_objext \
78743 conftest$ac_exeext conftest.$ac_ext
78744 LIBS="$save_LIBS"
78745 fi
78746 rm -f core conftest.err conftest.$ac_objext \
78747 conftest$ac_exeext conftest.$ac_ext
78748 ;;
78749 yes)
78750 if test x$gcc_no_link = xyes; then
78751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78752 fi
78753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78754 /* end confdefs.h. */
78755 #include <sys/syscall.h>
78756 int lk;
78757 int
78758 main ()
78759 {
78760 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78761 ;
78762 return 0;
78763 }
78764 _ACEOF
78765 if ac_fn_c_try_link "$LINENO"; then :
78766
78767 else
78768 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78769 fi
78770 rm -f core conftest.err conftest.$ac_objext \
78771 conftest$ac_exeext conftest.$ac_ext
78772 ;;
78773 esac
78774 ;;
78775 *)
78776 enable_linux_futex=no
78777 ;;
78778 esac
78779 if test x$enable_linux_futex = xyes; then
78780
78781 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78782
78783 fi
78784
78785
78786
78787
78788 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78789
78790 acx_cv_header_stdint=stddef.h
78791 acx_cv_header_stdint_kind="(already complete)"
78792 for i in stdint.h $inttype_headers; do
78793 unset ac_cv_type_uintptr_t
78794 unset ac_cv_type_uintmax_t
78795 unset ac_cv_type_int_least32_t
78796 unset ac_cv_type_int_fast32_t
78797 unset ac_cv_type_uint64_t
78798 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78799 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78800 #include <$i>
78801 "
78802 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78803 acx_cv_header_stdint=$i
78804 else
78805 continue
78806 fi
78807
78808 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78809 #include <$i>
78810 "
78811 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78812
78813 else
78814 acx_cv_header_stdint_kind="(mostly complete)"
78815 fi
78816
78817 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78818 #include <$i>
78819 "
78820 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78821
78822 else
78823 acx_cv_header_stdint_kind="(mostly complete)"
78824 fi
78825
78826 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78827 #include <$i>
78828 "
78829 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78830
78831 else
78832 acx_cv_header_stdint_kind="(mostly complete)"
78833 fi
78834
78835 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78836 #include <$i>
78837 "
78838 if test "x$ac_cv_type_uint64_t" = xyes; then :
78839
78840 else
78841 acx_cv_header_stdint_kind="(lacks uint64_t)"
78842 fi
78843
78844 break
78845 done
78846 if test "$acx_cv_header_stdint" = stddef.h; then
78847 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78848 for i in stdint.h $inttype_headers; do
78849 unset ac_cv_type_uintptr_t
78850 unset ac_cv_type_uint32_t
78851 unset ac_cv_type_uint64_t
78852 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78853 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78854 #include <$i>
78855 "
78856 if test "x$ac_cv_type_uint32_t" = xyes; then :
78857 acx_cv_header_stdint=$i
78858 else
78859 continue
78860 fi
78861
78862 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78863 #include <$i>
78864 "
78865 if test "x$ac_cv_type_uint64_t" = xyes; then :
78866
78867 fi
78868
78869 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78870 #include <$i>
78871 "
78872 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78873
78874 fi
78875
78876 break
78877 done
78878 fi
78879 if test "$acx_cv_header_stdint" = stddef.h; then
78880 acx_cv_header_stdint_kind="(u_intXX_t style)"
78881 for i in sys/types.h $inttype_headers; do
78882 unset ac_cv_type_u_int32_t
78883 unset ac_cv_type_u_int64_t
78884 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78885 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78886 #include <$i>
78887 "
78888 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78889 acx_cv_header_stdint=$i
78890 else
78891 continue
78892 fi
78893
78894 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78895 #include <$i>
78896 "
78897 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78898
78899 fi
78900
78901 break
78902 done
78903 fi
78904 if test "$acx_cv_header_stdint" = stddef.h; then
78905 acx_cv_header_stdint_kind="(using manual detection)"
78906 fi
78907
78908 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78909 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78910 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78911 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78912 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78913
78914 # ----------------- Summarize what we found so far
78915
78916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78917 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78918
78919 case `$as_basename -- include/gstdint.h ||
78920 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78921 Xinclude/gstdint.h : 'X\(//\)$' \| \
78922 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78923 $as_echo X/include/gstdint.h |
78924 sed '/^.*\/\([^/][^/]*\)\/*$/{
78925 s//\1/
78926 q
78927 }
78928 /^X\/\(\/\/\)$/{
78929 s//\1/
78930 q
78931 }
78932 /^X\/\(\/\).*/{
78933 s//\1/
78934 q
78935 }
78936 s/.*/./; q'` in
78937 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78938 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78939 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78940 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78941 *) ;;
78942 esac
78943
78944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78945 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78946
78947 # ----------------- done included file, check C basic types --------
78948
78949 # Lacking an uintptr_t? Test size of void *
78950 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78951 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78952 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78953 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78954 # This bug is HP SR number 8606223364.
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78956 $as_echo_n "checking size of void *... " >&6; }
78957 if ${ac_cv_sizeof_void_p+:} false; then :
78958 $as_echo_n "(cached) " >&6
78959 else
78960 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78961
78962 else
78963 if test "$ac_cv_type_void_p" = yes; then
78964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78966 as_fn_error 77 "cannot compute sizeof (void *)
78967 See \`config.log' for more details" "$LINENO" 5; }
78968 else
78969 ac_cv_sizeof_void_p=0
78970 fi
78971 fi
78972
78973 fi
78974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78975 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78976
78977
78978
78979 cat >>confdefs.h <<_ACEOF
78980 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78981 _ACEOF
78982
78983 ;;
78984 esac
78985
78986 # Lacking an uint64_t? Test size of long
78987 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78988 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78989 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78990 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78991 # This bug is HP SR number 8606223364.
78992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78993 $as_echo_n "checking size of long... " >&6; }
78994 if ${ac_cv_sizeof_long+:} false; then :
78995 $as_echo_n "(cached) " >&6
78996 else
78997 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78998
78999 else
79000 if test "$ac_cv_type_long" = yes; then
79001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79003 as_fn_error 77 "cannot compute sizeof (long)
79004 See \`config.log' for more details" "$LINENO" 5; }
79005 else
79006 ac_cv_sizeof_long=0
79007 fi
79008 fi
79009
79010 fi
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
79012 $as_echo "$ac_cv_sizeof_long" >&6; }
79013
79014
79015
79016 cat >>confdefs.h <<_ACEOF
79017 #define SIZEOF_LONG $ac_cv_sizeof_long
79018 _ACEOF
79019
79020 ;;
79021 esac
79022
79023 if test $acx_cv_header_stdint = stddef.h; then
79024 # Lacking a good header? Test size of everything and deduce all types.
79025 # The cast to long int works around a bug in the HP C Compiler
79026 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79027 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79028 # This bug is HP SR number 8606223364.
79029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
79030 $as_echo_n "checking size of int... " >&6; }
79031 if ${ac_cv_sizeof_int+:} false; then :
79032 $as_echo_n "(cached) " >&6
79033 else
79034 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
79035
79036 else
79037 if test "$ac_cv_type_int" = yes; then
79038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79040 as_fn_error 77 "cannot compute sizeof (int)
79041 See \`config.log' for more details" "$LINENO" 5; }
79042 else
79043 ac_cv_sizeof_int=0
79044 fi
79045 fi
79046
79047 fi
79048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79049 $as_echo "$ac_cv_sizeof_int" >&6; }
79050
79051
79052
79053 cat >>confdefs.h <<_ACEOF
79054 #define SIZEOF_INT $ac_cv_sizeof_int
79055 _ACEOF
79056
79057
79058 # The cast to long int works around a bug in the HP C Compiler
79059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79061 # This bug is HP SR number 8606223364.
79062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79063 $as_echo_n "checking size of short... " >&6; }
79064 if ${ac_cv_sizeof_short+:} false; then :
79065 $as_echo_n "(cached) " >&6
79066 else
79067 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
79068
79069 else
79070 if test "$ac_cv_type_short" = yes; then
79071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79073 as_fn_error 77 "cannot compute sizeof (short)
79074 See \`config.log' for more details" "$LINENO" 5; }
79075 else
79076 ac_cv_sizeof_short=0
79077 fi
79078 fi
79079
79080 fi
79081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79082 $as_echo "$ac_cv_sizeof_short" >&6; }
79083
79084
79085
79086 cat >>confdefs.h <<_ACEOF
79087 #define SIZEOF_SHORT $ac_cv_sizeof_short
79088 _ACEOF
79089
79090
79091 # The cast to long int works around a bug in the HP C Compiler
79092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79094 # This bug is HP SR number 8606223364.
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79096 $as_echo_n "checking size of char... " >&6; }
79097 if ${ac_cv_sizeof_char+:} false; then :
79098 $as_echo_n "(cached) " >&6
79099 else
79100 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
79101
79102 else
79103 if test "$ac_cv_type_char" = yes; then
79104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79106 as_fn_error 77 "cannot compute sizeof (char)
79107 See \`config.log' for more details" "$LINENO" 5; }
79108 else
79109 ac_cv_sizeof_char=0
79110 fi
79111 fi
79112
79113 fi
79114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79115 $as_echo "$ac_cv_sizeof_char" >&6; }
79116
79117
79118
79119 cat >>confdefs.h <<_ACEOF
79120 #define SIZEOF_CHAR $ac_cv_sizeof_char
79121 _ACEOF
79122
79123
79124
79125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79126 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79127 case "$ac_cv_sizeof_char" in
79128 1) acx_cv_type_int8_t=char ;;
79129 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79130 esac
79131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79132 $as_echo "$acx_cv_type_int8_t" >&6; }
79133
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79135 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79136 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79137 2:*) acx_cv_type_int16_t=int ;;
79138 *:2) acx_cv_type_int16_t=short ;;
79139 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79140 esac
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79142 $as_echo "$acx_cv_type_int16_t" >&6; }
79143
79144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79145 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79146 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79147 4:*) acx_cv_type_int32_t=int ;;
79148 *:4) acx_cv_type_int32_t=long ;;
79149 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79150 esac
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79152 $as_echo "$acx_cv_type_int32_t" >&6; }
79153 fi
79154
79155 # These tests are here to make the output prettier
79156
79157 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79158 case "$ac_cv_sizeof_long" in
79159 8) acx_cv_type_int64_t=long ;;
79160 esac
79161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79162 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79164 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79165 fi
79166
79167 # Now we can use the above types
79168
79169 if test "$ac_cv_type_uintptr_t" != yes; then
79170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79171 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79172 case $ac_cv_sizeof_void_p in
79173 2) acx_cv_type_intptr_t=int16_t ;;
79174 4) acx_cv_type_intptr_t=int32_t ;;
79175 8) acx_cv_type_intptr_t=int64_t ;;
79176 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79177 esac
79178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79179 $as_echo "$acx_cv_type_intptr_t" >&6; }
79180 fi
79181
79182 # ----------------- done all checks, emit header -------------
79183 ac_config_commands="$ac_config_commands include/gstdint.h"
79184
79185
79186
79187
79188
79189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79190 $as_echo_n "checking for GNU c++filt... " >&6; }
79191 if ${ac_cv_path_CXXFILT+:} false; then :
79192 $as_echo_n "(cached) " >&6
79193 else
79194 if test -z "$CXXFILT"; then
79195 ac_path_CXXFILT_found=false
79196 # Loop through the user's path and test for each of PROGNAME-LIST
79197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79198 for as_dir in $PATH
79199 do
79200 IFS=$as_save_IFS
79201 test -z "$as_dir" && as_dir=.
79202 for ac_prog in c++filt gc++filt; do
79203 for ac_exec_ext in '' $ac_executable_extensions; do
79204 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79205 as_fn_executable_p "$ac_path_CXXFILT" || continue
79206 # Check for GNU $ac_path_CXXFILT
79207 case `"$ac_path_CXXFILT" --version 2>&1` in
79208 *GNU*)
79209 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79210 esac
79211
79212 $ac_path_CXXFILT_found && break 3
79213 done
79214 done
79215 done
79216 IFS=$as_save_IFS
79217 if test -z "$ac_cv_path_CXXFILT"; then
79218 :
79219 fi
79220 else
79221 ac_cv_path_CXXFILT=$CXXFILT
79222 fi
79223
79224 fi
79225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79226 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79227 CXXFILT=$ac_cv_path_CXXFILT
79228
79229
79230
79231 # Check whether --enable-symvers was given.
79232 if test "${enable_symvers+set}" = set; then :
79233 enableval=$enable_symvers;
79234 case "$enableval" in
79235 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79236 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79237 esac
79238
79239 else
79240 enable_symvers=yes
79241 fi
79242
79243
79244
79245 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79246 # don't know enough about $LD to do tricks...
79247
79248 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79249 # with extern "C++" in version scripts.
79250
79251
79252 # Turn a 'yes' into a suitable default.
79253 if test x$enable_symvers = xyes ; then
79254 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79255 enable_symvers=no
79256 else
79257 if test $with_gnu_ld = yes ; then
79258 case ${target_os} in
79259 hpux*)
79260 enable_symvers=no ;;
79261 *)
79262 enable_symvers=gnu ;;
79263 esac
79264 else
79265 case ${target_os} in
79266 darwin*)
79267 enable_symvers=darwin ;;
79268 # Sun symbol versioning exists since Solaris 2.5.
79269 solaris2.[5-9]* | solaris2.1[0-9]*)
79270 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79271 # version scripts, so disable symbol versioning if none can be
79272 # found.
79273 if test -z "$ac_cv_path_CXXFILT"; then
79274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79275 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79277 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79279 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79280 enable_symvers=no
79281 else
79282 enable_symvers=sun
79283 fi
79284 ;;
79285 *)
79286 enable_symvers=no ;;
79287 esac
79288 fi
79289 fi
79290 fi
79291
79292 # Check to see if 'darwin' or 'darwin-export' can win.
79293 if test x$enable_symvers = xdarwin-export ; then
79294 enable_symvers=darwin
79295 fi
79296
79297 # Check if 'sun' was requested on non-Solaris 2 platforms.
79298 if test x$enable_symvers = xsun ; then
79299 case ${target_os} in
79300 solaris2*)
79301 # All fine.
79302 ;;
79303 *)
79304 # Unlikely to work.
79305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79306 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79308 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79310 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79311 enable_symvers=no
79312 ;;
79313 esac
79314 fi
79315
79316 # Check to see if 'gnu' can win.
79317 if test $enable_symvers = gnu ||
79318 test $enable_symvers = gnu-versioned-namespace ||
79319 test $enable_symvers = sun; then
79320 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79322 $as_echo_n "checking for shared libgcc... " >&6; }
79323 ac_save_CFLAGS="$CFLAGS"
79324 CFLAGS=' -lgcc_s'
79325 if test x$gcc_no_link = xyes; then
79326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79327 fi
79328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79329 /* end confdefs.h. */
79330
79331 int
79332 main ()
79333 {
79334 return 0;
79335 ;
79336 return 0;
79337 }
79338 _ACEOF
79339 if ac_fn_c_try_link "$LINENO"; then :
79340 glibcxx_shared_libgcc=yes
79341 else
79342 glibcxx_shared_libgcc=no
79343 fi
79344 rm -f core conftest.err conftest.$ac_objext \
79345 conftest$ac_exeext conftest.$ac_ext
79346 CFLAGS="$ac_save_CFLAGS"
79347 if test $glibcxx_shared_libgcc = no; then
79348 cat > conftest.c <<EOF
79349 int main (void) { return 0; }
79350 EOF
79351 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79352 -shared -shared-libgcc -o conftest.so \
79353 conftest.c -v 2>&1 >/dev/null \
79354 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79355 rm -f conftest.c conftest.so
79356 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79357 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79358 if test x$gcc_no_link = xyes; then
79359 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79360 fi
79361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79362 /* end confdefs.h. */
79363
79364 int
79365 main ()
79366 {
79367 return 0;
79368 ;
79369 return 0;
79370 }
79371 _ACEOF
79372 if ac_fn_c_try_link "$LINENO"; then :
79373 glibcxx_shared_libgcc=yes
79374 fi
79375 rm -f core conftest.err conftest.$ac_objext \
79376 conftest$ac_exeext conftest.$ac_ext
79377 CFLAGS="$ac_save_CFLAGS"
79378 fi
79379 fi
79380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79381 $as_echo "$glibcxx_shared_libgcc" >&6; }
79382
79383 # For GNU ld, we need at least this version. The format is described in
79384 # GLIBCXX_CHECK_LINKER_FEATURES above.
79385 glibcxx_min_gnu_ld_version=21400
79386
79387 # If no shared libgcc, can't win.
79388 if test $glibcxx_shared_libgcc != yes; then
79389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79390 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79392 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79394 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79395 enable_symvers=no
79396 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79397 : All interesting versions of Sun ld support sun style symbol versioning.
79398 elif test $with_gnu_ld != yes ; then
79399 # just fail for now
79400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79401 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79403 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79405 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79406 enable_symvers=no
79407 elif test $glibcxx_ld_is_gold = yes ; then
79408 : All versions of gold support symbol versioning.
79409 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79410 # The right tools, the right setup, but too old. Fallbacks?
79411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79412 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79414 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79416 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79418 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79420 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79421 enable_symvers=no
79422 fi
79423 fi
79424
79425 # For libtool versioning info, format is CURRENT:REVISION:AGE
79426 libtool_VERSION=6:26:0
79427
79428 # Everything parsed; figure out what files and settings to use.
79429 case $enable_symvers in
79430 no)
79431 SYMVER_FILE=config/abi/pre/none.ver
79432 ;;
79433 gnu)
79434 SYMVER_FILE=config/abi/pre/gnu.ver
79435
79436 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79437
79438 ;;
79439 gnu-versioned-namespace)
79440 libtool_VERSION=8:0:0
79441 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79442
79443 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79444
79445 ;;
79446 darwin)
79447 SYMVER_FILE=config/abi/pre/gnu.ver
79448
79449 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79450
79451 ;;
79452 sun)
79453 SYMVER_FILE=config/abi/pre/gnu.ver
79454
79455 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79456
79457 ;;
79458 esac
79459
79460 if test x$enable_symvers != xno ; then
79461
79462 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79463
79464 fi
79465
79466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79467 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79468 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79469 $as_echo_n "(cached) " >&6
79470 else
79471
79472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79473 /* end confdefs.h. */
79474 void foo (void); __asm (".symver foo, bar@SYMVER");
79475 int
79476 main ()
79477 {
79478
79479 ;
79480 return 0;
79481 }
79482 _ACEOF
79483 if ac_fn_c_try_compile "$LINENO"; then :
79484 glibcxx_cv_have_as_symver_directive=yes
79485 else
79486 glibcxx_cv_have_as_symver_directive=no
79487 fi
79488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79489 fi
79490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79491 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79492 if test $glibcxx_cv_have_as_symver_directive = yes; then
79493
79494 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79495
79496 fi
79497
79498
79499
79500
79501
79502
79503
79504
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79506 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79507
79508 if test $enable_symvers != no ; then
79509 case ${target_os} in
79510 # The Solaris 2 runtime linker doesn't support the GNU extension of
79511 # binding the same symbol to different versions
79512 solaris2*)
79513 ;;
79514 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79515 *)
79516
79517 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79518
79519 ;;
79520 esac
79521 fi
79522
79523 # Now, set up compatibility support, if any.
79524 # In addition, need this to deal with std::size_t mangling in
79525 # src/compatibility.cc. In a perfect world, could use
79526 # typeid(std::size_t).name()[0] to do direct substitution.
79527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79528 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79529 ac_save_CFLAGS="$CFLAGS"
79530 CFLAGS="-Werror"
79531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79532 /* end confdefs.h. */
79533
79534 int
79535 main ()
79536 {
79537 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79538 ;
79539 return 0;
79540 }
79541 _ACEOF
79542 if ac_fn_c_try_compile "$LINENO"; then :
79543 glibcxx_size_t_is_i=yes
79544 else
79545 glibcxx_size_t_is_i=no
79546 fi
79547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79548 CFLAGS=$ac_save_CFLAGS
79549 if test "$glibcxx_size_t_is_i" = yes; then
79550
79551 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79552
79553 fi
79554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79555 $as_echo "$glibcxx_size_t_is_i" >&6; }
79556
79557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79558 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79559 ac_save_CFLAGS="$CFLAGS"
79560 CFLAGS="-Werror"
79561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79562 /* end confdefs.h. */
79563
79564 int
79565 main ()
79566 {
79567 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79568 ;
79569 return 0;
79570 }
79571 _ACEOF
79572 if ac_fn_c_try_compile "$LINENO"; then :
79573 glibcxx_ptrdiff_t_is_i=yes
79574 else
79575 glibcxx_ptrdiff_t_is_i=no
79576 fi
79577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79578 CFLAGS=$ac_save_CFLAGS
79579 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79580
79581 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79582
79583 fi
79584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79585 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79586
79587
79588
79589
79590 # Check whether --enable-libstdcxx-visibility was given.
79591 if test "${enable_libstdcxx_visibility+set}" = set; then :
79592 enableval=$enable_libstdcxx_visibility;
79593 case "$enableval" in
79594 yes|no) ;;
79595 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79596 esac
79597
79598 else
79599 enable_libstdcxx_visibility=yes
79600 fi
79601
79602
79603
79604 if test x$enable_libstdcxx_visibility = xyes ; then
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79606 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79607 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79608 $as_echo_n "(cached) " >&6
79609 else
79610
79611 save_CFLAGS="$CFLAGS"
79612 CFLAGS="$CFLAGS -Werror"
79613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79614 /* end confdefs.h. */
79615 void __attribute__((visibility("hidden"))) foo(void) { }
79616 int
79617 main ()
79618 {
79619
79620 ;
79621 return 0;
79622 }
79623 _ACEOF
79624 if ac_fn_c_try_compile "$LINENO"; then :
79625 glibcxx_cv_have_attribute_visibility=yes
79626 else
79627 glibcxx_cv_have_attribute_visibility=no
79628 fi
79629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79630 CFLAGS="$save_CFLAGS"
79631 fi
79632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79633 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79634 if test $glibcxx_cv_have_attribute_visibility = no; then
79635 enable_libstdcxx_visibility=no
79636 fi
79637 fi
79638
79639
79640 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79641 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79642
79643
79644
79645 # Check whether --enable-libstdcxx-dual-abi was given.
79646 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79647 enableval=$enable_libstdcxx_dual_abi;
79648 case "$enableval" in
79649 yes|no) ;;
79650 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79651 esac
79652
79653 else
79654 enable_libstdcxx_dual_abi=yes
79655 fi
79656
79657
79658 if test x$enable_symvers = xgnu-versioned-namespace; then
79659 # gnu-versioned-namespace is incompatible with the dual ABI.
79660 enable_libstdcxx_dual_abi="no"
79661 fi
79662 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79663 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79664 $as_echo "$as_me: dual ABI is disabled" >&6;}
79665 default_libstdcxx_abi="gcc4-compatible"
79666 fi
79667
79668
79669
79670 if test x$enable_libstdcxx_dual_abi = xyes; then
79671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79672 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79673
79674 # Check whether --with-default-libstdcxx-abi was given.
79675 if test "${with_default_libstdcxx_abi+set}" = set; then :
79676 withval=$with_default_libstdcxx_abi; case "$withval" in
79677 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79678 new|cxx11) default_libstdcxx_abi="new" ;;
79679 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79680 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79681 esac
79682
79683 else
79684 default_libstdcxx_abi="new"
79685 fi
79686
79687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79688 $as_echo "${default_libstdcxx_abi}" >&6; }
79689 fi
79690 if test $default_libstdcxx_abi = "new"; then
79691 glibcxx_cxx11_abi=1
79692 glibcxx_cxx98_abi=0
79693 else
79694 glibcxx_cxx11_abi=0
79695 glibcxx_cxx98_abi=1
79696 fi
79697
79698
79699
79700
79701 ac_ldbl_compat=no
79702 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79703 case "$target" in
79704 powerpc*-*-linux* | \
79705 sparc*-*-linux* | \
79706 s390*-*-linux* | \
79707 alpha*-*-linux*)
79708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79709 /* end confdefs.h. */
79710
79711 int
79712 main ()
79713 {
79714
79715 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79716 #error no need for long double compatibility
79717 #endif
79718
79719 ;
79720 return 0;
79721 }
79722 _ACEOF
79723 if ac_fn_c_try_compile "$LINENO"; then :
79724 ac_ldbl_compat=yes
79725 else
79726 ac_ldbl_compat=no
79727 fi
79728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79729 if test "$ac_ldbl_compat" = yes; then
79730
79731 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79732
79733 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79734 case "$target" in
79735 powerpc*-*-linux*)
79736 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79737 esac
79738 fi
79739 esac
79740
79741
79742
79743 # Check if assembler supports disabling hardware capability support.
79744
79745 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79746
79747 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79748 # with a different meaning.
79749 case ${target_os} in
79750 solaris2*)
79751 ac_save_CFLAGS="$CFLAGS"
79752 CFLAGS="$CFLAGS -Wa,-nH"
79753
79754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79755 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79757 /* end confdefs.h. */
79758
79759 int
79760 main ()
79761 {
79762 return 0;
79763 ;
79764 return 0;
79765 }
79766 _ACEOF
79767 if ac_fn_c_try_compile "$LINENO"; then :
79768 ac_hwcap_flags=yes
79769 else
79770 ac_hwcap_flags=no
79771 fi
79772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79773 if test "$ac_hwcap_flags" = "yes"; then
79774 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79775 fi
79776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79777 $as_echo "$ac_hwcap_flags" >&6; }
79778
79779 CFLAGS="$ac_save_CFLAGS"
79780 ;;
79781 esac
79782
79783
79784
79785
79786 # Check if assembler supports rdrand opcode.
79787
79788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79789 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79790 if ${ac_cv_x86_rdrand+:} false; then :
79791 $as_echo_n "(cached) " >&6
79792 else
79793
79794 ac_cv_x86_rdrand=no
79795 case "$target" in
79796 i?86-*-* | \
79797 x86_64-*-*)
79798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79799 /* end confdefs.h. */
79800
79801 int
79802 main ()
79803 {
79804 asm("rdrand %eax");
79805 ;
79806 return 0;
79807 }
79808 _ACEOF
79809 if ac_fn_c_try_compile "$LINENO"; then :
79810 ac_cv_x86_rdrand=yes
79811 else
79812 ac_cv_x86_rdrand=no
79813 fi
79814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79815 esac
79816
79817 fi
79818
79819 if test $ac_cv_x86_rdrand = yes; then
79820
79821 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79822
79823 fi
79824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79825 $as_echo "$ac_cv_x86_rdrand" >&6; }
79826
79827
79828 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79829
79830 # Do checks for resource limit functions.
79831
79832 setrlimit_have_headers=yes
79833 for ac_header in unistd.h sys/time.h sys/resource.h
79834 do :
79835 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79836 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79838 cat >>confdefs.h <<_ACEOF
79839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79840 _ACEOF
79841
79842 else
79843 setrlimit_have_headers=no
79844 fi
79845
79846 done
79847
79848 # If don't have the headers, then we can't run the tests now, and we
79849 # won't be seeing any of these during testsuite compilation.
79850 if test $setrlimit_have_headers = yes; then
79851 # Can't do these in a loop, else the resulting syntax is wrong.
79852
79853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79854 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79856 /* end confdefs.h. */
79857 #include <unistd.h>
79858 #include <sys/time.h>
79859 #include <sys/resource.h>
79860
79861 int
79862 main ()
79863 {
79864 int f = RLIMIT_DATA ;
79865 ;
79866 return 0;
79867 }
79868 _ACEOF
79869 if ac_fn_c_try_compile "$LINENO"; then :
79870 glibcxx_mresult=1
79871 else
79872 glibcxx_mresult=0
79873 fi
79874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79875
79876 cat >>confdefs.h <<_ACEOF
79877 #define HAVE_LIMIT_DATA $glibcxx_mresult
79878 _ACEOF
79879
79880 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79882 $as_echo "$res" >&6; }
79883
79884
79885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79886 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79888 /* end confdefs.h. */
79889 #include <unistd.h>
79890 #include <sys/time.h>
79891 #include <sys/resource.h>
79892
79893 int
79894 main ()
79895 {
79896 int f = RLIMIT_RSS ;
79897 ;
79898 return 0;
79899 }
79900 _ACEOF
79901 if ac_fn_c_try_compile "$LINENO"; then :
79902 glibcxx_mresult=1
79903 else
79904 glibcxx_mresult=0
79905 fi
79906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79907
79908 cat >>confdefs.h <<_ACEOF
79909 #define HAVE_LIMIT_RSS $glibcxx_mresult
79910 _ACEOF
79911
79912 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79914 $as_echo "$res" >&6; }
79915
79916
79917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79918 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79920 /* end confdefs.h. */
79921 #include <unistd.h>
79922 #include <sys/time.h>
79923 #include <sys/resource.h>
79924
79925 int
79926 main ()
79927 {
79928 int f = RLIMIT_VMEM ;
79929 ;
79930 return 0;
79931 }
79932 _ACEOF
79933 if ac_fn_c_try_compile "$LINENO"; then :
79934 glibcxx_mresult=1
79935 else
79936 glibcxx_mresult=0
79937 fi
79938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79939
79940 cat >>confdefs.h <<_ACEOF
79941 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79942 _ACEOF
79943
79944 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79946 $as_echo "$res" >&6; }
79947
79948
79949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79950 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79952 /* end confdefs.h. */
79953 #include <unistd.h>
79954 #include <sys/time.h>
79955 #include <sys/resource.h>
79956
79957 int
79958 main ()
79959 {
79960 int f = RLIMIT_AS ;
79961 ;
79962 return 0;
79963 }
79964 _ACEOF
79965 if ac_fn_c_try_compile "$LINENO"; then :
79966 glibcxx_mresult=1
79967 else
79968 glibcxx_mresult=0
79969 fi
79970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971
79972 cat >>confdefs.h <<_ACEOF
79973 #define HAVE_LIMIT_AS $glibcxx_mresult
79974 _ACEOF
79975
79976 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79978 $as_echo "$res" >&6; }
79979
79980
79981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79982 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79984 /* end confdefs.h. */
79985 #include <unistd.h>
79986 #include <sys/time.h>
79987 #include <sys/resource.h>
79988
79989 int
79990 main ()
79991 {
79992 int f = RLIMIT_FSIZE ;
79993 ;
79994 return 0;
79995 }
79996 _ACEOF
79997 if ac_fn_c_try_compile "$LINENO"; then :
79998 glibcxx_mresult=1
79999 else
80000 glibcxx_mresult=0
80001 fi
80002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80003
80004 cat >>confdefs.h <<_ACEOF
80005 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
80006 _ACEOF
80007
80008 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80010 $as_echo "$res" >&6; }
80011
80012
80013 # Check for rlimit, setrlimit.
80014 if ${glibcxx_cv_setrlimit+:} false; then :
80015 $as_echo_n "(cached) " >&6
80016 else
80017
80018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80019 /* end confdefs.h. */
80020 #include <unistd.h>
80021 #include <sys/time.h>
80022 #include <sys/resource.h>
80023
80024 int
80025 main ()
80026 {
80027 struct rlimit r;
80028 setrlimit(0, &r);
80029 ;
80030 return 0;
80031 }
80032 _ACEOF
80033 if ac_fn_c_try_compile "$LINENO"; then :
80034 glibcxx_cv_setrlimit=yes
80035 else
80036 glibcxx_cv_setrlimit=no
80037 fi
80038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80039
80040 fi
80041
80042 fi
80043
80044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
80045 $as_echo_n "checking for testsuite resource limits support... " >&6; }
80046 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80047 ac_res_limits=yes
80048
80049 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80050
80051 else
80052 ac_res_limits=no
80053 fi
80054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80055 $as_echo "$ac_res_limits" >&6; }
80056
80057
80058 if $GLIBCXX_IS_NATIVE ; then
80059 # Look for setenv, so that extended locale tests can be performed.
80060
80061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80062 $as_echo_n "checking for setenv declaration... " >&6; }
80063 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80064 if ${glibcxx_cv_func_setenv_use+:} false; then :
80065 $as_echo_n "(cached) " >&6
80066 else
80067
80068
80069 ac_ext=cpp
80070 ac_cpp='$CXXCPP $CPPFLAGS'
80071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80074
80075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80076 /* end confdefs.h. */
80077 #include <stdlib.h>
80078 int
80079 main ()
80080 {
80081 setenv(0, 0, 0);
80082 ;
80083 return 0;
80084 }
80085 _ACEOF
80086 if ac_fn_cxx_try_compile "$LINENO"; then :
80087 glibcxx_cv_func_setenv_use=yes
80088 else
80089 glibcxx_cv_func_setenv_use=no
80090 fi
80091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80092 ac_ext=c
80093 ac_cpp='$CPP $CPPFLAGS'
80094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80097
80098
80099 fi
80100
80101 fi
80102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80103 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80104 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80105 for ac_func in setenv
80106 do :
80107 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80108 if test "x$ac_cv_func_setenv" = xyes; then :
80109 cat >>confdefs.h <<_ACEOF
80110 #define HAVE_SETENV 1
80111 _ACEOF
80112
80113 fi
80114 done
80115
80116 fi
80117
80118 fi
80119
80120 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80121 test $enable_symvers != no; then
80122 case "$host" in
80123 *-*-cygwin*)
80124 enable_abi_check=no ;;
80125 *)
80126 enable_abi_check=yes ;;
80127 esac
80128 else
80129 # Only build this as native, since automake does not understand
80130 # CXX_FOR_BUILD.
80131 enable_abi_check=no
80132 fi
80133
80134 # Export file names for ABI checking.
80135 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80136
80137 baseline_subdir_switch="$abi_baseline_subdir_switch"
80138
80139
80140
80141 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80142
80143 # Check whether --enable-libstdcxx-threads was given.
80144 if test "${enable_libstdcxx_threads+set}" = set; then :
80145 enableval=$enable_libstdcxx_threads;
80146 case "$enableval" in
80147 yes|no) ;;
80148 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80149 esac
80150
80151 else
80152 enable_libstdcxx_threads=auto
80153 fi
80154
80155
80156
80157 if test x$enable_libstdcxx_threads = xauto ||
80158 test x$enable_libstdcxx_threads = xyes; then
80159
80160
80161 ac_ext=cpp
80162 ac_cpp='$CXXCPP $CPPFLAGS'
80163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80166
80167
80168 ac_save_CXXFLAGS="$CXXFLAGS"
80169 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80170 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80171
80172 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80173 case $target_thread_file in
80174 posix)
80175 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80176 esac
80177
80178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80179 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80180
80181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80182 /* end confdefs.h. */
80183 #include <unistd.h>
80184 int
80185 main ()
80186 {
80187
80188 // In case of POSIX threads check _POSIX_TIMEOUTS.
80189 #if (defined(_PTHREADS) \
80190 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80191 #error
80192 #endif
80193
80194 ;
80195 return 0;
80196 }
80197 _ACEOF
80198 if ac_fn_cxx_try_compile "$LINENO"; then :
80199 ac_gthread_use_mutex_timedlock=1
80200 else
80201 ac_gthread_use_mutex_timedlock=0
80202 fi
80203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80204
80205
80206 cat >>confdefs.h <<_ACEOF
80207 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80208 _ACEOF
80209
80210
80211 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80212 else res_mutex_timedlock=no ; fi
80213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80214 $as_echo "$res_mutex_timedlock" >&6; }
80215
80216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80217 $as_echo_n "checking for gthreads library... " >&6; }
80218
80219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80220 /* end confdefs.h. */
80221 #include "gthr.h"
80222 int
80223 main ()
80224 {
80225
80226 #ifndef __GTHREADS_CXX0X
80227 #error
80228 #endif
80229
80230 ;
80231 return 0;
80232 }
80233 _ACEOF
80234 if ac_fn_cxx_try_compile "$LINENO"; then :
80235 ac_has_gthreads=yes
80236 else
80237 ac_has_gthreads=no
80238 fi
80239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80240 else
80241 ac_has_gthreads=no
80242 fi
80243
80244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80245 $as_echo "$ac_has_gthreads" >&6; }
80246
80247 if test x"$ac_has_gthreads" = x"yes"; then
80248
80249 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80250
80251
80252 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80253 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80254 "
80255 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80256
80257 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80258
80259 fi
80260
80261 fi
80262
80263 CXXFLAGS="$ac_save_CXXFLAGS"
80264 ac_ext=c
80265 ac_cpp='$CPP $CPPFLAGS'
80266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80269
80270
80271
80272 # For Filesystem TS.
80273 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80274 do :
80275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80276 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80278 cat >>confdefs.h <<_ACEOF
80279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80280 _ACEOF
80281
80282 fi
80283
80284 done
80285
80286
80287 # Check whether --enable-libstdcxx-filesystem-ts was given.
80288 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80289 enableval=$enable_libstdcxx_filesystem_ts;
80290 case "$enableval" in
80291 yes|no|auto) ;;
80292 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80293 esac
80294
80295 else
80296 enable_libstdcxx_filesystem_ts=auto
80297 fi
80298
80299
80300
80301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80302 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80303 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80304 enable_libstdcxx_filesystem_ts=no
80305 fi
80306 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80307 case "${target_os}" in
80308 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80309 enable_libstdcxx_filesystem_ts=yes
80310 ;;
80311 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80312 enable_libstdcxx_filesystem_ts=yes
80313 ;;
80314 rtems*)
80315 enable_libstdcxx_filesystem_ts=yes
80316 ;;
80317 solaris*)
80318 enable_libstdcxx_filesystem_ts=yes
80319 ;;
80320 *)
80321 enable_libstdcxx_filesystem_ts=no
80322 ;;
80323 esac
80324 fi
80325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80326 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80327
80328
80329 if test $enable_libstdcxx_filesystem_ts = yes; then
80330
80331 ac_ext=cpp
80332 ac_cpp='$CXXCPP $CPPFLAGS'
80333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80336
80337 ac_save_CXXFLAGS="$CXXFLAGS"
80338 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80340 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80341 if ${glibcxx_cv_dirent_d_type+:} false; then :
80342 $as_echo_n "(cached) " >&6
80343 else
80344 if test x$gcc_no_link = xyes; then
80345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80346 /* end confdefs.h. */
80347 #include <dirent.h>
80348 int
80349 main ()
80350 {
80351
80352 struct dirent d;
80353 if (sizeof d.d_type) return 0;
80354
80355 ;
80356 return 0;
80357 }
80358 _ACEOF
80359 if ac_fn_cxx_try_compile "$LINENO"; then :
80360 glibcxx_cv_dirent_d_type=yes
80361 else
80362 glibcxx_cv_dirent_d_type=no
80363 fi
80364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80365 else
80366 if test x$gcc_no_link = xyes; then
80367 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80368 fi
80369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80370 /* end confdefs.h. */
80371 #include <dirent.h>
80372 int
80373 main ()
80374 {
80375
80376 struct dirent d;
80377 if (sizeof d.d_type) return 0;
80378
80379 ;
80380 return 0;
80381 }
80382 _ACEOF
80383 if ac_fn_cxx_try_link "$LINENO"; then :
80384 glibcxx_cv_dirent_d_type=yes
80385 else
80386 glibcxx_cv_dirent_d_type=no
80387 fi
80388 rm -f core conftest.err conftest.$ac_objext \
80389 conftest$ac_exeext conftest.$ac_ext
80390 fi
80391
80392 fi
80393
80394 if test $glibcxx_cv_dirent_d_type = yes; then
80395
80396 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80397
80398 fi
80399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80400 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80402 $as_echo_n "checking for realpath... " >&6; }
80403 if ${glibcxx_cv_realpath+:} false; then :
80404 $as_echo_n "(cached) " >&6
80405 else
80406 if test x$gcc_no_link = xyes; then
80407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80408 /* end confdefs.h. */
80409
80410 #include <limits.h>
80411 #include <stdlib.h>
80412 #include <unistd.h>
80413
80414 int
80415 main ()
80416 {
80417
80418 #if _XOPEN_VERSION < 500
80419 #error
80420 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80421 char *tmp = realpath((const char*)NULL, (char*)NULL);
80422 #else
80423 #error
80424 #endif
80425
80426 ;
80427 return 0;
80428 }
80429 _ACEOF
80430 if ac_fn_cxx_try_compile "$LINENO"; then :
80431 glibcxx_cv_realpath=yes
80432 else
80433 glibcxx_cv_realpath=no
80434 fi
80435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80436 else
80437 if test x$gcc_no_link = xyes; then
80438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80439 fi
80440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80441 /* end confdefs.h. */
80442
80443 #include <limits.h>
80444 #include <stdlib.h>
80445 #include <unistd.h>
80446
80447 int
80448 main ()
80449 {
80450
80451 #if _XOPEN_VERSION < 500
80452 #error
80453 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80454 char *tmp = realpath((const char*)NULL, (char*)NULL);
80455 #else
80456 #error
80457 #endif
80458
80459 ;
80460 return 0;
80461 }
80462 _ACEOF
80463 if ac_fn_cxx_try_link "$LINENO"; then :
80464 glibcxx_cv_realpath=yes
80465 else
80466 glibcxx_cv_realpath=no
80467 fi
80468 rm -f core conftest.err conftest.$ac_objext \
80469 conftest$ac_exeext conftest.$ac_ext
80470 fi
80471
80472 fi
80473
80474 if test $glibcxx_cv_realpath = yes; then
80475
80476 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80477
80478 fi
80479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80480 $as_echo "$glibcxx_cv_realpath" >&6; }
80481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80482 $as_echo_n "checking for utimensat... " >&6; }
80483 if ${glibcxx_cv_utimensat+:} false; then :
80484 $as_echo_n "(cached) " >&6
80485 else
80486 if test x$gcc_no_link = xyes; then
80487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80488 /* end confdefs.h. */
80489
80490 #include <fcntl.h>
80491 #include <sys/stat.h>
80492
80493 int
80494 main ()
80495 {
80496
80497 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80498 int i = utimensat(AT_FDCWD, "path", ts, 0);
80499
80500 ;
80501 return 0;
80502 }
80503 _ACEOF
80504 if ac_fn_cxx_try_compile "$LINENO"; then :
80505 glibcxx_cv_utimensat=yes
80506 else
80507 glibcxx_cv_utimensat=no
80508 fi
80509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80510 else
80511 if test x$gcc_no_link = xyes; then
80512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80513 fi
80514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80515 /* end confdefs.h. */
80516
80517 #include <fcntl.h>
80518 #include <sys/stat.h>
80519
80520 int
80521 main ()
80522 {
80523
80524 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80525 int i = utimensat(AT_FDCWD, "path", ts, 0);
80526
80527 ;
80528 return 0;
80529 }
80530 _ACEOF
80531 if ac_fn_cxx_try_link "$LINENO"; then :
80532 glibcxx_cv_utimensat=yes
80533 else
80534 glibcxx_cv_utimensat=no
80535 fi
80536 rm -f core conftest.err conftest.$ac_objext \
80537 conftest$ac_exeext conftest.$ac_ext
80538 fi
80539
80540 fi
80541
80542 if test $glibcxx_cv_utimensat = yes; then
80543
80544 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80545
80546 fi
80547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80548 $as_echo "$glibcxx_cv_utimensat" >&6; }
80549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
80550 $as_echo_n "checking for utime... " >&6; }
80551 if ${glibcxx_cv_utime+:} false; then :
80552 $as_echo_n "(cached) " >&6
80553 else
80554 if test x$gcc_no_link = xyes; then
80555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80556 /* end confdefs.h. */
80557
80558 #include <utime.h>
80559
80560 int
80561 main ()
80562 {
80563
80564 struct utimbuf t = { 1, 1 };
80565 int i = utime("path", &t);
80566
80567 ;
80568 return 0;
80569 }
80570 _ACEOF
80571 if ac_fn_cxx_try_compile "$LINENO"; then :
80572 glibcxx_cv_utime=yes
80573 else
80574 glibcxx_cv_utime=no
80575 fi
80576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80577 else
80578 if test x$gcc_no_link = xyes; then
80579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80580 fi
80581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80582 /* end confdefs.h. */
80583
80584 #include <utime.h>
80585
80586 int
80587 main ()
80588 {
80589
80590 struct utimbuf t = { 1, 1 };
80591 int i = utime("path", &t);
80592
80593 ;
80594 return 0;
80595 }
80596 _ACEOF
80597 if ac_fn_cxx_try_link "$LINENO"; then :
80598 glibcxx_cv_utime=yes
80599 else
80600 glibcxx_cv_utime=no
80601 fi
80602 rm -f core conftest.err conftest.$ac_objext \
80603 conftest$ac_exeext conftest.$ac_ext
80604 fi
80605
80606 fi
80607
80608 if test $glibcxx_cv_utime = yes; then
80609
80610 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
80611
80612 fi
80613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
80614 $as_echo "$glibcxx_cv_utime" >&6; }
80615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
80616 $as_echo_n "checking for lstat... " >&6; }
80617 if ${glibcxx_cv_lstat+:} false; then :
80618 $as_echo_n "(cached) " >&6
80619 else
80620 if test x$gcc_no_link = xyes; then
80621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80622 /* end confdefs.h. */
80623 #include <sys/stat.h>
80624 int
80625 main ()
80626 {
80627
80628 struct stat st;
80629 int i = lstat("path", &st);
80630
80631 ;
80632 return 0;
80633 }
80634 _ACEOF
80635 if ac_fn_cxx_try_compile "$LINENO"; then :
80636 glibcxx_cv_lstat=yes
80637 else
80638 glibcxx_cv_lstat=no
80639 fi
80640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80641 else
80642 if test x$gcc_no_link = xyes; then
80643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80644 fi
80645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80646 /* end confdefs.h. */
80647 #include <sys/stat.h>
80648 int
80649 main ()
80650 {
80651
80652 struct stat st;
80653 int i = lstat("path", &st);
80654
80655 ;
80656 return 0;
80657 }
80658 _ACEOF
80659 if ac_fn_cxx_try_link "$LINENO"; then :
80660 glibcxx_cv_lstat=yes
80661 else
80662 glibcxx_cv_lstat=no
80663 fi
80664 rm -f core conftest.err conftest.$ac_objext \
80665 conftest$ac_exeext conftest.$ac_ext
80666 fi
80667
80668 fi
80669
80670 if test $glibcxx_cv_lstat = yes; then
80671
80672 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
80673
80674 fi
80675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
80676 $as_echo "$glibcxx_cv_lstat" >&6; }
80677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80678 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80679 if ${glibcxx_cv_st_mtim+:} false; then :
80680 $as_echo_n "(cached) " >&6
80681 else
80682 if test x$gcc_no_link = xyes; then
80683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80684 /* end confdefs.h. */
80685 #include <sys/stat.h>
80686 int
80687 main ()
80688 {
80689
80690 struct stat st;
80691 return st.st_mtim.tv_nsec;
80692
80693 ;
80694 return 0;
80695 }
80696 _ACEOF
80697 if ac_fn_cxx_try_compile "$LINENO"; then :
80698 glibcxx_cv_st_mtim=yes
80699 else
80700 glibcxx_cv_st_mtim=no
80701 fi
80702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80703 else
80704 if test x$gcc_no_link = xyes; then
80705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80706 fi
80707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80708 /* end confdefs.h. */
80709 #include <sys/stat.h>
80710 int
80711 main ()
80712 {
80713
80714 struct stat st;
80715 return st.st_mtim.tv_nsec;
80716
80717 ;
80718 return 0;
80719 }
80720 _ACEOF
80721 if ac_fn_cxx_try_link "$LINENO"; then :
80722 glibcxx_cv_st_mtim=yes
80723 else
80724 glibcxx_cv_st_mtim=no
80725 fi
80726 rm -f core conftest.err conftest.$ac_objext \
80727 conftest$ac_exeext conftest.$ac_ext
80728 fi
80729
80730 fi
80731
80732 if test $glibcxx_cv_st_mtim = yes; then
80733
80734 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80735
80736 fi
80737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80738 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80740 $as_echo_n "checking for fchmod... " >&6; }
80741 if ${glibcxx_cv_fchmod+:} false; then :
80742 $as_echo_n "(cached) " >&6
80743 else
80744 if test x$gcc_no_link = xyes; then
80745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80746 /* end confdefs.h. */
80747 #include <sys/stat.h>
80748 int
80749 main ()
80750 {
80751 fchmod(1, S_IWUSR);
80752 ;
80753 return 0;
80754 }
80755 _ACEOF
80756 if ac_fn_cxx_try_compile "$LINENO"; then :
80757 glibcxx_cv_fchmod=yes
80758 else
80759 glibcxx_cv_fchmod=no
80760 fi
80761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80762 else
80763 if test x$gcc_no_link = xyes; then
80764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80765 fi
80766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80767 /* end confdefs.h. */
80768 #include <sys/stat.h>
80769 int
80770 main ()
80771 {
80772 fchmod(1, S_IWUSR);
80773 ;
80774 return 0;
80775 }
80776 _ACEOF
80777 if ac_fn_cxx_try_link "$LINENO"; then :
80778 glibcxx_cv_fchmod=yes
80779 else
80780 glibcxx_cv_fchmod=no
80781 fi
80782 rm -f core conftest.err conftest.$ac_objext \
80783 conftest$ac_exeext conftest.$ac_ext
80784 fi
80785
80786 fi
80787
80788 if test $glibcxx_cv_fchmod = yes; then
80789
80790 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80791
80792 fi
80793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80794 $as_echo "$glibcxx_cv_fchmod" >&6; }
80795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80796 $as_echo_n "checking for fchmodat... " >&6; }
80797 if ${glibcxx_cv_fchmodat+:} false; then :
80798 $as_echo_n "(cached) " >&6
80799 else
80800 if test x$gcc_no_link = xyes; then
80801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80802 /* end confdefs.h. */
80803
80804 #include <fcntl.h>
80805 #include <sys/stat.h>
80806
80807 int
80808 main ()
80809 {
80810 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80811 ;
80812 return 0;
80813 }
80814 _ACEOF
80815 if ac_fn_cxx_try_compile "$LINENO"; then :
80816 glibcxx_cv_fchmodat=yes
80817 else
80818 glibcxx_cv_fchmodat=no
80819 fi
80820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80821 else
80822 if test x$gcc_no_link = xyes; then
80823 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80824 fi
80825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80826 /* end confdefs.h. */
80827
80828 #include <fcntl.h>
80829 #include <sys/stat.h>
80830
80831 int
80832 main ()
80833 {
80834 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80835 ;
80836 return 0;
80837 }
80838 _ACEOF
80839 if ac_fn_cxx_try_link "$LINENO"; then :
80840 glibcxx_cv_fchmodat=yes
80841 else
80842 glibcxx_cv_fchmodat=no
80843 fi
80844 rm -f core conftest.err conftest.$ac_objext \
80845 conftest$ac_exeext conftest.$ac_ext
80846 fi
80847
80848 fi
80849
80850 if test $glibcxx_cv_fchmodat = yes; then
80851
80852 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80853
80854 fi
80855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80856 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80858 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80859 if ${glibcxx_cv_sendfile+:} false; then :
80860 $as_echo_n "(cached) " >&6
80861 else
80862 case "${target_os}" in
80863 gnu* | linux* | solaris*)
80864 if test x$gcc_no_link = xyes; then
80865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80866 /* end confdefs.h. */
80867 #include <sys/sendfile.h>
80868 int
80869 main ()
80870 {
80871 sendfile(1, 2, (off_t*)0, sizeof 1);
80872 ;
80873 return 0;
80874 }
80875 _ACEOF
80876 if ac_fn_cxx_try_compile "$LINENO"; then :
80877 glibcxx_cv_sendfile=yes
80878 else
80879 glibcxx_cv_sendfile=no
80880 fi
80881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80882 else
80883 if test x$gcc_no_link = xyes; then
80884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80885 fi
80886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80887 /* end confdefs.h. */
80888 #include <sys/sendfile.h>
80889 int
80890 main ()
80891 {
80892 sendfile(1, 2, (off_t*)0, sizeof 1);
80893 ;
80894 return 0;
80895 }
80896 _ACEOF
80897 if ac_fn_cxx_try_link "$LINENO"; then :
80898 glibcxx_cv_sendfile=yes
80899 else
80900 glibcxx_cv_sendfile=no
80901 fi
80902 rm -f core conftest.err conftest.$ac_objext \
80903 conftest$ac_exeext conftest.$ac_ext
80904 fi
80905 ;;
80906 *)
80907 glibcxx_cv_sendfile=no
80908 ;;
80909 esac
80910
80911 fi
80912
80913 if test $glibcxx_cv_sendfile = yes; then
80914
80915 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80916
80917 fi
80918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80919 $as_echo "$glibcxx_cv_sendfile" >&6; }
80920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80921 $as_echo_n "checking for link... " >&6; }
80922 if ${glibcxx_cv_link+:} false; then :
80923 $as_echo_n "(cached) " >&6
80924 else
80925 if test x$gcc_no_link = xyes; then
80926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80927 /* end confdefs.h. */
80928 #include <unistd.h>
80929 int
80930 main ()
80931 {
80932 link("", "");
80933 ;
80934 return 0;
80935 }
80936 _ACEOF
80937 if ac_fn_cxx_try_compile "$LINENO"; then :
80938 glibcxx_cv_link=yes
80939 else
80940 glibcxx_cv_link=no
80941 fi
80942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80943 else
80944 if test x$gcc_no_link = xyes; then
80945 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80946 fi
80947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80948 /* end confdefs.h. */
80949 #include <unistd.h>
80950 int
80951 main ()
80952 {
80953 link("", "");
80954 ;
80955 return 0;
80956 }
80957 _ACEOF
80958 if ac_fn_cxx_try_link "$LINENO"; then :
80959 glibcxx_cv_link=yes
80960 else
80961 glibcxx_cv_link=no
80962 fi
80963 rm -f core conftest.err conftest.$ac_objext \
80964 conftest$ac_exeext conftest.$ac_ext
80965 fi
80966
80967 fi
80968
80969 if test $glibcxx_cv_link = yes; then
80970
80971 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80972
80973 fi
80974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80975 $as_echo "$glibcxx_cv_link" >&6; }
80976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80977 $as_echo_n "checking for readlink... " >&6; }
80978 if ${glibcxx_cv_readlink+:} false; then :
80979 $as_echo_n "(cached) " >&6
80980 else
80981 if test x$gcc_no_link = xyes; then
80982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80983 /* end confdefs.h. */
80984 #include <unistd.h>
80985 int
80986 main ()
80987 {
80988 char buf[32]; readlink("", buf, sizeof(buf));
80989 ;
80990 return 0;
80991 }
80992 _ACEOF
80993 if ac_fn_cxx_try_compile "$LINENO"; then :
80994 glibcxx_cv_readlink=yes
80995 else
80996 glibcxx_cv_readlink=no
80997 fi
80998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80999 else
81000 if test x$gcc_no_link = xyes; then
81001 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81002 fi
81003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81004 /* end confdefs.h. */
81005 #include <unistd.h>
81006 int
81007 main ()
81008 {
81009 char buf[32]; readlink("", buf, sizeof(buf));
81010 ;
81011 return 0;
81012 }
81013 _ACEOF
81014 if ac_fn_cxx_try_link "$LINENO"; then :
81015 glibcxx_cv_readlink=yes
81016 else
81017 glibcxx_cv_readlink=no
81018 fi
81019 rm -f core conftest.err conftest.$ac_objext \
81020 conftest$ac_exeext conftest.$ac_ext
81021 fi
81022
81023 fi
81024
81025 if test $glibcxx_cv_readlink = yes; then
81026
81027 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
81028
81029 fi
81030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
81031 $as_echo "$glibcxx_cv_readlink" >&6; }
81032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
81033 $as_echo_n "checking for symlink... " >&6; }
81034 if ${glibcxx_cv_symlink+:} false; then :
81035 $as_echo_n "(cached) " >&6
81036 else
81037 if test x$gcc_no_link = xyes; then
81038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81039 /* end confdefs.h. */
81040 #include <unistd.h>
81041 int
81042 main ()
81043 {
81044 symlink("", "");
81045 ;
81046 return 0;
81047 }
81048 _ACEOF
81049 if ac_fn_cxx_try_compile "$LINENO"; then :
81050 glibcxx_cv_symlink=yes
81051 else
81052 glibcxx_cv_symlink=no
81053 fi
81054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81055 else
81056 if test x$gcc_no_link = xyes; then
81057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81058 fi
81059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81060 /* end confdefs.h. */
81061 #include <unistd.h>
81062 int
81063 main ()
81064 {
81065 symlink("", "");
81066 ;
81067 return 0;
81068 }
81069 _ACEOF
81070 if ac_fn_cxx_try_link "$LINENO"; then :
81071 glibcxx_cv_symlink=yes
81072 else
81073 glibcxx_cv_symlink=no
81074 fi
81075 rm -f core conftest.err conftest.$ac_objext \
81076 conftest$ac_exeext conftest.$ac_ext
81077 fi
81078
81079 fi
81080
81081 if test $glibcxx_cv_symlink = yes; then
81082
81083 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
81084
81085 fi
81086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
81087 $as_echo "$glibcxx_cv_symlink" >&6; }
81088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
81089 $as_echo_n "checking for truncate... " >&6; }
81090 if ${glibcxx_cv_truncate+:} false; then :
81091 $as_echo_n "(cached) " >&6
81092 else
81093 if test x$gcc_no_link = xyes; then
81094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81095 /* end confdefs.h. */
81096 #include <unistd.h>
81097 int
81098 main ()
81099 {
81100 truncate("", 99);
81101 ;
81102 return 0;
81103 }
81104 _ACEOF
81105 if ac_fn_cxx_try_compile "$LINENO"; then :
81106 glibcxx_cv_truncate=yes
81107 else
81108 glibcxx_cv_truncate=no
81109 fi
81110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81111 else
81112 if test x$gcc_no_link = xyes; then
81113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81114 fi
81115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81116 /* end confdefs.h. */
81117 #include <unistd.h>
81118 int
81119 main ()
81120 {
81121 truncate("", 99);
81122 ;
81123 return 0;
81124 }
81125 _ACEOF
81126 if ac_fn_cxx_try_link "$LINENO"; then :
81127 glibcxx_cv_truncate=yes
81128 else
81129 glibcxx_cv_truncate=no
81130 fi
81131 rm -f core conftest.err conftest.$ac_objext \
81132 conftest$ac_exeext conftest.$ac_ext
81133 fi
81134
81135 fi
81136
81137 if test $glibcxx_cv_truncate = yes; then
81138
81139 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
81140
81141 fi
81142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
81143 $as_echo "$glibcxx_cv_truncate" >&6; }
81144 CXXFLAGS="$ac_save_CXXFLAGS"
81145 ac_ext=c
81146 ac_cpp='$CPP $CPPFLAGS'
81147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81150
81151 fi
81152
81153
81154 # For Networking TS.
81155 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
81156 do :
81157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
81158 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
81159 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
81160 cat >>confdefs.h <<_ACEOF
81161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
81162 _ACEOF
81163
81164 fi
81165
81166 done
81167
81168
81169 # For Transactional Memory TS
81170
81171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
81172 $as_echo_n "checking how size_t is mangled... " >&6; }
81173 if ${glibcxx_cv_size_t_mangling+:} false; then :
81174 $as_echo_n "(cached) " >&6
81175 else
81176
81177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81178 /* end confdefs.h. */
81179
81180 int
81181 main ()
81182 {
81183 extern __SIZE_TYPE__ x; extern unsigned long x;
81184 ;
81185 return 0;
81186 }
81187 _ACEOF
81188 if ac_fn_c_try_compile "$LINENO"; then :
81189 glibcxx_cv_size_t_mangling=m
81190 else
81191
81192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81193 /* end confdefs.h. */
81194
81195 int
81196 main ()
81197 {
81198 extern __SIZE_TYPE__ x; extern unsigned int x;
81199 ;
81200 return 0;
81201 }
81202 _ACEOF
81203 if ac_fn_c_try_compile "$LINENO"; then :
81204 glibcxx_cv_size_t_mangling=j
81205 else
81206
81207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81208 /* end confdefs.h. */
81209
81210 int
81211 main ()
81212 {
81213 extern __SIZE_TYPE__ x; extern unsigned long long x;
81214 ;
81215 return 0;
81216 }
81217 _ACEOF
81218 if ac_fn_c_try_compile "$LINENO"; then :
81219 glibcxx_cv_size_t_mangling=y
81220 else
81221
81222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81223 /* end confdefs.h. */
81224
81225 int
81226 main ()
81227 {
81228 extern __SIZE_TYPE__ x; extern unsigned short x;
81229 ;
81230 return 0;
81231 }
81232 _ACEOF
81233 if ac_fn_c_try_compile "$LINENO"; then :
81234 glibcxx_cv_size_t_mangling=t
81235 else
81236
81237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81238 /* end confdefs.h. */
81239
81240 int
81241 main ()
81242 {
81243 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
81244 ;
81245 return 0;
81246 }
81247 _ACEOF
81248 if ac_fn_c_try_compile "$LINENO"; then :
81249 glibcxx_cv_size_t_mangling=u6uint20
81250 else
81251 glibcxx_cv_size_t_mangling=x
81252 fi
81253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81254
81255 fi
81256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81257
81258 fi
81259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81260
81261 fi
81262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81263
81264 fi
81265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81266
81267 fi
81268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
81269 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
81270 if test $glibcxx_cv_size_t_mangling = x; then
81271 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
81272 fi
81273
81274 cat >>confdefs.h <<_ACEOF
81275 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
81276 _ACEOF
81277
81278
81279
81280 # Check which release added std::exception_ptr for the target
81281
81282 if test $enable_symvers != no; then
81283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
81284 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
81285 case ${target} in
81286 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
81287 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
81288 ac_exception_ptr_since_gcc46=yes
81289 ;;
81290 *)
81291 # If the value of this macro changes then we will need to hardcode
81292 # yes/no here for additional targets based on the original value.
81293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81294 /* end confdefs.h. */
81295
81296 int
81297 main ()
81298 {
81299
81300 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
81301 # error atomic int not always lock free
81302 #endif
81303
81304 ;
81305 return 0;
81306 }
81307 _ACEOF
81308 if ac_fn_c_try_compile "$LINENO"; then :
81309 ac_exception_ptr_since_gcc46=yes
81310 else
81311 ac_exception_ptr_since_gcc46=no
81312 fi
81313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81314 ;;
81315 esac
81316 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81317
81318 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81319
81320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81321 $as_echo "4.6.0" >&6; }
81322 else
81323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81324 $as_echo "7.1.0" >&6; }
81325 fi
81326 fi
81327
81328
81329 # Define documentation rules conditionally.
81330
81331 # See if makeinfo has been installed and is modern enough
81332 # that we can use it.
81333
81334 # Extract the first word of "makeinfo", so it can be a program name with args.
81335 set dummy makeinfo; ac_word=$2
81336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81337 $as_echo_n "checking for $ac_word... " >&6; }
81338 if ${ac_cv_prog_MAKEINFO+:} false; then :
81339 $as_echo_n "(cached) " >&6
81340 else
81341 if test -n "$MAKEINFO"; then
81342 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81343 else
81344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81345 for as_dir in $PATH
81346 do
81347 IFS=$as_save_IFS
81348 test -z "$as_dir" && as_dir=.
81349 for ac_exec_ext in '' $ac_executable_extensions; do
81350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81351 ac_cv_prog_MAKEINFO="makeinfo"
81352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81353 break 2
81354 fi
81355 done
81356 done
81357 IFS=$as_save_IFS
81358
81359 fi
81360 fi
81361 MAKEINFO=$ac_cv_prog_MAKEINFO
81362 if test -n "$MAKEINFO"; then
81363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81364 $as_echo "$MAKEINFO" >&6; }
81365 else
81366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81367 $as_echo "no" >&6; }
81368 fi
81369
81370
81371 if test -n "$MAKEINFO"; then
81372 # Found it, now check the version.
81373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81374 $as_echo_n "checking for modern makeinfo... " >&6; }
81375 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81376 $as_echo_n "(cached) " >&6
81377 else
81378 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81379 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81380
81381 case $ac_prog_version in
81382 '') gcc_cv_prog_makeinfo_modern=no;;
81383 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81384 *) gcc_cv_prog_makeinfo_modern=no;;
81385 esac
81386
81387 fi
81388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81389 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81390 else
81391 gcc_cv_prog_makeinfo_modern=no
81392 fi
81393 if test $gcc_cv_prog_makeinfo_modern = no; then
81394 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81395 fi
81396
81397 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81398 BUILD_INFO_TRUE=
81399 BUILD_INFO_FALSE='#'
81400 else
81401 BUILD_INFO_TRUE='#'
81402 BUILD_INFO_FALSE=
81403 fi
81404
81405
81406 # Check for doxygen
81407 # Extract the first word of "doxygen", so it can be a program name with args.
81408 set dummy doxygen; ac_word=$2
81409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81410 $as_echo_n "checking for $ac_word... " >&6; }
81411 if ${ac_cv_prog_DOXYGEN+:} false; then :
81412 $as_echo_n "(cached) " >&6
81413 else
81414 if test -n "$DOXYGEN"; then
81415 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81416 else
81417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81418 for as_dir in $PATH
81419 do
81420 IFS=$as_save_IFS
81421 test -z "$as_dir" && as_dir=.
81422 for ac_exec_ext in '' $ac_executable_extensions; do
81423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81424 ac_cv_prog_DOXYGEN="yes"
81425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81426 break 2
81427 fi
81428 done
81429 done
81430 IFS=$as_save_IFS
81431
81432 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81433 fi
81434 fi
81435 DOXYGEN=$ac_cv_prog_DOXYGEN
81436 if test -n "$DOXYGEN"; then
81437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81438 $as_echo "$DOXYGEN" >&6; }
81439 else
81440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81441 $as_echo "no" >&6; }
81442 fi
81443
81444
81445 # Extract the first word of "dot", so it can be a program name with args.
81446 set dummy dot; ac_word=$2
81447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81448 $as_echo_n "checking for $ac_word... " >&6; }
81449 if ${ac_cv_prog_DOT+:} false; then :
81450 $as_echo_n "(cached) " >&6
81451 else
81452 if test -n "$DOT"; then
81453 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81454 else
81455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81456 for as_dir in $PATH
81457 do
81458 IFS=$as_save_IFS
81459 test -z "$as_dir" && as_dir=.
81460 for ac_exec_ext in '' $ac_executable_extensions; do
81461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81462 ac_cv_prog_DOT="yes"
81463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81464 break 2
81465 fi
81466 done
81467 done
81468 IFS=$as_save_IFS
81469
81470 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81471 fi
81472 fi
81473 DOT=$ac_cv_prog_DOT
81474 if test -n "$DOT"; then
81475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81476 $as_echo "$DOT" >&6; }
81477 else
81478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81479 $as_echo "no" >&6; }
81480 fi
81481
81482
81483
81484 # Check for docbook
81485 # Extract the first word of "xmlcatalog", so it can be a program name with args.
81486 set dummy xmlcatalog; ac_word=$2
81487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81488 $as_echo_n "checking for $ac_word... " >&6; }
81489 if ${ac_cv_prog_XMLCATALOG+:} false; then :
81490 $as_echo_n "(cached) " >&6
81491 else
81492 if test -n "$XMLCATALOG"; then
81493 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
81494 else
81495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81496 for as_dir in $PATH
81497 do
81498 IFS=$as_save_IFS
81499 test -z "$as_dir" && as_dir=.
81500 for ac_exec_ext in '' $ac_executable_extensions; do
81501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81502 ac_cv_prog_XMLCATALOG="yes"
81503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81504 break 2
81505 fi
81506 done
81507 done
81508 IFS=$as_save_IFS
81509
81510 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
81511 fi
81512 fi
81513 XMLCATALOG=$ac_cv_prog_XMLCATALOG
81514 if test -n "$XMLCATALOG"; then
81515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
81516 $as_echo "$XMLCATALOG" >&6; }
81517 else
81518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81519 $as_echo "no" >&6; }
81520 fi
81521
81522
81523 # Extract the first word of "xsltproc", so it can be a program name with args.
81524 set dummy xsltproc; ac_word=$2
81525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81526 $as_echo_n "checking for $ac_word... " >&6; }
81527 if ${ac_cv_prog_XSLTPROC+:} false; then :
81528 $as_echo_n "(cached) " >&6
81529 else
81530 if test -n "$XSLTPROC"; then
81531 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81532 else
81533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81534 for as_dir in $PATH
81535 do
81536 IFS=$as_save_IFS
81537 test -z "$as_dir" && as_dir=.
81538 for ac_exec_ext in '' $ac_executable_extensions; do
81539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81540 ac_cv_prog_XSLTPROC="yes"
81541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81542 break 2
81543 fi
81544 done
81545 done
81546 IFS=$as_save_IFS
81547
81548 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81549 fi
81550 fi
81551 XSLTPROC=$ac_cv_prog_XSLTPROC
81552 if test -n "$XSLTPROC"; then
81553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81554 $as_echo "$XSLTPROC" >&6; }
81555 else
81556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81557 $as_echo "no" >&6; }
81558 fi
81559
81560
81561 # Extract the first word of "xmllint", so it can be a program name with args.
81562 set dummy xmllint; ac_word=$2
81563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81564 $as_echo_n "checking for $ac_word... " >&6; }
81565 if ${ac_cv_prog_XMLLINT+:} false; then :
81566 $as_echo_n "(cached) " >&6
81567 else
81568 if test -n "$XMLLINT"; then
81569 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81570 else
81571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81572 for as_dir in $PATH
81573 do
81574 IFS=$as_save_IFS
81575 test -z "$as_dir" && as_dir=.
81576 for ac_exec_ext in '' $ac_executable_extensions; do
81577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81578 ac_cv_prog_XMLLINT="yes"
81579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81580 break 2
81581 fi
81582 done
81583 done
81584 IFS=$as_save_IFS
81585
81586 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81587 fi
81588 fi
81589 XMLLINT=$ac_cv_prog_XMLLINT
81590 if test -n "$XMLLINT"; then
81591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81592 $as_echo "$XMLLINT" >&6; }
81593 else
81594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81595 $as_echo "no" >&6; }
81596 fi
81597
81598
81599
81600
81601 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
81602
81603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81604 $as_echo_n "checking for local stylesheet directory... " >&6; }
81605 glibcxx_local_stylesheets=no
81606 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
81607 then
81608 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
81609 glibcxx_local_stylesheets=yes
81610 else
81611 for dir in \
81612 /usr/share/sgml/docbook/xsl-ns-stylesheets \
81613 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
81614 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
81615 /usr/share/xml/docbook/stylesheet/nwalsh/current
81616 do
81617 if test -d $dir; then
81618 glibcxx_local_stylesheets=yes
81619 XSL_STYLE_DIR=$dir
81620 break
81621 fi
81622 done
81623 fi
81624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81625 $as_echo "$glibcxx_local_stylesheets" >&6; }
81626
81627 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81628
81629 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81630 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81631
81632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81633 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81634 glibcxx_stylesheets=no
81635 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
81636 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
81637 glibcxx_stylesheets=yes
81638 fi
81639 fi
81640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81641 $as_echo "$glibcxx_stylesheets" >&6; }
81642
81643 else
81644 glibcxx_stylesheets=no
81645 fi
81646
81647 # Check for epub3 dependencies.
81648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81649 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81650 glibcxx_epub_stylesheets=no
81651 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81652 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81653 glibcxx_epub_stylesheets=yes
81654 fi
81655 fi
81656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81657 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81658 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81659 BUILD_EPUB_TRUE=
81660 BUILD_EPUB_FALSE='#'
81661 else
81662 BUILD_EPUB_TRUE='#'
81663 BUILD_EPUB_FALSE=
81664 fi
81665
81666
81667
81668
81669 # Check for xml/html dependencies.
81670 if test $ac_cv_prog_DOXYGEN = "yes" &&
81671 test $ac_cv_prog_DOT = "yes" &&
81672 test $ac_cv_prog_XSLTPROC = "yes" &&
81673 test $ac_cv_prog_XMLLINT = "yes" &&
81674 test $glibcxx_stylesheets = "yes"; then
81675 BUILD_XML_TRUE=
81676 BUILD_XML_FALSE='#'
81677 else
81678 BUILD_XML_TRUE='#'
81679 BUILD_XML_FALSE=
81680 fi
81681
81682
81683 if test $ac_cv_prog_DOXYGEN = "yes" &&
81684 test $ac_cv_prog_DOT = "yes" &&
81685 test $ac_cv_prog_XSLTPROC = "yes" &&
81686 test $ac_cv_prog_XMLLINT = "yes" &&
81687 test $glibcxx_stylesheets = "yes"; then
81688 BUILD_HTML_TRUE=
81689 BUILD_HTML_FALSE='#'
81690 else
81691 BUILD_HTML_TRUE='#'
81692 BUILD_HTML_FALSE=
81693 fi
81694
81695
81696 # Check for man dependencies.
81697 if test $ac_cv_prog_DOXYGEN = "yes" &&
81698 test $ac_cv_prog_DOT = "yes"; then
81699 BUILD_MAN_TRUE=
81700 BUILD_MAN_FALSE='#'
81701 else
81702 BUILD_MAN_TRUE='#'
81703 BUILD_MAN_FALSE=
81704 fi
81705
81706
81707 # Check for pdf dependencies.
81708 # Extract the first word of "dblatex", so it can be a program name with args.
81709 set dummy dblatex; ac_word=$2
81710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81711 $as_echo_n "checking for $ac_word... " >&6; }
81712 if ${ac_cv_prog_DBLATEX+:} false; then :
81713 $as_echo_n "(cached) " >&6
81714 else
81715 if test -n "$DBLATEX"; then
81716 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81717 else
81718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81719 for as_dir in $PATH
81720 do
81721 IFS=$as_save_IFS
81722 test -z "$as_dir" && as_dir=.
81723 for ac_exec_ext in '' $ac_executable_extensions; do
81724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81725 ac_cv_prog_DBLATEX="yes"
81726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81727 break 2
81728 fi
81729 done
81730 done
81731 IFS=$as_save_IFS
81732
81733 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81734 fi
81735 fi
81736 DBLATEX=$ac_cv_prog_DBLATEX
81737 if test -n "$DBLATEX"; then
81738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81739 $as_echo "$DBLATEX" >&6; }
81740 else
81741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81742 $as_echo "no" >&6; }
81743 fi
81744
81745
81746 # Extract the first word of "pdflatex", so it can be a program name with args.
81747 set dummy pdflatex; ac_word=$2
81748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81749 $as_echo_n "checking for $ac_word... " >&6; }
81750 if ${ac_cv_prog_PDFLATEX+:} false; then :
81751 $as_echo_n "(cached) " >&6
81752 else
81753 if test -n "$PDFLATEX"; then
81754 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81755 else
81756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81757 for as_dir in $PATH
81758 do
81759 IFS=$as_save_IFS
81760 test -z "$as_dir" && as_dir=.
81761 for ac_exec_ext in '' $ac_executable_extensions; do
81762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81763 ac_cv_prog_PDFLATEX="yes"
81764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81765 break 2
81766 fi
81767 done
81768 done
81769 IFS=$as_save_IFS
81770
81771 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81772 fi
81773 fi
81774 PDFLATEX=$ac_cv_prog_PDFLATEX
81775 if test -n "$PDFLATEX"; then
81776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81777 $as_echo "$PDFLATEX" >&6; }
81778 else
81779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81780 $as_echo "no" >&6; }
81781 fi
81782
81783
81784 if test $ac_cv_prog_DBLATEX = "yes" &&
81785 test $ac_cv_prog_PDFLATEX = "yes"; then
81786 BUILD_PDF_TRUE=
81787 BUILD_PDF_FALSE='#'
81788 else
81789 BUILD_PDF_TRUE='#'
81790 BUILD_PDF_FALSE=
81791 fi
81792
81793
81794 case "$build" in
81795 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81796 * ) glibcxx_include_dir_notparallel=no ;;
81797 esac
81798 if test $glibcxx_include_dir_notparallel = "yes"; then
81799 INCLUDE_DIR_NOTPARALLEL_TRUE=
81800 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81801 else
81802 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81803 INCLUDE_DIR_NOTPARALLEL_FALSE=
81804 fi
81805
81806
81807 # Propagate the target-specific source directories through the build chain.
81808 ATOMICITY_SRCDIR=config/${atomicity_dir}
81809 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81810 ATOMIC_FLAGS=${atomic_flags}
81811 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81812 OS_INC_SRCDIR=config/${os_include_dir}
81813 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81814 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81815 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81816 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81817
81818
81819
81820
81821
81822
81823
81824
81825
81826
81827
81828 # Add CET specific flags if Intel CET is enabled.
81829 # Check whether --enable-cet was given.
81830 if test "${enable_cet+set}" = set; then :
81831 enableval=$enable_cet;
81832 case "$enableval" in
81833 yes|no|auto) ;;
81834 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81835 esac
81836
81837 else
81838 enable_cet=no
81839 fi
81840
81841
81842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81843 $as_echo_n "checking for CET support... " >&6; }
81844
81845 case "$host" in
81846 i[34567]86-*-linux* | x86_64-*-linux*)
81847 case "$enable_cet" in
81848 auto)
81849 # Check if target supports multi-byte NOPs
81850 # and if assembler supports CET insn.
81851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81852 /* end confdefs.h. */
81853
81854 int
81855 main ()
81856 {
81857
81858 #if !defined(__SSE2__)
81859 #error target does not support multi-byte NOPs
81860 #else
81861 asm ("setssbsy");
81862 #endif
81863
81864 ;
81865 return 0;
81866 }
81867 _ACEOF
81868 if ac_fn_c_try_compile "$LINENO"; then :
81869 enable_cet=yes
81870 else
81871 enable_cet=no
81872 fi
81873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81874 ;;
81875 yes)
81876 # Check if assembler supports CET.
81877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81878 /* end confdefs.h. */
81879
81880 int
81881 main ()
81882 {
81883 asm ("setssbsy");
81884 ;
81885 return 0;
81886 }
81887 _ACEOF
81888 if ac_fn_c_try_compile "$LINENO"; then :
81889
81890 else
81891 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81892 fi
81893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81894 ;;
81895 esac
81896 ;;
81897 *)
81898 enable_cet=no
81899 ;;
81900 esac
81901 if test x$enable_cet = xyes; then
81902 CET_FLAGS="-fcf-protection -mshstk"
81903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81904 $as_echo "yes" >&6; }
81905 else
81906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81907 $as_echo "no" >&6; }
81908 fi
81909
81910 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81911 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81912
81913
81914
81915 # Determine cross-compile flags and AM_CONDITIONALs.
81916 #AC_SUBST(GLIBCXX_IS_NATIVE)
81917 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81918 if test $is_hosted = yes; then
81919 GLIBCXX_HOSTED_TRUE=
81920 GLIBCXX_HOSTED_FALSE='#'
81921 else
81922 GLIBCXX_HOSTED_TRUE='#'
81923 GLIBCXX_HOSTED_FALSE=
81924 fi
81925
81926
81927 if test $enable_libstdcxx_pch = yes; then
81928 GLIBCXX_BUILD_PCH_TRUE=
81929 GLIBCXX_BUILD_PCH_FALSE='#'
81930 else
81931 GLIBCXX_BUILD_PCH_TRUE='#'
81932 GLIBCXX_BUILD_PCH_FALSE=
81933 fi
81934
81935
81936 if test $enable_float128 = yes; then
81937 ENABLE_FLOAT128_TRUE=
81938 ENABLE_FLOAT128_FALSE='#'
81939 else
81940 ENABLE_FLOAT128_TRUE='#'
81941 ENABLE_FLOAT128_FALSE=
81942 fi
81943
81944
81945 if test $enable_libstdcxx_allocator_flag = new; then
81946 ENABLE_ALLOCATOR_NEW_TRUE=
81947 ENABLE_ALLOCATOR_NEW_FALSE='#'
81948 else
81949 ENABLE_ALLOCATOR_NEW_TRUE='#'
81950 ENABLE_ALLOCATOR_NEW_FALSE=
81951 fi
81952
81953
81954 if test $enable_cheaders = c; then
81955 GLIBCXX_C_HEADERS_C_TRUE=
81956 GLIBCXX_C_HEADERS_C_FALSE='#'
81957 else
81958 GLIBCXX_C_HEADERS_C_TRUE='#'
81959 GLIBCXX_C_HEADERS_C_FALSE=
81960 fi
81961
81962
81963 if test $enable_cheaders = c_std; then
81964 GLIBCXX_C_HEADERS_C_STD_TRUE=
81965 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81966 else
81967 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81968 GLIBCXX_C_HEADERS_C_STD_FALSE=
81969 fi
81970
81971
81972 if test $enable_cheaders = c_global; then
81973 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81974 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81975 else
81976 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81977 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81978 fi
81979
81980
81981 if test $c_compatibility = yes; then
81982 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81983 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81984 else
81985 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81986 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81987 fi
81988
81989
81990 if test $enable_libstdcxx_debug = yes; then
81991 GLIBCXX_BUILD_DEBUG_TRUE=
81992 GLIBCXX_BUILD_DEBUG_FALSE='#'
81993 else
81994 GLIBCXX_BUILD_DEBUG_TRUE='#'
81995 GLIBCXX_BUILD_DEBUG_FALSE=
81996 fi
81997
81998
81999 if test $enable_extern_template = yes; then
82000 ENABLE_EXTERN_TEMPLATE_TRUE=
82001 ENABLE_EXTERN_TEMPLATE_FALSE='#'
82002 else
82003 ENABLE_EXTERN_TEMPLATE_TRUE='#'
82004 ENABLE_EXTERN_TEMPLATE_FALSE=
82005 fi
82006
82007
82008 if test $python_mod_dir != no; then
82009 ENABLE_PYTHONDIR_TRUE=
82010 ENABLE_PYTHONDIR_FALSE='#'
82011 else
82012 ENABLE_PYTHONDIR_TRUE='#'
82013 ENABLE_PYTHONDIR_FALSE=
82014 fi
82015
82016
82017 if test $enable_werror = yes; then
82018 ENABLE_WERROR_TRUE=
82019 ENABLE_WERROR_FALSE='#'
82020 else
82021 ENABLE_WERROR_TRUE='#'
82022 ENABLE_WERROR_FALSE=
82023 fi
82024
82025
82026 if test $enable_vtable_verify = yes; then
82027 ENABLE_VTABLE_VERIFY_TRUE=
82028 ENABLE_VTABLE_VERIFY_FALSE='#'
82029 else
82030 ENABLE_VTABLE_VERIFY_TRUE='#'
82031 ENABLE_VTABLE_VERIFY_FALSE=
82032 fi
82033
82034
82035 if test $enable_symvers != no; then
82036 ENABLE_SYMVERS_TRUE=
82037 ENABLE_SYMVERS_FALSE='#'
82038 else
82039 ENABLE_SYMVERS_TRUE='#'
82040 ENABLE_SYMVERS_FALSE=
82041 fi
82042
82043
82044 if test $enable_symvers = gnu; then
82045 ENABLE_SYMVERS_GNU_TRUE=
82046 ENABLE_SYMVERS_GNU_FALSE='#'
82047 else
82048 ENABLE_SYMVERS_GNU_TRUE='#'
82049 ENABLE_SYMVERS_GNU_FALSE=
82050 fi
82051
82052
82053 if test $enable_symvers = gnu-versioned-namespace; then
82054 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
82055 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
82056 else
82057 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
82058 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
82059 fi
82060
82061
82062 if test $enable_symvers = darwin; then
82063 ENABLE_SYMVERS_DARWIN_TRUE=
82064 ENABLE_SYMVERS_DARWIN_FALSE='#'
82065 else
82066 ENABLE_SYMVERS_DARWIN_TRUE='#'
82067 ENABLE_SYMVERS_DARWIN_FALSE=
82068 fi
82069
82070
82071 if test $enable_symvers = sun; then
82072 ENABLE_SYMVERS_SUN_TRUE=
82073 ENABLE_SYMVERS_SUN_FALSE='#'
82074 else
82075 ENABLE_SYMVERS_SUN_TRUE='#'
82076 ENABLE_SYMVERS_SUN_FALSE=
82077 fi
82078
82079
82080 if test $enable_libstdcxx_visibility = yes; then
82081 ENABLE_VISIBILITY_TRUE=
82082 ENABLE_VISIBILITY_FALSE='#'
82083 else
82084 ENABLE_VISIBILITY_TRUE='#'
82085 ENABLE_VISIBILITY_FALSE=
82086 fi
82087
82088
82089 if test $enable_libstdcxx_dual_abi = yes; then
82090 ENABLE_DUAL_ABI_TRUE=
82091 ENABLE_DUAL_ABI_FALSE='#'
82092 else
82093 ENABLE_DUAL_ABI_TRUE='#'
82094 ENABLE_DUAL_ABI_FALSE=
82095 fi
82096
82097
82098 if test $glibcxx_cxx11_abi = 1; then
82099 ENABLE_CXX11_ABI_TRUE=
82100 ENABLE_CXX11_ABI_FALSE='#'
82101 else
82102 ENABLE_CXX11_ABI_TRUE='#'
82103 ENABLE_CXX11_ABI_FALSE=
82104 fi
82105
82106
82107 if test $ac_ldbl_compat = yes; then
82108 GLIBCXX_LDBL_COMPAT_TRUE=
82109 GLIBCXX_LDBL_COMPAT_FALSE='#'
82110 else
82111 GLIBCXX_LDBL_COMPAT_TRUE='#'
82112 GLIBCXX_LDBL_COMPAT_FALSE=
82113 fi
82114
82115
82116 if test $enable_libstdcxx_filesystem_ts = yes; then
82117 ENABLE_FILESYSTEM_TS_TRUE=
82118 ENABLE_FILESYSTEM_TS_FALSE='#'
82119 else
82120 ENABLE_FILESYSTEM_TS_TRUE='#'
82121 ENABLE_FILESYSTEM_TS_FALSE=
82122 fi
82123
82124
82125
82126
82127 cat >confcache <<\_ACEOF
82128 # This file is a shell script that caches the results of configure
82129 # tests run on this system so they can be shared between configure
82130 # scripts and configure runs, see configure's option --config-cache.
82131 # It is not useful on other systems. If it contains results you don't
82132 # want to keep, you may remove or edit it.
82133 #
82134 # config.status only pays attention to the cache file if you give it
82135 # the --recheck option to rerun configure.
82136 #
82137 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82138 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82139 # following values.
82140
82141 _ACEOF
82142
82143 # The following way of writing the cache mishandles newlines in values,
82144 # but we know of no workaround that is simple, portable, and efficient.
82145 # So, we kill variables containing newlines.
82146 # Ultrix sh set writes to stderr and can't be redirected directly,
82147 # and sets the high bit in the cache file unless we assign to the vars.
82148 (
82149 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82150 eval ac_val=\$$ac_var
82151 case $ac_val in #(
82152 *${as_nl}*)
82153 case $ac_var in #(
82154 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82156 esac
82157 case $ac_var in #(
82158 _ | IFS | as_nl) ;; #(
82159 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82160 *) { eval $ac_var=; unset $ac_var;} ;;
82161 esac ;;
82162 esac
82163 done
82164
82165 (set) 2>&1 |
82166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82167 *${as_nl}ac_space=\ *)
82168 # `set' does not quote correctly, so add quotes: double-quote
82169 # substitution turns \\\\ into \\, and sed turns \\ into \.
82170 sed -n \
82171 "s/'/'\\\\''/g;
82172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82173 ;; #(
82174 *)
82175 # `set' quotes correctly as required by POSIX, so do not add quotes.
82176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82177 ;;
82178 esac |
82179 sort
82180 ) |
82181 sed '
82182 /^ac_cv_env_/b end
82183 t clear
82184 :clear
82185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82186 t end
82187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82188 :end' >>confcache
82189 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82190 if test -w "$cache_file"; then
82191 if test "x$cache_file" != "x/dev/null"; then
82192 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82193 $as_echo "$as_me: updating cache $cache_file" >&6;}
82194 if test ! -f "$cache_file" || test -h "$cache_file"; then
82195 cat confcache >"$cache_file"
82196 else
82197 case $cache_file in #(
82198 */* | ?:*)
82199 mv -f confcache "$cache_file"$$ &&
82200 mv -f "$cache_file"$$ "$cache_file" ;; #(
82201 *)
82202 mv -f confcache "$cache_file" ;;
82203 esac
82204 fi
82205 fi
82206 else
82207 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82208 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82209 fi
82210 fi
82211 rm -f confcache
82212
82213 if test ${multilib} = yes; then
82214 multilib_arg="--enable-multilib"
82215 else
82216 multilib_arg=
82217 fi
82218
82219 # Export all the install information.
82220
82221 glibcxx_toolexecdir=no
82222 glibcxx_toolexeclibdir=no
82223 glibcxx_prefixdir=$prefix
82224
82225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
82226 $as_echo_n "checking for gxx-include-dir... " >&6; }
82227
82228 # Check whether --with-gxx-include-dir was given.
82229 if test "${with_gxx_include_dir+set}" = set; then :
82230 withval=$with_gxx_include_dir; case "$withval" in
82231 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
82232 no) gxx_include_dir=no ;;
82233 *) gxx_include_dir=$withval ;;
82234 esac
82235 else
82236 gxx_include_dir=no
82237 fi
82238
82239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82240 $as_echo "$gxx_include_dir" >&6; }
82241
82242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
82243 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
82244 # Check whether --enable-version-specific-runtime-libs was given.
82245 if test "${enable_version_specific_runtime_libs+set}" = set; then :
82246 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
82247 yes) version_specific_libs=yes ;;
82248 no) version_specific_libs=no ;;
82249 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
82250 esac
82251 else
82252 version_specific_libs=no
82253 fi
82254
82255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
82256 $as_echo "$version_specific_libs" >&6; }
82257
82258 # Default case for install directory for include files.
82259 if test $version_specific_libs = no && test $gxx_include_dir = no; then
82260 gxx_include_dir='include/c++/${gcc_version}'
82261 if test -n "$with_cross_host" &&
82262 test x"$with_cross_host" != x"no"; then
82263 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
82264 else
82265 gxx_include_dir='${prefix}/'"$gxx_include_dir"
82266 fi
82267 fi
82268
82269 # Version-specific runtime libs processing.
82270 if test $version_specific_libs = yes; then
82271 # Need the gcc compiler version to know where to install libraries
82272 # and header files if --enable-version-specific-runtime-libs option
82273 # is selected. FIXME: these variables are misnamed, there are
82274 # no executables installed in _toolexecdir or _toolexeclibdir.
82275 if test x"$gxx_include_dir" = x"no"; then
82276 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
82277 fi
82278 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82279 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
82280 fi
82281
82282 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
82283 # Install a library built with a cross compiler in tooldir, not libdir.
82284 if test x"$glibcxx_toolexecdir" = x"no"; then
82285 if test -n "$with_cross_host" &&
82286 test x"$with_cross_host" != x"no"; then
82287 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
82288 glibcxx_toolexeclibdir='${toolexecdir}/lib'
82289 else
82290 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82291 glibcxx_toolexeclibdir='${libdir}'
82292 fi
82293 multi_os_directory=`$CXX -print-multi-os-directory`
82294 case $multi_os_directory in
82295 .) ;; # Avoid trailing /.
82296 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
82297 esac
82298 fi
82299
82300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
82301 $as_echo_n "checking for install location... " >&6; }
82302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82303 $as_echo "$gxx_include_dir" >&6; }
82304
82305
82306
82307
82308
82309
82310
82311 # Export all the include and flag information to Makefiles.
82312
82313 # Used for every C++ compile we perform.
82314 GLIBCXX_INCLUDES="\
82315 -I$glibcxx_builddir/include/$host_alias \
82316 -I$glibcxx_builddir/include \
82317 -I$glibcxx_srcdir/libsupc++"
82318
82319 # For Canadian crosses, pick this up too.
82320 if test $CANADIAN = yes; then
82321 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
82322 fi
82323
82324 # Stuff in the actual top level. Currently only used by libsupc++ to
82325 # get unwind* headers from the libgcc dir.
82326 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
82327 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
82328
82329 # Now, export this to all the little Makefiles....
82330
82331
82332
82333
82334 # Optimization flags that are probably a good idea for thrill-seekers. Just
82335 # uncomment the lines below and make, everything else is ready to go...
82336 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
82337 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
82338
82339
82340 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
82341
82342
82343
82344 # Determine what GCC version number to use in filesystem paths.
82345
82346 get_gcc_base_ver="cat"
82347
82348 # Check whether --with-gcc-major-version-only was given.
82349 if test "${with_gcc_major_version_only+set}" = set; then :
82350 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
82351 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82352 fi
82353
82354 fi
82355
82356
82357
82358
82359 ac_config_files="$ac_config_files Makefile"
82360
82361 ac_config_files="$ac_config_files scripts/testsuite_flags"
82362
82363 ac_config_files="$ac_config_files scripts/extract_symvers"
82364
82365 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82366
82367
82368 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82369 # that multilib installs will end up installed in the correct place.
82370 # The testsuite needs it for multilib-aware ABI baseline files.
82371 # To work around this not being passed down from config-ml.in ->
82372 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82373 # append it here. Only modify Makefiles that have just been created.
82374 #
82375 # Also, get rid of this simulated-VPATH thing that automake does.
82376 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"
82377
82378
82379 ac_config_commands="$ac_config_commands generate-headers"
82380
82381
82382 cat >confcache <<\_ACEOF
82383 # This file is a shell script that caches the results of configure
82384 # tests run on this system so they can be shared between configure
82385 # scripts and configure runs, see configure's option --config-cache.
82386 # It is not useful on other systems. If it contains results you don't
82387 # want to keep, you may remove or edit it.
82388 #
82389 # config.status only pays attention to the cache file if you give it
82390 # the --recheck option to rerun configure.
82391 #
82392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82394 # following values.
82395
82396 _ACEOF
82397
82398 # The following way of writing the cache mishandles newlines in values,
82399 # but we know of no workaround that is simple, portable, and efficient.
82400 # So, we kill variables containing newlines.
82401 # Ultrix sh set writes to stderr and can't be redirected directly,
82402 # and sets the high bit in the cache file unless we assign to the vars.
82403 (
82404 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82405 eval ac_val=\$$ac_var
82406 case $ac_val in #(
82407 *${as_nl}*)
82408 case $ac_var in #(
82409 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82410 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82411 esac
82412 case $ac_var in #(
82413 _ | IFS | as_nl) ;; #(
82414 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82415 *) { eval $ac_var=; unset $ac_var;} ;;
82416 esac ;;
82417 esac
82418 done
82419
82420 (set) 2>&1 |
82421 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82422 *${as_nl}ac_space=\ *)
82423 # `set' does not quote correctly, so add quotes: double-quote
82424 # substitution turns \\\\ into \\, and sed turns \\ into \.
82425 sed -n \
82426 "s/'/'\\\\''/g;
82427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82428 ;; #(
82429 *)
82430 # `set' quotes correctly as required by POSIX, so do not add quotes.
82431 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82432 ;;
82433 esac |
82434 sort
82435 ) |
82436 sed '
82437 /^ac_cv_env_/b end
82438 t clear
82439 :clear
82440 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82441 t end
82442 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82443 :end' >>confcache
82444 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82445 if test -w "$cache_file"; then
82446 if test "x$cache_file" != "x/dev/null"; then
82447 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82448 $as_echo "$as_me: updating cache $cache_file" >&6;}
82449 if test ! -f "$cache_file" || test -h "$cache_file"; then
82450 cat confcache >"$cache_file"
82451 else
82452 case $cache_file in #(
82453 */* | ?:*)
82454 mv -f confcache "$cache_file"$$ &&
82455 mv -f "$cache_file"$$ "$cache_file" ;; #(
82456 *)
82457 mv -f confcache "$cache_file" ;;
82458 esac
82459 fi
82460 fi
82461 else
82462 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82463 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82464 fi
82465 fi
82466 rm -f confcache
82467
82468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82469 # Let make expand exec_prefix.
82470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82471
82472 DEFS=-DHAVE_CONFIG_H
82473
82474 ac_libobjs=
82475 ac_ltlibobjs=
82476 U=
82477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82478 # 1. Remove the extension, and $U if already installed.
82479 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82480 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82482 # will be set to the directory where LIBOBJS objects are built.
82483 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82484 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82485 done
82486 LIBOBJS=$ac_libobjs
82487
82488 LTLIBOBJS=$ac_ltlibobjs
82489
82490
82491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82492 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82493 if test -n "$am_sleep_pid"; then
82494 # Hide warnings about reused PIDs.
82495 wait $am_sleep_pid 2>/dev/null
82496 fi
82497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82498 $as_echo "done" >&6; }
82499 if test -n "$EXEEXT"; then
82500 am__EXEEXT_TRUE=
82501 am__EXEEXT_FALSE='#'
82502 else
82503 am__EXEEXT_TRUE='#'
82504 am__EXEEXT_FALSE=
82505 fi
82506
82507 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82508 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82510 fi
82511 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82512 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82514 fi
82515 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82516 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82518 fi
82519 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82520 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82522 fi
82523 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82524 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82526 fi
82527 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82528 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82530 fi
82531 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82532 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82534 fi
82535 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82536 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82538 fi
82539 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82540 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82542 fi
82543 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82544 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82546 fi
82547 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82548 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82550 fi
82551 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82552 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82554 fi
82555 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82556 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82558 fi
82559 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82560 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82562 fi
82563 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82564 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82566 fi
82567 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82568 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82570 fi
82571 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82572 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82574 fi
82575 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82576 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82578 fi
82579 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82580 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82582 fi
82583 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82584 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82586 fi
82587 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82588 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82590 fi
82591 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82592 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82594 fi
82595 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82596 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82598 fi
82599 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82600 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82602 fi
82603 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82604 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82606 fi
82607 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82608 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82610 fi
82611 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82612 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82614 fi
82615 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82616 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82618 fi
82619 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82620 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82622 fi
82623 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82624 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82626 fi
82627 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82628 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82630 fi
82631 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82632 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82634 fi
82635
82636 : "${CONFIG_STATUS=./config.status}"
82637 ac_write_fail=0
82638 ac_clean_files_save=$ac_clean_files
82639 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82641 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82642 as_write_fail=0
82643 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82644 #! $SHELL
82645 # Generated by $as_me.
82646 # Run this file to recreate the current configuration.
82647 # Compiler output produced by configure, useful for debugging
82648 # configure, is in config.log if it exists.
82649
82650 debug=false
82651 ac_cs_recheck=false
82652 ac_cs_silent=false
82653
82654 SHELL=\${CONFIG_SHELL-$SHELL}
82655 export SHELL
82656 _ASEOF
82657 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82658 ## -------------------- ##
82659 ## M4sh Initialization. ##
82660 ## -------------------- ##
82661
82662 # Be more Bourne compatible
82663 DUALCASE=1; export DUALCASE # for MKS sh
82664 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82665 emulate sh
82666 NULLCMD=:
82667 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82668 # is contrary to our usage. Disable this feature.
82669 alias -g '${1+"$@"}'='"$@"'
82670 setopt NO_GLOB_SUBST
82671 else
82672 case `(set -o) 2>/dev/null` in #(
82673 *posix*) :
82674 set -o posix ;; #(
82675 *) :
82676 ;;
82677 esac
82678 fi
82679
82680
82681 as_nl='
82682 '
82683 export as_nl
82684 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82685 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82686 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82687 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82688 # Prefer a ksh shell builtin over an external printf program on Solaris,
82689 # but without wasting forks for bash or zsh.
82690 if test -z "$BASH_VERSION$ZSH_VERSION" \
82691 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82692 as_echo='print -r --'
82693 as_echo_n='print -rn --'
82694 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82695 as_echo='printf %s\n'
82696 as_echo_n='printf %s'
82697 else
82698 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82699 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82700 as_echo_n='/usr/ucb/echo -n'
82701 else
82702 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82703 as_echo_n_body='eval
82704 arg=$1;
82705 case $arg in #(
82706 *"$as_nl"*)
82707 expr "X$arg" : "X\\(.*\\)$as_nl";
82708 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82709 esac;
82710 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82711 '
82712 export as_echo_n_body
82713 as_echo_n='sh -c $as_echo_n_body as_echo'
82714 fi
82715 export as_echo_body
82716 as_echo='sh -c $as_echo_body as_echo'
82717 fi
82718
82719 # The user is always right.
82720 if test "${PATH_SEPARATOR+set}" != set; then
82721 PATH_SEPARATOR=:
82722 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82723 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82724 PATH_SEPARATOR=';'
82725 }
82726 fi
82727
82728
82729 # IFS
82730 # We need space, tab and new line, in precisely that order. Quoting is
82731 # there to prevent editors from complaining about space-tab.
82732 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82733 # splitting by setting IFS to empty value.)
82734 IFS=" "" $as_nl"
82735
82736 # Find who we are. Look in the path if we contain no directory separator.
82737 as_myself=
82738 case $0 in #((
82739 *[\\/]* ) as_myself=$0 ;;
82740 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82741 for as_dir in $PATH
82742 do
82743 IFS=$as_save_IFS
82744 test -z "$as_dir" && as_dir=.
82745 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82746 done
82747 IFS=$as_save_IFS
82748
82749 ;;
82750 esac
82751 # We did not find ourselves, most probably we were run as `sh COMMAND'
82752 # in which case we are not to be found in the path.
82753 if test "x$as_myself" = x; then
82754 as_myself=$0
82755 fi
82756 if test ! -f "$as_myself"; then
82757 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82758 exit 1
82759 fi
82760
82761 # Unset variables that we do not need and which cause bugs (e.g. in
82762 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82763 # suppresses any "Segmentation fault" message there. '((' could
82764 # trigger a bug in pdksh 5.2.14.
82765 for as_var in BASH_ENV ENV MAIL MAILPATH
82766 do eval test x\${$as_var+set} = xset \
82767 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82768 done
82769 PS1='$ '
82770 PS2='> '
82771 PS4='+ '
82772
82773 # NLS nuisances.
82774 LC_ALL=C
82775 export LC_ALL
82776 LANGUAGE=C
82777 export LANGUAGE
82778
82779 # CDPATH.
82780 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82781
82782
82783 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82784 # ----------------------------------------
82785 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82786 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82787 # script with STATUS, using 1 if that was 0.
82788 as_fn_error ()
82789 {
82790 as_status=$1; test $as_status -eq 0 && as_status=1
82791 if test "$4"; then
82792 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82793 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82794 fi
82795 $as_echo "$as_me: error: $2" >&2
82796 as_fn_exit $as_status
82797 } # as_fn_error
82798
82799
82800 # as_fn_set_status STATUS
82801 # -----------------------
82802 # Set $? to STATUS, without forking.
82803 as_fn_set_status ()
82804 {
82805 return $1
82806 } # as_fn_set_status
82807
82808 # as_fn_exit STATUS
82809 # -----------------
82810 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82811 as_fn_exit ()
82812 {
82813 set +e
82814 as_fn_set_status $1
82815 exit $1
82816 } # as_fn_exit
82817
82818 # as_fn_unset VAR
82819 # ---------------
82820 # Portably unset VAR.
82821 as_fn_unset ()
82822 {
82823 { eval $1=; unset $1;}
82824 }
82825 as_unset=as_fn_unset
82826 # as_fn_append VAR VALUE
82827 # ----------------------
82828 # Append the text in VALUE to the end of the definition contained in VAR. Take
82829 # advantage of any shell optimizations that allow amortized linear growth over
82830 # repeated appends, instead of the typical quadratic growth present in naive
82831 # implementations.
82832 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82833 eval 'as_fn_append ()
82834 {
82835 eval $1+=\$2
82836 }'
82837 else
82838 as_fn_append ()
82839 {
82840 eval $1=\$$1\$2
82841 }
82842 fi # as_fn_append
82843
82844 # as_fn_arith ARG...
82845 # ------------------
82846 # Perform arithmetic evaluation on the ARGs, and store the result in the
82847 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82848 # must be portable across $(()) and expr.
82849 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82850 eval 'as_fn_arith ()
82851 {
82852 as_val=$(( $* ))
82853 }'
82854 else
82855 as_fn_arith ()
82856 {
82857 as_val=`expr "$@" || test $? -eq 1`
82858 }
82859 fi # as_fn_arith
82860
82861
82862 if expr a : '\(a\)' >/dev/null 2>&1 &&
82863 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82864 as_expr=expr
82865 else
82866 as_expr=false
82867 fi
82868
82869 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82870 as_basename=basename
82871 else
82872 as_basename=false
82873 fi
82874
82875 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82876 as_dirname=dirname
82877 else
82878 as_dirname=false
82879 fi
82880
82881 as_me=`$as_basename -- "$0" ||
82882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82883 X"$0" : 'X\(//\)$' \| \
82884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82885 $as_echo X/"$0" |
82886 sed '/^.*\/\([^/][^/]*\)\/*$/{
82887 s//\1/
82888 q
82889 }
82890 /^X\/\(\/\/\)$/{
82891 s//\1/
82892 q
82893 }
82894 /^X\/\(\/\).*/{
82895 s//\1/
82896 q
82897 }
82898 s/.*/./; q'`
82899
82900 # Avoid depending upon Character Ranges.
82901 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82902 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82903 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82904 as_cr_digits='0123456789'
82905 as_cr_alnum=$as_cr_Letters$as_cr_digits
82906
82907 ECHO_C= ECHO_N= ECHO_T=
82908 case `echo -n x` in #(((((
82909 -n*)
82910 case `echo 'xy\c'` in
82911 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82912 xy) ECHO_C='\c';;
82913 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82914 ECHO_T=' ';;
82915 esac;;
82916 *)
82917 ECHO_N='-n';;
82918 esac
82919
82920 rm -f conf$$ conf$$.exe conf$$.file
82921 if test -d conf$$.dir; then
82922 rm -f conf$$.dir/conf$$.file
82923 else
82924 rm -f conf$$.dir
82925 mkdir conf$$.dir 2>/dev/null
82926 fi
82927 if (echo >conf$$.file) 2>/dev/null; then
82928 if ln -s conf$$.file conf$$ 2>/dev/null; then
82929 as_ln_s='ln -s'
82930 # ... but there are two gotchas:
82931 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82932 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82933 # In both cases, we have to default to `cp -pR'.
82934 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82935 as_ln_s='cp -pR'
82936 elif ln conf$$.file conf$$ 2>/dev/null; then
82937 as_ln_s=ln
82938 else
82939 as_ln_s='cp -pR'
82940 fi
82941 else
82942 as_ln_s='cp -pR'
82943 fi
82944 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82945 rmdir conf$$.dir 2>/dev/null
82946
82947
82948 # as_fn_mkdir_p
82949 # -------------
82950 # Create "$as_dir" as a directory, including parents if necessary.
82951 as_fn_mkdir_p ()
82952 {
82953
82954 case $as_dir in #(
82955 -*) as_dir=./$as_dir;;
82956 esac
82957 test -d "$as_dir" || eval $as_mkdir_p || {
82958 as_dirs=
82959 while :; do
82960 case $as_dir in #(
82961 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82962 *) as_qdir=$as_dir;;
82963 esac
82964 as_dirs="'$as_qdir' $as_dirs"
82965 as_dir=`$as_dirname -- "$as_dir" ||
82966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82967 X"$as_dir" : 'X\(//\)[^/]' \| \
82968 X"$as_dir" : 'X\(//\)$' \| \
82969 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82970 $as_echo X"$as_dir" |
82971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82972 s//\1/
82973 q
82974 }
82975 /^X\(\/\/\)[^/].*/{
82976 s//\1/
82977 q
82978 }
82979 /^X\(\/\/\)$/{
82980 s//\1/
82981 q
82982 }
82983 /^X\(\/\).*/{
82984 s//\1/
82985 q
82986 }
82987 s/.*/./; q'`
82988 test -d "$as_dir" && break
82989 done
82990 test -z "$as_dirs" || eval "mkdir $as_dirs"
82991 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
82992
82993
82994 } # as_fn_mkdir_p
82995 if mkdir -p . 2>/dev/null; then
82996 as_mkdir_p='mkdir -p "$as_dir"'
82997 else
82998 test -d ./-p && rmdir ./-p
82999 as_mkdir_p=false
83000 fi
83001
83002
83003 # as_fn_executable_p FILE
83004 # -----------------------
83005 # Test if FILE is an executable regular file.
83006 as_fn_executable_p ()
83007 {
83008 test -f "$1" && test -x "$1"
83009 } # as_fn_executable_p
83010 as_test_x='test -x'
83011 as_executable_p=as_fn_executable_p
83012
83013 # Sed expression to map a string onto a valid CPP name.
83014 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
83015
83016 # Sed expression to map a string onto a valid variable name.
83017 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
83018
83019
83020 exec 6>&1
83021 ## ----------------------------------- ##
83022 ## Main body of $CONFIG_STATUS script. ##
83023 ## ----------------------------------- ##
83024 _ASEOF
83025 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
83026
83027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83028 # Save the log message, to keep $0 and so on meaningful, and to
83029 # report actual input values of CONFIG_FILES etc. instead of their
83030 # values after options handling.
83031 ac_log="
83032 This file was extended by package-unused $as_me version-unused, which was
83033 generated by GNU Autoconf 2.69. Invocation command line was
83034
83035 CONFIG_FILES = $CONFIG_FILES
83036 CONFIG_HEADERS = $CONFIG_HEADERS
83037 CONFIG_LINKS = $CONFIG_LINKS
83038 CONFIG_COMMANDS = $CONFIG_COMMANDS
83039 $ $0 $@
83040
83041 on `(hostname || uname -n) 2>/dev/null | sed 1q`
83042 "
83043
83044 _ACEOF
83045
83046 case $ac_config_files in *"
83047 "*) set x $ac_config_files; shift; ac_config_files=$*;;
83048 esac
83049
83050 case $ac_config_headers in *"
83051 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
83052 esac
83053
83054
83055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83056 # Files that config.status was made for.
83057 config_files="$ac_config_files"
83058 config_headers="$ac_config_headers"
83059 config_commands="$ac_config_commands"
83060
83061 _ACEOF
83062
83063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83064 ac_cs_usage="\
83065 \`$as_me' instantiates files and other configuration actions
83066 from templates according to the current configuration. Unless the files
83067 and actions are specified as TAGs, all are instantiated by default.
83068
83069 Usage: $0 [OPTION]... [TAG]...
83070
83071 -h, --help print this help, then exit
83072 -V, --version print version number and configuration settings, then exit
83073 --config print configuration, then exit
83074 -q, --quiet, --silent
83075 do not print progress messages
83076 -d, --debug don't remove temporary files
83077 --recheck update $as_me by reconfiguring in the same conditions
83078 --file=FILE[:TEMPLATE]
83079 instantiate the configuration file FILE
83080 --header=FILE[:TEMPLATE]
83081 instantiate the configuration header FILE
83082
83083 Configuration files:
83084 $config_files
83085
83086 Configuration headers:
83087 $config_headers
83088
83089 Configuration commands:
83090 $config_commands
83091
83092 Report bugs to the package provider."
83093
83094 _ACEOF
83095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
83097 ac_cs_version="\\
83098 package-unused config.status version-unused
83099 configured by $0, generated by GNU Autoconf 2.69,
83100 with options \\"\$ac_cs_config\\"
83101
83102 Copyright (C) 2012 Free Software Foundation, Inc.
83103 This config.status script is free software; the Free Software Foundation
83104 gives unlimited permission to copy, distribute and modify it."
83105
83106 ac_pwd='$ac_pwd'
83107 srcdir='$srcdir'
83108 INSTALL='$INSTALL'
83109 MKDIR_P='$MKDIR_P'
83110 AWK='$AWK'
83111 test -n "\$AWK" || AWK=awk
83112 _ACEOF
83113
83114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83115 # The default lists apply if the user does not specify any file.
83116 ac_need_defaults=:
83117 while test $# != 0
83118 do
83119 case $1 in
83120 --*=?*)
83121 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83122 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
83123 ac_shift=:
83124 ;;
83125 --*=)
83126 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83127 ac_optarg=
83128 ac_shift=:
83129 ;;
83130 *)
83131 ac_option=$1
83132 ac_optarg=$2
83133 ac_shift=shift
83134 ;;
83135 esac
83136
83137 case $ac_option in
83138 # Handling of the options.
83139 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83140 ac_cs_recheck=: ;;
83141 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
83142 $as_echo "$ac_cs_version"; exit ;;
83143 --config | --confi | --conf | --con | --co | --c )
83144 $as_echo "$ac_cs_config"; exit ;;
83145 --debug | --debu | --deb | --de | --d | -d )
83146 debug=: ;;
83147 --file | --fil | --fi | --f )
83148 $ac_shift
83149 case $ac_optarg in
83150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83151 '') as_fn_error $? "missing file argument" ;;
83152 esac
83153 as_fn_append CONFIG_FILES " '$ac_optarg'"
83154 ac_need_defaults=false;;
83155 --header | --heade | --head | --hea )
83156 $ac_shift
83157 case $ac_optarg in
83158 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83159 esac
83160 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
83161 ac_need_defaults=false;;
83162 --he | --h)
83163 # Conflict between --help and --header
83164 as_fn_error $? "ambiguous option: \`$1'
83165 Try \`$0 --help' for more information.";;
83166 --help | --hel | -h )
83167 $as_echo "$ac_cs_usage"; exit ;;
83168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83169 | -silent | --silent | --silen | --sile | --sil | --si | --s)
83170 ac_cs_silent=: ;;
83171
83172 # This is an error.
83173 -*) as_fn_error $? "unrecognized option: \`$1'
83174 Try \`$0 --help' for more information." ;;
83175
83176 *) as_fn_append ac_config_targets " $1"
83177 ac_need_defaults=false ;;
83178
83179 esac
83180 shift
83181 done
83182
83183 ac_configure_extra_args=
83184
83185 if $ac_cs_silent; then
83186 exec 6>/dev/null
83187 ac_configure_extra_args="$ac_configure_extra_args --silent"
83188 fi
83189
83190 _ACEOF
83191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83192 if \$ac_cs_recheck; then
83193 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83194 shift
83195 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
83196 CONFIG_SHELL='$SHELL'
83197 export CONFIG_SHELL
83198 exec "\$@"
83199 fi
83200
83201 _ACEOF
83202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83203 exec 5>>config.log
83204 {
83205 echo
83206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83207 ## Running $as_me. ##
83208 _ASBOX
83209 $as_echo "$ac_log"
83210 } >&5
83211
83212 _ACEOF
83213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83214 #
83215 # INIT-COMMANDS
83216 #
83217
83218 srcdir="$srcdir"
83219 host="$host"
83220 target="$target"
83221 with_multisubdir="$with_multisubdir"
83222 with_multisrctop="$with_multisrctop"
83223 with_target_subdir="$with_target_subdir"
83224 ac_configure_args="${multilib_arg} ${ac_configure_args}"
83225 multi_basedir="$multi_basedir"
83226 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83227 CC="$CC"
83228 CXX="$CXX"
83229 GFORTRAN="$GFORTRAN"
83230 GDC="$GDC"
83231
83232
83233 # The HP-UX ksh and POSIX shell print the target directory to stdout
83234 # if CDPATH is set.
83235 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
83236
83237 sed_quote_subst='$sed_quote_subst'
83238 double_quote_subst='$double_quote_subst'
83239 delay_variable_subst='$delay_variable_subst'
83240 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
83241 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
83242 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
83243 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
83244 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
83245 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
83246 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
83247 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
83248 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
83249 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
83250 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
83251 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
83252 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
83253 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
83254 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
83255 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
83256 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
83257 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
83258 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
83259 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
83260 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
83261 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
83262 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
83263 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
83264 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
83265 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
83266 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
83267 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
83268 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
83269 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
83270 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
83271 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
83272 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
83273 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
83274 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
83275 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
83276 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
83277 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83278 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83279 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
83280 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
83281 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
83282 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
83283 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
83284 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
83285 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
83286 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
83287 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
83288 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"`'
83289 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
83290 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
83291 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
83292 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
83293 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
83294 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
83295 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
83296 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
83297 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
83298 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
83299 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
83300 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
83301 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
83302 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
83303 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
83304 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83305 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
83306 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
83307 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
83308 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
83309 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
83310 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
83311 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83312 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
83313 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83314 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
83315 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83316 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
83317 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
83318 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
83319 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
83320 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
83321 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
83322 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
83323 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
83324 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
83325 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
83326 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
83327 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
83328 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
83329 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
83330 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
83331 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
83332 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
83333 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
83334 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
83335 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
83336 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
83337 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
83338 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
83339 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
83340 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
83341 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
83342 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
83343 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
83344 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
83345 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
83346 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
83347 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83348 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83349 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
83350 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
83351 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
83352 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
83353 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83354 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83355 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83356 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83357 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83358 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83359 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83360 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83361 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83362 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83363 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83364 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83365 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83366 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83367 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83368 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83369 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83370 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83371 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83372 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83373 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83374 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83375 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83376 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83377 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83378 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83379 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83380 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83381 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83382 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83383 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83384 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83385 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83386 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83387 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83388 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83389 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83390 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83391 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83392 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83393 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83394 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83395 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83396 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83397 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83398 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83399 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83400 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83401 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83402 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83403 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83404 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83405 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83406 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83407 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83408 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83409 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83410 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83411 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83412 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83413 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83414 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83415
83416 LTCC='$LTCC'
83417 LTCFLAGS='$LTCFLAGS'
83418 compiler='$compiler_DEFAULT'
83419
83420 # A function that is used when there is no print builtin or printf.
83421 func_fallback_echo ()
83422 {
83423 eval 'cat <<_LTECHO_EOF
83424 \$1
83425 _LTECHO_EOF'
83426 }
83427
83428 # Quote evaled strings.
83429 for var in SHELL \
83430 ECHO \
83431 SED \
83432 GREP \
83433 EGREP \
83434 FGREP \
83435 LD \
83436 NM \
83437 LN_S \
83438 lt_SP2NL \
83439 lt_NL2SP \
83440 reload_flag \
83441 OBJDUMP \
83442 deplibs_check_method \
83443 file_magic_cmd \
83444 AR \
83445 AR_FLAGS \
83446 STRIP \
83447 RANLIB \
83448 CC \
83449 CFLAGS \
83450 compiler \
83451 lt_cv_sys_global_symbol_pipe \
83452 lt_cv_sys_global_symbol_to_cdecl \
83453 lt_cv_sys_global_symbol_to_c_name_address \
83454 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83455 lt_prog_compiler_no_builtin_flag \
83456 lt_prog_compiler_wl \
83457 lt_prog_compiler_pic \
83458 lt_prog_compiler_static \
83459 lt_cv_prog_compiler_c_o \
83460 need_locks \
83461 DSYMUTIL \
83462 NMEDIT \
83463 LIPO \
83464 OTOOL \
83465 OTOOL64 \
83466 shrext_cmds \
83467 export_dynamic_flag_spec \
83468 whole_archive_flag_spec \
83469 compiler_needs_object \
83470 with_gnu_ld \
83471 allow_undefined_flag \
83472 no_undefined_flag \
83473 hardcode_libdir_flag_spec \
83474 hardcode_libdir_flag_spec_ld \
83475 hardcode_libdir_separator \
83476 fix_srcfile_path \
83477 exclude_expsyms \
83478 include_expsyms \
83479 file_list_spec \
83480 variables_saved_for_relink \
83481 libname_spec \
83482 library_names_spec \
83483 soname_spec \
83484 install_override_mode \
83485 finish_eval \
83486 old_striplib \
83487 striplib \
83488 compiler_lib_search_dirs \
83489 predep_objects \
83490 postdep_objects \
83491 predeps \
83492 postdeps \
83493 compiler_lib_search_path \
83494 LD_CXX \
83495 reload_flag_CXX \
83496 compiler_CXX \
83497 lt_prog_compiler_no_builtin_flag_CXX \
83498 lt_prog_compiler_wl_CXX \
83499 lt_prog_compiler_pic_CXX \
83500 lt_prog_compiler_static_CXX \
83501 lt_cv_prog_compiler_c_o_CXX \
83502 export_dynamic_flag_spec_CXX \
83503 whole_archive_flag_spec_CXX \
83504 compiler_needs_object_CXX \
83505 with_gnu_ld_CXX \
83506 allow_undefined_flag_CXX \
83507 no_undefined_flag_CXX \
83508 hardcode_libdir_flag_spec_CXX \
83509 hardcode_libdir_flag_spec_ld_CXX \
83510 hardcode_libdir_separator_CXX \
83511 fix_srcfile_path_CXX \
83512 exclude_expsyms_CXX \
83513 include_expsyms_CXX \
83514 file_list_spec_CXX \
83515 compiler_lib_search_dirs_CXX \
83516 predep_objects_CXX \
83517 postdep_objects_CXX \
83518 predeps_CXX \
83519 postdeps_CXX \
83520 compiler_lib_search_path_CXX; do
83521 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83522 *[\\\\\\\`\\"\\\$]*)
83523 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83524 ;;
83525 *)
83526 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83527 ;;
83528 esac
83529 done
83530
83531 # Double-quote double-evaled strings.
83532 for var in reload_cmds \
83533 old_postinstall_cmds \
83534 old_postuninstall_cmds \
83535 old_archive_cmds \
83536 extract_expsyms_cmds \
83537 old_archive_from_new_cmds \
83538 old_archive_from_expsyms_cmds \
83539 archive_cmds \
83540 archive_expsym_cmds \
83541 module_cmds \
83542 module_expsym_cmds \
83543 export_symbols_cmds \
83544 prelink_cmds \
83545 postinstall_cmds \
83546 postuninstall_cmds \
83547 finish_cmds \
83548 sys_lib_search_path_spec \
83549 sys_lib_dlsearch_path_spec \
83550 reload_cmds_CXX \
83551 old_archive_cmds_CXX \
83552 old_archive_from_new_cmds_CXX \
83553 old_archive_from_expsyms_cmds_CXX \
83554 archive_cmds_CXX \
83555 archive_expsym_cmds_CXX \
83556 module_cmds_CXX \
83557 module_expsym_cmds_CXX \
83558 export_symbols_cmds_CXX \
83559 prelink_cmds_CXX; do
83560 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83561 *[\\\\\\\`\\"\\\$]*)
83562 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83563 ;;
83564 *)
83565 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83566 ;;
83567 esac
83568 done
83569
83570 ac_aux_dir='$ac_aux_dir'
83571 xsi_shell='$xsi_shell'
83572 lt_shell_append='$lt_shell_append'
83573
83574 # See if we are running on zsh, and set the options which allow our
83575 # commands through without removal of \ escapes INIT.
83576 if test -n "\${ZSH_VERSION+set}" ; then
83577 setopt NO_GLOB_SUBST
83578 fi
83579
83580
83581 PACKAGE='$PACKAGE'
83582 VERSION='$VERSION'
83583 TIMESTAMP='$TIMESTAMP'
83584 RM='$RM'
83585 ofile='$ofile'
83586
83587
83588
83589
83590
83591
83592 GCC="$GCC"
83593 CC="$CC"
83594 acx_cv_header_stdint="$acx_cv_header_stdint"
83595 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83596 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83597 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83598 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83599 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83600 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83601 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83602 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83603 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83604 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83605 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83606 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83607 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83608
83609
83610 _ACEOF
83611
83612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83613
83614 # Handling of arguments.
83615 for ac_config_target in $ac_config_targets
83616 do
83617 case $ac_config_target in
83618 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83619 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83620 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83621 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83622 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83623 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83624 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83625 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83626 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83627 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83628 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83629 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83630 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83631 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83632 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83633 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83634 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83635 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83636 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83637 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83638
83639 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83640 esac
83641 done
83642
83643
83644 # If the user did not use the arguments to specify the items to instantiate,
83645 # then the envvar interface is used. Set only those that are not.
83646 # We use the long form for the default assignment because of an extremely
83647 # bizarre bug on SunOS 4.1.3.
83648 if $ac_need_defaults; then
83649 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83650 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83651 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83652 fi
83653
83654 # Have a temporary directory for convenience. Make it in the build tree
83655 # simply because there is no reason against having it here, and in addition,
83656 # creating and moving files from /tmp can sometimes cause problems.
83657 # Hook for its removal unless debugging.
83658 # Note that there is a small window in which the directory will not be cleaned:
83659 # after its creation but before its name has been assigned to `$tmp'.
83660 $debug ||
83661 {
83662 tmp= ac_tmp=
83663 trap 'exit_status=$?
83664 : "${ac_tmp:=$tmp}"
83665 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83666 ' 0
83667 trap 'as_fn_exit 1' 1 2 13 15
83668 }
83669 # Create a (secure) tmp directory for tmp files.
83670
83671 {
83672 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83673 test -d "$tmp"
83674 } ||
83675 {
83676 tmp=./conf$$-$RANDOM
83677 (umask 077 && mkdir "$tmp")
83678 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83679 ac_tmp=$tmp
83680
83681 # Set up the scripts for CONFIG_FILES section.
83682 # No need to generate them if there are no CONFIG_FILES.
83683 # This happens for instance with `./config.status config.h'.
83684 if test -n "$CONFIG_FILES"; then
83685
83686
83687 ac_cr=`echo X | tr X '\015'`
83688 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83689 # But we know of no other shell where ac_cr would be empty at this
83690 # point, so we can use a bashism as a fallback.
83691 if test "x$ac_cr" = x; then
83692 eval ac_cr=\$\'\\r\'
83693 fi
83694 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83696 ac_cs_awk_cr='\\r'
83697 else
83698 ac_cs_awk_cr=$ac_cr
83699 fi
83700
83701 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83702 _ACEOF
83703
83704
83705 {
83706 echo "cat >conf$$subs.awk <<_ACEOF" &&
83707 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83708 echo "_ACEOF"
83709 } >conf$$subs.sh ||
83710 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83711 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83712 ac_delim='%!_!# '
83713 for ac_last_try in false false false false false :; do
83714 . ./conf$$subs.sh ||
83715 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83716
83717 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83718 if test $ac_delim_n = $ac_delim_num; then
83719 break
83720 elif $ac_last_try; then
83721 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83722 else
83723 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83724 fi
83725 done
83726 rm -f conf$$subs.sh
83727
83728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83729 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83730 _ACEOF
83731 sed -n '
83732 h
83733 s/^/S["/; s/!.*/"]=/
83734 p
83735 g
83736 s/^[^!]*!//
83737 :repl
83738 t repl
83739 s/'"$ac_delim"'$//
83740 t delim
83741 :nl
83742 h
83743 s/\(.\{148\}\)..*/\1/
83744 t more1
83745 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83746 p
83747 n
83748 b repl
83749 :more1
83750 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83751 p
83752 g
83753 s/.\{148\}//
83754 t nl
83755 :delim
83756 h
83757 s/\(.\{148\}\)..*/\1/
83758 t more2
83759 s/["\\]/\\&/g; s/^/"/; s/$/"/
83760 p
83761 b
83762 :more2
83763 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83764 p
83765 g
83766 s/.\{148\}//
83767 t delim
83768 ' <conf$$subs.awk | sed '
83769 /^[^""]/{
83770 N
83771 s/\n//
83772 }
83773 ' >>$CONFIG_STATUS || ac_write_fail=1
83774 rm -f conf$$subs.awk
83775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83776 _ACAWK
83777 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83778 for (key in S) S_is_set[key] = 1
83779 FS = "\a"
83780
83781 }
83782 {
83783 line = $ 0
83784 nfields = split(line, field, "@")
83785 substed = 0
83786 len = length(field[1])
83787 for (i = 2; i < nfields; i++) {
83788 key = field[i]
83789 keylen = length(key)
83790 if (S_is_set[key]) {
83791 value = S[key]
83792 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83793 len += length(value) + length(field[++i])
83794 substed = 1
83795 } else
83796 len += 1 + keylen
83797 }
83798
83799 print line
83800 }
83801
83802 _ACAWK
83803 _ACEOF
83804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83805 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83806 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83807 else
83808 cat
83809 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83810 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83811 _ACEOF
83812
83813 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83814 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83815 # trailing colons and then remove the whole line if VPATH becomes empty
83816 # (actually we leave an empty line to preserve line numbers).
83817 if test "x$srcdir" = x.; then
83818 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83819 h
83820 s///
83821 s/^/:/
83822 s/[ ]*$/:/
83823 s/:\$(srcdir):/:/g
83824 s/:\${srcdir}:/:/g
83825 s/:@srcdir@:/:/g
83826 s/^:*//
83827 s/:*$//
83828 x
83829 s/\(=[ ]*\).*/\1/
83830 G
83831 s/\n//
83832 s/^[^=]*=[ ]*$//
83833 }'
83834 fi
83835
83836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83837 fi # test -n "$CONFIG_FILES"
83838
83839 # Set up the scripts for CONFIG_HEADERS section.
83840 # No need to generate them if there are no CONFIG_HEADERS.
83841 # This happens for instance with `./config.status Makefile'.
83842 if test -n "$CONFIG_HEADERS"; then
83843 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83844 BEGIN {
83845 _ACEOF
83846
83847 # Transform confdefs.h into an awk script `defines.awk', embedded as
83848 # here-document in config.status, that substitutes the proper values into
83849 # config.h.in to produce config.h.
83850
83851 # Create a delimiter string that does not exist in confdefs.h, to ease
83852 # handling of long lines.
83853 ac_delim='%!_!# '
83854 for ac_last_try in false false :; do
83855 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83856 if test -z "$ac_tt"; then
83857 break
83858 elif $ac_last_try; then
83859 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83860 else
83861 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83862 fi
83863 done
83864
83865 # For the awk script, D is an array of macro values keyed by name,
83866 # likewise P contains macro parameters if any. Preserve backslash
83867 # newline sequences.
83868
83869 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83870 sed -n '
83871 s/.\{148\}/&'"$ac_delim"'/g
83872 t rset
83873 :rset
83874 s/^[ ]*#[ ]*define[ ][ ]*/ /
83875 t def
83876 d
83877 :def
83878 s/\\$//
83879 t bsnl
83880 s/["\\]/\\&/g
83881 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83882 D["\1"]=" \3"/p
83883 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83884 d
83885 :bsnl
83886 s/["\\]/\\&/g
83887 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83888 D["\1"]=" \3\\\\\\n"\\/p
83889 t cont
83890 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83891 t cont
83892 d
83893 :cont
83894 n
83895 s/.\{148\}/&'"$ac_delim"'/g
83896 t clear
83897 :clear
83898 s/\\$//
83899 t bsnlc
83900 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83901 d
83902 :bsnlc
83903 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83904 b cont
83905 ' <confdefs.h | sed '
83906 s/'"$ac_delim"'/"\\\
83907 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83908
83909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83910 for (key in D) D_is_set[key] = 1
83911 FS = "\a"
83912 }
83913 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83914 line = \$ 0
83915 split(line, arg, " ")
83916 if (arg[1] == "#") {
83917 defundef = arg[2]
83918 mac1 = arg[3]
83919 } else {
83920 defundef = substr(arg[1], 2)
83921 mac1 = arg[2]
83922 }
83923 split(mac1, mac2, "(") #)
83924 macro = mac2[1]
83925 prefix = substr(line, 1, index(line, defundef) - 1)
83926 if (D_is_set[macro]) {
83927 # Preserve the white space surrounding the "#".
83928 print prefix "define", macro P[macro] D[macro]
83929 next
83930 } else {
83931 # Replace #undef with comments. This is necessary, for example,
83932 # in the case of _POSIX_SOURCE, which is predefined and required
83933 # on some systems where configure will not decide to define it.
83934 if (defundef == "undef") {
83935 print "/*", prefix defundef, macro, "*/"
83936 next
83937 }
83938 }
83939 }
83940 { print }
83941 _ACAWK
83942 _ACEOF
83943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83944 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
83945 fi # test -n "$CONFIG_HEADERS"
83946
83947
83948 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83949 shift
83950 for ac_tag
83951 do
83952 case $ac_tag in
83953 :[FHLC]) ac_mode=$ac_tag; continue;;
83954 esac
83955 case $ac_mode$ac_tag in
83956 :[FHL]*:*);;
83957 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
83958 :[FH]-) ac_tag=-:-;;
83959 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83960 esac
83961 ac_save_IFS=$IFS
83962 IFS=:
83963 set x $ac_tag
83964 IFS=$ac_save_IFS
83965 shift
83966 ac_file=$1
83967 shift
83968
83969 case $ac_mode in
83970 :L) ac_source=$1;;
83971 :[FH])
83972 ac_file_inputs=
83973 for ac_f
83974 do
83975 case $ac_f in
83976 -) ac_f="$ac_tmp/stdin";;
83977 *) # Look for the file first in the build tree, then in the source tree
83978 # (if the path is not absolute). The absolute path cannot be DOS-style,
83979 # because $ac_f cannot contain `:'.
83980 test -f "$ac_f" ||
83981 case $ac_f in
83982 [\\/$]*) false;;
83983 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83984 esac ||
83985 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83986 esac
83987 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83988 as_fn_append ac_file_inputs " '$ac_f'"
83989 done
83990
83991 # Let's still pretend it is `configure' which instantiates (i.e., don't
83992 # use $as_me), people would be surprised to read:
83993 # /* config.h. Generated by config.status. */
83994 configure_input='Generated from '`
83995 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83996 `' by configure.'
83997 if test x"$ac_file" != x-; then
83998 configure_input="$ac_file. $configure_input"
83999 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
84000 $as_echo "$as_me: creating $ac_file" >&6;}
84001 fi
84002 # Neutralize special characters interpreted by sed in replacement strings.
84003 case $configure_input in #(
84004 *\&* | *\|* | *\\* )
84005 ac_sed_conf_input=`$as_echo "$configure_input" |
84006 sed 's/[\\\\&|]/\\\\&/g'`;; #(
84007 *) ac_sed_conf_input=$configure_input;;
84008 esac
84009
84010 case $ac_tag in
84011 *:-:* | *:-) cat >"$ac_tmp/stdin" \
84012 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
84013 esac
84014 ;;
84015 esac
84016
84017 ac_dir=`$as_dirname -- "$ac_file" ||
84018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84019 X"$ac_file" : 'X\(//\)[^/]' \| \
84020 X"$ac_file" : 'X\(//\)$' \| \
84021 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
84022 $as_echo X"$ac_file" |
84023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84024 s//\1/
84025 q
84026 }
84027 /^X\(\/\/\)[^/].*/{
84028 s//\1/
84029 q
84030 }
84031 /^X\(\/\/\)$/{
84032 s//\1/
84033 q
84034 }
84035 /^X\(\/\).*/{
84036 s//\1/
84037 q
84038 }
84039 s/.*/./; q'`
84040 as_dir="$ac_dir"; as_fn_mkdir_p
84041 ac_builddir=.
84042
84043 case "$ac_dir" in
84044 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
84045 *)
84046 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
84047 # A ".." for each directory in $ac_dir_suffix.
84048 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
84049 case $ac_top_builddir_sub in
84050 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
84051 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
84052 esac ;;
84053 esac
84054 ac_abs_top_builddir=$ac_pwd
84055 ac_abs_builddir=$ac_pwd$ac_dir_suffix
84056 # for backward compatibility:
84057 ac_top_builddir=$ac_top_build_prefix
84058
84059 case $srcdir in
84060 .) # We are building in place.
84061 ac_srcdir=.
84062 ac_top_srcdir=$ac_top_builddir_sub
84063 ac_abs_top_srcdir=$ac_pwd ;;
84064 [\\/]* | ?:[\\/]* ) # Absolute name.
84065 ac_srcdir=$srcdir$ac_dir_suffix;
84066 ac_top_srcdir=$srcdir
84067 ac_abs_top_srcdir=$srcdir ;;
84068 *) # Relative name.
84069 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
84070 ac_top_srcdir=$ac_top_build_prefix$srcdir
84071 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
84072 esac
84073 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
84074
84075
84076 case $ac_mode in
84077 :F)
84078 #
84079 # CONFIG_FILE
84080 #
84081
84082 case $INSTALL in
84083 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84084 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
84085 esac
84086 ac_MKDIR_P=$MKDIR_P
84087 case $MKDIR_P in
84088 [\\/$]* | ?:[\\/]* ) ;;
84089 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
84090 esac
84091 _ACEOF
84092
84093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84094 # If the template does not know about datarootdir, expand it.
84095 # FIXME: This hack should be removed a few years after 2.60.
84096 ac_datarootdir_hack=; ac_datarootdir_seen=
84097 ac_sed_dataroot='
84098 /datarootdir/ {
84099 p
84100 q
84101 }
84102 /@datadir@/p
84103 /@docdir@/p
84104 /@infodir@/p
84105 /@localedir@/p
84106 /@mandir@/p'
84107 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
84108 *datarootdir*) ac_datarootdir_seen=yes;;
84109 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
84110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
84111 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
84112 _ACEOF
84113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84114 ac_datarootdir_hack='
84115 s&@datadir@&$datadir&g
84116 s&@docdir@&$docdir&g
84117 s&@infodir@&$infodir&g
84118 s&@localedir@&$localedir&g
84119 s&@mandir@&$mandir&g
84120 s&\\\${datarootdir}&$datarootdir&g' ;;
84121 esac
84122 _ACEOF
84123
84124 # Neutralize VPATH when `$srcdir' = `.'.
84125 # Shell code in configure.ac might set extrasub.
84126 # FIXME: do we really want to maintain this feature?
84127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84128 ac_sed_extra="$ac_vpsub
84129 $extrasub
84130 _ACEOF
84131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84132 :t
84133 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84134 s|@configure_input@|$ac_sed_conf_input|;t t
84135 s&@top_builddir@&$ac_top_builddir_sub&;t t
84136 s&@top_build_prefix@&$ac_top_build_prefix&;t t
84137 s&@srcdir@&$ac_srcdir&;t t
84138 s&@abs_srcdir@&$ac_abs_srcdir&;t t
84139 s&@top_srcdir@&$ac_top_srcdir&;t t
84140 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
84141 s&@builddir@&$ac_builddir&;t t
84142 s&@abs_builddir@&$ac_abs_builddir&;t t
84143 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
84144 s&@INSTALL@&$ac_INSTALL&;t t
84145 s&@MKDIR_P@&$ac_MKDIR_P&;t t
84146 $ac_datarootdir_hack
84147 "
84148 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
84149 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84150
84151 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
84152 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
84153 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
84154 "$ac_tmp/out"`; test -z "$ac_out"; } &&
84155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84156 which seems to be undefined. Please make sure it is defined" >&5
84157 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84158 which seems to be undefined. Please make sure it is defined" >&2;}
84159
84160 rm -f "$ac_tmp/stdin"
84161 case $ac_file in
84162 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
84163 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
84164 esac \
84165 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84166 ;;
84167 :H)
84168 #
84169 # CONFIG_HEADER
84170 #
84171 if test x"$ac_file" != x-; then
84172 {
84173 $as_echo "/* $configure_input */" \
84174 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
84175 } >"$ac_tmp/config.h" \
84176 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84177 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
84178 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
84179 $as_echo "$as_me: $ac_file is unchanged" >&6;}
84180 else
84181 rm -f "$ac_file"
84182 mv "$ac_tmp/config.h" "$ac_file" \
84183 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84184 fi
84185 else
84186 $as_echo "/* $configure_input */" \
84187 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
84188 || as_fn_error $? "could not create -" "$LINENO" 5
84189 fi
84190 # Compute "$ac_file"'s index in $config_headers.
84191 _am_arg="$ac_file"
84192 _am_stamp_count=1
84193 for _am_header in $config_headers :; do
84194 case $_am_header in
84195 $_am_arg | $_am_arg:* )
84196 break ;;
84197 * )
84198 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84199 esac
84200 done
84201 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
84202 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84203 X"$_am_arg" : 'X\(//\)[^/]' \| \
84204 X"$_am_arg" : 'X\(//\)$' \| \
84205 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
84206 $as_echo X"$_am_arg" |
84207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84208 s//\1/
84209 q
84210 }
84211 /^X\(\/\/\)[^/].*/{
84212 s//\1/
84213 q
84214 }
84215 /^X\(\/\/\)$/{
84216 s//\1/
84217 q
84218 }
84219 /^X\(\/\).*/{
84220 s//\1/
84221 q
84222 }
84223 s/.*/./; q'`/stamp-h$_am_stamp_count
84224 ;;
84225
84226 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
84227 $as_echo "$as_me: executing $ac_file commands" >&6;}
84228 ;;
84229 esac
84230
84231
84232 case $ac_file$ac_mode in
84233 "default-1":C)
84234 # Only add multilib support code if we just rebuilt the top-level
84235 # Makefile.
84236 case " $CONFIG_FILES " in
84237 *" Makefile "*)
84238 ac_file=Makefile . ${multi_basedir}/config-ml.in
84239 ;;
84240 esac ;;
84241 "libtool":C)
84242
84243 # See if we are running on zsh, and set the options which allow our
84244 # commands through without removal of \ escapes.
84245 if test -n "${ZSH_VERSION+set}" ; then
84246 setopt NO_GLOB_SUBST
84247 fi
84248
84249 cfgfile="${ofile}T"
84250 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
84251 $RM "$cfgfile"
84252
84253 cat <<_LT_EOF >> "$cfgfile"
84254 #! $SHELL
84255
84256 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
84257 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
84258 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
84259 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
84260 #
84261 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
84262 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
84263 # Written by Gordon Matzigkeit, 1996
84264 #
84265 # This file is part of GNU Libtool.
84266 #
84267 # GNU Libtool is free software; you can redistribute it and/or
84268 # modify it under the terms of the GNU General Public License as
84269 # published by the Free Software Foundation; either version 2 of
84270 # the License, or (at your option) any later version.
84271 #
84272 # As a special exception to the GNU General Public License,
84273 # if you distribute this file as part of a program or library that
84274 # is built using GNU Libtool, you may include this file under the
84275 # same distribution terms that you use for the rest of that program.
84276 #
84277 # GNU Libtool is distributed in the hope that it will be useful,
84278 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84279 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84280 # GNU General Public License for more details.
84281 #
84282 # You should have received a copy of the GNU General Public License
84283 # along with GNU Libtool; see the file COPYING. If not, a copy
84284 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
84285 # obtained by writing to the Free Software Foundation, Inc.,
84286 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
84287
84288
84289 # The names of the tagged configurations supported by this script.
84290 available_tags="CXX "
84291
84292 # ### BEGIN LIBTOOL CONFIG
84293
84294 # Which release of libtool.m4 was used?
84295 macro_version=$macro_version
84296 macro_revision=$macro_revision
84297
84298 # Whether or not to build shared libraries.
84299 build_libtool_libs=$enable_shared
84300
84301 # Whether or not to build static libraries.
84302 build_old_libs=$enable_static
84303
84304 # What type of objects to build.
84305 pic_mode=$pic_mode
84306
84307 # Whether or not to optimize for fast installation.
84308 fast_install=$enable_fast_install
84309
84310 # Shell to use when invoking shell scripts.
84311 SHELL=$lt_SHELL
84312
84313 # An echo program that protects backslashes.
84314 ECHO=$lt_ECHO
84315
84316 # The host system.
84317 host_alias=$host_alias
84318 host=$host
84319 host_os=$host_os
84320
84321 # The build system.
84322 build_alias=$build_alias
84323 build=$build
84324 build_os=$build_os
84325
84326 # A sed program that does not truncate output.
84327 SED=$lt_SED
84328
84329 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
84330 Xsed="\$SED -e 1s/^X//"
84331
84332 # A grep program that handles long lines.
84333 GREP=$lt_GREP
84334
84335 # An ERE matcher.
84336 EGREP=$lt_EGREP
84337
84338 # A literal string matcher.
84339 FGREP=$lt_FGREP
84340
84341 # A BSD- or MS-compatible name lister.
84342 NM=$lt_NM
84343
84344 # Whether we need soft or hard links.
84345 LN_S=$lt_LN_S
84346
84347 # What is the maximum length of a command?
84348 max_cmd_len=$max_cmd_len
84349
84350 # Object file suffix (normally "o").
84351 objext=$ac_objext
84352
84353 # Executable file suffix (normally "").
84354 exeext=$exeext
84355
84356 # whether the shell understands "unset".
84357 lt_unset=$lt_unset
84358
84359 # turn spaces into newlines.
84360 SP2NL=$lt_lt_SP2NL
84361
84362 # turn newlines into spaces.
84363 NL2SP=$lt_lt_NL2SP
84364
84365 # An object symbol dumper.
84366 OBJDUMP=$lt_OBJDUMP
84367
84368 # Method to check whether dependent libraries are shared objects.
84369 deplibs_check_method=$lt_deplibs_check_method
84370
84371 # Command to use when deplibs_check_method == "file_magic".
84372 file_magic_cmd=$lt_file_magic_cmd
84373
84374 # The archiver.
84375 AR=$lt_AR
84376 AR_FLAGS=$lt_AR_FLAGS
84377
84378 # A symbol stripping program.
84379 STRIP=$lt_STRIP
84380
84381 # Commands used to install an old-style archive.
84382 RANLIB=$lt_RANLIB
84383 old_postinstall_cmds=$lt_old_postinstall_cmds
84384 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84385
84386 # Whether to use a lock for old archive extraction.
84387 lock_old_archive_extraction=$lock_old_archive_extraction
84388
84389 # A C compiler.
84390 LTCC=$lt_CC
84391
84392 # LTCC compiler flags.
84393 LTCFLAGS=$lt_CFLAGS
84394
84395 # Take the output of nm and produce a listing of raw symbols and C names.
84396 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84397
84398 # Transform the output of nm in a proper C declaration.
84399 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84400
84401 # Transform the output of nm in a C name address pair.
84402 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84403
84404 # Transform the output of nm in a C name address pair when lib prefix is needed.
84405 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84406
84407 # The name of the directory that contains temporary libtool files.
84408 objdir=$objdir
84409
84410 # Used to examine libraries when file_magic_cmd begins with "file".
84411 MAGIC_CMD=$MAGIC_CMD
84412
84413 # Must we lock files when doing compilation?
84414 need_locks=$lt_need_locks
84415
84416 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84417 DSYMUTIL=$lt_DSYMUTIL
84418
84419 # Tool to change global to local symbols on Mac OS X.
84420 NMEDIT=$lt_NMEDIT
84421
84422 # Tool to manipulate fat objects and archives on Mac OS X.
84423 LIPO=$lt_LIPO
84424
84425 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84426 OTOOL=$lt_OTOOL
84427
84428 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84429 OTOOL64=$lt_OTOOL64
84430
84431 # Old archive suffix (normally "a").
84432 libext=$libext
84433
84434 # Shared library suffix (normally ".so").
84435 shrext_cmds=$lt_shrext_cmds
84436
84437 # The commands to extract the exported symbol list from a shared archive.
84438 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84439
84440 # Variables whose values should be saved in libtool wrapper scripts and
84441 # restored at link time.
84442 variables_saved_for_relink=$lt_variables_saved_for_relink
84443
84444 # Do we need the "lib" prefix for modules?
84445 need_lib_prefix=$need_lib_prefix
84446
84447 # Do we need a version for libraries?
84448 need_version=$need_version
84449
84450 # Library versioning type.
84451 version_type=$version_type
84452
84453 # Shared library runtime path variable.
84454 runpath_var=$runpath_var
84455
84456 # Shared library path variable.
84457 shlibpath_var=$shlibpath_var
84458
84459 # Is shlibpath searched before the hard-coded library search path?
84460 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84461
84462 # Format of library name prefix.
84463 libname_spec=$lt_libname_spec
84464
84465 # List of archive names. First name is the real one, the rest are links.
84466 # The last name is the one that the linker finds with -lNAME
84467 library_names_spec=$lt_library_names_spec
84468
84469 # The coded name of the library, if different from the real name.
84470 soname_spec=$lt_soname_spec
84471
84472 # Permission mode override for installation of shared libraries.
84473 install_override_mode=$lt_install_override_mode
84474
84475 # Command to use after installation of a shared archive.
84476 postinstall_cmds=$lt_postinstall_cmds
84477
84478 # Command to use after uninstallation of a shared archive.
84479 postuninstall_cmds=$lt_postuninstall_cmds
84480
84481 # Commands used to finish a libtool library installation in a directory.
84482 finish_cmds=$lt_finish_cmds
84483
84484 # As "finish_cmds", except a single script fragment to be evaled but
84485 # not shown.
84486 finish_eval=$lt_finish_eval
84487
84488 # Whether we should hardcode library paths into libraries.
84489 hardcode_into_libs=$hardcode_into_libs
84490
84491 # Compile-time system search path for libraries.
84492 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84493
84494 # Run-time system search path for libraries.
84495 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84496
84497 # Whether dlopen is supported.
84498 dlopen_support=$enable_dlopen
84499
84500 # Whether dlopen of programs is supported.
84501 dlopen_self=$enable_dlopen_self
84502
84503 # Whether dlopen of statically linked programs is supported.
84504 dlopen_self_static=$enable_dlopen_self_static
84505
84506 # Commands to strip libraries.
84507 old_striplib=$lt_old_striplib
84508 striplib=$lt_striplib
84509
84510
84511 # The linker used to build libraries.
84512 LD=$lt_LD
84513
84514 # How to create reloadable object files.
84515 reload_flag=$lt_reload_flag
84516 reload_cmds=$lt_reload_cmds
84517
84518 # Commands used to build an old-style archive.
84519 old_archive_cmds=$lt_old_archive_cmds
84520
84521 # A language specific compiler.
84522 CC=$lt_compiler
84523
84524 # Is the compiler the GNU compiler?
84525 with_gcc=$GCC
84526
84527 # Compiler flag to turn off builtin functions.
84528 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84529
84530 # How to pass a linker flag through the compiler.
84531 wl=$lt_lt_prog_compiler_wl
84532
84533 # Additional compiler flags for building library objects.
84534 pic_flag=$lt_lt_prog_compiler_pic
84535
84536 # Compiler flag to prevent dynamic linking.
84537 link_static_flag=$lt_lt_prog_compiler_static
84538
84539 # Does compiler simultaneously support -c and -o options?
84540 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84541
84542 # Whether or not to add -lc for building shared libraries.
84543 build_libtool_need_lc=$archive_cmds_need_lc
84544
84545 # Whether or not to disallow shared libs when runtime libs are static.
84546 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84547
84548 # Compiler flag to allow reflexive dlopens.
84549 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84550
84551 # Compiler flag to generate shared objects directly from archives.
84552 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84553
84554 # Whether the compiler copes with passing no objects directly.
84555 compiler_needs_object=$lt_compiler_needs_object
84556
84557 # Create an old-style archive from a shared archive.
84558 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84559
84560 # Create a temporary old-style archive to link instead of a shared archive.
84561 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84562
84563 # Commands used to build a shared archive.
84564 archive_cmds=$lt_archive_cmds
84565 archive_expsym_cmds=$lt_archive_expsym_cmds
84566
84567 # Commands used to build a loadable module if different from building
84568 # a shared archive.
84569 module_cmds=$lt_module_cmds
84570 module_expsym_cmds=$lt_module_expsym_cmds
84571
84572 # Whether we are building with GNU ld or not.
84573 with_gnu_ld=$lt_with_gnu_ld
84574
84575 # Flag that allows shared libraries with undefined symbols to be built.
84576 allow_undefined_flag=$lt_allow_undefined_flag
84577
84578 # Flag that enforces no undefined symbols.
84579 no_undefined_flag=$lt_no_undefined_flag
84580
84581 # Flag to hardcode \$libdir into a binary during linking.
84582 # This must work even if \$libdir does not exist
84583 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84584
84585 # If ld is used when linking, flag to hardcode \$libdir into a binary
84586 # during linking. This must work even if \$libdir does not exist.
84587 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84588
84589 # Whether we need a single "-rpath" flag with a separated argument.
84590 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84591
84592 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84593 # DIR into the resulting binary.
84594 hardcode_direct=$hardcode_direct
84595
84596 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84597 # DIR into the resulting binary and the resulting library dependency is
84598 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84599 # library is relocated.
84600 hardcode_direct_absolute=$hardcode_direct_absolute
84601
84602 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84603 # into the resulting binary.
84604 hardcode_minus_L=$hardcode_minus_L
84605
84606 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84607 # into the resulting binary.
84608 hardcode_shlibpath_var=$hardcode_shlibpath_var
84609
84610 # Set to "yes" if building a shared library automatically hardcodes DIR
84611 # into the library and all subsequent libraries and executables linked
84612 # against it.
84613 hardcode_automatic=$hardcode_automatic
84614
84615 # Set to yes if linker adds runtime paths of dependent libraries
84616 # to runtime path list.
84617 inherit_rpath=$inherit_rpath
84618
84619 # Whether libtool must link a program against all its dependency libraries.
84620 link_all_deplibs=$link_all_deplibs
84621
84622 # Fix the shell variable \$srcfile for the compiler.
84623 fix_srcfile_path=$lt_fix_srcfile_path
84624
84625 # Set to "yes" if exported symbols are required.
84626 always_export_symbols=$always_export_symbols
84627
84628 # The commands to list exported symbols.
84629 export_symbols_cmds=$lt_export_symbols_cmds
84630
84631 # Symbols that should not be listed in the preloaded symbols.
84632 exclude_expsyms=$lt_exclude_expsyms
84633
84634 # Symbols that must always be exported.
84635 include_expsyms=$lt_include_expsyms
84636
84637 # Commands necessary for linking programs (against libraries) with templates.
84638 prelink_cmds=$lt_prelink_cmds
84639
84640 # Specify filename containing input files.
84641 file_list_spec=$lt_file_list_spec
84642
84643 # How to hardcode a shared library path into an executable.
84644 hardcode_action=$hardcode_action
84645
84646 # The directories searched by this compiler when creating a shared library.
84647 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84648
84649 # Dependencies to place before and after the objects being linked to
84650 # create a shared library.
84651 predep_objects=$lt_predep_objects
84652 postdep_objects=$lt_postdep_objects
84653 predeps=$lt_predeps
84654 postdeps=$lt_postdeps
84655
84656 # The library search path used internally by the compiler when linking
84657 # a shared library.
84658 compiler_lib_search_path=$lt_compiler_lib_search_path
84659
84660 # ### END LIBTOOL CONFIG
84661
84662 _LT_EOF
84663
84664 case $host_os in
84665 aix3*)
84666 cat <<\_LT_EOF >> "$cfgfile"
84667 # AIX sometimes has problems with the GCC collect2 program. For some
84668 # reason, if we set the COLLECT_NAMES environment variable, the problems
84669 # vanish in a puff of smoke.
84670 if test "X${COLLECT_NAMES+set}" != Xset; then
84671 COLLECT_NAMES=
84672 export COLLECT_NAMES
84673 fi
84674 _LT_EOF
84675 ;;
84676 esac
84677
84678
84679 ltmain="$ac_aux_dir/ltmain.sh"
84680
84681
84682 # We use sed instead of cat because bash on DJGPP gets confused if
84683 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84684 # text mode, it properly converts lines to CR/LF. This bash problem
84685 # is reportedly fixed, but why not run on old versions too?
84686 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84687 || (rm -f "$cfgfile"; exit 1)
84688
84689 case $xsi_shell in
84690 yes)
84691 cat << \_LT_EOF >> "$cfgfile"
84692
84693 # func_dirname file append nondir_replacement
84694 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84695 # otherwise set result to NONDIR_REPLACEMENT.
84696 func_dirname ()
84697 {
84698 case ${1} in
84699 */*) func_dirname_result="${1%/*}${2}" ;;
84700 * ) func_dirname_result="${3}" ;;
84701 esac
84702 }
84703
84704 # func_basename file
84705 func_basename ()
84706 {
84707 func_basename_result="${1##*/}"
84708 }
84709
84710 # func_dirname_and_basename file append nondir_replacement
84711 # perform func_basename and func_dirname in a single function
84712 # call:
84713 # dirname: Compute the dirname of FILE. If nonempty,
84714 # add APPEND to the result, otherwise set result
84715 # to NONDIR_REPLACEMENT.
84716 # value returned in "$func_dirname_result"
84717 # basename: Compute filename of FILE.
84718 # value retuned in "$func_basename_result"
84719 # Implementation must be kept synchronized with func_dirname
84720 # and func_basename. For efficiency, we do not delegate to
84721 # those functions but instead duplicate the functionality here.
84722 func_dirname_and_basename ()
84723 {
84724 case ${1} in
84725 */*) func_dirname_result="${1%/*}${2}" ;;
84726 * ) func_dirname_result="${3}" ;;
84727 esac
84728 func_basename_result="${1##*/}"
84729 }
84730
84731 # func_stripname prefix suffix name
84732 # strip PREFIX and SUFFIX off of NAME.
84733 # PREFIX and SUFFIX must not contain globbing or regex special
84734 # characters, hashes, percent signs, but SUFFIX may contain a leading
84735 # dot (in which case that matches only a dot).
84736 func_stripname ()
84737 {
84738 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84739 # positional parameters, so assign one to ordinary parameter first.
84740 func_stripname_result=${3}
84741 func_stripname_result=${func_stripname_result#"${1}"}
84742 func_stripname_result=${func_stripname_result%"${2}"}
84743 }
84744
84745 # func_opt_split
84746 func_opt_split ()
84747 {
84748 func_opt_split_opt=${1%%=*}
84749 func_opt_split_arg=${1#*=}
84750 }
84751
84752 # func_lo2o object
84753 func_lo2o ()
84754 {
84755 case ${1} in
84756 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84757 *) func_lo2o_result=${1} ;;
84758 esac
84759 }
84760
84761 # func_xform libobj-or-source
84762 func_xform ()
84763 {
84764 func_xform_result=${1%.*}.lo
84765 }
84766
84767 # func_arith arithmetic-term...
84768 func_arith ()
84769 {
84770 func_arith_result=$(( $* ))
84771 }
84772
84773 # func_len string
84774 # STRING may not start with a hyphen.
84775 func_len ()
84776 {
84777 func_len_result=${#1}
84778 }
84779
84780 _LT_EOF
84781 ;;
84782 *) # Bourne compatible functions.
84783 cat << \_LT_EOF >> "$cfgfile"
84784
84785 # func_dirname file append nondir_replacement
84786 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84787 # otherwise set result to NONDIR_REPLACEMENT.
84788 func_dirname ()
84789 {
84790 # Extract subdirectory from the argument.
84791 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84792 if test "X$func_dirname_result" = "X${1}"; then
84793 func_dirname_result="${3}"
84794 else
84795 func_dirname_result="$func_dirname_result${2}"
84796 fi
84797 }
84798
84799 # func_basename file
84800 func_basename ()
84801 {
84802 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84803 }
84804
84805
84806 # func_stripname prefix suffix name
84807 # strip PREFIX and SUFFIX off of NAME.
84808 # PREFIX and SUFFIX must not contain globbing or regex special
84809 # characters, hashes, percent signs, but SUFFIX may contain a leading
84810 # dot (in which case that matches only a dot).
84811 # func_strip_suffix prefix name
84812 func_stripname ()
84813 {
84814 case ${2} in
84815 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84816 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84817 esac
84818 }
84819
84820 # sed scripts:
84821 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84822 my_sed_long_arg='1s/^-[^=]*=//'
84823
84824 # func_opt_split
84825 func_opt_split ()
84826 {
84827 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84828 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84829 }
84830
84831 # func_lo2o object
84832 func_lo2o ()
84833 {
84834 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84835 }
84836
84837 # func_xform libobj-or-source
84838 func_xform ()
84839 {
84840 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84841 }
84842
84843 # func_arith arithmetic-term...
84844 func_arith ()
84845 {
84846 func_arith_result=`expr "$@"`
84847 }
84848
84849 # func_len string
84850 # STRING may not start with a hyphen.
84851 func_len ()
84852 {
84853 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84854 }
84855
84856 _LT_EOF
84857 esac
84858
84859 case $lt_shell_append in
84860 yes)
84861 cat << \_LT_EOF >> "$cfgfile"
84862
84863 # func_append var value
84864 # Append VALUE to the end of shell variable VAR.
84865 func_append ()
84866 {
84867 eval "$1+=\$2"
84868 }
84869 _LT_EOF
84870 ;;
84871 *)
84872 cat << \_LT_EOF >> "$cfgfile"
84873
84874 # func_append var value
84875 # Append VALUE to the end of shell variable VAR.
84876 func_append ()
84877 {
84878 eval "$1=\$$1\$2"
84879 }
84880
84881 _LT_EOF
84882 ;;
84883 esac
84884
84885
84886 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84887 || (rm -f "$cfgfile"; exit 1)
84888
84889 mv -f "$cfgfile" "$ofile" ||
84890 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84891 chmod +x "$ofile"
84892
84893
84894 cat <<_LT_EOF >> "$ofile"
84895
84896 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84897
84898 # The linker used to build libraries.
84899 LD=$lt_LD_CXX
84900
84901 # How to create reloadable object files.
84902 reload_flag=$lt_reload_flag_CXX
84903 reload_cmds=$lt_reload_cmds_CXX
84904
84905 # Commands used to build an old-style archive.
84906 old_archive_cmds=$lt_old_archive_cmds_CXX
84907
84908 # A language specific compiler.
84909 CC=$lt_compiler_CXX
84910
84911 # Is the compiler the GNU compiler?
84912 with_gcc=$GCC_CXX
84913
84914 # Compiler flag to turn off builtin functions.
84915 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84916
84917 # How to pass a linker flag through the compiler.
84918 wl=$lt_lt_prog_compiler_wl_CXX
84919
84920 # Additional compiler flags for building library objects.
84921 pic_flag=$lt_lt_prog_compiler_pic_CXX
84922
84923 # Compiler flag to prevent dynamic linking.
84924 link_static_flag=$lt_lt_prog_compiler_static_CXX
84925
84926 # Does compiler simultaneously support -c and -o options?
84927 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84928
84929 # Whether or not to add -lc for building shared libraries.
84930 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84931
84932 # Whether or not to disallow shared libs when runtime libs are static.
84933 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84934
84935 # Compiler flag to allow reflexive dlopens.
84936 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84937
84938 # Compiler flag to generate shared objects directly from archives.
84939 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84940
84941 # Whether the compiler copes with passing no objects directly.
84942 compiler_needs_object=$lt_compiler_needs_object_CXX
84943
84944 # Create an old-style archive from a shared archive.
84945 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84946
84947 # Create a temporary old-style archive to link instead of a shared archive.
84948 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84949
84950 # Commands used to build a shared archive.
84951 archive_cmds=$lt_archive_cmds_CXX
84952 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84953
84954 # Commands used to build a loadable module if different from building
84955 # a shared archive.
84956 module_cmds=$lt_module_cmds_CXX
84957 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84958
84959 # Whether we are building with GNU ld or not.
84960 with_gnu_ld=$lt_with_gnu_ld_CXX
84961
84962 # Flag that allows shared libraries with undefined symbols to be built.
84963 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84964
84965 # Flag that enforces no undefined symbols.
84966 no_undefined_flag=$lt_no_undefined_flag_CXX
84967
84968 # Flag to hardcode \$libdir into a binary during linking.
84969 # This must work even if \$libdir does not exist
84970 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84971
84972 # If ld is used when linking, flag to hardcode \$libdir into a binary
84973 # during linking. This must work even if \$libdir does not exist.
84974 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84975
84976 # Whether we need a single "-rpath" flag with a separated argument.
84977 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84978
84979 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84980 # DIR into the resulting binary.
84981 hardcode_direct=$hardcode_direct_CXX
84982
84983 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84984 # DIR into the resulting binary and the resulting library dependency is
84985 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84986 # library is relocated.
84987 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84988
84989 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84990 # into the resulting binary.
84991 hardcode_minus_L=$hardcode_minus_L_CXX
84992
84993 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84994 # into the resulting binary.
84995 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84996
84997 # Set to "yes" if building a shared library automatically hardcodes DIR
84998 # into the library and all subsequent libraries and executables linked
84999 # against it.
85000 hardcode_automatic=$hardcode_automatic_CXX
85001
85002 # Set to yes if linker adds runtime paths of dependent libraries
85003 # to runtime path list.
85004 inherit_rpath=$inherit_rpath_CXX
85005
85006 # Whether libtool must link a program against all its dependency libraries.
85007 link_all_deplibs=$link_all_deplibs_CXX
85008
85009 # Fix the shell variable \$srcfile for the compiler.
85010 fix_srcfile_path=$lt_fix_srcfile_path_CXX
85011
85012 # Set to "yes" if exported symbols are required.
85013 always_export_symbols=$always_export_symbols_CXX
85014
85015 # The commands to list exported symbols.
85016 export_symbols_cmds=$lt_export_symbols_cmds_CXX
85017
85018 # Symbols that should not be listed in the preloaded symbols.
85019 exclude_expsyms=$lt_exclude_expsyms_CXX
85020
85021 # Symbols that must always be exported.
85022 include_expsyms=$lt_include_expsyms_CXX
85023
85024 # Commands necessary for linking programs (against libraries) with templates.
85025 prelink_cmds=$lt_prelink_cmds_CXX
85026
85027 # Specify filename containing input files.
85028 file_list_spec=$lt_file_list_spec_CXX
85029
85030 # How to hardcode a shared library path into an executable.
85031 hardcode_action=$hardcode_action_CXX
85032
85033 # The directories searched by this compiler when creating a shared library.
85034 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
85035
85036 # Dependencies to place before and after the objects being linked to
85037 # create a shared library.
85038 predep_objects=$lt_predep_objects_CXX
85039 postdep_objects=$lt_postdep_objects_CXX
85040 predeps=$lt_predeps_CXX
85041 postdeps=$lt_postdeps_CXX
85042
85043 # The library search path used internally by the compiler when linking
85044 # a shared library.
85045 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
85046
85047 # ### END LIBTOOL TAG CONFIG: CXX
85048 _LT_EOF
85049
85050 ;;
85051 "include/gstdint.h":C)
85052 if test "$GCC" = yes; then
85053 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
85054 else
85055 echo "/* generated for $CC */" > tmp-stdint.h
85056 fi
85057
85058 sed 's/^ *//' >> tmp-stdint.h <<EOF
85059
85060 #ifndef GCC_GENERATED_STDINT_H
85061 #define GCC_GENERATED_STDINT_H 1
85062
85063 #include <sys/types.h>
85064 EOF
85065
85066 if test "$acx_cv_header_stdint" != stdint.h; then
85067 echo "#include <stddef.h>" >> tmp-stdint.h
85068 fi
85069 if test "$acx_cv_header_stdint" != stddef.h; then
85070 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
85071 fi
85072
85073 sed 's/^ *//' >> tmp-stdint.h <<EOF
85074 /* glibc uses these symbols as guards to prevent redefinitions. */
85075 #ifdef __int8_t_defined
85076 #define _INT8_T
85077 #define _INT16_T
85078 #define _INT32_T
85079 #endif
85080 #ifdef __uint32_t_defined
85081 #define _UINT32_T
85082 #endif
85083
85084 EOF
85085
85086 # ----------------- done header, emit basic int types -------------
85087 if test "$acx_cv_header_stdint" = stddef.h; then
85088 sed 's/^ *//' >> tmp-stdint.h <<EOF
85089
85090 #ifndef _UINT8_T
85091 #define _UINT8_T
85092 #ifndef __uint8_t_defined
85093 #define __uint8_t_defined
85094 #ifndef uint8_t
85095 typedef unsigned $acx_cv_type_int8_t uint8_t;
85096 #endif
85097 #endif
85098 #endif
85099
85100 #ifndef _UINT16_T
85101 #define _UINT16_T
85102 #ifndef __uint16_t_defined
85103 #define __uint16_t_defined
85104 #ifndef uint16_t
85105 typedef unsigned $acx_cv_type_int16_t uint16_t;
85106 #endif
85107 #endif
85108 #endif
85109
85110 #ifndef _UINT32_T
85111 #define _UINT32_T
85112 #ifndef __uint32_t_defined
85113 #define __uint32_t_defined
85114 #ifndef uint32_t
85115 typedef unsigned $acx_cv_type_int32_t uint32_t;
85116 #endif
85117 #endif
85118 #endif
85119
85120 #ifndef _INT8_T
85121 #define _INT8_T
85122 #ifndef __int8_t_defined
85123 #define __int8_t_defined
85124 #ifndef int8_t
85125 typedef $acx_cv_type_int8_t int8_t;
85126 #endif
85127 #endif
85128 #endif
85129
85130 #ifndef _INT16_T
85131 #define _INT16_T
85132 #ifndef __int16_t_defined
85133 #define __int16_t_defined
85134 #ifndef int16_t
85135 typedef $acx_cv_type_int16_t int16_t;
85136 #endif
85137 #endif
85138 #endif
85139
85140 #ifndef _INT32_T
85141 #define _INT32_T
85142 #ifndef __int32_t_defined
85143 #define __int32_t_defined
85144 #ifndef int32_t
85145 typedef $acx_cv_type_int32_t int32_t;
85146 #endif
85147 #endif
85148 #endif
85149 EOF
85150 elif test "$ac_cv_type_u_int32_t" = yes; then
85151 sed 's/^ *//' >> tmp-stdint.h <<EOF
85152
85153 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
85154 #ifndef _INT8_T
85155 #define _INT8_T
85156 #endif
85157 #ifndef _INT16_T
85158 #define _INT16_T
85159 #endif
85160 #ifndef _INT32_T
85161 #define _INT32_T
85162 #endif
85163
85164 #ifndef _UINT8_T
85165 #define _UINT8_T
85166 #ifndef __uint8_t_defined
85167 #define __uint8_t_defined
85168 #ifndef uint8_t
85169 typedef u_int8_t uint8_t;
85170 #endif
85171 #endif
85172 #endif
85173
85174 #ifndef _UINT16_T
85175 #define _UINT16_T
85176 #ifndef __uint16_t_defined
85177 #define __uint16_t_defined
85178 #ifndef uint16_t
85179 typedef u_int16_t uint16_t;
85180 #endif
85181 #endif
85182 #endif
85183
85184 #ifndef _UINT32_T
85185 #define _UINT32_T
85186 #ifndef __uint32_t_defined
85187 #define __uint32_t_defined
85188 #ifndef uint32_t
85189 typedef u_int32_t uint32_t;
85190 #endif
85191 #endif
85192 #endif
85193 EOF
85194 else
85195 sed 's/^ *//' >> tmp-stdint.h <<EOF
85196
85197 /* Some systems have guard macros to prevent redefinitions, define them. */
85198 #ifndef _INT8_T
85199 #define _INT8_T
85200 #endif
85201 #ifndef _INT16_T
85202 #define _INT16_T
85203 #endif
85204 #ifndef _INT32_T
85205 #define _INT32_T
85206 #endif
85207 #ifndef _UINT8_T
85208 #define _UINT8_T
85209 #endif
85210 #ifndef _UINT16_T
85211 #define _UINT16_T
85212 #endif
85213 #ifndef _UINT32_T
85214 #define _UINT32_T
85215 #endif
85216 EOF
85217 fi
85218
85219 # ------------- done basic int types, emit int64_t types ------------
85220 if test "$ac_cv_type_uint64_t" = yes; then
85221 sed 's/^ *//' >> tmp-stdint.h <<EOF
85222
85223 /* system headers have good uint64_t and int64_t */
85224 #ifndef _INT64_T
85225 #define _INT64_T
85226 #endif
85227 #ifndef _UINT64_T
85228 #define _UINT64_T
85229 #endif
85230 EOF
85231 elif test "$ac_cv_type_u_int64_t" = yes; then
85232 sed 's/^ *//' >> tmp-stdint.h <<EOF
85233
85234 /* system headers have an u_int64_t (and int64_t) */
85235 #ifndef _INT64_T
85236 #define _INT64_T
85237 #endif
85238 #ifndef _UINT64_T
85239 #define _UINT64_T
85240 #ifndef __uint64_t_defined
85241 #define __uint64_t_defined
85242 #ifndef uint64_t
85243 typedef u_int64_t uint64_t;
85244 #endif
85245 #endif
85246 #endif
85247 EOF
85248 elif test -n "$acx_cv_type_int64_t"; then
85249 sed 's/^ *//' >> tmp-stdint.h <<EOF
85250
85251 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
85252 #ifndef _INT64_T
85253 #define _INT64_T
85254 #ifndef int64_t
85255 typedef $acx_cv_type_int64_t int64_t;
85256 #endif
85257 #endif
85258 #ifndef _UINT64_T
85259 #define _UINT64_T
85260 #ifndef __uint64_t_defined
85261 #define __uint64_t_defined
85262 #ifndef uint64_t
85263 typedef unsigned $acx_cv_type_int64_t uint64_t;
85264 #endif
85265 #endif
85266 #endif
85267 EOF
85268 else
85269 sed 's/^ *//' >> tmp-stdint.h <<EOF
85270
85271 /* some common heuristics for int64_t, using compiler-specific tests */
85272 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
85273 #ifndef _INT64_T
85274 #define _INT64_T
85275 #ifndef __int64_t_defined
85276 #ifndef int64_t
85277 typedef long long int64_t;
85278 #endif
85279 #endif
85280 #endif
85281 #ifndef _UINT64_T
85282 #define _UINT64_T
85283 #ifndef uint64_t
85284 typedef unsigned long long uint64_t;
85285 #endif
85286 #endif
85287
85288 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
85289 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
85290 does not implement __extension__. But that compiler doesn't define
85291 __GNUC_MINOR__. */
85292 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
85293 # define __extension__
85294 # endif
85295
85296 # ifndef _INT64_T
85297 # define _INT64_T
85298 # ifndef int64_t
85299 __extension__ typedef long long int64_t;
85300 # endif
85301 # endif
85302 # ifndef _UINT64_T
85303 # define _UINT64_T
85304 # ifndef uint64_t
85305 __extension__ typedef unsigned long long uint64_t;
85306 # endif
85307 # endif
85308
85309 #elif !defined __STRICT_ANSI__
85310 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
85311
85312 # ifndef _INT64_T
85313 # define _INT64_T
85314 # ifndef int64_t
85315 typedef __int64 int64_t;
85316 # endif
85317 # endif
85318 # ifndef _UINT64_T
85319 # define _UINT64_T
85320 # ifndef uint64_t
85321 typedef unsigned __int64 uint64_t;
85322 # endif
85323 # endif
85324 # endif /* compiler */
85325
85326 #endif /* ANSI version */
85327 EOF
85328 fi
85329
85330 # ------------- done int64_t types, emit intptr types ------------
85331 if test "$ac_cv_type_uintptr_t" != yes; then
85332 sed 's/^ *//' >> tmp-stdint.h <<EOF
85333
85334 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
85335 #ifndef __uintptr_t_defined
85336 #ifndef uintptr_t
85337 typedef u$acx_cv_type_intptr_t uintptr_t;
85338 #endif
85339 #endif
85340 #ifndef __intptr_t_defined
85341 #ifndef intptr_t
85342 typedef $acx_cv_type_intptr_t intptr_t;
85343 #endif
85344 #endif
85345 EOF
85346 fi
85347
85348 # ------------- done intptr types, emit int_least types ------------
85349 if test "$ac_cv_type_int_least32_t" != yes; then
85350 sed 's/^ *//' >> tmp-stdint.h <<EOF
85351
85352 /* Define int_least types */
85353 typedef int8_t int_least8_t;
85354 typedef int16_t int_least16_t;
85355 typedef int32_t int_least32_t;
85356 #ifdef _INT64_T
85357 typedef int64_t int_least64_t;
85358 #endif
85359
85360 typedef uint8_t uint_least8_t;
85361 typedef uint16_t uint_least16_t;
85362 typedef uint32_t uint_least32_t;
85363 #ifdef _UINT64_T
85364 typedef uint64_t uint_least64_t;
85365 #endif
85366 EOF
85367 fi
85368
85369 # ------------- done intptr types, emit int_fast types ------------
85370 if test "$ac_cv_type_int_fast32_t" != yes; then
85371 sed 's/^ *//' >> tmp-stdint.h <<EOF
85372
85373 /* Define int_fast types. short is often slow */
85374 typedef int8_t int_fast8_t;
85375 typedef int int_fast16_t;
85376 typedef int32_t int_fast32_t;
85377 #ifdef _INT64_T
85378 typedef int64_t int_fast64_t;
85379 #endif
85380
85381 typedef uint8_t uint_fast8_t;
85382 typedef unsigned int uint_fast16_t;
85383 typedef uint32_t uint_fast32_t;
85384 #ifdef _UINT64_T
85385 typedef uint64_t uint_fast64_t;
85386 #endif
85387 EOF
85388 fi
85389
85390 if test "$ac_cv_type_uintmax_t" != yes; then
85391 sed 's/^ *//' >> tmp-stdint.h <<EOF
85392
85393 /* Define intmax based on what we found */
85394 #ifndef intmax_t
85395 #ifdef _INT64_T
85396 typedef int64_t intmax_t;
85397 #else
85398 typedef long intmax_t;
85399 #endif
85400 #endif
85401 #ifndef uintmax_t
85402 #ifdef _UINT64_T
85403 typedef uint64_t uintmax_t;
85404 #else
85405 typedef unsigned long uintmax_t;
85406 #endif
85407 #endif
85408 EOF
85409 fi
85410
85411 sed 's/^ *//' >> tmp-stdint.h <<EOF
85412
85413 #endif /* GCC_GENERATED_STDINT_H */
85414 EOF
85415
85416 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85417 rm -f tmp-stdint.h
85418 else
85419 mv -f tmp-stdint.h include/gstdint.h
85420 fi
85421
85422 ;;
85423 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85424 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85425 "include/Makefile":F) cat > vpsed$$ << \_EOF
85426 s!`test -f '$<' || echo '$(srcdir)/'`!!
85427 _EOF
85428 sed -f vpsed$$ $ac_file > tmp$$
85429 mv tmp$$ $ac_file
85430 rm vpsed$$
85431 echo 'MULTISUBDIR =' >> $ac_file
85432 ml_norecursion=yes
85433 . ${multi_basedir}/config-ml.in
85434 { ml_norecursion=; unset ml_norecursion;}
85435 ;;
85436 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85437 s!`test -f '$<' || echo '$(srcdir)/'`!!
85438 _EOF
85439 sed -f vpsed$$ $ac_file > tmp$$
85440 mv tmp$$ $ac_file
85441 rm vpsed$$
85442 echo 'MULTISUBDIR =' >> $ac_file
85443 ml_norecursion=yes
85444 . ${multi_basedir}/config-ml.in
85445 { ml_norecursion=; unset ml_norecursion;}
85446 ;;
85447 "src/Makefile":F) cat > vpsed$$ << \_EOF
85448 s!`test -f '$<' || echo '$(srcdir)/'`!!
85449 _EOF
85450 sed -f vpsed$$ $ac_file > tmp$$
85451 mv tmp$$ $ac_file
85452 rm vpsed$$
85453 echo 'MULTISUBDIR =' >> $ac_file
85454 ml_norecursion=yes
85455 . ${multi_basedir}/config-ml.in
85456 { ml_norecursion=; unset ml_norecursion;}
85457 ;;
85458 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85459 s!`test -f '$<' || echo '$(srcdir)/'`!!
85460 _EOF
85461 sed -f vpsed$$ $ac_file > tmp$$
85462 mv tmp$$ $ac_file
85463 rm vpsed$$
85464 echo 'MULTISUBDIR =' >> $ac_file
85465 ml_norecursion=yes
85466 . ${multi_basedir}/config-ml.in
85467 { ml_norecursion=; unset ml_norecursion;}
85468 ;;
85469 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85470 s!`test -f '$<' || echo '$(srcdir)/'`!!
85471 _EOF
85472 sed -f vpsed$$ $ac_file > tmp$$
85473 mv tmp$$ $ac_file
85474 rm vpsed$$
85475 echo 'MULTISUBDIR =' >> $ac_file
85476 ml_norecursion=yes
85477 . ${multi_basedir}/config-ml.in
85478 { ml_norecursion=; unset ml_norecursion;}
85479 ;;
85480 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85481 s!`test -f '$<' || echo '$(srcdir)/'`!!
85482 _EOF
85483 sed -f vpsed$$ $ac_file > tmp$$
85484 mv tmp$$ $ac_file
85485 rm vpsed$$
85486 echo 'MULTISUBDIR =' >> $ac_file
85487 ml_norecursion=yes
85488 . ${multi_basedir}/config-ml.in
85489 { ml_norecursion=; unset ml_norecursion;}
85490 ;;
85491 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85492 s!`test -f '$<' || echo '$(srcdir)/'`!!
85493 _EOF
85494 sed -f vpsed$$ $ac_file > tmp$$
85495 mv tmp$$ $ac_file
85496 rm vpsed$$
85497 echo 'MULTISUBDIR =' >> $ac_file
85498 ml_norecursion=yes
85499 . ${multi_basedir}/config-ml.in
85500 { ml_norecursion=; unset ml_norecursion;}
85501 ;;
85502 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85503 s!`test -f '$<' || echo '$(srcdir)/'`!!
85504 _EOF
85505 sed -f vpsed$$ $ac_file > tmp$$
85506 mv tmp$$ $ac_file
85507 rm vpsed$$
85508 echo 'MULTISUBDIR =' >> $ac_file
85509 ml_norecursion=yes
85510 . ${multi_basedir}/config-ml.in
85511 { ml_norecursion=; unset ml_norecursion;}
85512 ;;
85513 "po/Makefile":F) cat > vpsed$$ << \_EOF
85514 s!`test -f '$<' || echo '$(srcdir)/'`!!
85515 _EOF
85516 sed -f vpsed$$ $ac_file > tmp$$
85517 mv tmp$$ $ac_file
85518 rm vpsed$$
85519 echo 'MULTISUBDIR =' >> $ac_file
85520 ml_norecursion=yes
85521 . ${multi_basedir}/config-ml.in
85522 { ml_norecursion=; unset ml_norecursion;}
85523 ;;
85524 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85525 s!`test -f '$<' || echo '$(srcdir)/'`!!
85526 _EOF
85527 sed -f vpsed$$ $ac_file > tmp$$
85528 mv tmp$$ $ac_file
85529 rm vpsed$$
85530 echo 'MULTISUBDIR =' >> $ac_file
85531 ml_norecursion=yes
85532 . ${multi_basedir}/config-ml.in
85533 { ml_norecursion=; unset ml_norecursion;}
85534 ;;
85535 "python/Makefile":F) cat > vpsed$$ << \_EOF
85536 s!`test -f '$<' || echo '$(srcdir)/'`!!
85537 _EOF
85538 sed -f vpsed$$ $ac_file > tmp$$
85539 mv tmp$$ $ac_file
85540 rm vpsed$$
85541 echo 'MULTISUBDIR =' >> $ac_file
85542 ml_norecursion=yes
85543 . ${multi_basedir}/config-ml.in
85544 { ml_norecursion=; unset ml_norecursion;}
85545 ;;
85546 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85547
85548 esac
85549 done # for ac_tag
85550
85551
85552 as_fn_exit 0
85553 _ACEOF
85554 ac_clean_files=$ac_clean_files_save
85555
85556 test $ac_write_fail = 0 ||
85557 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85558
85559
85560 # configure is writing to config.log, and then calls config.status.
85561 # config.status does its own redirection, appending to config.log.
85562 # Unfortunately, on DOS this fails, as config.log is still kept open
85563 # by configure, so config.status won't be able to write to it; its
85564 # output is simply discarded. So we exec the FD to /dev/null,
85565 # effectively closing config.log, so it can be properly (re)opened and
85566 # appended to by config.status. When coming back to configure, we
85567 # need to make the FD available again.
85568 if test "$no_create" != yes; then
85569 ac_cs_success=:
85570 ac_config_status_args=
85571 test "$silent" = yes &&
85572 ac_config_status_args="$ac_config_status_args --quiet"
85573 exec 5>/dev/null
85574 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85575 exec 5>>config.log
85576 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85577 # would make configure fail if this is the last instruction.
85578 $ac_cs_success || as_fn_exit 1
85579 fi
85580 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85582 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85583 fi
85584