]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
libstdc++: Disable <stacktrace> support by default for avr
[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 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
674 DOT
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 USE_STATIC_TZDATA_FALSE
679 USE_STATIC_TZDATA_TRUE
680 EH_POOL_FLAGS
681 ENABLE_BACKTRACE_FALSE
682 ENABLE_BACKTRACE_TRUE
683 BACKTRACE_SUPPORTS_THREADS
684 BACKTRACE_USES_MALLOC
685 BACKTRACE_SUPPORTED
686 BACKTRACE_CPPFLAGS
687 ALLOC_FILE
688 VIEW_FILE
689 FORMAT_FILE
690 ENABLE_FILESYSTEM_TS_FALSE
691 ENABLE_FILESYSTEM_TS_TRUE
692 baseline_subdir_switch
693 baseline_dir
694 HWCAP_CFLAGS
695 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
696 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
697 GLIBCXX_LDBL_COMPAT_FALSE
698 GLIBCXX_LDBL_COMPAT_TRUE
699 LONG_DOUBLE_ALT128_COMPAT_FLAGS
700 LONG_DOUBLE_128_FLAGS
701 LONG_DOUBLE_COMPAT_FLAGS
702 ENABLE_CXX11_ABI_FALSE
703 ENABLE_CXX11_ABI_TRUE
704 glibcxx_cxx98_abi
705 ENABLE_DUAL_ABI_FALSE
706 ENABLE_DUAL_ABI_TRUE
707 ENABLE_VISIBILITY_FALSE
708 ENABLE_VISIBILITY_TRUE
709 libtool_VERSION
710 ENABLE_SYMVERS_SUN_FALSE
711 ENABLE_SYMVERS_SUN_TRUE
712 ENABLE_SYMVERS_DARWIN_FALSE
713 ENABLE_SYMVERS_DARWIN_TRUE
714 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
715 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
716 ENABLE_SYMVERS_GNU_FALSE
717 ENABLE_SYMVERS_GNU_TRUE
718 ENABLE_SYMVERS_FALSE
719 ENABLE_SYMVERS_TRUE
720 port_specific_symbol_files
721 SYMVER_FILE
722 CXXFILT
723 LTLIBICONV
724 LIBICONV
725 OPT_LDFLAGS
726 SECTION_LDFLAGS
727 GLIBCXX_LIBS
728 ENABLE_VTABLE_VERIFY_FALSE
729 ENABLE_VTABLE_VERIFY_TRUE
730 VTV_CYGMIN_FALSE
731 VTV_CYGMIN_TRUE
732 VTV_CXXLINKFLAGS
733 VTV_PCH_CXXFLAGS
734 VTV_CXXFLAGS
735 ENABLE_WERROR_FALSE
736 ENABLE_WERROR_TRUE
737 ENABLE_PYTHONDIR_FALSE
738 ENABLE_PYTHONDIR_TRUE
739 python_mod_dir
740 ENABLE_EXTERN_TEMPLATE_FALSE
741 ENABLE_EXTERN_TEMPLATE_TRUE
742 EXTRA_CXX_FLAGS
743 GLIBCXX_BUILD_DEBUG_FALSE
744 GLIBCXX_BUILD_DEBUG_TRUE
745 DEBUG_FLAGS
746 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
747 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
748 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
749 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
750 GLIBCXX_C_HEADERS_C_STD_FALSE
751 GLIBCXX_C_HEADERS_C_STD_TRUE
752 GLIBCXX_C_HEADERS_C_FALSE
753 GLIBCXX_C_HEADERS_C_TRUE
754 C_INCLUDE_DIR
755 ALLOCATOR_NAME
756 ALLOCATOR_H
757 ENABLE_ALLOCATOR_NEW_FALSE
758 ENABLE_ALLOCATOR_NEW_TRUE
759 CLOCALE_INTERNAL_H
760 CLOCALE_CC
761 CTIME_CC
762 CTIME_H
763 CNUMERIC_CC
764 CMONEY_CC
765 CMESSAGES_CC
766 CCTYPE_CC
767 CCOLLATE_CC
768 CCODECVT_CC
769 CMESSAGES_H
770 CLOCALE_H
771 USE_NLS
772 glibcxx_localedir
773 glibcxx_POFILES
774 glibcxx_MOFILES
775 check_msgfmt
776 BASIC_FILE_CC
777 BASIC_FILE_H
778 CSTDIO_H
779 SECTION_FLAGS
780 ENABLE_FLOAT128_FALSE
781 ENABLE_FLOAT128_TRUE
782 thread_header
783 glibcxx_PCHFLAGS
784 GLIBCXX_BUILD_PCH_FALSE
785 GLIBCXX_BUILD_PCH_TRUE
786 FREESTANDING_FLAGS
787 GLIBCXX_HOSTED_FALSE
788 GLIBCXX_HOSTED_TRUE
789 glibcxx_compiler_shared_flag
790 glibcxx_compiler_pic_flag
791 glibcxx_lt_pic_flag
792 enable_static
793 enable_shared
794 lt_host_flags
795 CXXCPP
796 OTOOL64
797 OTOOL
798 LIPO
799 NMEDIT
800 DSYMUTIL
801 OBJDUMP
802 NM
803 ac_ct_DUMPBIN
804 DUMPBIN
805 LD
806 FGREP
807 SED
808 LIBTOOL
809 EGREP
810 GREP
811 CPP
812 MAINT
813 MAINTAINER_MODE_FALSE
814 MAINTAINER_MODE_TRUE
815 RANLIB
816 AR
817 AS
818 LN_S
819 toplevel_srcdir
820 toplevel_builddir
821 glibcxx_srcdir
822 glibcxx_builddir
823 ac_ct_CXX
824 CXXFLAGS
825 CXX
826 OBJEXT
827 EXEEXT
828 ac_ct_CC
829 CPPFLAGS
830 LDFLAGS
831 CFLAGS
832 CC
833 AM_BACKSLASH
834 AM_DEFAULT_VERBOSITY
835 AM_DEFAULT_V
836 AM_V
837 am__untar
838 am__tar
839 AMTAR
840 am__leading_dot
841 SET_MAKE
842 AWK
843 mkdir_p
844 MKDIR_P
845 INSTALL_STRIP_PROGRAM
846 STRIP
847 install_sh
848 MAKEINFO
849 AUTOHEADER
850 AUTOMAKE
851 AUTOCONF
852 ACLOCAL
853 VERSION
854 PACKAGE
855 CYGPATH_W
856 am__isrc
857 INSTALL_DATA
858 INSTALL_SCRIPT
859 INSTALL_PROGRAM
860 target_os
861 target_vendor
862 target_cpu
863 target
864 host_os
865 host_vendor
866 host_cpu
867 host
868 build_os
869 build_vendor
870 build_cpu
871 build
872 multi_basedir
873 target_alias
874 host_alias
875 build_alias
876 LIBS
877 ECHO_T
878 ECHO_N
879 ECHO_C
880 DEFS
881 mandir
882 localedir
883 libdir
884 psdir
885 pdfdir
886 dvidir
887 htmldir
888 infodir
889 docdir
890 oldincludedir
891 includedir
892 localstatedir
893 sharedstatedir
894 sysconfdir
895 datadir
896 datarootdir
897 libexecdir
898 sbindir
899 bindir
900 program_transform_name
901 prefix
902 exec_prefix
903 PACKAGE_URL
904 PACKAGE_BUGREPORT
905 PACKAGE_STRING
906 PACKAGE_VERSION
907 PACKAGE_TARNAME
908 PACKAGE_NAME
909 PATH_SEPARATOR
910 SHELL'
911 ac_subst_files=''
912 ac_user_opts='
913 enable_option_checking
914 enable_multilib
915 enable_silent_rules
916 enable_largefile
917 with_target_subdir
918 with_cross_host
919 with_newlib
920 enable_maintainer_mode
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_hosted_libstdcxx
928 enable_libstdcxx_hosted
929 enable_libstdcxx_verbose
930 enable_libstdcxx_pch
931 with_libstdcxx_lock_policy
932 enable_cstdio
933 enable_clocale
934 enable_nls
935 enable_libstdcxx_allocator
936 enable_cheaders_obsolete
937 enable_cheaders
938 enable_long_long
939 enable_wchar_t
940 enable_c99
941 enable_concept_checks
942 enable_libstdcxx_debug_flags
943 enable_libstdcxx_debug
944 enable_cxx_flags
945 enable_fully_dynamic_string
946 enable_extern_template
947 with_python_dir
948 enable_werror
949 enable_vtable_verify
950 enable_libstdcxx_time
951 enable_tls
952 enable_rpath
953 with_libiconv_prefix
954 with_libiconv_type
955 with_system_libunwind
956 enable_linux_futex
957 enable_symvers
958 enable_libstdcxx_visibility
959 enable_libstdcxx_dual_abi
960 with_default_libstdcxx_abi
961 enable_libstdcxx_threads
962 enable_libstdcxx_filesystem_ts
963 enable_libstdcxx_backtrace
964 enable_libstdcxx_static_eh_pool
965 with_libstdcxx_eh_pool_obj_count
966 with_libstdcxx_zoneinfo
967 enable_cet
968 with_gxx_include_dir
969 enable_version_specific_runtime_libs
970 with_toolexeclibdir
971 with_gcc_major_version_only
972 '
973 ac_precious_vars='build_alias
974 host_alias
975 target_alias
976 CC
977 CFLAGS
978 LDFLAGS
979 LIBS
980 CPPFLAGS
981 CXX
982 CXXFLAGS
983 CCC
984 CPP
985 CXXCPP
986 CXXFILT'
987
988
989 # Initialize some variables set by options.
990 ac_init_help=
991 ac_init_version=false
992 ac_unrecognized_opts=
993 ac_unrecognized_sep=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
996 cache_file=/dev/null
997 exec_prefix=NONE
998 no_create=
999 no_recursion=
1000 prefix=NONE
1001 program_prefix=NONE
1002 program_suffix=NONE
1003 program_transform_name=s,x,x,
1004 silent=
1005 site=
1006 srcdir=
1007 verbose=
1008 x_includes=NONE
1009 x_libraries=NONE
1010
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1029 htmldir='${docdir}'
1030 dvidir='${docdir}'
1031 pdfdir='${docdir}'
1032 psdir='${docdir}'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1036
1037 ac_prev=
1038 ac_dashdash=
1039 for ac_option
1040 do
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1044 ac_prev=
1045 continue
1046 fi
1047
1048 case $ac_option in
1049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050 *=) ac_optarg= ;;
1051 *) ac_optarg=yes ;;
1052 esac
1053
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1055
1056 case $ac_dashdash$ac_option in
1057 --)
1058 ac_dashdash=yes ;;
1059
1060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061 ac_prev=bindir ;;
1062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063 bindir=$ac_optarg ;;
1064
1065 -build | --build | --buil | --bui | --bu)
1066 ac_prev=build_alias ;;
1067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068 build_alias=$ac_optarg ;;
1069
1070 -cache-file | --cache-file | --cache-fil | --cache-fi \
1071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072 ac_prev=cache_file ;;
1073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075 cache_file=$ac_optarg ;;
1076
1077 --config-cache | -C)
1078 cache_file=config.cache ;;
1079
1080 -datadir | --datadir | --datadi | --datad)
1081 ac_prev=datadir ;;
1082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083 datadir=$ac_optarg ;;
1084
1085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086 | --dataroo | --dataro | --datar)
1087 ac_prev=datarootdir ;;
1088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090 datarootdir=$ac_optarg ;;
1091
1092 -disable-* | --disable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1100 *"
1101 "enable_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval enable_$ac_useropt=no ;;
1107
1108 -docdir | --docdir | --docdi | --doc | --do)
1109 ac_prev=docdir ;;
1110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111 docdir=$ac_optarg ;;
1112
1113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114 ac_prev=dvidir ;;
1115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116 dvidir=$ac_optarg ;;
1117
1118 -enable-* | --enable-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid feature name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1126 *"
1127 "enable_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval enable_$ac_useropt=\$ac_optarg ;;
1133
1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136 | --exec | --exe | --ex)
1137 ac_prev=exec_prefix ;;
1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140 | --exec=* | --exe=* | --ex=*)
1141 exec_prefix=$ac_optarg ;;
1142
1143 -gas | --gas | --ga | --g)
1144 # Obsolete; use --with-gas.
1145 with_gas=yes ;;
1146
1147 -help | --help | --hel | --he | -h)
1148 ac_init_help=long ;;
1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150 ac_init_help=recursive ;;
1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152 ac_init_help=short ;;
1153
1154 -host | --host | --hos | --ho)
1155 ac_prev=host_alias ;;
1156 -host=* | --host=* | --hos=* | --ho=*)
1157 host_alias=$ac_optarg ;;
1158
1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160 ac_prev=htmldir ;;
1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162 | --ht=*)
1163 htmldir=$ac_optarg ;;
1164
1165 -includedir | --includedir | --includedi | --included | --include \
1166 | --includ | --inclu | --incl | --inc)
1167 ac_prev=includedir ;;
1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169 | --includ=* | --inclu=* | --incl=* | --inc=*)
1170 includedir=$ac_optarg ;;
1171
1172 -infodir | --infodir | --infodi | --infod | --info | --inf)
1173 ac_prev=infodir ;;
1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175 infodir=$ac_optarg ;;
1176
1177 -libdir | --libdir | --libdi | --libd)
1178 ac_prev=libdir ;;
1179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180 libdir=$ac_optarg ;;
1181
1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183 | --libexe | --libex | --libe)
1184 ac_prev=libexecdir ;;
1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186 | --libexe=* | --libex=* | --libe=*)
1187 libexecdir=$ac_optarg ;;
1188
1189 -localedir | --localedir | --localedi | --localed | --locale)
1190 ac_prev=localedir ;;
1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192 localedir=$ac_optarg ;;
1193
1194 -localstatedir | --localstatedir | --localstatedi | --localstated \
1195 | --localstate | --localstat | --localsta | --localst | --locals)
1196 ac_prev=localstatedir ;;
1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199 localstatedir=$ac_optarg ;;
1200
1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202 ac_prev=mandir ;;
1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204 mandir=$ac_optarg ;;
1205
1206 -nfp | --nfp | --nf)
1207 # Obsolete; use --without-fp.
1208 with_fp=no ;;
1209
1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211 | --no-cr | --no-c | -n)
1212 no_create=yes ;;
1213
1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216 no_recursion=yes ;;
1217
1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220 | --oldin | --oldi | --old | --ol | --o)
1221 ac_prev=oldincludedir ;;
1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225 oldincludedir=$ac_optarg ;;
1226
1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228 ac_prev=prefix ;;
1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230 prefix=$ac_optarg ;;
1231
1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233 | --program-pre | --program-pr | --program-p)
1234 ac_prev=program_prefix ;;
1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237 program_prefix=$ac_optarg ;;
1238
1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240 | --program-suf | --program-su | --program-s)
1241 ac_prev=program_suffix ;;
1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244 program_suffix=$ac_optarg ;;
1245
1246 -program-transform-name | --program-transform-name \
1247 | --program-transform-nam | --program-transform-na \
1248 | --program-transform-n | --program-transform- \
1249 | --program-transform | --program-transfor \
1250 | --program-transfo | --program-transf \
1251 | --program-trans | --program-tran \
1252 | --progr-tra | --program-tr | --program-t)
1253 ac_prev=program_transform_name ;;
1254 -program-transform-name=* | --program-transform-name=* \
1255 | --program-transform-nam=* | --program-transform-na=* \
1256 | --program-transform-n=* | --program-transform-=* \
1257 | --program-transform=* | --program-transfor=* \
1258 | --program-transfo=* | --program-transf=* \
1259 | --program-trans=* | --program-tran=* \
1260 | --progr-tra=* | --program-tr=* | --program-t=*)
1261 program_transform_name=$ac_optarg ;;
1262
1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264 ac_prev=pdfdir ;;
1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266 pdfdir=$ac_optarg ;;
1267
1268 -psdir | --psdir | --psdi | --psd | --ps)
1269 ac_prev=psdir ;;
1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271 psdir=$ac_optarg ;;
1272
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 silent=yes ;;
1276
1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278 ac_prev=sbindir ;;
1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280 | --sbi=* | --sb=*)
1281 sbindir=$ac_optarg ;;
1282
1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285 | --sharedst | --shareds | --shared | --share | --shar \
1286 | --sha | --sh)
1287 ac_prev=sharedstatedir ;;
1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291 | --sha=* | --sh=*)
1292 sharedstatedir=$ac_optarg ;;
1293
1294 -site | --site | --sit)
1295 ac_prev=site ;;
1296 -site=* | --site=* | --sit=*)
1297 site=$ac_optarg ;;
1298
1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300 ac_prev=srcdir ;;
1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302 srcdir=$ac_optarg ;;
1303
1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305 | --syscon | --sysco | --sysc | --sys | --sy)
1306 ac_prev=sysconfdir ;;
1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309 sysconfdir=$ac_optarg ;;
1310
1311 -target | --target | --targe | --targ | --tar | --ta | --t)
1312 ac_prev=target_alias ;;
1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314 target_alias=$ac_optarg ;;
1315
1316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317 verbose=yes ;;
1318
1319 -version | --version | --versio | --versi | --vers | -V)
1320 ac_init_version=: ;;
1321
1322 -with-* | --with-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1330 *"
1331 "with_$ac_useropt"
1332 "*) ;;
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1335 esac
1336 eval with_$ac_useropt=\$ac_optarg ;;
1337
1338 -without-* | --without-*)
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1346 *"
1347 "with_$ac_useropt"
1348 "*) ;;
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1351 esac
1352 eval with_$ac_useropt=no ;;
1353
1354 --x)
1355 # Obsolete; use --with-x.
1356 with_x=yes ;;
1357
1358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359 | --x-incl | --x-inc | --x-in | --x-i)
1360 ac_prev=x_includes ;;
1361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363 x_includes=$ac_optarg ;;
1364
1365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367 ac_prev=x_libraries ;;
1368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370 x_libraries=$ac_optarg ;;
1371
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1374 ;;
1375
1376 *=*)
1377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382 esac
1383 eval $ac_envvar=\$ac_optarg
1384 export $ac_envvar ;;
1385
1386 *)
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1392 ;;
1393
1394 esac
1395 done
1396
1397 if test -n "$ac_prev"; then
1398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error $? "missing argument to $ac_option"
1400 fi
1401
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1404 no) ;;
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 esac
1408 fi
1409
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1415 do
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
1418 case $ac_val in
1419 */ )
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
1422 esac
1423 # Be sure to have absolute directory names.
1424 case $ac_val in
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1427 esac
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 done
1430
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1434 build=$build_alias
1435 host=$host_alias
1436 target=$target_alias
1437
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440 if test "x$build_alias" = x; then
1441 cross_compiling=maybe
1442 elif test "x$build_alias" != "x$host_alias"; then
1443 cross_compiling=yes
1444 fi
1445 fi
1446
1447 ac_tool_prefix=
1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1449
1450 test "$silent" = yes && exec 6>/dev/null
1451
1452
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1459
1460
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 s//\1/
1473 q
1474 }
1475 /^X\(\/\/\)[^/].*/{
1476 s//\1/
1477 q
1478 }
1479 /^X\(\/\/\)$/{
1480 s//\1/
1481 q
1482 }
1483 /^X\(\/\).*/{
1484 s//\1/
1485 q
1486 }
1487 s/.*/./; q'`
1488 srcdir=$ac_confdir
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 srcdir=..
1491 fi
1492 else
1493 ac_srcdir_defaulted=no
1494 fi
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1498 fi
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 ac_abs_confdir=`(
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1506 fi
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
1519
1520 #
1521 # Report the --help message.
1522 #
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF
1527 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1528
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1530
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1533
1534 Defaults for the options are specified in brackets.
1535
1536 Configuration:
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking ...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1546
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 [PREFIX]
1552
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1557
1558 For better control, use the options below.
1559
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1580 _ACEOF
1581
1582 cat <<\_ACEOF
1583
1584 Program names:
1585 --program-prefix=PREFIX prepend PREFIX to installed program names
1586 --program-suffix=SUFFIX append SUFFIX to installed program names
1587 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1588
1589 System types:
1590 --build=BUILD configure for building on BUILD [guessed]
1591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1592 --target=TARGET configure for building compilers for TARGET [HOST]
1593 _ACEOF
1594 fi
1595
1596 if test -n "$ac_init_help"; then
1597 case $ac_init_help in
1598 short | recursive ) echo "Configuration of package-unused version-unused:";;
1599 esac
1600 cat <<\_ACEOF
1601
1602 Optional Features:
1603 --disable-option-checking ignore unrecognized --enable/--with options
1604 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1605 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1606 --enable-multilib build many library versions (default)
1607 --enable-silent-rules less verbose build output (undo: "make V=1")
1608 --disable-silent-rules verbose build output (undo: "make V=0")
1609 --disable-largefile omit support for large files
1610 --enable-maintainer-mode
1611 enable make rules and dependencies not useful (and
1612 sometimes confusing) to the casual installer
1613 --enable-shared[=PKGS] build shared libraries [default=yes]
1614 --enable-static[=PKGS] build static libraries [default=yes]
1615 --enable-fast-install[=PKGS]
1616 optimize for fast installation [default=yes]
1617 --disable-libtool-lock avoid locking (might break parallel builds)
1618 --disable-hosted-libstdcxx
1619 only build freestanding C++ runtime support
1620 --disable-libstdcxx-hosted
1621 alias for --disable-hosted-libstdcxx
1622 --disable-libstdcxx-verbose
1623 disable termination messages to standard error
1624 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1625 [default=$is_hosted]
1626 --enable-cstdio[=PACKAGE]
1627 use target-specific I/O package [default=stdio]
1628 --enable-clocale[=MODEL]
1629 use MODEL for target locale package [default=auto]
1630 --enable-nls use Native Language Support (default)
1631 --enable-libstdcxx-allocator[=KIND]
1632 use KIND for target std::allocator base
1633 [default=auto]
1634 --enable-cheaders-obsolete
1635 allow use of obsolete "C" headers for g++
1636 [default=no]
1637 --enable-cheaders[=KIND]
1638 construct "C" headers for g++ [default=$c_model]
1639 --enable-long-long enable template specializations for 'long long'
1640 [default=yes]
1641 --enable-wchar_t enable template specializations for 'wchar_t'
1642 [default=yes]
1643 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1644 --enable-concept-checks use Boost-derived template checks [default=no]
1645 --enable-libstdcxx-debug-flags=FLAGS
1646 pass compiler FLAGS when building debug library
1647 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1648 --enable-libstdcxx-debug
1649 build extra debug library [default=no]
1650 --enable-cxx-flags=FLAGS
1651 pass compiler FLAGS when building library [default=]
1652 --enable-fully-dynamic-string
1653 do not put empty strings in per-process static
1654 memory [default=no]
1655 --enable-extern-template
1656 enable extern template [default=yes]
1657 --enable-werror turns on -Werror [default=no]
1658 --enable-vtable-verify enable vtable verify [default=no]
1659 --enable-libstdcxx-time[=KIND]
1660 use KIND for check type [default=auto]
1661 --enable-tls Use thread-local storage [default=yes]
1662 --disable-rpath do not hardcode runtime library paths
1663 --enable-linux-futex use the Linux futex system call [default=default]
1664 --enable-symvers[=STYLE]
1665 enables symbol versioning of the shared library
1666 [default=yes]
1667 --enable-libstdcxx-visibility
1668 enables visibility safe usage [default=yes]
1669 --enable-libstdcxx-dual-abi
1670 support two versions of std::string [default=yes]
1671 --enable-libstdcxx-threads
1672 enable C++11 threads support [default=auto]
1673 --enable-libstdcxx-filesystem-ts
1674 turns on ISO/IEC TS 18822 support [default=auto]
1675 --enable-libstdcxx-backtrace
1676 turns on libbacktrace support [default=auto]
1677 --enable-libstdcxx-static-eh-pool
1678 use a fixed-size static buffer for allocating
1679 exceptions if malloc fails
1680 --enable-cet enable Intel CET in target libraries [default=auto]
1681 --enable-version-specific-runtime-libs
1682 Specify that runtime libraries should be installed
1683 in a compiler-specific directory
1684
1685 Optional Packages:
1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1688 --with-target-subdir=SUBDIR
1689 configuring in a subdirectory
1690 --with-cross-host=HOST configuring with a cross compiler
1691 --with-newlib assume newlib as a system C library
1692 --with-pic try to use only PIC/non-PIC objects [default=use
1693 both]
1694 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1695 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1696 synchronization policy for shared_ptr reference
1697 counting [default=auto]
1698 --with-python-dir the location to install Python modules. This path is
1699 relative starting from the prefix.
1700 --with-gnu-ld assume the C compiler uses GNU ld default=no
1701 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1702 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1703 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1704 --with-system-libunwind use installed libunwind
1705 --with-default-libstdcxx-abi
1706 set the std::string ABI to use by default
1707 --with-libstdcxx-eh-pool-obj-count
1708 the number of exceptions that can be allocated from
1709 the pool if malloc fails
1710 --with-libstdcxx-zoneinfo
1711 the location to use for tzdata
1712 --with-gxx-include-dir=DIR
1713 installation directory for include files
1714 --with-toolexeclibdir=DIR
1715 install libraries built with a cross compiler within
1716 DIR
1717 --with-gcc-major-version-only
1718 use only GCC major number in filesystem paths
1719
1720 Some influential environment variables:
1721 CC C compiler command
1722 CFLAGS C compiler flags
1723 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1724 nonstandard directory <lib dir>
1725 LIBS libraries to pass to the linker, e.g. -l<library>
1726 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1727 you have headers in a nonstandard directory <include dir>
1728 CXX C++ compiler command
1729 CXXFLAGS C++ compiler flags
1730 CPP C preprocessor
1731 CXXCPP C++ preprocessor
1732 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1733 `c++filt', `gc++filt' on PATH.
1734
1735 Use these variables to override the choices made by `configure' or to help
1736 it to find libraries and programs with nonstandard names/locations.
1737
1738 Report bugs to the package provider.
1739 _ACEOF
1740 ac_status=$?
1741 fi
1742
1743 if test "$ac_init_help" = "recursive"; then
1744 # If there are subdirs, report their specific --help.
1745 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1746 test -d "$ac_dir" ||
1747 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1748 continue
1749 ac_builddir=.
1750
1751 case "$ac_dir" in
1752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1753 *)
1754 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1755 # A ".." for each directory in $ac_dir_suffix.
1756 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757 case $ac_top_builddir_sub in
1758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760 esac ;;
1761 esac
1762 ac_abs_top_builddir=$ac_pwd
1763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1764 # for backward compatibility:
1765 ac_top_builddir=$ac_top_build_prefix
1766
1767 case $srcdir in
1768 .) # We are building in place.
1769 ac_srcdir=.
1770 ac_top_srcdir=$ac_top_builddir_sub
1771 ac_abs_top_srcdir=$ac_pwd ;;
1772 [\\/]* | ?:[\\/]* ) # Absolute name.
1773 ac_srcdir=$srcdir$ac_dir_suffix;
1774 ac_top_srcdir=$srcdir
1775 ac_abs_top_srcdir=$srcdir ;;
1776 *) # Relative name.
1777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778 ac_top_srcdir=$ac_top_build_prefix$srcdir
1779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780 esac
1781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1782
1783 cd "$ac_dir" || { ac_status=$?; continue; }
1784 # Check for guested configure.
1785 if test -f "$ac_srcdir/configure.gnu"; then
1786 echo &&
1787 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1788 elif test -f "$ac_srcdir/configure"; then
1789 echo &&
1790 $SHELL "$ac_srcdir/configure" --help=recursive
1791 else
1792 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793 fi || ac_status=$?
1794 cd "$ac_pwd" || { ac_status=$?; break; }
1795 done
1796 fi
1797
1798 test -n "$ac_init_help" && exit $ac_status
1799 if $ac_init_version; then
1800 cat <<\_ACEOF
1801 package-unused configure version-unused
1802 generated by GNU Autoconf 2.69
1803
1804 Copyright (C) 2012 Free Software Foundation, Inc.
1805 This configure script is free software; the Free Software Foundation
1806 gives unlimited permission to copy, distribute and modify it.
1807 _ACEOF
1808 exit
1809 fi
1810
1811 ## ------------------------ ##
1812 ## Autoconf initialization. ##
1813 ## ------------------------ ##
1814
1815 # ac_fn_c_try_compile LINENO
1816 # --------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_c_try_compile ()
1819 {
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext
1822 if { { ac_try="$ac_compile"
1823 case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1826 esac
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_compile") 2>conftest.err
1830 ac_status=$?
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1835 fi
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest.$ac_objext; then :
1841 ac_retval=0
1842 else
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1845
1846 ac_retval=1
1847 fi
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1850
1851 } # ac_fn_c_try_compile
1852
1853 # ac_fn_cxx_try_compile LINENO
1854 # ----------------------------
1855 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_cxx_try_compile ()
1857 {
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext
1860 if { { ac_try="$ac_compile"
1861 case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1864 esac
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_compile") 2>conftest.err
1868 ac_status=$?
1869 if test -s conftest.err; then
1870 grep -v '^ *+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1873 fi
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_cxx_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest.$ac_objext; then :
1879 ac_retval=0
1880 else
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1883
1884 ac_retval=1
1885 fi
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1888
1889 } # ac_fn_cxx_try_compile
1890
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_c_try_cpp ()
1895 {
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905 ac_status=$?
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1910 fi
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1920
1921 ac_retval=1
1922 fi
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1925
1926 } # ac_fn_c_try_cpp
1927
1928 # ac_fn_c_try_link LINENO
1929 # -----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_c_try_link ()
1932 {
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1948 fi
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_c_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961
1962 ac_retval=1
1963 fi
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1971
1972 } # ac_fn_c_try_link
1973
1974 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists and can be compiled using the include files in
1977 # INCLUDES, setting the cache variable VAR accordingly.
1978 ac_fn_c_check_header_compile ()
1979 {
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1985 else
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1988 $4
1989 #include <$2>
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 eval "$3=yes"
1993 else
1994 eval "$3=no"
1995 fi
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997 fi
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002
2003 } # ac_fn_c_check_header_compile
2004
2005 # ac_fn_c_try_run LINENO
2006 # ----------------------
2007 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2008 # that executables *can* be run.
2009 ac_fn_c_try_run ()
2010 {
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 if { { ac_try="$ac_link"
2013 case "(($ac_try" in
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2016 esac
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 $as_echo "$ac_try_echo"; } >&5
2019 (eval "$ac_link") 2>&5
2020 ac_status=$?
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2023 { { case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_try") 2>&5
2030 ac_status=$?
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; }; }; then :
2033 ac_retval=0
2034 else
2035 $as_echo "$as_me: program exited with status $ac_status" >&5
2036 $as_echo "$as_me: failed program was:" >&5
2037 sed 's/^/| /' conftest.$ac_ext >&5
2038
2039 ac_retval=$ac_status
2040 fi
2041 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 as_fn_set_status $ac_retval
2044
2045 } # ac_fn_c_try_run
2046
2047 # ac_fn_c_check_func LINENO FUNC VAR
2048 # ----------------------------------
2049 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2050 ac_fn_c_check_func ()
2051 {
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval \${$3+:} false; then :
2056 $as_echo_n "(cached) " >&6
2057 else
2058 if test x$gcc_no_link = xyes; then
2059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2060 fi
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2065 #define $2 innocuous_$2
2066
2067 /* System header to define __stub macros and hopefully few prototypes,
2068 which can conflict with char $2 (); below.
2069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2070 <limits.h> exists even on freestanding compilers. */
2071
2072 #ifdef __STDC__
2073 # include <limits.h>
2074 #else
2075 # include <assert.h>
2076 #endif
2077
2078 #undef $2
2079
2080 /* Override any GCC internal prototype to avoid an error.
2081 Use char because int might match the return type of a GCC
2082 builtin and then its argument prototype would still apply. */
2083 #ifdef __cplusplus
2084 extern "C"
2085 #endif
2086 char $2 ();
2087 /* The GNU C library defines this for functions which it implements
2088 to always fail with ENOSYS. Some functions are actually named
2089 something starting with __ and the normal name is an alias. */
2090 #if defined __stub_$2 || defined __stub___$2
2091 choke me
2092 #endif
2093
2094 int
2095 main ()
2096 {
2097 return $2 ();
2098 ;
2099 return 0;
2100 }
2101 _ACEOF
2102 if ac_fn_c_try_link "$LINENO"; then :
2103 eval "$3=yes"
2104 else
2105 eval "$3=no"
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext \
2108 conftest$ac_exeext conftest.$ac_ext
2109 fi
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114
2115 } # ac_fn_c_check_func
2116
2117 # ac_fn_cxx_try_cpp LINENO
2118 # ------------------------
2119 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2120 ac_fn_cxx_try_cpp ()
2121 {
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if { { ac_try="$ac_cpp conftest.$ac_ext"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2131 ac_status=$?
2132 if test -s conftest.err; then
2133 grep -v '^ *+' conftest.err >conftest.er1
2134 cat conftest.er1 >&5
2135 mv -f conftest.er1 conftest.err
2136 fi
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } > conftest.i && {
2139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 }; then :
2142 ac_retval=0
2143 else
2144 $as_echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2146
2147 ac_retval=1
2148 fi
2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150 as_fn_set_status $ac_retval
2151
2152 } # ac_fn_cxx_try_cpp
2153
2154 # ac_fn_cxx_try_link LINENO
2155 # -------------------------
2156 # Try to link conftest.$ac_ext, and return whether this succeeded.
2157 ac_fn_cxx_try_link ()
2158 {
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 rm -f conftest.$ac_objext conftest$ac_exeext
2161 if { { ac_try="$ac_link"
2162 case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165 esac
2166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167 $as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link") 2>conftest.err
2169 ac_status=$?
2170 if test -s conftest.err; then
2171 grep -v '^ *+' conftest.err >conftest.er1
2172 cat conftest.er1 >&5
2173 mv -f conftest.er1 conftest.err
2174 fi
2175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176 test $ac_status = 0; } && {
2177 test -z "$ac_cxx_werror_flag" ||
2178 test ! -s conftest.err
2179 } && test -s conftest$ac_exeext && {
2180 test "$cross_compiling" = yes ||
2181 test -x conftest$ac_exeext
2182 }; then :
2183 ac_retval=0
2184 else
2185 $as_echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2187
2188 ac_retval=1
2189 fi
2190 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2191 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2192 # interfere with the next link command; also delete a directory that is
2193 # left behind by Apple's compiler. We do this before executing the actions.
2194 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status $ac_retval
2197
2198 } # ac_fn_cxx_try_link
2199
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # -------------------------------------------------------
2202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2203 # the include files in INCLUDES and setting the cache variable VAR
2204 # accordingly.
2205 ac_fn_c_check_header_mongrel ()
2206 {
2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208 if eval \${$3+:} false; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2213 fi
2214 eval ac_res=\$$3
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 else
2218 # Is the header compilable?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2220 $as_echo_n "checking $2 usability... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 $4
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227 ac_header_compiler=yes
2228 else
2229 ac_header_compiler=no
2230 fi
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2233 $as_echo "$ac_header_compiler" >&6; }
2234
2235 # Is the header present?
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2237 $as_echo_n "checking $2 presence... " >&6; }
2238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2240 #include <$2>
2241 _ACEOF
2242 if ac_fn_c_try_cpp "$LINENO"; then :
2243 ac_header_preproc=yes
2244 else
2245 ac_header_preproc=no
2246 fi
2247 rm -f conftest.err conftest.i conftest.$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2249 $as_echo "$ac_header_preproc" >&6; }
2250
2251 # So? What about this header?
2252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2253 yes:no: )
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2258 ;;
2259 no:yes:* )
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2270 ;;
2271 esac
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval \${$3+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 eval "$3=\$ac_header_compiler"
2278 fi
2279 eval ac_res=\$$3
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2282 fi
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284
2285 } # ac_fn_c_check_header_mongrel
2286
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2291 # accordingly.
2292 ac_fn_cxx_check_header_mongrel ()
2293 {
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 if eval \${$3+:} false; then :
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval \${$3+:} false; then :
2299 $as_echo_n "(cached) " >&6
2300 fi
2301 eval ac_res=\$$3
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 else
2305 # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 $4
2311 #include <$2>
2312 _ACEOF
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314 ac_header_compiler=yes
2315 else
2316 ac_header_compiler=no
2317 fi
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2321
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 #include <$2>
2328 _ACEOF
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330 ac_header_preproc=yes
2331 else
2332 ac_header_preproc=no
2333 fi
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2337
2338 # So? What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2340 yes:no: )
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2345 ;;
2346 no:yes:* )
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2357 ;;
2358 esac
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2360 $as_echo_n "checking for $2... " >&6; }
2361 if eval \${$3+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 eval "$3=\$ac_header_compiler"
2365 fi
2366 eval ac_res=\$$3
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2369 fi
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371
2372 } # ac_fn_cxx_check_header_mongrel
2373
2374 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2375 # --------------------------------------------
2376 # Tries to find the compile-time value of EXPR in a program that includes
2377 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2378 # computed
2379 ac_fn_c_compute_int ()
2380 {
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if test "$cross_compiling" = yes; then
2383 # Depending upon the size, compute the lo and hi bounds.
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2386 $4
2387 int
2388 main ()
2389 {
2390 static int test_array [1 - 2 * !(($2) >= 0)];
2391 test_array [0] = 0;
2392 return test_array [0];
2393
2394 ;
2395 return 0;
2396 }
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_lo=0 ac_mid=0
2400 while :; do
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2403 $4
2404 int
2405 main ()
2406 {
2407 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2408 test_array [0] = 0;
2409 return test_array [0];
2410
2411 ;
2412 return 0;
2413 }
2414 _ACEOF
2415 if ac_fn_c_try_compile "$LINENO"; then :
2416 ac_hi=$ac_mid; break
2417 else
2418 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2419 if test $ac_lo -le $ac_mid; then
2420 ac_lo= ac_hi=
2421 break
2422 fi
2423 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2424 fi
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 done
2427 else
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2430 $4
2431 int
2432 main ()
2433 {
2434 static int test_array [1 - 2 * !(($2) < 0)];
2435 test_array [0] = 0;
2436 return test_array [0];
2437
2438 ;
2439 return 0;
2440 }
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=-1 ac_mid=-1
2444 while :; do
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2447 $4
2448 int
2449 main ()
2450 {
2451 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2452 test_array [0] = 0;
2453 return test_array [0];
2454
2455 ;
2456 return 0;
2457 }
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_lo=$ac_mid; break
2461 else
2462 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2463 if test $ac_mid -le $ac_hi; then
2464 ac_lo= ac_hi=
2465 break
2466 fi
2467 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2468 fi
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 else
2472 ac_lo= ac_hi=
2473 fi
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 fi
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477 # Binary search between lo and hi bounds.
2478 while test "x$ac_lo" != "x$ac_hi"; do
2479 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2482 $4
2483 int
2484 main ()
2485 {
2486 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2487 test_array [0] = 0;
2488 return test_array [0];
2489
2490 ;
2491 return 0;
2492 }
2493 _ACEOF
2494 if ac_fn_c_try_compile "$LINENO"; then :
2495 ac_hi=$ac_mid
2496 else
2497 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2498 fi
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 done
2501 case $ac_lo in #((
2502 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2503 '') ac_retval=1 ;;
2504 esac
2505 else
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2508 $4
2509 static long int longval () { return $2; }
2510 static unsigned long int ulongval () { return $2; }
2511 #include <stdio.h>
2512 #include <stdlib.h>
2513 int
2514 main ()
2515 {
2516
2517 FILE *f = fopen ("conftest.val", "w");
2518 if (! f)
2519 return 1;
2520 if (($2) < 0)
2521 {
2522 long int i = longval ();
2523 if (i != ($2))
2524 return 1;
2525 fprintf (f, "%ld", i);
2526 }
2527 else
2528 {
2529 unsigned long int i = ulongval ();
2530 if (i != ($2))
2531 return 1;
2532 fprintf (f, "%lu", i);
2533 }
2534 /* Do not output a trailing newline, as this causes \r\n confusion
2535 on some platforms. */
2536 return ferror (f) || fclose (f) != 0;
2537
2538 ;
2539 return 0;
2540 }
2541 _ACEOF
2542 if ac_fn_c_try_run "$LINENO"; then :
2543 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2544 else
2545 ac_retval=1
2546 fi
2547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2548 conftest.$ac_objext conftest.beam conftest.$ac_ext
2549 rm -f conftest.val
2550
2551 fi
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2554
2555 } # ac_fn_c_compute_int
2556
2557 # ac_fn_cxx_check_func LINENO FUNC VAR
2558 # ------------------------------------
2559 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2560 ac_fn_cxx_check_func ()
2561 {
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 if test x$gcc_no_link = xyes; then
2569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2570 fi
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2573 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2575 #define $2 innocuous_$2
2576
2577 /* System header to define __stub macros and hopefully few prototypes,
2578 which can conflict with char $2 (); below.
2579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2580 <limits.h> exists even on freestanding compilers. */
2581
2582 #ifdef __STDC__
2583 # include <limits.h>
2584 #else
2585 # include <assert.h>
2586 #endif
2587
2588 #undef $2
2589
2590 /* Override any GCC internal prototype to avoid an error.
2591 Use char because int might match the return type of a GCC
2592 builtin and then its argument prototype would still apply. */
2593 #ifdef __cplusplus
2594 extern "C"
2595 #endif
2596 char $2 ();
2597 /* The GNU C library defines this for functions which it implements
2598 to always fail with ENOSYS. Some functions are actually named
2599 something starting with __ and the normal name is an alias. */
2600 #if defined __stub_$2 || defined __stub___$2
2601 choke me
2602 #endif
2603
2604 int
2605 main ()
2606 {
2607 return $2 ();
2608 ;
2609 return 0;
2610 }
2611 _ACEOF
2612 if ac_fn_cxx_try_link "$LINENO"; then :
2613 eval "$3=yes"
2614 else
2615 eval "$3=no"
2616 fi
2617 rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext conftest.$ac_ext
2619 fi
2620 eval ac_res=\$$3
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624
2625 } # ac_fn_cxx_check_func
2626
2627 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2628 # ---------------------------------------------
2629 # Tests whether TYPE exists after having included INCLUDES, setting cache
2630 # variable VAR accordingly.
2631 ac_fn_cxx_check_type ()
2632 {
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 eval "$3=no"
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2642 $4
2643 int
2644 main ()
2645 {
2646 if (sizeof ($2))
2647 return 0;
2648 ;
2649 return 0;
2650 }
2651 _ACEOF
2652 if ac_fn_cxx_try_compile "$LINENO"; then :
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2655 $4
2656 int
2657 main ()
2658 {
2659 if (sizeof (($2)))
2660 return 0;
2661 ;
2662 return 0;
2663 }
2664 _ACEOF
2665 if ac_fn_cxx_try_compile "$LINENO"; then :
2666
2667 else
2668 eval "$3=yes"
2669 fi
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671 fi
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673 fi
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678
2679 } # ac_fn_cxx_check_type
2680
2681 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2682 # ---------------------------------------------
2683 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2684 # accordingly.
2685 ac_fn_c_check_decl ()
2686 {
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 as_decl_name=`echo $2|sed 's/ *(.*//'`
2689 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2691 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2697 $4
2698 int
2699 main ()
2700 {
2701 #ifndef $as_decl_name
2702 #ifdef __cplusplus
2703 (void) $as_decl_use;
2704 #else
2705 (void) $as_decl_name;
2706 #endif
2707 #endif
2708
2709 ;
2710 return 0;
2711 }
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 eval "$3=yes"
2715 else
2716 eval "$3=no"
2717 fi
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 fi
2720 eval ac_res=\$$3
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2722 $as_echo "$ac_res" >&6; }
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724
2725 } # ac_fn_c_check_decl
2726 cat >config.log <<_ACEOF
2727 This file contains any messages produced by compilers while
2728 running configure, to aid debugging if configure makes a mistake.
2729
2730 It was created by package-unused $as_me version-unused, which was
2731 generated by GNU Autoconf 2.69. Invocation command line was
2732
2733 $ $0 $@
2734
2735 _ACEOF
2736 exec 5>>config.log
2737 {
2738 cat <<_ASUNAME
2739 ## --------- ##
2740 ## Platform. ##
2741 ## --------- ##
2742
2743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2748
2749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2750 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2751
2752 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2753 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2755 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2756 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2757 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2758 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2759
2760 _ASUNAME
2761
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2764 do
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 $as_echo "PATH: $as_dir"
2768 done
2769 IFS=$as_save_IFS
2770
2771 } >&5
2772
2773 cat >&5 <<_ACEOF
2774
2775
2776 ## ----------- ##
2777 ## Core tests. ##
2778 ## ----------- ##
2779
2780 _ACEOF
2781
2782
2783 # Keep a trace of the command line.
2784 # Strip out --no-create and --no-recursion so they do not pile up.
2785 # Strip out --silent because we don't want to record it for future runs.
2786 # Also quote any args containing shell meta-characters.
2787 # Make two passes to allow for proper duplicate-argument suppression.
2788 ac_configure_args=
2789 ac_configure_args0=
2790 ac_configure_args1=
2791 ac_must_keep_next=false
2792 for ac_pass in 1 2
2793 do
2794 for ac_arg
2795 do
2796 case $ac_arg in
2797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2799 | -silent | --silent | --silen | --sile | --sil)
2800 continue ;;
2801 *\'*)
2802 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2803 esac
2804 case $ac_pass in
2805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2806 2)
2807 as_fn_append ac_configure_args1 " '$ac_arg'"
2808 if test $ac_must_keep_next = true; then
2809 ac_must_keep_next=false # Got value, back to normal.
2810 else
2811 case $ac_arg in
2812 *=* | --config-cache | -C | -disable-* | --disable-* \
2813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2815 | -with-* | --with-* | -without-* | --without-* | --x)
2816 case "$ac_configure_args0 " in
2817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2818 esac
2819 ;;
2820 -* ) ac_must_keep_next=true ;;
2821 esac
2822 fi
2823 as_fn_append ac_configure_args " '$ac_arg'"
2824 ;;
2825 esac
2826 done
2827 done
2828 { ac_configure_args0=; unset ac_configure_args0;}
2829 { ac_configure_args1=; unset ac_configure_args1;}
2830
2831 # When interrupted or exit'd, cleanup temporary files, and complete
2832 # config.log. We remove comments because anyway the quotes in there
2833 # would cause problems or look ugly.
2834 # WARNING: Use '\'' to represent an apostrophe within the trap.
2835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2836 trap 'exit_status=$?
2837 # Save into config.log some information that might help in debugging.
2838 {
2839 echo
2840
2841 $as_echo "## ---------------- ##
2842 ## Cache variables. ##
2843 ## ---------------- ##"
2844 echo
2845 # The following way of writing the cache mishandles newlines in values,
2846 (
2847 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2848 eval ac_val=\$$ac_var
2849 case $ac_val in #(
2850 *${as_nl}*)
2851 case $ac_var in #(
2852 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2854 esac
2855 case $ac_var in #(
2856 _ | IFS | as_nl) ;; #(
2857 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2858 *) { eval $ac_var=; unset $ac_var;} ;;
2859 esac ;;
2860 esac
2861 done
2862 (set) 2>&1 |
2863 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2864 *${as_nl}ac_space=\ *)
2865 sed -n \
2866 "s/'\''/'\''\\\\'\'''\''/g;
2867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2868 ;; #(
2869 *)
2870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2871 ;;
2872 esac |
2873 sort
2874 )
2875 echo
2876
2877 $as_echo "## ----------------- ##
2878 ## Output variables. ##
2879 ## ----------------- ##"
2880 echo
2881 for ac_var in $ac_subst_vars
2882 do
2883 eval ac_val=\$$ac_var
2884 case $ac_val in
2885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2886 esac
2887 $as_echo "$ac_var='\''$ac_val'\''"
2888 done | sort
2889 echo
2890
2891 if test -n "$ac_subst_files"; then
2892 $as_echo "## ------------------- ##
2893 ## File substitutions. ##
2894 ## ------------------- ##"
2895 echo
2896 for ac_var in $ac_subst_files
2897 do
2898 eval ac_val=\$$ac_var
2899 case $ac_val in
2900 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2901 esac
2902 $as_echo "$ac_var='\''$ac_val'\''"
2903 done | sort
2904 echo
2905 fi
2906
2907 if test -s confdefs.h; then
2908 $as_echo "## ----------- ##
2909 ## confdefs.h. ##
2910 ## ----------- ##"
2911 echo
2912 cat confdefs.h
2913 echo
2914 fi
2915 test "$ac_signal" != 0 &&
2916 $as_echo "$as_me: caught signal $ac_signal"
2917 $as_echo "$as_me: exit $exit_status"
2918 } >&5
2919 rm -f core *.core core.conftest.* &&
2920 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2921 exit $exit_status
2922 ' 0
2923 for ac_signal in 1 2 13 15; do
2924 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2925 done
2926 ac_signal=0
2927
2928 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2929 rm -f -r conftest* confdefs.h
2930
2931 $as_echo "/* confdefs.h */" > confdefs.h
2932
2933 # Predefined preprocessor variables.
2934
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_NAME "$PACKAGE_NAME"
2937 _ACEOF
2938
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2941 _ACEOF
2942
2943 cat >>confdefs.h <<_ACEOF
2944 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2945 _ACEOF
2946
2947 cat >>confdefs.h <<_ACEOF
2948 #define PACKAGE_STRING "$PACKAGE_STRING"
2949 _ACEOF
2950
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2953 _ACEOF
2954
2955 cat >>confdefs.h <<_ACEOF
2956 #define PACKAGE_URL "$PACKAGE_URL"
2957 _ACEOF
2958
2959
2960 # Let the site file select an alternate cache file if it wants to.
2961 # Prefer an explicitly selected file to automatically selected ones.
2962 ac_site_file1=NONE
2963 ac_site_file2=NONE
2964 if test -n "$CONFIG_SITE"; then
2965 # We do not want a PATH search for config.site.
2966 case $CONFIG_SITE in #((
2967 -*) ac_site_file1=./$CONFIG_SITE;;
2968 */*) ac_site_file1=$CONFIG_SITE;;
2969 *) ac_site_file1=./$CONFIG_SITE;;
2970 esac
2971 elif test "x$prefix" != xNONE; then
2972 ac_site_file1=$prefix/share/config.site
2973 ac_site_file2=$prefix/etc/config.site
2974 else
2975 ac_site_file1=$ac_default_prefix/share/config.site
2976 ac_site_file2=$ac_default_prefix/etc/config.site
2977 fi
2978 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2979 do
2980 test "x$ac_site_file" = xNONE && continue
2981 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2984 sed 's/^/| /' "$ac_site_file" >&5
2985 . "$ac_site_file" \
2986 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2988 as_fn_error $? "failed to load site script $ac_site_file
2989 See \`config.log' for more details" "$LINENO" 5; }
2990 fi
2991 done
2992
2993 if test -r "$cache_file"; then
2994 # Some versions of bash will fail to source /dev/null (special files
2995 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2996 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2998 $as_echo "$as_me: loading cache $cache_file" >&6;}
2999 case $cache_file in
3000 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3001 *) . "./$cache_file";;
3002 esac
3003 fi
3004 else
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3006 $as_echo "$as_me: creating cache $cache_file" >&6;}
3007 >$cache_file
3008 fi
3009
3010 # Check that the precious variables saved in the cache have kept the same
3011 # value.
3012 ac_cache_corrupted=false
3013 for ac_var in $ac_precious_vars; do
3014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3015 eval ac_new_set=\$ac_env_${ac_var}_set
3016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3017 eval ac_new_val=\$ac_env_${ac_var}_value
3018 case $ac_old_set,$ac_new_set in
3019 set,)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3021 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3022 ac_cache_corrupted=: ;;
3023 ,set)
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3025 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3026 ac_cache_corrupted=: ;;
3027 ,);;
3028 *)
3029 if test "x$ac_old_val" != "x$ac_new_val"; then
3030 # differences in whitespace do not lead to failure.
3031 ac_old_val_w=`echo x $ac_old_val`
3032 ac_new_val_w=`echo x $ac_new_val`
3033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3035 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3036 ac_cache_corrupted=:
3037 else
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3039 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3040 eval $ac_var=\$ac_old_val
3041 fi
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3043 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3045 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3046 fi;;
3047 esac
3048 # Pass precious variables to config.status.
3049 if test "$ac_new_set" = set; then
3050 case $ac_new_val in
3051 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3052 *) ac_arg=$ac_var=$ac_new_val ;;
3053 esac
3054 case " $ac_configure_args " in
3055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3057 esac
3058 fi
3059 done
3060 if $ac_cache_corrupted; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3064 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3065 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3066 fi
3067 ## -------------------- ##
3068 ## Main body of script. ##
3069 ## -------------------- ##
3070
3071 ac_ext=c
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076
3077
3078
3079
3080
3081
3082 ac_config_headers="$ac_config_headers config.h"
3083
3084
3085 # This works around the fact that libtool configuration may change LD
3086 # for this particular configuration, but some shells, instead of
3087 # keeping the changes in LD private, export them just because LD is
3088 # exported. Only used at the end of this file.
3089 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3090
3091 # Find the rest of the source tree framework.
3092 # Default to --enable-multilib
3093 # Check whether --enable-multilib was given.
3094 if test "${enable_multilib+set}" = set; then :
3095 enableval=$enable_multilib; case "$enableval" in
3096 yes) multilib=yes ;;
3097 no) multilib=no ;;
3098 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3099 esac
3100 else
3101 multilib=yes
3102 fi
3103
3104
3105 # We may get other options which we leave undocumented:
3106 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3107 # See config-ml.in if you want the gory details.
3108
3109 if test "$srcdir" = "."; then
3110 if test "$with_target_subdir" != "."; then
3111 multi_basedir="$srcdir/$with_multisrctop../.."
3112 else
3113 multi_basedir="$srcdir/$with_multisrctop.."
3114 fi
3115 else
3116 multi_basedir="$srcdir/.."
3117 fi
3118
3119
3120 # Even if the default multilib is not a cross compilation,
3121 # it may be that some of the other multilibs are.
3122 if test $cross_compiling = no && test $multilib = yes \
3123 && test "x${with_multisubdir}" != x ; then
3124 cross_compiling=maybe
3125 fi
3126
3127 ac_config_commands="$ac_config_commands default-1"
3128
3129
3130 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3131 #
3132 # You will slowly go insane if you do not grok the following fact: when
3133 # building v3 as part of the compiler, the top-level /target/ becomes the
3134 # library's /host/. configure then causes --target to default to --host,
3135 # exactly like any other package using autoconf. Therefore, 'target' and
3136 # 'host' will always be the same. This makes sense both for native and
3137 # cross compilers, just think about it for a little while. :-)
3138 #
3139 # Also, if v3 is being configured as part of a cross compiler, the top-level
3140 # configure script will pass the "real" host as $with_cross_host.
3141 #
3142 # Do not delete or change the following two lines. For why, see
3143 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3144 ac_aux_dir=
3145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146 if test -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif test -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif test -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3158 fi
3159 done
3160 if test -z "$ac_aux_dir"; then
3161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3162 fi
3163
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3171
3172
3173 # Make sure we can run config.sub.
3174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3176
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3178 $as_echo_n "checking build system type... " >&6; }
3179 if ${ac_cv_build+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 ac_build_alias=$build_alias
3183 test "x$ac_build_alias" = x &&
3184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3185 test "x$ac_build_alias" = x &&
3186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3189
3190 fi
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3192 $as_echo "$ac_cv_build" >&6; }
3193 case $ac_cv_build in
3194 *-*-*) ;;
3195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3196 esac
3197 build=$ac_cv_build
3198 ac_save_IFS=$IFS; IFS='-'
3199 set x $ac_cv_build
3200 shift
3201 build_cpu=$1
3202 build_vendor=$2
3203 shift; shift
3204 # Remember, the first character of IFS is used to create $*,
3205 # except with old shells:
3206 build_os=$*
3207 IFS=$ac_save_IFS
3208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3209
3210
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3212 $as_echo_n "checking host system type... " >&6; }
3213 if ${ac_cv_host+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 if test "x$host_alias" = x; then
3217 ac_cv_host=$ac_cv_build
3218 else
3219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3221 fi
3222
3223 fi
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3225 $as_echo "$ac_cv_host" >&6; }
3226 case $ac_cv_host in
3227 *-*-*) ;;
3228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3229 esac
3230 host=$ac_cv_host
3231 ac_save_IFS=$IFS; IFS='-'
3232 set x $ac_cv_host
3233 shift
3234 host_cpu=$1
3235 host_vendor=$2
3236 shift; shift
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3239 host_os=$*
3240 IFS=$ac_save_IFS
3241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3242
3243
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3245 $as_echo_n "checking target system type... " >&6; }
3246 if ${ac_cv_target+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test "x$target_alias" = x; then
3250 ac_cv_target=$ac_cv_host
3251 else
3252 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3254 fi
3255
3256 fi
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3258 $as_echo "$ac_cv_target" >&6; }
3259 case $ac_cv_target in
3260 *-*-*) ;;
3261 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3262 esac
3263 target=$ac_cv_target
3264 ac_save_IFS=$IFS; IFS='-'
3265 set x $ac_cv_target
3266 shift
3267 target_cpu=$1
3268 target_vendor=$2
3269 shift; shift
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3272 target_os=$*
3273 IFS=$ac_save_IFS
3274 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3275
3276
3277 # The aliases save the names the user supplied, while $host etc.
3278 # will get canonicalized.
3279 test -n "$target_alias" &&
3280 test "$program_prefix$program_suffix$program_transform_name" = \
3281 NONENONEs,x,x, &&
3282 program_prefix=${target_alias}-
3283
3284 target_alias=${target_alias-$host_alias}
3285
3286 # Handy for debugging:
3287 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3288
3289 if test "$build" != "$host"; then
3290 # We are being configured with some form of cross compiler.
3291 GLIBCXX_IS_NATIVE=false
3292 case "$host","$target" in
3293 # Darwin crosses can use the host system's libraries and headers,
3294 # because of the fat library support. Of course, it must be the
3295 # same version of Darwin on both sides. Allow the user to
3296 # just say --target=foo-darwin without a version number to mean
3297 # "the version on this system".
3298 *-*-darwin*,*-*-darwin*)
3299 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3300 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3301 if test $hostos = $targetos || test $targetos = darwin ; then
3302 GLIBCXX_IS_NATIVE=true
3303 fi
3304 ;;
3305
3306 *)
3307
3308 ;;
3309 esac
3310 else
3311 GLIBCXX_IS_NATIVE=true
3312 fi
3313
3314 # In the case that we're building without headers, we won't have <stdio.h>
3315 # available. In these cases, we have to instruct autotools to never include
3316 # <stdio.h> as a part of default headers.
3317
3318 if test "x$with_headers" = "xno"; then
3319 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3320 fi
3321
3322
3323 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3324 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3325 # 1.x: minimum required version
3326 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3327 # of other PACKAGE_* variables will, however, and there's nothing
3328 # we can do about that; they come from AC_INIT).
3329 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3330 # file in the top srcdir, etc, etc), so stop complaining.
3331 # no-dependencies: turns off auto dependency generation (just for now)
3332 # no-dist: we don't want 'dist' and related rules.
3333 # -Wall: turns on all automake warnings...
3334 # -Wno-portability: ...except this one, since GNU make is now required.
3335 am__api_version='1.15'
3336
3337 # Find a good install program. We prefer a C program (faster),
3338 # so one script is as good as another. But avoid the broken or
3339 # incompatible versions:
3340 # SysV /etc/install, /usr/sbin/install
3341 # SunOS /usr/etc/install
3342 # IRIX /sbin/install
3343 # AIX /bin/install
3344 # AmigaOS /C/install, which installs bootblocks on floppy discs
3345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3348 # OS/2's system install, which has a completely different semantic
3349 # ./install, which can be erroneously created by make from ./install.sh.
3350 # Reject install programs that cannot install multiple files.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3353 if test -z "$INSTALL"; then
3354 if ${ac_cv_path_install+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3359 do
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 # Account for people who put trailing slashes in PATH elements.
3363 case $as_dir/ in #((
3364 ./ | .// | /[cC]/* | \
3365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3367 /usr/ucb/* ) ;;
3368 *)
3369 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default.
3372 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3375 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention.
3378 :
3379 elif test $ac_prog = install &&
3380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381 # program-specific install script used by HP pwplus--don't use.
3382 :
3383 else
3384 rm -rf conftest.one conftest.two conftest.dir
3385 echo one > conftest.one
3386 echo two > conftest.two
3387 mkdir conftest.dir
3388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3389 test -s conftest.one && test -s conftest.two &&
3390 test -s conftest.dir/conftest.one &&
3391 test -s conftest.dir/conftest.two
3392 then
3393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3394 break 3
3395 fi
3396 fi
3397 fi
3398 done
3399 done
3400 ;;
3401 esac
3402
3403 done
3404 IFS=$as_save_IFS
3405
3406 rm -rf conftest.one conftest.two conftest.dir
3407
3408 fi
3409 if test "${ac_cv_path_install+set}" = set; then
3410 INSTALL=$ac_cv_path_install
3411 else
3412 # As a last resort, use the slow shell script. Don't cache a
3413 # value for INSTALL within a source directory, because that will
3414 # break other packages using the cache if that directory is
3415 # removed, or if the value is a relative name.
3416 INSTALL=$ac_install_sh
3417 fi
3418 fi
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3420 $as_echo "$INSTALL" >&6; }
3421
3422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3423 # It thinks the first close brace ends the variable substitution.
3424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3425
3426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3427
3428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3429
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3431 $as_echo_n "checking whether build environment is sane... " >&6; }
3432 # Reject unsafe characters in $srcdir or the absolute working directory
3433 # name. Accept space and tab only in the latter.
3434 am_lf='
3435 '
3436 case `pwd` in
3437 *[\\\"\#\$\&\'\`$am_lf]*)
3438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3439 esac
3440 case $srcdir in
3441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3442 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3443 esac
3444
3445 # Do 'set' in a subshell so we don't clobber the current shell's
3446 # arguments. Must try -L first in case configure is actually a
3447 # symlink; some systems play weird games with the mod time of symlinks
3448 # (eg FreeBSD returns the mod time of the symlink's containing
3449 # directory).
3450 if (
3451 am_has_slept=no
3452 for am_try in 1 2; do
3453 echo "timestamp, slept: $am_has_slept" > conftest.file
3454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3455 if test "$*" = "X"; then
3456 # -L didn't work.
3457 set X `ls -t "$srcdir/configure" conftest.file`
3458 fi
3459 if test "$*" != "X $srcdir/configure conftest.file" \
3460 && test "$*" != "X conftest.file $srcdir/configure"; then
3461
3462 # If neither matched, then we have a broken ls. This can happen
3463 # if, for instance, CONFIG_SHELL is bash and it inherits a
3464 # broken ls alias from the environment. This has actually
3465 # happened. Such a system could not be considered "sane".
3466 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3467 alias in your environment" "$LINENO" 5
3468 fi
3469 if test "$2" = conftest.file || test $am_try -eq 2; then
3470 break
3471 fi
3472 # Just in case.
3473 sleep 1
3474 am_has_slept=yes
3475 done
3476 test "$2" = conftest.file
3477 )
3478 then
3479 # Ok.
3480 :
3481 else
3482 as_fn_error $? "newly created file is older than distributed files!
3483 Check your system clock" "$LINENO" 5
3484 fi
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3487 # If we didn't sleep, we still need to ensure time stamps of config.status and
3488 # generated files are strictly newer.
3489 am_sleep_pid=
3490 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3491 ( sleep 1 ) &
3492 am_sleep_pid=$!
3493 fi
3494
3495 rm -f conftest.file
3496
3497 test "$program_prefix" != NONE &&
3498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3499 # Use a double $ so make ignores it.
3500 test "$program_suffix" != NONE &&
3501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3502 # Double any \ or $.
3503 # By default was `s,x,x', remove it if useless.
3504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3506
3507 # Expand $ac_aux_dir to an absolute path.
3508 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3509
3510 if test x"${MISSING+set}" != xset; then
3511 case $am_aux_dir in
3512 *\ * | *\ *)
3513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3514 *)
3515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3516 esac
3517 fi
3518 # Use eval to expand $SHELL
3519 if eval "$MISSING --is-lightweight"; then
3520 am_missing_run="$MISSING "
3521 else
3522 am_missing_run=
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3524 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3525 fi
3526
3527 if test x"${install_sh+set}" != xset; then
3528 case $am_aux_dir in
3529 *\ * | *\ *)
3530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3531 *)
3532 install_sh="\${SHELL} $am_aux_dir/install-sh"
3533 esac
3534 fi
3535
3536 # Installed binaries are usually stripped using 'strip' when the user
3537 # run "make install-strip". However 'strip' might not be the right
3538 # tool to use in cross-compilation environments, therefore Automake
3539 # will honor the 'STRIP' environment variable to overrule this program.
3540 if test "$cross_compiling" != no; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}strip; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_STRIP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$STRIP"; then
3550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3554 do
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3562 fi
3563 done
3564 done
3565 IFS=$as_save_IFS
3566
3567 fi
3568 fi
3569 STRIP=$ac_cv_prog_STRIP
3570 if test -n "$STRIP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3572 $as_echo "$STRIP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3576 fi
3577
3578
3579 fi
3580 if test -z "$ac_cv_prog_STRIP"; then
3581 ac_ct_STRIP=$STRIP
3582 # Extract the first word of "strip", so it can be a program name with args.
3583 set dummy strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$ac_ct_STRIP"; then
3590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3594 do
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_ac_ct_STRIP="strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3602 fi
3603 done
3604 done
3605 IFS=$as_save_IFS
3606
3607 fi
3608 fi
3609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3610 if test -n "$ac_ct_STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3612 $as_echo "$ac_ct_STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3616 fi
3617
3618 if test "x$ac_ct_STRIP" = x; then
3619 STRIP=":"
3620 else
3621 case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627 STRIP=$ac_ct_STRIP
3628 fi
3629 else
3630 STRIP="$ac_cv_prog_STRIP"
3631 fi
3632
3633 fi
3634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3635
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3638 if test -z "$MKDIR_P"; then
3639 if ${ac_cv_path_mkdir+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3644 do
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_prog in mkdir gmkdir; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3651 'mkdir (GNU coreutils) '* | \
3652 'mkdir (coreutils) '* | \
3653 'mkdir (fileutils) '4.1*)
3654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3655 break 3;;
3656 esac
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3661
3662 fi
3663
3664 test -d ./--version && rmdir ./--version
3665 if test "${ac_cv_path_mkdir+set}" = set; then
3666 MKDIR_P="$ac_cv_path_mkdir -p"
3667 else
3668 # As a last resort, use the slow shell script. Don't cache a
3669 # value for MKDIR_P within a source directory, because that will
3670 # break other packages using the cache if that directory is
3671 # removed, or if the value is a relative name.
3672 MKDIR_P="$ac_install_sh -d"
3673 fi
3674 fi
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3676 $as_echo "$MKDIR_P" >&6; }
3677
3678 for ac_prog in gawk mawk nawk awk
3679 do
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_AWK+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$AWK"; then
3688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3692 do
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_AWK="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3700 fi
3701 done
3702 done
3703 IFS=$as_save_IFS
3704
3705 fi
3706 fi
3707 AWK=$ac_cv_prog_AWK
3708 if test -n "$AWK"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 $as_echo "$AWK" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3714 fi
3715
3716
3717 test -n "$AWK" && break
3718 done
3719
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3722 set x ${MAKE-make}
3723 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3724 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 cat >conftest.make <<\_ACEOF
3728 SHELL = /bin/sh
3729 all:
3730 @echo '@@@%%%=$(MAKE)=@@@%%%'
3731 _ACEOF
3732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3734 *@@@%%%=?*=@@@%%%*)
3735 eval ac_cv_prog_make_${ac_make}_set=yes;;
3736 *)
3737 eval ac_cv_prog_make_${ac_make}_set=no;;
3738 esac
3739 rm -f conftest.make
3740 fi
3741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3743 $as_echo "yes" >&6; }
3744 SET_MAKE=
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 SET_MAKE="MAKE=${MAKE-make}"
3749 fi
3750
3751 rm -rf .tst 2>/dev/null
3752 mkdir .tst 2>/dev/null
3753 if test -d .tst; then
3754 am__leading_dot=.
3755 else
3756 am__leading_dot=_
3757 fi
3758 rmdir .tst 2>/dev/null
3759
3760 # Check whether --enable-silent-rules was given.
3761 if test "${enable_silent_rules+set}" = set; then :
3762 enableval=$enable_silent_rules;
3763 fi
3764
3765 case $enable_silent_rules in # (((
3766 yes) AM_DEFAULT_VERBOSITY=0;;
3767 no) AM_DEFAULT_VERBOSITY=1;;
3768 *) AM_DEFAULT_VERBOSITY=1;;
3769 esac
3770 am_make=${MAKE-make}
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3772 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3773 if ${am_cv_make_support_nested_variables+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if $as_echo 'TRUE=$(BAR$(V))
3777 BAR0=false
3778 BAR1=true
3779 V=1
3780 am__doit:
3781 @$(TRUE)
3782 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3783 am_cv_make_support_nested_variables=yes
3784 else
3785 am_cv_make_support_nested_variables=no
3786 fi
3787 fi
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3789 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3790 if test $am_cv_make_support_nested_variables = yes; then
3791 AM_V='$(V)'
3792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3793 else
3794 AM_V=$AM_DEFAULT_VERBOSITY
3795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3796 fi
3797 AM_BACKSLASH='\'
3798
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3806 fi
3807 fi
3808
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3813 else
3814 CYGPATH_W=echo
3815 fi
3816 fi
3817
3818
3819 # Define the identity of the package.
3820 PACKAGE='libstdc++'
3821 VERSION='version-unused'
3822
3823
3824 # Some tools Automake needs.
3825
3826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3827
3828
3829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3830
3831
3832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3833
3834
3835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3836
3837
3838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3839
3840 # For better backward compatibility. To be removed once Automake 1.9.x
3841 # dies out for good. For more background, see:
3842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3843 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3844 mkdir_p='$(MKDIR_P)'
3845
3846 # We need awk for the "check" target (and possibly the TAP driver). The
3847 # system "awk" is bad on some platforms.
3848 # Always define AMTAR for backward compatibility. Yes, it's still used
3849 # in the wild :-( We should find a proper way to deprecate it ...
3850 AMTAR='$${TAR-tar}'
3851
3852
3853 # We'll loop over all known methods to create a tar archive until one works.
3854 _am_tools='gnutar pax cpio none'
3855
3856 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3857
3858
3859
3860
3861
3862
3863 # POSIX will say in a future version that running "rm -f" with no argument
3864 # is OK; and we want to be able to make that assumption in our Makefile
3865 # recipes. So use an aggressive probe to check that the usage we want is
3866 # actually supported "in the wild" to an acceptable degree.
3867 # See automake bug#10828.
3868 # To make any issue more visible, cause the running configure to be aborted
3869 # by default if the 'rm' program in use doesn't match our expectations; the
3870 # user can still override this though.
3871 if rm -f && rm -fr && rm -rf; then : OK; else
3872 cat >&2 <<'END'
3873 Oops!
3874
3875 Your 'rm' program seems unable to run without file operands specified
3876 on the command line, even when the '-f' option is present. This is contrary
3877 to the behaviour of most rm programs out there, and not conforming with
3878 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3879
3880 Please tell bug-automake@gnu.org about your system, including the value
3881 of your $PATH and any error possibly output before this message. This
3882 can help us improve future automake versions.
3883
3884 END
3885 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3886 echo 'Configuration will proceed anyway, since you have set the' >&2
3887 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3888 echo >&2
3889 else
3890 cat >&2 <<'END'
3891 Aborting the configuration process, to ensure you take notice of the issue.
3892
3893 You can download and install GNU coreutils to get an 'rm' implementation
3894 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3895
3896 If you want to complete the configuration process using your problematic
3897 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3898 to "yes", and re-run configure.
3899
3900 END
3901 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3902 fi
3903 fi
3904
3905
3906
3907
3908 # -fno-builtin must be present here so that a non-conflicting form of
3909 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3910
3911 save_CXXFLAGS="$CXXFLAGS"
3912 CXXFLAGS="$CXXFLAGS -fno-builtin"
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3931 do
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3939 fi
3940 done
3941 done
3942 IFS=$as_save_IFS
3943
3944 fi
3945 fi
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3953 fi
3954
3955
3956 fi
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "gcc", so it can be a program name with args.
3960 set dummy gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3971 do
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_CC="gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3979 fi
3980 done
3981 done
3982 IFS=$as_save_IFS
3983
3984 fi
3985 fi
3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3993 fi
3994
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4005 fi
4006 else
4007 CC="$ac_cv_prog_CC"
4008 fi
4009
4010 if test -z "$CC"; then
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4024 do
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_CC="${ac_tool_prefix}cc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4032 fi
4033 done
4034 done
4035 IFS=$as_save_IFS
4036
4037 fi
4038 fi
4039 CC=$ac_cv_prog_CC
4040 if test -n "$CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 $as_echo "$CC" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4046 fi
4047
4048
4049 fi
4050 fi
4051 if test -z "$CC"; then
4052 # Extract the first word of "cc", so it can be a program name with args.
4053 set dummy cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 ac_prog_rejected=no
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4065 do
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4071 ac_prog_rejected=yes
4072 continue
4073 fi
4074 ac_cv_prog_CC="cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4077 fi
4078 done
4079 done
4080 IFS=$as_save_IFS
4081
4082 if test $ac_prog_rejected = yes; then
4083 # We found a bogon in the path, so make sure we never use it.
4084 set dummy $ac_cv_prog_CC
4085 shift
4086 if test $# != 0; then
4087 # We chose a different compiler from the bogus one.
4088 # However, it has the same basename, so the bogon will be chosen
4089 # first if we set CC to just the basename; use the full file name.
4090 shift
4091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4092 fi
4093 fi
4094 fi
4095 fi
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4103 fi
4104
4105
4106 fi
4107 if test -z "$CC"; then
4108 if test -n "$ac_tool_prefix"; then
4109 for ac_prog in cl.exe
4110 do
4111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4123 do
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 break 2
4131 fi
4132 done
4133 done
4134 IFS=$as_save_IFS
4135
4136 fi
4137 fi
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4145 fi
4146
4147
4148 test -n "$CC" && break
4149 done
4150 fi
4151 if test -z "$CC"; then
4152 ac_ct_CC=$CC
4153 for ac_prog in cl.exe
4154 do
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4167 do
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4175 fi
4176 done
4177 done
4178 IFS=$as_save_IFS
4179
4180 fi
4181 fi
4182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4183 if test -n "$ac_ct_CC"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4185 $as_echo "$ac_ct_CC" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4189 fi
4190
4191
4192 test -n "$ac_ct_CC" && break
4193 done
4194
4195 if test "x$ac_ct_CC" = x; then
4196 CC=""
4197 else
4198 case $cross_compiling:$ac_tool_warned in
4199 yes:)
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4203 esac
4204 CC=$ac_ct_CC
4205 fi
4206 fi
4207
4208 fi
4209
4210
4211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $? "no acceptable C compiler found in \$PATH
4214 See \`config.log' for more details" "$LINENO" 5; }
4215
4216 # Provide some information about the compiler.
4217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218 set X $ac_compile
4219 ac_compiler=$2
4220 for ac_option in --version -v -V -qversion; do
4221 { { ac_try="$ac_compiler $ac_option >&5"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4229 ac_status=$?
4230 if test -s conftest.err; then
4231 sed '10a\
4232 ... rest of stderr output deleted ...
4233 10q' conftest.err >conftest.er1
4234 cat conftest.er1 >&5
4235 fi
4236 rm -f conftest.er1 conftest.err
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 done
4240
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4244 int
4245 main ()
4246 {
4247 printf ("hello world\n");
4248 ;
4249 return 0;
4250 }
4251 _ACEOF
4252 # FIXME: Cleanup?
4253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4254 (eval $ac_link) 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 gcc_no_link=no
4259 else
4260 gcc_no_link=yes
4261 fi
4262 if test x$gcc_no_link = xyes; then
4263 # Setting cross_compile will disable run tests; it will
4264 # also disable AC_CHECK_FILE but that's generally
4265 # correct if we can't link.
4266 cross_compiling=yes
4267 EXEEXT=
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 ac_clean_files_save=$ac_clean_files
4281 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4282 # Try to create an executable without -o first, disregard a.out.
4283 # It will help us diagnose broken compilers, and finding out an intuition
4284 # of exeext.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4288
4289 # The possible output files:
4290 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4291
4292 ac_rmfiles=
4293 for ac_file in $ac_files
4294 do
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4298 esac
4299 done
4300 rm -f $ac_rmfiles
4301
4302 if { { ac_try="$ac_link_default"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link_default") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4316 # so that the user can short-circuit this test for compilers unknown to
4317 # Autoconf.
4318 for ac_file in $ac_files ''
4319 do
4320 test -f "$ac_file" || continue
4321 case $ac_file in
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4323 ;;
4324 [ab].out )
4325 # We found the default executable, but exeext='' is most
4326 # certainly right.
4327 break;;
4328 *.* )
4329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4330 then :; else
4331 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4332 fi
4333 # We set ac_cv_exeext here because the later test for it is not
4334 # safe: cross compilers may not add the suffix if given an `-o'
4335 # argument, so we may need to know it at that point already.
4336 # Even if this section looks crufty: it has the advantage of
4337 # actually working.
4338 break;;
4339 * )
4340 break;;
4341 esac
4342 done
4343 test "$ac_cv_exeext" = no && ac_cv_exeext=
4344
4345 else
4346 ac_file=''
4347 fi
4348 if test -z "$ac_file"; then :
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4353
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error 77 "C compiler cannot create executables
4357 See \`config.log' for more details" "$LINENO" 5; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4361 fi
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4363 $as_echo_n "checking for C compiler default output file name... " >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4365 $as_echo "$ac_file" >&6; }
4366 ac_exeext=$ac_cv_exeext
4367
4368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4369 ac_clean_files=$ac_clean_files_save
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4371 $as_echo_n "checking for suffix of executables... " >&6; }
4372 if { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4385 # work properly (i.e., refer to `conftest.exe'), while it won't with
4386 # `rm'.
4387 for ac_file in conftest.exe conftest conftest.*; do
4388 test -f "$ac_file" || continue
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4391 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4392 break;;
4393 * ) break;;
4394 esac
4395 done
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4400 See \`config.log' for more details" "$LINENO" 5; }
4401 fi
4402 rm -f conftest conftest$ac_cv_exeext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4404 $as_echo "$ac_cv_exeext" >&6; }
4405
4406 rm -f conftest.$ac_ext
4407 EXEEXT=$ac_cv_exeext
4408 ac_exeext=$EXEEXT
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdio.h>
4412 int
4413 main ()
4414 {
4415 FILE *f = fopen ("conftest.out", "w");
4416 return ferror (f) || fclose (f) != 0;
4417
4418 ;
4419 return 0;
4420 }
4421 _ACEOF
4422 ac_clean_files="$ac_clean_files conftest.out"
4423 # Check that the compiler produces executables we can run. If not, either
4424 # the compiler is broken, or we cross compile.
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4426 $as_echo_n "checking whether we are cross compiling... " >&6; }
4427 if test "$cross_compiling" != yes; then
4428 { { ac_try="$ac_link"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_link") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 if { ac_try='./conftest$ac_cv_exeext'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error $? "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details" "$LINENO" 5; }
4460 fi
4461 fi
4462 fi
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4464 $as_echo "$cross_compiling" >&6; }
4465
4466 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4467 ac_clean_files=$ac_clean_files_save
4468 fi
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4470 $as_echo_n "checking for suffix of object files... " >&6; }
4471 if ${ac_cv_objext+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4476
4477 int
4478 main ()
4479 {
4480
4481 ;
4482 return 0;
4483 }
4484 _ACEOF
4485 rm -f conftest.o conftest.obj
4486 if { { ac_try="$ac_compile"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compile") 2>&5
4494 ac_status=$?
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then :
4497 for ac_file in conftest.o conftest.obj conftest.*; do
4498 test -f "$ac_file" || continue;
4499 case $ac_file in
4500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4502 break;;
4503 esac
4504 done
4505 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4508
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot compute suffix of object files: cannot compile
4512 See \`config.log' for more details" "$LINENO" 5; }
4513 fi
4514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4515 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4517 $as_echo "$ac_cv_objext" >&6; }
4518 OBJEXT=$ac_cv_objext
4519 ac_objext=$OBJEXT
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4522 if ${ac_cv_c_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4527
4528 int
4529 main ()
4530 {
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4534
4535 ;
4536 return 0;
4537 }
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4543 fi
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4546
4547 fi
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GCC=yes
4552 else
4553 GCC=
4554 fi
4555 ac_test_CFLAGS=${CFLAGS+set}
4556 ac_save_CFLAGS=$CFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4559 if ${ac_cv_prog_cc_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_c_werror_flag=$ac_c_werror_flag
4563 ac_c_werror_flag=yes
4564 ac_cv_prog_cc_g=no
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568
4569 int
4570 main ()
4571 {
4572
4573 ;
4574 return 0;
4575 }
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 else
4580 CFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4583
4584 int
4585 main ()
4586 {
4587
4588 ;
4589 return 0;
4590 }
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4593
4594 else
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4596 CFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4599
4600 int
4601 main ()
4602 {
4603
4604 ;
4605 return 0;
4606 }
4607 _ACEOF
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_prog_cc_g=yes
4610 fi
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 fi
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 fi
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4617 fi
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4619 $as_echo "$ac_cv_prog_cc_g" >&6; }
4620 if test "$ac_test_CFLAGS" = set; then
4621 CFLAGS=$ac_save_CFLAGS
4622 elif test $ac_cv_prog_cc_g = yes; then
4623 if test "$GCC" = yes; then
4624 CFLAGS="-g -O2"
4625 else
4626 CFLAGS="-g"
4627 fi
4628 else
4629 if test "$GCC" = yes; then
4630 CFLAGS="-O2"
4631 else
4632 CFLAGS=
4633 fi
4634 fi
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4637 if ${ac_cv_prog_cc_c89+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_cv_prog_cc_c89=no
4641 ac_save_CC=$CC
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <stdarg.h>
4645 #include <stdio.h>
4646 struct stat;
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4651 char **p;
4652 int i;
4653 {
4654 return p[i];
4655 }
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4657 {
4658 char *s;
4659 va_list v;
4660 va_start (v,p);
4661 s = g (p, va_arg (v,int));
4662 va_end (v);
4663 return s;
4664 }
4665
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4674
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4677 #define FOO(x) 'x'
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4679
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 int argc;
4685 char **argv;
4686 int
4687 main ()
4688 {
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4690 ;
4691 return 0;
4692 }
4693 _ACEOF
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4696 do
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4700 fi
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4706
4707 fi
4708 # AC_CACHE_VAL
4709 case "x$ac_cv_prog_cc_c89" in
4710 x)
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4713 xno)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4716 *)
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 esac
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4722
4723 fi
4724
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4730
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4737 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4738 if ${am_cv_prog_cc_c_o+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743
4744 int
4745 main ()
4746 {
4747
4748 ;
4749 return 0;
4750 }
4751 _ACEOF
4752 # Make sure it works both with $CC and with simple cc.
4753 # Following AC_PROG_CC_C_O, we do the test twice because some
4754 # compilers refuse to overwrite an existing .o file with -o,
4755 # though they will create one.
4756 am_cv_prog_cc_c_o=yes
4757 for am_i in 1 2; do
4758 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4759 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } \
4763 && test -f conftest2.$ac_objext; then
4764 : OK
4765 else
4766 am_cv_prog_cc_c_o=no
4767 break
4768 fi
4769 done
4770 rm -f core conftest*
4771 unset am_i
4772 fi
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4774 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4775 if test "$am_cv_prog_cc_c_o" != yes; then
4776 # Losing compiler, so override with the script.
4777 # FIXME: It is wrong to rewrite CC.
4778 # But if we don't then we get into trouble of one sort or another.
4779 # A longer-term fix would be to have automake use am__CC in this case,
4780 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4781 CC="$am_aux_dir/compile $CC"
4782 fi
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4788
4789
4790 ac_ext=cpp
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4797 CXX=$CCC
4798 else
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4801 do
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_CXX+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4814 do
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 break 2
4822 fi
4823 done
4824 done
4825 IFS=$as_save_IFS
4826
4827 fi
4828 fi
4829 CXX=$ac_cv_prog_CXX
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4836 fi
4837
4838
4839 test -n "$CXX" && break
4840 done
4841 fi
4842 if test -z "$CXX"; then
4843 ac_ct_CXX=$CXX
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4845 do
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4858 do
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4866 fi
4867 done
4868 done
4869 IFS=$as_save_IFS
4870
4871 fi
4872 fi
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4880 fi
4881
4882
4883 test -n "$ac_ct_CXX" && break
4884 done
4885
4886 if test "x$ac_ct_CXX" = x; then
4887 CXX="g++"
4888 else
4889 case $cross_compiling:$ac_tool_warned in
4890 yes:)
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4894 esac
4895 CXX=$ac_ct_CXX
4896 fi
4897 fi
4898
4899 fi
4900 fi
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4903 set X $ac_compile
4904 ac_compiler=$2
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4914 ac_status=$?
4915 if test -s conftest.err; then
4916 sed '10a\
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4920 fi
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 done
4925
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4933
4934 int
4935 main ()
4936 {
4937 #ifndef __GNUC__
4938 choke me
4939 #endif
4940
4941 ;
4942 return 0;
4943 }
4944 _ACEOF
4945 if ac_fn_cxx_try_compile "$LINENO"; then :
4946 ac_compiler_gnu=yes
4947 else
4948 ac_compiler_gnu=no
4949 fi
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4952
4953 fi
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4957 GXX=yes
4958 else
4959 GXX=
4960 fi
4961 ac_test_CXXFLAGS=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if ${ac_cv_prog_cxx_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag=yes
4970 ac_cv_prog_cxx_g=no
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974
4975 int
4976 main ()
4977 {
4978
4979 ;
4980 return 0;
4981 }
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 else
4986 CXXFLAGS=""
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989
4990 int
4991 main ()
4992 {
4993
4994 ;
4995 return 0;
4996 }
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
4999
5000 else
5001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5005
5006 int
5007 main ()
5008 {
5009
5010 ;
5011 return 0;
5012 }
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5016 fi
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 fi
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 fi
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5023 fi
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-g -O2"
5031 else
5032 CXXFLAGS="-g"
5033 fi
5034 else
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-O2"
5037 else
5038 CXXFLAGS=
5039 fi
5040 fi
5041 ac_ext=c
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5046
5047 CXXFLAGS="$save_CXXFLAGS"
5048
5049
5050 # Check whether --enable-largefile was given.
5051 if test "${enable_largefile+set}" = set; then :
5052 enableval=$enable_largefile;
5053 fi
5054
5055 if test "$enable_largefile" != no; then
5056
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5058 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5059 if ${ac_cv_sys_largefile_CC+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_cv_sys_largefile_CC=no
5063 if test "$GCC" != yes; then
5064 ac_save_CC=$CC
5065 while :; do
5066 # IRIX 6.2 and later do not support large files by default,
5067 # so use the C compiler's -n32 option if that helps.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <sys/types.h>
5071 /* Check that off_t can represent 2**63 - 1 correctly.
5072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5073 since some C++ compilers masquerading as C compilers
5074 incorrectly reject 9223372036854775807. */
5075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5077 && LARGE_OFF_T % 2147483647 == 1)
5078 ? 1 : -1];
5079 int
5080 main ()
5081 {
5082
5083 ;
5084 return 0;
5085 }
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 break
5089 fi
5090 rm -f core conftest.err conftest.$ac_objext
5091 CC="$CC -n32"
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_largefile_CC=' -n32'; break
5094 fi
5095 rm -f core conftest.err conftest.$ac_objext
5096 break
5097 done
5098 CC=$ac_save_CC
5099 rm -f conftest.$ac_ext
5100 fi
5101 fi
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5103 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5104 if test "$ac_cv_sys_largefile_CC" != no; then
5105 CC=$CC$ac_cv_sys_largefile_CC
5106 fi
5107
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5109 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5110 if ${ac_cv_sys_file_offset_bits+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 while :; do
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5117 /* Check that off_t can represent 2**63 - 1 correctly.
5118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5119 since some C++ compilers masquerading as C compilers
5120 incorrectly reject 9223372036854775807. */
5121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5123 && LARGE_OFF_T % 2147483647 == 1)
5124 ? 1 : -1];
5125 int
5126 main ()
5127 {
5128
5129 ;
5130 return 0;
5131 }
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_sys_file_offset_bits=no; break
5135 fi
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #define _FILE_OFFSET_BITS 64
5140 #include <sys/types.h>
5141 /* Check that off_t can represent 2**63 - 1 correctly.
5142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5143 since some C++ compilers masquerading as C compilers
5144 incorrectly reject 9223372036854775807. */
5145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5147 && LARGE_OFF_T % 2147483647 == 1)
5148 ? 1 : -1];
5149 int
5150 main ()
5151 {
5152
5153 ;
5154 return 0;
5155 }
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 ac_cv_sys_file_offset_bits=64; break
5159 fi
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 ac_cv_sys_file_offset_bits=unknown
5162 break
5163 done
5164 fi
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5166 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5167 case $ac_cv_sys_file_offset_bits in #(
5168 no | unknown) ;;
5169 *)
5170 cat >>confdefs.h <<_ACEOF
5171 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5172 _ACEOF
5173 ;;
5174 esac
5175 rm -rf conftest*
5176 if test $ac_cv_sys_file_offset_bits = unknown; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5178 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5179 if ${ac_cv_sys_large_files+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 while :; do
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5193 ? 1 : -1];
5194 int
5195 main ()
5196 {
5197
5198 ;
5199 return 0;
5200 }
5201 _ACEOF
5202 if ac_fn_c_try_compile "$LINENO"; then :
5203 ac_cv_sys_large_files=no; break
5204 fi
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #define _LARGE_FILES 1
5209 #include <sys/types.h>
5210 /* Check that off_t can represent 2**63 - 1 correctly.
5211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5212 since some C++ compilers masquerading as C compilers
5213 incorrectly reject 9223372036854775807. */
5214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5216 && LARGE_OFF_T % 2147483647 == 1)
5217 ? 1 : -1];
5218 int
5219 main ()
5220 {
5221
5222 ;
5223 return 0;
5224 }
5225 _ACEOF
5226 if ac_fn_c_try_compile "$LINENO"; then :
5227 ac_cv_sys_large_files=1; break
5228 fi
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 ac_cv_sys_large_files=unknown
5231 break
5232 done
5233 fi
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5235 $as_echo "$ac_cv_sys_large_files" >&6; }
5236 case $ac_cv_sys_large_files in #(
5237 no | unknown) ;;
5238 *)
5239 cat >>confdefs.h <<_ACEOF
5240 #define _LARGE_FILES $ac_cv_sys_large_files
5241 _ACEOF
5242 ;;
5243 esac
5244 rm -rf conftest*
5245 fi
5246
5247
5248 fi
5249
5250
5251 # Runs configure.host, and assorted other critical bits. Sets
5252 # up critical shell variables.
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5260 # On Suns, sometimes $CPP names a directory.
5261 if test -n "$CPP" && test -d "$CPP"; then
5262 CPP=
5263 fi
5264 if test -z "$CPP"; then
5265 if ${ac_cv_prog_CPP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 # Double quotes because CPP needs to be expanded
5269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5270 do
5271 ac_preproc_ok=false
5272 for ac_c_preproc_warn_flag in '' yes
5273 do
5274 # Use a header file that comes with gcc, so configuring glibc
5275 # with a fresh cross-compiler works.
5276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5277 # <limits.h> exists even on freestanding compilers.
5278 # On the NeXT, cc -E runs the code through the compiler's parser,
5279 # not just through cpp. "Syntax error" is here to catch this case.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #ifdef __STDC__
5283 # include <limits.h>
5284 #else
5285 # include <assert.h>
5286 #endif
5287 Syntax error
5288 _ACEOF
5289 if ac_fn_c_try_cpp "$LINENO"; then :
5290
5291 else
5292 # Broken: fails on valid input.
5293 continue
5294 fi
5295 rm -f conftest.err conftest.i conftest.$ac_ext
5296
5297 # OK, works on sane cases. Now check whether nonexistent headers
5298 # can be detected and how.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5302 _ACEOF
5303 if ac_fn_c_try_cpp "$LINENO"; then :
5304 # Broken: success on invalid input.
5305 continue
5306 else
5307 # Passes both tests.
5308 ac_preproc_ok=:
5309 break
5310 fi
5311 rm -f conftest.err conftest.i conftest.$ac_ext
5312
5313 done
5314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5315 rm -f conftest.i conftest.err conftest.$ac_ext
5316 if $ac_preproc_ok; then :
5317 break
5318 fi
5319
5320 done
5321 ac_cv_prog_CPP=$CPP
5322
5323 fi
5324 CPP=$ac_cv_prog_CPP
5325 else
5326 ac_cv_prog_CPP=$CPP
5327 fi
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5329 $as_echo "$CPP" >&6; }
5330 ac_preproc_ok=false
5331 for ac_c_preproc_warn_flag in '' yes
5332 do
5333 # Use a header file that comes with gcc, so configuring glibc
5334 # with a fresh cross-compiler works.
5335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5336 # <limits.h> exists even on freestanding compilers.
5337 # On the NeXT, cc -E runs the code through the compiler's parser,
5338 # not just through cpp. "Syntax error" is here to catch this case.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #ifdef __STDC__
5342 # include <limits.h>
5343 #else
5344 # include <assert.h>
5345 #endif
5346 Syntax error
5347 _ACEOF
5348 if ac_fn_c_try_cpp "$LINENO"; then :
5349
5350 else
5351 # Broken: fails on valid input.
5352 continue
5353 fi
5354 rm -f conftest.err conftest.i conftest.$ac_ext
5355
5356 # OK, works on sane cases. Now check whether nonexistent headers
5357 # can be detected and how.
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5361 _ACEOF
5362 if ac_fn_c_try_cpp "$LINENO"; then :
5363 # Broken: success on invalid input.
5364 continue
5365 else
5366 # Passes both tests.
5367 ac_preproc_ok=:
5368 break
5369 fi
5370 rm -f conftest.err conftest.i conftest.$ac_ext
5371
5372 done
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.i conftest.err conftest.$ac_ext
5375 if $ac_preproc_ok; then :
5376
5377 else
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5381 See \`config.log' for more details" "$LINENO" 5; }
5382 fi
5383
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5393 if ${ac_cv_path_GREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -z "$GREP"; then
5397 ac_path_GREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5401 do
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in grep ggrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_GREP" || continue
5408 # Check for GNU ac_path_GREP and select it if it is found.
5409 # Check for GNU $ac_path_GREP
5410 case `"$ac_path_GREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5413 *)
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5417 do
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'GREP' >> "conftest.nl"
5422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_GREP="$ac_path_GREP"
5428 ac_path_GREP_max=$ac_count
5429 fi
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5435
5436 $ac_path_GREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_GREP"; then
5442 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5443 fi
5444 else
5445 ac_cv_path_GREP=$GREP
5446 fi
5447
5448 fi
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5450 $as_echo "$ac_cv_path_GREP" >&6; }
5451 GREP="$ac_cv_path_GREP"
5452
5453
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5455 $as_echo_n "checking for egrep... " >&6; }
5456 if ${ac_cv_path_EGREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5460 then ac_cv_path_EGREP="$GREP -E"
5461 else
5462 if test -z "$EGREP"; then
5463 ac_path_EGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5467 do
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in egrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_EGREP" || continue
5474 # Check for GNU ac_path_EGREP and select it if it is found.
5475 # Check for GNU $ac_path_EGREP
5476 case `"$ac_path_EGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5479 *)
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5483 do
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'EGREP' >> "conftest.nl"
5488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_EGREP="$ac_path_EGREP"
5494 ac_path_EGREP_max=$ac_count
5495 fi
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5501
5502 $ac_path_EGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_EGREP"; then
5508 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5509 fi
5510 else
5511 ac_cv_path_EGREP=$EGREP
5512 fi
5513
5514 fi
5515 fi
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5517 $as_echo "$ac_cv_path_EGREP" >&6; }
5518 EGREP="$ac_cv_path_EGREP"
5519
5520
5521
5522 # Keep these sync'd with the list in Makefile.am. The first provides an
5523 # expandable list at autoconf time; the second provides an expandable list
5524 # (i.e., shell variable) at configure time.
5525
5526 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5527
5528 # These need to be absolute paths, yet at the same time need to
5529 # canonicalize only relative paths, because then amd will not unmount
5530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5531 glibcxx_builddir=`${PWDCMD-pwd}`
5532 case $srcdir in
5533 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5534 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5535 esac
5536 toplevel_builddir=${glibcxx_builddir}/..
5537 toplevel_srcdir=${glibcxx_srcdir}/..
5538
5539
5540
5541
5542
5543 # We use these options to decide which functions to include. They are
5544 # set from the top level.
5545
5546 # Check whether --with-target-subdir was given.
5547 if test "${with_target_subdir+set}" = set; then :
5548 withval=$with_target_subdir;
5549 fi
5550
5551
5552
5553 # Check whether --with-cross-host was given.
5554 if test "${with_cross_host+set}" = set; then :
5555 withval=$with_cross_host;
5556 fi
5557
5558
5559
5560 # Check whether --with-newlib was given.
5561 if test "${with_newlib+set}" = set; then :
5562 withval=$with_newlib;
5563 fi
5564
5565
5566 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5567 # available). Uncomment the next line to force a particular method.
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5569 $as_echo_n "checking whether ln -s works... " >&6; }
5570 LN_S=$as_ln_s
5571 if test "$LN_S" = "ln -s"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5576 $as_echo "no, using $LN_S" >&6; }
5577 fi
5578
5579 #LN_S='cp -p'
5580
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}as; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_AS+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$AS"; then
5590 ac_cv_prog_AS="$AS" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5594 do
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_AS="${ac_tool_prefix}as"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5602 fi
5603 done
5604 done
5605 IFS=$as_save_IFS
5606
5607 fi
5608 fi
5609 AS=$ac_cv_prog_AS
5610 if test -n "$AS"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5612 $as_echo "$AS" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5616 fi
5617
5618
5619 fi
5620 if test -z "$ac_cv_prog_AS"; then
5621 ac_ct_AS=$AS
5622 # Extract the first word of "as", so it can be a program name with args.
5623 set dummy as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_AS"; then
5630 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_AS="as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5642 fi
5643 done
5644 done
5645 IFS=$as_save_IFS
5646
5647 fi
5648 fi
5649 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5650 if test -n "$ac_ct_AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5652 $as_echo "$ac_ct_AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5656 fi
5657
5658 if test "x$ac_ct_AS" = x; then
5659 AS=""
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 AS=$ac_ct_AS
5668 fi
5669 else
5670 AS="$ac_cv_prog_AS"
5671 fi
5672
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}ar; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5686 do
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="${ac_tool_prefix}ar"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5694 fi
5695 done
5696 done
5697 IFS=$as_save_IFS
5698
5699 fi
5700 fi
5701 AR=$ac_cv_prog_AR
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5704 $as_echo "$AR" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5708 fi
5709
5710
5711 fi
5712 if test -z "$ac_cv_prog_AR"; then
5713 ac_ct_AR=$AR
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5726 do
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5734 fi
5735 done
5736 done
5737 IFS=$as_save_IFS
5738
5739 fi
5740 fi
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5744 $as_echo "$ac_ct_AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5748 fi
5749
5750 if test "x$ac_ct_AR" = x; then
5751 AR=""
5752 else
5753 case $cross_compiling:$ac_tool_warned in
5754 yes:)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5758 esac
5759 AR=$ac_ct_AR
5760 fi
5761 else
5762 AR="$ac_cv_prog_AR"
5763 fi
5764
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5778 do
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5786 fi
5787 done
5788 done
5789 IFS=$as_save_IFS
5790
5791 fi
5792 fi
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5800 fi
5801
5802
5803 fi
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5818 do
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5826 fi
5827 done
5828 done
5829 IFS=$as_save_IFS
5830
5831 fi
5832 fi
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5840 fi
5841
5842 if test "x$ac_ct_RANLIB" = x; then
5843 RANLIB="ranlib-not-found-in-path-error"
5844 else
5845 case $cross_compiling:$ac_tool_warned in
5846 yes:)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 RANLIB=$ac_ct_RANLIB
5852 fi
5853 else
5854 RANLIB="$ac_cv_prog_RANLIB"
5855 fi
5856
5857
5858
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5861 # Check whether --enable-maintainer-mode was given.
5862 if test "${enable_maintainer_mode+set}" = set; then :
5863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5864 else
5865 USE_MAINTAINER_MODE=no
5866 fi
5867
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5870 if test $USE_MAINTAINER_MODE = yes; then
5871 MAINTAINER_MODE_TRUE=
5872 MAINTAINER_MODE_FALSE='#'
5873 else
5874 MAINTAINER_MODE_TRUE='#'
5875 MAINTAINER_MODE_FALSE=
5876 fi
5877
5878 MAINT=$MAINTAINER_MODE_TRUE
5879
5880
5881
5882 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5883 # which are themselves conditionally expanded.
5884 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5885 ## other macros from doing the same. This should be automated.) -pme
5886
5887 # Check for C library flavor since GNU/Linux platforms use different
5888 # configuration directories depending on the C library in use.
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5891
5892 #include <stdio.h>
5893 #if __UCLIBC__
5894 _using_uclibc
5895 #endif
5896
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5900 uclibc=yes
5901 else
5902 uclibc=no
5903 fi
5904 rm -f conftest*
5905
5906
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5909
5910 #include <stdio.h>
5911 #if __BIONIC__
5912 _using_bionic
5913 #endif
5914
5915 _ACEOF
5916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5917 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5918 bionic=yes
5919 else
5920 bionic=no
5921 fi
5922 rm -f conftest*
5923
5924
5925 # Find platform-specific directories containing configuration info.
5926 # Also possibly modify flags used elsewhere, as needed by the platform.
5927
5928 . $glibcxx_srcdir/configure.host
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5930 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5932 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5933
5934
5935
5936 # Libtool setup.
5937 if test "x${with_newlib}" != "xyes" &&
5938 test "x${with_avrlibc}" != "xyes" &&
5939 test "x$with_headers" != "xno"; then
5940 enable_dlopen=yes
5941
5942
5943
5944 fi
5945 case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949 esac
5950
5951
5952
5953 macro_version='2.2.7a'
5954 macro_revision='1.3134'
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968 ltmain="$ac_aux_dir/ltmain.sh"
5969
5970 # Backslashify metacharacters that are still active within
5971 # double-quoted strings.
5972 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5973
5974 # Same as above, but do not quote variable references.
5975 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5976
5977 # Sed substitution to delay expansion of an escaped shell variable in a
5978 # double_quote_subst'ed string.
5979 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5980
5981 # Sed substitution to delay expansion of an escaped single quote.
5982 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5983
5984 # Sed substitution to avoid accidental globbing in evaled expressions
5985 no_glob_subst='s/\*/\\\*/g'
5986
5987 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5988 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5990
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5992 $as_echo_n "checking how to print strings... " >&6; }
5993 # Test print first, because it will be a builtin if present.
5994 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5996 ECHO='print -r --'
5997 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5998 ECHO='printf %s\n'
5999 else
6000 # Use this function as a fallback that always works.
6001 func_fallback_echo ()
6002 {
6003 eval 'cat <<_LTECHO_EOF
6004 $1
6005 _LTECHO_EOF'
6006 }
6007 ECHO='func_fallback_echo'
6008 fi
6009
6010 # func_echo_all arg...
6011 # Invoke $ECHO with all args, space-separated.
6012 func_echo_all ()
6013 {
6014 $ECHO ""
6015 }
6016
6017 case "$ECHO" in
6018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6019 $as_echo "printf" >&6; } ;;
6020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6021 $as_echo "print -r" >&6; } ;;
6022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6023 $as_echo "cat" >&6; } ;;
6024 esac
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6041 if ${ac_cv_path_SED+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6045 for ac_i in 1 2 3 4 5 6 7; do
6046 ac_script="$ac_script$as_nl$ac_script"
6047 done
6048 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6049 { ac_script=; unset ac_script;}
6050 if test -z "$SED"; then
6051 ac_path_SED_found=false
6052 # Loop through the user's path and test for each of PROGNAME-LIST
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6055 do
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_prog in sed gsed; do
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6061 as_fn_executable_p "$ac_path_SED" || continue
6062 # Check for GNU ac_path_SED and select it if it is found.
6063 # Check for GNU $ac_path_SED
6064 case `"$ac_path_SED" --version 2>&1` in
6065 *GNU*)
6066 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6067 *)
6068 ac_count=0
6069 $as_echo_n 0123456789 >"conftest.in"
6070 while :
6071 do
6072 cat "conftest.in" "conftest.in" >"conftest.tmp"
6073 mv "conftest.tmp" "conftest.in"
6074 cp "conftest.in" "conftest.nl"
6075 $as_echo '' >> "conftest.nl"
6076 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6078 as_fn_arith $ac_count + 1 && ac_count=$as_val
6079 if test $ac_count -gt ${ac_path_SED_max-0}; then
6080 # Best one so far, save it but keep looking for a better one
6081 ac_cv_path_SED="$ac_path_SED"
6082 ac_path_SED_max=$ac_count
6083 fi
6084 # 10*(2^10) chars as input seems more than enough
6085 test $ac_count -gt 10 && break
6086 done
6087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6088 esac
6089
6090 $ac_path_SED_found && break 3
6091 done
6092 done
6093 done
6094 IFS=$as_save_IFS
6095 if test -z "$ac_cv_path_SED"; then
6096 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6097 fi
6098 else
6099 ac_cv_path_SED=$SED
6100 fi
6101
6102 fi
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6104 $as_echo "$ac_cv_path_SED" >&6; }
6105 SED="$ac_cv_path_SED"
6106 rm -f conftest.sed
6107
6108 test -z "$SED" && SED=sed
6109 Xsed="$SED -e 1s/^X//"
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6127 then ac_cv_path_FGREP="$GREP -F"
6128 else
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6134 do
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_prog in fgrep; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p "$ac_path_FGREP" || continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6146 *)
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6150 do
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP="$ac_path_FGREP"
6161 ac_path_FGREP_max=$ac_count
6162 fi
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6168
6169 $ac_path_FGREP_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6176 fi
6177 else
6178 ac_cv_path_FGREP=$FGREP
6179 fi
6180
6181 fi
6182 fi
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP="$ac_cv_path_FGREP"
6186
6187
6188 test -z "$GREP" && GREP=grep
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211 else
6212 with_gnu_ld=no
6213 fi
6214
6215 ac_prog=ld
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6220 case $host in
6221 *-*-mingw*)
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6224 *)
6225 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6226 esac
6227 case $ac_prog in
6228 # Accept absolute paths.
6229 [\\/]* | ?:[\\/]*)
6230 re_direlt='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6234 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6235 done
6236 test -z "$LD" && LD="$ac_prog"
6237 ;;
6238 "")
6239 # If it fails, then pretend we aren't using GCC.
6240 ac_prog=ld
6241 ;;
6242 *)
6243 # If it is relative, then search for the first ld in PATH.
6244 with_gnu_ld=unknown
6245 ;;
6246 esac
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6253 fi
6254 if ${lt_cv_path_LD+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$LD"; then
6258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6259 for ac_dir in $PATH; do
6260 IFS="$lt_save_ifs"
6261 test -z "$ac_dir" && ac_dir=.
6262 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU* | *'with BFD'*)
6269 test "$with_gnu_ld" != no && break
6270 ;;
6271 *)
6272 test "$with_gnu_ld" != yes && break
6273 ;;
6274 esac
6275 fi
6276 done
6277 IFS="$lt_save_ifs"
6278 else
6279 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6280 fi
6281 fi
6282
6283 LD="$lt_cv_path_LD"
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6290 fi
6291 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU* | *'with BFD'*)
6300 lt_cv_prog_gnu_ld=yes
6301 ;;
6302 *)
6303 lt_cv_prog_gnu_ld=no
6304 ;;
6305 esac
6306 fi
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld=$lt_cv_prog_gnu_ld
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$NM"; then
6325 # Let the user override the nm to test.
6326 lt_nm_to_check="$NM"
6327 else
6328 lt_nm_to_check="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check="$lt_nm_to_check nm"
6331 fi
6332 fi
6333 for lt_tmp_nm in "$lt_nm_to_check"; do
6334 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6335 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6336 IFS="$lt_save_ifs"
6337 test -z "$ac_dir" && ac_dir=.
6338 # Strip out any user-provided options from the nm to test twice,
6339 # the first time to test to see if nm (rather than its options) has
6340 # an explicit path, the second time to yield a file which can be
6341 # nm'ed itself.
6342 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6343 case "$tmp_nm_path" in
6344 */*|*\\*) tmp_nm="$lt_tmp_nm";;
6345 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
6346 esac
6347 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6348 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
6349 # Check to see if the nm accepts a BSD-compat flag.
6350 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6351 # nm: unknown option "B" ignored
6352 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6353 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
6354 break
6355 ;;
6356 *)
6357 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6358 *$tmp_nm*)
6359 lt_cv_path_NM="$tmp_nm -p"
6360 break
6361 ;;
6362 *)
6363 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6364 continue # so that we can try to find one that supports BSD flags
6365 ;;
6366 esac
6367 ;;
6368 esac
6369 fi
6370 done
6371 IFS="$lt_save_ifs"
6372 done
6373 : ${lt_cv_path_NM=no}
6374 fi
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6376 $as_echo "$lt_cv_path_NM" >&6; }
6377 if test "$lt_cv_path_NM" != "no"; then
6378 NM="$lt_cv_path_NM"
6379 else
6380 # Didn't find any BSD compatible name lister, look for dumpbin.
6381 if test -n "$DUMPBIN"; then :
6382 # Let the user override the test.
6383 else
6384 if test -n "$ac_tool_prefix"; then
6385 for ac_prog in dumpbin "link -dump"
6386 do
6387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_DUMPBIN+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 if test -n "$DUMPBIN"; then
6395 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6399 do
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 break 2
6407 fi
6408 done
6409 done
6410 IFS=$as_save_IFS
6411
6412 fi
6413 fi
6414 DUMPBIN=$ac_cv_prog_DUMPBIN
6415 if test -n "$DUMPBIN"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6417 $as_echo "$DUMPBIN" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6421 fi
6422
6423
6424 test -n "$DUMPBIN" && break
6425 done
6426 fi
6427 if test -z "$DUMPBIN"; then
6428 ac_ct_DUMPBIN=$DUMPBIN
6429 for ac_prog in dumpbin "link -dump"
6430 do
6431 # Extract the first word of "$ac_prog", so it can be a program name with args.
6432 set dummy $ac_prog; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 if test -n "$ac_ct_DUMPBIN"; then
6439 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6440 else
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 for as_dir in $PATH
6443 do
6444 IFS=$as_save_IFS
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 break 2
6451 fi
6452 done
6453 done
6454 IFS=$as_save_IFS
6455
6456 fi
6457 fi
6458 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6459 if test -n "$ac_ct_DUMPBIN"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6461 $as_echo "$ac_ct_DUMPBIN" >&6; }
6462 else
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6465 fi
6466
6467
6468 test -n "$ac_ct_DUMPBIN" && break
6469 done
6470
6471 if test "x$ac_ct_DUMPBIN" = x; then
6472 DUMPBIN=":"
6473 else
6474 case $cross_compiling:$ac_tool_warned in
6475 yes:)
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6478 ac_tool_warned=yes ;;
6479 esac
6480 DUMPBIN=$ac_ct_DUMPBIN
6481 fi
6482 fi
6483
6484 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6485 *COFF*)
6486 DUMPBIN="$DUMPBIN -symbols"
6487 ;;
6488 *)
6489 DUMPBIN=:
6490 ;;
6491 esac
6492 fi
6493
6494 if test "$DUMPBIN" != ":"; then
6495 NM="$DUMPBIN"
6496 fi
6497 fi
6498 test -z "$NM" && NM=nm
6499
6500
6501
6502
6503
6504
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6506 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6507 if ${lt_cv_nm_interface+:} false; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 lt_cv_nm_interface="BSD nm"
6511 echo "int some_variable = 0;" > conftest.$ac_ext
6512 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6513 (eval "$ac_compile" 2>conftest.err)
6514 cat conftest.err >&5
6515 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6516 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6517 cat conftest.err >&5
6518 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6519 cat conftest.out >&5
6520 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6521 lt_cv_nm_interface="MS dumpbin"
6522 fi
6523 rm -f conftest*
6524 fi
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6526 $as_echo "$lt_cv_nm_interface" >&6; }
6527
6528 # find the maximum length of command line arguments
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6530 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6531 if ${lt_cv_sys_max_cmd_len+:} false; then :
6532 $as_echo_n "(cached) " >&6
6533 else
6534 i=0
6535 teststring="ABCD"
6536
6537 case $build_os in
6538 msdosdjgpp*)
6539 # On DJGPP, this test can blow up pretty badly due to problems in libc
6540 # (any single argument exceeding 2000 bytes causes a buffer overrun
6541 # during glob expansion). Even if it were fixed, the result of this
6542 # check would be larger than it should be.
6543 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6544 ;;
6545
6546 gnu*)
6547 # Under GNU Hurd, this test is not required because there is
6548 # no limit to the length of command line arguments.
6549 # Libtool will interpret -1 as no limit whatsoever
6550 lt_cv_sys_max_cmd_len=-1;
6551 ;;
6552
6553 cygwin* | mingw* | cegcc*)
6554 # On Win9x/ME, this test blows up -- it succeeds, but takes
6555 # about 5 minutes as the teststring grows exponentially.
6556 # Worse, since 9x/ME are not pre-emptively multitasking,
6557 # you end up with a "frozen" computer, even though with patience
6558 # the test eventually succeeds (with a max line length of 256k).
6559 # Instead, let's just punt: use the minimum linelength reported by
6560 # all of the supported platforms: 8192 (on NT/2K/XP).
6561 lt_cv_sys_max_cmd_len=8192;
6562 ;;
6563
6564 mint*)
6565 # On MiNT this can take a long time and run out of memory.
6566 lt_cv_sys_max_cmd_len=8192;
6567 ;;
6568
6569 amigaos*)
6570 # On AmigaOS with pdksh, this test takes hours, literally.
6571 # So we just punt and use a minimum line length of 8192.
6572 lt_cv_sys_max_cmd_len=8192;
6573 ;;
6574
6575 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6576 # This has been around since 386BSD, at least. Likely further.
6577 if test -x /sbin/sysctl; then
6578 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6579 elif test -x /usr/sbin/sysctl; then
6580 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6581 else
6582 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6583 fi
6584 # And add a safety zone
6585 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6586 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6587 ;;
6588
6589 interix*)
6590 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6591 lt_cv_sys_max_cmd_len=196608
6592 ;;
6593
6594 osf*)
6595 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6596 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6597 # nice to cause kernel panics so lets avoid the loop below.
6598 # First set a reasonable default.
6599 lt_cv_sys_max_cmd_len=16384
6600 #
6601 if test -x /sbin/sysconfig; then
6602 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6603 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6604 esac
6605 fi
6606 ;;
6607 sco3.2v5*)
6608 lt_cv_sys_max_cmd_len=102400
6609 ;;
6610 sysv5* | sco5v6* | sysv4.2uw2*)
6611 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6612 if test -n "$kargmax"; then
6613 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6614 else
6615 lt_cv_sys_max_cmd_len=32768
6616 fi
6617 ;;
6618 *)
6619 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6620 if test -n "$lt_cv_sys_max_cmd_len"; then
6621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6622 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6623 else
6624 # Make teststring a little bigger before we do anything with it.
6625 # a 1K string should be a reasonable start.
6626 for i in 1 2 3 4 5 6 7 8 ; do
6627 teststring=$teststring$teststring
6628 done
6629 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6630 # If test is not a shell built-in, we'll probably end up computing a
6631 # maximum length that is only half of the actual maximum length, but
6632 # we can't tell.
6633 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6634 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6635 test $i != 17 # 1/2 MB should be enough
6636 do
6637 i=`expr $i + 1`
6638 teststring=$teststring$teststring
6639 done
6640 # Only check the string length outside the loop.
6641 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6642 teststring=
6643 # Add a significant safety factor because C++ compilers can tack on
6644 # massive amounts of additional arguments before passing them to the
6645 # linker. It appears as though 1/2 is a usable value.
6646 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6647 fi
6648 ;;
6649 esac
6650
6651 fi
6652
6653 if test -n $lt_cv_sys_max_cmd_len ; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6655 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6656 else
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6658 $as_echo "none" >&6; }
6659 fi
6660 max_cmd_len=$lt_cv_sys_max_cmd_len
6661
6662
6663
6664
6665
6666
6667 : ${CP="cp -f"}
6668 : ${MV="mv -f"}
6669 : ${RM="rm -f"}
6670
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6672 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6673 # Try some XSI features
6674 xsi_shell=no
6675 ( _lt_dummy="a/b/c"
6676 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6677 = c,a/b,, \
6678 && eval 'test $(( 1 + 1 )) -eq 2 \
6679 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6680 && xsi_shell=yes
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6682 $as_echo "$xsi_shell" >&6; }
6683
6684
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6686 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6687 lt_shell_append=no
6688 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6689 >/dev/null 2>&1 \
6690 && lt_shell_append=yes
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6692 $as_echo "$lt_shell_append" >&6; }
6693
6694
6695 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6696 lt_unset=unset
6697 else
6698 lt_unset=false
6699 fi
6700
6701
6702
6703
6704
6705 # test EBCDIC or ASCII
6706 case `echo X|tr X '\101'` in
6707 A) # ASCII based system
6708 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6709 lt_SP2NL='tr \040 \012'
6710 lt_NL2SP='tr \015\012 \040\040'
6711 ;;
6712 *) # EBCDIC based system
6713 lt_SP2NL='tr \100 \n'
6714 lt_NL2SP='tr \r\n \100\100'
6715 ;;
6716 esac
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6727 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6728 if ${lt_cv_ld_reload_flag+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 lt_cv_ld_reload_flag='-r'
6732 fi
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6734 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6735 reload_flag=$lt_cv_ld_reload_flag
6736 case $reload_flag in
6737 "" | " "*) ;;
6738 *) reload_flag=" $reload_flag" ;;
6739 esac
6740 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6741 case $host_os in
6742 darwin*)
6743 if test "$GCC" = yes; then
6744 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6745 else
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6747 fi
6748 ;;
6749 esac
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759 if test -n "$ac_tool_prefix"; then
6760 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6761 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if ${ac_cv_prog_OBJDUMP+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 if test -n "$OBJDUMP"; then
6768 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6772 do
6773 IFS=$as_save_IFS
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 break 2
6780 fi
6781 done
6782 done
6783 IFS=$as_save_IFS
6784
6785 fi
6786 fi
6787 OBJDUMP=$ac_cv_prog_OBJDUMP
6788 if test -n "$OBJDUMP"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6790 $as_echo "$OBJDUMP" >&6; }
6791 else
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6794 fi
6795
6796
6797 fi
6798 if test -z "$ac_cv_prog_OBJDUMP"; then
6799 ac_ct_OBJDUMP=$OBJDUMP
6800 # Extract the first word of "objdump", so it can be a program name with args.
6801 set dummy objdump; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6805 $as_echo_n "(cached) " >&6
6806 else
6807 if test -n "$ac_ct_OBJDUMP"; then
6808 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6809 else
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 for as_dir in $PATH
6812 do
6813 IFS=$as_save_IFS
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 break 2
6820 fi
6821 done
6822 done
6823 IFS=$as_save_IFS
6824
6825 fi
6826 fi
6827 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6828 if test -n "$ac_ct_OBJDUMP"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6830 $as_echo "$ac_ct_OBJDUMP" >&6; }
6831 else
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6834 fi
6835
6836 if test "x$ac_ct_OBJDUMP" = x; then
6837 OBJDUMP="false"
6838 else
6839 case $cross_compiling:$ac_tool_warned in
6840 yes:)
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6843 ac_tool_warned=yes ;;
6844 esac
6845 OBJDUMP=$ac_ct_OBJDUMP
6846 fi
6847 else
6848 OBJDUMP="$ac_cv_prog_OBJDUMP"
6849 fi
6850
6851 test -z "$OBJDUMP" && OBJDUMP=objdump
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6862 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6863 if ${lt_cv_deplibs_check_method+:} false; then :
6864 $as_echo_n "(cached) " >&6
6865 else
6866 lt_cv_file_magic_cmd='$MAGIC_CMD'
6867 lt_cv_file_magic_test_file=
6868 lt_cv_deplibs_check_method='unknown'
6869 # Need to set the preceding variable on all platforms that support
6870 # interlibrary dependencies.
6871 # 'none' -- dependencies not supported.
6872 # `unknown' -- same as none, but documents that we really don't know.
6873 # 'pass_all' -- all dependencies passed with no checks.
6874 # 'test_compile' -- check by making test program.
6875 # 'file_magic [[regex]]' -- check by looking for files in library path
6876 # which responds to the $file_magic_cmd with a given extended regex.
6877 # If you have `file' or equivalent on your system and you're not sure
6878 # whether `pass_all' will *always* work, you probably want this one.
6879
6880 case $host_os in
6881 aix[4-9]*)
6882 lt_cv_deplibs_check_method=pass_all
6883 ;;
6884
6885 beos*)
6886 lt_cv_deplibs_check_method=pass_all
6887 ;;
6888
6889 bsdi[45]*)
6890 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6891 lt_cv_file_magic_cmd='/usr/bin/file -L'
6892 lt_cv_file_magic_test_file=/shlib/libc.so
6893 ;;
6894
6895 cygwin*)
6896 # func_win32_libid is a shell function defined in ltmain.sh
6897 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6898 lt_cv_file_magic_cmd='func_win32_libid'
6899 ;;
6900
6901 mingw* | pw32*)
6902 # Base MSYS/MinGW do not provide the 'file' command needed by
6903 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6904 # unless we find 'file', for example because we are cross-compiling.
6905 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6906 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6907 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6908 lt_cv_file_magic_cmd='func_win32_libid'
6909 else
6910 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6911 lt_cv_file_magic_cmd='$OBJDUMP -f'
6912 fi
6913 ;;
6914
6915 cegcc*)
6916 # use the weaker test based on 'objdump'. See mingw*.
6917 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6918 lt_cv_file_magic_cmd='$OBJDUMP -f'
6919 ;;
6920
6921 darwin* | rhapsody*)
6922 lt_cv_deplibs_check_method=pass_all
6923 ;;
6924
6925 freebsd* | dragonfly*)
6926 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6927 case $host_cpu in
6928 i*86 )
6929 # Not sure whether the presence of OpenBSD here was a mistake.
6930 # Let's accept both of them until this is cleared up.
6931 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6932 lt_cv_file_magic_cmd=/usr/bin/file
6933 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6934 ;;
6935 esac
6936 else
6937 lt_cv_deplibs_check_method=pass_all
6938 fi
6939 ;;
6940
6941 gnu*)
6942 lt_cv_deplibs_check_method=pass_all
6943 ;;
6944
6945 haiku*)
6946 lt_cv_deplibs_check_method=pass_all
6947 ;;
6948
6949 hpux10.20* | hpux11*)
6950 lt_cv_file_magic_cmd=/usr/bin/file
6951 case $host_cpu in
6952 ia64*)
6953 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6954 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6955 ;;
6956 hppa*64*)
6957 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]'
6958 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6959 ;;
6960 *)
6961 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6962 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6963 ;;
6964 esac
6965 ;;
6966
6967 interix[3-9]*)
6968 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6970 ;;
6971
6972 irix5* | irix6* | nonstopux*)
6973 case $LD in
6974 *-32|*"-32 ") libmagic=32-bit;;
6975 *-n32|*"-n32 ") libmagic=N32;;
6976 *-64|*"-64 ") libmagic=64-bit;;
6977 *) libmagic=never-match;;
6978 esac
6979 lt_cv_deplibs_check_method=pass_all
6980 ;;
6981
6982 # This must be Linux ELF.
6983 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6984 lt_cv_deplibs_check_method=pass_all
6985 ;;
6986
6987 netbsd*)
6988 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6989 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6990 else
6991 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6992 fi
6993 ;;
6994
6995 newos6*)
6996 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6997 lt_cv_file_magic_cmd=/usr/bin/file
6998 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6999 ;;
7000
7001 *nto* | *qnx*)
7002 lt_cv_deplibs_check_method=pass_all
7003 ;;
7004
7005 openbsd*)
7006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7008 else
7009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7010 fi
7011 ;;
7012
7013 osf3* | osf4* | osf5*)
7014 lt_cv_deplibs_check_method=pass_all
7015 ;;
7016
7017 rdos*)
7018 lt_cv_deplibs_check_method=pass_all
7019 ;;
7020
7021 solaris*)
7022 lt_cv_deplibs_check_method=pass_all
7023 ;;
7024
7025 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7026 lt_cv_deplibs_check_method=pass_all
7027 ;;
7028
7029 sysv4 | sysv4.3*)
7030 case $host_vendor in
7031 motorola)
7032 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]'
7033 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7034 ;;
7035 ncr)
7036 lt_cv_deplibs_check_method=pass_all
7037 ;;
7038 sequent)
7039 lt_cv_file_magic_cmd='/bin/file'
7040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7041 ;;
7042 sni)
7043 lt_cv_file_magic_cmd='/bin/file'
7044 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7045 lt_cv_file_magic_test_file=/lib/libc.so
7046 ;;
7047 siemens)
7048 lt_cv_deplibs_check_method=pass_all
7049 ;;
7050 pc)
7051 lt_cv_deplibs_check_method=pass_all
7052 ;;
7053 esac
7054 ;;
7055
7056 tpf*)
7057 lt_cv_deplibs_check_method=pass_all
7058 ;;
7059 vxworks*)
7060 # Assume VxWorks cross toolchains are built on Linux, possibly
7061 # as canadian for Windows hosts.
7062 lt_cv_deplibs_check_method=pass_all
7063 ;;
7064 esac
7065
7066 fi
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7068 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7069 file_magic_cmd=$lt_cv_file_magic_cmd
7070 deplibs_check_method=$lt_cv_deplibs_check_method
7071 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084 plugin_option=
7085 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7086 for plugin in $plugin_names; do
7087 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7088 if test x$plugin_so = x$plugin; then
7089 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7090 fi
7091 if test x$plugin_so != x$plugin; then
7092 plugin_option="--plugin $plugin_so"
7093 break
7094 fi
7095 done
7096
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7099 set dummy ${ac_tool_prefix}ar; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if ${ac_cv_prog_AR+:} false; then :
7103 $as_echo_n "(cached) " >&6
7104 else
7105 if test -n "$AR"; then
7106 ac_cv_prog_AR="$AR" # Let the user override the test.
7107 else
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 for as_dir in $PATH
7110 do
7111 IFS=$as_save_IFS
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115 ac_cv_prog_AR="${ac_tool_prefix}ar"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 break 2
7118 fi
7119 done
7120 done
7121 IFS=$as_save_IFS
7122
7123 fi
7124 fi
7125 AR=$ac_cv_prog_AR
7126 if test -n "$AR"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7128 $as_echo "$AR" >&6; }
7129 else
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7132 fi
7133
7134
7135 fi
7136 if test -z "$ac_cv_prog_AR"; then
7137 ac_ct_AR=$AR
7138 # Extract the first word of "ar", so it can be a program name with args.
7139 set dummy ar; ac_word=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7143 $as_echo_n "(cached) " >&6
7144 else
7145 if test -n "$ac_ct_AR"; then
7146 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7150 do
7151 IFS=$as_save_IFS
7152 test -z "$as_dir" && as_dir=.
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_ac_ct_AR="ar"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 break 2
7158 fi
7159 done
7160 done
7161 IFS=$as_save_IFS
7162
7163 fi
7164 fi
7165 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7166 if test -n "$ac_ct_AR"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7168 $as_echo "$ac_ct_AR" >&6; }
7169 else
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7172 fi
7173
7174 if test "x$ac_ct_AR" = x; then
7175 AR="false"
7176 else
7177 case $cross_compiling:$ac_tool_warned in
7178 yes:)
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181 ac_tool_warned=yes ;;
7182 esac
7183 AR=$ac_ct_AR
7184 fi
7185 else
7186 AR="$ac_cv_prog_AR"
7187 fi
7188
7189 test -z "$AR" && AR=ar
7190 if test -n "$plugin_option"; then
7191 if $AR --help 2>&1 | grep -q "\--plugin"; then
7192 touch conftest.c
7193 $AR $plugin_option rc conftest.a conftest.c
7194 if test "$?" != 0; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7196 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7197 else
7198 AR="$AR $plugin_option"
7199 fi
7200 rm -f conftest.*
7201 fi
7202 fi
7203 test -z "$AR_FLAGS" && AR_FLAGS=cru
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215 if test -n "$ac_tool_prefix"; then
7216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7217 set dummy ${ac_tool_prefix}strip; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if ${ac_cv_prog_STRIP+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 if test -n "$STRIP"; then
7224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7228 do
7229 IFS=$as_save_IFS
7230 test -z "$as_dir" && as_dir=.
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 break 2
7236 fi
7237 done
7238 done
7239 IFS=$as_save_IFS
7240
7241 fi
7242 fi
7243 STRIP=$ac_cv_prog_STRIP
7244 if test -n "$STRIP"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7246 $as_echo "$STRIP" >&6; }
7247 else
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7250 fi
7251
7252
7253 fi
7254 if test -z "$ac_cv_prog_STRIP"; then
7255 ac_ct_STRIP=$STRIP
7256 # Extract the first word of "strip", so it can be a program name with args.
7257 set dummy strip; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7261 $as_echo_n "(cached) " >&6
7262 else
7263 if test -n "$ac_ct_STRIP"; then
7264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7265 else
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 for as_dir in $PATH
7268 do
7269 IFS=$as_save_IFS
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_ac_ct_STRIP="strip"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 break 2
7276 fi
7277 done
7278 done
7279 IFS=$as_save_IFS
7280
7281 fi
7282 fi
7283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7284 if test -n "$ac_ct_STRIP"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7286 $as_echo "$ac_ct_STRIP" >&6; }
7287 else
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7290 fi
7291
7292 if test "x$ac_ct_STRIP" = x; then
7293 STRIP=":"
7294 else
7295 case $cross_compiling:$ac_tool_warned in
7296 yes:)
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7299 ac_tool_warned=yes ;;
7300 esac
7301 STRIP=$ac_ct_STRIP
7302 fi
7303 else
7304 STRIP="$ac_cv_prog_STRIP"
7305 fi
7306
7307 test -z "$STRIP" && STRIP=:
7308
7309
7310
7311
7312
7313
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7316 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_RANLIB+:} false; then :
7320 $as_echo_n "(cached) " >&6
7321 else
7322 if test -n "$RANLIB"; then
7323 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7327 do
7328 IFS=$as_save_IFS
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 break 2
7335 fi
7336 done
7337 done
7338 IFS=$as_save_IFS
7339
7340 fi
7341 fi
7342 RANLIB=$ac_cv_prog_RANLIB
7343 if test -n "$RANLIB"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7345 $as_echo "$RANLIB" >&6; }
7346 else
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7349 fi
7350
7351
7352 fi
7353 if test -z "$ac_cv_prog_RANLIB"; then
7354 ac_ct_RANLIB=$RANLIB
7355 # Extract the first word of "ranlib", so it can be a program name with args.
7356 set dummy ranlib; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7360 $as_echo_n "(cached) " >&6
7361 else
7362 if test -n "$ac_ct_RANLIB"; then
7363 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7367 do
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_RANLIB="ranlib"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7375 fi
7376 done
7377 done
7378 IFS=$as_save_IFS
7379
7380 fi
7381 fi
7382 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7383 if test -n "$ac_ct_RANLIB"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7385 $as_echo "$ac_ct_RANLIB" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7389 fi
7390
7391 if test "x$ac_ct_RANLIB" = x; then
7392 RANLIB=":"
7393 else
7394 case $cross_compiling:$ac_tool_warned in
7395 yes:)
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned=yes ;;
7399 esac
7400 RANLIB=$ac_ct_RANLIB
7401 fi
7402 else
7403 RANLIB="$ac_cv_prog_RANLIB"
7404 fi
7405
7406 test -z "$RANLIB" && RANLIB=:
7407 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7408 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
7409 RANLIB="$RANLIB $plugin_option"
7410 fi
7411 fi
7412
7413
7414
7415
7416
7417
7418 # Determine commands to create old-style static archives.
7419 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7420 old_postinstall_cmds='chmod 644 $oldlib'
7421 old_postuninstall_cmds=
7422
7423 if test -n "$RANLIB"; then
7424 case $host_os in
7425 openbsd*)
7426 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7427 ;;
7428 *)
7429 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7430 ;;
7431 esac
7432 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7433 fi
7434
7435 case $host_os in
7436 darwin*)
7437 lock_old_archive_extraction=yes ;;
7438 *)
7439 lock_old_archive_extraction=no ;;
7440 esac
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480 # If no C compiler was specified, use CC.
7481 LTCC=${LTCC-"$CC"}
7482
7483 # If no C compiler flags were specified, use CFLAGS.
7484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7485
7486 # Allow CC to be a program name with arguments.
7487 compiler=$CC
7488
7489
7490 # Check for command to grab the raw symbol name followed by C symbol from nm.
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7492 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7493 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7494 $as_echo_n "(cached) " >&6
7495 else
7496
7497 # These are sane defaults that work on at least a few old systems.
7498 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7499
7500 # Character class describing NM global symbol codes.
7501 symcode='[BCDEGRST]'
7502
7503 # Regexp to match symbols that can be accessed directly from C.
7504 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7505
7506 # Define system-specific variables.
7507 case $host_os in
7508 aix*)
7509 symcode='[BCDT]'
7510 ;;
7511 cygwin* | mingw* | pw32* | cegcc*)
7512 symcode='[ABCDGISTW]'
7513 ;;
7514 hpux*)
7515 if test "$host_cpu" = ia64; then
7516 symcode='[ABCDEGRST]'
7517 fi
7518 ;;
7519 irix* | nonstopux*)
7520 symcode='[BCDEGRST]'
7521 ;;
7522 osf*)
7523 symcode='[BCDEGQRST]'
7524 ;;
7525 solaris*)
7526 symcode='[BCDRT]'
7527 ;;
7528 sco3.2v5*)
7529 symcode='[DT]'
7530 ;;
7531 sysv4.2uw2*)
7532 symcode='[DT]'
7533 ;;
7534 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7535 symcode='[ABDT]'
7536 ;;
7537 sysv4)
7538 symcode='[DFNSTU]'
7539 ;;
7540 esac
7541
7542 # If we're using GNU nm, then use its standard symbol codes.
7543 case `$NM -V 2>&1` in
7544 *GNU* | *'with BFD'*)
7545 symcode='[ABCDGIRSTW]' ;;
7546 esac
7547
7548 # Transform an extracted symbol line into a proper C declaration.
7549 # Some systems (esp. on ia64) link data and code symbols differently,
7550 # so use this general approach.
7551 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7552
7553 # Transform an extracted symbol line into symbol name and symbol address
7554 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7555 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'"
7556
7557 # Handle CRLF in mingw tool chain
7558 opt_cr=
7559 case $build_os in
7560 mingw*)
7561 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7562 ;;
7563 esac
7564
7565 # Try without a prefix underscore, then with it.
7566 for ac_symprfx in "" "_"; do
7567
7568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7569 symxfrm="\\1 $ac_symprfx\\2 \\2"
7570
7571 # Write the raw and C identifiers.
7572 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7573 # Fake it for dumpbin and say T for any non-static function
7574 # and D for any global variable.
7575 # Also find C++ and __fastcall symbols from MSVC++,
7576 # which start with @ or ?.
7577 lt_cv_sys_global_symbol_pipe="$AWK '"\
7578 " {last_section=section; section=\$ 3};"\
7579 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7580 " \$ 0!~/External *\|/{next};"\
7581 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7582 " {if(hide[section]) next};"\
7583 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7584 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7585 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7586 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7587 " ' prfx=^$ac_symprfx"
7588 else
7589 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7590 fi
7591
7592 # Check to see that the pipe works correctly.
7593 pipe_works=no
7594
7595 rm -f conftest*
7596 cat > conftest.$ac_ext <<_LT_EOF
7597 #ifdef __cplusplus
7598 extern "C" {
7599 #endif
7600 char nm_test_var;
7601 void nm_test_func(void);
7602 void nm_test_func(void){}
7603 #ifdef __cplusplus
7604 }
7605 #endif
7606 int main(){nm_test_var='a';nm_test_func();return(0);}
7607 _LT_EOF
7608
7609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7610 (eval $ac_compile) 2>&5
7611 ac_status=$?
7612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7613 test $ac_status = 0; }; then
7614 # Now try to grab the symbols.
7615 nlist=conftest.nm
7616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7617 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7618 ac_status=$?
7619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7620 test $ac_status = 0; } && test -s "$nlist"; then
7621 # Try sorting and uniquifying the output.
7622 if sort "$nlist" | uniq > "$nlist"T; then
7623 mv -f "$nlist"T "$nlist"
7624 else
7625 rm -f "$nlist"T
7626 fi
7627
7628 # Make sure that we snagged all the symbols we need.
7629 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7630 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7631 cat <<_LT_EOF > conftest.$ac_ext
7632 #ifdef __cplusplus
7633 extern "C" {
7634 #endif
7635
7636 _LT_EOF
7637 # Now generate the symbol file.
7638 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7639
7640 cat <<_LT_EOF >> conftest.$ac_ext
7641
7642 /* The mapping between symbol names and symbols. */
7643 const struct {
7644 const char *name;
7645 void *address;
7646 }
7647 lt__PROGRAM__LTX_preloaded_symbols[] =
7648 {
7649 { "@PROGRAM@", (void *) 0 },
7650 _LT_EOF
7651 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7652 cat <<\_LT_EOF >> conftest.$ac_ext
7653 {0, (void *) 0}
7654 };
7655
7656 /* This works around a problem in FreeBSD linker */
7657 #ifdef FREEBSD_WORKAROUND
7658 static const void *lt_preloaded_setup() {
7659 return lt__PROGRAM__LTX_preloaded_symbols;
7660 }
7661 #endif
7662
7663 #ifdef __cplusplus
7664 }
7665 #endif
7666 _LT_EOF
7667 # Now try linking the two files.
7668 mv conftest.$ac_objext conftstm.$ac_objext
7669 lt_save_LIBS="$LIBS"
7670 lt_save_CFLAGS="$CFLAGS"
7671 LIBS="conftstm.$ac_objext"
7672 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7674 (eval $ac_link) 2>&5
7675 ac_status=$?
7676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7677 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7678 pipe_works=yes
7679 fi
7680 LIBS="$lt_save_LIBS"
7681 CFLAGS="$lt_save_CFLAGS"
7682 else
7683 echo "cannot find nm_test_func in $nlist" >&5
7684 fi
7685 else
7686 echo "cannot find nm_test_var in $nlist" >&5
7687 fi
7688 else
7689 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7690 fi
7691 else
7692 echo "$progname: failed program was:" >&5
7693 cat conftest.$ac_ext >&5
7694 fi
7695 rm -rf conftest* conftst*
7696
7697 # Do not use the global_symbol_pipe unless it works.
7698 if test "$pipe_works" = yes; then
7699 break
7700 else
7701 lt_cv_sys_global_symbol_pipe=
7702 fi
7703 done
7704
7705 fi
7706
7707 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7708 lt_cv_sys_global_symbol_to_cdecl=
7709 fi
7710 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7712 $as_echo "failed" >&6; }
7713 else
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7715 $as_echo "ok" >&6; }
7716 fi
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739 # Check whether --enable-libtool-lock was given.
7740 if test "${enable_libtool_lock+set}" = set; then :
7741 enableval=$enable_libtool_lock;
7742 fi
7743
7744 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7745
7746 # Some flags need to be propagated to the compiler or linker for good
7747 # libtool support.
7748 case $host in
7749 ia64-*-hpux*)
7750 # Find out which ABI we are using.
7751 echo 'int i;' > conftest.$ac_ext
7752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7753 (eval $ac_compile) 2>&5
7754 ac_status=$?
7755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7756 test $ac_status = 0; }; then
7757 case `/usr/bin/file conftest.$ac_objext` in
7758 *ELF-32*)
7759 HPUX_IA64_MODE="32"
7760 ;;
7761 *ELF-64*)
7762 HPUX_IA64_MODE="64"
7763 ;;
7764 esac
7765 fi
7766 rm -rf conftest*
7767 ;;
7768 *-*-irix6*)
7769 # Find out which ABI we are using.
7770 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7772 (eval $ac_compile) 2>&5
7773 ac_status=$?
7774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7775 test $ac_status = 0; }; then
7776 if test "$lt_cv_prog_gnu_ld" = yes; then
7777 case `/usr/bin/file conftest.$ac_objext` in
7778 *32-bit*)
7779 LD="${LD-ld} -melf32bsmip"
7780 ;;
7781 *N32*)
7782 LD="${LD-ld} -melf32bmipn32"
7783 ;;
7784 *64-bit*)
7785 LD="${LD-ld} -melf64bmip"
7786 ;;
7787 esac
7788 else
7789 case `/usr/bin/file conftest.$ac_objext` in
7790 *32-bit*)
7791 LD="${LD-ld} -32"
7792 ;;
7793 *N32*)
7794 LD="${LD-ld} -n32"
7795 ;;
7796 *64-bit*)
7797 LD="${LD-ld} -64"
7798 ;;
7799 esac
7800 fi
7801 fi
7802 rm -rf conftest*
7803 ;;
7804
7805 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7806 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7807 # Find out which ABI we are using.
7808 echo 'int i;' > conftest.$ac_ext
7809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7810 (eval $ac_compile) 2>&5
7811 ac_status=$?
7812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7813 test $ac_status = 0; }; then
7814 case `/usr/bin/file conftest.o` in
7815 *32-bit*)
7816 case $host in
7817 x86_64-*kfreebsd*-gnu)
7818 LD="${LD-ld} -m elf_i386_fbsd"
7819 ;;
7820 x86_64-*linux*)
7821 case `/usr/bin/file conftest.o` in
7822 *x86-64*)
7823 LD="${LD-ld} -m elf32_x86_64"
7824 ;;
7825 *)
7826 LD="${LD-ld} -m elf_i386"
7827 ;;
7828 esac
7829 ;;
7830 powerpc64le-*linux*)
7831 LD="${LD-ld} -m elf32lppclinux"
7832 ;;
7833 powerpc64-*linux*)
7834 LD="${LD-ld} -m elf32ppclinux"
7835 ;;
7836 s390x-*linux*)
7837 LD="${LD-ld} -m elf_s390"
7838 ;;
7839 sparc64-*linux*)
7840 LD="${LD-ld} -m elf32_sparc"
7841 ;;
7842 esac
7843 ;;
7844 *64-bit*)
7845 case $host in
7846 x86_64-*kfreebsd*-gnu)
7847 LD="${LD-ld} -m elf_x86_64_fbsd"
7848 ;;
7849 x86_64-*linux*)
7850 LD="${LD-ld} -m elf_x86_64"
7851 ;;
7852 powerpcle-*linux*)
7853 LD="${LD-ld} -m elf64lppc"
7854 ;;
7855 powerpc-*linux*)
7856 LD="${LD-ld} -m elf64ppc"
7857 ;;
7858 s390*-*linux*|s390*-*tpf*)
7859 LD="${LD-ld} -m elf64_s390"
7860 ;;
7861 sparc*-*linux*)
7862 LD="${LD-ld} -m elf64_sparc"
7863 ;;
7864 esac
7865 ;;
7866 esac
7867 fi
7868 rm -rf conftest*
7869 ;;
7870
7871 *-*-sco3.2v5*)
7872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7873 SAVE_CFLAGS="$CFLAGS"
7874 CFLAGS="$CFLAGS -belf"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7876 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7877 if ${lt_cv_cc_needs_belf+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 ac_ext=c
7881 ac_cpp='$CPP $CPPFLAGS'
7882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7885
7886 if test x$gcc_no_link = xyes; then
7887 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7888 fi
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891
7892 int
7893 main ()
7894 {
7895
7896 ;
7897 return 0;
7898 }
7899 _ACEOF
7900 if ac_fn_c_try_link "$LINENO"; then :
7901 lt_cv_cc_needs_belf=yes
7902 else
7903 lt_cv_cc_needs_belf=no
7904 fi
7905 rm -f core conftest.err conftest.$ac_objext \
7906 conftest$ac_exeext conftest.$ac_ext
7907 ac_ext=c
7908 ac_cpp='$CPP $CPPFLAGS'
7909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7912
7913 fi
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7915 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7916 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7917 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7918 CFLAGS="$SAVE_CFLAGS"
7919 fi
7920 ;;
7921 sparc*-*solaris*)
7922 # Find out which ABI we are using.
7923 echo 'int i;' > conftest.$ac_ext
7924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7925 (eval $ac_compile) 2>&5
7926 ac_status=$?
7927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7928 test $ac_status = 0; }; then
7929 case `/usr/bin/file conftest.o` in
7930 *64-bit*)
7931 case $lt_cv_prog_gnu_ld in
7932 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7933 *)
7934 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7935 LD="${LD-ld} -64"
7936 fi
7937 ;;
7938 esac
7939 ;;
7940 esac
7941 fi
7942 rm -rf conftest*
7943 ;;
7944 esac
7945
7946 need_locks="$enable_libtool_lock"
7947
7948
7949 case $host_os in
7950 rhapsody* | darwin*)
7951 if test -n "$ac_tool_prefix"; then
7952 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7953 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 if test -n "$DSYMUTIL"; then
7960 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7964 do
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7972 fi
7973 done
7974 done
7975 IFS=$as_save_IFS
7976
7977 fi
7978 fi
7979 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7980 if test -n "$DSYMUTIL"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7982 $as_echo "$DSYMUTIL" >&6; }
7983 else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7986 fi
7987
7988
7989 fi
7990 if test -z "$ac_cv_prog_DSYMUTIL"; then
7991 ac_ct_DSYMUTIL=$DSYMUTIL
7992 # Extract the first word of "dsymutil", so it can be a program name with args.
7993 set dummy dsymutil; ac_word=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7995 $as_echo_n "checking for $ac_word... " >&6; }
7996 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 if test -n "$ac_ct_DSYMUTIL"; then
8000 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8001 else
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 for as_dir in $PATH
8004 do
8005 IFS=$as_save_IFS
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8009 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 break 2
8012 fi
8013 done
8014 done
8015 IFS=$as_save_IFS
8016
8017 fi
8018 fi
8019 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8020 if test -n "$ac_ct_DSYMUTIL"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8022 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8023 else
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8026 fi
8027
8028 if test "x$ac_ct_DSYMUTIL" = x; then
8029 DSYMUTIL=":"
8030 else
8031 case $cross_compiling:$ac_tool_warned in
8032 yes:)
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8035 ac_tool_warned=yes ;;
8036 esac
8037 DSYMUTIL=$ac_ct_DSYMUTIL
8038 fi
8039 else
8040 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8041 fi
8042
8043 if test -n "$ac_tool_prefix"; then
8044 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8045 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_NMEDIT+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 if test -n "$NMEDIT"; then
8052 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8053 else
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $PATH
8056 do
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8064 fi
8065 done
8066 done
8067 IFS=$as_save_IFS
8068
8069 fi
8070 fi
8071 NMEDIT=$ac_cv_prog_NMEDIT
8072 if test -n "$NMEDIT"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8074 $as_echo "$NMEDIT" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8078 fi
8079
8080
8081 fi
8082 if test -z "$ac_cv_prog_NMEDIT"; then
8083 ac_ct_NMEDIT=$NMEDIT
8084 # Extract the first word of "nmedit", so it can be a program name with args.
8085 set dummy nmedit; ac_word=$2
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087 $as_echo_n "checking for $ac_word... " >&6; }
8088 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8089 $as_echo_n "(cached) " >&6
8090 else
8091 if test -n "$ac_ct_NMEDIT"; then
8092 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8093 else
8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 for as_dir in $PATH
8096 do
8097 IFS=$as_save_IFS
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8101 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8103 break 2
8104 fi
8105 done
8106 done
8107 IFS=$as_save_IFS
8108
8109 fi
8110 fi
8111 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8112 if test -n "$ac_ct_NMEDIT"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8114 $as_echo "$ac_ct_NMEDIT" >&6; }
8115 else
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8118 fi
8119
8120 if test "x$ac_ct_NMEDIT" = x; then
8121 NMEDIT=":"
8122 else
8123 case $cross_compiling:$ac_tool_warned in
8124 yes:)
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8127 ac_tool_warned=yes ;;
8128 esac
8129 NMEDIT=$ac_ct_NMEDIT
8130 fi
8131 else
8132 NMEDIT="$ac_cv_prog_NMEDIT"
8133 fi
8134
8135 if test -n "$ac_tool_prefix"; then
8136 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8137 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if ${ac_cv_prog_LIPO+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 if test -n "$LIPO"; then
8144 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8145 else
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147 for as_dir in $PATH
8148 do
8149 IFS=$as_save_IFS
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8153 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155 break 2
8156 fi
8157 done
8158 done
8159 IFS=$as_save_IFS
8160
8161 fi
8162 fi
8163 LIPO=$ac_cv_prog_LIPO
8164 if test -n "$LIPO"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8166 $as_echo "$LIPO" >&6; }
8167 else
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8170 fi
8171
8172
8173 fi
8174 if test -z "$ac_cv_prog_LIPO"; then
8175 ac_ct_LIPO=$LIPO
8176 # Extract the first word of "lipo", so it can be a program name with args.
8177 set dummy lipo; ac_word=$2
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8179 $as_echo_n "checking for $ac_word... " >&6; }
8180 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 if test -n "$ac_ct_LIPO"; then
8184 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8185 else
8186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 for as_dir in $PATH
8188 do
8189 IFS=$as_save_IFS
8190 test -z "$as_dir" && as_dir=.
8191 for ac_exec_ext in '' $ac_executable_extensions; do
8192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8193 ac_cv_prog_ac_ct_LIPO="lipo"
8194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8195 break 2
8196 fi
8197 done
8198 done
8199 IFS=$as_save_IFS
8200
8201 fi
8202 fi
8203 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8204 if test -n "$ac_ct_LIPO"; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8206 $as_echo "$ac_ct_LIPO" >&6; }
8207 else
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209 $as_echo "no" >&6; }
8210 fi
8211
8212 if test "x$ac_ct_LIPO" = x; then
8213 LIPO=":"
8214 else
8215 case $cross_compiling:$ac_tool_warned in
8216 yes:)
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8219 ac_tool_warned=yes ;;
8220 esac
8221 LIPO=$ac_ct_LIPO
8222 fi
8223 else
8224 LIPO="$ac_cv_prog_LIPO"
8225 fi
8226
8227 if test -n "$ac_tool_prefix"; then
8228 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8229 set dummy ${ac_tool_prefix}otool; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_OTOOL+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 if test -n "$OTOOL"; then
8236 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8240 do
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8248 fi
8249 done
8250 done
8251 IFS=$as_save_IFS
8252
8253 fi
8254 fi
8255 OTOOL=$ac_cv_prog_OTOOL
8256 if test -n "$OTOOL"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8258 $as_echo "$OTOOL" >&6; }
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8262 fi
8263
8264
8265 fi
8266 if test -z "$ac_cv_prog_OTOOL"; then
8267 ac_ct_OTOOL=$OTOOL
8268 # Extract the first word of "otool", so it can be a program name with args.
8269 set dummy otool; ac_word=$2
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8271 $as_echo_n "checking for $ac_word... " >&6; }
8272 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 if test -n "$ac_ct_OTOOL"; then
8276 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8277 else
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 for as_dir in $PATH
8280 do
8281 IFS=$as_save_IFS
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8285 ac_cv_prog_ac_ct_OTOOL="otool"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 break 2
8288 fi
8289 done
8290 done
8291 IFS=$as_save_IFS
8292
8293 fi
8294 fi
8295 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8296 if test -n "$ac_ct_OTOOL"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8298 $as_echo "$ac_ct_OTOOL" >&6; }
8299 else
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8302 fi
8303
8304 if test "x$ac_ct_OTOOL" = x; then
8305 OTOOL=":"
8306 else
8307 case $cross_compiling:$ac_tool_warned in
8308 yes:)
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8311 ac_tool_warned=yes ;;
8312 esac
8313 OTOOL=$ac_ct_OTOOL
8314 fi
8315 else
8316 OTOOL="$ac_cv_prog_OTOOL"
8317 fi
8318
8319 if test -n "$ac_tool_prefix"; then
8320 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8321 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8323 $as_echo_n "checking for $ac_word... " >&6; }
8324 if ${ac_cv_prog_OTOOL64+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 if test -n "$OTOOL64"; then
8328 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8329 else
8330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331 for as_dir in $PATH
8332 do
8333 IFS=$as_save_IFS
8334 test -z "$as_dir" && as_dir=.
8335 for ac_exec_ext in '' $ac_executable_extensions; do
8336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8337 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8339 break 2
8340 fi
8341 done
8342 done
8343 IFS=$as_save_IFS
8344
8345 fi
8346 fi
8347 OTOOL64=$ac_cv_prog_OTOOL64
8348 if test -n "$OTOOL64"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8350 $as_echo "$OTOOL64" >&6; }
8351 else
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8354 fi
8355
8356
8357 fi
8358 if test -z "$ac_cv_prog_OTOOL64"; then
8359 ac_ct_OTOOL64=$OTOOL64
8360 # Extract the first word of "otool64", so it can be a program name with args.
8361 set dummy otool64; ac_word=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 if test -n "$ac_ct_OTOOL64"; then
8368 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8369 else
8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 for as_dir in $PATH
8372 do
8373 IFS=$as_save_IFS
8374 test -z "$as_dir" && as_dir=.
8375 for ac_exec_ext in '' $ac_executable_extensions; do
8376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8377 ac_cv_prog_ac_ct_OTOOL64="otool64"
8378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8379 break 2
8380 fi
8381 done
8382 done
8383 IFS=$as_save_IFS
8384
8385 fi
8386 fi
8387 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8388 if test -n "$ac_ct_OTOOL64"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8390 $as_echo "$ac_ct_OTOOL64" >&6; }
8391 else
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393 $as_echo "no" >&6; }
8394 fi
8395
8396 if test "x$ac_ct_OTOOL64" = x; then
8397 OTOOL64=":"
8398 else
8399 case $cross_compiling:$ac_tool_warned in
8400 yes:)
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8403 ac_tool_warned=yes ;;
8404 esac
8405 OTOOL64=$ac_ct_OTOOL64
8406 fi
8407 else
8408 OTOOL64="$ac_cv_prog_OTOOL64"
8409 fi
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8438 $as_echo_n "checking for -single_module linker flag... " >&6; }
8439 if ${lt_cv_apple_cc_single_mod+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 lt_cv_apple_cc_single_mod=no
8443 if test -z "${LT_MULTI_MODULE}"; then
8444 # By default we will add the -single_module flag. You can override
8445 # by either setting the environment variable LT_MULTI_MODULE
8446 # non-empty at configure time, or by adding -multi_module to the
8447 # link flags.
8448 rm -rf libconftest.dylib*
8449 echo "int foo(void){return 1;}" > conftest.c
8450 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8451 -dynamiclib -Wl,-single_module conftest.c" >&5
8452 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8453 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8454 _lt_result=$?
8455 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8456 lt_cv_apple_cc_single_mod=yes
8457 else
8458 cat conftest.err >&5
8459 fi
8460 rm -rf libconftest.dylib*
8461 rm -f conftest.*
8462 fi
8463 fi
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8465 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 lt_cv_ld_exported_symbols_list=no
8472 save_LDFLAGS=$LDFLAGS
8473 echo "_main" > conftest.sym
8474 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8475 if test x$gcc_no_link = xyes; then
8476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8477 fi
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480
8481 int
8482 main ()
8483 {
8484
8485 ;
8486 return 0;
8487 }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 lt_cv_ld_exported_symbols_list=yes
8491 else
8492 lt_cv_ld_exported_symbols_list=no
8493 fi
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 LDFLAGS="$save_LDFLAGS"
8497
8498 fi
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8500 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8502 $as_echo_n "checking for -force_load linker flag... " >&6; }
8503 if ${lt_cv_ld_force_load+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 lt_cv_ld_force_load=no
8507 cat > conftest.c << _LT_EOF
8508 int forced_loaded() { return 2;}
8509 _LT_EOF
8510 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8511 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8512 echo "$AR cru libconftest.a conftest.o" >&5
8513 $AR cru libconftest.a conftest.o 2>&5
8514 cat > conftest.c << _LT_EOF
8515 int main() { return 0;}
8516 _LT_EOF
8517 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8518 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8519 _lt_result=$?
8520 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8521 lt_cv_ld_force_load=yes
8522 else
8523 cat conftest.err >&5
8524 fi
8525 rm -f conftest.err libconftest.a conftest conftest.c
8526 rm -rf conftest.dSYM
8527
8528 fi
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8530 $as_echo "$lt_cv_ld_force_load" >&6; }
8531 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8532 # build without first building modern cctools / linker.
8533 case $host_cpu-$host_os in
8534 *-rhapsody* | *-darwin1.[012])
8535 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8536 *-darwin1.*)
8537 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8538 *-darwin*)
8539 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8540 # deployment target is forced to an earlier version.
8541 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8542 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8543 ;;
8544 10.[012][,.]*)
8545 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8546 ;;
8547 *)
8548 ;;
8549 esac
8550 ;;
8551 esac
8552 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8553 _lt_dar_single_mod='$single_module'
8554 fi
8555 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8556 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8557 else
8558 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8559 fi
8560 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8561 _lt_dsymutil='~$DSYMUTIL $lib || :'
8562 else
8563 _lt_dsymutil=
8564 fi
8565 ;;
8566 esac
8567
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8569 $as_echo_n "checking for ANSI C header files... " >&6; }
8570 if ${ac_cv_header_stdc+:} false; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 #include <stdlib.h>
8576 #include <stdarg.h>
8577 #include <string.h>
8578 #include <float.h>
8579
8580 int
8581 main ()
8582 {
8583
8584 ;
8585 return 0;
8586 }
8587 _ACEOF
8588 if ac_fn_c_try_compile "$LINENO"; then :
8589 ac_cv_header_stdc=yes
8590 else
8591 ac_cv_header_stdc=no
8592 fi
8593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8594
8595 if test $ac_cv_header_stdc = yes; then
8596 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8599 #include <string.h>
8600
8601 _ACEOF
8602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8603 $EGREP "memchr" >/dev/null 2>&1; then :
8604
8605 else
8606 ac_cv_header_stdc=no
8607 fi
8608 rm -f conftest*
8609
8610 fi
8611
8612 if test $ac_cv_header_stdc = yes; then
8613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 #include <stdlib.h>
8617
8618 _ACEOF
8619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8620 $EGREP "free" >/dev/null 2>&1; then :
8621
8622 else
8623 ac_cv_header_stdc=no
8624 fi
8625 rm -f conftest*
8626
8627 fi
8628
8629 if test $ac_cv_header_stdc = yes; then
8630 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8631 if test "$cross_compiling" = yes; then :
8632 :
8633 else
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #include <ctype.h>
8637 #include <stdlib.h>
8638 #if ((' ' & 0x0FF) == 0x020)
8639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8641 #else
8642 # define ISLOWER(c) \
8643 (('a' <= (c) && (c) <= 'i') \
8644 || ('j' <= (c) && (c) <= 'r') \
8645 || ('s' <= (c) && (c) <= 'z'))
8646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8647 #endif
8648
8649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8650 int
8651 main ()
8652 {
8653 int i;
8654 for (i = 0; i < 256; i++)
8655 if (XOR (islower (i), ISLOWER (i))
8656 || toupper (i) != TOUPPER (i))
8657 return 2;
8658 return 0;
8659 }
8660 _ACEOF
8661 if ac_fn_c_try_run "$LINENO"; then :
8662
8663 else
8664 ac_cv_header_stdc=no
8665 fi
8666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8667 conftest.$ac_objext conftest.beam conftest.$ac_ext
8668 fi
8669
8670 fi
8671 fi
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8673 $as_echo "$ac_cv_header_stdc" >&6; }
8674 if test $ac_cv_header_stdc = yes; then
8675
8676 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8677
8678 fi
8679
8680 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8681 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8682 inttypes.h stdint.h unistd.h
8683 do :
8684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8686 "
8687 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8688 cat >>confdefs.h <<_ACEOF
8689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8690 _ACEOF
8691
8692 fi
8693
8694 done
8695
8696
8697 for ac_header in dlfcn.h
8698 do :
8699 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8700 "
8701 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8702 cat >>confdefs.h <<_ACEOF
8703 #define HAVE_DLFCN_H 1
8704 _ACEOF
8705
8706 fi
8707
8708 done
8709
8710
8711
8712
8713
8714
8715 # Set options
8716
8717
8718
8719
8720 enable_win32_dll=no
8721
8722
8723 # Check whether --enable-shared was given.
8724 if test "${enable_shared+set}" = set; then :
8725 enableval=$enable_shared; p=${PACKAGE-default}
8726 case $enableval in
8727 yes) enable_shared=yes ;;
8728 no) enable_shared=no ;;
8729 *)
8730 enable_shared=no
8731 # Look at the argument we got. We use all the common list separators.
8732 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8733 for pkg in $enableval; do
8734 IFS="$lt_save_ifs"
8735 if test "X$pkg" = "X$p"; then
8736 enable_shared=yes
8737 fi
8738 done
8739 IFS="$lt_save_ifs"
8740 ;;
8741 esac
8742 else
8743 enable_shared=yes
8744 fi
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754 # Check whether --enable-static was given.
8755 if test "${enable_static+set}" = set; then :
8756 enableval=$enable_static; p=${PACKAGE-default}
8757 case $enableval in
8758 yes) enable_static=yes ;;
8759 no) enable_static=no ;;
8760 *)
8761 enable_static=no
8762 # Look at the argument we got. We use all the common list separators.
8763 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8764 for pkg in $enableval; do
8765 IFS="$lt_save_ifs"
8766 if test "X$pkg" = "X$p"; then
8767 enable_static=yes
8768 fi
8769 done
8770 IFS="$lt_save_ifs"
8771 ;;
8772 esac
8773 else
8774 enable_static=yes
8775 fi
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786 # Check whether --with-pic was given.
8787 if test "${with_pic+set}" = set; then :
8788 withval=$with_pic; pic_mode="$withval"
8789 else
8790 pic_mode=default
8791 fi
8792
8793
8794 test -z "$pic_mode" && pic_mode=default
8795
8796
8797
8798
8799
8800
8801
8802 # Check whether --enable-fast-install was given.
8803 if test "${enable_fast_install+set}" = set; then :
8804 enableval=$enable_fast_install; p=${PACKAGE-default}
8805 case $enableval in
8806 yes) enable_fast_install=yes ;;
8807 no) enable_fast_install=no ;;
8808 *)
8809 enable_fast_install=no
8810 # Look at the argument we got. We use all the common list separators.
8811 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8812 for pkg in $enableval; do
8813 IFS="$lt_save_ifs"
8814 if test "X$pkg" = "X$p"; then
8815 enable_fast_install=yes
8816 fi
8817 done
8818 IFS="$lt_save_ifs"
8819 ;;
8820 esac
8821 else
8822 enable_fast_install=yes
8823 fi
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835 # This can be used to rebuild libtool when needed
8836 LIBTOOL_DEPS="$ltmain"
8837
8838 # Always use our own libtool.
8839 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866 test -z "$LN_S" && LN_S="ln -s"
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881 if test -n "${ZSH_VERSION+set}" ; then
8882 setopt NO_GLOB_SUBST
8883 fi
8884
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8886 $as_echo_n "checking for objdir... " >&6; }
8887 if ${lt_cv_objdir+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 rm -f .libs 2>/dev/null
8891 mkdir .libs 2>/dev/null
8892 if test -d .libs; then
8893 lt_cv_objdir=.libs
8894 else
8895 # MS-DOS does not allow filenames that begin with a dot.
8896 lt_cv_objdir=_libs
8897 fi
8898 rmdir .libs 2>/dev/null
8899 fi
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8901 $as_echo "$lt_cv_objdir" >&6; }
8902 objdir=$lt_cv_objdir
8903
8904
8905
8906
8907
8908 cat >>confdefs.h <<_ACEOF
8909 #define LT_OBJDIR "$lt_cv_objdir/"
8910 _ACEOF
8911
8912
8913
8914
8915 case $host_os in
8916 aix3*)
8917 # AIX sometimes has problems with the GCC collect2 program. For some
8918 # reason, if we set the COLLECT_NAMES environment variable, the problems
8919 # vanish in a puff of smoke.
8920 if test "X${COLLECT_NAMES+set}" != Xset; then
8921 COLLECT_NAMES=
8922 export COLLECT_NAMES
8923 fi
8924 ;;
8925 esac
8926
8927 # Global variables:
8928 ofile=libtool
8929 can_build_shared=yes
8930
8931 # All known linkers require a `.a' archive for static linking (except MSVC,
8932 # which needs '.lib').
8933 libext=a
8934
8935 with_gnu_ld="$lt_cv_prog_gnu_ld"
8936
8937 old_CC="$CC"
8938 old_CFLAGS="$CFLAGS"
8939
8940 # Set sane defaults for various variables
8941 test -z "$CC" && CC=cc
8942 test -z "$LTCC" && LTCC=$CC
8943 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8944 test -z "$LD" && LD=ld
8945 test -z "$ac_objext" && ac_objext=o
8946
8947 for cc_temp in $compiler""; do
8948 case $cc_temp in
8949 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8950 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8951 \-*) ;;
8952 *) break;;
8953 esac
8954 done
8955 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8956
8957
8958 # Only perform the check for file, if the check method requires it
8959 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8960 case $deplibs_check_method in
8961 file_magic*)
8962 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8964 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8965 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8966 $as_echo_n "(cached) " >&6
8967 else
8968 case $MAGIC_CMD in
8969 [\\/*] | ?:[\\/]*)
8970 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8971 ;;
8972 *)
8973 lt_save_MAGIC_CMD="$MAGIC_CMD"
8974 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8975 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8976 for ac_dir in $ac_dummy; do
8977 IFS="$lt_save_ifs"
8978 test -z "$ac_dir" && ac_dir=.
8979 if test -f $ac_dir/${ac_tool_prefix}file; then
8980 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8981 if test -n "$file_magic_test_file"; then
8982 case $deplibs_check_method in
8983 "file_magic "*)
8984 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8986 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8987 $EGREP "$file_magic_regex" > /dev/null; then
8988 :
8989 else
8990 cat <<_LT_EOF 1>&2
8991
8992 *** Warning: the command libtool uses to detect shared libraries,
8993 *** $file_magic_cmd, produces output that libtool cannot recognize.
8994 *** The result is that libtool may fail to recognize shared libraries
8995 *** as such. This will affect the creation of libtool libraries that
8996 *** depend on shared libraries, but programs linked with such libtool
8997 *** libraries will work regardless of this problem. Nevertheless, you
8998 *** may want to report the problem to your system manager and/or to
8999 *** bug-libtool@gnu.org
9000
9001 _LT_EOF
9002 fi ;;
9003 esac
9004 fi
9005 break
9006 fi
9007 done
9008 IFS="$lt_save_ifs"
9009 MAGIC_CMD="$lt_save_MAGIC_CMD"
9010 ;;
9011 esac
9012 fi
9013
9014 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9015 if test -n "$MAGIC_CMD"; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9017 $as_echo "$MAGIC_CMD" >&6; }
9018 else
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9021 fi
9022
9023
9024
9025
9026
9027 if test -z "$lt_cv_path_MAGIC_CMD"; then
9028 if test -n "$ac_tool_prefix"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9030 $as_echo_n "checking for file... " >&6; }
9031 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9032 $as_echo_n "(cached) " >&6
9033 else
9034 case $MAGIC_CMD in
9035 [\\/*] | ?:[\\/]*)
9036 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9037 ;;
9038 *)
9039 lt_save_MAGIC_CMD="$MAGIC_CMD"
9040 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9041 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9042 for ac_dir in $ac_dummy; do
9043 IFS="$lt_save_ifs"
9044 test -z "$ac_dir" && ac_dir=.
9045 if test -f $ac_dir/file; then
9046 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9047 if test -n "$file_magic_test_file"; then
9048 case $deplibs_check_method in
9049 "file_magic "*)
9050 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9053 $EGREP "$file_magic_regex" > /dev/null; then
9054 :
9055 else
9056 cat <<_LT_EOF 1>&2
9057
9058 *** Warning: the command libtool uses to detect shared libraries,
9059 *** $file_magic_cmd, produces output that libtool cannot recognize.
9060 *** The result is that libtool may fail to recognize shared libraries
9061 *** as such. This will affect the creation of libtool libraries that
9062 *** depend on shared libraries, but programs linked with such libtool
9063 *** libraries will work regardless of this problem. Nevertheless, you
9064 *** may want to report the problem to your system manager and/or to
9065 *** bug-libtool@gnu.org
9066
9067 _LT_EOF
9068 fi ;;
9069 esac
9070 fi
9071 break
9072 fi
9073 done
9074 IFS="$lt_save_ifs"
9075 MAGIC_CMD="$lt_save_MAGIC_CMD"
9076 ;;
9077 esac
9078 fi
9079
9080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9081 if test -n "$MAGIC_CMD"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9083 $as_echo "$MAGIC_CMD" >&6; }
9084 else
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9086 $as_echo "no" >&6; }
9087 fi
9088
9089
9090 else
9091 MAGIC_CMD=:
9092 fi
9093 fi
9094
9095 fi
9096 ;;
9097 esac
9098
9099 # Use C for the default configuration in the libtool script
9100
9101 lt_save_CC="$CC"
9102 ac_ext=c
9103 ac_cpp='$CPP $CPPFLAGS'
9104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9107
9108
9109 # Source file extension for C test sources.
9110 ac_ext=c
9111
9112 # Object file extension for compiled C test sources.
9113 objext=o
9114 objext=$objext
9115
9116 # Code to be used in simple compile tests
9117 lt_simple_compile_test_code="int some_variable = 0;"
9118
9119 # Code to be used in simple link tests
9120 lt_simple_link_test_code='int main(){return(0);}'
9121
9122
9123
9124
9125
9126
9127
9128 # If no C compiler was specified, use CC.
9129 LTCC=${LTCC-"$CC"}
9130
9131 # If no C compiler flags were specified, use CFLAGS.
9132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9133
9134 # Allow CC to be a program name with arguments.
9135 compiler=$CC
9136
9137 # Save the default compiler, since it gets overwritten when the other
9138 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9139 compiler_DEFAULT=$CC
9140
9141 # save warnings/boilerplate of simple test code
9142 ac_outfile=conftest.$ac_objext
9143 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9144 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9145 _lt_compiler_boilerplate=`cat conftest.err`
9146 $RM conftest*
9147
9148 ac_outfile=conftest.$ac_objext
9149 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9150 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9151 _lt_linker_boilerplate=`cat conftest.err`
9152 $RM -r conftest*
9153
9154
9155 ## CAVEAT EMPTOR:
9156 ## There is no encapsulation within the following macros, do not change
9157 ## the running order or otherwise move them around unless you know exactly
9158 ## what you are doing...
9159 if test -n "$compiler"; then
9160
9161 lt_prog_compiler_no_builtin_flag=
9162
9163 if test "$GCC" = yes; then
9164 case $cc_basename in
9165 nvcc*)
9166 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9167 *)
9168 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9169 esac
9170
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9172 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9173 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 lt_cv_prog_compiler_rtti_exceptions=no
9177 ac_outfile=conftest.$ac_objext
9178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9179 lt_compiler_flag="-fno-rtti -fno-exceptions"
9180 # Insert the option either (1) after the last *FLAGS variable, or
9181 # (2) before a word containing "conftest.", or (3) at the end.
9182 # Note that $ac_compile itself does not contain backslashes and begins
9183 # with a dollar sign (not a hyphen), so the echo should work correctly.
9184 # The option is referenced via a variable to avoid confusing sed.
9185 lt_compile=`echo "$ac_compile" | $SED \
9186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9188 -e 's:$: $lt_compiler_flag:'`
9189 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9190 (eval "$lt_compile" 2>conftest.err)
9191 ac_status=$?
9192 cat conftest.err >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 if (exit $ac_status) && test -s "$ac_outfile"; then
9195 # The compiler can only warn and ignore the option if not recognized
9196 # So say no if there are warnings other than the usual output.
9197 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9198 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9199 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9200 lt_cv_prog_compiler_rtti_exceptions=yes
9201 fi
9202 fi
9203 $RM conftest*
9204
9205 fi
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9207 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9208
9209 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9210 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9211 else
9212 :
9213 fi
9214
9215 fi
9216
9217
9218
9219
9220
9221
9222 lt_prog_compiler_wl=
9223 lt_prog_compiler_pic=
9224 lt_prog_compiler_static=
9225
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9227 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9228
9229 if test "$GCC" = yes; then
9230 lt_prog_compiler_wl='-Wl,'
9231 lt_prog_compiler_static='-static'
9232
9233 case $host_os in
9234 aix*)
9235 # All AIX code is PIC.
9236 if test "$host_cpu" = ia64; then
9237 # AIX 5 now supports IA64 processor
9238 lt_prog_compiler_static='-Bstatic'
9239 fi
9240 lt_prog_compiler_pic='-fPIC'
9241 ;;
9242
9243 amigaos*)
9244 case $host_cpu in
9245 powerpc)
9246 # see comment about AmigaOS4 .so support
9247 lt_prog_compiler_pic='-fPIC'
9248 ;;
9249 m68k)
9250 # FIXME: we need at least 68020 code to build shared libraries, but
9251 # adding the `-m68020' flag to GCC prevents building anything better,
9252 # like `-m68040'.
9253 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9254 ;;
9255 esac
9256 ;;
9257
9258 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9259 # PIC is the default for these OSes.
9260 ;;
9261
9262 mingw* | cygwin* | pw32* | os2* | cegcc*)
9263 # This hack is so that the source file can tell whether it is being
9264 # built for inclusion in a dll (and should export symbols for example).
9265 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9266 # (--disable-auto-import) libraries
9267 lt_prog_compiler_pic='-DDLL_EXPORT'
9268 ;;
9269
9270 darwin* | rhapsody*)
9271 # PIC is the default on this platform
9272 # Common symbols not allowed in MH_DYLIB files
9273 lt_prog_compiler_pic='-fno-common'
9274 ;;
9275
9276 haiku*)
9277 # PIC is the default for Haiku.
9278 # The "-static" flag exists, but is broken.
9279 lt_prog_compiler_static=
9280 ;;
9281
9282 hpux*)
9283 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9284 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9285 # sets the default TLS model and affects inlining.
9286 case $host_cpu in
9287 hppa*64*)
9288 # +Z the default
9289 ;;
9290 *)
9291 lt_prog_compiler_pic='-fPIC'
9292 ;;
9293 esac
9294 ;;
9295
9296 interix[3-9]*)
9297 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9298 # Instead, we relocate shared libraries at runtime.
9299 ;;
9300
9301 msdosdjgpp*)
9302 # Just because we use GCC doesn't mean we suddenly get shared libraries
9303 # on systems that don't support them.
9304 lt_prog_compiler_can_build_shared=no
9305 enable_shared=no
9306 ;;
9307
9308 *nto* | *qnx*)
9309 # QNX uses GNU C++, but need to define -shared option too, otherwise
9310 # it will coredump.
9311 lt_prog_compiler_pic='-fPIC -shared'
9312 ;;
9313
9314 sysv4*MP*)
9315 if test -d /usr/nec; then
9316 lt_prog_compiler_pic=-Kconform_pic
9317 fi
9318 ;;
9319
9320 *)
9321 lt_prog_compiler_pic='-fPIC'
9322 ;;
9323 esac
9324
9325 case $cc_basename in
9326 nvcc*) # Cuda Compiler Driver 2.2
9327 lt_prog_compiler_wl='-Xlinker '
9328 lt_prog_compiler_pic='-Xcompiler -fPIC'
9329 ;;
9330 esac
9331 else
9332 # PORTME Check for flag to pass linker flags through the system compiler.
9333 case $host_os in
9334 aix*)
9335 lt_prog_compiler_wl='-Wl,'
9336 if test "$host_cpu" = ia64; then
9337 # AIX 5 now supports IA64 processor
9338 lt_prog_compiler_static='-Bstatic'
9339 else
9340 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9341 fi
9342 ;;
9343
9344 mingw* | cygwin* | pw32* | os2* | cegcc*)
9345 # This hack is so that the source file can tell whether it is being
9346 # built for inclusion in a dll (and should export symbols for example).
9347 lt_prog_compiler_pic='-DDLL_EXPORT'
9348 ;;
9349
9350 hpux9* | hpux10* | hpux11*)
9351 lt_prog_compiler_wl='-Wl,'
9352 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9353 # not for PA HP-UX.
9354 case $host_cpu in
9355 hppa*64*|ia64*)
9356 # +Z the default
9357 ;;
9358 *)
9359 lt_prog_compiler_pic='+Z'
9360 ;;
9361 esac
9362 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9363 lt_prog_compiler_static='${wl}-a ${wl}archive'
9364 ;;
9365
9366 irix5* | irix6* | nonstopux*)
9367 lt_prog_compiler_wl='-Wl,'
9368 # PIC (with -KPIC) is the default.
9369 lt_prog_compiler_static='-non_shared'
9370 ;;
9371
9372 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9373 case $cc_basename in
9374 # old Intel for x86_64 which still supported -KPIC.
9375 ecc*)
9376 lt_prog_compiler_wl='-Wl,'
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-static'
9379 ;;
9380 # icc used to be incompatible with GCC.
9381 # ICC 10 doesn't accept -KPIC any more.
9382 icc* | ifort*)
9383 lt_prog_compiler_wl='-Wl,'
9384 lt_prog_compiler_pic='-fPIC'
9385 lt_prog_compiler_static='-static'
9386 ;;
9387 # Lahey Fortran 8.1.
9388 lf95*)
9389 lt_prog_compiler_wl='-Wl,'
9390 lt_prog_compiler_pic='--shared'
9391 lt_prog_compiler_static='--static'
9392 ;;
9393 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9394 # Portland Group compilers (*not* the Pentium gcc compiler,
9395 # which looks to be a dead project)
9396 lt_prog_compiler_wl='-Wl,'
9397 lt_prog_compiler_pic='-fpic'
9398 lt_prog_compiler_static='-Bstatic'
9399 ;;
9400 ccc*)
9401 lt_prog_compiler_wl='-Wl,'
9402 # All Alpha code is PIC.
9403 lt_prog_compiler_static='-non_shared'
9404 ;;
9405 xl* | bgxl* | bgf* | mpixl*)
9406 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9407 lt_prog_compiler_wl='-Wl,'
9408 lt_prog_compiler_pic='-qpic'
9409 lt_prog_compiler_static='-qstaticlink'
9410 ;;
9411 *)
9412 case `$CC -V 2>&1 | sed 5q` in
9413 *Sun\ F* | *Sun*Fortran*)
9414 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9415 lt_prog_compiler_pic='-KPIC'
9416 lt_prog_compiler_static='-Bstatic'
9417 lt_prog_compiler_wl=''
9418 ;;
9419 *Sun\ C*)
9420 # Sun C 5.9
9421 lt_prog_compiler_pic='-KPIC'
9422 lt_prog_compiler_static='-Bstatic'
9423 lt_prog_compiler_wl='-Wl,'
9424 ;;
9425 esac
9426 ;;
9427 esac
9428 ;;
9429
9430 newsos6)
9431 lt_prog_compiler_pic='-KPIC'
9432 lt_prog_compiler_static='-Bstatic'
9433 ;;
9434
9435 *nto* | *qnx*)
9436 # QNX uses GNU C++, but need to define -shared option too, otherwise
9437 # it will coredump.
9438 lt_prog_compiler_pic='-fPIC -shared'
9439 ;;
9440
9441 osf3* | osf4* | osf5*)
9442 lt_prog_compiler_wl='-Wl,'
9443 # All OSF/1 code is PIC.
9444 lt_prog_compiler_static='-non_shared'
9445 ;;
9446
9447 rdos*)
9448 lt_prog_compiler_static='-non_shared'
9449 ;;
9450
9451 solaris*)
9452 lt_prog_compiler_pic='-KPIC'
9453 lt_prog_compiler_static='-Bstatic'
9454 case $cc_basename in
9455 f77* | f90* | f95*)
9456 lt_prog_compiler_wl='-Qoption ld ';;
9457 *)
9458 lt_prog_compiler_wl='-Wl,';;
9459 esac
9460 ;;
9461
9462 sunos4*)
9463 lt_prog_compiler_wl='-Qoption ld '
9464 lt_prog_compiler_pic='-PIC'
9465 lt_prog_compiler_static='-Bstatic'
9466 ;;
9467
9468 sysv4 | sysv4.2uw2* | sysv4.3*)
9469 lt_prog_compiler_wl='-Wl,'
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9472 ;;
9473
9474 sysv4*MP*)
9475 if test -d /usr/nec ;then
9476 lt_prog_compiler_pic='-Kconform_pic'
9477 lt_prog_compiler_static='-Bstatic'
9478 fi
9479 ;;
9480
9481 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9482 lt_prog_compiler_wl='-Wl,'
9483 lt_prog_compiler_pic='-KPIC'
9484 lt_prog_compiler_static='-Bstatic'
9485 ;;
9486
9487 unicos*)
9488 lt_prog_compiler_wl='-Wl,'
9489 lt_prog_compiler_can_build_shared=no
9490 ;;
9491
9492 uts4*)
9493 lt_prog_compiler_pic='-pic'
9494 lt_prog_compiler_static='-Bstatic'
9495 ;;
9496
9497 *)
9498 lt_prog_compiler_can_build_shared=no
9499 ;;
9500 esac
9501 fi
9502
9503 case $host_os in
9504 # For platforms which do not support PIC, -DPIC is meaningless:
9505 *djgpp*)
9506 lt_prog_compiler_pic=
9507 ;;
9508 *)
9509 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9510 ;;
9511 esac
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9513 $as_echo "$lt_prog_compiler_pic" >&6; }
9514
9515
9516
9517
9518
9519
9520 #
9521 # Check to make sure the PIC flag actually works.
9522 #
9523 if test -n "$lt_prog_compiler_pic"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9525 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9526 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 lt_cv_prog_compiler_pic_works=no
9530 ac_outfile=conftest.$ac_objext
9531 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9532 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9533 # Insert the option either (1) after the last *FLAGS variable, or
9534 # (2) before a word containing "conftest.", or (3) at the end.
9535 # Note that $ac_compile itself does not contain backslashes and begins
9536 # with a dollar sign (not a hyphen), so the echo should work correctly.
9537 # The option is referenced via a variable to avoid confusing sed.
9538 lt_compile=`echo "$ac_compile" | $SED \
9539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9541 -e 's:$: $lt_compiler_flag:'`
9542 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9543 (eval "$lt_compile" 2>conftest.err)
9544 ac_status=$?
9545 cat conftest.err >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 if (exit $ac_status) && test -s "$ac_outfile"; then
9548 # The compiler can only warn and ignore the option if not recognized
9549 # So say no if there are warnings other than the usual output.
9550 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9552 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9553 lt_cv_prog_compiler_pic_works=yes
9554 fi
9555 fi
9556 $RM conftest*
9557
9558 fi
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9560 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9561
9562 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9563 case $lt_prog_compiler_pic in
9564 "" | " "*) ;;
9565 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9566 esac
9567 else
9568 lt_prog_compiler_pic=
9569 lt_prog_compiler_can_build_shared=no
9570 fi
9571
9572 fi
9573
9574
9575
9576
9577
9578
9579 #
9580 # Check to make sure the static flag actually works.
9581 #
9582 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9584 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9585 if ${lt_cv_prog_compiler_static_works+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 lt_cv_prog_compiler_static_works=no
9589 save_LDFLAGS="$LDFLAGS"
9590 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9591 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9592 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9593 # The linker can only warn and ignore the option if not recognized
9594 # So say no if there are warnings
9595 if test -s conftest.err; then
9596 # Append any errors to the config.log.
9597 cat conftest.err 1>&5
9598 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9599 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9600 if diff conftest.exp conftest.er2 >/dev/null; then
9601 lt_cv_prog_compiler_static_works=yes
9602 fi
9603 else
9604 lt_cv_prog_compiler_static_works=yes
9605 fi
9606 fi
9607 $RM -r conftest*
9608 LDFLAGS="$save_LDFLAGS"
9609
9610 fi
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9612 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9613
9614 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9615 :
9616 else
9617 lt_prog_compiler_static=
9618 fi
9619
9620
9621
9622
9623
9624
9625
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9628 if ${lt_cv_prog_compiler_c_o+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 lt_cv_prog_compiler_c_o=no
9632 $RM -r conftest 2>/dev/null
9633 mkdir conftest
9634 cd conftest
9635 mkdir out
9636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9637
9638 lt_compiler_flag="-o out/conftest2.$ac_objext"
9639 # Insert the option either (1) after the last *FLAGS variable, or
9640 # (2) before a word containing "conftest.", or (3) at the end.
9641 # Note that $ac_compile itself does not contain backslashes and begins
9642 # with a dollar sign (not a hyphen), so the echo should work correctly.
9643 lt_compile=`echo "$ac_compile" | $SED \
9644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9646 -e 's:$: $lt_compiler_flag:'`
9647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9648 (eval "$lt_compile" 2>out/conftest.err)
9649 ac_status=$?
9650 cat out/conftest.err >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9653 then
9654 # The compiler can only warn and ignore the option if not recognized
9655 # So say no if there are warnings
9656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9657 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9658 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9659 lt_cv_prog_compiler_c_o=yes
9660 fi
9661 fi
9662 chmod u+w . 2>&5
9663 $RM conftest*
9664 # SGI C++ compiler will create directory out/ii_files/ for
9665 # template instantiation
9666 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9667 $RM out/* && rmdir out
9668 cd ..
9669 $RM -r conftest
9670 $RM conftest*
9671
9672 fi
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9674 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9675
9676
9677
9678
9679
9680
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9682 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9683 if ${lt_cv_prog_compiler_c_o+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 lt_cv_prog_compiler_c_o=no
9687 $RM -r conftest 2>/dev/null
9688 mkdir conftest
9689 cd conftest
9690 mkdir out
9691 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9692
9693 lt_compiler_flag="-o out/conftest2.$ac_objext"
9694 # Insert the option either (1) after the last *FLAGS variable, or
9695 # (2) before a word containing "conftest.", or (3) at the end.
9696 # Note that $ac_compile itself does not contain backslashes and begins
9697 # with a dollar sign (not a hyphen), so the echo should work correctly.
9698 lt_compile=`echo "$ac_compile" | $SED \
9699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9701 -e 's:$: $lt_compiler_flag:'`
9702 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9703 (eval "$lt_compile" 2>out/conftest.err)
9704 ac_status=$?
9705 cat out/conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9708 then
9709 # The compiler can only warn and ignore the option if not recognized
9710 # So say no if there are warnings
9711 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9712 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9713 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9714 lt_cv_prog_compiler_c_o=yes
9715 fi
9716 fi
9717 chmod u+w . 2>&5
9718 $RM conftest*
9719 # SGI C++ compiler will create directory out/ii_files/ for
9720 # template instantiation
9721 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9722 $RM out/* && rmdir out
9723 cd ..
9724 $RM -r conftest
9725 $RM conftest*
9726
9727 fi
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9729 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9730
9731
9732
9733
9734 hard_links="nottested"
9735 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9736 # do not overwrite the value of need_locks provided by the user
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9738 $as_echo_n "checking if we can lock with hard links... " >&6; }
9739 hard_links=yes
9740 $RM conftest*
9741 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9742 touch conftest.a
9743 ln conftest.a conftest.b 2>&5 || hard_links=no
9744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9746 $as_echo "$hard_links" >&6; }
9747 if test "$hard_links" = no; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9749 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9750 need_locks=warn
9751 fi
9752 else
9753 need_locks=no
9754 fi
9755
9756
9757
9758
9759
9760
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9763
9764 runpath_var=
9765 allow_undefined_flag=
9766 always_export_symbols=no
9767 archive_cmds=
9768 archive_expsym_cmds=
9769 compiler_needs_object=no
9770 enable_shared_with_static_runtimes=no
9771 export_dynamic_flag_spec=
9772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9773 hardcode_automatic=no
9774 hardcode_direct=no
9775 hardcode_direct_absolute=no
9776 hardcode_libdir_flag_spec=
9777 hardcode_libdir_flag_spec_ld=
9778 hardcode_libdir_separator=
9779 hardcode_minus_L=no
9780 hardcode_shlibpath_var=unsupported
9781 inherit_rpath=no
9782 link_all_deplibs=unknown
9783 module_cmds=
9784 module_expsym_cmds=
9785 old_archive_from_new_cmds=
9786 old_archive_from_expsyms_cmds=
9787 thread_safe_flag_spec=
9788 whole_archive_flag_spec=
9789 # include_expsyms should be a list of space-separated symbols to be *always*
9790 # included in the symbol list
9791 include_expsyms=
9792 # exclude_expsyms can be an extended regexp of symbols to exclude
9793 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9794 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9795 # as well as any symbol that contains `d'.
9796 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9797 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9798 # platforms (ab)use it in PIC code, but their linkers get confused if
9799 # the symbol is explicitly referenced. Since portable code cannot
9800 # rely on this symbol name, it's probably fine to never include it in
9801 # preloaded symbol tables.
9802 # Exclude shared library initialization/finalization symbols.
9803 extract_expsyms_cmds=
9804
9805 case $host_os in
9806 cygwin* | mingw* | pw32* | cegcc*)
9807 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9808 # When not using gcc, we currently assume that we are using
9809 # Microsoft Visual C++.
9810 if test "$GCC" != yes; then
9811 with_gnu_ld=no
9812 fi
9813 ;;
9814 interix*)
9815 # we just hope/assume this is gcc and not c89 (= MSVC++)
9816 with_gnu_ld=yes
9817 ;;
9818 openbsd*)
9819 with_gnu_ld=no
9820 ;;
9821 esac
9822
9823 ld_shlibs=yes
9824
9825 # On some targets, GNU ld is compatible enough with the native linker
9826 # that we're better off using the native interface for both.
9827 lt_use_gnu_ld_interface=no
9828 if test "$with_gnu_ld" = yes; then
9829 case $host_os in
9830 aix*)
9831 # The AIX port of GNU ld has always aspired to compatibility
9832 # with the native linker. However, as the warning in the GNU ld
9833 # block says, versions before 2.19.5* couldn't really create working
9834 # shared libraries, regardless of the interface used.
9835 case `$LD -v 2>&1` in
9836 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9837 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9838 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9839 *)
9840 lt_use_gnu_ld_interface=yes
9841 ;;
9842 esac
9843 ;;
9844 *)
9845 lt_use_gnu_ld_interface=yes
9846 ;;
9847 esac
9848 fi
9849
9850 if test "$lt_use_gnu_ld_interface" = yes; then
9851 # If archive_cmds runs LD, not CC, wlarc should be empty
9852 wlarc='${wl}'
9853
9854 # Set some defaults for GNU ld with shared library support. These
9855 # are reset later if shared libraries are not supported. Putting them
9856 # here allows them to be overridden if necessary.
9857 runpath_var=LD_RUN_PATH
9858 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859 export_dynamic_flag_spec='${wl}--export-dynamic'
9860 # ancient GNU ld didn't support --whole-archive et. al.
9861 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9862 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9863 else
9864 whole_archive_flag_spec=
9865 fi
9866 supports_anon_versioning=no
9867 case `$LD -v 2>&1` in
9868 *GNU\ gold*) supports_anon_versioning=yes ;;
9869 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9870 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9871 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9872 *\ 2.11.*) ;; # other 2.11 versions
9873 *) supports_anon_versioning=yes ;;
9874 esac
9875
9876 # See if GNU ld supports shared libraries.
9877 case $host_os in
9878 aix[3-9]*)
9879 # On AIX/PPC, the GNU linker is very broken
9880 if test "$host_cpu" != ia64; then
9881 ld_shlibs=no
9882 cat <<_LT_EOF 1>&2
9883
9884 *** Warning: the GNU linker, at least up to release 2.19, is reported
9885 *** to be unable to reliably create shared libraries on AIX.
9886 *** Therefore, libtool is disabling shared libraries support. If you
9887 *** really care for shared libraries, you may want to install binutils
9888 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9889 *** You will then need to restart the configuration process.
9890
9891 _LT_EOF
9892 fi
9893 ;;
9894
9895 amigaos*)
9896 case $host_cpu in
9897 powerpc)
9898 # see comment about AmigaOS4 .so support
9899 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9900 archive_expsym_cmds=''
9901 ;;
9902 m68k)
9903 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)'
9904 hardcode_libdir_flag_spec='-L$libdir'
9905 hardcode_minus_L=yes
9906 ;;
9907 esac
9908 ;;
9909
9910 beos*)
9911 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9912 allow_undefined_flag=unsupported
9913 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9914 # support --undefined. This deserves some investigation. FIXME
9915 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9916 else
9917 ld_shlibs=no
9918 fi
9919 ;;
9920
9921 cygwin* | mingw* | pw32* | cegcc*)
9922 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9923 # as there is no search path for DLLs.
9924 hardcode_libdir_flag_spec='-L$libdir'
9925 export_dynamic_flag_spec='${wl}--export-all-symbols'
9926 allow_undefined_flag=unsupported
9927 always_export_symbols=no
9928 enable_shared_with_static_runtimes=yes
9929 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9930
9931 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9932 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9933 # If the export-symbols file already is a .def file (1st line
9934 # is EXPORTS), use it as is; otherwise, prepend...
9935 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9936 cp $export_symbols $output_objdir/$soname.def;
9937 else
9938 echo EXPORTS > $output_objdir/$soname.def;
9939 cat $export_symbols >> $output_objdir/$soname.def;
9940 fi~
9941 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9942 else
9943 ld_shlibs=no
9944 fi
9945 ;;
9946
9947 haiku*)
9948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9949 link_all_deplibs=yes
9950 ;;
9951
9952 interix[3-9]*)
9953 hardcode_direct=no
9954 hardcode_shlibpath_var=no
9955 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9956 export_dynamic_flag_spec='${wl}-E'
9957 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9958 # Instead, shared libraries are loaded at an image base (0x10000000 by
9959 # default) and relocated if they conflict, which is a slow very memory
9960 # consuming and fragmenting process. To avoid this, we pick a random,
9961 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9962 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9963 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9964 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'
9965 ;;
9966
9967 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9968 tmp_diet=no
9969 if test "$host_os" = linux-dietlibc; then
9970 case $cc_basename in
9971 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9972 esac
9973 fi
9974 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9975 && test "$tmp_diet" = no
9976 then
9977 tmp_addflag=' $pic_flag'
9978 tmp_sharedflag='-shared'
9979 case $cc_basename,$host_cpu in
9980 pgcc*) # Portland Group C compiler
9981 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'
9982 tmp_addflag=' $pic_flag'
9983 ;;
9984 pgf77* | pgf90* | pgf95* | pgfortran*)
9985 # Portland Group f77 and f90 compilers
9986 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'
9987 tmp_addflag=' $pic_flag -Mnomain' ;;
9988 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9989 tmp_addflag=' -i_dynamic' ;;
9990 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9991 tmp_addflag=' -i_dynamic -nofor_main' ;;
9992 ifc* | ifort*) # Intel Fortran compiler
9993 tmp_addflag=' -nofor_main' ;;
9994 lf95*) # Lahey Fortran 8.1
9995 whole_archive_flag_spec=
9996 tmp_sharedflag='--shared' ;;
9997 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9998 tmp_sharedflag='-qmkshrobj'
9999 tmp_addflag= ;;
10000 nvcc*) # Cuda Compiler Driver 2.2
10001 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'
10002 compiler_needs_object=yes
10003 ;;
10004 esac
10005 case `$CC -V 2>&1 | sed 5q` in
10006 *Sun\ C*) # Sun C 5.9
10007 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'
10008 compiler_needs_object=yes
10009 tmp_sharedflag='-G' ;;
10010 *Sun\ F*) # Sun Fortran 8.3
10011 tmp_sharedflag='-G' ;;
10012 esac
10013 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10014
10015 if test "x$supports_anon_versioning" = xyes; then
10016 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10018 echo "local: *; };" >> $output_objdir/$libname.ver~
10019 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10020 fi
10021
10022 case $cc_basename in
10023 xlf* | bgf* | bgxlf* | mpixlf*)
10024 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10025 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10026 hardcode_libdir_flag_spec=
10027 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10028 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10029 if test "x$supports_anon_versioning" = xyes; then
10030 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10032 echo "local: *; };" >> $output_objdir/$libname.ver~
10033 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10034 fi
10035 ;;
10036 esac
10037 else
10038 ld_shlibs=no
10039 fi
10040 ;;
10041
10042 netbsd*)
10043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10045 wlarc=
10046 else
10047 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10048 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10049 fi
10050 ;;
10051
10052 solaris*)
10053 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10054 ld_shlibs=no
10055 cat <<_LT_EOF 1>&2
10056
10057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10058 *** create shared libraries on Solaris systems. Therefore, libtool
10059 *** is disabling shared libraries support. We urge you to upgrade GNU
10060 *** binutils to release 2.9.1 or newer. Another option is to modify
10061 *** your PATH or compiler configuration so that the native linker is
10062 *** used, and then restart.
10063
10064 _LT_EOF
10065 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10067 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10068 else
10069 ld_shlibs=no
10070 fi
10071 ;;
10072
10073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10074 case `$LD -v 2>&1` in
10075 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10076 ld_shlibs=no
10077 cat <<_LT_EOF 1>&2
10078
10079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10080 *** reliably create shared libraries on SCO systems. Therefore, libtool
10081 *** is disabling shared libraries support. We urge you to upgrade GNU
10082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10083 *** your PATH or compiler configuration so that the native linker is
10084 *** used, and then restart.
10085
10086 _LT_EOF
10087 ;;
10088 *)
10089 # For security reasons, it is highly recommended that you always
10090 # use absolute paths for naming shared libraries, and exclude the
10091 # DT_RUNPATH tag from executables and libraries. But doing so
10092 # requires that you compile everything twice, which is a pain.
10093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10097 else
10098 ld_shlibs=no
10099 fi
10100 ;;
10101 esac
10102 ;;
10103
10104 sunos4*)
10105 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10106 wlarc=
10107 hardcode_direct=yes
10108 hardcode_shlibpath_var=no
10109 ;;
10110
10111 *)
10112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10115 else
10116 ld_shlibs=no
10117 fi
10118 ;;
10119 esac
10120
10121 if test "$ld_shlibs" = no; then
10122 runpath_var=
10123 hardcode_libdir_flag_spec=
10124 export_dynamic_flag_spec=
10125 whole_archive_flag_spec=
10126 fi
10127 else
10128 # PORTME fill in a description of your system's linker (not GNU ld)
10129 case $host_os in
10130 aix3*)
10131 allow_undefined_flag=unsupported
10132 always_export_symbols=yes
10133 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'
10134 # Note: this linker hardcodes the directories in LIBPATH if there
10135 # are no directories specified by -L.
10136 hardcode_minus_L=yes
10137 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10138 # Neither direct hardcoding nor static linking is supported with a
10139 # broken collect2.
10140 hardcode_direct=unsupported
10141 fi
10142 ;;
10143
10144 aix[4-9]*)
10145 if test "$host_cpu" = ia64; then
10146 # On IA64, the linker does run time linking by default, so we don't
10147 # have to do anything special.
10148 aix_use_runtimelinking=no
10149 exp_sym_flag='-Bexport'
10150 no_entry_flag=""
10151 else
10152 # If we're using GNU nm, then we don't want the "-C" option.
10153 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10154 # Also, AIX nm treats weak defined symbols like other global
10155 # defined symbols, whereas GNU nm marks them as "W".
10156 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10157 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'
10158 else
10159 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'
10160 fi
10161 aix_use_runtimelinking=no
10162
10163 # Test if we are trying to use run time linking or normal
10164 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10165 # need to do runtime linking.
10166 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10167 for ld_flag in $LDFLAGS; do
10168 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10169 aix_use_runtimelinking=yes
10170 break
10171 fi
10172 done
10173 ;;
10174 esac
10175
10176 exp_sym_flag='-bexport'
10177 no_entry_flag='-bnoentry'
10178 fi
10179
10180 # When large executables or shared objects are built, AIX ld can
10181 # have problems creating the table of contents. If linking a library
10182 # or program results in "error TOC overflow" add -mminimal-toc to
10183 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10184 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10185
10186 archive_cmds=''
10187 hardcode_direct=yes
10188 hardcode_direct_absolute=yes
10189 hardcode_libdir_separator=':'
10190 link_all_deplibs=yes
10191 file_list_spec='${wl}-f,'
10192
10193 if test "$GCC" = yes; then
10194 case $host_os in aix4.[012]|aix4.[012].*)
10195 # We only want to do this on AIX 4.2 and lower, the check
10196 # below for broken collect2 doesn't work under 4.3+
10197 collect2name=`${CC} -print-prog-name=collect2`
10198 if test -f "$collect2name" &&
10199 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10200 then
10201 # We have reworked collect2
10202 :
10203 else
10204 # We have old collect2
10205 hardcode_direct=unsupported
10206 # It fails to find uninstalled libraries when the uninstalled
10207 # path is not listed in the libpath. Setting hardcode_minus_L
10208 # to unsupported forces relinking
10209 hardcode_minus_L=yes
10210 hardcode_libdir_flag_spec='-L$libdir'
10211 hardcode_libdir_separator=
10212 fi
10213 ;;
10214 esac
10215 shared_flag='-shared'
10216 if test "$aix_use_runtimelinking" = yes; then
10217 shared_flag="$shared_flag "'${wl}-G'
10218 fi
10219 else
10220 # not using gcc
10221 if test "$host_cpu" = ia64; then
10222 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10223 # chokes on -Wl,-G. The following line is correct:
10224 shared_flag='-G'
10225 else
10226 if test "$aix_use_runtimelinking" = yes; then
10227 shared_flag='${wl}-G'
10228 else
10229 shared_flag='${wl}-bM:SRE'
10230 fi
10231 fi
10232 fi
10233
10234 export_dynamic_flag_spec='${wl}-bexpall'
10235 # It seems that -bexpall does not export symbols beginning with
10236 # underscore (_), so it is better to generate a list of symbols to export.
10237 always_export_symbols=yes
10238 if test "$aix_use_runtimelinking" = yes; then
10239 # Warning - without using the other runtime loading flags (-brtl),
10240 # -berok will link without error, but may produce a broken library.
10241 allow_undefined_flag='-berok'
10242 # Determine the default libpath from the value encoded in an
10243 # empty executable.
10244 if test x$gcc_no_link = xyes; then
10245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10246 fi
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249
10250 int
10251 main ()
10252 {
10253
10254 ;
10255 return 0;
10256 }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259
10260 lt_aix_libpath_sed='
10261 /Import File Strings/,/^$/ {
10262 /^0/ {
10263 s/^0 *\(.*\)$/\1/
10264 p
10265 }
10266 }'
10267 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10268 # Check for a 64-bit object if we didn't find anything.
10269 if test -z "$aix_libpath"; then
10270 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10271 fi
10272 fi
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10276
10277 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10278 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"
10279 else
10280 if test "$host_cpu" = ia64; then
10281 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10282 allow_undefined_flag="-z nodefs"
10283 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"
10284 else
10285 # Determine the default libpath from the value encoded in an
10286 # empty executable.
10287 if test x$gcc_no_link = xyes; then
10288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10289 fi
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10292
10293 int
10294 main ()
10295 {
10296
10297 ;
10298 return 0;
10299 }
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"; then :
10302
10303 lt_aix_libpath_sed='
10304 /Import File Strings/,/^$/ {
10305 /^0/ {
10306 s/^0 *\(.*\)$/\1/
10307 p
10308 }
10309 }'
10310 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10311 # Check for a 64-bit object if we didn't find anything.
10312 if test -z "$aix_libpath"; then
10313 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10314 fi
10315 fi
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10319
10320 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10321 # Warning - without using the other run time loading flags,
10322 # -berok will link without error, but may produce a broken library.
10323 no_undefined_flag=' ${wl}-bernotok'
10324 allow_undefined_flag=' ${wl}-berok'
10325 if test "$with_gnu_ld" = yes; then
10326 # We only use this code for GNU lds that support --whole-archive.
10327 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10328 else
10329 # Exported symbols can be pulled into shared objects from archives
10330 whole_archive_flag_spec='$convenience'
10331 fi
10332 archive_cmds_need_lc=yes
10333 # This is similar to how AIX traditionally builds its shared libraries.
10334 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'
10335 fi
10336 fi
10337 ;;
10338
10339 amigaos*)
10340 case $host_cpu in
10341 powerpc)
10342 # see comment about AmigaOS4 .so support
10343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10344 archive_expsym_cmds=''
10345 ;;
10346 m68k)
10347 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)'
10348 hardcode_libdir_flag_spec='-L$libdir'
10349 hardcode_minus_L=yes
10350 ;;
10351 esac
10352 ;;
10353
10354 bsdi[45]*)
10355 export_dynamic_flag_spec=-rdynamic
10356 ;;
10357
10358 cygwin* | mingw* | pw32* | cegcc*)
10359 # When not using gcc, we currently assume that we are using
10360 # Microsoft Visual C++.
10361 # hardcode_libdir_flag_spec is actually meaningless, as there is
10362 # no search path for DLLs.
10363 hardcode_libdir_flag_spec=' '
10364 allow_undefined_flag=unsupported
10365 # Tell ltmain to make .lib files, not .a files.
10366 libext=lib
10367 # Tell ltmain to make .dll files, not .so files.
10368 shrext_cmds=".dll"
10369 # FIXME: Setting linknames here is a bad hack.
10370 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10371 # The linker will automatically build a .lib file if we build a DLL.
10372 old_archive_from_new_cmds='true'
10373 # FIXME: Should let the user specify the lib program.
10374 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10375 fix_srcfile_path='`cygpath -w "$srcfile"`'
10376 enable_shared_with_static_runtimes=yes
10377 ;;
10378
10379 darwin* | rhapsody*)
10380
10381
10382 archive_cmds_need_lc=no
10383 hardcode_direct=no
10384 hardcode_automatic=yes
10385 hardcode_shlibpath_var=unsupported
10386 if test "$lt_cv_ld_force_load" = "yes"; then
10387 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\"`'
10388 else
10389 whole_archive_flag_spec=''
10390 fi
10391 link_all_deplibs=yes
10392 allow_undefined_flag="$_lt_dar_allow_undefined"
10393 case $cc_basename in
10394 ifort*) _lt_dar_can_shared=yes ;;
10395 *) _lt_dar_can_shared=$GCC ;;
10396 esac
10397 if test "$_lt_dar_can_shared" = "yes"; then
10398 output_verbose_link_cmd=func_echo_all
10399 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10400 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10401 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}"
10402 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}"
10403
10404 else
10405 ld_shlibs=no
10406 fi
10407
10408 ;;
10409
10410 dgux*)
10411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_libdir_flag_spec='-L$libdir'
10413 hardcode_shlibpath_var=no
10414 ;;
10415
10416 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10417 # support. Future versions do this automatically, but an explicit c++rt0.o
10418 # does not break anything, and helps significantly (at the cost of a little
10419 # extra space).
10420 freebsd2.2*)
10421 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10422 hardcode_libdir_flag_spec='-R$libdir'
10423 hardcode_direct=yes
10424 hardcode_shlibpath_var=no
10425 ;;
10426
10427 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10428 freebsd2.*)
10429 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10430 hardcode_direct=yes
10431 hardcode_minus_L=yes
10432 hardcode_shlibpath_var=no
10433 ;;
10434
10435 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10436 freebsd* | dragonfly*)
10437 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10438 hardcode_libdir_flag_spec='-R$libdir'
10439 hardcode_direct=yes
10440 hardcode_shlibpath_var=no
10441 ;;
10442
10443 hpux9*)
10444 if test "$GCC" = yes; then
10445 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'
10446 else
10447 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'
10448 fi
10449 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10450 hardcode_libdir_separator=:
10451 hardcode_direct=yes
10452
10453 # hardcode_minus_L: Not really in the search PATH,
10454 # but as the default location of the library.
10455 hardcode_minus_L=yes
10456 export_dynamic_flag_spec='${wl}-E'
10457 ;;
10458
10459 hpux10*)
10460 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10461 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10462 else
10463 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10464 fi
10465 if test "$with_gnu_ld" = no; then
10466 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10467 hardcode_libdir_flag_spec_ld='+b $libdir'
10468 hardcode_libdir_separator=:
10469 hardcode_direct=yes
10470 hardcode_direct_absolute=yes
10471 export_dynamic_flag_spec='${wl}-E'
10472 # hardcode_minus_L: Not really in the search PATH,
10473 # but as the default location of the library.
10474 hardcode_minus_L=yes
10475 fi
10476 ;;
10477
10478 hpux11*)
10479 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10480 case $host_cpu in
10481 hppa*64*)
10482 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10483 ;;
10484 ia64*)
10485 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10486 ;;
10487 *)
10488 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10489 ;;
10490 esac
10491 else
10492 case $host_cpu in
10493 hppa*64*)
10494 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10495 ;;
10496 ia64*)
10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10498 ;;
10499 *)
10500
10501 # Older versions of the 11.00 compiler do not understand -b yet
10502 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10504 $as_echo_n "checking if $CC understands -b... " >&6; }
10505 if ${lt_cv_prog_compiler__b+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 lt_cv_prog_compiler__b=no
10509 save_LDFLAGS="$LDFLAGS"
10510 LDFLAGS="$LDFLAGS -b"
10511 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10512 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10513 # The linker can only warn and ignore the option if not recognized
10514 # So say no if there are warnings
10515 if test -s conftest.err; then
10516 # Append any errors to the config.log.
10517 cat conftest.err 1>&5
10518 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10520 if diff conftest.exp conftest.er2 >/dev/null; then
10521 lt_cv_prog_compiler__b=yes
10522 fi
10523 else
10524 lt_cv_prog_compiler__b=yes
10525 fi
10526 fi
10527 $RM -r conftest*
10528 LDFLAGS="$save_LDFLAGS"
10529
10530 fi
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10532 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10533
10534 if test x"$lt_cv_prog_compiler__b" = xyes; then
10535 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10536 else
10537 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10538 fi
10539
10540 ;;
10541 esac
10542 fi
10543 if test "$with_gnu_ld" = no; then
10544 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10545 hardcode_libdir_separator=:
10546
10547 case $host_cpu in
10548 hppa*64*|ia64*)
10549 hardcode_direct=no
10550 hardcode_shlibpath_var=no
10551 ;;
10552 *)
10553 hardcode_direct=yes
10554 hardcode_direct_absolute=yes
10555 export_dynamic_flag_spec='${wl}-E'
10556
10557 # hardcode_minus_L: Not really in the search PATH,
10558 # but as the default location of the library.
10559 hardcode_minus_L=yes
10560 ;;
10561 esac
10562 fi
10563 ;;
10564
10565 irix5* | irix6* | nonstopux*)
10566 if test "$GCC" = yes; then
10567 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'
10568 # Try to use the -exported_symbol ld option, if it does not
10569 # work, assume that -exports_file does not work either and
10570 # implicitly export all symbols.
10571 save_LDFLAGS="$LDFLAGS"
10572 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10573 if test x$gcc_no_link = xyes; then
10574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10575 fi
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10578 int foo(void) {}
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 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'
10582
10583 fi
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LDFLAGS="$save_LDFLAGS"
10587 else
10588 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'
10589 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'
10590 fi
10591 archive_cmds_need_lc='no'
10592 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10593 hardcode_libdir_separator=:
10594 inherit_rpath=yes
10595 link_all_deplibs=yes
10596 ;;
10597
10598 netbsd*)
10599 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10600 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10601 else
10602 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10603 fi
10604 hardcode_libdir_flag_spec='-R$libdir'
10605 hardcode_direct=yes
10606 hardcode_shlibpath_var=no
10607 ;;
10608
10609 newsos6)
10610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10611 hardcode_direct=yes
10612 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10613 hardcode_libdir_separator=:
10614 hardcode_shlibpath_var=no
10615 ;;
10616
10617 *nto* | *qnx*)
10618 ;;
10619
10620 openbsd*)
10621 if test -f /usr/libexec/ld.so; then
10622 hardcode_direct=yes
10623 hardcode_shlibpath_var=no
10624 hardcode_direct_absolute=yes
10625 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10626 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10628 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10629 export_dynamic_flag_spec='${wl}-E'
10630 else
10631 case $host_os in
10632 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10633 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10634 hardcode_libdir_flag_spec='-R$libdir'
10635 ;;
10636 *)
10637 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10638 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10639 ;;
10640 esac
10641 fi
10642 else
10643 ld_shlibs=no
10644 fi
10645 ;;
10646
10647 os2*)
10648 hardcode_libdir_flag_spec='-L$libdir'
10649 hardcode_minus_L=yes
10650 allow_undefined_flag=unsupported
10651 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'
10652 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10653 ;;
10654
10655 osf3*)
10656 if test "$GCC" = yes; then
10657 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10658 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'
10659 else
10660 allow_undefined_flag=' -expect_unresolved \*'
10661 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'
10662 fi
10663 archive_cmds_need_lc='no'
10664 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10665 hardcode_libdir_separator=:
10666 ;;
10667
10668 osf4* | osf5*) # as osf3* with the addition of -msym flag
10669 if test "$GCC" = yes; then
10670 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10671 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'
10672 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10673 else
10674 allow_undefined_flag=' -expect_unresolved \*'
10675 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'
10676 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~
10677 $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'
10678
10679 # Both c and cxx compiler support -rpath directly
10680 hardcode_libdir_flag_spec='-rpath $libdir'
10681 fi
10682 archive_cmds_need_lc='no'
10683 hardcode_libdir_separator=:
10684 ;;
10685
10686 solaris*)
10687 no_undefined_flag=' -z defs'
10688 if test "$GCC" = yes; then
10689 wlarc='${wl}'
10690 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10692 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10693 else
10694 case `$CC -V 2>&1` in
10695 *"Compilers 5.0"*)
10696 wlarc=''
10697 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10698 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10699 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10700 ;;
10701 *)
10702 wlarc='${wl}'
10703 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10705 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10706 ;;
10707 esac
10708 fi
10709 hardcode_libdir_flag_spec='-R$libdir'
10710 hardcode_shlibpath_var=no
10711 case $host_os in
10712 solaris2.[0-5] | solaris2.[0-5].*) ;;
10713 *)
10714 # The compiler driver will combine and reorder linker options,
10715 # but understands `-z linker_flag'. GCC discards it without `$wl',
10716 # but is careful enough not to reorder.
10717 # Supported since Solaris 2.6 (maybe 2.5.1?)
10718 if test "$GCC" = yes; then
10719 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10720 else
10721 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10722 fi
10723 ;;
10724 esac
10725 link_all_deplibs=yes
10726 ;;
10727
10728 sunos4*)
10729 if test "x$host_vendor" = xsequent; then
10730 # Use $CC to link under sequent, because it throws in some extra .o
10731 # files that make .init and .fini sections work.
10732 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10733 else
10734 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10735 fi
10736 hardcode_libdir_flag_spec='-L$libdir'
10737 hardcode_direct=yes
10738 hardcode_minus_L=yes
10739 hardcode_shlibpath_var=no
10740 ;;
10741
10742 sysv4)
10743 case $host_vendor in
10744 sni)
10745 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct=yes # is this really true???
10747 ;;
10748 siemens)
10749 ## LD is ld it makes a PLAMLIB
10750 ## CC just makes a GrossModule.
10751 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10752 reload_cmds='$CC -r -o $output$reload_objs'
10753 hardcode_direct=no
10754 ;;
10755 motorola)
10756 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10758 ;;
10759 esac
10760 runpath_var='LD_RUN_PATH'
10761 hardcode_shlibpath_var=no
10762 ;;
10763
10764 sysv4.3*)
10765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10766 hardcode_shlibpath_var=no
10767 export_dynamic_flag_spec='-Bexport'
10768 ;;
10769
10770 sysv4*MP*)
10771 if test -d /usr/nec; then
10772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_shlibpath_var=no
10774 runpath_var=LD_RUN_PATH
10775 hardcode_runpath_var=yes
10776 ld_shlibs=yes
10777 fi
10778 ;;
10779
10780 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10781 no_undefined_flag='${wl}-z,text'
10782 archive_cmds_need_lc=no
10783 hardcode_shlibpath_var=no
10784 runpath_var='LD_RUN_PATH'
10785
10786 if test "$GCC" = yes; then
10787 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10789 else
10790 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10792 fi
10793 ;;
10794
10795 sysv5* | sco3.2v5* | sco5v6*)
10796 # Note: We can NOT use -z defs as we might desire, because we do not
10797 # link with -lc, and that would cause any symbols used from libc to
10798 # always be unresolved, which means just about no library would
10799 # ever link correctly. If we're not using GNU ld we use -z text
10800 # though, which does catch some bad symbols but isn't as heavy-handed
10801 # as -z defs.
10802 no_undefined_flag='${wl}-z,text'
10803 allow_undefined_flag='${wl}-z,nodefs'
10804 archive_cmds_need_lc=no
10805 hardcode_shlibpath_var=no
10806 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10807 hardcode_libdir_separator=':'
10808 link_all_deplibs=yes
10809 export_dynamic_flag_spec='${wl}-Bexport'
10810 runpath_var='LD_RUN_PATH'
10811
10812 if test "$GCC" = yes; then
10813 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10815 else
10816 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10818 fi
10819 ;;
10820
10821 uts4*)
10822 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10823 hardcode_libdir_flag_spec='-L$libdir'
10824 hardcode_shlibpath_var=no
10825 ;;
10826
10827 *)
10828 ld_shlibs=no
10829 ;;
10830 esac
10831
10832 if test x$host_vendor = xsni; then
10833 case $host in
10834 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10835 export_dynamic_flag_spec='${wl}-Blargedynsym'
10836 ;;
10837 esac
10838 fi
10839 fi
10840
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10842 $as_echo "$ld_shlibs" >&6; }
10843 test "$ld_shlibs" = no && can_build_shared=no
10844
10845 with_gnu_ld=$with_gnu_ld
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861 #
10862 # Do we need to explicitly link libc?
10863 #
10864 case "x$archive_cmds_need_lc" in
10865 x|xyes)
10866 # Assume -lc should be added
10867 archive_cmds_need_lc=yes
10868
10869 if test "$enable_shared" = yes && test "$GCC" = yes; then
10870 case $archive_cmds in
10871 *'~'*)
10872 # FIXME: we may have to deal with multi-command sequences.
10873 ;;
10874 '$CC '*)
10875 # Test whether the compiler implicitly links with -lc since on some
10876 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10877 # to ld, don't add -lc before -lgcc.
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10879 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10880 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10881 $as_echo_n "(cached) " >&6
10882 else
10883 $RM conftest*
10884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10885
10886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10887 (eval $ac_compile) 2>&5
10888 ac_status=$?
10889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10890 test $ac_status = 0; } 2>conftest.err; then
10891 soname=conftest
10892 lib=conftest
10893 libobjs=conftest.$ac_objext
10894 deplibs=
10895 wl=$lt_prog_compiler_wl
10896 pic_flag=$lt_prog_compiler_pic
10897 compiler_flags=-v
10898 linker_flags=-v
10899 verstring=
10900 output_objdir=.
10901 libname=conftest
10902 lt_save_allow_undefined_flag=$allow_undefined_flag
10903 allow_undefined_flag=
10904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10905 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10906 ac_status=$?
10907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10908 test $ac_status = 0; }
10909 then
10910 lt_cv_archive_cmds_need_lc=no
10911 else
10912 lt_cv_archive_cmds_need_lc=yes
10913 fi
10914 allow_undefined_flag=$lt_save_allow_undefined_flag
10915 else
10916 cat conftest.err 1>&5
10917 fi
10918 $RM conftest*
10919
10920 fi
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10922 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10923 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10924 ;;
10925 esac
10926 fi
10927 ;;
10928 esac
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11087 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11088
11089 if test "$GCC" = yes; then
11090 case $host_os in
11091 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11092 *) lt_awk_arg="/^libraries:/" ;;
11093 esac
11094 case $host_os in
11095 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11096 *) lt_sed_strip_eq="s,=/,/,g" ;;
11097 esac
11098 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11099 case $lt_search_path_spec in
11100 *\;*)
11101 # if the path contains ";" then we assume it to be the separator
11102 # otherwise default to the standard path separator (i.e. ":") - it is
11103 # assumed that no part of a normal pathname contains ";" but that should
11104 # okay in the real world where ";" in dirpaths is itself problematic.
11105 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11106 ;;
11107 *)
11108 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11109 ;;
11110 esac
11111 # Ok, now we have the path, separated by spaces, we can step through it
11112 # and add multilib dir if necessary.
11113 lt_tmp_lt_search_path_spec=
11114 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11115 for lt_sys_path in $lt_search_path_spec; do
11116 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11117 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11118 else
11119 test -d "$lt_sys_path" && \
11120 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11121 fi
11122 done
11123 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11124 BEGIN {RS=" "; FS="/|\n";} {
11125 lt_foo="";
11126 lt_count=0;
11127 for (lt_i = NF; lt_i > 0; lt_i--) {
11128 if ($lt_i != "" && $lt_i != ".") {
11129 if ($lt_i == "..") {
11130 lt_count++;
11131 } else {
11132 if (lt_count == 0) {
11133 lt_foo="/" $lt_i lt_foo;
11134 } else {
11135 lt_count--;
11136 }
11137 }
11138 }
11139 }
11140 if (lt_foo != "") { lt_freq[lt_foo]++; }
11141 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11142 }'`
11143 # AWK program above erroneously prepends '/' to C:/dos/paths
11144 # for these hosts.
11145 case $host_os in
11146 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11147 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11148 esac
11149 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11150 else
11151 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11152 fi
11153 library_names_spec=
11154 libname_spec='lib$name'
11155 soname_spec=
11156 shrext_cmds=".so"
11157 postinstall_cmds=
11158 postuninstall_cmds=
11159 finish_cmds=
11160 finish_eval=
11161 shlibpath_var=
11162 shlibpath_overrides_runpath=unknown
11163 version_type=none
11164 dynamic_linker="$host_os ld.so"
11165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11166 need_lib_prefix=unknown
11167 hardcode_into_libs=no
11168
11169 # when you set need_version to no, make sure it does not cause -set_version
11170 # flags to be left without arguments
11171 need_version=unknown
11172
11173 case $host_os in
11174 aix3*)
11175 version_type=linux
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11177 shlibpath_var=LIBPATH
11178
11179 # AIX 3 has no versioning support, so we append a major version to the name.
11180 soname_spec='${libname}${release}${shared_ext}$major'
11181 ;;
11182
11183 aix[4-9]*)
11184 version_type=linux
11185 need_lib_prefix=no
11186 need_version=no
11187 hardcode_into_libs=yes
11188 if test "$host_cpu" = ia64; then
11189 # AIX 5 supports IA64
11190 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 else
11193 # With GCC up to 2.95.x, collect2 would create an import file
11194 # for dependence libraries. The import file would start with
11195 # the line `#! .'. This would cause the generated library to
11196 # depend on `.', always an invalid library. This was fixed in
11197 # development snapshots of GCC prior to 3.0.
11198 case $host_os in
11199 aix4 | aix4.[01] | aix4.[01].*)
11200 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11201 echo ' yes '
11202 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11203 :
11204 else
11205 can_build_shared=no
11206 fi
11207 ;;
11208 esac
11209 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11210 # soname into executable. Probably we can add versioning support to
11211 # collect2, so additional links can be useful in future.
11212 if test "$aix_use_runtimelinking" = yes; then
11213 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11214 # instead of lib<name>.a to let people know that these are not
11215 # typical AIX shared libraries.
11216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217 else
11218 # We preserve .a as extension for shared libraries through AIX4.2
11219 # and later when we are not doing run time linking.
11220 library_names_spec='${libname}${release}.a $libname.a'
11221 soname_spec='${libname}${release}${shared_ext}$major'
11222 fi
11223 shlibpath_var=LIBPATH
11224 fi
11225 ;;
11226
11227 amigaos*)
11228 case $host_cpu in
11229 powerpc)
11230 # Since July 2007 AmigaOS4 officially supports .so libraries.
11231 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233 ;;
11234 m68k)
11235 library_names_spec='$libname.ixlibrary $libname.a'
11236 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11237 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'
11238 ;;
11239 esac
11240 ;;
11241
11242 beos*)
11243 library_names_spec='${libname}${shared_ext}'
11244 dynamic_linker="$host_os ld.so"
11245 shlibpath_var=LIBRARY_PATH
11246 ;;
11247
11248 bsdi[45]*)
11249 version_type=linux
11250 need_version=no
11251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 soname_spec='${libname}${release}${shared_ext}$major'
11253 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11254 shlibpath_var=LD_LIBRARY_PATH
11255 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11256 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11257 # the default ld.so.conf also contains /usr/contrib/lib and
11258 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11259 # libtool to hard-code these into programs
11260 ;;
11261
11262 cygwin* | mingw* | pw32* | cegcc*)
11263 version_type=windows
11264 shrext_cmds=".dll"
11265 need_version=no
11266 need_lib_prefix=no
11267
11268 case $GCC,$host_os in
11269 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11270 library_names_spec='$libname.dll.a'
11271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11272 postinstall_cmds='base_file=`basename \${file}`~
11273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11274 dldir=$destdir/`dirname \$dlpath`~
11275 test -d \$dldir || mkdir -p \$dldir~
11276 $install_prog $dir/$dlname \$dldir/$dlname~
11277 chmod a+x \$dldir/$dlname~
11278 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11279 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11280 fi'
11281 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11282 dlpath=$dir/\$dldll~
11283 $RM \$dlpath'
11284 shlibpath_overrides_runpath=yes
11285
11286 case $host_os in
11287 cygwin*)
11288 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11289 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11290
11291 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11292 ;;
11293 mingw* | cegcc*)
11294 # MinGW DLLs use traditional 'lib' prefix
11295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11296 ;;
11297 pw32*)
11298 # pw32 DLLs use 'pw' prefix rather than 'lib'
11299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11300 ;;
11301 esac
11302 ;;
11303
11304 *)
11305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11306 ;;
11307 esac
11308 dynamic_linker='Win32 ld.exe'
11309 # FIXME: first we should search . and the directory the executable is in
11310 shlibpath_var=PATH
11311 ;;
11312
11313 darwin* | rhapsody*)
11314 dynamic_linker="$host_os dyld"
11315 version_type=darwin
11316 need_lib_prefix=no
11317 need_version=no
11318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11319 soname_spec='${libname}${release}${major}$shared_ext'
11320 shlibpath_overrides_runpath=yes
11321 shlibpath_var=DYLD_LIBRARY_PATH
11322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11323
11324 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11325 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11326 ;;
11327
11328 dgux*)
11329 version_type=linux
11330 need_lib_prefix=no
11331 need_version=no
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11333 soname_spec='${libname}${release}${shared_ext}$major'
11334 shlibpath_var=LD_LIBRARY_PATH
11335 ;;
11336
11337 freebsd* | dragonfly*)
11338 # DragonFly does not have aout. When/if they implement a new
11339 # versioning mechanism, adjust this.
11340 if test -x /usr/bin/objformat; then
11341 objformat=`/usr/bin/objformat`
11342 else
11343 case $host_os in
11344 freebsd[23].*) objformat=aout ;;
11345 *) objformat=elf ;;
11346 esac
11347 fi
11348 version_type=freebsd-$objformat
11349 case $version_type in
11350 freebsd-elf*)
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11352 need_version=no
11353 need_lib_prefix=no
11354 ;;
11355 freebsd-*)
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11357 need_version=yes
11358 ;;
11359 esac
11360 shlibpath_var=LD_LIBRARY_PATH
11361 case $host_os in
11362 freebsd2.*)
11363 shlibpath_overrides_runpath=yes
11364 ;;
11365 freebsd3.[01]* | freebsdelf3.[01]*)
11366 shlibpath_overrides_runpath=yes
11367 hardcode_into_libs=yes
11368 ;;
11369 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11370 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11371 shlibpath_overrides_runpath=no
11372 hardcode_into_libs=yes
11373 ;;
11374 *) # from 4.6 on, and DragonFly
11375 shlibpath_overrides_runpath=yes
11376 hardcode_into_libs=yes
11377 ;;
11378 esac
11379 ;;
11380
11381 haiku*)
11382 version_type=linux
11383 need_lib_prefix=no
11384 need_version=no
11385 dynamic_linker="$host_os runtime_loader"
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 shlibpath_var=LIBRARY_PATH
11389 shlibpath_overrides_runpath=yes
11390 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11391 hardcode_into_libs=yes
11392 ;;
11393
11394 hpux9* | hpux10* | hpux11*)
11395 # Give a soname corresponding to the major version so that dld.sl refuses to
11396 # link against other versions.
11397 version_type=sunos
11398 need_lib_prefix=no
11399 need_version=no
11400 case $host_cpu in
11401 ia64*)
11402 shrext_cmds='.so'
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.so"
11405 shlibpath_var=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 if test "X$HPUX_IA64_MODE" = X32; then
11410 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11411 else
11412 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11413 fi
11414 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11415 ;;
11416 hppa*64*)
11417 shrext_cmds='.sl'
11418 hardcode_into_libs=yes
11419 dynamic_linker="$host_os dld.sl"
11420 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11421 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11423 soname_spec='${libname}${release}${shared_ext}$major'
11424 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11425 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11426 ;;
11427 *)
11428 shrext_cmds='.sl'
11429 dynamic_linker="$host_os dld.sl"
11430 shlibpath_var=SHLIB_PATH
11431 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11433 soname_spec='${libname}${release}${shared_ext}$major'
11434 ;;
11435 esac
11436 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11437 postinstall_cmds='chmod 555 $lib'
11438 # or fails outright, so override atomically:
11439 install_override_mode=555
11440 ;;
11441
11442 interix[3-9]*)
11443 version_type=linux
11444 need_lib_prefix=no
11445 need_version=no
11446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11447 soname_spec='${libname}${release}${shared_ext}$major'
11448 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11449 shlibpath_var=LD_LIBRARY_PATH
11450 shlibpath_overrides_runpath=no
11451 hardcode_into_libs=yes
11452 ;;
11453
11454 irix5* | irix6* | nonstopux*)
11455 case $host_os in
11456 nonstopux*) version_type=nonstopux ;;
11457 *)
11458 if test "$lt_cv_prog_gnu_ld" = yes; then
11459 version_type=linux
11460 else
11461 version_type=irix
11462 fi ;;
11463 esac
11464 need_lib_prefix=no
11465 need_version=no
11466 soname_spec='${libname}${release}${shared_ext}$major'
11467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11468 case $host_os in
11469 irix5* | nonstopux*)
11470 libsuff= shlibsuff=
11471 ;;
11472 *)
11473 case $LD in # libtool.m4 will add one of these switches to LD
11474 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11475 libsuff= shlibsuff= libmagic=32-bit;;
11476 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11477 libsuff=32 shlibsuff=N32 libmagic=N32;;
11478 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11479 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11480 *) libsuff= shlibsuff= libmagic=never-match;;
11481 esac
11482 ;;
11483 esac
11484 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11485 shlibpath_overrides_runpath=no
11486 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11487 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11488 hardcode_into_libs=yes
11489 ;;
11490
11491 # No shared lib support for Linux oldld, aout, or coff.
11492 linux*oldld* | linux*aout* | linux*coff*)
11493 dynamic_linker=no
11494 ;;
11495
11496 # This must be Linux ELF.
11497
11498 # uclinux* changes (here and below) have been submitted to the libtool
11499 # project, but have not yet been accepted: they are GCC-local changes
11500 # for the time being. (See
11501 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11502 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11503 version_type=linux
11504 need_lib_prefix=no
11505 need_version=no
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11509 shlibpath_var=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath=no
11511
11512 # Some binutils ld are patched to set DT_RUNPATH
11513 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 lt_cv_shlibpath_overrides_runpath=no
11517 save_LDFLAGS=$LDFLAGS
11518 save_libdir=$libdir
11519 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11520 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11521 if test x$gcc_no_link = xyes; then
11522 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11523 fi
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11526
11527 int
11528 main ()
11529 {
11530
11531 ;
11532 return 0;
11533 }
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11537 lt_cv_shlibpath_overrides_runpath=yes
11538 fi
11539 fi
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LDFLAGS=$save_LDFLAGS
11543 libdir=$save_libdir
11544
11545 fi
11546
11547 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11548
11549 # This implies no fast_install, which is unacceptable.
11550 # Some rework will be needed to allow for fast_install
11551 # before this can be enabled.
11552 hardcode_into_libs=yes
11553
11554 # Append ld.so.conf contents to the search path
11555 if test -f /etc/ld.so.conf; then
11556 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' ' '`
11557 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11558 fi
11559
11560 # We used to test for /lib/ld.so.1 and disable shared libraries on
11561 # powerpc, because MkLinux only supported shared libraries with the
11562 # GNU dynamic linker. Since this was broken with cross compilers,
11563 # most powerpc-linux boxes support dynamic linking these days and
11564 # people can always --disable-shared, the test was removed, and we
11565 # assume the GNU/Linux dynamic linker is in use.
11566 dynamic_linker='GNU/Linux ld.so'
11567 ;;
11568
11569 netbsd*)
11570 version_type=sunos
11571 need_lib_prefix=no
11572 need_version=no
11573 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11575 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11576 dynamic_linker='NetBSD (a.out) ld.so'
11577 else
11578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11579 soname_spec='${libname}${release}${shared_ext}$major'
11580 dynamic_linker='NetBSD ld.elf_so'
11581 fi
11582 shlibpath_var=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath=yes
11584 hardcode_into_libs=yes
11585 ;;
11586
11587 newsos6)
11588 version_type=linux
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 shlibpath_var=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath=yes
11592 ;;
11593
11594 *nto* | *qnx*)
11595 version_type=qnx
11596 need_lib_prefix=no
11597 need_version=no
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec='${libname}${release}${shared_ext}$major'
11600 shlibpath_var=LD_LIBRARY_PATH
11601 shlibpath_overrides_runpath=no
11602 hardcode_into_libs=yes
11603 dynamic_linker='ldqnx.so'
11604 ;;
11605
11606 openbsd*)
11607 version_type=sunos
11608 sys_lib_dlsearch_path_spec="/usr/lib"
11609 need_lib_prefix=no
11610 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11611 case $host_os in
11612 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11613 *) need_version=no ;;
11614 esac
11615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11616 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11617 shlibpath_var=LD_LIBRARY_PATH
11618 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11619 case $host_os in
11620 openbsd2.[89] | openbsd2.[89].*)
11621 shlibpath_overrides_runpath=no
11622 ;;
11623 *)
11624 shlibpath_overrides_runpath=yes
11625 ;;
11626 esac
11627 else
11628 shlibpath_overrides_runpath=yes
11629 fi
11630 ;;
11631
11632 os2*)
11633 libname_spec='$name'
11634 shrext_cmds=".dll"
11635 need_lib_prefix=no
11636 library_names_spec='$libname${shared_ext} $libname.a'
11637 dynamic_linker='OS/2 ld.exe'
11638 shlibpath_var=LIBPATH
11639 ;;
11640
11641 osf3* | osf4* | osf5*)
11642 version_type=osf
11643 need_lib_prefix=no
11644 need_version=no
11645 soname_spec='${libname}${release}${shared_ext}$major'
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11649 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11650 ;;
11651
11652 rdos*)
11653 dynamic_linker=no
11654 ;;
11655
11656 solaris*)
11657 version_type=linux
11658 need_lib_prefix=no
11659 need_version=no
11660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11661 soname_spec='${libname}${release}${shared_ext}$major'
11662 shlibpath_var=LD_LIBRARY_PATH
11663 shlibpath_overrides_runpath=yes
11664 hardcode_into_libs=yes
11665 # ldd complains unless libraries are executable
11666 postinstall_cmds='chmod +x $lib'
11667 ;;
11668
11669 sunos4*)
11670 version_type=sunos
11671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11672 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11673 shlibpath_var=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath=yes
11675 if test "$with_gnu_ld" = yes; then
11676 need_lib_prefix=no
11677 fi
11678 need_version=yes
11679 ;;
11680
11681 sysv4 | sysv4.3*)
11682 version_type=linux
11683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11684 soname_spec='${libname}${release}${shared_ext}$major'
11685 shlibpath_var=LD_LIBRARY_PATH
11686 case $host_vendor in
11687 sni)
11688 shlibpath_overrides_runpath=no
11689 need_lib_prefix=no
11690 runpath_var=LD_RUN_PATH
11691 ;;
11692 siemens)
11693 need_lib_prefix=no
11694 ;;
11695 motorola)
11696 need_lib_prefix=no
11697 need_version=no
11698 shlibpath_overrides_runpath=no
11699 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11700 ;;
11701 esac
11702 ;;
11703
11704 sysv4*MP*)
11705 if test -d /usr/nec ;then
11706 version_type=linux
11707 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11708 soname_spec='$libname${shared_ext}.$major'
11709 shlibpath_var=LD_LIBRARY_PATH
11710 fi
11711 ;;
11712
11713 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11714 version_type=freebsd-elf
11715 need_lib_prefix=no
11716 need_version=no
11717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11718 soname_spec='${libname}${release}${shared_ext}$major'
11719 shlibpath_var=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath=yes
11721 hardcode_into_libs=yes
11722 if test "$with_gnu_ld" = yes; then
11723 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11724 else
11725 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11726 case $host_os in
11727 sco3.2v5*)
11728 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11729 ;;
11730 esac
11731 fi
11732 sys_lib_dlsearch_path_spec='/usr/lib'
11733 ;;
11734
11735 tpf*)
11736 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11737 version_type=linux
11738 need_lib_prefix=no
11739 need_version=no
11740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11741 shlibpath_var=LD_LIBRARY_PATH
11742 shlibpath_overrides_runpath=no
11743 hardcode_into_libs=yes
11744 ;;
11745
11746 uts4*)
11747 version_type=linux
11748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11749 soname_spec='${libname}${release}${shared_ext}$major'
11750 shlibpath_var=LD_LIBRARY_PATH
11751 ;;
11752
11753 # Shared libraries for VwWorks, >= 7 only at this stage
11754 # and (fpic) still incompatible with "large" code models
11755 # in a few configurations. Only for RTP mode in any case,
11756 # and upon explicit request at configure time.
11757 vxworks7*)
11758 dynamic_linker=no
11759 case ${with_multisubdir}-${enable_shared} in
11760 *large*)
11761 ;;
11762 *mrtp*-yes)
11763 version_type=linux
11764 need_lib_prefix=no
11765 need_version=no
11766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11767 soname_spec='${libname}${release}${shared_ext}$major'
11768 dynamic_linker="$host_os module_loader"
11769 ;;
11770 esac
11771 ;;
11772 *)
11773 dynamic_linker=no
11774 ;;
11775 esac
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11777 $as_echo "$dynamic_linker" >&6; }
11778 test "$dynamic_linker" = no && can_build_shared=no
11779
11780 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11781 if test "$GCC" = yes; then
11782 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11783 fi
11784
11785 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11786 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11787 fi
11788 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11789 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11790 fi
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11884 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11885 hardcode_action=
11886 if test -n "$hardcode_libdir_flag_spec" ||
11887 test -n "$runpath_var" ||
11888 test "X$hardcode_automatic" = "Xyes" ; then
11889
11890 # We can hardcode non-existent directories.
11891 if test "$hardcode_direct" != no &&
11892 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11893 # have to relink, otherwise we might link with an installed library
11894 # when we should be linking with a yet-to-be-installed one
11895 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11896 test "$hardcode_minus_L" != no; then
11897 # Linking always hardcodes the temporary library directory.
11898 hardcode_action=relink
11899 else
11900 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11901 hardcode_action=immediate
11902 fi
11903 else
11904 # We cannot hardcode anything, or else we can only hardcode existing
11905 # directories.
11906 hardcode_action=unsupported
11907 fi
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11909 $as_echo "$hardcode_action" >&6; }
11910
11911 if test "$hardcode_action" = relink ||
11912 test "$inherit_rpath" = yes; then
11913 # Fast installation is not supported
11914 enable_fast_install=no
11915 elif test "$shlibpath_overrides_runpath" = yes ||
11916 test "$enable_shared" = no; then
11917 # Fast installation is not necessary
11918 enable_fast_install=needless
11919 fi
11920
11921
11922
11923
11924
11925
11926 if test "x$enable_dlopen" != xyes; then
11927 enable_dlopen=unknown
11928 enable_dlopen_self=unknown
11929 enable_dlopen_self_static=unknown
11930 else
11931 lt_cv_dlopen=no
11932 lt_cv_dlopen_libs=
11933
11934 case $host_os in
11935 beos*)
11936 lt_cv_dlopen="load_add_on"
11937 lt_cv_dlopen_libs=
11938 lt_cv_dlopen_self=yes
11939 ;;
11940
11941 mingw* | pw32* | cegcc*)
11942 lt_cv_dlopen="LoadLibrary"
11943 lt_cv_dlopen_libs=
11944 ;;
11945
11946 cygwin*)
11947 lt_cv_dlopen="dlopen"
11948 lt_cv_dlopen_libs=
11949 ;;
11950
11951 darwin*)
11952 # if libdl is installed we need to link against it
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11954 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11955 if ${ac_cv_lib_dl_dlopen+:} false; then :
11956 $as_echo_n "(cached) " >&6
11957 else
11958 ac_check_lib_save_LIBS=$LIBS
11959 LIBS="-ldl $LIBS"
11960 if test x$gcc_no_link = xyes; then
11961 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11962 fi
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char dlopen ();
11973 int
11974 main ()
11975 {
11976 return dlopen ();
11977 ;
11978 return 0;
11979 }
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_lib_dl_dlopen=yes
11983 else
11984 ac_cv_lib_dl_dlopen=no
11985 fi
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11989 fi
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11991 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11992 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11993 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11994 else
11995
11996 lt_cv_dlopen="dyld"
11997 lt_cv_dlopen_libs=
11998 lt_cv_dlopen_self=yes
11999
12000 fi
12001
12002 ;;
12003
12004 *)
12005 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12006 if test "x$ac_cv_func_shl_load" = xyes; then :
12007 lt_cv_dlopen="shl_load"
12008 else
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12010 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12011 if ${ac_cv_lib_dld_shl_load+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_lib_save_LIBS=$LIBS
12015 LIBS="-ldld $LIBS"
12016 if test x$gcc_no_link = xyes; then
12017 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12018 fi
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char shl_load ();
12029 int
12030 main ()
12031 {
12032 return shl_load ();
12033 ;
12034 return 0;
12035 }
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_lib_dld_shl_load=yes
12039 else
12040 ac_cv_lib_dld_shl_load=no
12041 fi
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12045 fi
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12047 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12048 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12049 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12050 else
12051 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12052 if test "x$ac_cv_func_dlopen" = xyes; then :
12053 lt_cv_dlopen="dlopen"
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12056 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12057 if ${ac_cv_lib_dl_dlopen+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-ldl $LIBS"
12062 if test x$gcc_no_link = xyes; then
12063 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12064 fi
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12067
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char dlopen ();
12075 int
12076 main ()
12077 {
12078 return dlopen ();
12079 ;
12080 return 0;
12081 }
12082 _ACEOF
12083 if ac_fn_c_try_link "$LINENO"; then :
12084 ac_cv_lib_dl_dlopen=yes
12085 else
12086 ac_cv_lib_dl_dlopen=no
12087 fi
12088 rm -f core conftest.err conftest.$ac_objext \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12091 fi
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12093 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12094 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12095 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12096 else
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12098 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12099 if ${ac_cv_lib_svld_dlopen+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lsvld $LIBS"
12104 if test x$gcc_no_link = xyes; then
12105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12106 fi
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12109
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char dlopen ();
12117 int
12118 main ()
12119 {
12120 return dlopen ();
12121 ;
12122 return 0;
12123 }
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_lib_svld_dlopen=yes
12127 else
12128 ac_cv_lib_svld_dlopen=no
12129 fi
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12133 fi
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12135 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12136 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12137 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12138 else
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12140 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12141 if ${ac_cv_lib_dld_dld_link+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-ldld $LIBS"
12146 if test x$gcc_no_link = xyes; then
12147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12148 fi
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12151
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char dld_link ();
12159 int
12160 main ()
12161 {
12162 return dld_link ();
12163 ;
12164 return 0;
12165 }
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_dld_dld_link=yes
12169 else
12170 ac_cv_lib_dld_dld_link=no
12171 fi
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12175 fi
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12177 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12178 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12179 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12180 fi
12181
12182
12183 fi
12184
12185
12186 fi
12187
12188
12189 fi
12190
12191
12192 fi
12193
12194
12195 fi
12196
12197 ;;
12198 esac
12199
12200 if test "x$lt_cv_dlopen" != xno; then
12201 enable_dlopen=yes
12202 else
12203 enable_dlopen=no
12204 fi
12205
12206 case $lt_cv_dlopen in
12207 dlopen)
12208 save_CPPFLAGS="$CPPFLAGS"
12209 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12210
12211 save_LDFLAGS="$LDFLAGS"
12212 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12213
12214 save_LIBS="$LIBS"
12215 LIBS="$lt_cv_dlopen_libs $LIBS"
12216
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12218 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12219 if ${lt_cv_dlopen_self+:} false; then :
12220 $as_echo_n "(cached) " >&6
12221 else
12222 if test "$cross_compiling" = yes; then :
12223 lt_cv_dlopen_self=cross
12224 else
12225 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12226 lt_status=$lt_dlunknown
12227 cat > conftest.$ac_ext <<_LT_EOF
12228 #line 12228 "configure"
12229 #include "confdefs.h"
12230
12231 #if HAVE_DLFCN_H
12232 #include <dlfcn.h>
12233 #endif
12234
12235 #include <stdio.h>
12236
12237 #ifdef RTLD_GLOBAL
12238 # define LT_DLGLOBAL RTLD_GLOBAL
12239 #else
12240 # ifdef DL_GLOBAL
12241 # define LT_DLGLOBAL DL_GLOBAL
12242 # else
12243 # define LT_DLGLOBAL 0
12244 # endif
12245 #endif
12246
12247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12248 find out it does not work in some platform. */
12249 #ifndef LT_DLLAZY_OR_NOW
12250 # ifdef RTLD_LAZY
12251 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12252 # else
12253 # ifdef DL_LAZY
12254 # define LT_DLLAZY_OR_NOW DL_LAZY
12255 # else
12256 # ifdef RTLD_NOW
12257 # define LT_DLLAZY_OR_NOW RTLD_NOW
12258 # else
12259 # ifdef DL_NOW
12260 # define LT_DLLAZY_OR_NOW DL_NOW
12261 # else
12262 # define LT_DLLAZY_OR_NOW 0
12263 # endif
12264 # endif
12265 # endif
12266 # endif
12267 #endif
12268
12269 /* When -fvisbility=hidden is used, assume the code has been annotated
12270 correspondingly for the symbols needed. */
12271 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12272 void fnord () __attribute__((visibility("default")));
12273 #endif
12274
12275 void fnord () { int i=42; }
12276 int main ()
12277 {
12278 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12279 int status = $lt_dlunknown;
12280
12281 if (self)
12282 {
12283 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12284 else
12285 {
12286 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12287 else puts (dlerror ());
12288 }
12289 /* dlclose (self); */
12290 }
12291 else
12292 puts (dlerror ());
12293
12294 return status;
12295 }
12296 _LT_EOF
12297 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12298 (eval $ac_link) 2>&5
12299 ac_status=$?
12300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12301 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12302 (./conftest; exit; ) >&5 2>/dev/null
12303 lt_status=$?
12304 case x$lt_status in
12305 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12306 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12307 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12308 esac
12309 else :
12310 # compilation failed
12311 lt_cv_dlopen_self=no
12312 fi
12313 fi
12314 rm -fr conftest*
12315
12316
12317 fi
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12319 $as_echo "$lt_cv_dlopen_self" >&6; }
12320
12321 if test "x$lt_cv_dlopen_self" = xyes; then
12322 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12324 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12325 if ${lt_cv_dlopen_self_static+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 if test "$cross_compiling" = yes; then :
12329 lt_cv_dlopen_self_static=cross
12330 else
12331 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12332 lt_status=$lt_dlunknown
12333 cat > conftest.$ac_ext <<_LT_EOF
12334 #line 12334 "configure"
12335 #include "confdefs.h"
12336
12337 #if HAVE_DLFCN_H
12338 #include <dlfcn.h>
12339 #endif
12340
12341 #include <stdio.h>
12342
12343 #ifdef RTLD_GLOBAL
12344 # define LT_DLGLOBAL RTLD_GLOBAL
12345 #else
12346 # ifdef DL_GLOBAL
12347 # define LT_DLGLOBAL DL_GLOBAL
12348 # else
12349 # define LT_DLGLOBAL 0
12350 # endif
12351 #endif
12352
12353 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12354 find out it does not work in some platform. */
12355 #ifndef LT_DLLAZY_OR_NOW
12356 # ifdef RTLD_LAZY
12357 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12358 # else
12359 # ifdef DL_LAZY
12360 # define LT_DLLAZY_OR_NOW DL_LAZY
12361 # else
12362 # ifdef RTLD_NOW
12363 # define LT_DLLAZY_OR_NOW RTLD_NOW
12364 # else
12365 # ifdef DL_NOW
12366 # define LT_DLLAZY_OR_NOW DL_NOW
12367 # else
12368 # define LT_DLLAZY_OR_NOW 0
12369 # endif
12370 # endif
12371 # endif
12372 # endif
12373 #endif
12374
12375 /* When -fvisbility=hidden is used, assume the code has been annotated
12376 correspondingly for the symbols needed. */
12377 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12378 void fnord () __attribute__((visibility("default")));
12379 #endif
12380
12381 void fnord () { int i=42; }
12382 int main ()
12383 {
12384 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12385 int status = $lt_dlunknown;
12386
12387 if (self)
12388 {
12389 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12390 else
12391 {
12392 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12393 else puts (dlerror ());
12394 }
12395 /* dlclose (self); */
12396 }
12397 else
12398 puts (dlerror ());
12399
12400 return status;
12401 }
12402 _LT_EOF
12403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12404 (eval $ac_link) 2>&5
12405 ac_status=$?
12406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12407 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12408 (./conftest; exit; ) >&5 2>/dev/null
12409 lt_status=$?
12410 case x$lt_status in
12411 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12412 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12413 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12414 esac
12415 else :
12416 # compilation failed
12417 lt_cv_dlopen_self_static=no
12418 fi
12419 fi
12420 rm -fr conftest*
12421
12422
12423 fi
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12425 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12426 fi
12427
12428 CPPFLAGS="$save_CPPFLAGS"
12429 LDFLAGS="$save_LDFLAGS"
12430 LIBS="$save_LIBS"
12431 ;;
12432 esac
12433
12434 case $lt_cv_dlopen_self in
12435 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12436 *) enable_dlopen_self=unknown ;;
12437 esac
12438
12439 case $lt_cv_dlopen_self_static in
12440 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12441 *) enable_dlopen_self_static=unknown ;;
12442 esac
12443 fi
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461 striplib=
12462 old_striplib=
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12464 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12465 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12466 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12467 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12469 $as_echo "yes" >&6; }
12470 else
12471 # FIXME - insert some real tests, host_os isn't really good enough
12472 case $host_os in
12473 darwin*)
12474 if test -n "$STRIP" ; then
12475 striplib="$STRIP -x"
12476 old_striplib="$STRIP -S"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12478 $as_echo "yes" >&6; }
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12482 fi
12483 ;;
12484 *)
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12487 ;;
12488 esac
12489 fi
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502 # Report which library types will actually be built
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12504 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12506 $as_echo "$can_build_shared" >&6; }
12507
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12509 $as_echo_n "checking whether to build shared libraries... " >&6; }
12510 test "$can_build_shared" = "no" && enable_shared=no
12511
12512 # On AIX, shared libraries and static libraries use the same namespace, and
12513 # are all built from PIC.
12514 case $host_os in
12515 aix3*)
12516 test "$enable_shared" = yes && enable_static=no
12517 if test -n "$RANLIB"; then
12518 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12519 postinstall_cmds='$RANLIB $lib'
12520 fi
12521 ;;
12522
12523 aix[4-9]*)
12524 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12525 test "$enable_shared" = yes && enable_static=no
12526 fi
12527 ;;
12528 esac
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12530 $as_echo "$enable_shared" >&6; }
12531
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12533 $as_echo_n "checking whether to build static libraries... " >&6; }
12534 # Make sure either enable_shared or enable_static is yes.
12535 test "$enable_shared" = yes || enable_static=yes
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12537 $as_echo "$enable_static" >&6; }
12538
12539
12540
12541
12542 fi
12543 ac_ext=c
12544 ac_cpp='$CPP $CPPFLAGS'
12545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12548
12549 CC="$lt_save_CC"
12550
12551 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12552 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12553 (test "X$CXX" != "Xg++"))) ; then
12554 ac_ext=cpp
12555 ac_cpp='$CXXCPP $CPPFLAGS'
12556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12560 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12561 if test -z "$CXXCPP"; then
12562 if ${ac_cv_prog_CXXCPP+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 # Double quotes because CXXCPP needs to be expanded
12566 for CXXCPP in "$CXX -E" "/lib/cpp"
12567 do
12568 ac_preproc_ok=false
12569 for ac_cxx_preproc_warn_flag in '' yes
12570 do
12571 # Use a header file that comes with gcc, so configuring glibc
12572 # with a fresh cross-compiler works.
12573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12574 # <limits.h> exists even on freestanding compilers.
12575 # On the NeXT, cc -E runs the code through the compiler's parser,
12576 # not just through cpp. "Syntax error" is here to catch this case.
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #ifdef __STDC__
12580 # include <limits.h>
12581 #else
12582 # include <assert.h>
12583 #endif
12584 Syntax error
12585 _ACEOF
12586 if ac_fn_cxx_try_cpp "$LINENO"; then :
12587
12588 else
12589 # Broken: fails on valid input.
12590 continue
12591 fi
12592 rm -f conftest.err conftest.i conftest.$ac_ext
12593
12594 # OK, works on sane cases. Now check whether nonexistent headers
12595 # can be detected and how.
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12598 #include <ac_nonexistent.h>
12599 _ACEOF
12600 if ac_fn_cxx_try_cpp "$LINENO"; then :
12601 # Broken: success on invalid input.
12602 continue
12603 else
12604 # Passes both tests.
12605 ac_preproc_ok=:
12606 break
12607 fi
12608 rm -f conftest.err conftest.i conftest.$ac_ext
12609
12610 done
12611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12612 rm -f conftest.i conftest.err conftest.$ac_ext
12613 if $ac_preproc_ok; then :
12614 break
12615 fi
12616
12617 done
12618 ac_cv_prog_CXXCPP=$CXXCPP
12619
12620 fi
12621 CXXCPP=$ac_cv_prog_CXXCPP
12622 else
12623 ac_cv_prog_CXXCPP=$CXXCPP
12624 fi
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12626 $as_echo "$CXXCPP" >&6; }
12627 ac_preproc_ok=false
12628 for ac_cxx_preproc_warn_flag in '' yes
12629 do
12630 # Use a header file that comes with gcc, so configuring glibc
12631 # with a fresh cross-compiler works.
12632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12633 # <limits.h> exists even on freestanding compilers.
12634 # On the NeXT, cc -E runs the code through the compiler's parser,
12635 # not just through cpp. "Syntax error" is here to catch this case.
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12638 #ifdef __STDC__
12639 # include <limits.h>
12640 #else
12641 # include <assert.h>
12642 #endif
12643 Syntax error
12644 _ACEOF
12645 if ac_fn_cxx_try_cpp "$LINENO"; then :
12646
12647 else
12648 # Broken: fails on valid input.
12649 continue
12650 fi
12651 rm -f conftest.err conftest.i conftest.$ac_ext
12652
12653 # OK, works on sane cases. Now check whether nonexistent headers
12654 # can be detected and how.
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12657 #include <ac_nonexistent.h>
12658 _ACEOF
12659 if ac_fn_cxx_try_cpp "$LINENO"; then :
12660 # Broken: success on invalid input.
12661 continue
12662 else
12663 # Passes both tests.
12664 ac_preproc_ok=:
12665 break
12666 fi
12667 rm -f conftest.err conftest.i conftest.$ac_ext
12668
12669 done
12670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12671 rm -f conftest.i conftest.err conftest.$ac_ext
12672 if $ac_preproc_ok; then :
12673
12674 else
12675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12677 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12678 See \`config.log' for more details" "$LINENO" 5; }
12679 fi
12680
12681 ac_ext=c
12682 ac_cpp='$CPP $CPPFLAGS'
12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12686
12687 else
12688 _lt_caught_CXX_error=yes
12689 fi
12690
12691 ac_ext=cpp
12692 ac_cpp='$CXXCPP $CPPFLAGS'
12693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12696
12697 archive_cmds_need_lc_CXX=no
12698 allow_undefined_flag_CXX=
12699 always_export_symbols_CXX=no
12700 archive_expsym_cmds_CXX=
12701 compiler_needs_object_CXX=no
12702 export_dynamic_flag_spec_CXX=
12703 hardcode_direct_CXX=no
12704 hardcode_direct_absolute_CXX=no
12705 hardcode_libdir_flag_spec_CXX=
12706 hardcode_libdir_flag_spec_ld_CXX=
12707 hardcode_libdir_separator_CXX=
12708 hardcode_minus_L_CXX=no
12709 hardcode_shlibpath_var_CXX=unsupported
12710 hardcode_automatic_CXX=no
12711 inherit_rpath_CXX=no
12712 module_cmds_CXX=
12713 module_expsym_cmds_CXX=
12714 link_all_deplibs_CXX=unknown
12715 old_archive_cmds_CXX=$old_archive_cmds
12716 reload_flag_CXX=$reload_flag
12717 reload_cmds_CXX=$reload_cmds
12718 no_undefined_flag_CXX=
12719 whole_archive_flag_spec_CXX=
12720 enable_shared_with_static_runtimes_CXX=no
12721
12722 # Source file extension for C++ test sources.
12723 ac_ext=cpp
12724
12725 # Object file extension for compiled C++ test sources.
12726 objext=o
12727 objext_CXX=$objext
12728
12729 # No sense in running all these tests if we already determined that
12730 # the CXX compiler isn't working. Some variables (like enable_shared)
12731 # are currently assumed to apply to all compilers on this platform,
12732 # and will be corrupted by setting them based on a non-working compiler.
12733 if test "$_lt_caught_CXX_error" != yes; then
12734 # Code to be used in simple compile tests
12735 lt_simple_compile_test_code="int some_variable = 0;"
12736
12737 # Code to be used in simple link tests
12738 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12739
12740 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12741
12742
12743
12744
12745
12746
12747 # If no C compiler was specified, use CC.
12748 LTCC=${LTCC-"$CC"}
12749
12750 # If no C compiler flags were specified, use CFLAGS.
12751 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12752
12753 # Allow CC to be a program name with arguments.
12754 compiler=$CC
12755
12756
12757 # save warnings/boilerplate of simple test code
12758 ac_outfile=conftest.$ac_objext
12759 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12760 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12761 _lt_compiler_boilerplate=`cat conftest.err`
12762 $RM conftest*
12763
12764 ac_outfile=conftest.$ac_objext
12765 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12766 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12767 _lt_linker_boilerplate=`cat conftest.err`
12768 $RM -r conftest*
12769
12770
12771 # Allow CC to be a program name with arguments.
12772 lt_save_CC=$CC
12773 lt_save_LD=$LD
12774 lt_save_GCC=$GCC
12775 GCC=$GXX
12776 lt_save_with_gnu_ld=$with_gnu_ld
12777 lt_save_path_LD=$lt_cv_path_LD
12778 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12779 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12780 else
12781 $as_unset lt_cv_prog_gnu_ld
12782 fi
12783 if test -n "${lt_cv_path_LDCXX+set}"; then
12784 lt_cv_path_LD=$lt_cv_path_LDCXX
12785 else
12786 $as_unset lt_cv_path_LD
12787 fi
12788 test -z "${LDCXX+set}" || LD=$LDCXX
12789 CC=${CXX-"c++"}
12790 compiler=$CC
12791 compiler_CXX=$CC
12792 for cc_temp in $compiler""; do
12793 case $cc_temp in
12794 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12795 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12796 \-*) ;;
12797 *) break;;
12798 esac
12799 done
12800 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12801
12802
12803 if test -n "$compiler"; then
12804 # We don't want -fno-exception when compiling C++ code, so set the
12805 # no_builtin_flag separately
12806 if test "$GXX" = yes; then
12807 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12808 else
12809 lt_prog_compiler_no_builtin_flag_CXX=
12810 fi
12811
12812 if test "$GXX" = yes; then
12813 # Set up default GNU C++ configuration
12814
12815
12816
12817 # Check whether --with-gnu-ld was given.
12818 if test "${with_gnu_ld+set}" = set; then :
12819 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12820 else
12821 with_gnu_ld=no
12822 fi
12823
12824 ac_prog=ld
12825 if test "$GCC" = yes; then
12826 # Check if gcc -print-prog-name=ld gives a path.
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12828 $as_echo_n "checking for ld used by $CC... " >&6; }
12829 case $host in
12830 *-*-mingw*)
12831 # gcc leaves a trailing carriage return which upsets mingw
12832 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12833 *)
12834 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12835 esac
12836 case $ac_prog in
12837 # Accept absolute paths.
12838 [\\/]* | ?:[\\/]*)
12839 re_direlt='/[^/][^/]*/\.\./'
12840 # Canonicalize the pathname of ld
12841 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12842 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12843 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12844 done
12845 test -z "$LD" && LD="$ac_prog"
12846 ;;
12847 "")
12848 # If it fails, then pretend we aren't using GCC.
12849 ac_prog=ld
12850 ;;
12851 *)
12852 # If it is relative, then search for the first ld in PATH.
12853 with_gnu_ld=unknown
12854 ;;
12855 esac
12856 elif test "$with_gnu_ld" = yes; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12858 $as_echo_n "checking for GNU ld... " >&6; }
12859 else
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12861 $as_echo_n "checking for non-GNU ld... " >&6; }
12862 fi
12863 if ${lt_cv_path_LD+:} false; then :
12864 $as_echo_n "(cached) " >&6
12865 else
12866 if test -z "$LD"; then
12867 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12868 for ac_dir in $PATH; do
12869 IFS="$lt_save_ifs"
12870 test -z "$ac_dir" && ac_dir=.
12871 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12872 lt_cv_path_LD="$ac_dir/$ac_prog"
12873 # Check to see if the program is GNU ld. I'd rather use --version,
12874 # but apparently some variants of GNU ld only accept -v.
12875 # Break only if it was the GNU/non-GNU ld that we prefer.
12876 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12877 *GNU* | *'with BFD'*)
12878 test "$with_gnu_ld" != no && break
12879 ;;
12880 *)
12881 test "$with_gnu_ld" != yes && break
12882 ;;
12883 esac
12884 fi
12885 done
12886 IFS="$lt_save_ifs"
12887 else
12888 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12889 fi
12890 fi
12891
12892 LD="$lt_cv_path_LD"
12893 if test -n "$LD"; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12895 $as_echo "$LD" >&6; }
12896 else
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 $as_echo "no" >&6; }
12899 fi
12900 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12902 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12903 if ${lt_cv_prog_gnu_ld+:} false; then :
12904 $as_echo_n "(cached) " >&6
12905 else
12906 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12907 case `$LD -v 2>&1 </dev/null` in
12908 *GNU* | *'with BFD'*)
12909 lt_cv_prog_gnu_ld=yes
12910 ;;
12911 *)
12912 lt_cv_prog_gnu_ld=no
12913 ;;
12914 esac
12915 fi
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12917 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12918 with_gnu_ld=$lt_cv_prog_gnu_ld
12919
12920
12921
12922
12923
12924
12925
12926 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12927 # archiving commands below assume that GNU ld is being used.
12928 if test "$with_gnu_ld" = yes; then
12929 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12930 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'
12931
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12933 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12934
12935 # If archive_cmds runs LD, not CC, wlarc should be empty
12936 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12937 # investigate it a little bit more. (MM)
12938 wlarc='${wl}'
12939
12940 # ancient GNU ld didn't support --whole-archive et. al.
12941 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12942 $GREP 'no-whole-archive' > /dev/null; then
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12944 else
12945 whole_archive_flag_spec_CXX=
12946 fi
12947 else
12948 with_gnu_ld=no
12949 wlarc=
12950
12951 # A generic and very simple default shared library creation
12952 # command for GNU C++ for the case where it uses the native
12953 # linker, instead of GNU ld. If possible, this setting should
12954 # overridden to take advantage of the native linker features on
12955 # the platform it is being used on.
12956 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12957 fi
12958
12959 # Commands to make compiler produce verbose output that lists
12960 # what "hidden" libraries, object files and flags are used when
12961 # linking a shared library.
12962 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12963
12964 else
12965 GXX=no
12966 with_gnu_ld=no
12967 wlarc=
12968 fi
12969
12970 # PORTME: fill in a description of your system's C++ link characteristics
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12972 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12973 ld_shlibs_CXX=yes
12974 case $host_os in
12975 aix3*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979 aix[4-9]*)
12980 if test "$host_cpu" = ia64; then
12981 # On IA64, the linker does run time linking by default, so we don't
12982 # have to do anything special.
12983 aix_use_runtimelinking=no
12984 exp_sym_flag='-Bexport'
12985 no_entry_flag=""
12986 else
12987 aix_use_runtimelinking=no
12988
12989 # Test if we are trying to use run time linking or normal
12990 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12991 # need to do runtime linking.
12992 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12993 for ld_flag in $LDFLAGS; do
12994 case $ld_flag in
12995 *-brtl*)
12996 aix_use_runtimelinking=yes
12997 break
12998 ;;
12999 esac
13000 done
13001 ;;
13002 esac
13003
13004 exp_sym_flag='-bexport'
13005 no_entry_flag='-bnoentry'
13006 fi
13007
13008 # When large executables or shared objects are built, AIX ld can
13009 # have problems creating the table of contents. If linking a library
13010 # or program results in "error TOC overflow" add -mminimal-toc to
13011 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13012 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13013
13014 archive_cmds_CXX=''
13015 hardcode_direct_CXX=yes
13016 hardcode_direct_absolute_CXX=yes
13017 hardcode_libdir_separator_CXX=':'
13018 link_all_deplibs_CXX=yes
13019 file_list_spec_CXX='${wl}-f,'
13020
13021 if test "$GXX" = yes; then
13022 case $host_os in aix4.[012]|aix4.[012].*)
13023 # We only want to do this on AIX 4.2 and lower, the check
13024 # below for broken collect2 doesn't work under 4.3+
13025 collect2name=`${CC} -print-prog-name=collect2`
13026 if test -f "$collect2name" &&
13027 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13028 then
13029 # We have reworked collect2
13030 :
13031 else
13032 # We have old collect2
13033 hardcode_direct_CXX=unsupported
13034 # It fails to find uninstalled libraries when the uninstalled
13035 # path is not listed in the libpath. Setting hardcode_minus_L
13036 # to unsupported forces relinking
13037 hardcode_minus_L_CXX=yes
13038 hardcode_libdir_flag_spec_CXX='-L$libdir'
13039 hardcode_libdir_separator_CXX=
13040 fi
13041 esac
13042 shared_flag='-shared'
13043 if test "$aix_use_runtimelinking" = yes; then
13044 shared_flag="$shared_flag "'${wl}-G'
13045 fi
13046 else
13047 # not using gcc
13048 if test "$host_cpu" = ia64; then
13049 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13050 # chokes on -Wl,-G. The following line is correct:
13051 shared_flag='-G'
13052 else
13053 if test "$aix_use_runtimelinking" = yes; then
13054 shared_flag='${wl}-G'
13055 else
13056 shared_flag='${wl}-bM:SRE'
13057 fi
13058 fi
13059 fi
13060
13061 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13062 # It seems that -bexpall does not export symbols beginning with
13063 # underscore (_), so it is better to generate a list of symbols to
13064 # export.
13065 always_export_symbols_CXX=yes
13066 if test "$aix_use_runtimelinking" = yes; then
13067 # Warning - without using the other runtime loading flags (-brtl),
13068 # -berok will link without error, but may produce a broken library.
13069 allow_undefined_flag_CXX='-berok'
13070 # Determine the default libpath from the value encoded in an empty
13071 # executable.
13072 if test x$gcc_no_link = xyes; then
13073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13074 fi
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13077
13078 int
13079 main ()
13080 {
13081
13082 ;
13083 return 0;
13084 }
13085 _ACEOF
13086 if ac_fn_cxx_try_link "$LINENO"; then :
13087
13088 lt_aix_libpath_sed='
13089 /Import File Strings/,/^$/ {
13090 /^0/ {
13091 s/^0 *\(.*\)$/\1/
13092 p
13093 }
13094 }'
13095 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13096 # Check for a 64-bit object if we didn't find anything.
13097 if test -z "$aix_libpath"; then
13098 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13099 fi
13100 fi
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13104
13105 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13106
13107 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"
13108 else
13109 if test "$host_cpu" = ia64; then
13110 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13111 allow_undefined_flag_CXX="-z nodefs"
13112 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"
13113 else
13114 # Determine the default libpath from the value encoded in an
13115 # empty executable.
13116 if test x$gcc_no_link = xyes; then
13117 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13118 fi
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13121
13122 int
13123 main ()
13124 {
13125
13126 ;
13127 return 0;
13128 }
13129 _ACEOF
13130 if ac_fn_cxx_try_link "$LINENO"; then :
13131
13132 lt_aix_libpath_sed='
13133 /Import File Strings/,/^$/ {
13134 /^0/ {
13135 s/^0 *\(.*\)$/\1/
13136 p
13137 }
13138 }'
13139 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13140 # Check for a 64-bit object if we didn't find anything.
13141 if test -z "$aix_libpath"; then
13142 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13143 fi
13144 fi
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13148
13149 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13150 # Warning - without using the other run time loading flags,
13151 # -berok will link without error, but may produce a broken library.
13152 no_undefined_flag_CXX=' ${wl}-bernotok'
13153 allow_undefined_flag_CXX=' ${wl}-berok'
13154 if test "$with_gnu_ld" = yes; then
13155 # We only use this code for GNU lds that support --whole-archive.
13156 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13157 else
13158 # Exported symbols can be pulled into shared objects from archives
13159 whole_archive_flag_spec_CXX='$convenience'
13160 fi
13161 archive_cmds_need_lc_CXX=yes
13162 # This is similar to how AIX traditionally builds its shared
13163 # libraries.
13164 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'
13165 fi
13166 fi
13167 ;;
13168
13169 beos*)
13170 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13171 allow_undefined_flag_CXX=unsupported
13172 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13173 # support --undefined. This deserves some investigation. FIXME
13174 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13175 else
13176 ld_shlibs_CXX=no
13177 fi
13178 ;;
13179
13180 chorus*)
13181 case $cc_basename in
13182 *)
13183 # FIXME: insert proper C++ library support
13184 ld_shlibs_CXX=no
13185 ;;
13186 esac
13187 ;;
13188
13189 cygwin* | mingw* | pw32* | cegcc*)
13190 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13191 # as there is no search path for DLLs.
13192 hardcode_libdir_flag_spec_CXX='-L$libdir'
13193 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13194 allow_undefined_flag_CXX=unsupported
13195 always_export_symbols_CXX=no
13196 enable_shared_with_static_runtimes_CXX=yes
13197
13198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13199 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'
13200 # If the export-symbols file already is a .def file (1st line
13201 # is EXPORTS), use it as is; otherwise, prepend...
13202 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13203 cp $export_symbols $output_objdir/$soname.def;
13204 else
13205 echo EXPORTS > $output_objdir/$soname.def;
13206 cat $export_symbols >> $output_objdir/$soname.def;
13207 fi~
13208 $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'
13209 else
13210 ld_shlibs_CXX=no
13211 fi
13212 ;;
13213 darwin* | rhapsody*)
13214
13215
13216 archive_cmds_need_lc_CXX=no
13217 hardcode_direct_CXX=no
13218 hardcode_automatic_CXX=yes
13219 hardcode_shlibpath_var_CXX=unsupported
13220 if test "$lt_cv_ld_force_load" = "yes"; then
13221 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\"`'
13222 else
13223 whole_archive_flag_spec_CXX=''
13224 fi
13225 link_all_deplibs_CXX=yes
13226 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13227 case $cc_basename in
13228 ifort*) _lt_dar_can_shared=yes ;;
13229 *) _lt_dar_can_shared=$GCC ;;
13230 esac
13231 if test "$_lt_dar_can_shared" = "yes"; then
13232 output_verbose_link_cmd=func_echo_all
13233 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}"
13234 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13235 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}"
13236 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}"
13237 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13238 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}"
13239 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}"
13240 fi
13241
13242 else
13243 ld_shlibs_CXX=no
13244 fi
13245
13246 ;;
13247
13248 dgux*)
13249 case $cc_basename in
13250 ec++*)
13251 # FIXME: insert proper C++ library support
13252 ld_shlibs_CXX=no
13253 ;;
13254 ghcx*)
13255 # Green Hills C++ Compiler
13256 # FIXME: insert proper C++ library support
13257 ld_shlibs_CXX=no
13258 ;;
13259 *)
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13262 ;;
13263 esac
13264 ;;
13265
13266 freebsd2.*)
13267 # C++ shared libraries reported to be fairly broken before
13268 # switch to ELF
13269 ld_shlibs_CXX=no
13270 ;;
13271
13272 freebsd-elf*)
13273 archive_cmds_need_lc_CXX=no
13274 ;;
13275
13276 freebsd* | dragonfly*)
13277 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13278 # conventions
13279 ld_shlibs_CXX=yes
13280 ;;
13281
13282 gnu*)
13283 ;;
13284
13285 haiku*)
13286 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13287 link_all_deplibs_CXX=yes
13288 ;;
13289
13290 hpux9*)
13291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13292 hardcode_libdir_separator_CXX=:
13293 export_dynamic_flag_spec_CXX='${wl}-E'
13294 hardcode_direct_CXX=yes
13295 hardcode_minus_L_CXX=yes # Not in the search PATH,
13296 # but as the default
13297 # location of the library.
13298
13299 case $cc_basename in
13300 CC*)
13301 # FIXME: insert proper C++ library support
13302 ld_shlibs_CXX=no
13303 ;;
13304 aCC*)
13305 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'
13306 # Commands to make compiler produce verbose output that lists
13307 # what "hidden" libraries, object files and flags are used when
13308 # linking a shared library.
13309 #
13310 # There doesn't appear to be a way to prevent this compiler from
13311 # explicitly linking system object files so we need to strip them
13312 # from the output so that they don't get included in the library
13313 # dependencies.
13314 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"'
13315 ;;
13316 *)
13317 if test "$GXX" = yes; then
13318 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'
13319 else
13320 # FIXME: insert proper C++ library support
13321 ld_shlibs_CXX=no
13322 fi
13323 ;;
13324 esac
13325 ;;
13326
13327 hpux10*|hpux11*)
13328 if test $with_gnu_ld = no; then
13329 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13330 hardcode_libdir_separator_CXX=:
13331
13332 case $host_cpu in
13333 hppa*64*|ia64*)
13334 ;;
13335 *)
13336 export_dynamic_flag_spec_CXX='${wl}-E'
13337 ;;
13338 esac
13339 fi
13340 case $host_cpu in
13341 hppa*64*|ia64*)
13342 hardcode_direct_CXX=no
13343 hardcode_shlibpath_var_CXX=no
13344 ;;
13345 *)
13346 hardcode_direct_CXX=yes
13347 hardcode_direct_absolute_CXX=yes
13348 hardcode_minus_L_CXX=yes # Not in the search PATH,
13349 # but as the default
13350 # location of the library.
13351 ;;
13352 esac
13353
13354 case $cc_basename in
13355 CC*)
13356 # FIXME: insert proper C++ library support
13357 ld_shlibs_CXX=no
13358 ;;
13359 aCC*)
13360 case $host_cpu in
13361 hppa*64*)
13362 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13363 ;;
13364 ia64*)
13365 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13366 ;;
13367 *)
13368 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13369 ;;
13370 esac
13371 # Commands to make compiler produce verbose output that lists
13372 # what "hidden" libraries, object files and flags are used when
13373 # linking a shared library.
13374 #
13375 # There doesn't appear to be a way to prevent this compiler from
13376 # explicitly linking system object files so we need to strip them
13377 # from the output so that they don't get included in the library
13378 # dependencies.
13379 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"'
13380 ;;
13381 *)
13382 if test "$GXX" = yes; then
13383 if test $with_gnu_ld = no; then
13384 case $host_cpu in
13385 hppa*64*)
13386 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13387 ;;
13388 ia64*)
13389 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13390 ;;
13391 *)
13392 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'
13393 ;;
13394 esac
13395 fi
13396 else
13397 # FIXME: insert proper C++ library support
13398 ld_shlibs_CXX=no
13399 fi
13400 ;;
13401 esac
13402 ;;
13403
13404 interix[3-9]*)
13405 hardcode_direct_CXX=no
13406 hardcode_shlibpath_var_CXX=no
13407 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13408 export_dynamic_flag_spec_CXX='${wl}-E'
13409 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13410 # Instead, shared libraries are loaded at an image base (0x10000000 by
13411 # default) and relocated if they conflict, which is a slow very memory
13412 # consuming and fragmenting process. To avoid this, we pick a random,
13413 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13414 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13415 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'
13416 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'
13417 ;;
13418 irix5* | irix6*)
13419 case $cc_basename in
13420 CC*)
13421 # SGI C++
13422 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'
13423
13424 # Archives containing C++ object files must be created using
13425 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13426 # necessary to make sure instantiated templates are included
13427 # in the archive.
13428 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13429 ;;
13430 *)
13431 if test "$GXX" = yes; then
13432 if test "$with_gnu_ld" = no; then
13433 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'
13434 else
13435 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'
13436 fi
13437 fi
13438 link_all_deplibs_CXX=yes
13439 ;;
13440 esac
13441 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13442 hardcode_libdir_separator_CXX=:
13443 inherit_rpath_CXX=yes
13444 ;;
13445
13446 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13447 case $cc_basename in
13448 KCC*)
13449 # Kuck and Associates, Inc. (KAI) C++ Compiler
13450
13451 # KCC will only create a shared library if the output file
13452 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13453 # to its proper name (with version) after linking.
13454 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'
13455 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'
13456 # Commands to make compiler produce verbose output that lists
13457 # what "hidden" libraries, object files and flags are used when
13458 # linking a shared library.
13459 #
13460 # There doesn't appear to be a way to prevent this compiler from
13461 # explicitly linking system object files so we need to strip them
13462 # from the output so that they don't get included in the library
13463 # dependencies.
13464 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"'
13465
13466 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13467 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13468
13469 # Archives containing C++ object files must be created using
13470 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13471 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13472 ;;
13473 icpc* | ecpc* )
13474 # Intel C++
13475 with_gnu_ld=yes
13476 # version 8.0 and above of icpc choke on multiply defined symbols
13477 # if we add $predep_objects and $postdep_objects, however 7.1 and
13478 # earlier do not add the objects themselves.
13479 case `$CC -V 2>&1` in
13480 *"Version 7."*)
13481 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13482 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'
13483 ;;
13484 *) # Version 8.0 or newer
13485 tmp_idyn=
13486 case $host_cpu in
13487 ia64*) tmp_idyn=' -i_dynamic';;
13488 esac
13489 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13490 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'
13491 ;;
13492 esac
13493 archive_cmds_need_lc_CXX=no
13494 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13495 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13496 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13497 ;;
13498 pgCC* | pgcpp*)
13499 # Portland Group C++ compiler
13500 case `$CC -V` in
13501 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13502 prelink_cmds_CXX='tpldir=Template.dir~
13503 rm -rf $tpldir~
13504 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13505 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13506 old_archive_cmds_CXX='tpldir=Template.dir~
13507 rm -rf $tpldir~
13508 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13509 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13510 $RANLIB $oldlib'
13511 archive_cmds_CXX='tpldir=Template.dir~
13512 rm -rf $tpldir~
13513 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13514 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13515 archive_expsym_cmds_CXX='tpldir=Template.dir~
13516 rm -rf $tpldir~
13517 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13518 $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'
13519 ;;
13520 *) # Version 6 and above use weak symbols
13521 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13522 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'
13523 ;;
13524 esac
13525
13526 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13527 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13528 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'
13529 ;;
13530 cxx*)
13531 # Compaq C++
13532 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13533 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'
13534
13535 runpath_var=LD_RUN_PATH
13536 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13537 hardcode_libdir_separator_CXX=:
13538
13539 # Commands to make compiler produce verbose output that lists
13540 # what "hidden" libraries, object files and flags are used when
13541 # linking a shared library.
13542 #
13543 # There doesn't appear to be a way to prevent this compiler from
13544 # explicitly linking system object files so we need to strip them
13545 # from the output so that they don't get included in the library
13546 # dependencies.
13547 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'
13548 ;;
13549 xl* | mpixl* | bgxl*)
13550 # IBM XL 8.0 on PPC, with GNU ld
13551 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13552 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13553 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13554 if test "x$supports_anon_versioning" = xyes; then
13555 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13556 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13557 echo "local: *; };" >> $output_objdir/$libname.ver~
13558 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13559 fi
13560 ;;
13561 *)
13562 case `$CC -V 2>&1 | sed 5q` in
13563 *Sun\ C*)
13564 # Sun C++ 5.9
13565 no_undefined_flag_CXX=' -zdefs'
13566 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13567 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'
13568 hardcode_libdir_flag_spec_CXX='-R$libdir'
13569 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'
13570 compiler_needs_object_CXX=yes
13571
13572 # Not sure whether something based on
13573 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13574 # would be better.
13575 output_verbose_link_cmd='func_echo_all'
13576
13577 # Archives containing C++ object files must be created using
13578 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13579 # necessary to make sure instantiated templates are included
13580 # in the archive.
13581 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13582 ;;
13583 esac
13584 ;;
13585 esac
13586 ;;
13587
13588 lynxos*)
13589 # FIXME: insert proper C++ library support
13590 ld_shlibs_CXX=no
13591 ;;
13592
13593 m88k*)
13594 # FIXME: insert proper C++ library support
13595 ld_shlibs_CXX=no
13596 ;;
13597
13598 mvs*)
13599 case $cc_basename in
13600 cxx*)
13601 # FIXME: insert proper C++ library support
13602 ld_shlibs_CXX=no
13603 ;;
13604 *)
13605 # FIXME: insert proper C++ library support
13606 ld_shlibs_CXX=no
13607 ;;
13608 esac
13609 ;;
13610
13611 netbsd*)
13612 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13613 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13614 wlarc=
13615 hardcode_libdir_flag_spec_CXX='-R$libdir'
13616 hardcode_direct_CXX=yes
13617 hardcode_shlibpath_var_CXX=no
13618 fi
13619 # Workaround some broken pre-1.5 toolchains
13620 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13621 ;;
13622
13623 *nto* | *qnx*)
13624 ld_shlibs_CXX=yes
13625 ;;
13626
13627 openbsd2*)
13628 # C++ shared libraries are fairly broken
13629 ld_shlibs_CXX=no
13630 ;;
13631
13632 openbsd*)
13633 if test -f /usr/libexec/ld.so; then
13634 hardcode_direct_CXX=yes
13635 hardcode_shlibpath_var_CXX=no
13636 hardcode_direct_absolute_CXX=yes
13637 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13638 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13639 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13640 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13641 export_dynamic_flag_spec_CXX='${wl}-E'
13642 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13643 fi
13644 output_verbose_link_cmd=func_echo_all
13645 else
13646 ld_shlibs_CXX=no
13647 fi
13648 ;;
13649
13650 osf3* | osf4* | osf5*)
13651 case $cc_basename in
13652 KCC*)
13653 # Kuck and Associates, Inc. (KAI) C++ Compiler
13654
13655 # KCC will only create a shared library if the output file
13656 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13657 # to its proper name (with version) after linking.
13658 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'
13659
13660 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13661 hardcode_libdir_separator_CXX=:
13662
13663 # Archives containing C++ object files must be created using
13664 # the KAI C++ compiler.
13665 case $host in
13666 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13667 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13668 esac
13669 ;;
13670 RCC*)
13671 # Rational C++ 2.4.1
13672 # FIXME: insert proper C++ library support
13673 ld_shlibs_CXX=no
13674 ;;
13675 cxx*)
13676 case $host in
13677 osf3*)
13678 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13679 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'
13680 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13681 ;;
13682 *)
13683 allow_undefined_flag_CXX=' -expect_unresolved \*'
13684 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'
13685 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13686 echo "-hidden">> $lib.exp~
13687 $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~
13688 $RM $lib.exp'
13689 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13690 ;;
13691 esac
13692
13693 hardcode_libdir_separator_CXX=:
13694
13695 # Commands to make compiler produce verbose output that lists
13696 # what "hidden" libraries, object files and flags are used when
13697 # linking a shared library.
13698 #
13699 # There doesn't appear to be a way to prevent this compiler from
13700 # explicitly linking system object files so we need to strip them
13701 # from the output so that they don't get included in the library
13702 # dependencies.
13703 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"'
13704 ;;
13705 *)
13706 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13707 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13708 case $host in
13709 osf3*)
13710 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'
13711 ;;
13712 *)
13713 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'
13714 ;;
13715 esac
13716
13717 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13718 hardcode_libdir_separator_CXX=:
13719
13720 # Commands to make compiler produce verbose output that lists
13721 # what "hidden" libraries, object files and flags are used when
13722 # linking a shared library.
13723 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13724
13725 else
13726 # FIXME: insert proper C++ library support
13727 ld_shlibs_CXX=no
13728 fi
13729 ;;
13730 esac
13731 ;;
13732
13733 psos*)
13734 # FIXME: insert proper C++ library support
13735 ld_shlibs_CXX=no
13736 ;;
13737
13738 sunos4*)
13739 case $cc_basename in
13740 CC*)
13741 # Sun C++ 4.x
13742 # FIXME: insert proper C++ library support
13743 ld_shlibs_CXX=no
13744 ;;
13745 lcc*)
13746 # Lucid
13747 # FIXME: insert proper C++ library support
13748 ld_shlibs_CXX=no
13749 ;;
13750 *)
13751 # FIXME: insert proper C++ library support
13752 ld_shlibs_CXX=no
13753 ;;
13754 esac
13755 ;;
13756
13757 solaris*)
13758 case $cc_basename in
13759 CC*)
13760 # Sun C++ 4.2, 5.x and Centerline C++
13761 archive_cmds_need_lc_CXX=yes
13762 no_undefined_flag_CXX=' -zdefs'
13763 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13764 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13765 $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'
13766
13767 hardcode_libdir_flag_spec_CXX='-R$libdir'
13768 hardcode_shlibpath_var_CXX=no
13769 case $host_os in
13770 solaris2.[0-5] | solaris2.[0-5].*) ;;
13771 *)
13772 # The compiler driver will combine and reorder linker options,
13773 # but understands `-z linker_flag'.
13774 # Supported since Solaris 2.6 (maybe 2.5.1?)
13775 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13776 ;;
13777 esac
13778 link_all_deplibs_CXX=yes
13779
13780 output_verbose_link_cmd='func_echo_all'
13781
13782 # Archives containing C++ object files must be created using
13783 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13784 # necessary to make sure instantiated templates are included
13785 # in the archive.
13786 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13787 ;;
13788 gcx*)
13789 # Green Hills C++ Compiler
13790 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13791
13792 # The C++ compiler must be used to create the archive.
13793 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13794 ;;
13795 *)
13796 # GNU C++ compiler with Solaris linker
13797 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13798 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13799 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13800 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13801 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13802 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13803
13804 # Commands to make compiler produce verbose output that lists
13805 # what "hidden" libraries, object files and flags are used when
13806 # linking a shared library.
13807 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13808 else
13809 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13810 # platform.
13811 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13812 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13813 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13814
13815 # Commands to make compiler produce verbose output that lists
13816 # what "hidden" libraries, object files and flags are used when
13817 # linking a shared library.
13818 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13819 fi
13820
13821 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13822 case $host_os in
13823 solaris2.[0-5] | solaris2.[0-5].*) ;;
13824 *)
13825 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13826 ;;
13827 esac
13828 fi
13829 ;;
13830 esac
13831 ;;
13832
13833 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13834 no_undefined_flag_CXX='${wl}-z,text'
13835 archive_cmds_need_lc_CXX=no
13836 hardcode_shlibpath_var_CXX=no
13837 runpath_var='LD_RUN_PATH'
13838
13839 case $cc_basename in
13840 CC*)
13841 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13842 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13843 ;;
13844 *)
13845 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13846 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13847 ;;
13848 esac
13849 ;;
13850
13851 sysv5* | sco3.2v5* | sco5v6*)
13852 # Note: We can NOT use -z defs as we might desire, because we do not
13853 # link with -lc, and that would cause any symbols used from libc to
13854 # always be unresolved, which means just about no library would
13855 # ever link correctly. If we're not using GNU ld we use -z text
13856 # though, which does catch some bad symbols but isn't as heavy-handed
13857 # as -z defs.
13858 no_undefined_flag_CXX='${wl}-z,text'
13859 allow_undefined_flag_CXX='${wl}-z,nodefs'
13860 archive_cmds_need_lc_CXX=no
13861 hardcode_shlibpath_var_CXX=no
13862 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13863 hardcode_libdir_separator_CXX=':'
13864 link_all_deplibs_CXX=yes
13865 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13866 runpath_var='LD_RUN_PATH'
13867
13868 case $cc_basename in
13869 CC*)
13870 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13871 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13872 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13873 '"$old_archive_cmds_CXX"
13874 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13875 '"$reload_cmds_CXX"
13876 ;;
13877 *)
13878 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13879 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13880 ;;
13881 esac
13882 ;;
13883
13884 tandem*)
13885 case $cc_basename in
13886 NCC*)
13887 # NonStop-UX NCC 3.20
13888 # FIXME: insert proper C++ library support
13889 ld_shlibs_CXX=no
13890 ;;
13891 *)
13892 # FIXME: insert proper C++ library support
13893 ld_shlibs_CXX=no
13894 ;;
13895 esac
13896 ;;
13897
13898 vxworks*)
13899 # For VxWorks ports, we assume the use of a GNU linker with
13900 # standard elf conventions.
13901 ld_shlibs_CXX=yes
13902 ;;
13903
13904 *)
13905 # FIXME: insert proper C++ library support
13906 ld_shlibs_CXX=no
13907 ;;
13908 esac
13909
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13911 $as_echo "$ld_shlibs_CXX" >&6; }
13912 test "$ld_shlibs_CXX" = no && can_build_shared=no
13913
13914 GCC_CXX="$GXX"
13915 LD_CXX="$LD"
13916
13917 ## CAVEAT EMPTOR:
13918 ## There is no encapsulation within the following macros, do not change
13919 ## the running order or otherwise move them around unless you know exactly
13920 ## what you are doing...
13921 # Dependencies to place before and after the object being linked:
13922 predep_objects_CXX=
13923 postdep_objects_CXX=
13924 predeps_CXX=
13925 postdeps_CXX=
13926 compiler_lib_search_path_CXX=
13927
13928 cat > conftest.$ac_ext <<_LT_EOF
13929 class Foo
13930 {
13931 public:
13932 Foo (void) { a = 0; }
13933 private:
13934 int a;
13935 };
13936 _LT_EOF
13937
13938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13939 (eval $ac_compile) 2>&5
13940 ac_status=$?
13941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13942 test $ac_status = 0; }; then
13943 # Parse the compiler output and extract the necessary
13944 # objects, libraries and library flags.
13945
13946 # Sentinel used to keep track of whether or not we are before
13947 # the conftest object file.
13948 pre_test_object_deps_done=no
13949
13950 for p in `eval "$output_verbose_link_cmd"`; do
13951 case $p in
13952
13953 -L* | -R* | -l*)
13954 # Some compilers place space between "-{L,R}" and the path.
13955 # Remove the space.
13956 if test $p = "-L" ||
13957 test $p = "-R"; then
13958 prev=$p
13959 continue
13960 else
13961 prev=
13962 fi
13963
13964 if test "$pre_test_object_deps_done" = no; then
13965 case $p in
13966 -L* | -R*)
13967 # Internal compiler library paths should come after those
13968 # provided the user. The postdeps already come after the
13969 # user supplied libs so there is no need to process them.
13970 if test -z "$compiler_lib_search_path_CXX"; then
13971 compiler_lib_search_path_CXX="${prev}${p}"
13972 else
13973 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13974 fi
13975 ;;
13976 # The "-l" case would never come before the object being
13977 # linked, so don't bother handling this case.
13978 esac
13979 else
13980 if test -z "$postdeps_CXX"; then
13981 postdeps_CXX="${prev}${p}"
13982 else
13983 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13984 fi
13985 fi
13986 ;;
13987
13988 *.$objext)
13989 # This assumes that the test object file only shows up
13990 # once in the compiler output.
13991 if test "$p" = "conftest.$objext"; then
13992 pre_test_object_deps_done=yes
13993 continue
13994 fi
13995
13996 if test "$pre_test_object_deps_done" = no; then
13997 if test -z "$predep_objects_CXX"; then
13998 predep_objects_CXX="$p"
13999 else
14000 predep_objects_CXX="$predep_objects_CXX $p"
14001 fi
14002 else
14003 if test -z "$postdep_objects_CXX"; then
14004 postdep_objects_CXX="$p"
14005 else
14006 postdep_objects_CXX="$postdep_objects_CXX $p"
14007 fi
14008 fi
14009 ;;
14010
14011 *) ;; # Ignore the rest.
14012
14013 esac
14014 done
14015
14016 # Clean up.
14017 rm -f a.out a.exe
14018 else
14019 echo "libtool.m4: error: problem compiling CXX test program"
14020 fi
14021
14022 $RM -f confest.$objext
14023
14024 # PORTME: override above test on systems where it is broken
14025 case $host_os in
14026 interix[3-9]*)
14027 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14028 # hack all around it, let's just trust "g++" to DTRT.
14029 predep_objects_CXX=
14030 postdep_objects_CXX=
14031 postdeps_CXX=
14032 ;;
14033
14034 linux*)
14035 case `$CC -V 2>&1 | sed 5q` in
14036 *Sun\ C*)
14037 # Sun C++ 5.9
14038
14039 # The more standards-conforming stlport4 library is
14040 # incompatible with the Cstd library. Avoid specifying
14041 # it if it's in CXXFLAGS. Ignore libCrun as
14042 # -library=stlport4 depends on it.
14043 case " $CXX $CXXFLAGS " in
14044 *" -library=stlport4 "*)
14045 solaris_use_stlport4=yes
14046 ;;
14047 esac
14048
14049 if test "$solaris_use_stlport4" != yes; then
14050 postdeps_CXX='-library=Cstd -library=Crun'
14051 fi
14052 ;;
14053 esac
14054 ;;
14055
14056 solaris*)
14057 case $cc_basename in
14058 CC*)
14059 # The more standards-conforming stlport4 library is
14060 # incompatible with the Cstd library. Avoid specifying
14061 # it if it's in CXXFLAGS. Ignore libCrun as
14062 # -library=stlport4 depends on it.
14063 case " $CXX $CXXFLAGS " in
14064 *" -library=stlport4 "*)
14065 solaris_use_stlport4=yes
14066 ;;
14067 esac
14068
14069 # Adding this requires a known-good setup of shared libraries for
14070 # Sun compiler versions before 5.6, else PIC objects from an old
14071 # archive will be linked into the output, leading to subtle bugs.
14072 if test "$solaris_use_stlport4" != yes; then
14073 postdeps_CXX='-library=Cstd -library=Crun'
14074 fi
14075 ;;
14076 esac
14077 ;;
14078 esac
14079
14080
14081 case " $postdeps_CXX " in
14082 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14083 esac
14084 compiler_lib_search_dirs_CXX=
14085 if test -n "${compiler_lib_search_path_CXX}"; then
14086 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14087 fi
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119 lt_prog_compiler_wl_CXX=
14120 lt_prog_compiler_pic_CXX=
14121 lt_prog_compiler_static_CXX=
14122
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14124 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14125
14126 # C++ specific cases for pic, static, wl, etc.
14127 if test "$GXX" = yes; then
14128 lt_prog_compiler_wl_CXX='-Wl,'
14129 lt_prog_compiler_static_CXX='-static'
14130
14131 case $host_os in
14132 aix*)
14133 # All AIX code is PIC.
14134 if test "$host_cpu" = ia64; then
14135 # AIX 5 now supports IA64 processor
14136 lt_prog_compiler_static_CXX='-Bstatic'
14137 fi
14138 lt_prog_compiler_pic_CXX='-fPIC'
14139 ;;
14140
14141 amigaos*)
14142 case $host_cpu in
14143 powerpc)
14144 # see comment about AmigaOS4 .so support
14145 lt_prog_compiler_pic_CXX='-fPIC'
14146 ;;
14147 m68k)
14148 # FIXME: we need at least 68020 code to build shared libraries, but
14149 # adding the `-m68020' flag to GCC prevents building anything better,
14150 # like `-m68040'.
14151 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14152 ;;
14153 esac
14154 ;;
14155
14156 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14157 # PIC is the default for these OSes.
14158 ;;
14159 mingw* | cygwin* | os2* | pw32* | cegcc*)
14160 # This hack is so that the source file can tell whether it is being
14161 # built for inclusion in a dll (and should export symbols for example).
14162 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14163 # (--disable-auto-import) libraries
14164 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14165 ;;
14166 darwin* | rhapsody*)
14167 # PIC is the default on this platform
14168 # Common symbols not allowed in MH_DYLIB files
14169 lt_prog_compiler_pic_CXX='-fno-common'
14170 ;;
14171 *djgpp*)
14172 # DJGPP does not support shared libraries at all
14173 lt_prog_compiler_pic_CXX=
14174 ;;
14175 haiku*)
14176 # PIC is the default for Haiku.
14177 # The "-static" flag exists, but is broken.
14178 lt_prog_compiler_static_CXX=
14179 ;;
14180 interix[3-9]*)
14181 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14182 # Instead, we relocate shared libraries at runtime.
14183 ;;
14184 sysv4*MP*)
14185 if test -d /usr/nec; then
14186 lt_prog_compiler_pic_CXX=-Kconform_pic
14187 fi
14188 ;;
14189 hpux*)
14190 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14191 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14192 # sets the default TLS model and affects inlining.
14193 case $host_cpu in
14194 hppa*64*)
14195 ;;
14196 *)
14197 lt_prog_compiler_pic_CXX='-fPIC'
14198 ;;
14199 esac
14200 ;;
14201 *qnx* | *nto*)
14202 # QNX uses GNU C++, but need to define -shared option too, otherwise
14203 # it will coredump.
14204 lt_prog_compiler_pic_CXX='-fPIC -shared'
14205 ;;
14206 *)
14207 lt_prog_compiler_pic_CXX='-fPIC'
14208 ;;
14209 esac
14210 else
14211 case $host_os in
14212 aix[4-9]*)
14213 # All AIX code is PIC.
14214 if test "$host_cpu" = ia64; then
14215 # AIX 5 now supports IA64 processor
14216 lt_prog_compiler_static_CXX='-Bstatic'
14217 else
14218 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14219 fi
14220 ;;
14221 chorus*)
14222 case $cc_basename in
14223 cxch68*)
14224 # Green Hills C++ Compiler
14225 # _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"
14226 ;;
14227 esac
14228 ;;
14229 dgux*)
14230 case $cc_basename in
14231 ec++*)
14232 lt_prog_compiler_pic_CXX='-KPIC'
14233 ;;
14234 ghcx*)
14235 # Green Hills C++ Compiler
14236 lt_prog_compiler_pic_CXX='-pic'
14237 ;;
14238 *)
14239 ;;
14240 esac
14241 ;;
14242 freebsd* | dragonfly*)
14243 # FreeBSD uses GNU C++
14244 ;;
14245 hpux9* | hpux10* | hpux11*)
14246 case $cc_basename in
14247 CC*)
14248 lt_prog_compiler_wl_CXX='-Wl,'
14249 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14250 if test "$host_cpu" != ia64; then
14251 lt_prog_compiler_pic_CXX='+Z'
14252 fi
14253 ;;
14254 aCC*)
14255 lt_prog_compiler_wl_CXX='-Wl,'
14256 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14257 case $host_cpu in
14258 hppa*64*|ia64*)
14259 # +Z the default
14260 ;;
14261 *)
14262 lt_prog_compiler_pic_CXX='+Z'
14263 ;;
14264 esac
14265 ;;
14266 *)
14267 ;;
14268 esac
14269 ;;
14270 interix*)
14271 # This is c89, which is MS Visual C++ (no shared libs)
14272 # Anyone wants to do a port?
14273 ;;
14274 irix5* | irix6* | nonstopux*)
14275 case $cc_basename in
14276 CC*)
14277 lt_prog_compiler_wl_CXX='-Wl,'
14278 lt_prog_compiler_static_CXX='-non_shared'
14279 # CC pic flag -KPIC is the default.
14280 ;;
14281 *)
14282 ;;
14283 esac
14284 ;;
14285 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14286 case $cc_basename in
14287 KCC*)
14288 # KAI C++ Compiler
14289 lt_prog_compiler_wl_CXX='--backend -Wl,'
14290 lt_prog_compiler_pic_CXX='-fPIC'
14291 ;;
14292 ecpc* )
14293 # old Intel C++ for x86_64 which still supported -KPIC.
14294 lt_prog_compiler_wl_CXX='-Wl,'
14295 lt_prog_compiler_pic_CXX='-KPIC'
14296 lt_prog_compiler_static_CXX='-static'
14297 ;;
14298 icpc* )
14299 # Intel C++, used to be incompatible with GCC.
14300 # ICC 10 doesn't accept -KPIC any more.
14301 lt_prog_compiler_wl_CXX='-Wl,'
14302 lt_prog_compiler_pic_CXX='-fPIC'
14303 lt_prog_compiler_static_CXX='-static'
14304 ;;
14305 pgCC* | pgcpp*)
14306 # Portland Group C++ compiler
14307 lt_prog_compiler_wl_CXX='-Wl,'
14308 lt_prog_compiler_pic_CXX='-fpic'
14309 lt_prog_compiler_static_CXX='-Bstatic'
14310 ;;
14311 cxx*)
14312 # Compaq C++
14313 # Make sure the PIC flag is empty. It appears that all Alpha
14314 # Linux and Compaq Tru64 Unix objects are PIC.
14315 lt_prog_compiler_pic_CXX=
14316 lt_prog_compiler_static_CXX='-non_shared'
14317 ;;
14318 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14319 # IBM XL 8.0, 9.0 on PPC and BlueGene
14320 lt_prog_compiler_wl_CXX='-Wl,'
14321 lt_prog_compiler_pic_CXX='-qpic'
14322 lt_prog_compiler_static_CXX='-qstaticlink'
14323 ;;
14324 *)
14325 case `$CC -V 2>&1 | sed 5q` in
14326 *Sun\ C*)
14327 # Sun C++ 5.9
14328 lt_prog_compiler_pic_CXX='-KPIC'
14329 lt_prog_compiler_static_CXX='-Bstatic'
14330 lt_prog_compiler_wl_CXX='-Qoption ld '
14331 ;;
14332 esac
14333 ;;
14334 esac
14335 ;;
14336 lynxos*)
14337 ;;
14338 m88k*)
14339 ;;
14340 mvs*)
14341 case $cc_basename in
14342 cxx*)
14343 lt_prog_compiler_pic_CXX='-W c,exportall'
14344 ;;
14345 *)
14346 ;;
14347 esac
14348 ;;
14349 netbsd*)
14350 ;;
14351 *qnx* | *nto*)
14352 # QNX uses GNU C++, but need to define -shared option too, otherwise
14353 # it will coredump.
14354 lt_prog_compiler_pic_CXX='-fPIC -shared'
14355 ;;
14356 osf3* | osf4* | osf5*)
14357 case $cc_basename in
14358 KCC*)
14359 lt_prog_compiler_wl_CXX='--backend -Wl,'
14360 ;;
14361 RCC*)
14362 # Rational C++ 2.4.1
14363 lt_prog_compiler_pic_CXX='-pic'
14364 ;;
14365 cxx*)
14366 # Digital/Compaq C++
14367 lt_prog_compiler_wl_CXX='-Wl,'
14368 # Make sure the PIC flag is empty. It appears that all Alpha
14369 # Linux and Compaq Tru64 Unix objects are PIC.
14370 lt_prog_compiler_pic_CXX=
14371 lt_prog_compiler_static_CXX='-non_shared'
14372 ;;
14373 *)
14374 ;;
14375 esac
14376 ;;
14377 psos*)
14378 ;;
14379 solaris*)
14380 case $cc_basename in
14381 CC*)
14382 # Sun C++ 4.2, 5.x and Centerline C++
14383 lt_prog_compiler_pic_CXX='-KPIC'
14384 lt_prog_compiler_static_CXX='-Bstatic'
14385 lt_prog_compiler_wl_CXX='-Qoption ld '
14386 ;;
14387 gcx*)
14388 # Green Hills C++ Compiler
14389 lt_prog_compiler_pic_CXX='-PIC'
14390 ;;
14391 *)
14392 ;;
14393 esac
14394 ;;
14395 sunos4*)
14396 case $cc_basename in
14397 CC*)
14398 # Sun C++ 4.x
14399 lt_prog_compiler_pic_CXX='-pic'
14400 lt_prog_compiler_static_CXX='-Bstatic'
14401 ;;
14402 lcc*)
14403 # Lucid
14404 lt_prog_compiler_pic_CXX='-pic'
14405 ;;
14406 *)
14407 ;;
14408 esac
14409 ;;
14410 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14411 case $cc_basename in
14412 CC*)
14413 lt_prog_compiler_wl_CXX='-Wl,'
14414 lt_prog_compiler_pic_CXX='-KPIC'
14415 lt_prog_compiler_static_CXX='-Bstatic'
14416 ;;
14417 esac
14418 ;;
14419 tandem*)
14420 case $cc_basename in
14421 NCC*)
14422 # NonStop-UX NCC 3.20
14423 lt_prog_compiler_pic_CXX='-KPIC'
14424 ;;
14425 *)
14426 ;;
14427 esac
14428 ;;
14429 vxworks*)
14430 ;;
14431 *)
14432 lt_prog_compiler_can_build_shared_CXX=no
14433 ;;
14434 esac
14435 fi
14436
14437 case $host_os in
14438 # For platforms which do not support PIC, -DPIC is meaningless:
14439 *djgpp*)
14440 lt_prog_compiler_pic_CXX=
14441 ;;
14442 *)
14443 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14444 ;;
14445 esac
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14447 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14448
14449
14450
14451 #
14452 # Check to make sure the PIC flag actually works.
14453 #
14454 if test -n "$lt_prog_compiler_pic_CXX"; then
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14456 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14457 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 lt_cv_prog_compiler_pic_works_CXX=no
14461 ac_outfile=conftest.$ac_objext
14462 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14463 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14464 # Insert the option either (1) after the last *FLAGS variable, or
14465 # (2) before a word containing "conftest.", or (3) at the end.
14466 # Note that $ac_compile itself does not contain backslashes and begins
14467 # with a dollar sign (not a hyphen), so the echo should work correctly.
14468 # The option is referenced via a variable to avoid confusing sed.
14469 lt_compile=`echo "$ac_compile" | $SED \
14470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14472 -e 's:$: $lt_compiler_flag:'`
14473 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14474 (eval "$lt_compile" 2>conftest.err)
14475 ac_status=$?
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 if (exit $ac_status) && test -s "$ac_outfile"; then
14479 # The compiler can only warn and ignore the option if not recognized
14480 # So say no if there are warnings other than the usual output.
14481 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14483 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14484 lt_cv_prog_compiler_pic_works_CXX=yes
14485 fi
14486 fi
14487 $RM conftest*
14488
14489 fi
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14491 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14492
14493 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14494 case $lt_prog_compiler_pic_CXX in
14495 "" | " "*) ;;
14496 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14497 esac
14498 else
14499 lt_prog_compiler_pic_CXX=
14500 lt_prog_compiler_can_build_shared_CXX=no
14501 fi
14502
14503 fi
14504
14505
14506
14507 #
14508 # Check to make sure the static flag actually works.
14509 #
14510 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14512 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14513 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 lt_cv_prog_compiler_static_works_CXX=no
14517 save_LDFLAGS="$LDFLAGS"
14518 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14519 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14520 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14521 # The linker can only warn and ignore the option if not recognized
14522 # So say no if there are warnings
14523 if test -s conftest.err; then
14524 # Append any errors to the config.log.
14525 cat conftest.err 1>&5
14526 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14527 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14528 if diff conftest.exp conftest.er2 >/dev/null; then
14529 lt_cv_prog_compiler_static_works_CXX=yes
14530 fi
14531 else
14532 lt_cv_prog_compiler_static_works_CXX=yes
14533 fi
14534 fi
14535 $RM -r conftest*
14536 LDFLAGS="$save_LDFLAGS"
14537
14538 fi
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14540 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14541
14542 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14543 :
14544 else
14545 lt_prog_compiler_static_CXX=
14546 fi
14547
14548
14549
14550
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14552 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14553 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 lt_cv_prog_compiler_c_o_CXX=no
14557 $RM -r conftest 2>/dev/null
14558 mkdir conftest
14559 cd conftest
14560 mkdir out
14561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14562
14563 lt_compiler_flag="-o out/conftest2.$ac_objext"
14564 # Insert the option either (1) after the last *FLAGS variable, or
14565 # (2) before a word containing "conftest.", or (3) at the end.
14566 # Note that $ac_compile itself does not contain backslashes and begins
14567 # with a dollar sign (not a hyphen), so the echo should work correctly.
14568 lt_compile=`echo "$ac_compile" | $SED \
14569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14571 -e 's:$: $lt_compiler_flag:'`
14572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14573 (eval "$lt_compile" 2>out/conftest.err)
14574 ac_status=$?
14575 cat out/conftest.err >&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14578 then
14579 # The compiler can only warn and ignore the option if not recognized
14580 # So say no if there are warnings
14581 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14582 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14583 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14584 lt_cv_prog_compiler_c_o_CXX=yes
14585 fi
14586 fi
14587 chmod u+w . 2>&5
14588 $RM conftest*
14589 # SGI C++ compiler will create directory out/ii_files/ for
14590 # template instantiation
14591 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14592 $RM out/* && rmdir out
14593 cd ..
14594 $RM -r conftest
14595 $RM conftest*
14596
14597 fi
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14599 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14600
14601
14602
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14604 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14605 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14606 $as_echo_n "(cached) " >&6
14607 else
14608 lt_cv_prog_compiler_c_o_CXX=no
14609 $RM -r conftest 2>/dev/null
14610 mkdir conftest
14611 cd conftest
14612 mkdir out
14613 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14614
14615 lt_compiler_flag="-o out/conftest2.$ac_objext"
14616 # Insert the option either (1) after the last *FLAGS variable, or
14617 # (2) before a word containing "conftest.", or (3) at the end.
14618 # Note that $ac_compile itself does not contain backslashes and begins
14619 # with a dollar sign (not a hyphen), so the echo should work correctly.
14620 lt_compile=`echo "$ac_compile" | $SED \
14621 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14622 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14623 -e 's:$: $lt_compiler_flag:'`
14624 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14625 (eval "$lt_compile" 2>out/conftest.err)
14626 ac_status=$?
14627 cat out/conftest.err >&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14630 then
14631 # The compiler can only warn and ignore the option if not recognized
14632 # So say no if there are warnings
14633 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14634 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14635 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14636 lt_cv_prog_compiler_c_o_CXX=yes
14637 fi
14638 fi
14639 chmod u+w . 2>&5
14640 $RM conftest*
14641 # SGI C++ compiler will create directory out/ii_files/ for
14642 # template instantiation
14643 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14644 $RM out/* && rmdir out
14645 cd ..
14646 $RM -r conftest
14647 $RM conftest*
14648
14649 fi
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14651 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14652
14653
14654
14655
14656 hard_links="nottested"
14657 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14658 # do not overwrite the value of need_locks provided by the user
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14660 $as_echo_n "checking if we can lock with hard links... " >&6; }
14661 hard_links=yes
14662 $RM conftest*
14663 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14664 touch conftest.a
14665 ln conftest.a conftest.b 2>&5 || hard_links=no
14666 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14668 $as_echo "$hard_links" >&6; }
14669 if test "$hard_links" = no; then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14671 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14672 need_locks=warn
14673 fi
14674 else
14675 need_locks=no
14676 fi
14677
14678
14679
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14681 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14682
14683 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14684 case $host_os in
14685 aix[4-9]*)
14686 # If we're using GNU nm, then we don't want the "-C" option.
14687 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14688 # Also, AIX nm treats weak defined symbols like other global defined
14689 # symbols, whereas GNU nm marks them as "W".
14690 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14691 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'
14692 else
14693 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'
14694 fi
14695 ;;
14696 pw32*)
14697 export_symbols_cmds_CXX="$ltdll_cmds"
14698 ;;
14699 cygwin* | mingw* | cegcc*)
14700 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'
14701 ;;
14702 *)
14703 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14704 ;;
14705 esac
14706 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14707
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14709 $as_echo "$ld_shlibs_CXX" >&6; }
14710 test "$ld_shlibs_CXX" = no && can_build_shared=no
14711
14712 with_gnu_ld_CXX=$with_gnu_ld
14713
14714
14715
14716
14717
14718
14719 #
14720 # Do we need to explicitly link libc?
14721 #
14722 case "x$archive_cmds_need_lc_CXX" in
14723 x|xyes)
14724 # Assume -lc should be added
14725 archive_cmds_need_lc_CXX=yes
14726
14727 if test "$enable_shared" = yes && test "$GCC" = yes; then
14728 case $archive_cmds_CXX in
14729 *'~'*)
14730 # FIXME: we may have to deal with multi-command sequences.
14731 ;;
14732 '$CC '*)
14733 # Test whether the compiler implicitly links with -lc since on some
14734 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14735 # to ld, don't add -lc before -lgcc.
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14737 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14738 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 $RM conftest*
14742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14743
14744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14745 (eval $ac_compile) 2>&5
14746 ac_status=$?
14747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14748 test $ac_status = 0; } 2>conftest.err; then
14749 soname=conftest
14750 lib=conftest
14751 libobjs=conftest.$ac_objext
14752 deplibs=
14753 wl=$lt_prog_compiler_wl_CXX
14754 pic_flag=$lt_prog_compiler_pic_CXX
14755 compiler_flags=-v
14756 linker_flags=-v
14757 verstring=
14758 output_objdir=.
14759 libname=conftest
14760 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14761 allow_undefined_flag_CXX=
14762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14763 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14764 ac_status=$?
14765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14766 test $ac_status = 0; }
14767 then
14768 lt_cv_archive_cmds_need_lc_CXX=no
14769 else
14770 lt_cv_archive_cmds_need_lc_CXX=yes
14771 fi
14772 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14773 else
14774 cat conftest.err 1>&5
14775 fi
14776 $RM conftest*
14777
14778 fi
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14780 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14781 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14782 ;;
14783 esac
14784 fi
14785 ;;
14786 esac
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14852 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14853
14854 library_names_spec=
14855 libname_spec='lib$name'
14856 soname_spec=
14857 shrext_cmds=".so"
14858 postinstall_cmds=
14859 postuninstall_cmds=
14860 finish_cmds=
14861 finish_eval=
14862 shlibpath_var=
14863 shlibpath_overrides_runpath=unknown
14864 version_type=none
14865 dynamic_linker="$host_os ld.so"
14866 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14867 need_lib_prefix=unknown
14868 hardcode_into_libs=no
14869
14870 # when you set need_version to no, make sure it does not cause -set_version
14871 # flags to be left without arguments
14872 need_version=unknown
14873
14874 case $host_os in
14875 aix3*)
14876 version_type=linux
14877 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14878 shlibpath_var=LIBPATH
14879
14880 # AIX 3 has no versioning support, so we append a major version to the name.
14881 soname_spec='${libname}${release}${shared_ext}$major'
14882 ;;
14883
14884 aix[4-9]*)
14885 version_type=linux
14886 need_lib_prefix=no
14887 need_version=no
14888 hardcode_into_libs=yes
14889 if test "$host_cpu" = ia64; then
14890 # AIX 5 supports IA64
14891 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14892 shlibpath_var=LD_LIBRARY_PATH
14893 else
14894 # With GCC up to 2.95.x, collect2 would create an import file
14895 # for dependence libraries. The import file would start with
14896 # the line `#! .'. This would cause the generated library to
14897 # depend on `.', always an invalid library. This was fixed in
14898 # development snapshots of GCC prior to 3.0.
14899 case $host_os in
14900 aix4 | aix4.[01] | aix4.[01].*)
14901 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14902 echo ' yes '
14903 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14904 :
14905 else
14906 can_build_shared=no
14907 fi
14908 ;;
14909 esac
14910 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14911 # soname into executable. Probably we can add versioning support to
14912 # collect2, so additional links can be useful in future.
14913 if test "$aix_use_runtimelinking" = yes; then
14914 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14915 # instead of lib<name>.a to let people know that these are not
14916 # typical AIX shared libraries.
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 else
14919 # We preserve .a as extension for shared libraries through AIX4.2
14920 # and later when we are not doing run time linking.
14921 library_names_spec='${libname}${release}.a $libname.a'
14922 soname_spec='${libname}${release}${shared_ext}$major'
14923 fi
14924 shlibpath_var=LIBPATH
14925 fi
14926 ;;
14927
14928 amigaos*)
14929 case $host_cpu in
14930 powerpc)
14931 # Since July 2007 AmigaOS4 officially supports .so libraries.
14932 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934 ;;
14935 m68k)
14936 library_names_spec='$libname.ixlibrary $libname.a'
14937 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14938 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'
14939 ;;
14940 esac
14941 ;;
14942
14943 beos*)
14944 library_names_spec='${libname}${shared_ext}'
14945 dynamic_linker="$host_os ld.so"
14946 shlibpath_var=LIBRARY_PATH
14947 ;;
14948
14949 bsdi[45]*)
14950 version_type=linux
14951 need_version=no
14952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14953 soname_spec='${libname}${release}${shared_ext}$major'
14954 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14955 shlibpath_var=LD_LIBRARY_PATH
14956 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14957 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14958 # the default ld.so.conf also contains /usr/contrib/lib and
14959 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14960 # libtool to hard-code these into programs
14961 ;;
14962
14963 cygwin* | mingw* | pw32* | cegcc*)
14964 version_type=windows
14965 shrext_cmds=".dll"
14966 need_version=no
14967 need_lib_prefix=no
14968
14969 case $GCC,$host_os in
14970 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14971 library_names_spec='$libname.dll.a'
14972 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14973 postinstall_cmds='base_file=`basename \${file}`~
14974 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14975 dldir=$destdir/`dirname \$dlpath`~
14976 test -d \$dldir || mkdir -p \$dldir~
14977 $install_prog $dir/$dlname \$dldir/$dlname~
14978 chmod a+x \$dldir/$dlname~
14979 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14980 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14981 fi'
14982 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14983 dlpath=$dir/\$dldll~
14984 $RM \$dlpath'
14985 shlibpath_overrides_runpath=yes
14986
14987 case $host_os in
14988 cygwin*)
14989 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14990 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14991
14992 ;;
14993 mingw* | cegcc*)
14994 # MinGW DLLs use traditional 'lib' prefix
14995 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14996 ;;
14997 pw32*)
14998 # pw32 DLLs use 'pw' prefix rather than 'lib'
14999 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15000 ;;
15001 esac
15002 ;;
15003
15004 *)
15005 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15006 ;;
15007 esac
15008 dynamic_linker='Win32 ld.exe'
15009 # FIXME: first we should search . and the directory the executable is in
15010 shlibpath_var=PATH
15011 ;;
15012
15013 darwin* | rhapsody*)
15014 dynamic_linker="$host_os dyld"
15015 version_type=darwin
15016 need_lib_prefix=no
15017 need_version=no
15018 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15019 soname_spec='${libname}${release}${major}$shared_ext'
15020 shlibpath_overrides_runpath=yes
15021 shlibpath_var=DYLD_LIBRARY_PATH
15022 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15023
15024 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15025 ;;
15026
15027 dgux*)
15028 version_type=linux
15029 need_lib_prefix=no
15030 need_version=no
15031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15032 soname_spec='${libname}${release}${shared_ext}$major'
15033 shlibpath_var=LD_LIBRARY_PATH
15034 ;;
15035
15036 freebsd* | dragonfly*)
15037 # DragonFly does not have aout. When/if they implement a new
15038 # versioning mechanism, adjust this.
15039 if test -x /usr/bin/objformat; then
15040 objformat=`/usr/bin/objformat`
15041 else
15042 case $host_os in
15043 freebsd[23].*) objformat=aout ;;
15044 *) objformat=elf ;;
15045 esac
15046 fi
15047 version_type=freebsd-$objformat
15048 case $version_type in
15049 freebsd-elf*)
15050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15051 need_version=no
15052 need_lib_prefix=no
15053 ;;
15054 freebsd-*)
15055 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15056 need_version=yes
15057 ;;
15058 esac
15059 shlibpath_var=LD_LIBRARY_PATH
15060 case $host_os in
15061 freebsd2.*)
15062 shlibpath_overrides_runpath=yes
15063 ;;
15064 freebsd3.[01]* | freebsdelf3.[01]*)
15065 shlibpath_overrides_runpath=yes
15066 hardcode_into_libs=yes
15067 ;;
15068 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15069 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15070 shlibpath_overrides_runpath=no
15071 hardcode_into_libs=yes
15072 ;;
15073 *) # from 4.6 on, and DragonFly
15074 shlibpath_overrides_runpath=yes
15075 hardcode_into_libs=yes
15076 ;;
15077 esac
15078 ;;
15079
15080 haiku*)
15081 version_type=linux
15082 need_lib_prefix=no
15083 need_version=no
15084 dynamic_linker="$host_os runtime_loader"
15085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15086 soname_spec='${libname}${release}${shared_ext}$major'
15087 shlibpath_var=LIBRARY_PATH
15088 shlibpath_overrides_runpath=yes
15089 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15090 hardcode_into_libs=yes
15091 ;;
15092
15093 hpux9* | hpux10* | hpux11*)
15094 # Give a soname corresponding to the major version so that dld.sl refuses to
15095 # link against other versions.
15096 version_type=sunos
15097 need_lib_prefix=no
15098 need_version=no
15099 case $host_cpu in
15100 ia64*)
15101 shrext_cmds='.so'
15102 hardcode_into_libs=yes
15103 dynamic_linker="$host_os dld.so"
15104 shlibpath_var=LD_LIBRARY_PATH
15105 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15107 soname_spec='${libname}${release}${shared_ext}$major'
15108 if test "X$HPUX_IA64_MODE" = X32; then
15109 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15110 else
15111 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15112 fi
15113 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15114 ;;
15115 hppa*64*)
15116 shrext_cmds='.sl'
15117 hardcode_into_libs=yes
15118 dynamic_linker="$host_os dld.sl"
15119 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15120 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15122 soname_spec='${libname}${release}${shared_ext}$major'
15123 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15124 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15125 ;;
15126 *)
15127 shrext_cmds='.sl'
15128 dynamic_linker="$host_os dld.sl"
15129 shlibpath_var=SHLIB_PATH
15130 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15132 soname_spec='${libname}${release}${shared_ext}$major'
15133 ;;
15134 esac
15135 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15136 postinstall_cmds='chmod 555 $lib'
15137 # or fails outright, so override atomically:
15138 install_override_mode=555
15139 ;;
15140
15141 interix[3-9]*)
15142 version_type=linux
15143 need_lib_prefix=no
15144 need_version=no
15145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15146 soname_spec='${libname}${release}${shared_ext}$major'
15147 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15148 shlibpath_var=LD_LIBRARY_PATH
15149 shlibpath_overrides_runpath=no
15150 hardcode_into_libs=yes
15151 ;;
15152
15153 irix5* | irix6* | nonstopux*)
15154 case $host_os in
15155 nonstopux*) version_type=nonstopux ;;
15156 *)
15157 if test "$lt_cv_prog_gnu_ld" = yes; then
15158 version_type=linux
15159 else
15160 version_type=irix
15161 fi ;;
15162 esac
15163 need_lib_prefix=no
15164 need_version=no
15165 soname_spec='${libname}${release}${shared_ext}$major'
15166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15167 case $host_os in
15168 irix5* | nonstopux*)
15169 libsuff= shlibsuff=
15170 ;;
15171 *)
15172 case $LD in # libtool.m4 will add one of these switches to LD
15173 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15174 libsuff= shlibsuff= libmagic=32-bit;;
15175 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15176 libsuff=32 shlibsuff=N32 libmagic=N32;;
15177 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15178 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15179 *) libsuff= shlibsuff= libmagic=never-match;;
15180 esac
15181 ;;
15182 esac
15183 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15184 shlibpath_overrides_runpath=no
15185 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15186 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15187 hardcode_into_libs=yes
15188 ;;
15189
15190 # No shared lib support for Linux oldld, aout, or coff.
15191 linux*oldld* | linux*aout* | linux*coff*)
15192 dynamic_linker=no
15193 ;;
15194
15195 # This must be Linux ELF.
15196
15197 # uclinux* changes (here and below) have been submitted to the libtool
15198 # project, but have not yet been accepted: they are GCC-local changes
15199 # for the time being. (See
15200 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15201 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15202 version_type=linux
15203 need_lib_prefix=no
15204 need_version=no
15205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15206 soname_spec='${libname}${release}${shared_ext}$major'
15207 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15208 shlibpath_var=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath=no
15210
15211 # Some binutils ld are patched to set DT_RUNPATH
15212 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15213 $as_echo_n "(cached) " >&6
15214 else
15215 lt_cv_shlibpath_overrides_runpath=no
15216 save_LDFLAGS=$LDFLAGS
15217 save_libdir=$libdir
15218 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15219 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 fi
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225
15226 int
15227 main ()
15228 {
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 if ac_fn_cxx_try_link "$LINENO"; then :
15235 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15236 lt_cv_shlibpath_overrides_runpath=yes
15237 fi
15238 fi
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 LDFLAGS=$save_LDFLAGS
15242 libdir=$save_libdir
15243
15244 fi
15245
15246 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15247
15248 # This implies no fast_install, which is unacceptable.
15249 # Some rework will be needed to allow for fast_install
15250 # before this can be enabled.
15251 hardcode_into_libs=yes
15252
15253 # Append ld.so.conf contents to the search path
15254 if test -f /etc/ld.so.conf; then
15255 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' ' '`
15256 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15257 fi
15258
15259 # We used to test for /lib/ld.so.1 and disable shared libraries on
15260 # powerpc, because MkLinux only supported shared libraries with the
15261 # GNU dynamic linker. Since this was broken with cross compilers,
15262 # most powerpc-linux boxes support dynamic linking these days and
15263 # people can always --disable-shared, the test was removed, and we
15264 # assume the GNU/Linux dynamic linker is in use.
15265 dynamic_linker='GNU/Linux ld.so'
15266 ;;
15267
15268 netbsd*)
15269 version_type=sunos
15270 need_lib_prefix=no
15271 need_version=no
15272 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15274 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15275 dynamic_linker='NetBSD (a.out) ld.so'
15276 else
15277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15278 soname_spec='${libname}${release}${shared_ext}$major'
15279 dynamic_linker='NetBSD ld.elf_so'
15280 fi
15281 shlibpath_var=LD_LIBRARY_PATH
15282 shlibpath_overrides_runpath=yes
15283 hardcode_into_libs=yes
15284 ;;
15285
15286 newsos6)
15287 version_type=linux
15288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15289 shlibpath_var=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath=yes
15291 ;;
15292
15293 *nto* | *qnx*)
15294 version_type=qnx
15295 need_lib_prefix=no
15296 need_version=no
15297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15298 soname_spec='${libname}${release}${shared_ext}$major'
15299 shlibpath_var=LD_LIBRARY_PATH
15300 shlibpath_overrides_runpath=no
15301 hardcode_into_libs=yes
15302 dynamic_linker='ldqnx.so'
15303 ;;
15304
15305 openbsd*)
15306 version_type=sunos
15307 sys_lib_dlsearch_path_spec="/usr/lib"
15308 need_lib_prefix=no
15309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15310 case $host_os in
15311 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15312 *) need_version=no ;;
15313 esac
15314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15315 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15316 shlibpath_var=LD_LIBRARY_PATH
15317 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15318 case $host_os in
15319 openbsd2.[89] | openbsd2.[89].*)
15320 shlibpath_overrides_runpath=no
15321 ;;
15322 *)
15323 shlibpath_overrides_runpath=yes
15324 ;;
15325 esac
15326 else
15327 shlibpath_overrides_runpath=yes
15328 fi
15329 ;;
15330
15331 os2*)
15332 libname_spec='$name'
15333 shrext_cmds=".dll"
15334 need_lib_prefix=no
15335 library_names_spec='$libname${shared_ext} $libname.a'
15336 dynamic_linker='OS/2 ld.exe'
15337 shlibpath_var=LIBPATH
15338 ;;
15339
15340 osf3* | osf4* | osf5*)
15341 version_type=osf
15342 need_lib_prefix=no
15343 need_version=no
15344 soname_spec='${libname}${release}${shared_ext}$major'
15345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 shlibpath_var=LD_LIBRARY_PATH
15347 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15348 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15349 ;;
15350
15351 rdos*)
15352 dynamic_linker=no
15353 ;;
15354
15355 solaris*)
15356 version_type=linux
15357 need_lib_prefix=no
15358 need_version=no
15359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 soname_spec='${libname}${release}${shared_ext}$major'
15361 shlibpath_var=LD_LIBRARY_PATH
15362 shlibpath_overrides_runpath=yes
15363 hardcode_into_libs=yes
15364 # ldd complains unless libraries are executable
15365 postinstall_cmds='chmod +x $lib'
15366 ;;
15367
15368 sunos4*)
15369 version_type=sunos
15370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15371 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15372 shlibpath_var=LD_LIBRARY_PATH
15373 shlibpath_overrides_runpath=yes
15374 if test "$with_gnu_ld" = yes; then
15375 need_lib_prefix=no
15376 fi
15377 need_version=yes
15378 ;;
15379
15380 sysv4 | sysv4.3*)
15381 version_type=linux
15382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15383 soname_spec='${libname}${release}${shared_ext}$major'
15384 shlibpath_var=LD_LIBRARY_PATH
15385 case $host_vendor in
15386 sni)
15387 shlibpath_overrides_runpath=no
15388 need_lib_prefix=no
15389 runpath_var=LD_RUN_PATH
15390 ;;
15391 siemens)
15392 need_lib_prefix=no
15393 ;;
15394 motorola)
15395 need_lib_prefix=no
15396 need_version=no
15397 shlibpath_overrides_runpath=no
15398 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15399 ;;
15400 esac
15401 ;;
15402
15403 sysv4*MP*)
15404 if test -d /usr/nec ;then
15405 version_type=linux
15406 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15407 soname_spec='$libname${shared_ext}.$major'
15408 shlibpath_var=LD_LIBRARY_PATH
15409 fi
15410 ;;
15411
15412 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15413 version_type=freebsd-elf
15414 need_lib_prefix=no
15415 need_version=no
15416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15417 soname_spec='${libname}${release}${shared_ext}$major'
15418 shlibpath_var=LD_LIBRARY_PATH
15419 shlibpath_overrides_runpath=yes
15420 hardcode_into_libs=yes
15421 if test "$with_gnu_ld" = yes; then
15422 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15423 else
15424 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15425 case $host_os in
15426 sco3.2v5*)
15427 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15428 ;;
15429 esac
15430 fi
15431 sys_lib_dlsearch_path_spec='/usr/lib'
15432 ;;
15433
15434 tpf*)
15435 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15436 version_type=linux
15437 need_lib_prefix=no
15438 need_version=no
15439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440 shlibpath_var=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath=no
15442 hardcode_into_libs=yes
15443 ;;
15444
15445 uts4*)
15446 version_type=linux
15447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15448 soname_spec='${libname}${release}${shared_ext}$major'
15449 shlibpath_var=LD_LIBRARY_PATH
15450 ;;
15451
15452 # Shared libraries for VwWorks, >= 7 only at this stage
15453 # and (fpic) still incompatible with "large" code models
15454 # in a few configurations. Only for RTP mode in any case,
15455 # and upon explicit request at configure time.
15456 vxworks7*)
15457 dynamic_linker=no
15458 case ${with_multisubdir}-${enable_shared} in
15459 *large*)
15460 ;;
15461 *mrtp*-yes)
15462 version_type=linux
15463 need_lib_prefix=no
15464 need_version=no
15465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15466 soname_spec='${libname}${release}${shared_ext}$major'
15467 dynamic_linker="$host_os module_loader"
15468 ;;
15469 esac
15470 ;;
15471 *)
15472 dynamic_linker=no
15473 ;;
15474 esac
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15476 $as_echo "$dynamic_linker" >&6; }
15477 test "$dynamic_linker" = no && can_build_shared=no
15478
15479 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15480 if test "$GCC" = yes; then
15481 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15482 fi
15483
15484 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15485 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15486 fi
15487 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15488 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15489 fi
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15529 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15530 hardcode_action_CXX=
15531 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15532 test -n "$runpath_var_CXX" ||
15533 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15534
15535 # We can hardcode non-existent directories.
15536 if test "$hardcode_direct_CXX" != no &&
15537 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15538 # have to relink, otherwise we might link with an installed library
15539 # when we should be linking with a yet-to-be-installed one
15540 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15541 test "$hardcode_minus_L_CXX" != no; then
15542 # Linking always hardcodes the temporary library directory.
15543 hardcode_action_CXX=relink
15544 else
15545 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15546 hardcode_action_CXX=immediate
15547 fi
15548 else
15549 # We cannot hardcode anything, or else we can only hardcode existing
15550 # directories.
15551 hardcode_action_CXX=unsupported
15552 fi
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15554 $as_echo "$hardcode_action_CXX" >&6; }
15555
15556 if test "$hardcode_action_CXX" = relink ||
15557 test "$inherit_rpath_CXX" = yes; then
15558 # Fast installation is not supported
15559 enable_fast_install=no
15560 elif test "$shlibpath_overrides_runpath" = yes ||
15561 test "$enable_shared" = no; then
15562 # Fast installation is not necessary
15563 enable_fast_install=needless
15564 fi
15565
15566
15567
15568
15569
15570
15571
15572 fi # test -n "$compiler"
15573
15574 CC=$lt_save_CC
15575 LDCXX=$LD
15576 LD=$lt_save_LD
15577 GCC=$lt_save_GCC
15578 with_gnu_ld=$lt_save_with_gnu_ld
15579 lt_cv_path_LDCXX=$lt_cv_path_LD
15580 lt_cv_path_LD=$lt_save_path_LD
15581 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15582 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15583 fi # test "$_lt_caught_CXX_error" != yes
15584
15585 ac_ext=c
15586 ac_cpp='$CPP $CPPFLAGS'
15587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603 ac_config_commands="$ac_config_commands libtool"
15604
15605
15606
15607
15608 # Only expand once:
15609
15610
15611
15612
15613
15614 case $host in
15615 *-cygwin* | *-mingw*)
15616 # 'host' will be top-level target in the case of a target lib,
15617 # we must compare to with_cross_host to decide if this is a native
15618 # or cross-compiler and select where to install dlls appropriately.
15619 if test -n "$with_cross_host" &&
15620 test x"$with_cross_host" != x"no"; then
15621 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15622 else
15623 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15624 fi
15625 ;;
15626 *)
15627 lt_host_flags=
15628 ;;
15629 esac
15630
15631
15632
15633
15634
15635
15636 if test "$enable_vtable_verify" = yes; then
15637 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15638 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15639 fi
15640
15641
15642 # libtool variables for C++ shared and position-independent compiles.
15643 #
15644 # Use glibcxx_lt_pic_flag to designate the automake variable
15645 # used to encapsulate the default libtool approach to creating objects
15646 # with position-independent code. Default: -prefer-pic.
15647 #
15648 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15649 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15650 #
15651 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15652 # creating position-independent objects. This varies with the target
15653 # hardware and operating system, but is often: -DPIC -fPIC.
15654 if test "$enable_shared" = yes; then
15655 glibcxx_lt_pic_flag="-prefer-pic"
15656 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15657 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15658
15659 else
15660 glibcxx_lt_pic_flag=
15661 glibcxx_compiler_pic_flag=
15662 glibcxx_compiler_shared_flag=
15663 fi
15664
15665
15666
15667
15668 # Override the libtool's pic_flag and pic_mode.
15669 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15670 # NB: this impacts --with-pic and --without-pic.
15671 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15672 pic_mode='default'
15673
15674 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15675 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15676
15677 # Possibly disable most of the library.
15678 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15679 ## than just ignoring the results. Faster /and/ more correct, win win.
15680
15681 # Check whether --enable-hosted-libstdcxx was given.
15682 if test "${enable_hosted_libstdcxx+set}" = set; then :
15683 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15684 else
15685 case "$host" in
15686 arm*-*-symbianelf*)
15687 enable_hosted_libstdcxx=no
15688 ;;
15689 *)
15690 case "${with_newlib}-${with_headers}" in
15691 no-no) enable_hosted_libstdcxx=no ;;
15692 *) enable_hosted_libstdcxx=yes ;;
15693 esac
15694 ;;
15695 esac
15696 fi
15697
15698
15699 # Because most configure args are --enable-libstdcxx-foo add an alias
15700 # of that form for --enable-hosted-libstdcxx.
15701 # Check whether --enable-libstdcxx-hosted was given.
15702 if test "${enable_libstdcxx_hosted+set}" = set; then :
15703 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15704 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15705 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15706 fi
15707 else
15708 enable_hosted_libstdcxx=${enableval}
15709 fi
15710
15711 fi
15712
15713
15714 freestanding_flags=
15715 if test "$enable_hosted_libstdcxx" = no; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15717 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15718 is_hosted=no
15719 hosted_define=0
15720 enable_abi_check=no
15721 enable_libstdcxx_pch=no
15722 if test "x$with_headers" = xno; then
15723 freestanding_flags="-ffreestanding"
15724 fi
15725 else
15726 is_hosted=yes
15727 hosted_define=__STDC_HOSTED__
15728 fi
15729
15730
15731 cat >>confdefs.h <<_ACEOF
15732 #define _GLIBCXX_HOSTED $hosted_define
15733 _ACEOF
15734
15735 FREESTANDING_FLAGS="$freestanding_flags"
15736
15737
15738
15739 # Enable descriptive messages to standard output on termination.
15740
15741 # Check whether --enable-libstdcxx-verbose was given.
15742 if test "${enable_libstdcxx_verbose+set}" = set; then :
15743 enableval=$enable_libstdcxx_verbose;
15744 else
15745 enable_libstdcxx_verbose=yes
15746 fi
15747
15748 if test x"$enable_libstdcxx_verbose" = xyes; then
15749 verbose_define=1
15750 else
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15752 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15753 verbose_define=0
15754 fi
15755
15756 cat >>confdefs.h <<_ACEOF
15757 #define _GLIBCXX_VERBOSE $verbose_define
15758 _ACEOF
15759
15760
15761
15762 # Enable compiler support that doesn't require linking.
15763
15764 # Check whether --enable-libstdcxx-pch was given.
15765 if test "${enable_libstdcxx_pch+set}" = set; then :
15766 enableval=$enable_libstdcxx_pch;
15767 case "$enableval" in
15768 yes|no) ;;
15769 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15770 esac
15771
15772 else
15773 enable_libstdcxx_pch=$is_hosted
15774 fi
15775
15776
15777 if test $enable_libstdcxx_pch = yes; then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15779 $as_echo_n "checking for compiler with PCH support... " >&6; }
15780 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15781 $as_echo_n "(cached) " >&6
15782 else
15783 ac_save_CXXFLAGS="$CXXFLAGS"
15784 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15785
15786 ac_ext=cpp
15787 ac_cpp='$CXXCPP $CPPFLAGS'
15788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15791
15792 echo '#include <math.h>' > conftest.h
15793 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15794 -o conftest.h.gch 1>&5 2>&1 &&
15795 echo '#error "pch failed"' > conftest.h &&
15796 echo '#include "conftest.h"' > conftest.cc &&
15797 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15798 then
15799 glibcxx_cv_prog_CXX_pch=yes
15800 else
15801 glibcxx_cv_prog_CXX_pch=no
15802 fi
15803 rm -f conftest*
15804 CXXFLAGS=$ac_save_CXXFLAGS
15805 ac_ext=c
15806 ac_cpp='$CPP $CPPFLAGS'
15807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15810
15811
15812 fi
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15814 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15815 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15816 fi
15817
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15819 $as_echo_n "checking for enabled PCH... " >&6; }
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15821 $as_echo "$enable_libstdcxx_pch" >&6; }
15822
15823
15824 if test $enable_libstdcxx_pch = yes; then
15825 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15826 else
15827 glibcxx_PCHFLAGS=""
15828 fi
15829
15830
15831
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15833 $as_echo_n "checking for thread model used by GCC... " >&6; }
15834 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15836 $as_echo "$target_thread_file" >&6; }
15837
15838 case $target_thread_file in
15839 aix) thread_header=config/rs6000/gthr-aix.h ;;
15840 dce) thread_header=config/pa/gthr-dce.h ;;
15841 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15842 lynx) thread_header=config/gthr-lynx.h ;;
15843 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15844 posix) thread_header=gthr-posix.h ;;
15845 rtems) thread_header=config/gthr-rtems.h ;;
15846 single) thread_header=gthr-single.h ;;
15847 tpf) thread_header=config/s390/gthr-tpf.h ;;
15848 vxworks) thread_header=config/gthr-vxworks.h ;;
15849 win32) thread_header=config/i386/gthr-win32.h ;;
15850 mcf) thread_header=config/i386/gthr-mcf.h ;;
15851 esac
15852
15853
15854
15855
15856
15857 ac_ext=cpp
15858 ac_cpp='$CXXCPP $CPPFLAGS'
15859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15862
15863 old_CXXFLAGS="$CXXFLAGS"
15864
15865 # Do link tests if possible, instead asm tests, limited to some platforms
15866 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15867 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15868 atomic_builtins_link_tests=no
15869 if test x$gcc_no_link != xyes; then
15870 # Can do link tests. Limit to some tested platforms
15871 case "$host" in
15872 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15873 atomic_builtins_link_tests=yes
15874 ;;
15875 esac
15876 fi
15877
15878 if test x$atomic_builtins_link_tests = xyes; then
15879
15880 # Do link tests.
15881
15882 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15883
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15885 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15886 if ${glibcxx_cv_atomic_bool+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889
15890 if test x$gcc_no_link = xyes; then
15891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15892 fi
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895
15896 int
15897 main ()
15898 {
15899 typedef bool atomic_type;
15900 atomic_type c1;
15901 atomic_type c2;
15902 atomic_type c3(0);
15903 // N.B. __atomic_fetch_add is not supported for bool.
15904 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15905 __ATOMIC_RELAXED);
15906 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15907 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15908
15909 ;
15910 return 0;
15911 }
15912 _ACEOF
15913 if ac_fn_cxx_try_link "$LINENO"; then :
15914 glibcxx_cv_atomic_bool=yes
15915 else
15916 glibcxx_cv_atomic_bool=no
15917 fi
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15920
15921 fi
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15923 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15924
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15926 $as_echo_n "checking for atomic builtins for short... " >&6; }
15927 if ${glibcxx_cv_atomic_short+:} false; then :
15928 $as_echo_n "(cached) " >&6
15929 else
15930
15931 if test x$gcc_no_link = xyes; then
15932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15933 fi
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15936
15937 int
15938 main ()
15939 {
15940 typedef short atomic_type;
15941 atomic_type c1;
15942 atomic_type c2;
15943 atomic_type c3(0);
15944 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15945 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15946 __ATOMIC_RELAXED);
15947 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15948 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15949
15950 ;
15951 return 0;
15952 }
15953 _ACEOF
15954 if ac_fn_cxx_try_link "$LINENO"; then :
15955 glibcxx_cv_atomic_short=yes
15956 else
15957 glibcxx_cv_atomic_short=no
15958 fi
15959 rm -f core conftest.err conftest.$ac_objext \
15960 conftest$ac_exeext conftest.$ac_ext
15961
15962 fi
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15964 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15965
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15967 $as_echo_n "checking for atomic builtins for int... " >&6; }
15968 if ${glibcxx_cv_atomic_int+:} false; then :
15969 $as_echo_n "(cached) " >&6
15970 else
15971
15972 if test x$gcc_no_link = xyes; then
15973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15974 fi
15975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15977
15978 int
15979 main ()
15980 {
15981 typedef int atomic_type;
15982 atomic_type c1;
15983 atomic_type c2;
15984 atomic_type c3(0);
15985 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15986 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15987 __ATOMIC_RELAXED);
15988 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15989 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15990
15991 ;
15992 return 0;
15993 }
15994 _ACEOF
15995 if ac_fn_cxx_try_link "$LINENO"; then :
15996 glibcxx_cv_atomic_int=yes
15997 else
15998 glibcxx_cv_atomic_int=no
15999 fi
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002
16003 fi
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16005 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16006
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16008 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16009 if ${glibcxx_cv_atomic_long_long+:} false; then :
16010 $as_echo_n "(cached) " >&6
16011 else
16012
16013 if test x$gcc_no_link = xyes; then
16014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16015 fi
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16018
16019 int
16020 main ()
16021 {
16022 typedef long long atomic_type;
16023 atomic_type c1;
16024 atomic_type c2;
16025 atomic_type c3(0);
16026 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16027 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16028 __ATOMIC_RELAXED);
16029 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16030 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16031
16032 ;
16033 return 0;
16034 }
16035 _ACEOF
16036 if ac_fn_cxx_try_link "$LINENO"; then :
16037 glibcxx_cv_atomic_long_long=yes
16038 else
16039 glibcxx_cv_atomic_long_long=no
16040 fi
16041 rm -f core conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16043
16044 fi
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16046 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16047
16048 else
16049
16050 # Do asm tests.
16051
16052 # Compile unoptimized.
16053 CXXFLAGS='-O0 -S'
16054
16055 # Fake what AC_TRY_COMPILE does.
16056
16057 cat > conftest.$ac_ext << EOF
16058 #line 16058 "configure"
16059 int main()
16060 {
16061 typedef bool atomic_type;
16062 atomic_type c1;
16063 atomic_type c2;
16064 atomic_type c3(0);
16065 // N.B. __atomic_fetch_add is not supported for bool.
16066 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16067 __ATOMIC_RELAXED);
16068 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16069 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16070
16071 return 0;
16072 }
16073 EOF
16074
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16076 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16078 (eval $ac_compile) 2>&5
16079 ac_status=$?
16080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16081 test $ac_status = 0; }; then
16082 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16083 glibcxx_cv_atomic_bool=no
16084 else
16085 glibcxx_cv_atomic_bool=yes
16086 fi
16087 fi
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16089 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16090 rm -f conftest*
16091
16092 cat > conftest.$ac_ext << EOF
16093 #line 16093 "configure"
16094 int main()
16095 {
16096 typedef short atomic_type;
16097 atomic_type c1;
16098 atomic_type c2;
16099 atomic_type c3(0);
16100 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16101 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16102 __ATOMIC_RELAXED);
16103 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16104 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16105
16106 return 0;
16107 }
16108 EOF
16109
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16111 $as_echo_n "checking for atomic builtins for short... " >&6; }
16112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16113 (eval $ac_compile) 2>&5
16114 ac_status=$?
16115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16116 test $ac_status = 0; }; then
16117 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16118 glibcxx_cv_atomic_short=no
16119 else
16120 glibcxx_cv_atomic_short=yes
16121 fi
16122 fi
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16124 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16125 rm -f conftest*
16126
16127 cat > conftest.$ac_ext << EOF
16128 #line 16128 "configure"
16129 int main()
16130 {
16131 // NB: _Atomic_word not necessarily int.
16132 typedef int atomic_type;
16133 atomic_type c1;
16134 atomic_type c2;
16135 atomic_type c3(0);
16136 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16137 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16138 __ATOMIC_RELAXED);
16139 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16140 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16141
16142 return 0;
16143 }
16144 EOF
16145
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16147 $as_echo_n "checking for atomic builtins for int... " >&6; }
16148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16149 (eval $ac_compile) 2>&5
16150 ac_status=$?
16151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16152 test $ac_status = 0; }; then
16153 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16154 glibcxx_cv_atomic_int=no
16155 else
16156 glibcxx_cv_atomic_int=yes
16157 fi
16158 fi
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16160 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16161 rm -f conftest*
16162
16163 cat > conftest.$ac_ext << EOF
16164 #line 16164 "configure"
16165 int main()
16166 {
16167 typedef long long atomic_type;
16168 atomic_type c1;
16169 atomic_type c2;
16170 atomic_type c3(0);
16171 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16172 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16173 __ATOMIC_RELAXED);
16174 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16175 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16176
16177 return 0;
16178 }
16179 EOF
16180
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16182 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16184 (eval $ac_compile) 2>&5
16185 ac_status=$?
16186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16187 test $ac_status = 0; }; then
16188 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16189 glibcxx_cv_atomic_long_long=no
16190 else
16191 glibcxx_cv_atomic_long_long=yes
16192 fi
16193 fi
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16195 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16196 rm -f conftest*
16197
16198 fi
16199
16200 CXXFLAGS="$old_CXXFLAGS"
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206
16207
16208 # Set atomicity_dir to builtins if all but the long long test above passes,
16209 # or if the builtins were already chosen (e.g. by configure.host).
16210 if { test "$glibcxx_cv_atomic_bool" = yes \
16211 && test "$glibcxx_cv_atomic_short" = yes \
16212 && test "$glibcxx_cv_atomic_int" = yes; } \
16213 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16214
16215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16216
16217 atomicity_dir=cpu/generic/atomicity_builtins
16218 fi
16219
16220 # If still generic, set to mutex.
16221 if test $atomicity_dir = "cpu/generic" ; then
16222 atomicity_dir=cpu/generic/atomicity_mutex
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16224 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16225 if test "x$target_thread_file" = xsingle; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16227 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16229 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16230 else
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16232 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16234 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16235 fi
16236 fi
16237
16238
16239
16240
16241
16242 # Check whether --with-libstdcxx-lock-policy was given.
16243 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16244 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16245 else
16246 libstdcxx_atomic_lock_policy=auto
16247 fi
16248
16249
16250 case "$libstdcxx_atomic_lock_policy" in
16251 atomic|mutex|auto) ;;
16252 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16253 esac
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16255 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16256
16257 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16258
16259 ac_ext=cpp
16260 ac_cpp='$CXXCPP $CPPFLAGS'
16261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16264
16265 ac_save_CXXFLAGS="$CXXFLAGS"
16266
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269
16270 #if defined __riscv
16271 # error "Defaulting to mutex-based locks for ABI compatibility"
16272 #endif
16273 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16274 # error "No 2-byte compare-and-swap"
16275 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16276 # error "No 4-byte compare-and-swap"
16277 #endif
16278
16279 int
16280 main ()
16281 {
16282
16283 ;
16284 return 0;
16285 }
16286 _ACEOF
16287 if ac_fn_cxx_try_compile "$LINENO"; then :
16288 libstdcxx_atomic_lock_policy=atomic
16289 else
16290 libstdcxx_atomic_lock_policy=mutex
16291 fi
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 ac_ext=c
16294 ac_cpp='$CPP $CPPFLAGS'
16295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16298
16299 CXXFLAGS="$ac_save_CXXFLAGS"
16300 fi
16301
16302 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16304 $as_echo "atomic" >&6; }
16305
16306 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16307
16308 else
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16310 $as_echo "mutex" >&6; }
16311 fi
16312
16313
16314
16315
16316 # Fake what AC_TRY_COMPILE does, without linking as this is
16317 # unnecessary for this test.
16318
16319 cat > conftest.$ac_ext << EOF
16320 #line 16320 "configure"
16321 int main()
16322 {
16323 _Decimal32 d1;
16324 _Decimal64 d2;
16325 _Decimal128 d3;
16326 return 0;
16327 }
16328 EOF
16329
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16331 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16333 (eval $ac_compile) 2>&5
16334 ac_status=$?
16335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16336 test $ac_status = 0; }; then
16337
16338 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16339
16340 enable_dfp=yes
16341 else
16342 enable_dfp=no
16343 fi
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16345 $as_echo "$enable_dfp" >&6; }
16346 rm -f conftest*
16347
16348
16349
16350
16351 ac_ext=cpp
16352 ac_cpp='$CXXCPP $CPPFLAGS'
16353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16356
16357
16358 # Fake what AC_TRY_COMPILE does, without linking as this is
16359 # unnecessary for this test.
16360
16361 cat > conftest.$ac_ext << EOF
16362 #line 16362 "configure"
16363 template<typename T1, typename T2>
16364 struct same
16365 { typedef T2 type; };
16366
16367 template<typename T>
16368 struct same<T, T>;
16369
16370 int main()
16371 {
16372 typename same<double, __float128>::type f1;
16373 typename same<long double, __float128>::type f2;
16374 }
16375 EOF
16376
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16378 $as_echo_n "checking for __float128... " >&6; }
16379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16380 (eval $ac_compile) 2>&5
16381 ac_status=$?
16382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16383 test $ac_status = 0; }; then
16384 enable_float128=yes
16385 else
16386 enable_float128=no
16387 fi
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16389 $as_echo "$enable_float128" >&6; }
16390
16391 rm -f conftest*
16392
16393 ac_ext=c
16394 ac_cpp='$CPP $CPPFLAGS'
16395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16398
16399
16400 if test "$enable_float128" = yes; then
16401 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16402 fi
16403
16404 # Checks for compiler support that doesn't require linking.
16405
16406 # All these tests are for C++; save the language and the compiler flags.
16407 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16408 # found in GLIBCXX_CONFIGURE.
16409
16410 ac_ext=cpp
16411 ac_cpp='$CXXCPP $CPPFLAGS'
16412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16415
16416 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16417 ac_save_CXXFLAGS="$CXXFLAGS"
16418
16419 # Check for -ffunction-sections -fdata-sections
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16421 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16422 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 int foo; void bar() { };
16426 int
16427 main ()
16428 {
16429
16430 ;
16431 return 0;
16432 }
16433 _ACEOF
16434 if ac_fn_cxx_try_compile "$LINENO"; then :
16435 ac_fdsections=yes
16436 else
16437 ac_fdsections=no
16438 fi
16439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16440 if test "$ac_test_CXXFLAGS" = set; then
16441 CXXFLAGS="$ac_save_CXXFLAGS"
16442 else
16443 # this is the suspicious part
16444 CXXFLAGS=''
16445 fi
16446 if test x"$ac_fdsections" = x"yes"; then
16447 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16448 fi
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16450 $as_echo "$ac_fdsections" >&6; }
16451
16452 ac_ext=c
16453 ac_cpp='$CPP $CPPFLAGS'
16454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16457
16458
16459
16460
16461 # Enable all the variable C++ runtime options that don't require linking.
16462
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16464 $as_echo_n "checking for underlying I/O to use... " >&6; }
16465 # Check whether --enable-cstdio was given.
16466 if test "${enable_cstdio+set}" = set; then :
16467 enableval=$enable_cstdio;
16468 case "$enableval" in
16469 stdio|stdio_posix|stdio_pure) ;;
16470 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16471 esac
16472
16473 else
16474 enable_cstdio=stdio
16475 fi
16476
16477
16478
16479 # The only available I/O model is based on stdio, via basic_file_stdio.
16480 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16481 # to get a file descriptor and then uses read(3) and write(3) with it.
16482 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16483 case ${enable_cstdio} in
16484 stdio*)
16485 CSTDIO_H=config/io/c_io_stdio.h
16486 BASIC_FILE_H=config/io/basic_file_stdio.h
16487 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16488
16489 if test "x$enable_cstdio" = "xstdio_pure" ; then
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16491 $as_echo "stdio (without POSIX read/write)" >&6; }
16492
16493 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16494
16495 else
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16497 $as_echo "stdio (with POSIX read/write)" >&6; }
16498 fi
16499 ;;
16500 esac
16501
16502
16503
16504
16505
16506
16507 # Check whether --enable-clocale was given.
16508 if test "${enable_clocale+set}" = set; then :
16509 enableval=$enable_clocale;
16510 case "$enableval" in
16511 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16512 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16513 esac
16514
16515 else
16516 enable_clocale=auto
16517 fi
16518
16519
16520
16521 # Deal with gettext issues. Default to not using it (=no) until we detect
16522 # support for it later. Let the user turn it off via --e/d, but let that
16523 # default to on for easier handling.
16524 USE_NLS=no
16525 # Check whether --enable-nls was given.
16526 if test "${enable_nls+set}" = set; then :
16527 enableval=$enable_nls;
16528 else
16529 enable_nls=yes
16530 fi
16531
16532
16533 # Either a known package, or "auto"
16534 if test $enable_clocale = no || test $enable_clocale = yes; then
16535 enable_clocale=auto
16536 fi
16537 enable_clocale_flag=$enable_clocale
16538
16539 # Probe for locale model to use if none specified.
16540 # Default to "generic".
16541 if test $enable_clocale_flag = auto; then
16542 case ${target_os} in
16543 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16544 enable_clocale_flag=gnu
16545 ;;
16546 darwin*)
16547 enable_clocale_flag=darwin
16548 ;;
16549 vxworks*)
16550 enable_clocale_flag=vxworks
16551 ;;
16552 dragonfly* | freebsd*)
16553 enable_clocale_flag=dragonfly
16554 ;;
16555 openbsd*)
16556 enable_clocale_flag=newlib
16557 ;;
16558 *)
16559 if test x"$with_newlib" = x"yes"; then
16560 enable_clocale_flag=newlib
16561 else
16562 enable_clocale_flag=generic
16563 fi
16564 ;;
16565 esac
16566 fi
16567
16568 # Sanity check model, and test for special functionality.
16569 if test $enable_clocale_flag = gnu; then
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572
16573 #include <features.h>
16574 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16575 _GLIBCXX_ok
16576 #endif
16577
16578 _ACEOF
16579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16580 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16581 enable_clocale_flag=gnu
16582 else
16583 enable_clocale_flag=generic
16584 fi
16585 rm -f conftest*
16586
16587
16588 # Set it to scream when it hurts.
16589 ac_save_CFLAGS="$CFLAGS"
16590 CFLAGS="-Wimplicit-function-declaration -Werror"
16591
16592 # Use strxfrm_l if available.
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16595 #define _GNU_SOURCE 1
16596 #include <string.h>
16597 #include <locale.h>
16598 int
16599 main ()
16600 {
16601 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16602 ;
16603 return 0;
16604 }
16605 _ACEOF
16606 if ac_fn_c_try_compile "$LINENO"; then :
16607
16608 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16609
16610 fi
16611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16612
16613 # Use strerror_l if available.
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16616 #define _GNU_SOURCE 1
16617 #include <string.h>
16618 #include <locale.h>
16619 int
16620 main ()
16621 {
16622 __locale_t loc; strerror_l(5, loc);
16623 ;
16624 return 0;
16625 }
16626 _ACEOF
16627 if ac_fn_c_try_compile "$LINENO"; then :
16628
16629 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16630
16631 fi
16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16633
16634 CFLAGS="$ac_save_CFLAGS"
16635 fi
16636
16637 # Perhaps use strerror_r if available, and strerror_l isn't.
16638 ac_save_CFLAGS="$CFLAGS"
16639 CFLAGS="-Wimplicit-function-declaration -Werror"
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 #define _GNU_SOURCE 1
16643 #include <string.h>
16644 #include <locale.h>
16645 int
16646 main ()
16647 {
16648 char s[128]; strerror_r(5, s, 128);
16649 ;
16650 return 0;
16651 }
16652 _ACEOF
16653 if ac_fn_c_try_compile "$LINENO"; then :
16654
16655 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16656
16657 fi
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 CFLAGS="$ac_save_CFLAGS"
16660
16661 # Set configure bits for specified locale package
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16663 $as_echo_n "checking for C locale to use... " >&6; }
16664 case ${enable_clocale_flag} in
16665 generic)
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16667 $as_echo "generic" >&6; }
16668
16669 CLOCALE_H=config/locale/generic/c_locale.h
16670 CLOCALE_CC=config/locale/generic/c_locale.cc
16671 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16672 CCOLLATE_CC=config/locale/generic/collate_members.cc
16673 CCTYPE_CC=config/locale/generic/ctype_members.cc
16674 CMESSAGES_H=config/locale/generic/messages_members.h
16675 CMESSAGES_CC=config/locale/generic/messages_members.cc
16676 CMONEY_CC=config/locale/generic/monetary_members.cc
16677 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16678 CTIME_H=config/locale/generic/time_members.h
16679 CTIME_CC=config/locale/generic/time_members.cc
16680 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16681 ;;
16682 darwin)
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16684 $as_echo "darwin" >&6; }
16685
16686 CLOCALE_H=config/locale/generic/c_locale.h
16687 CLOCALE_CC=config/locale/generic/c_locale.cc
16688 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16689 CCOLLATE_CC=config/locale/generic/collate_members.cc
16690 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16691 CMESSAGES_H=config/locale/generic/messages_members.h
16692 CMESSAGES_CC=config/locale/generic/messages_members.cc
16693 CMONEY_CC=config/locale/generic/monetary_members.cc
16694 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16695 CTIME_H=config/locale/generic/time_members.h
16696 CTIME_CC=config/locale/generic/time_members.cc
16697 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16698 ;;
16699 vxworks)
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16701 $as_echo "vxworks" >&6; }
16702
16703 CLOCALE_H=config/locale/generic/c_locale.h
16704 CLOCALE_CC=config/locale/generic/c_locale.cc
16705 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16706 CCOLLATE_CC=config/locale/generic/collate_members.cc
16707 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16708 CMESSAGES_H=config/locale/generic/messages_members.h
16709 CMESSAGES_CC=config/locale/generic/messages_members.cc
16710 CMONEY_CC=config/locale/generic/monetary_members.cc
16711 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16712 CTIME_H=config/locale/generic/time_members.h
16713 CTIME_CC=config/locale/generic/time_members.cc
16714 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16715 ;;
16716 dragonfly)
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16718 $as_echo "dragonfly or freebsd" >&6; }
16719
16720 CLOCALE_H=config/locale/dragonfly/c_locale.h
16721 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16722 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16723 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16724 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16725 CMESSAGES_H=config/locale/generic/messages_members.h
16726 CMESSAGES_CC=config/locale/generic/messages_members.cc
16727 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16728 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16729 CTIME_H=config/locale/dragonfly/time_members.h
16730 CTIME_CC=config/locale/dragonfly/time_members.cc
16731 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16732 ;;
16733
16734 gnu)
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16736 $as_echo "gnu" >&6; }
16737
16738 # Declare intention to use gettext, and add support for specific
16739 # languages.
16740 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16741 ALL_LINGUAS="de fr"
16742
16743 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16744 # Extract the first word of "msgfmt", so it can be a program name with args.
16745 set dummy msgfmt; ac_word=$2
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16747 $as_echo_n "checking for $ac_word... " >&6; }
16748 if ${ac_cv_prog_check_msgfmt+:} false; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16751 if test -n "$check_msgfmt"; then
16752 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16753 else
16754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16755 for as_dir in $PATH
16756 do
16757 IFS=$as_save_IFS
16758 test -z "$as_dir" && as_dir=.
16759 for ac_exec_ext in '' $ac_executable_extensions; do
16760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16761 ac_cv_prog_check_msgfmt="yes"
16762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16763 break 2
16764 fi
16765 done
16766 done
16767 IFS=$as_save_IFS
16768
16769 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16770 fi
16771 fi
16772 check_msgfmt=$ac_cv_prog_check_msgfmt
16773 if test -n "$check_msgfmt"; then
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16775 $as_echo "$check_msgfmt" >&6; }
16776 else
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16778 $as_echo "no" >&6; }
16779 fi
16780
16781
16782 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16783 USE_NLS=yes
16784 fi
16785 # Export the build objects.
16786 for ling in $ALL_LINGUAS; do \
16787 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16788 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16789 done
16790
16791
16792
16793 CLOCALE_H=config/locale/gnu/c_locale.h
16794 CLOCALE_CC=config/locale/gnu/c_locale.cc
16795 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16796 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16797 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16798 CMESSAGES_H=config/locale/gnu/messages_members.h
16799 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16800 CMONEY_CC=config/locale/gnu/monetary_members.cc
16801 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16802 CTIME_H=config/locale/gnu/time_members.h
16803 CTIME_CC=config/locale/gnu/time_members.cc
16804 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16805 ;;
16806 ieee_1003.1-2001)
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16808 $as_echo "IEEE 1003.1" >&6; }
16809
16810 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16811 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16812 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16813 CCOLLATE_CC=config/locale/generic/collate_members.cc
16814 CCTYPE_CC=config/locale/generic/ctype_members.cc
16815 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16816 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16817 CMONEY_CC=config/locale/generic/monetary_members.cc
16818 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16819 CTIME_H=config/locale/generic/time_members.h
16820 CTIME_CC=config/locale/generic/time_members.cc
16821 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16822 ;;
16823 newlib)
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16825 $as_echo "newlib" >&6; }
16826
16827 CLOCALE_H=config/locale/generic/c_locale.h
16828 CLOCALE_CC=config/locale/generic/c_locale.cc
16829 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16830 CCOLLATE_CC=config/locale/generic/collate_members.cc
16831 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16832 CMESSAGES_H=config/locale/generic/messages_members.h
16833 CMESSAGES_CC=config/locale/generic/messages_members.cc
16834 CMONEY_CC=config/locale/generic/monetary_members.cc
16835 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16836 CTIME_H=config/locale/generic/time_members.h
16837 CTIME_CC=config/locale/generic/time_members.cc
16838 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16839 ;;
16840 esac
16841
16842 # This is where the testsuite looks for locale catalogs, using the
16843 # -DLOCALEDIR define during testsuite compilation.
16844 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16845
16846
16847 # A standalone libintl (e.g., GNU libintl) may be in use.
16848 if test $USE_NLS = yes; then
16849 for ac_header in libintl.h
16850 do :
16851 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16852 if test "x$ac_cv_header_libintl_h" = xyes; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_LIBINTL_H 1
16855 _ACEOF
16856
16857 else
16858 USE_NLS=no
16859 fi
16860
16861 done
16862
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16864 $as_echo_n "checking for library containing gettext... " >&6; }
16865 if ${ac_cv_search_gettext+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 ac_func_search_save_LIBS=$LIBS
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16871
16872 /* Override any GCC internal prototype to avoid an error.
16873 Use char because int might match the return type of a GCC
16874 builtin and then its argument prototype would still apply. */
16875 #ifdef __cplusplus
16876 extern "C"
16877 #endif
16878 char gettext ();
16879 int
16880 main ()
16881 {
16882 return gettext ();
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 for ac_lib in '' intl; do
16888 if test -z "$ac_lib"; then
16889 ac_res="none required"
16890 else
16891 ac_res=-l$ac_lib
16892 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16893 fi
16894 if test x$gcc_no_link = xyes; then
16895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16896 fi
16897 if ac_fn_c_try_link "$LINENO"; then :
16898 ac_cv_search_gettext=$ac_res
16899 fi
16900 rm -f core conftest.err conftest.$ac_objext \
16901 conftest$ac_exeext
16902 if ${ac_cv_search_gettext+:} false; then :
16903 break
16904 fi
16905 done
16906 if ${ac_cv_search_gettext+:} false; then :
16907
16908 else
16909 ac_cv_search_gettext=no
16910 fi
16911 rm conftest.$ac_ext
16912 LIBS=$ac_func_search_save_LIBS
16913 fi
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16915 $as_echo "$ac_cv_search_gettext" >&6; }
16916 ac_res=$ac_cv_search_gettext
16917 if test "$ac_res" != no; then :
16918 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16919
16920 else
16921 USE_NLS=no
16922 fi
16923
16924 fi
16925 if test $USE_NLS = yes; then
16926
16927 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16928
16929 fi
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16947 $as_echo_n "checking for std::allocator base class... " >&6; }
16948 # Check whether --enable-libstdcxx-allocator was given.
16949 if test "${enable_libstdcxx_allocator+set}" = set; then :
16950 enableval=$enable_libstdcxx_allocator;
16951 case "$enableval" in
16952 new|malloc|yes|no|auto) ;;
16953 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16954 esac
16955
16956 else
16957 enable_libstdcxx_allocator=auto
16958 fi
16959
16960
16961
16962 # If they didn't use this option switch, or if they specified --enable
16963 # with no specific model, we'll have to look for one. If they
16964 # specified --disable (???), do likewise.
16965 if test $enable_libstdcxx_allocator = no ||
16966 test $enable_libstdcxx_allocator = yes;
16967 then
16968 enable_libstdcxx_allocator=auto
16969 fi
16970
16971 # Either a known package, or "auto". Auto implies the default choice
16972 # for a particular platform.
16973 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16974
16975 # Probe for host-specific support if no specific model is specified.
16976 # Default to "new".
16977 if test $enable_libstdcxx_allocator_flag = auto; then
16978 case ${target_os} in
16979 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16980 enable_libstdcxx_allocator_flag=new
16981 ;;
16982 *)
16983 enable_libstdcxx_allocator_flag=new
16984 ;;
16985 esac
16986 fi
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16988 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16989
16990
16991 # Set configure bits for specified locale package
16992 case ${enable_libstdcxx_allocator_flag} in
16993 malloc)
16994 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16995 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16996 ;;
16997 new)
16998 ALLOCATOR_H=config/allocator/new_allocator_base.h
16999 ALLOCATOR_NAME=__gnu_cxx::new_allocator
17000 ;;
17001 esac
17002
17003
17004
17005
17006
17007
17008 # Check whether --enable-cheaders-obsolete was given.
17009 if test "${enable_cheaders_obsolete+set}" = set; then :
17010 enableval=$enable_cheaders_obsolete;
17011 case "$enableval" in
17012 yes|no) ;;
17013 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
17014 esac
17015
17016 else
17017 enable_cheaders_obsolete=no
17018 fi
17019
17020
17021 # Check whether --enable-cheaders was given.
17022 if test "${enable_cheaders+set}" = set; then :
17023 enableval=$enable_cheaders;
17024 case "$enableval" in
17025 c|c_global|c_std) ;;
17026 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
17027 esac
17028
17029 else
17030 enable_cheaders=$c_model
17031 fi
17032
17033
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
17035 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
17036 if test $enable_cheaders = c_std ; then
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17038 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17040 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17041 if test $enable_cheaders_obsolete != yes ; then
17042 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17043 fi
17044 fi
17045
17046 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17047
17048 # Allow overrides to configure.host here.
17049 if test $enable_cheaders = c_global; then
17050 c_compatibility=yes
17051 fi
17052
17053
17054
17055
17056
17057
17058
17059 # Check whether --enable-long-long was given.
17060 if test "${enable_long_long+set}" = set; then :
17061 enableval=$enable_long_long;
17062 case "$enableval" in
17063 yes|no) ;;
17064 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17065 esac
17066
17067 else
17068 enable_long_long=yes
17069 fi
17070
17071
17072 if test $enable_long_long = yes; then
17073
17074 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17075
17076 fi
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17078 $as_echo_n "checking for enabled long long specializations... " >&6; }
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17080 $as_echo "$enable_long_long" >&6; }
17081
17082
17083 # Check whether --enable-wchar_t was given.
17084 if test "${enable_wchar_t+set}" = set; then :
17085 enableval=$enable_wchar_t;
17086 case "$enableval" in
17087 yes|no) ;;
17088 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17089 esac
17090
17091 else
17092 enable_wchar_t=yes
17093 fi
17094
17095
17096
17097 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17098 for ac_header in wchar.h
17099 do :
17100 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17101 if test "x$ac_cv_header_wchar_h" = xyes; then :
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_WCHAR_H 1
17104 _ACEOF
17105 ac_has_wchar_h=yes
17106 else
17107 ac_has_wchar_h=no
17108 fi
17109
17110 done
17111
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17113 $as_echo_n "checking for mbstate_t... " >&6; }
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17117 int
17118 main ()
17119 {
17120 mbstate_t teststate;
17121 ;
17122 return 0;
17123 }
17124 _ACEOF
17125 if ac_fn_c_try_compile "$LINENO"; then :
17126 have_mbstate_t=yes
17127 else
17128 have_mbstate_t=no
17129 fi
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17132 $as_echo "$have_mbstate_t" >&6; }
17133 if test x"$have_mbstate_t" = xyes; then
17134
17135 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17136
17137 fi
17138
17139 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17140 # ac_has_wchar_h.
17141 for ac_header in wctype.h
17142 do :
17143 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17144 if test "x$ac_cv_header_wctype_h" = xyes; then :
17145 cat >>confdefs.h <<_ACEOF
17146 #define HAVE_WCTYPE_H 1
17147 _ACEOF
17148 ac_has_wctype_h=yes
17149 else
17150 ac_has_wctype_h=no
17151 fi
17152
17153 done
17154
17155
17156 if test x"$enable_wchar_t" = x"yes"; then
17157
17158
17159 ac_ext=cpp
17160 ac_cpp='$CXXCPP $CPPFLAGS'
17161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17164
17165
17166 if test x"$ac_has_wchar_h" = xyes &&
17167 test x"$ac_has_wctype_h" = xyes; then
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17170 #include <wchar.h>
17171 #include <stddef.h>
17172 wint_t i;
17173 long l = WEOF;
17174 long j = WCHAR_MIN;
17175 long k = WCHAR_MAX;
17176 namespace test
17177 {
17178 using ::btowc;
17179 using ::fgetwc;
17180 using ::fgetws;
17181 using ::fputwc;
17182 using ::fputws;
17183 using ::fwide;
17184 using ::fwprintf;
17185 using ::fwscanf;
17186 using ::getwc;
17187 using ::getwchar;
17188 using ::mbrlen;
17189 using ::mbrtowc;
17190 using ::mbsinit;
17191 using ::mbsrtowcs;
17192 using ::putwc;
17193 using ::putwchar;
17194 using ::swprintf;
17195 using ::swscanf;
17196 using ::ungetwc;
17197 using ::vfwprintf;
17198 using ::vswprintf;
17199 using ::vwprintf;
17200 using ::wcrtomb;
17201 using ::wcscat;
17202 using ::wcschr;
17203 using ::wcscmp;
17204 using ::wcscoll;
17205 using ::wcscpy;
17206 using ::wcscspn;
17207 using ::wcsftime;
17208 using ::wcslen;
17209 using ::wcsncat;
17210 using ::wcsncmp;
17211 using ::wcsncpy;
17212 using ::wcspbrk;
17213 using ::wcsrchr;
17214 using ::wcsrtombs;
17215 using ::wcsspn;
17216 using ::wcsstr;
17217 using ::wcstod;
17218 using ::wcstok;
17219 using ::wcstol;
17220 using ::wcstoul;
17221 using ::wcsxfrm;
17222 using ::wctob;
17223 using ::wmemchr;
17224 using ::wmemcmp;
17225 using ::wmemcpy;
17226 using ::wmemmove;
17227 using ::wmemset;
17228 using ::wprintf;
17229 using ::wscanf;
17230 }
17231
17232 int
17233 main ()
17234 {
17235
17236 ;
17237 return 0;
17238 }
17239 _ACEOF
17240 if ac_fn_cxx_try_compile "$LINENO"; then :
17241
17242 else
17243 enable_wchar_t=no
17244 fi
17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246 else
17247 enable_wchar_t=no
17248 fi
17249
17250 ac_ext=c
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17255
17256 fi
17257
17258 if test x"$enable_wchar_t" = x"yes"; then
17259
17260 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17261
17262 fi
17263
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17265 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17267 $as_echo "$enable_wchar_t" >&6; }
17268
17269
17270
17271 # Check whether --enable-c99 was given.
17272 if test "${enable_c99+set}" = set; then :
17273 enableval=$enable_c99;
17274 case "$enableval" in
17275 yes|no) ;;
17276 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17277 esac
17278
17279 else
17280 enable_c99=yes
17281 fi
17282
17283
17284
17285 if test x"$enable_c99" = x"yes"; then
17286
17287 ac_ext=cpp
17288 ac_cpp='$CXXCPP $CPPFLAGS'
17289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17292
17293
17294 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17295 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17296 # to be spuriously enabled.
17297 ac_save_CXXFLAGS="$CXXFLAGS"
17298 CXXFLAGS="$CXXFLAGS -std=c++98"
17299 ac_save_LIBS="$LIBS"
17300 ac_save_gcc_no_link="$gcc_no_link"
17301
17302 if test x$gcc_no_link != xyes; then
17303 # Use -fno-exceptions to that the C driver can link these tests without
17304 # hitting undefined references to personality routines.
17305 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17307 $as_echo_n "checking for sin in -lm... " >&6; }
17308 if ${ac_cv_lib_m_sin+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 ac_check_lib_save_LIBS=$LIBS
17312 LIBS="-lm $LIBS"
17313 if test x$gcc_no_link = xyes; then
17314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17315 fi
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318
17319 /* Override any GCC internal prototype to avoid an error.
17320 Use char because int might match the return type of a GCC
17321 builtin and then its argument prototype would still apply. */
17322 #ifdef __cplusplus
17323 extern "C"
17324 #endif
17325 char sin ();
17326 int
17327 main ()
17328 {
17329 return sin ();
17330 ;
17331 return 0;
17332 }
17333 _ACEOF
17334 if ac_fn_cxx_try_link "$LINENO"; then :
17335 ac_cv_lib_m_sin=yes
17336 else
17337 ac_cv_lib_m_sin=no
17338 fi
17339 rm -f core conftest.err conftest.$ac_objext \
17340 conftest$ac_exeext conftest.$ac_ext
17341 LIBS=$ac_check_lib_save_LIBS
17342 fi
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17344 $as_echo "$ac_cv_lib_m_sin" >&6; }
17345 if test "x$ac_cv_lib_m_sin" = xyes; then :
17346 LIBS="$LIBS -lm"
17347 else
17348
17349 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17350 gcc_no_link=yes
17351
17352 fi
17353
17354 fi
17355
17356 # Check for the existence of <math.h> functions used if C99 is enabled.
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17358 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17359 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362
17363 if test x$gcc_no_link = xyes; then
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #include <math.h>
17367 volatile double d1, d2;
17368 volatile int i;
17369 int
17370 main ()
17371 {
17372 i = fpclassify(d1);
17373 i = isfinite(d1);
17374 i = isinf(d1);
17375 i = isnan(d1);
17376 i = isnormal(d1);
17377 i = signbit(d1);
17378 i = isgreater(d1, d2);
17379 i = isgreaterequal(d1, d2);
17380 i = isless(d1, d2);
17381 i = islessequal(d1, d2);
17382 i = islessgreater(d1, d2);
17383 i = islessgreater(d1, d2);
17384 i = isunordered(d1, d2);
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 if ac_fn_cxx_try_compile "$LINENO"; then :
17391 glibcxx_cv_c99_math_cxx98=yes
17392 else
17393 glibcxx_cv_c99_math_cxx98=no
17394 fi
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396 else
17397 if test x$gcc_no_link = xyes; then
17398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17399 fi
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #include <math.h>
17403 volatile double d1, d2;
17404 volatile int i;
17405 int
17406 main ()
17407 {
17408 i = fpclassify(d1);
17409 i = isfinite(d1);
17410 i = isinf(d1);
17411 i = isnan(d1);
17412 i = isnormal(d1);
17413 i = signbit(d1);
17414 i = isgreater(d1, d2);
17415 i = isgreaterequal(d1, d2);
17416 i = isless(d1, d2);
17417 i = islessequal(d1, d2);
17418 i = islessgreater(d1, d2);
17419 i = islessgreater(d1, d2);
17420 i = isunordered(d1, d2);
17421
17422 ;
17423 return 0;
17424 }
17425 _ACEOF
17426 if ac_fn_cxx_try_link "$LINENO"; then :
17427 glibcxx_cv_c99_math_cxx98=yes
17428 else
17429 glibcxx_cv_c99_math_cxx98=no
17430 fi
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 fi
17434
17435 fi
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17437 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17438 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17439
17440 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17441
17442 fi
17443
17444 # Check for the existence of <complex.h> complex math functions.
17445 # This is necessary even though libstdc++ uses the builtin versions
17446 # of these functions, because if the builtin cannot be used, a reference
17447 # to the library function is emitted.
17448 for ac_header in tgmath.h
17449 do :
17450 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17451 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17452 cat >>confdefs.h <<_ACEOF
17453 #define HAVE_TGMATH_H 1
17454 _ACEOF
17455 ac_has_tgmath_h=yes
17456 else
17457 ac_has_tgmath_h=no
17458 fi
17459
17460 done
17461
17462 for ac_header in complex.h
17463 do :
17464 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17465 if test "x$ac_cv_header_complex_h" = xyes; then :
17466 cat >>confdefs.h <<_ACEOF
17467 #define HAVE_COMPLEX_H 1
17468 _ACEOF
17469 ac_has_complex_h=yes
17470 else
17471 ac_has_complex_h=no
17472 fi
17473
17474 done
17475
17476 if test x"$ac_has_complex_h" = x"yes"; then
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17478 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17479 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17482
17483 if test x$gcc_no_link = xyes; then
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <complex.h>
17487 typedef __complex__ float float_type;
17488 typedef __complex__ double double_type;
17489 typedef __complex__ long double ld_type;
17490 volatile float_type tmpf;
17491 volatile double_type tmpd;
17492 volatile ld_type tmpld;
17493 volatile float f;
17494 volatile double d;
17495 volatile long double ld;
17496 int
17497 main ()
17498 {
17499 f = cabsf(tmpf);
17500 f = cargf(tmpf);
17501 tmpf = ccosf(tmpf);
17502 tmpf = ccoshf(tmpf);
17503 tmpf = cexpf(tmpf);
17504 tmpf = clogf(tmpf);
17505 tmpf = csinf(tmpf);
17506 tmpf = csinhf(tmpf);
17507 tmpf = csqrtf(tmpf);
17508 tmpf = ctanf(tmpf);
17509 tmpf = ctanhf(tmpf);
17510 tmpf = cpowf(tmpf, tmpf);
17511 tmpf = cprojf(tmpf);
17512 d = cabs(tmpd);
17513 d = carg(tmpd);
17514 tmpd = ccos(tmpd);
17515 tmpd = ccosh(tmpd);
17516 tmpd = cexp(tmpd);
17517 tmpd = clog(tmpd);
17518 tmpd = csin(tmpd);
17519 tmpd = csinh(tmpd);
17520 tmpd = csqrt(tmpd);
17521 tmpd = ctan(tmpd);
17522 tmpd = ctanh(tmpd);
17523 tmpd = cpow(tmpd, tmpd);
17524 tmpd = cproj(tmpd);
17525 ld = cabsl(tmpld);
17526 ld = cargl(tmpld);
17527 tmpld = ccosl(tmpld);
17528 tmpld = ccoshl(tmpld);
17529 tmpld = cexpl(tmpld);
17530 tmpld = clogl(tmpld);
17531 tmpld = csinl(tmpld);
17532 tmpld = csinhl(tmpld);
17533 tmpld = csqrtl(tmpld);
17534 tmpld = ctanl(tmpld);
17535 tmpld = ctanhl(tmpld);
17536 tmpld = cpowl(tmpld, tmpld);
17537 tmpld = cprojl(tmpld);
17538
17539 ;
17540 return 0;
17541 }
17542 _ACEOF
17543 if ac_fn_cxx_try_compile "$LINENO"; then :
17544 glibcxx_cv_c99_complex_cxx98=yes
17545 else
17546 glibcxx_cv_c99_complex_cxx98=no
17547 fi
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 else
17550 if test x$gcc_no_link = xyes; then
17551 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17552 fi
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 #include <complex.h>
17556 typedef __complex__ float float_type;
17557 typedef __complex__ double double_type;
17558 typedef __complex__ long double ld_type;
17559 volatile float_type tmpf;
17560 volatile double_type tmpd;
17561 volatile ld_type tmpld;
17562 volatile float f;
17563 volatile double d;
17564 volatile long double ld;
17565 int
17566 main ()
17567 {
17568 f = cabsf(tmpf);
17569 f = cargf(tmpf);
17570 tmpf = ccosf(tmpf);
17571 tmpf = ccoshf(tmpf);
17572 tmpf = cexpf(tmpf);
17573 tmpf = clogf(tmpf);
17574 tmpf = csinf(tmpf);
17575 tmpf = csinhf(tmpf);
17576 tmpf = csqrtf(tmpf);
17577 tmpf = ctanf(tmpf);
17578 tmpf = ctanhf(tmpf);
17579 tmpf = cpowf(tmpf, tmpf);
17580 tmpf = cprojf(tmpf);
17581 d = cabs(tmpd);
17582 d = carg(tmpd);
17583 tmpd = ccos(tmpd);
17584 tmpd = ccosh(tmpd);
17585 tmpd = cexp(tmpd);
17586 tmpd = clog(tmpd);
17587 tmpd = csin(tmpd);
17588 tmpd = csinh(tmpd);
17589 tmpd = csqrt(tmpd);
17590 tmpd = ctan(tmpd);
17591 tmpd = ctanh(tmpd);
17592 tmpd = cpow(tmpd, tmpd);
17593 tmpd = cproj(tmpd);
17594 ld = cabsl(tmpld);
17595 ld = cargl(tmpld);
17596 tmpld = ccosl(tmpld);
17597 tmpld = ccoshl(tmpld);
17598 tmpld = cexpl(tmpld);
17599 tmpld = clogl(tmpld);
17600 tmpld = csinl(tmpld);
17601 tmpld = csinhl(tmpld);
17602 tmpld = csqrtl(tmpld);
17603 tmpld = ctanl(tmpld);
17604 tmpld = ctanhl(tmpld);
17605 tmpld = cpowl(tmpld, tmpld);
17606 tmpld = cprojl(tmpld);
17607
17608 ;
17609 return 0;
17610 }
17611 _ACEOF
17612 if ac_fn_cxx_try_link "$LINENO"; then :
17613 glibcxx_cv_c99_complex_cxx98=yes
17614 else
17615 glibcxx_cv_c99_complex_cxx98=no
17616 fi
17617 rm -f core conftest.err conftest.$ac_objext \
17618 conftest$ac_exeext conftest.$ac_ext
17619 fi
17620
17621 fi
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17623 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17624 fi
17625 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17626
17627 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17628
17629 fi
17630
17631 # Check for the existence in <stdio.h> of vscanf, et. al.
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17633 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17634 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637
17638 if test x$gcc_no_link = xyes; then
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <stdio.h>
17642 #include <stdarg.h>
17643 void foo(char* fmt, ...)
17644 {
17645 va_list args; va_start(args, fmt);
17646 vfscanf(stderr, "%i", args);
17647 vscanf("%i", args);
17648 vsnprintf(fmt, 0, "%i", args);
17649 vsscanf(fmt, "%i", args);
17650 snprintf(fmt, 0, "%i");
17651 }
17652 int
17653 main ()
17654 {
17655
17656 ;
17657 return 0;
17658 }
17659 _ACEOF
17660 if ac_fn_cxx_try_compile "$LINENO"; then :
17661 glibcxx_cv_c99_stdio_cxx98=yes
17662 else
17663 glibcxx_cv_c99_stdio_cxx98=no
17664 fi
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666 else
17667 if test x$gcc_no_link = xyes; then
17668 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17669 fi
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #include <stdio.h>
17673 #include <stdarg.h>
17674 void foo(char* fmt, ...)
17675 {
17676 va_list args; va_start(args, fmt);
17677 vfscanf(stderr, "%i", args);
17678 vscanf("%i", args);
17679 vsnprintf(fmt, 0, "%i", args);
17680 vsscanf(fmt, "%i", args);
17681 snprintf(fmt, 0, "%i");
17682 }
17683 int
17684 main ()
17685 {
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 if ac_fn_cxx_try_link "$LINENO"; then :
17692 glibcxx_cv_c99_stdio_cxx98=yes
17693 else
17694 glibcxx_cv_c99_stdio_cxx98=no
17695 fi
17696 rm -f core conftest.err conftest.$ac_objext \
17697 conftest$ac_exeext conftest.$ac_ext
17698 fi
17699
17700 fi
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17702 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17703 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17704
17705 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17706
17707 fi
17708
17709 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17711 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17712 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17713 $as_echo_n "(cached) " >&6
17714 else
17715
17716 if test x$gcc_no_link = xyes; then
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 #include <stdlib.h>
17720 volatile float f;
17721 volatile long double ld;
17722 volatile unsigned long long ll;
17723 lldiv_t mydivt;
17724 int
17725 main ()
17726 {
17727 char* tmp;
17728 f = strtof("gnu", &tmp);
17729 ld = strtold("gnu", &tmp);
17730 ll = strtoll("gnu", &tmp, 10);
17731 ll = strtoull("gnu", &tmp, 10);
17732 ll = llabs(10);
17733 mydivt = lldiv(10,1);
17734 ll = mydivt.quot;
17735 ll = mydivt.rem;
17736 ll = atoll("10");
17737 _Exit(0);
17738
17739 ;
17740 return 0;
17741 }
17742 _ACEOF
17743 if ac_fn_cxx_try_compile "$LINENO"; then :
17744 glibcxx_cv_c99_stdlib_cxx98=yes
17745 else
17746 glibcxx_cv_c99_stdlib_cxx98=no
17747 fi
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 else
17750 if test x$gcc_no_link = xyes; then
17751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17752 fi
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17755 #include <stdlib.h>
17756 volatile float f;
17757 volatile long double ld;
17758 volatile unsigned long long ll;
17759 lldiv_t mydivt;
17760 int
17761 main ()
17762 {
17763 char* tmp;
17764 f = strtof("gnu", &tmp);
17765 ld = strtold("gnu", &tmp);
17766 ll = strtoll("gnu", &tmp, 10);
17767 ll = strtoull("gnu", &tmp, 10);
17768 ll = llabs(10);
17769 mydivt = lldiv(10,1);
17770 ll = mydivt.quot;
17771 ll = mydivt.rem;
17772 ll = atoll("10");
17773 _Exit(0);
17774
17775 ;
17776 return 0;
17777 }
17778 _ACEOF
17779 if ac_fn_cxx_try_link "$LINENO"; then :
17780 glibcxx_cv_c99_stdlib_cxx98=yes
17781 else
17782 glibcxx_cv_c99_stdlib_cxx98=no
17783 fi
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 fi
17787
17788 fi
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17790 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17791 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17792
17793 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17794
17795 fi
17796
17797 # Check for the existence in <wchar.h> of wcstold, etc.
17798 if test x"$ac_has_wchar_h" = xyes &&
17799 test x"$ac_has_wctype_h" = xyes; then
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17801 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17802 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17805
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test
17810 {
17811 using ::wcstold;
17812 using ::wcstoll;
17813 using ::wcstoull;
17814 }
17815
17816 int
17817 main ()
17818 {
17819
17820 ;
17821 return 0;
17822 }
17823 _ACEOF
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17825 glibcxx_cv_c99_wchar_cxx98=yes
17826 else
17827 glibcxx_cv_c99_wchar_cxx98=no
17828 fi
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830
17831 fi
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17833 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17834
17835 # Checks for wide character functions that may not be present.
17836 # Injection of these is wrapped with guard macros.
17837 # NB: only put functions here, instead of immediately above, if
17838 # absolutely necessary.
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <wchar.h>
17842 namespace test { using ::vfwscanf; }
17843 int
17844 main ()
17845 {
17846
17847 ;
17848 return 0;
17849 }
17850 _ACEOF
17851 if ac_fn_cxx_try_compile "$LINENO"; then :
17852
17853 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17854
17855 fi
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <wchar.h>
17861 namespace test { using ::vswscanf; }
17862 int
17863 main ()
17864 {
17865
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 if ac_fn_cxx_try_compile "$LINENO"; then :
17871
17872 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17873
17874 fi
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <wchar.h>
17880 namespace test { using ::vwscanf; }
17881 int
17882 main ()
17883 {
17884
17885 ;
17886 return 0;
17887 }
17888 _ACEOF
17889 if ac_fn_cxx_try_compile "$LINENO"; then :
17890
17891 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17892
17893 fi
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <wchar.h>
17899 namespace test { using ::wcstof; }
17900 int
17901 main ()
17902 {
17903
17904 ;
17905 return 0;
17906 }
17907 _ACEOF
17908 if ac_fn_cxx_try_compile "$LINENO"; then :
17909
17910 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17911
17912 fi
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <wctype.h>
17918 int
17919 main ()
17920 {
17921 wint_t t; int i = iswblank(t);
17922 ;
17923 return 0;
17924 }
17925 _ACEOF
17926 if ac_fn_cxx_try_compile "$LINENO"; then :
17927
17928 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17929
17930 fi
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932
17933 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17934
17935 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17936
17937 fi
17938 fi
17939
17940 # Option parsed, now set things appropriately.
17941 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17942 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17943 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17944 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17945 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17946 enable_c99=no;
17947 else
17948
17949 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17950
17951 fi
17952
17953 gcc_no_link="$ac_save_gcc_no_link"
17954 LIBS="$ac_save_LIBS"
17955 CXXFLAGS="$ac_save_CXXFLAGS"
17956 ac_ext=c
17957 ac_cpp='$CPP $CPPFLAGS'
17958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17961
17962
17963
17964 ac_ext=cpp
17965 ac_cpp='$CXXCPP $CPPFLAGS'
17966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17969
17970
17971 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17972 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17973 ac_save_CXXFLAGS="$CXXFLAGS"
17974 CXXFLAGS="$CXXFLAGS -std=c++11"
17975 ac_save_LIBS="$LIBS"
17976 ac_save_gcc_no_link="$gcc_no_link"
17977
17978 if test x$gcc_no_link != xyes; then
17979 # Use -fno-exceptions to that the C driver can link these tests without
17980 # hitting undefined references to personality routines.
17981 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17983 $as_echo_n "checking for sin in -lm... " >&6; }
17984 if ${ac_cv_lib_m_sin+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 ac_check_lib_save_LIBS=$LIBS
17988 LIBS="-lm $LIBS"
17989 if test x$gcc_no_link = xyes; then
17990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17991 fi
17992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17994
17995 /* Override any GCC internal prototype to avoid an error.
17996 Use char because int might match the return type of a GCC
17997 builtin and then its argument prototype would still apply. */
17998 #ifdef __cplusplus
17999 extern "C"
18000 #endif
18001 char sin ();
18002 int
18003 main ()
18004 {
18005 return sin ();
18006 ;
18007 return 0;
18008 }
18009 _ACEOF
18010 if ac_fn_cxx_try_link "$LINENO"; then :
18011 ac_cv_lib_m_sin=yes
18012 else
18013 ac_cv_lib_m_sin=no
18014 fi
18015 rm -f core conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_lib_save_LIBS
18018 fi
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
18020 $as_echo "$ac_cv_lib_m_sin" >&6; }
18021 if test "x$ac_cv_lib_m_sin" = xyes; then :
18022 LIBS="$LIBS -lm"
18023 else
18024
18025 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
18026 gcc_no_link=yes
18027
18028 fi
18029
18030 fi
18031
18032 # Check for the existence of <stdint.h> types.
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
18034 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
18035 if ${glibcxx_cv_c99_stdint+:} false; then :
18036 $as_echo_n "(cached) " >&6
18037 else
18038
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #define __STDC_LIMIT_MACROS
18042 #define __STDC_CONSTANT_MACROS
18043 #include <stdint.h>
18044 int
18045 main ()
18046 {
18047 typedef int8_t my_int8_t;
18048 my_int8_t i8 = INT8_MIN;
18049 i8 = INT8_MAX;
18050 typedef int16_t my_int16_t;
18051 my_int16_t i16 = INT16_MIN;
18052 i16 = INT16_MAX;
18053 typedef int32_t my_int32_t;
18054 my_int32_t i32 = INT32_MIN;
18055 i32 = INT32_MAX;
18056 typedef int64_t my_int64_t;
18057 my_int64_t i64 = INT64_MIN;
18058 i64 = INT64_MAX;
18059 typedef int_fast8_t my_int_fast8_t;
18060 my_int_fast8_t if8 = INT_FAST8_MIN;
18061 if8 = INT_FAST8_MAX;
18062 typedef int_fast16_t my_int_fast16_t;
18063 my_int_fast16_t if16 = INT_FAST16_MIN;
18064 if16 = INT_FAST16_MAX;
18065 typedef int_fast32_t my_int_fast32_t;
18066 my_int_fast32_t if32 = INT_FAST32_MIN;
18067 if32 = INT_FAST32_MAX;
18068 typedef int_fast64_t my_int_fast64_t;
18069 my_int_fast64_t if64 = INT_FAST64_MIN;
18070 if64 = INT_FAST64_MAX;
18071 typedef int_least8_t my_int_least8_t;
18072 my_int_least8_t il8 = INT_LEAST8_MIN;
18073 il8 = INT_LEAST8_MAX;
18074 typedef int_least16_t my_int_least16_t;
18075 my_int_least16_t il16 = INT_LEAST16_MIN;
18076 il16 = INT_LEAST16_MAX;
18077 typedef int_least32_t my_int_least32_t;
18078 my_int_least32_t il32 = INT_LEAST32_MIN;
18079 il32 = INT_LEAST32_MAX;
18080 typedef int_least64_t my_int_least64_t;
18081 my_int_least64_t il64 = INT_LEAST64_MIN;
18082 il64 = INT_LEAST64_MAX;
18083 typedef intmax_t my_intmax_t;
18084 my_intmax_t im = INTMAX_MAX;
18085 im = INTMAX_MIN;
18086 typedef intptr_t my_intptr_t;
18087 my_intptr_t ip = INTPTR_MAX;
18088 ip = INTPTR_MIN;
18089 typedef uint8_t my_uint8_t;
18090 my_uint8_t ui8 = UINT8_MAX;
18091 ui8 = UINT8_MAX;
18092 typedef uint16_t my_uint16_t;
18093 my_uint16_t ui16 = UINT16_MAX;
18094 ui16 = UINT16_MAX;
18095 typedef uint32_t my_uint32_t;
18096 my_uint32_t ui32 = UINT32_MAX;
18097 ui32 = UINT32_MAX;
18098 typedef uint64_t my_uint64_t;
18099 my_uint64_t ui64 = UINT64_MAX;
18100 ui64 = UINT64_MAX;
18101 typedef uint_fast8_t my_uint_fast8_t;
18102 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18103 uif8 = UINT_FAST8_MAX;
18104 typedef uint_fast16_t my_uint_fast16_t;
18105 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18106 uif16 = UINT_FAST16_MAX;
18107 typedef uint_fast32_t my_uint_fast32_t;
18108 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18109 uif32 = UINT_FAST32_MAX;
18110 typedef uint_fast64_t my_uint_fast64_t;
18111 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18112 uif64 = UINT_FAST64_MAX;
18113 typedef uint_least8_t my_uint_least8_t;
18114 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18115 uil8 = UINT_LEAST8_MAX;
18116 typedef uint_least16_t my_uint_least16_t;
18117 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18118 uil16 = UINT_LEAST16_MAX;
18119 typedef uint_least32_t my_uint_least32_t;
18120 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18121 uil32 = UINT_LEAST32_MAX;
18122 typedef uint_least64_t my_uint_least64_t;
18123 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18124 uil64 = UINT_LEAST64_MAX;
18125 typedef uintmax_t my_uintmax_t;
18126 my_uintmax_t uim = UINTMAX_MAX;
18127 uim = UINTMAX_MAX;
18128 typedef uintptr_t my_uintptr_t;
18129 my_uintptr_t uip = UINTPTR_MAX;
18130 uip = UINTPTR_MAX;
18131
18132 ;
18133 return 0;
18134 }
18135 _ACEOF
18136 if ac_fn_cxx_try_compile "$LINENO"; then :
18137 glibcxx_cv_c99_stdint=yes
18138 else
18139 glibcxx_cv_c99_stdint=no
18140 fi
18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142
18143 fi
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18145 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18146 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18147
18148 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18149
18150 fi
18151
18152 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18153 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18154 ac_c99_inttypes=no;
18155 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18157 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18160 #include <inttypes.h>
18161 int
18162 main ()
18163 {
18164 intmax_t i, numer, denom, base;
18165 const char* s;
18166 char** endptr;
18167 intmax_t ret = imaxabs(i);
18168 imaxdiv_t dret = imaxdiv(numer, denom);
18169 ret = strtoimax(s, endptr, base);
18170 uintmax_t uret = strtoumax(s, endptr, base);
18171
18172 ;
18173 return 0;
18174 }
18175 _ACEOF
18176 if ac_fn_cxx_try_compile "$LINENO"; then :
18177 ac_c99_inttypes=yes
18178 else
18179 ac_c99_inttypes=no
18180 fi
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18183 $as_echo "$ac_c99_inttypes" >&6; }
18184 fi
18185 if test x"$ac_c99_inttypes" = x"yes"; then
18186
18187 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18188
18189 fi
18190
18191 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18192 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18193 ac_c99_inttypes_wchar_t=no;
18194 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18196 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 /* end confdefs.h. */
18199 #include <inttypes.h>
18200 int
18201 main ()
18202 {
18203 intmax_t base;
18204 const wchar_t* s;
18205 wchar_t** endptr;
18206 intmax_t ret = wcstoimax(s, endptr, base);
18207 uintmax_t uret = wcstoumax(s, endptr, base);
18208
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 if ac_fn_cxx_try_compile "$LINENO"; then :
18214 ac_c99_inttypes_wchar_t=yes
18215 else
18216 ac_c99_inttypes_wchar_t=no
18217 fi
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18220 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18221 fi
18222 if test x"$ac_c99_inttypes_wchar_t" = x"yes"; then
18223
18224 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18225
18226 fi
18227
18228 # Check for the existence of <math.h> generic macros used if C99 is enabled.
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 generic macro support in <math.h> for C++11" >&5
18230 $as_echo_n "checking for ISO C99 generic macro support in <math.h> for C++11... " >&6; }
18231 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18232 $as_echo_n "(cached) " >&6
18233 else
18234
18235 if test x$gcc_no_link = xyes; then
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18238 #include <math.h>
18239 volatile double d1, d2;
18240 volatile int i;
18241 int
18242 main ()
18243 {
18244 i = fpclassify(d1);
18245 i = isfinite(d1);
18246 i = isinf(d1);
18247 i = isnan(d1);
18248 i = isnormal(d1);
18249 i = signbit(d1);
18250 i = isgreater(d1, d2);
18251 i = isgreaterequal(d1, d2);
18252 i = isless(d1, d2);
18253 i = islessequal(d1, d2);
18254 i = islessgreater(d1, d2);
18255 i = islessgreater(d1, d2);
18256 i = isunordered(d1, d2);
18257
18258 ;
18259 return 0;
18260 }
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_c99_math_cxx11=yes
18264 else
18265 glibcxx_cv_c99_math_cxx11=no
18266 fi
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 else
18269 if test x$gcc_no_link = xyes; then
18270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18271 fi
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #include <math.h>
18275 volatile double d1, d2;
18276 volatile int i;
18277 int
18278 main ()
18279 {
18280 i = fpclassify(d1);
18281 i = isfinite(d1);
18282 i = isinf(d1);
18283 i = isnan(d1);
18284 i = isnormal(d1);
18285 i = signbit(d1);
18286 i = isgreater(d1, d2);
18287 i = isgreaterequal(d1, d2);
18288 i = isless(d1, d2);
18289 i = islessequal(d1, d2);
18290 i = islessgreater(d1, d2);
18291 i = islessgreater(d1, d2);
18292 i = isunordered(d1, d2);
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 if ac_fn_cxx_try_link "$LINENO"; then :
18299 glibcxx_cv_c99_math_cxx11=yes
18300 else
18301 glibcxx_cv_c99_math_cxx11=no
18302 fi
18303 rm -f core conftest.err conftest.$ac_objext \
18304 conftest$ac_exeext conftest.$ac_ext
18305 fi
18306
18307 fi
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18309 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18310 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18311
18312 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18313
18314 fi
18315
18316 # Check for the existence of <math.h> typedefs.
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 float types for C++11 in <math.h>" >&5
18318 $as_echo_n "checking for ISO C99 float types for C++11 in <math.h>... " >&6; }
18319 if ${glibcxx_cv_c99_flt_eval_types+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18325 #include <math.h>
18326 int
18327 main ()
18328 {
18329 // Types
18330 typedef double_t my_double_t;
18331 typedef float_t my_float_t;
18332
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_c99_flt_eval_types=yes
18339 else
18340 glibcxx_cv_c99_flt_eval_types=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343
18344 fi
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_flt_eval_types" >&5
18346 $as_echo "$glibcxx_cv_c99_flt_eval_types" >&6; }
18347 if test x"$glibcxx_cv_c99_flt_eval_types" = x"yes"; then
18348
18349 $as_echo "#define HAVE_C99_FLT_EVAL_TYPES 1" >>confdefs.h
18350
18351 fi
18352
18353 # Check for the existence of <math.h> functions.
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 function support for C++11 in <math.h>" >&5
18355 $as_echo_n "checking for ISO C99 function support for C++11 in <math.h>... " >&6; }
18356 if ${glibcxx_cv_c99_math_funcs+:} false; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18359
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #include <math.h>
18363 int
18364 main ()
18365 {
18366
18367 // Hyperbolic
18368 acosh(0.0);
18369 acoshf(0.0f);
18370 acoshl(0.0l);
18371 asinh(0.0);
18372 asinhf(0.0f);
18373 asinhl(0.0l);
18374 atanh(0.0);
18375 atanhf(0.0f);
18376 atanhl(0.0l);
18377 // Exponential and logarithmic
18378 exp2(0.0);
18379 exp2f(0.0f);
18380 exp2l(0.0l);
18381 expm1(0.0);
18382 expm1f(0.0f);
18383 expm1l(0.0l);
18384 ilogb(0.0);
18385 ilogbf(0.0f);
18386 ilogbl(0.0l);
18387 log1p(0.0);
18388 log1pf(0.0f);
18389 log1pl(0.0l);
18390 log2(0.0);
18391 log2f(0.0f);
18392 log2l(0.0l);
18393 logb(0.0);
18394 logbf(0.0f);
18395 logbl(0.0l);
18396 scalbln(0.0, 0l);
18397 scalblnf(0.0f, 0l);
18398 scalblnl(0.0l, 0l);
18399 scalbn(0.0, 0);
18400 scalbnf(0.0f, 0);
18401 scalbnl(0.0l, 0);
18402 // Power and absolute-value
18403 cbrt(0.0);
18404 cbrtf(0.0f);
18405 cbrtl(0.0l);
18406 hypot(0.0, 0.0);
18407 hypotf(0.0f, 0.0f);
18408 hypotl(0.0l, 0.0l);
18409 // Error and gamma
18410 erf(0.0);
18411 erff(0.0f);
18412 erfl(0.0l);
18413 erfc(0.0);
18414 erfcf(0.0f);
18415 erfcl(0.0l);
18416 lgamma(0.0);
18417 lgammaf(0.0f);
18418 lgammal(0.0l);
18419 tgamma(0.0);
18420 tgammaf(0.0f);
18421 tgammal(0.0l);
18422 // Nearest integer
18423 nearbyint(0.0);
18424 nearbyintf(0.0f);
18425 nearbyintl(0.0l);
18426 rint(0.0);
18427 rintf(0.0f);
18428 rintl(0.0l);
18429 round(0.0);
18430 roundf(0.0f);
18431 roundl(0.0l);
18432 lrint(0.0);
18433 lrintf(0.0f);
18434 lrintl(0.0l);
18435 lround(0.0);
18436 lroundf(0.0f);
18437 lroundl(0.0l);
18438 #ifndef __APPLE__ /* see below */
18439 llrint(0.0);
18440 llrintf(0.0f);
18441 llrintl(0.0l);
18442 llround(0.0);
18443 llroundf(0.0f);
18444 llroundl(0.0l);
18445 #endif
18446 trunc(0.0);
18447 truncf(0.0f);
18448 truncl(0.0l);
18449 // Remainder
18450 remainder(0.0, 0.0);
18451 remainderf(0.0f, 0.0f);
18452 remainderl(0.0l, 0.0l);
18453 remquo(0.0, 0.0, 0);
18454 remquof(0.0f, 0.0f, 0);
18455 remquol(0.0l, 0.0l, 0);
18456 // Manipulation
18457 copysign(0.0, 0.0);
18458 copysignf(0.0f, 0.0f);
18459 copysignl(0.0l, 0.0l);
18460 nan("");
18461 nanf("");
18462 nanl("");
18463 nextafter(0.0, 0.0);
18464 nextafterf(0.0f, 0.0f);
18465 nextafterl(0.0l, 0.0l);
18466 nexttoward(0.0, 0.0);
18467 nexttowardf(0.0f, 0.0f);
18468 nexttowardl(0.0l, 0.0l);
18469 // Max, min, positive difference
18470 fdim(0.0, 0.0);
18471 fdimf(0.0f, 0.0f);
18472 fdiml(0.0l, 0.0l);
18473 fmax(0.0, 0.0);
18474 fmaxf(0.0f, 0.0f);
18475 fmaxl(0.0l, 0.0l);
18476 fmin(0.0, 0.0);
18477 fminf(0.0f, 0.0f);
18478 fminl(0.0l, 0.0l);
18479 // FP Multiply-add
18480 fma(0.0, 0.0, 0.0);
18481 fmaf(0.0f, 0.0f, 0.0f);
18482 fmal(0.0l, 0.0l, 0.0l);
18483
18484 ;
18485 return 0;
18486 }
18487 _ACEOF
18488 if ac_fn_cxx_try_compile "$LINENO"; then :
18489 glibcxx_cv_c99_math_funcs=yes
18490 else
18491 glibcxx_cv_c99_math_funcs=no
18492 fi
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494
18495 fi
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_funcs" >&5
18497 $as_echo "$glibcxx_cv_c99_math_funcs" >&6; }
18498 if test x"$glibcxx_cv_c99_math_funcs" = x"yes"; then
18499
18500 $as_echo "#define _GLIBCXX_USE_C99_MATH_FUNCS 1" >>confdefs.h
18501
18502
18503 case "${target_os}" in
18504 darwin*)
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
18506 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
18507 if ${glibcxx_cv_c99_math_llround+:} false; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18510
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <math.h>
18514 int
18515 main ()
18516 {
18517 llrint(0.0);
18518 llrintf(0.0f);
18519 llrintl(0.0l);
18520 llround(0.0);
18521 llroundf(0.0f);
18522 llroundl(0.0l);
18523
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 glibcxx_cv_c99_math_llround=yes
18530 else
18531 glibcxx_cv_c99_math_llround=no
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534
18535 fi
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
18537 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
18538 ;;
18539 esac
18540 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
18541
18542 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
18543
18544 fi
18545 fi
18546
18547 # Check for the existence of <complex.h> complex math functions.
18548 # This is necessary even though libstdc++ uses the builtin versions
18549 # of these functions, because if the builtin cannot be used, a reference
18550 # to the library function is emitted.
18551 for ac_header in tgmath.h
18552 do :
18553 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18554 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18555 cat >>confdefs.h <<_ACEOF
18556 #define HAVE_TGMATH_H 1
18557 _ACEOF
18558 ac_has_tgmath_h=yes
18559 else
18560 ac_has_tgmath_h=no
18561 fi
18562
18563 done
18564
18565 for ac_header in complex.h
18566 do :
18567 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18568 if test "x$ac_cv_header_complex_h" = xyes; then :
18569 cat >>confdefs.h <<_ACEOF
18570 #define HAVE_COMPLEX_H 1
18571 _ACEOF
18572 ac_has_complex_h=yes
18573 else
18574 ac_has_complex_h=no
18575 fi
18576
18577 done
18578
18579 if test x"$ac_has_complex_h" = x"yes"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18581 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18582 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18583 $as_echo_n "(cached) " >&6
18584 else
18585
18586 if test x$gcc_no_link = xyes; then
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18589 #include <complex.h>
18590 typedef __complex__ float float_type;
18591 typedef __complex__ double double_type;
18592 typedef __complex__ long double ld_type;
18593 volatile float_type tmpf;
18594 volatile double_type tmpd;
18595 volatile ld_type tmpld;
18596 volatile float f;
18597 volatile double d;
18598 volatile long double ld;
18599 int
18600 main ()
18601 {
18602 f = cabsf(tmpf);
18603 f = cargf(tmpf);
18604 tmpf = ccosf(tmpf);
18605 tmpf = ccoshf(tmpf);
18606 tmpf = cexpf(tmpf);
18607 tmpf = clogf(tmpf);
18608 tmpf = csinf(tmpf);
18609 tmpf = csinhf(tmpf);
18610 tmpf = csqrtf(tmpf);
18611 tmpf = ctanf(tmpf);
18612 tmpf = ctanhf(tmpf);
18613 tmpf = cpowf(tmpf, tmpf);
18614 tmpf = cprojf(tmpf);
18615 d = cabs(tmpd);
18616 d = carg(tmpd);
18617 tmpd = ccos(tmpd);
18618 tmpd = ccosh(tmpd);
18619 tmpd = cexp(tmpd);
18620 tmpd = clog(tmpd);
18621 tmpd = csin(tmpd);
18622 tmpd = csinh(tmpd);
18623 tmpd = csqrt(tmpd);
18624 tmpd = ctan(tmpd);
18625 tmpd = ctanh(tmpd);
18626 tmpd = cpow(tmpd, tmpd);
18627 tmpd = cproj(tmpd);
18628 ld = cabsl(tmpld);
18629 ld = cargl(tmpld);
18630 tmpld = ccosl(tmpld);
18631 tmpld = ccoshl(tmpld);
18632 tmpld = cexpl(tmpld);
18633 tmpld = clogl(tmpld);
18634 tmpld = csinl(tmpld);
18635 tmpld = csinhl(tmpld);
18636 tmpld = csqrtl(tmpld);
18637 tmpld = ctanl(tmpld);
18638 tmpld = ctanhl(tmpld);
18639 tmpld = cpowl(tmpld, tmpld);
18640 tmpld = cprojl(tmpld);
18641
18642 ;
18643 return 0;
18644 }
18645 _ACEOF
18646 if ac_fn_cxx_try_compile "$LINENO"; then :
18647 glibcxx_cv_c99_complex_cxx11=yes
18648 else
18649 glibcxx_cv_c99_complex_cxx11=no
18650 fi
18651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18652 else
18653 if test x$gcc_no_link = xyes; then
18654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18655 fi
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18658 #include <complex.h>
18659 typedef __complex__ float float_type;
18660 typedef __complex__ double double_type;
18661 typedef __complex__ long double ld_type;
18662 volatile float_type tmpf;
18663 volatile double_type tmpd;
18664 volatile ld_type tmpld;
18665 volatile float f;
18666 volatile double d;
18667 volatile long double ld;
18668 int
18669 main ()
18670 {
18671 f = cabsf(tmpf);
18672 f = cargf(tmpf);
18673 tmpf = ccosf(tmpf);
18674 tmpf = ccoshf(tmpf);
18675 tmpf = cexpf(tmpf);
18676 tmpf = clogf(tmpf);
18677 tmpf = csinf(tmpf);
18678 tmpf = csinhf(tmpf);
18679 tmpf = csqrtf(tmpf);
18680 tmpf = ctanf(tmpf);
18681 tmpf = ctanhf(tmpf);
18682 tmpf = cpowf(tmpf, tmpf);
18683 tmpf = cprojf(tmpf);
18684 d = cabs(tmpd);
18685 d = carg(tmpd);
18686 tmpd = ccos(tmpd);
18687 tmpd = ccosh(tmpd);
18688 tmpd = cexp(tmpd);
18689 tmpd = clog(tmpd);
18690 tmpd = csin(tmpd);
18691 tmpd = csinh(tmpd);
18692 tmpd = csqrt(tmpd);
18693 tmpd = ctan(tmpd);
18694 tmpd = ctanh(tmpd);
18695 tmpd = cpow(tmpd, tmpd);
18696 tmpd = cproj(tmpd);
18697 ld = cabsl(tmpld);
18698 ld = cargl(tmpld);
18699 tmpld = ccosl(tmpld);
18700 tmpld = ccoshl(tmpld);
18701 tmpld = cexpl(tmpld);
18702 tmpld = clogl(tmpld);
18703 tmpld = csinl(tmpld);
18704 tmpld = csinhl(tmpld);
18705 tmpld = csqrtl(tmpld);
18706 tmpld = ctanl(tmpld);
18707 tmpld = ctanhl(tmpld);
18708 tmpld = cpowl(tmpld, tmpld);
18709 tmpld = cprojl(tmpld);
18710
18711 ;
18712 return 0;
18713 }
18714 _ACEOF
18715 if ac_fn_cxx_try_link "$LINENO"; then :
18716 glibcxx_cv_c99_complex_cxx11=yes
18717 else
18718 glibcxx_cv_c99_complex_cxx11=no
18719 fi
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18722 fi
18723
18724 fi
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18726 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18727 fi
18728 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18729
18730 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18731
18732 fi
18733
18734 # Check for the existence of <complex.h> complex inverse trigonometric
18735 # math functions used by <complex> for C++11 and later.
18736 ac_c99_complex_arc=no;
18737 if test x"$ac_has_complex_h" = x"yes"; then
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18739 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18742 #include <complex.h>
18743 int
18744 main ()
18745 {
18746 typedef __complex__ float float_type; float_type tmpf;
18747 cacosf(tmpf);
18748 casinf(tmpf);
18749 catanf(tmpf);
18750 cacoshf(tmpf);
18751 casinhf(tmpf);
18752 catanhf(tmpf);
18753 typedef __complex__ double double_type; double_type tmpd;
18754 cacos(tmpd);
18755 casin(tmpd);
18756 catan(tmpd);
18757 cacosh(tmpd);
18758 casinh(tmpd);
18759 catanh(tmpd);
18760 typedef __complex__ long double ld_type; ld_type tmpld;
18761 cacosl(tmpld);
18762 casinl(tmpld);
18763 catanl(tmpld);
18764 cacoshl(tmpld);
18765 casinhl(tmpld);
18766 catanhl(tmpld);
18767
18768 ;
18769 return 0;
18770 }
18771 _ACEOF
18772 if ac_fn_cxx_try_compile "$LINENO"; then :
18773 ac_c99_complex_arc=yes
18774 else
18775 ac_c99_complex_arc=no
18776 fi
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 fi
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18780 $as_echo "$ac_c99_complex_arc" >&6; }
18781 if test x"$ac_c99_complex_arc" = x"yes"; then
18782
18783 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18784
18785 fi
18786
18787 # Check for the existence in <stdio.h> of vscanf, et. al.
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18789 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18790 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793
18794 if test x$gcc_no_link = xyes; then
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 #include <stdio.h>
18798 #include <stdarg.h>
18799 void foo(char* fmt, ...)
18800 {
18801 va_list args; va_start(args, fmt);
18802 vfscanf(stderr, "%i", args);
18803 vscanf("%i", args);
18804 vsnprintf(fmt, 0, "%i", args);
18805 vsscanf(fmt, "%i", args);
18806 snprintf(fmt, 0, "%i");
18807 }
18808 int
18809 main ()
18810 {
18811
18812 ;
18813 return 0;
18814 }
18815 _ACEOF
18816 if ac_fn_cxx_try_compile "$LINENO"; then :
18817 glibcxx_cv_c99_stdio_cxx11=yes
18818 else
18819 glibcxx_cv_c99_stdio_cxx11=no
18820 fi
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 else
18823 if test x$gcc_no_link = xyes; then
18824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18825 fi
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 #include <stdio.h>
18829 #include <stdarg.h>
18830 void foo(char* fmt, ...)
18831 {
18832 va_list args; va_start(args, fmt);
18833 vfscanf(stderr, "%i", args);
18834 vscanf("%i", args);
18835 vsnprintf(fmt, 0, "%i", args);
18836 vsscanf(fmt, "%i", args);
18837 snprintf(fmt, 0, "%i");
18838 }
18839 int
18840 main ()
18841 {
18842
18843 ;
18844 return 0;
18845 }
18846 _ACEOF
18847 if ac_fn_cxx_try_link "$LINENO"; then :
18848 glibcxx_cv_c99_stdio_cxx11=yes
18849 else
18850 glibcxx_cv_c99_stdio_cxx11=no
18851 fi
18852 rm -f core conftest.err conftest.$ac_objext \
18853 conftest$ac_exeext conftest.$ac_ext
18854 fi
18855
18856 fi
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18858 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18859 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18860
18861 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18862
18863 fi
18864
18865 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18867 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18868 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18869 $as_echo_n "(cached) " >&6
18870 else
18871
18872 if test x$gcc_no_link = xyes; then
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 #include <stdlib.h>
18876 volatile float f;
18877 volatile long double ld;
18878 volatile unsigned long long ll;
18879 lldiv_t mydivt;
18880 int
18881 main ()
18882 {
18883 char* tmp;
18884 f = strtof("gnu", &tmp);
18885 ld = strtold("gnu", &tmp);
18886 ll = strtoll("gnu", &tmp, 10);
18887 ll = strtoull("gnu", &tmp, 10);
18888 ll = llabs(10);
18889 mydivt = lldiv(10,1);
18890 ll = mydivt.quot;
18891 ll = mydivt.rem;
18892 ll = atoll("10");
18893 _Exit(0);
18894
18895 ;
18896 return 0;
18897 }
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 glibcxx_cv_c99_stdlib_cxx11=yes
18901 else
18902 glibcxx_cv_c99_stdlib_cxx11=no
18903 fi
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18905 else
18906 if test x$gcc_no_link = xyes; then
18907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18908 fi
18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911 #include <stdlib.h>
18912 volatile float f;
18913 volatile long double ld;
18914 volatile unsigned long long ll;
18915 lldiv_t mydivt;
18916 int
18917 main ()
18918 {
18919 char* tmp;
18920 f = strtof("gnu", &tmp);
18921 ld = strtold("gnu", &tmp);
18922 ll = strtoll("gnu", &tmp, 10);
18923 ll = strtoull("gnu", &tmp, 10);
18924 ll = llabs(10);
18925 mydivt = lldiv(10,1);
18926 ll = mydivt.quot;
18927 ll = mydivt.rem;
18928 ll = atoll("10");
18929 _Exit(0);
18930
18931 ;
18932 return 0;
18933 }
18934 _ACEOF
18935 if ac_fn_cxx_try_link "$LINENO"; then :
18936 glibcxx_cv_c99_stdlib_cxx11=yes
18937 else
18938 glibcxx_cv_c99_stdlib_cxx11=no
18939 fi
18940 rm -f core conftest.err conftest.$ac_objext \
18941 conftest$ac_exeext conftest.$ac_ext
18942 fi
18943
18944 fi
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18946 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18947 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18948
18949 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18950
18951 fi
18952
18953 # Check for the existence in <wchar.h> of wcstold, etc.
18954 if test x"$ac_has_wchar_h" = xyes &&
18955 test x"$ac_has_wctype_h" = xyes; then
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18957 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18958 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18959 $as_echo_n "(cached) " >&6
18960 else
18961
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18964 #include <wchar.h>
18965 namespace test
18966 {
18967 using ::wcstold;
18968 using ::wcstoll;
18969 using ::wcstoull;
18970 }
18971
18972 int
18973 main ()
18974 {
18975
18976 ;
18977 return 0;
18978 }
18979 _ACEOF
18980 if ac_fn_cxx_try_compile "$LINENO"; then :
18981 glibcxx_cv_c99_wchar_cxx11=yes
18982 else
18983 glibcxx_cv_c99_wchar_cxx11=no
18984 fi
18985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18986
18987 fi
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18989 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18990
18991 # Checks for wide character functions that may not be present.
18992 # Injection of these is wrapped with guard macros.
18993 # NB: only put functions here, instead of immediately above, if
18994 # absolutely necessary.
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 #include <wchar.h>
18998 namespace test { using ::vfwscanf; }
18999 int
19000 main ()
19001 {
19002
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 if ac_fn_cxx_try_compile "$LINENO"; then :
19008
19009 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
19010
19011 fi
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19013
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 #include <wchar.h>
19017 namespace test { using ::vswscanf; }
19018 int
19019 main ()
19020 {
19021
19022 ;
19023 return 0;
19024 }
19025 _ACEOF
19026 if ac_fn_cxx_try_compile "$LINENO"; then :
19027
19028 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
19029
19030 fi
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <wchar.h>
19036 namespace test { using ::vwscanf; }
19037 int
19038 main ()
19039 {
19040
19041 ;
19042 return 0;
19043 }
19044 _ACEOF
19045 if ac_fn_cxx_try_compile "$LINENO"; then :
19046
19047 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
19048
19049 fi
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051
19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19053 /* end confdefs.h. */
19054 #include <wchar.h>
19055 namespace test { using ::wcstof; }
19056 int
19057 main ()
19058 {
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 if ac_fn_cxx_try_compile "$LINENO"; then :
19065
19066 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
19067
19068 fi
19069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19070
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 #include <wctype.h>
19074 int
19075 main ()
19076 {
19077 wint_t t; int i = iswblank(t);
19078 ;
19079 return 0;
19080 }
19081 _ACEOF
19082 if ac_fn_cxx_try_compile "$LINENO"; then :
19083
19084 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
19085
19086 fi
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19088
19089 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
19090
19091 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
19092
19093 fi
19094 fi
19095
19096 # Check for the existence of <ctype.h> functions.
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
19098 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
19099 if ${glibcxx_cv_c99_ctype+:} false; then :
19100 $as_echo_n "(cached) " >&6
19101 else
19102
19103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h. */
19105 #include <ctype.h>
19106 int
19107 main ()
19108 {
19109 int ch;
19110 int ret;
19111 ret = isblank(ch);
19112
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 if ac_fn_cxx_try_compile "$LINENO"; then :
19118 glibcxx_cv_c99_ctype=yes
19119 else
19120 glibcxx_cv_c99_ctype=no
19121 fi
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123
19124 fi
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
19126 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
19127 if test x"$glibcxx_cv_c99_ctype" = x"yes"; then
19128
19129 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
19130
19131 fi
19132
19133 # Check for the existence of <fenv.h> functions.
19134 for ac_header in fenv.h
19135 do :
19136 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19137 if test "x$ac_cv_header_fenv_h" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_FENV_H 1
19140 _ACEOF
19141 ac_has_fenv_h=yes
19142 else
19143 ac_has_fenv_h=no
19144 fi
19145
19146 done
19147
19148 ac_c99_fenv=no;
19149 if test x"$ac_has_fenv_h" = x"yes"; then
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
19151 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 #include <fenv.h>
19155 int
19156 main ()
19157 {
19158 int except, mode;
19159 fexcept_t* pflag;
19160 fenv_t* penv;
19161 int ret;
19162 ret = feclearexcept(except);
19163 ret = fegetexceptflag(pflag, except);
19164 ret = feraiseexcept(except);
19165 ret = fesetexceptflag(pflag, except);
19166 ret = fetestexcept(except);
19167 ret = fegetround();
19168 ret = fesetround(mode);
19169 ret = fegetenv(penv);
19170 ret = feholdexcept(penv);
19171 ret = fesetenv(penv);
19172 ret = feupdateenv(penv);
19173
19174 ;
19175 return 0;
19176 }
19177 _ACEOF
19178 if ac_fn_cxx_try_compile "$LINENO"; then :
19179 ac_c99_fenv=yes
19180 else
19181 ac_c99_fenv=no
19182 fi
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
19185 $as_echo "$ac_c99_fenv" >&6; }
19186 fi
19187 if test x"$ac_c99_fenv" = x"yes"; then
19188
19189 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
19190
19191 fi
19192
19193 gcc_no_link="$ac_save_gcc_no_link"
19194 LIBS="$ac_save_LIBS"
19195 CXXFLAGS="$ac_save_CXXFLAGS"
19196 ac_ext=c
19197 ac_cpp='$CPP $CPPFLAGS'
19198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19201
19202 fi
19203
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
19205 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
19207 $as_echo "$enable_c99" >&6; }
19208
19209
19210 # Check whether --enable-concept-checks was given.
19211 if test "${enable_concept_checks+set}" = set; then :
19212 enableval=$enable_concept_checks;
19213 case "$enableval" in
19214 yes|no) ;;
19215 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
19216 esac
19217
19218 else
19219 enable_concept_checks=no
19220 fi
19221
19222
19223 if test $enable_concept_checks = yes; then
19224
19225 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
19226
19227 fi
19228
19229
19230 # Check whether --enable-libstdcxx-debug-flags was given.
19231 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
19232 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
19233 xno | x) enable_libstdcxx_debug_flags= ;;
19234 x-*) ;;
19235 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19236 esac
19237 else
19238 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
19239 fi
19240
19241
19242
19243 # Option parsed, now set things appropriately
19244 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
19245
19246
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
19248 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
19249
19250
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
19252 $as_echo_n "checking for additional debug build... " >&6; }
19253 skip_debug_build=
19254 # Check whether --enable-libstdcxx-debug was given.
19255 if test "${enable_libstdcxx_debug+set}" = set; then :
19256 enableval=$enable_libstdcxx_debug;
19257 case "$enableval" in
19258 yes|no) ;;
19259 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
19260 esac
19261
19262 else
19263 enable_libstdcxx_debug=no
19264 fi
19265
19266
19267 if test x$enable_libstdcxx_debug = xyes; then
19268 if test -f $toplevel_builddir/../stage_final \
19269 && test -f $toplevel_builddir/../stage_current; then
19270 stage_final=`cat $toplevel_builddir/../stage_final`
19271 stage_current=`cat $toplevel_builddir/../stage_current`
19272 if test x$stage_current != x$stage_final ; then
19273 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
19274 enable_libstdcxx_debug=no
19275 fi
19276 fi
19277 fi
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19279 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19280
19281
19282
19283
19284 enable_parallel=no;
19285
19286 # See if configured libgomp/omp.h exists. (libgomp may be in
19287 # noconfigdirs but not explicitly disabled.)
19288 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
19289 enable_parallel=yes;
19290 else
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19292 $as_echo "$as_me: target-libgomp not built" >&6;}
19293 fi
19294
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19296 $as_echo_n "checking for parallel mode support... " >&6; }
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19298 $as_echo "$enable_parallel" >&6; }
19299
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19301 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19302 # Check whether --enable-cxx-flags was given.
19303 if test "${enable_cxx_flags+set}" = set; then :
19304 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
19305 xno | x) enable_cxx_flags= ;;
19306 x-*) ;;
19307 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19308 esac
19309 else
19310 enable_cxx_flags=
19311 fi
19312
19313
19314
19315 # Run through flags (either default or command-line) and set anything
19316 # extra (e.g., #defines) that must accompany particular g++ options.
19317 if test -n "$enable_cxx_flags"; then
19318 for f in $enable_cxx_flags; do
19319 case "$f" in
19320 -fhonor-std) ;;
19321 -*) ;;
19322 *) # and we're trying to pass /what/ exactly?
19323 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
19324 esac
19325 done
19326 fi
19327
19328 EXTRA_CXX_FLAGS="$enable_cxx_flags"
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19330 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19331
19332
19333
19334 # Check whether --enable-fully-dynamic-string was given.
19335 if test "${enable_fully_dynamic_string+set}" = set; then :
19336 enableval=$enable_fully_dynamic_string;
19337 case "$enableval" in
19338 yes|no) ;;
19339 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19340 esac
19341
19342 else
19343 enable_fully_dynamic_string=no
19344 fi
19345
19346
19347 if test $enable_fully_dynamic_string = yes; then
19348 enable_fully_dynamic_string_def=1
19349 else
19350 enable_fully_dynamic_string_def=0
19351 fi
19352
19353 cat >>confdefs.h <<_ACEOF
19354 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19355 _ACEOF
19356
19357
19358
19359
19360 # Check whether --enable-extern-template was given.
19361 if test "${enable_extern_template+set}" = set; then :
19362 enableval=$enable_extern_template;
19363 case "$enableval" in
19364 yes|no) ;;
19365 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19366 esac
19367
19368 else
19369 enable_extern_template=yes
19370 fi
19371
19372
19373
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19375 $as_echo_n "checking for extern template support... " >&6; }
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19377 $as_echo "$enable_extern_template" >&6; }
19378
19379
19380
19381
19382
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19384 $as_echo_n "checking for custom python install directory... " >&6; }
19385
19386 # Check whether --with-python-dir was given.
19387 if test "${with_python_dir+set}" = set; then :
19388 withval=$with_python_dir; with_python_dir=$withval
19389 else
19390 with_python_dir="no"
19391 fi
19392
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19394 $as_echo "${with_python_dir}" >&6; }
19395
19396 # Needed for installing Python modules during make install.
19397 python_mod_dir="${with_python_dir}"
19398
19399
19400
19401
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19403 $as_echo_n "checking for -Werror... " >&6; }
19404 # Check whether --enable-werror was given.
19405 if test "${enable_werror+set}" = set; then :
19406 enableval=$enable_werror;
19407 case "$enableval" in
19408 yes|no) ;;
19409 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19410 esac
19411
19412 else
19413 enable_werror=no
19414 fi
19415
19416
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19418 $as_echo "$enable_werror" >&6; }
19419
19420
19421
19422
19423 # Check whether --enable-vtable-verify was given.
19424 if test "${enable_vtable_verify+set}" = set; then :
19425 enableval=$enable_vtable_verify;
19426 case "$enableval" in
19427 yes|no) ;;
19428 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19429 esac
19430
19431 else
19432 enable_vtable_verify=no
19433 fi
19434
19435
19436
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19438 $as_echo_n "checking for vtable verify support... " >&6; }
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19440 $as_echo "$enable_vtable_verify" >&6; }
19441
19442 vtv_cygmin=no
19443 if test $enable_vtable_verify = yes; then
19444 case ${target_os} in
19445 cygwin*|mingw32*)
19446 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19447 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19448 vtv_cygmin=yes
19449 ;;
19450 darwin*)
19451 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19452 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19453 ;;
19454 solaris2*)
19455 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19456 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19457 ;;
19458 *)
19459 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19460 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19461 ;;
19462 esac
19463 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
19464 else
19465 VTV_CXXFLAGS=
19466 VTV_PCH_CXXFLAGS=
19467 VTV_CXXLINKFLAGS=
19468 fi
19469
19470
19471
19472
19473 if test x$vtv_cygmin = xyes; then
19474 VTV_CYGMIN_TRUE=
19475 VTV_CYGMIN_FALSE='#'
19476 else
19477 VTV_CYGMIN_TRUE='#'
19478 VTV_CYGMIN_FALSE=
19479 fi
19480
19481
19482
19483
19484 # Checks for operating systems support that doesn't require linking.
19485
19486
19487
19488 ac_ext=cpp
19489 ac_cpp='$CXXCPP $CPPFLAGS'
19490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19493
19494 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19495 # and we don't need a declaration for C++14 anyway.
19496 ac_save_CXXFLAGS="$CXXFLAGS"
19497 CXXFLAGS="$CXXFLAGS -std=gnu++11"
19498
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19500 $as_echo_n "checking for gets declaration... " >&6; }
19501 if ${glibcxx_cv_gets+:} false; then :
19502 $as_echo_n "(cached) " >&6
19503 else
19504
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <stdio.h>
19508 namespace test
19509 {
19510 using ::gets;
19511 }
19512
19513 _ACEOF
19514 if ac_fn_cxx_try_compile "$LINENO"; then :
19515 glibcxx_cv_gets=yes
19516 else
19517 glibcxx_cv_gets=no
19518
19519 fi
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 fi
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19523 $as_echo "$glibcxx_cv_gets" >&6; }
19524
19525 if test $glibcxx_cv_gets = yes; then
19526
19527 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19528
19529 fi
19530
19531 CXXFLAGS="$ac_save_CXXFLAGS"
19532 ac_ext=c
19533 ac_cpp='$CPP $CPPFLAGS'
19534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19537
19538
19539
19540
19541
19542 ac_ext=cpp
19543 ac_cpp='$CXXCPP $CPPFLAGS'
19544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19547
19548 ac_save_CXXFLAGS="$CXXFLAGS"
19549 CXXFLAGS="$CXXFLAGS -std=c++11"
19550
19551 case "$host" in
19552 *-*-solaris2.*)
19553 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19554 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19556 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19557 if ${glibcxx_cv_math11_fp_overload+:} false; then :
19558 $as_echo_n "(cached) " >&6
19559 else
19560
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563 #include <math.h>
19564 #undef isfinite
19565 namespace std {
19566 inline bool isfinite(float __x)
19567 { return __builtin_isfinite(__x); }
19568 }
19569
19570 _ACEOF
19571 if ac_fn_cxx_try_compile "$LINENO"; then :
19572 glibcxx_cv_math11_fp_overload=no
19573 else
19574 glibcxx_cv_math11_fp_overload=yes
19575
19576 fi
19577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19578 fi
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19580 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19581
19582 # autoheader cannot handle indented templates.
19583
19584
19585 if test $glibcxx_cv_math11_fp_overload = yes; then
19586 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19587
19588 fi
19589
19590 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19591 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19593 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19594 if ${glibcxx_cv_math11_int_overload+:} false; then :
19595 $as_echo_n "(cached) " >&6
19596 else
19597
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #include <math.h>
19601 namespace std {
19602 template<typename _Tp>
19603 struct __is_integer;
19604 template<>
19605 struct __is_integer<int>
19606 {
19607 enum { __value = 1 };
19608 };
19609 }
19610 namespace __gnu_cxx {
19611 template<bool, typename>
19612 struct __enable_if;
19613 template<typename _Tp>
19614 struct __enable_if<true, _Tp>
19615 { typedef _Tp __type; };
19616 }
19617 namespace std {
19618 template<typename _Tp>
19619 constexpr typename __gnu_cxx::__enable_if
19620 <__is_integer<_Tp>::__value, double>::__type
19621 log2(_Tp __x)
19622 { return __builtin_log2(__x); }
19623 }
19624 int
19625 main (void)
19626 {
19627 int i = 1000;
19628 return std::log2(i);
19629 }
19630
19631 _ACEOF
19632 if ac_fn_cxx_try_compile "$LINENO"; then :
19633 glibcxx_cv_math11_int_overload=no
19634 else
19635 glibcxx_cv_math11_int_overload=yes
19636
19637 fi
19638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19639 fi
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19641 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19642
19643 # autoheader cannot handle indented templates.
19644
19645
19646 if test $glibcxx_cv_math11_int_overload = yes; then
19647 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19648
19649 fi
19650 ;;
19651 *)
19652 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19653 # functions (instead of or as well as the C99 generic macros) then we
19654 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19655 # and must use the ones from <math.h> instead.
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19657 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19658 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19659 $as_echo_n "(cached) " >&6
19660 else
19661
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19665 #include <math.h>
19666 #undef isinf
19667 namespace std {
19668 using ::isinf;
19669 bool isinf(float);
19670 bool isinf(long double);
19671 }
19672 using std::isinf;
19673 bool b = isinf(0.0);
19674
19675 _ACEOF
19676 if ac_fn_cxx_try_compile "$LINENO"; then :
19677 glibcxx_cv_obsolete_isinf=yes
19678 else
19679 glibcxx_cv_obsolete_isinf=no
19680
19681 fi
19682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683 fi
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19685 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19686 if test $glibcxx_cv_obsolete_isinf = yes; then
19687
19688 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19689
19690 fi
19691
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19693 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19694 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19695 $as_echo_n "(cached) " >&6
19696 else
19697
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19701 #include <math.h>
19702 #undef isnan
19703 namespace std {
19704 using ::isnan;
19705 bool isnan(float);
19706 bool isnan(long double);
19707 }
19708 using std::isnan;
19709 bool b = isnan(0.0);
19710
19711 _ACEOF
19712 if ac_fn_cxx_try_compile "$LINENO"; then :
19713 glibcxx_cv_obsolete_isnan=yes
19714 else
19715 glibcxx_cv_obsolete_isnan=no
19716
19717 fi
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 fi
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19721 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19722 if test $glibcxx_cv_obsolete_isnan = yes; then
19723
19724 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19725
19726 fi
19727 ;;
19728 esac
19729
19730 CXXFLAGS="$ac_save_CXXFLAGS"
19731 ac_ext=c
19732 ac_cpp='$CPP $CPPFLAGS'
19733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19736
19737
19738
19739
19740 # Test uchar.h.
19741 for ac_header in uchar.h
19742 do :
19743 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19744 if test "x$ac_cv_header_uchar_h" = xyes; then :
19745 cat >>confdefs.h <<_ACEOF
19746 #define HAVE_UCHAR_H 1
19747 _ACEOF
19748 ac_has_uchar_h=yes
19749 else
19750 ac_has_uchar_h=no
19751 fi
19752
19753 done
19754
19755
19756
19757 ac_ext=cpp
19758 ac_cpp='$CXXCPP $CPPFLAGS'
19759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19762
19763 ac_save_CXXFLAGS="$CXXFLAGS"
19764 CXXFLAGS="$CXXFLAGS -std=c++11"
19765
19766 if test x"$ac_has_uchar_h" = x"yes"; then
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19768 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #include <uchar.h>
19772 #ifdef __STDC_UTF_16__
19773 long i = __STDC_UTF_16__;
19774 #endif
19775 #ifdef __STDC_UTF_32__
19776 long j = __STDC_UTF_32__;
19777 #endif
19778 namespace test
19779 {
19780 using ::c16rtomb;
19781 using ::c32rtomb;
19782 using ::mbrtoc16;
19783 using ::mbrtoc32;
19784 }
19785
19786 int
19787 main ()
19788 {
19789
19790 ;
19791 return 0;
19792 }
19793 _ACEOF
19794 if ac_fn_cxx_try_compile "$LINENO"; then :
19795 ac_c11_uchar_cxx11=yes
19796 else
19797 ac_c11_uchar_cxx11=no
19798 fi
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19801 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19802 else
19803 ac_c11_uchar_cxx11=no
19804 fi
19805 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19806
19807 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19808
19809 fi
19810
19811 CXXFLAGS="$CXXFLAGS -fchar8_t"
19812 if test x"$ac_has_uchar_h" = x"yes"; then
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19814 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #include <uchar.h>
19818 namespace test
19819 {
19820 using ::c8rtomb;
19821 using ::mbrtoc8;
19822 }
19823
19824 int
19825 main ()
19826 {
19827
19828 ;
19829 return 0;
19830 }
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19834 else
19835 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19836 fi
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19839 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19840 else
19841 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19842 fi
19843 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19846
19847 fi
19848
19849 CXXFLAGS="$CXXFLAGS -std=c++20"
19850 if test x"$ac_has_uchar_h" = x"yes"; then
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19852 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19855 #include <uchar.h>
19856 namespace test
19857 {
19858 using ::c8rtomb;
19859 using ::mbrtoc8;
19860 }
19861
19862 int
19863 main ()
19864 {
19865
19866 ;
19867 return 0;
19868 }
19869 _ACEOF
19870 if ac_fn_cxx_try_compile "$LINENO"; then :
19871 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19872 else
19873 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19874 fi
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19877 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19878 else
19879 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19880 fi
19881 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19882
19883 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19884
19885 fi
19886
19887 CXXFLAGS="$ac_save_CXXFLAGS"
19888 ac_ext=c
19889 ac_cpp='$CPP $CPPFLAGS'
19890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19893
19894
19895
19896 # For LFS support.
19897
19898
19899 ac_ext=cpp
19900 ac_cpp='$CXXCPP $CPPFLAGS'
19901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19904
19905 ac_save_CXXFLAGS="$CXXFLAGS"
19906 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19908 $as_echo_n "checking for LFS support... " >&6; }
19909 if ${glibcxx_cv_LFS+:} false; then :
19910 $as_echo_n "(cached) " >&6
19911 else
19912
19913 if test x$gcc_no_link = xyes; then
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #include <unistd.h>
19917 #include <stdio.h>
19918 #include <sys/stat.h>
19919
19920 int
19921 main ()
19922 {
19923 FILE* fp;
19924 fopen64("t", "w");
19925 fseeko64(fp, 0, SEEK_CUR);
19926 ftello64(fp);
19927 lseek64(1, 0, SEEK_CUR);
19928 struct stat64 buf;
19929 fstat64(1, &buf);
19930 ;
19931 return 0;
19932 }
19933 _ACEOF
19934 if ac_fn_cxx_try_compile "$LINENO"; then :
19935 glibcxx_cv_LFS=yes
19936 else
19937 glibcxx_cv_LFS=no
19938 fi
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 else
19941 if test x$gcc_no_link = xyes; then
19942 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19943 fi
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19946 #include <unistd.h>
19947 #include <stdio.h>
19948 #include <sys/stat.h>
19949
19950 int
19951 main ()
19952 {
19953 FILE* fp;
19954 fopen64("t", "w");
19955 fseeko64(fp, 0, SEEK_CUR);
19956 ftello64(fp);
19957 lseek64(1, 0, SEEK_CUR);
19958 struct stat64 buf;
19959 fstat64(1, &buf);
19960 ;
19961 return 0;
19962 }
19963 _ACEOF
19964 if ac_fn_cxx_try_link "$LINENO"; then :
19965 glibcxx_cv_LFS=yes
19966 else
19967 glibcxx_cv_LFS=no
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext \
19970 conftest$ac_exeext conftest.$ac_ext
19971 fi
19972
19973 fi
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19975 $as_echo "$glibcxx_cv_LFS" >&6; }
19976 if test $glibcxx_cv_LFS = yes; then
19977
19978 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19979
19980 fi
19981
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko and ftello" >&5
19983 $as_echo_n "checking for fseeko and ftello... " >&6; }
19984 if ${glibcxx_cv_posix_lfs+:} false; then :
19985 $as_echo_n "(cached) " >&6
19986 else
19987
19988 if test x$gcc_no_link = xyes; then
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 #include <stdio.h>
19992
19993 int
19994 main ()
19995 {
19996 FILE* fp;
19997 fseeko(fp, 0, SEEK_CUR);
19998 ftello(fp);
19999
20000 ;
20001 return 0;
20002 }
20003 _ACEOF
20004 if ac_fn_cxx_try_compile "$LINENO"; then :
20005 glibcxx_cv_posix_lfs=yes
20006 else
20007 glibcxx_cv_posix_lfs=no
20008 fi
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 else
20011 if test x$gcc_no_link = xyes; then
20012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20013 fi
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20016 #include <stdio.h>
20017
20018 int
20019 main ()
20020 {
20021 FILE* fp;
20022 fseeko(fp, 0, SEEK_CUR);
20023 ftello(fp);
20024
20025 ;
20026 return 0;
20027 }
20028 _ACEOF
20029 if ac_fn_cxx_try_link "$LINENO"; then :
20030 glibcxx_cv_posix_lfs=yes
20031 else
20032 glibcxx_cv_posix_lfs=no
20033 fi
20034 rm -f core conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20036 fi
20037
20038 fi
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_posix_lfs" >&5
20040 $as_echo "$glibcxx_cv_posix_lfs" >&6; }
20041 if test $glibcxx_cv_posix_lfs = yes; then
20042
20043 $as_echo "#define _GLIBCXX_USE_FSEEKO_FTELLO 1" >>confdefs.h
20044
20045 fi
20046
20047 CXXFLAGS="$ac_save_CXXFLAGS"
20048 ac_ext=c
20049 ac_cpp='$CPP $CPPFLAGS'
20050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20053
20054
20055
20056 # For showmanyc_helper().
20057 for ac_header in sys/ioctl.h sys/filio.h
20058 do :
20059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20060 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20062 cat >>confdefs.h <<_ACEOF
20063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20064 _ACEOF
20065
20066 fi
20067
20068 done
20069
20070
20071
20072
20073 ac_ext=cpp
20074 ac_cpp='$CXXCPP $CPPFLAGS'
20075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20078
20079 ac_save_CXXFLAGS="$CXXFLAGS"
20080 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20081
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
20083 $as_echo_n "checking for poll... " >&6; }
20084 if ${glibcxx_cv_POLL+:} false; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20087
20088 if test x$gcc_no_link = xyes; then
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #include <poll.h>
20092 int
20093 main ()
20094 {
20095 struct pollfd pfd[1];
20096 pfd[0].events = POLLIN;
20097 poll(pfd, 1, 0);
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 if ac_fn_cxx_try_compile "$LINENO"; then :
20103 glibcxx_cv_POLL=yes
20104 else
20105 glibcxx_cv_POLL=no
20106 fi
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20108 else
20109 if test x$gcc_no_link = xyes; then
20110 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20111 fi
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20114 #include <poll.h>
20115 int
20116 main ()
20117 {
20118 struct pollfd pfd[1];
20119 pfd[0].events = POLLIN;
20120 poll(pfd, 1, 0);
20121 ;
20122 return 0;
20123 }
20124 _ACEOF
20125 if ac_fn_cxx_try_link "$LINENO"; then :
20126 glibcxx_cv_POLL=yes
20127 else
20128 glibcxx_cv_POLL=no
20129 fi
20130 rm -f core conftest.err conftest.$ac_objext \
20131 conftest$ac_exeext conftest.$ac_ext
20132 fi
20133
20134 fi
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20136 $as_echo "$glibcxx_cv_POLL" >&6; }
20137 if test $glibcxx_cv_POLL = yes; then
20138
20139 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20140
20141 fi
20142
20143 CXXFLAGS="$ac_save_CXXFLAGS"
20144 ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20149
20150
20151
20152
20153
20154 ac_ext=cpp
20155 ac_cpp='$CXXCPP $CPPFLAGS'
20156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20159
20160 ac_save_CXXFLAGS="$CXXFLAGS"
20161 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20162
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20164 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20165 if ${glibcxx_cv_S_ISREG+:} false; then :
20166 $as_echo_n "(cached) " >&6
20167 else
20168
20169 if test x$gcc_no_link = xyes; then
20170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171 /* end confdefs.h. */
20172 #include <sys/stat.h>
20173 int
20174 main ()
20175 {
20176 struct stat buffer;
20177 fstat(0, &buffer);
20178 S_ISREG(buffer.st_mode);
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 if ac_fn_cxx_try_compile "$LINENO"; then :
20184 glibcxx_cv_S_ISREG=yes
20185 else
20186 glibcxx_cv_S_ISREG=no
20187 fi
20188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20189 else
20190 if test x$gcc_no_link = xyes; then
20191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20192 fi
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20195 #include <sys/stat.h>
20196 int
20197 main ()
20198 {
20199 struct stat buffer;
20200 fstat(0, &buffer);
20201 S_ISREG(buffer.st_mode);
20202 ;
20203 return 0;
20204 }
20205 _ACEOF
20206 if ac_fn_cxx_try_link "$LINENO"; then :
20207 glibcxx_cv_S_ISREG=yes
20208 else
20209 glibcxx_cv_S_ISREG=no
20210 fi
20211 rm -f core conftest.err conftest.$ac_objext \
20212 conftest$ac_exeext conftest.$ac_ext
20213 fi
20214
20215 fi
20216
20217 if ${glibcxx_cv_S_IFREG+:} false; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20220
20221 if test x$gcc_no_link = xyes; then
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224 #include <sys/stat.h>
20225 int
20226 main ()
20227 {
20228 struct stat buffer;
20229 fstat(0, &buffer);
20230 S_IFREG & buffer.st_mode;
20231 ;
20232 return 0;
20233 }
20234 _ACEOF
20235 if ac_fn_cxx_try_compile "$LINENO"; then :
20236 glibcxx_cv_S_IFREG=yes
20237 else
20238 glibcxx_cv_S_IFREG=no
20239 fi
20240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20241 else
20242 if test x$gcc_no_link = xyes; then
20243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20244 fi
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247 #include <sys/stat.h>
20248 int
20249 main ()
20250 {
20251 struct stat buffer;
20252 fstat(0, &buffer);
20253 S_IFREG & buffer.st_mode;
20254 ;
20255 return 0;
20256 }
20257 _ACEOF
20258 if ac_fn_cxx_try_link "$LINENO"; then :
20259 glibcxx_cv_S_IFREG=yes
20260 else
20261 glibcxx_cv_S_IFREG=no
20262 fi
20263 rm -f core conftest.err conftest.$ac_objext \
20264 conftest$ac_exeext conftest.$ac_ext
20265 fi
20266
20267 fi
20268
20269 res=no
20270 if test $glibcxx_cv_S_ISREG = yes; then
20271
20272 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20273
20274 res=S_ISREG
20275 elif test $glibcxx_cv_S_IFREG = yes; then
20276
20277 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20278
20279 res=S_IFREG
20280 fi
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20282 $as_echo "$res" >&6; }
20283
20284 CXXFLAGS="$ac_save_CXXFLAGS"
20285 ac_ext=c
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20290
20291
20292
20293 # For xsputn_2().
20294 for ac_header in sys/uio.h
20295 do :
20296 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_SYS_UIO_H 1
20300 _ACEOF
20301
20302 fi
20303
20304 done
20305
20306
20307
20308
20309 ac_ext=cpp
20310 ac_cpp='$CXXCPP $CPPFLAGS'
20311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20314
20315 ac_save_CXXFLAGS="$CXXFLAGS"
20316 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20317
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20319 $as_echo_n "checking for writev... " >&6; }
20320 if ${glibcxx_cv_WRITEV+:} false; then :
20321 $as_echo_n "(cached) " >&6
20322 else
20323
20324 if test x$gcc_no_link = xyes; then
20325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20326 /* end confdefs.h. */
20327 #include <sys/uio.h>
20328 int
20329 main ()
20330 {
20331 struct iovec iov[2];
20332 writev(0, iov, 0);
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 if ac_fn_cxx_try_compile "$LINENO"; then :
20338 glibcxx_cv_WRITEV=yes
20339 else
20340 glibcxx_cv_WRITEV=no
20341 fi
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 else
20344 if test x$gcc_no_link = xyes; then
20345 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20346 fi
20347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 #include <sys/uio.h>
20350 int
20351 main ()
20352 {
20353 struct iovec iov[2];
20354 writev(0, iov, 0);
20355 ;
20356 return 0;
20357 }
20358 _ACEOF
20359 if ac_fn_cxx_try_link "$LINENO"; then :
20360 glibcxx_cv_WRITEV=yes
20361 else
20362 glibcxx_cv_WRITEV=no
20363 fi
20364 rm -f core conftest.err conftest.$ac_objext \
20365 conftest$ac_exeext conftest.$ac_ext
20366 fi
20367
20368 fi
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20370 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20371 if test $glibcxx_cv_WRITEV = yes; then
20372
20373 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20374
20375 fi
20376
20377 CXXFLAGS="$ac_save_CXXFLAGS"
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20383
20384
20385
20386 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20387 # so that the check is done with the C compiler (not C++).
20388 # Checking with C++ can break a canadian cross build if either
20389 # file does not exist in C but does in C++.
20390 for ac_header in fenv.h complex.h
20391 do :
20392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20395 cat >>confdefs.h <<_ACEOF
20396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20397 _ACEOF
20398
20399 fi
20400
20401 done
20402
20403
20404 # For C99 support to TR1.
20405
20406
20407
20408 ac_ext=cpp
20409 ac_cpp='$CXXCPP $CPPFLAGS'
20410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413
20414
20415 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20416 # undefined and fake C99 facilities may be spuriously enabled.
20417 ac_save_CXXFLAGS="$CXXFLAGS"
20418 CXXFLAGS="$CXXFLAGS -std=c++98"
20419
20420 # Check for the existence of <complex.h> complex math functions used
20421 # by tr1/complex.
20422 for ac_header in complex.h
20423 do :
20424 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20425 if test "x$ac_cv_header_complex_h" = xyes; then :
20426 cat >>confdefs.h <<_ACEOF
20427 #define HAVE_COMPLEX_H 1
20428 _ACEOF
20429 ac_has_complex_h=yes
20430 else
20431 ac_has_complex_h=no
20432 fi
20433
20434 done
20435
20436 ac_c99_complex_tr1=no;
20437 if test x"$ac_has_complex_h" = x"yes"; then
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20439 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 #include <complex.h>
20443 int
20444 main ()
20445 {
20446 typedef __complex__ float float_type; float_type tmpf;
20447 cacosf(tmpf);
20448 casinf(tmpf);
20449 catanf(tmpf);
20450 cacoshf(tmpf);
20451 casinhf(tmpf);
20452 catanhf(tmpf);
20453 typedef __complex__ double double_type; double_type tmpd;
20454 cacos(tmpd);
20455 casin(tmpd);
20456 catan(tmpd);
20457 cacosh(tmpd);
20458 casinh(tmpd);
20459 catanh(tmpd);
20460 typedef __complex__ long double ld_type; ld_type tmpld;
20461 cacosl(tmpld);
20462 casinl(tmpld);
20463 catanl(tmpld);
20464 cacoshl(tmpld);
20465 casinhl(tmpld);
20466 catanhl(tmpld);
20467
20468 ;
20469 return 0;
20470 }
20471 _ACEOF
20472 if ac_fn_cxx_try_compile "$LINENO"; then :
20473 ac_c99_complex_tr1=yes
20474 else
20475 ac_c99_complex_tr1=no
20476 fi
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478 fi
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20480 $as_echo "$ac_c99_complex_tr1" >&6; }
20481 if test x"$ac_c99_complex_tr1" = x"yes"; then
20482
20483 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20484
20485 fi
20486
20487 # Check for the existence of <ctype.h> functions.
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20489 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20490 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20493
20494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20495 /* end confdefs.h. */
20496 #include <ctype.h>
20497 int
20498 main ()
20499 {
20500 int ch;
20501 int ret;
20502 ret = isblank(ch);
20503
20504 ;
20505 return 0;
20506 }
20507 _ACEOF
20508 if ac_fn_cxx_try_compile "$LINENO"; then :
20509 glibcxx_cv_c99_ctype_tr1=yes
20510 else
20511 glibcxx_cv_c99_ctype_tr1=no
20512 fi
20513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20514
20515 fi
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20517 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20518 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20519
20520 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20521
20522 fi
20523
20524 # Check for the existence of <fenv.h> functions.
20525 for ac_header in fenv.h
20526 do :
20527 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20528 if test "x$ac_cv_header_fenv_h" = xyes; then :
20529 cat >>confdefs.h <<_ACEOF
20530 #define HAVE_FENV_H 1
20531 _ACEOF
20532 ac_has_fenv_h=yes
20533 else
20534 ac_has_fenv_h=no
20535 fi
20536
20537 done
20538
20539 ac_c99_fenv_tr1=no;
20540 if test x"$ac_has_fenv_h" = x"yes"; then
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20542 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20544 /* end confdefs.h. */
20545 #include <fenv.h>
20546 int
20547 main ()
20548 {
20549 int except, mode;
20550 fexcept_t* pflag;
20551 fenv_t* penv;
20552 int ret;
20553 ret = feclearexcept(except);
20554 ret = fegetexceptflag(pflag, except);
20555 ret = feraiseexcept(except);
20556 ret = fesetexceptflag(pflag, except);
20557 ret = fetestexcept(except);
20558 ret = fegetround();
20559 ret = fesetround(mode);
20560 ret = fegetenv(penv);
20561 ret = feholdexcept(penv);
20562 ret = fesetenv(penv);
20563 ret = feupdateenv(penv);
20564
20565 ;
20566 return 0;
20567 }
20568 _ACEOF
20569 if ac_fn_cxx_try_compile "$LINENO"; then :
20570 ac_c99_fenv_tr1=yes
20571 else
20572 ac_c99_fenv_tr1=no
20573 fi
20574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20576 $as_echo "$ac_c99_fenv_tr1" >&6; }
20577 fi
20578 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20579
20580 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20581
20582 fi
20583
20584 # Check for the existence of <stdint.h> types.
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20586 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20587 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20588 $as_echo_n "(cached) " >&6
20589 else
20590
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20593 #define __STDC_LIMIT_MACROS
20594 #define __STDC_CONSTANT_MACROS
20595 #include <stdint.h>
20596 int
20597 main ()
20598 {
20599 typedef int8_t my_int8_t;
20600 my_int8_t i8 = INT8_MIN;
20601 i8 = INT8_MAX;
20602 typedef int16_t my_int16_t;
20603 my_int16_t i16 = INT16_MIN;
20604 i16 = INT16_MAX;
20605 typedef int32_t my_int32_t;
20606 my_int32_t i32 = INT32_MIN;
20607 i32 = INT32_MAX;
20608 typedef int64_t my_int64_t;
20609 my_int64_t i64 = INT64_MIN;
20610 i64 = INT64_MAX;
20611 typedef int_fast8_t my_int_fast8_t;
20612 my_int_fast8_t if8 = INT_FAST8_MIN;
20613 if8 = INT_FAST8_MAX;
20614 typedef int_fast16_t my_int_fast16_t;
20615 my_int_fast16_t if16 = INT_FAST16_MIN;
20616 if16 = INT_FAST16_MAX;
20617 typedef int_fast32_t my_int_fast32_t;
20618 my_int_fast32_t if32 = INT_FAST32_MIN;
20619 if32 = INT_FAST32_MAX;
20620 typedef int_fast64_t my_int_fast64_t;
20621 my_int_fast64_t if64 = INT_FAST64_MIN;
20622 if64 = INT_FAST64_MAX;
20623 typedef int_least8_t my_int_least8_t;
20624 my_int_least8_t il8 = INT_LEAST8_MIN;
20625 il8 = INT_LEAST8_MAX;
20626 typedef int_least16_t my_int_least16_t;
20627 my_int_least16_t il16 = INT_LEAST16_MIN;
20628 il16 = INT_LEAST16_MAX;
20629 typedef int_least32_t my_int_least32_t;
20630 my_int_least32_t il32 = INT_LEAST32_MIN;
20631 il32 = INT_LEAST32_MAX;
20632 typedef int_least64_t my_int_least64_t;
20633 my_int_least64_t il64 = INT_LEAST64_MIN;
20634 il64 = INT_LEAST64_MAX;
20635 typedef intmax_t my_intmax_t;
20636 my_intmax_t im = INTMAX_MAX;
20637 im = INTMAX_MIN;
20638 typedef intptr_t my_intptr_t;
20639 my_intptr_t ip = INTPTR_MAX;
20640 ip = INTPTR_MIN;
20641 typedef uint8_t my_uint8_t;
20642 my_uint8_t ui8 = UINT8_MAX;
20643 ui8 = UINT8_MAX;
20644 typedef uint16_t my_uint16_t;
20645 my_uint16_t ui16 = UINT16_MAX;
20646 ui16 = UINT16_MAX;
20647 typedef uint32_t my_uint32_t;
20648 my_uint32_t ui32 = UINT32_MAX;
20649 ui32 = UINT32_MAX;
20650 typedef uint64_t my_uint64_t;
20651 my_uint64_t ui64 = UINT64_MAX;
20652 ui64 = UINT64_MAX;
20653 typedef uint_fast8_t my_uint_fast8_t;
20654 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20655 uif8 = UINT_FAST8_MAX;
20656 typedef uint_fast16_t my_uint_fast16_t;
20657 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20658 uif16 = UINT_FAST16_MAX;
20659 typedef uint_fast32_t my_uint_fast32_t;
20660 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20661 uif32 = UINT_FAST32_MAX;
20662 typedef uint_fast64_t my_uint_fast64_t;
20663 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20664 uif64 = UINT_FAST64_MAX;
20665 typedef uint_least8_t my_uint_least8_t;
20666 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20667 uil8 = UINT_LEAST8_MAX;
20668 typedef uint_least16_t my_uint_least16_t;
20669 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20670 uil16 = UINT_LEAST16_MAX;
20671 typedef uint_least32_t my_uint_least32_t;
20672 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20673 uil32 = UINT_LEAST32_MAX;
20674 typedef uint_least64_t my_uint_least64_t;
20675 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20676 uil64 = UINT_LEAST64_MAX;
20677 typedef uintmax_t my_uintmax_t;
20678 my_uintmax_t uim = UINTMAX_MAX;
20679 uim = UINTMAX_MAX;
20680 typedef uintptr_t my_uintptr_t;
20681 my_uintptr_t uip = UINTPTR_MAX;
20682 uip = UINTPTR_MAX;
20683
20684 ;
20685 return 0;
20686 }
20687 _ACEOF
20688 if ac_fn_cxx_try_compile "$LINENO"; then :
20689 glibcxx_cv_c99_stdint_tr1=yes
20690 else
20691 glibcxx_cv_c99_stdint_tr1=no
20692 fi
20693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20694
20695 fi
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20697 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20698 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20699
20700 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20701
20702 fi
20703
20704 # Check for the existence of <math.h> functions.
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20706 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20707 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20713 #include <math.h>
20714 int
20715 main ()
20716 {
20717 typedef double_t my_double_t;
20718 typedef float_t my_float_t;
20719 acosh(0.0);
20720 acoshf(0.0f);
20721 acoshl(0.0l);
20722 asinh(0.0);
20723 asinhf(0.0f);
20724 asinhl(0.0l);
20725 atanh(0.0);
20726 atanhf(0.0f);
20727 atanhl(0.0l);
20728 cbrt(0.0);
20729 cbrtf(0.0f);
20730 cbrtl(0.0l);
20731 copysign(0.0, 0.0);
20732 copysignf(0.0f, 0.0f);
20733 copysignl(0.0l, 0.0l);
20734 erf(0.0);
20735 erff(0.0f);
20736 erfl(0.0l);
20737 erfc(0.0);
20738 erfcf(0.0f);
20739 erfcl(0.0l);
20740 exp2(0.0);
20741 exp2f(0.0f);
20742 exp2l(0.0l);
20743 expm1(0.0);
20744 expm1f(0.0f);
20745 expm1l(0.0l);
20746 fdim(0.0, 0.0);
20747 fdimf(0.0f, 0.0f);
20748 fdiml(0.0l, 0.0l);
20749 fma(0.0, 0.0, 0.0);
20750 fmaf(0.0f, 0.0f, 0.0f);
20751 fmal(0.0l, 0.0l, 0.0l);
20752 fmax(0.0, 0.0);
20753 fmaxf(0.0f, 0.0f);
20754 fmaxl(0.0l, 0.0l);
20755 fmin(0.0, 0.0);
20756 fminf(0.0f, 0.0f);
20757 fminl(0.0l, 0.0l);
20758 hypot(0.0, 0.0);
20759 hypotf(0.0f, 0.0f);
20760 hypotl(0.0l, 0.0l);
20761 ilogb(0.0);
20762 ilogbf(0.0f);
20763 ilogbl(0.0l);
20764 lgamma(0.0);
20765 lgammaf(0.0f);
20766 lgammal(0.0l);
20767 #ifndef __APPLE__ /* see below */
20768 llrint(0.0);
20769 llrintf(0.0f);
20770 llrintl(0.0l);
20771 llround(0.0);
20772 llroundf(0.0f);
20773 llroundl(0.0l);
20774 #endif
20775 log1p(0.0);
20776 log1pf(0.0f);
20777 log1pl(0.0l);
20778 log2(0.0);
20779 log2f(0.0f);
20780 log2l(0.0l);
20781 logb(0.0);
20782 logbf(0.0f);
20783 logbl(0.0l);
20784 lrint(0.0);
20785 lrintf(0.0f);
20786 lrintl(0.0l);
20787 lround(0.0);
20788 lroundf(0.0f);
20789 lroundl(0.0l);
20790 nan("");
20791 nanf("");
20792 nanl("");
20793 nearbyint(0.0);
20794 nearbyintf(0.0f);
20795 nearbyintl(0.0l);
20796 nextafter(0.0, 0.0);
20797 nextafterf(0.0f, 0.0f);
20798 nextafterl(0.0l, 0.0l);
20799 nexttoward(0.0, 0.0);
20800 nexttowardf(0.0f, 0.0f);
20801 nexttowardl(0.0l, 0.0l);
20802 remainder(0.0, 0.0);
20803 remainderf(0.0f, 0.0f);
20804 remainderl(0.0l, 0.0l);
20805 remquo(0.0, 0.0, 0);
20806 remquof(0.0f, 0.0f, 0);
20807 remquol(0.0l, 0.0l, 0);
20808 rint(0.0);
20809 rintf(0.0f);
20810 rintl(0.0l);
20811 round(0.0);
20812 roundf(0.0f);
20813 roundl(0.0l);
20814 scalbln(0.0, 0l);
20815 scalblnf(0.0f, 0l);
20816 scalblnl(0.0l, 0l);
20817 scalbn(0.0, 0);
20818 scalbnf(0.0f, 0);
20819 scalbnl(0.0l, 0);
20820 tgamma(0.0);
20821 tgammaf(0.0f);
20822 tgammal(0.0l);
20823 trunc(0.0);
20824 truncf(0.0f);
20825 truncl(0.0l);
20826
20827 ;
20828 return 0;
20829 }
20830 _ACEOF
20831 if ac_fn_cxx_try_compile "$LINENO"; then :
20832 glibcxx_cv_c99_math_tr1=yes
20833 else
20834 glibcxx_cv_c99_math_tr1=no
20835 fi
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837
20838 fi
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20840 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20841 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20842
20843 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20844
20845 fi
20846
20847 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20848 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20849 ac_c99_inttypes_tr1=no;
20850 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20852 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <inttypes.h>
20856 int
20857 main ()
20858 {
20859 intmax_t i, numer, denom, base;
20860 const char* s;
20861 char** endptr;
20862 intmax_t ret = imaxabs(i);
20863 imaxdiv_t dret = imaxdiv(numer, denom);
20864 ret = strtoimax(s, endptr, base);
20865 uintmax_t uret = strtoumax(s, endptr, base);
20866
20867 ;
20868 return 0;
20869 }
20870 _ACEOF
20871 if ac_fn_cxx_try_compile "$LINENO"; then :
20872 ac_c99_inttypes_tr1=yes
20873 else
20874 ac_c99_inttypes_tr1=no
20875 fi
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20878 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20879 fi
20880 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20881
20882 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20883
20884 fi
20885
20886 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20887 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20888 ac_c99_inttypes_wchar_t_tr1=no;
20889 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20891 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20893 /* end confdefs.h. */
20894 #include <inttypes.h>
20895 int
20896 main ()
20897 {
20898 intmax_t base;
20899 const wchar_t* s;
20900 wchar_t** endptr;
20901 intmax_t ret = wcstoimax(s, endptr, base);
20902 uintmax_t uret = wcstoumax(s, endptr, base);
20903
20904 ;
20905 return 0;
20906 }
20907 _ACEOF
20908 if ac_fn_cxx_try_compile "$LINENO"; then :
20909 ac_c99_inttypes_wchar_t_tr1=yes
20910 else
20911 ac_c99_inttypes_wchar_t_tr1=no
20912 fi
20913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20915 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20916 fi
20917 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20918
20919 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20920
20921 fi
20922
20923 # Check for the existence of the <stdbool.h> header.
20924 for ac_header in stdbool.h
20925 do :
20926 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20927 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20928 cat >>confdefs.h <<_ACEOF
20929 #define HAVE_STDBOOL_H 1
20930 _ACEOF
20931
20932 fi
20933
20934 done
20935
20936
20937 # Check for the existence of the <stdalign.h> header.
20938 for ac_header in stdalign.h
20939 do :
20940 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20941 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20942 cat >>confdefs.h <<_ACEOF
20943 #define HAVE_STDALIGN_H 1
20944 _ACEOF
20945
20946 fi
20947
20948 done
20949
20950
20951 CXXFLAGS="$ac_save_CXXFLAGS"
20952 ac_ext=c
20953 ac_cpp='$CPP $CPPFLAGS'
20954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20957
20958
20959
20960 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20961
20962
20963 if test "$is_hosted" = yes; then
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20965 $as_echo_n "checking for the value of EOF... " >&6; }
20966 if ${glibcxx_cv_stdio_eof+:} false; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20969
20970 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20971
20972 else
20973 as_fn_error $? "computing EOF failed" "$LINENO" 5
20974 fi
20975
20976
20977 fi
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20979 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20980
20981 cat >>confdefs.h <<_ACEOF
20982 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20983 _ACEOF
20984
20985
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20987 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20988 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20989 $as_echo_n "(cached) " >&6
20990 else
20991
20992 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20993
20994 else
20995 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20996 fi
20997
20998
20999 fi
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
21001 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
21002
21003 cat >>confdefs.h <<_ACEOF
21004 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
21005 _ACEOF
21006
21007
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
21009 $as_echo_n "checking for the value of SEEK_END... " >&6; }
21010 if ${glibcxx_cv_stdio_seek_end+:} false; then :
21011 $as_echo_n "(cached) " >&6
21012 else
21013
21014 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
21015
21016 else
21017 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
21018 fi
21019
21020
21021 fi
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
21023 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
21024
21025 cat >>confdefs.h <<_ACEOF
21026 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
21027 _ACEOF
21028
21029 fi
21030
21031
21032 # For gettimeofday support.
21033
21034
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21036 $as_echo_n "checking for gettimeofday... " >&6; }
21037
21038
21039 ac_ext=cpp
21040 ac_cpp='$CXXCPP $CPPFLAGS'
21041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21044
21045 ac_save_CXXFLAGS="$CXXFLAGS"
21046 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21047
21048 ac_has_gettimeofday=no;
21049 for ac_header in sys/time.h
21050 do :
21051 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21052 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21053 cat >>confdefs.h <<_ACEOF
21054 #define HAVE_SYS_TIME_H 1
21055 _ACEOF
21056 ac_has_sys_time_h=yes
21057 else
21058 ac_has_sys_time_h=no
21059 fi
21060
21061 done
21062
21063 if test x"$ac_has_sys_time_h" = x"yes"; then
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21065 $as_echo_n "checking for gettimeofday... " >&6; }
21066 if test x$gcc_no_link = xyes; then
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069 #include <sys/time.h>
21070 int
21071 main ()
21072 {
21073 timeval tv; gettimeofday(&tv, 0);
21074 ;
21075 return 0;
21076 }
21077 _ACEOF
21078 if ac_fn_cxx_try_compile "$LINENO"; then :
21079 ac_has_gettimeofday=yes
21080 else
21081 ac_has_gettimeofday=no
21082 fi
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 else
21085 if test x$gcc_no_link = xyes; then
21086 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21087 fi
21088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21089 /* end confdefs.h. */
21090 #include <sys/time.h>
21091 int
21092 main ()
21093 {
21094 timeval tv; gettimeofday(&tv, 0);
21095 ;
21096 return 0;
21097 }
21098 _ACEOF
21099 if ac_fn_cxx_try_link "$LINENO"; then :
21100 ac_has_gettimeofday=yes
21101 else
21102 ac_has_gettimeofday=no
21103 fi
21104 rm -f core conftest.err conftest.$ac_objext \
21105 conftest$ac_exeext conftest.$ac_ext
21106 fi
21107
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21109 $as_echo "$ac_has_gettimeofday" >&6; }
21110 fi
21111
21112 if test x"$ac_has_gettimeofday" = x"yes"; then
21113
21114 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21115
21116 fi
21117
21118 CXXFLAGS="$ac_save_CXXFLAGS"
21119 ac_ext=c
21120 ac_cpp='$CPP $CPPFLAGS'
21121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21124
21125
21126
21127 # For clock_gettime, nanosleep and sched_yield support.
21128
21129
21130 # Check whether --enable-libstdcxx-time was given.
21131 if test "${enable_libstdcxx_time+set}" = set; then :
21132 enableval=$enable_libstdcxx_time;
21133 case "$enableval" in
21134 yes|no|rt) ;;
21135 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21136 esac
21137
21138 else
21139 enable_libstdcxx_time=auto
21140 fi
21141
21142
21143
21144
21145 ac_ext=cpp
21146 ac_cpp='$CXXCPP $CPPFLAGS'
21147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21150
21151 ac_save_CXXFLAGS="$CXXFLAGS"
21152 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21153 ac_save_LIBS="$LIBS"
21154
21155 ac_has_clock_monotonic=no
21156 ac_has_clock_realtime=no
21157 ac_has_nanosleep=no
21158 ac_has_sched_yield=no
21159
21160 if test x"$enable_libstdcxx_time" = x"auto"; then
21161
21162 case "${target_os}" in
21163 cygwin*)
21164 ac_has_nanosleep=yes
21165 ;;
21166 mingw*)
21167 ac_has_win32_sleep=yes
21168 ac_has_sched_yield=yes
21169 ;;
21170 darwin*)
21171 ac_has_nanosleep=yes
21172 ac_has_sched_yield=yes
21173 ;;
21174 # VxWorks has nanosleep as soon as the kernel is configured with
21175 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21176 vxworks*)
21177 ac_has_nanosleep=yes
21178 ;;
21179 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21180 # Don't use link test for freestanding library, in case gcc_no_link=yes
21181 if test x"$is_hosted" = xyes; then
21182 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21184 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21185 if ${ac_cv_search_clock_gettime+:} false; then :
21186 $as_echo_n "(cached) " >&6
21187 else
21188 ac_func_search_save_LIBS=$LIBS
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191
21192 /* Override any GCC internal prototype to avoid an error.
21193 Use char because int might match the return type of a GCC
21194 builtin and then its argument prototype would still apply. */
21195 #ifdef __cplusplus
21196 extern "C"
21197 #endif
21198 char clock_gettime ();
21199 int
21200 main ()
21201 {
21202 return clock_gettime ();
21203 ;
21204 return 0;
21205 }
21206 _ACEOF
21207 for ac_lib in '' rt; do
21208 if test -z "$ac_lib"; then
21209 ac_res="none required"
21210 else
21211 ac_res=-l$ac_lib
21212 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21213 fi
21214 if test x$gcc_no_link = xyes; then
21215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21216 fi
21217 if ac_fn_cxx_try_link "$LINENO"; then :
21218 ac_cv_search_clock_gettime=$ac_res
21219 fi
21220 rm -f core conftest.err conftest.$ac_objext \
21221 conftest$ac_exeext
21222 if ${ac_cv_search_clock_gettime+:} false; then :
21223 break
21224 fi
21225 done
21226 if ${ac_cv_search_clock_gettime+:} false; then :
21227
21228 else
21229 ac_cv_search_clock_gettime=no
21230 fi
21231 rm conftest.$ac_ext
21232 LIBS=$ac_func_search_save_LIBS
21233 fi
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21235 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21236 ac_res=$ac_cv_search_clock_gettime
21237 if test "$ac_res" != no; then :
21238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21239
21240 fi
21241
21242 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21243 ac_has_clock_monotonic=yes
21244 ac_has_clock_realtime=yes
21245 fi
21246 fi
21247 ac_has_nanosleep=yes
21248 ac_has_sched_yield=yes
21249 ;;
21250 freebsd*|netbsd*|dragonfly*|rtems*)
21251 ac_has_clock_monotonic=yes
21252 ac_has_clock_realtime=yes
21253 ac_has_nanosleep=yes
21254 ac_has_sched_yield=yes
21255 ;;
21256 openbsd*)
21257 ac_has_clock_monotonic=yes
21258 ac_has_clock_realtime=yes
21259 ac_has_nanosleep=yes
21260 ;;
21261 solaris*)
21262 ac_has_clock_monotonic=yes
21263 ac_has_clock_realtime=yes
21264 ac_has_nanosleep=yes
21265 ac_has_sched_yield=yes
21266 ;;
21267 uclinux*)
21268 ac_has_nanosleep=yes
21269 ac_has_sched_yield=yes
21270 esac
21271
21272 elif test x"$enable_libstdcxx_time" != x"no"; then
21273
21274 if test x"$enable_libstdcxx_time" = x"rt"; then
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21276 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21277 if ${ac_cv_search_clock_gettime+:} false; then :
21278 $as_echo_n "(cached) " >&6
21279 else
21280 ac_func_search_save_LIBS=$LIBS
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283
21284 /* Override any GCC internal prototype to avoid an error.
21285 Use char because int might match the return type of a GCC
21286 builtin and then its argument prototype would still apply. */
21287 #ifdef __cplusplus
21288 extern "C"
21289 #endif
21290 char clock_gettime ();
21291 int
21292 main ()
21293 {
21294 return clock_gettime ();
21295 ;
21296 return 0;
21297 }
21298 _ACEOF
21299 for ac_lib in '' rt; do
21300 if test -z "$ac_lib"; then
21301 ac_res="none required"
21302 else
21303 ac_res=-l$ac_lib
21304 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21305 fi
21306 if test x$gcc_no_link = xyes; then
21307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21308 fi
21309 if ac_fn_cxx_try_link "$LINENO"; then :
21310 ac_cv_search_clock_gettime=$ac_res
21311 fi
21312 rm -f core conftest.err conftest.$ac_objext \
21313 conftest$ac_exeext
21314 if ${ac_cv_search_clock_gettime+:} false; then :
21315 break
21316 fi
21317 done
21318 if ${ac_cv_search_clock_gettime+:} false; then :
21319
21320 else
21321 ac_cv_search_clock_gettime=no
21322 fi
21323 rm conftest.$ac_ext
21324 LIBS=$ac_func_search_save_LIBS
21325 fi
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21327 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21328 ac_res=$ac_cv_search_clock_gettime
21329 if test "$ac_res" != no; then :
21330 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21331
21332 fi
21333
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21335 $as_echo_n "checking for library containing nanosleep... " >&6; }
21336 if ${ac_cv_search_nanosleep+:} false; then :
21337 $as_echo_n "(cached) " >&6
21338 else
21339 ac_func_search_save_LIBS=$LIBS
21340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21342
21343 /* Override any GCC internal prototype to avoid an error.
21344 Use char because int might match the return type of a GCC
21345 builtin and then its argument prototype would still apply. */
21346 #ifdef __cplusplus
21347 extern "C"
21348 #endif
21349 char nanosleep ();
21350 int
21351 main ()
21352 {
21353 return nanosleep ();
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 for ac_lib in '' rt; do
21359 if test -z "$ac_lib"; then
21360 ac_res="none required"
21361 else
21362 ac_res=-l$ac_lib
21363 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21364 fi
21365 if test x$gcc_no_link = xyes; then
21366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21367 fi
21368 if ac_fn_cxx_try_link "$LINENO"; then :
21369 ac_cv_search_nanosleep=$ac_res
21370 fi
21371 rm -f core conftest.err conftest.$ac_objext \
21372 conftest$ac_exeext
21373 if ${ac_cv_search_nanosleep+:} false; then :
21374 break
21375 fi
21376 done
21377 if ${ac_cv_search_nanosleep+:} false; then :
21378
21379 else
21380 ac_cv_search_nanosleep=no
21381 fi
21382 rm conftest.$ac_ext
21383 LIBS=$ac_func_search_save_LIBS
21384 fi
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21386 $as_echo "$ac_cv_search_nanosleep" >&6; }
21387 ac_res=$ac_cv_search_nanosleep
21388 if test "$ac_res" != no; then :
21389 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21390
21391 fi
21392
21393 else
21394 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21395 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21396
21397 fi
21398
21399 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21400 if test "x$ac_cv_func_nanosleep" = xyes; then :
21401
21402 fi
21403
21404 fi
21405
21406 case "$ac_cv_search_clock_gettime" in
21407 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21408 ;;
21409 esac
21410 case "$ac_cv_search_nanosleep" in
21411 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21412 ;;
21413 esac
21414
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21416 $as_echo_n "checking for library containing sched_yield... " >&6; }
21417 if ${ac_cv_search_sched_yield+:} false; then :
21418 $as_echo_n "(cached) " >&6
21419 else
21420 ac_func_search_save_LIBS=$LIBS
21421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21422 /* end confdefs.h. */
21423
21424 /* Override any GCC internal prototype to avoid an error.
21425 Use char because int might match the return type of a GCC
21426 builtin and then its argument prototype would still apply. */
21427 #ifdef __cplusplus
21428 extern "C"
21429 #endif
21430 char sched_yield ();
21431 int
21432 main ()
21433 {
21434 return sched_yield ();
21435 ;
21436 return 0;
21437 }
21438 _ACEOF
21439 for ac_lib in '' rt; do
21440 if test -z "$ac_lib"; then
21441 ac_res="none required"
21442 else
21443 ac_res=-l$ac_lib
21444 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21445 fi
21446 if test x$gcc_no_link = xyes; then
21447 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21448 fi
21449 if ac_fn_cxx_try_link "$LINENO"; then :
21450 ac_cv_search_sched_yield=$ac_res
21451 fi
21452 rm -f core conftest.err conftest.$ac_objext \
21453 conftest$ac_exeext
21454 if ${ac_cv_search_sched_yield+:} false; then :
21455 break
21456 fi
21457 done
21458 if ${ac_cv_search_sched_yield+:} false; then :
21459
21460 else
21461 ac_cv_search_sched_yield=no
21462 fi
21463 rm conftest.$ac_ext
21464 LIBS=$ac_func_search_save_LIBS
21465 fi
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21467 $as_echo "$ac_cv_search_sched_yield" >&6; }
21468 ac_res=$ac_cv_search_sched_yield
21469 if test "$ac_res" != no; then :
21470 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21471
21472 fi
21473
21474
21475 case "$ac_cv_search_sched_yield" in
21476 -lrt*)
21477 if test x"$enable_libstdcxx_time" = x"rt"; then
21478 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21479 ac_has_sched_yield=yes
21480 fi
21481 ;;
21482 *)
21483 ac_has_sched_yield=yes
21484 ;;
21485 esac
21486
21487 for ac_header in unistd.h
21488 do :
21489 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21490 if test "x$ac_cv_header_unistd_h" = xyes; then :
21491 cat >>confdefs.h <<_ACEOF
21492 #define HAVE_UNISTD_H 1
21493 _ACEOF
21494 ac_has_unistd_h=yes
21495 else
21496 ac_has_unistd_h=no
21497 fi
21498
21499 done
21500
21501
21502 if test x"$ac_has_unistd_h" = x"yes"; then
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21504 $as_echo_n "checking for monotonic clock... " >&6; }
21505 if test x$gcc_no_link = xyes; then
21506 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21507 fi
21508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h. */
21510 #include <unistd.h>
21511 #include <time.h>
21512
21513 int
21514 main ()
21515 {
21516 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21517 timespec tp;
21518 #endif
21519 clock_gettime(CLOCK_MONOTONIC, &tp);
21520
21521 ;
21522 return 0;
21523 }
21524 _ACEOF
21525 if ac_fn_cxx_try_link "$LINENO"; then :
21526 ac_has_clock_monotonic=yes
21527 else
21528 ac_has_clock_monotonic=no
21529 fi
21530 rm -f core conftest.err conftest.$ac_objext \
21531 conftest$ac_exeext conftest.$ac_ext
21532
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21534 $as_echo "$ac_has_clock_monotonic" >&6; }
21535
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21537 $as_echo_n "checking for realtime clock... " >&6; }
21538 if test x$gcc_no_link = xyes; then
21539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21540 fi
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <unistd.h>
21544 #include <time.h>
21545
21546 int
21547 main ()
21548 {
21549 #if _POSIX_TIMERS > 0
21550 timespec tp;
21551 #endif
21552 clock_gettime(CLOCK_REALTIME, &tp);
21553
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 if ac_fn_cxx_try_link "$LINENO"; then :
21559 ac_has_clock_realtime=yes
21560 else
21561 ac_has_clock_realtime=no
21562 fi
21563 rm -f core conftest.err conftest.$ac_objext \
21564 conftest$ac_exeext conftest.$ac_ext
21565
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21567 $as_echo "$ac_has_clock_realtime" >&6; }
21568
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21570 $as_echo_n "checking for nanosleep... " >&6; }
21571 if test x$gcc_no_link = xyes; then
21572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21573 fi
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <unistd.h>
21577 #include <time.h>
21578
21579 int
21580 main ()
21581 {
21582 #if _POSIX_TIMERS > 0
21583 timespec tp;
21584 #endif
21585 nanosleep(&tp, 0);
21586
21587 ;
21588 return 0;
21589 }
21590 _ACEOF
21591 if ac_fn_cxx_try_link "$LINENO"; then :
21592 ac_has_nanosleep=yes
21593 else
21594 ac_has_nanosleep=no
21595 fi
21596 rm -f core conftest.err conftest.$ac_objext \
21597 conftest$ac_exeext conftest.$ac_ext
21598
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21600 $as_echo "$ac_has_nanosleep" >&6; }
21601 fi
21602 fi
21603
21604 if test x"$ac_has_clock_monotonic" != x"yes"; then
21605 case ${target_os} in
21606 linux* | uclinux*)
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21608 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h. */
21611 #include <unistd.h>
21612 #include <time.h>
21613 #include <sys/syscall.h>
21614
21615 int
21616 main ()
21617 {
21618 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21619 timespec tp;
21620 #endif
21621 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21622 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21623
21624 ;
21625 return 0;
21626 }
21627 _ACEOF
21628 if ac_fn_cxx_try_compile "$LINENO"; then :
21629 ac_has_clock_gettime_syscall=yes
21630 else
21631 ac_has_clock_gettime_syscall=no
21632 fi
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21635 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21636 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21637
21638 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21639
21640 ac_has_clock_monotonic=yes
21641 ac_has_clock_realtime=yes
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21643 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <time.h>
21647 #include <sys/syscall.h>
21648
21649 int
21650 main ()
21651 {
21652 #ifdef SYS_clock_gettime64
21653 #if SYS_clock_gettime64 != SYS_clock_gettime
21654 // We need to use SYS_clock_gettime and libc appears to
21655 // also know about the SYS_clock_gettime64 syscall.
21656 // Check that userspace doesn't use time64 version of timespec.
21657 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21658 "struct timespec must be compatible with SYS_clock_gettime");
21659 #endif
21660 #endif
21661
21662 ;
21663 return 0;
21664 }
21665 _ACEOF
21666 if ac_fn_cxx_try_compile "$LINENO"; then :
21667 ac_timespec_matches_syscall=yes
21668 else
21669 ac_timespec_matches_syscall=no
21670 fi
21671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21673 $as_echo "$ac_timespec_matches_syscall" >&6; }
21674 if test x"$ac_timespec_matches_syscall" = no; then
21675 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21676 fi
21677 fi;;
21678 esac
21679 fi
21680
21681 if test x"$ac_has_clock_monotonic" = x"yes"; then
21682
21683 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21684
21685 fi
21686
21687 if test x"$ac_has_clock_realtime" = x"yes"; then
21688
21689 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21690
21691 fi
21692
21693 if test x"$ac_has_sched_yield" = x"yes"; then
21694
21695 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21696
21697 fi
21698
21699 if test x"$ac_has_nanosleep" = x"yes"; then
21700
21701 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21702
21703 elif test x"$ac_has_win32_sleep" = x"yes"; then
21704
21705 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21706
21707 else
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21709 $as_echo_n "checking for sleep... " >&6; }
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712 #include <unistd.h>
21713 int
21714 main ()
21715 {
21716 sleep(1)
21717 ;
21718 return 0;
21719 }
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722 ac_has_sleep=yes
21723 else
21724 ac_has_sleep=no
21725 fi
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 if test x"$ac_has_sleep" = x"yes"; then
21728
21729 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21730
21731 fi
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21733 $as_echo "$ac_has_sleep" >&6; }
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21735 $as_echo_n "checking for usleep... " >&6; }
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21738 #include <unistd.h>
21739 int
21740 main ()
21741 {
21742 sleep(1);
21743 usleep(100);
21744 ;
21745 return 0;
21746 }
21747 _ACEOF
21748 if ac_fn_cxx_try_compile "$LINENO"; then :
21749 ac_has_usleep=yes
21750 else
21751 ac_has_usleep=no
21752 fi
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 if test x"$ac_has_usleep" = x"yes"; then
21755
21756 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21757
21758 fi
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21760 $as_echo "$ac_has_usleep" >&6; }
21761 fi
21762
21763 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21764
21765 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21766
21767 fi
21768
21769
21770
21771 CXXFLAGS="$ac_save_CXXFLAGS"
21772 LIBS="$ac_save_LIBS"
21773 ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21778
21779
21780
21781 # Check for tmpnam which is obsolescent in POSIX.1-2008
21782
21783 ac_ext=cpp
21784 ac_cpp='$CXXCPP $CPPFLAGS'
21785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21788
21789 ac_save_CXXFLAGS="$CXXFLAGS"
21790 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21792 $as_echo_n "checking for tmpnam... " >&6; }
21793 if ${glibcxx_cv_TMPNAM+:} false; then :
21794 $as_echo_n "(cached) " >&6
21795 else
21796 if test x$gcc_no_link = xyes; then
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21799 #include <stdio.h>
21800 int
21801 main ()
21802 {
21803 char *tmp = tmpnam(NULL);
21804 ;
21805 return 0;
21806 }
21807 _ACEOF
21808 if ac_fn_cxx_try_compile "$LINENO"; then :
21809 glibcxx_cv_TMPNAM=yes
21810 else
21811 glibcxx_cv_TMPNAM=no
21812 fi
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21817 fi
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820 #include <stdio.h>
21821 int
21822 main ()
21823 {
21824 char *tmp = tmpnam(NULL);
21825 ;
21826 return 0;
21827 }
21828 _ACEOF
21829 if ac_fn_cxx_try_link "$LINENO"; then :
21830 glibcxx_cv_TMPNAM=yes
21831 else
21832 glibcxx_cv_TMPNAM=no
21833 fi
21834 rm -f core conftest.err conftest.$ac_objext \
21835 conftest$ac_exeext conftest.$ac_ext
21836 fi
21837
21838 fi
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21840 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21841 if test $glibcxx_cv_TMPNAM = yes; then
21842
21843 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21844
21845 fi
21846 CXXFLAGS="$ac_save_CXXFLAGS"
21847 ac_ext=c
21848 ac_cpp='$CPP $CPPFLAGS'
21849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21852
21853
21854
21855 # For pthread_cond_clockwait
21856
21857
21858
21859 ac_ext=cpp
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21864
21865 ac_save_CXXFLAGS="$CXXFLAGS"
21866 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21867 ac_save_LIBS="$LIBS"
21868 LIBS="$LIBS -lpthread"
21869
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21871 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21872 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21873 $as_echo_n "(cached) " >&6
21874 else
21875
21876 if test x$gcc_no_link = xyes; then
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879 #include <pthread.h>
21880 int
21881 main ()
21882 {
21883 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21884 ;
21885 return 0;
21886 }
21887 _ACEOF
21888 if ac_fn_cxx_try_compile "$LINENO"; then :
21889 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21890 else
21891 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21892 fi
21893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21894 else
21895 if test x$gcc_no_link = xyes; then
21896 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21897 fi
21898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21899 /* end confdefs.h. */
21900 #include <pthread.h>
21901 int
21902 main ()
21903 {
21904 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21905 ;
21906 return 0;
21907 }
21908 _ACEOF
21909 if ac_fn_cxx_try_link "$LINENO"; then :
21910 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21911 else
21912 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21913 fi
21914 rm -f core conftest.err conftest.$ac_objext \
21915 conftest$ac_exeext conftest.$ac_ext
21916 fi
21917
21918 fi
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21920 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21921 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21922
21923 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21924
21925 fi
21926
21927 CXXFLAGS="$ac_save_CXXFLAGS"
21928 LIBS="$ac_save_LIBS"
21929 ac_ext=c
21930 ac_cpp='$CPP $CPPFLAGS'
21931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21934
21935
21936
21937 # For pthread_mutex_clocklock
21938
21939
21940
21941 ac_ext=cpp
21942 ac_cpp='$CXXCPP $CPPFLAGS'
21943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21946
21947 ac_save_CXXFLAGS="$CXXFLAGS"
21948 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21949 ac_save_LIBS="$LIBS"
21950 LIBS="$LIBS -lpthread"
21951
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21953 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21954 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21955 $as_echo_n "(cached) " >&6
21956 else
21957
21958 if test x$gcc_no_link = xyes; then
21959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21960 /* end confdefs.h. */
21961 #include <pthread.h>
21962 int
21963 main ()
21964 {
21965 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21966 ;
21967 return 0;
21968 }
21969 _ACEOF
21970 if ac_fn_cxx_try_compile "$LINENO"; then :
21971 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21972 else
21973 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21974 fi
21975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21976 else
21977 if test x$gcc_no_link = xyes; then
21978 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21979 fi
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982 #include <pthread.h>
21983 int
21984 main ()
21985 {
21986 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21987 ;
21988 return 0;
21989 }
21990 _ACEOF
21991 if ac_fn_cxx_try_link "$LINENO"; then :
21992 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21993 else
21994 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21995 fi
21996 rm -f core conftest.err conftest.$ac_objext \
21997 conftest$ac_exeext conftest.$ac_ext
21998 fi
21999
22000 fi
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22002 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22003 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
22004
22005 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
22006
22007 fi
22008
22009 CXXFLAGS="$ac_save_CXXFLAGS"
22010 LIBS="$ac_save_LIBS"
22011 ac_ext=c
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22016
22017
22018
22019 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22020
22021
22022
22023 ac_ext=cpp
22024 ac_cpp='$CXXCPP $CPPFLAGS'
22025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22028
22029 ac_save_CXXFLAGS="$CXXFLAGS"
22030 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22031 ac_save_LIBS="$LIBS"
22032 LIBS="$LIBS -lpthread"
22033
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22035 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22036 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22037 $as_echo_n "(cached) " >&6
22038 else
22039
22040 if test x$gcc_no_link = xyes; then
22041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22042 /* end confdefs.h. */
22043 #include <pthread.h>
22044 int
22045 main ()
22046 {
22047 pthread_rwlock_t rwl; struct timespec ts;
22048 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22049 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22050 ;
22051 return 0;
22052 }
22053 _ACEOF
22054 if ac_fn_cxx_try_compile "$LINENO"; then :
22055 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22056 else
22057 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22058 fi
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 else
22061 if test x$gcc_no_link = xyes; then
22062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22063 fi
22064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22065 /* end confdefs.h. */
22066 #include <pthread.h>
22067 int
22068 main ()
22069 {
22070 pthread_rwlock_t rwl; struct timespec ts;
22071 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22072 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22073 ;
22074 return 0;
22075 }
22076 _ACEOF
22077 if ac_fn_cxx_try_link "$LINENO"; then :
22078 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22079 else
22080 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22081 fi
22082 rm -f core conftest.err conftest.$ac_objext \
22083 conftest$ac_exeext conftest.$ac_ext
22084 fi
22085
22086 fi
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22088 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22089 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22090
22091 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22092
22093 fi
22094
22095 CXXFLAGS="$ac_save_CXXFLAGS"
22096 LIBS="$ac_save_LIBS"
22097 ac_ext=c
22098 ac_cpp='$CPP $CPPFLAGS'
22099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22102
22103
22104
22105
22106 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22107 if test "x$ac_cv_header_locale_h" = xyes; then :
22108
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22110 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22111 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22112 $as_echo_n "(cached) " >&6
22113 else
22114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22115 /* end confdefs.h. */
22116 #include <locale.h>
22117 int
22118 main ()
22119 {
22120 return LC_MESSAGES
22121 ;
22122 return 0;
22123 }
22124 _ACEOF
22125 if ac_fn_c_try_compile "$LINENO"; then :
22126 ac_cv_val_LC_MESSAGES=yes
22127 else
22128 ac_cv_val_LC_MESSAGES=no
22129 fi
22130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22131 fi
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22133 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22134 if test $ac_cv_val_LC_MESSAGES = yes; then
22135
22136 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22137
22138 fi
22139
22140 fi
22141
22142
22143
22144
22145 # For hardware_concurrency
22146 for ac_header in sys/sysinfo.h
22147 do :
22148 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22149 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22150 cat >>confdefs.h <<_ACEOF
22151 #define HAVE_SYS_SYSINFO_H 1
22152 _ACEOF
22153
22154 fi
22155
22156 done
22157
22158
22159
22160
22161 ac_ext=cpp
22162 ac_cpp='$CXXCPP $CPPFLAGS'
22163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22166
22167 ac_save_CXXFLAGS="$CXXFLAGS"
22168 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22169
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22171 $as_echo_n "checking for get_nprocs... " >&6; }
22172 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22173 $as_echo_n "(cached) " >&6
22174 else
22175
22176 if test x$gcc_no_link = xyes; then
22177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22178 /* end confdefs.h. */
22179 #include <sys/sysinfo.h>
22180 int
22181 main ()
22182 {
22183 int n = get_nprocs();
22184 ;
22185 return 0;
22186 }
22187 _ACEOF
22188 if ac_fn_cxx_try_compile "$LINENO"; then :
22189 glibcxx_cv_GET_NPROCS=yes
22190 else
22191 glibcxx_cv_GET_NPROCS=no
22192 fi
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 else
22195 if test x$gcc_no_link = xyes; then
22196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22197 fi
22198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22199 /* end confdefs.h. */
22200 #include <sys/sysinfo.h>
22201 int
22202 main ()
22203 {
22204 int n = get_nprocs();
22205 ;
22206 return 0;
22207 }
22208 _ACEOF
22209 if ac_fn_cxx_try_link "$LINENO"; then :
22210 glibcxx_cv_GET_NPROCS=yes
22211 else
22212 glibcxx_cv_GET_NPROCS=no
22213 fi
22214 rm -f core conftest.err conftest.$ac_objext \
22215 conftest$ac_exeext conftest.$ac_ext
22216 fi
22217
22218 fi
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22220 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22221 if test $glibcxx_cv_GET_NPROCS = yes; then
22222
22223 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22224
22225 fi
22226
22227 CXXFLAGS="$ac_save_CXXFLAGS"
22228 ac_ext=c
22229 ac_cpp='$CPP $CPPFLAGS'
22230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22233
22234
22235 for ac_header in unistd.h
22236 do :
22237 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22238 if test "x$ac_cv_header_unistd_h" = xyes; then :
22239 cat >>confdefs.h <<_ACEOF
22240 #define HAVE_UNISTD_H 1
22241 _ACEOF
22242
22243 fi
22244
22245 done
22246
22247
22248
22249
22250 ac_ext=cpp
22251 ac_cpp='$CXXCPP $CPPFLAGS'
22252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22255
22256 ac_save_CXXFLAGS="$CXXFLAGS"
22257 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22258
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22260 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22261 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22262 $as_echo_n "(cached) " >&6
22263 else
22264
22265 if test x$gcc_no_link = xyes; then
22266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22268 #include <unistd.h>
22269 int
22270 main ()
22271 {
22272 int n = sysconf(_SC_NPROCESSORS_ONLN);
22273 ;
22274 return 0;
22275 }
22276 _ACEOF
22277 if ac_fn_cxx_try_compile "$LINENO"; then :
22278 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22279 else
22280 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22281 fi
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 else
22284 if test x$gcc_no_link = xyes; then
22285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22286 fi
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <unistd.h>
22290 int
22291 main ()
22292 {
22293 int n = sysconf(_SC_NPROCESSORS_ONLN);
22294 ;
22295 return 0;
22296 }
22297 _ACEOF
22298 if ac_fn_cxx_try_link "$LINENO"; then :
22299 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22300 else
22301 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22302 fi
22303 rm -f core conftest.err conftest.$ac_objext \
22304 conftest$ac_exeext conftest.$ac_ext
22305 fi
22306
22307 fi
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22309 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22310 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22311
22312 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22313
22314 fi
22315
22316 CXXFLAGS="$ac_save_CXXFLAGS"
22317 ac_ext=c
22318 ac_cpp='$CPP $CPPFLAGS'
22319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22322
22323
22324
22325
22326
22327 ac_ext=cpp
22328 ac_cpp='$CXXCPP $CPPFLAGS'
22329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22332
22333 ac_save_CXXFLAGS="$CXXFLAGS"
22334 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22335
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22337 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22338 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22341
22342 if test x$gcc_no_link = xyes; then
22343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22345 #include <unistd.h>
22346 int
22347 main ()
22348 {
22349 int n = sysconf(_SC_NPROC_ONLN);
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_SC_NPROC_ONLN=yes
22356 else
22357 glibcxx_cv_SC_NPROC_ONLN=no
22358 fi
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 else
22361 if test x$gcc_no_link = xyes; then
22362 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22363 fi
22364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h. */
22366 #include <unistd.h>
22367 int
22368 main ()
22369 {
22370 int n = sysconf(_SC_NPROC_ONLN);
22371 ;
22372 return 0;
22373 }
22374 _ACEOF
22375 if ac_fn_cxx_try_link "$LINENO"; then :
22376 glibcxx_cv_SC_NPROC_ONLN=yes
22377 else
22378 glibcxx_cv_SC_NPROC_ONLN=no
22379 fi
22380 rm -f core conftest.err conftest.$ac_objext \
22381 conftest$ac_exeext conftest.$ac_ext
22382 fi
22383
22384 fi
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22386 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22387 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22388
22389 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22390
22391 fi
22392
22393 CXXFLAGS="$ac_save_CXXFLAGS"
22394 ac_ext=c
22395 ac_cpp='$CPP $CPPFLAGS'
22396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22399
22400
22401
22402
22403
22404 ac_ext=cpp
22405 ac_cpp='$CXXCPP $CPPFLAGS'
22406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22409
22410 ac_save_CXXFLAGS="$CXXFLAGS"
22411 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22412
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22414 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22415 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22418
22419 if test x$gcc_no_link = xyes; then
22420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22422 #include <pthread.h>
22423 int
22424 main ()
22425 {
22426 int n = pthread_num_processors_np();
22427 ;
22428 return 0;
22429 }
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22433 else
22434 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22435 fi
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 else
22438 if test x$gcc_no_link = xyes; then
22439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22440 fi
22441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22442 /* end confdefs.h. */
22443 #include <pthread.h>
22444 int
22445 main ()
22446 {
22447 int n = pthread_num_processors_np();
22448 ;
22449 return 0;
22450 }
22451 _ACEOF
22452 if ac_fn_cxx_try_link "$LINENO"; then :
22453 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22454 else
22455 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22456 fi
22457 rm -f core conftest.err conftest.$ac_objext \
22458 conftest$ac_exeext conftest.$ac_ext
22459 fi
22460
22461 fi
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22463 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22464 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22465
22466 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22467
22468 fi
22469
22470 CXXFLAGS="$ac_save_CXXFLAGS"
22471 ac_ext=c
22472 ac_cpp='$CPP $CPPFLAGS'
22473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22476
22477
22478
22479
22480
22481 ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486
22487 ac_save_CXXFLAGS="$CXXFLAGS"
22488 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22489
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22491 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22492 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22493 $as_echo_n "(cached) " >&6
22494 else
22495
22496 if test x$gcc_no_link = xyes; then
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22499
22500 #include <stddef.h>
22501 #include <sys/sysctl.h>
22502
22503 int
22504 main ()
22505 {
22506
22507 int count;
22508 size_t size = sizeof(count);
22509 int mib[] = { CTL_HW, HW_NCPU };
22510 sysctl(mib, 2, &count, &size, NULL, 0);
22511
22512 ;
22513 return 0;
22514 }
22515 _ACEOF
22516 if ac_fn_cxx_try_compile "$LINENO"; then :
22517 glibcxx_cv_SYSCTL_HW_NCPU=yes
22518 else
22519 glibcxx_cv_SYSCTL_HW_NCPU=no
22520 fi
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 else
22523 if test x$gcc_no_link = xyes; then
22524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22525 fi
22526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22527 /* end confdefs.h. */
22528
22529 #include <stddef.h>
22530 #include <sys/sysctl.h>
22531
22532 int
22533 main ()
22534 {
22535
22536 int count;
22537 size_t size = sizeof(count);
22538 int mib[] = { CTL_HW, HW_NCPU };
22539 sysctl(mib, 2, &count, &size, NULL, 0);
22540
22541 ;
22542 return 0;
22543 }
22544 _ACEOF
22545 if ac_fn_cxx_try_link "$LINENO"; then :
22546 glibcxx_cv_SYSCTL_HW_NCPU=yes
22547 else
22548 glibcxx_cv_SYSCTL_HW_NCPU=no
22549 fi
22550 rm -f core conftest.err conftest.$ac_objext \
22551 conftest$ac_exeext conftest.$ac_ext
22552 fi
22553
22554 fi
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22556 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22557 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22558
22559 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22560
22561 fi
22562
22563 CXXFLAGS="$ac_save_CXXFLAGS"
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22569
22570
22571
22572 # Note that this test has to be run with the C language.
22573 # Otherwise, sdt.h will try to include some headers from
22574 # libstdc++ itself.
22575
22576 ac_ext=c
22577 ac_cpp='$CPP $CPPFLAGS'
22578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22581
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22583 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22584 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22585 $as_echo_n "(cached) " >&6
22586 else
22587
22588 # Because we have to run the test in C, we use grep rather
22589 # than the compiler to check for the bug. The bug is that
22590 # were strings without trailing whitespace, causing g++
22591 # to look for operator"". The pattern searches for the fixed
22592 # output.
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22595
22596 #include <sys/sdt.h>
22597 int f() { STAP_PROBE(hi, bob); }
22598
22599 _ACEOF
22600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22601 $EGREP " \",\" " >/dev/null 2>&1; then :
22602 glibcxx_cv_sys_sdt_h=yes
22603 else
22604 glibcxx_cv_sys_sdt_h=no
22605 fi
22606 rm -f conftest*
22607
22608
22609 fi
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22611 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22612 ac_ext=c
22613 ac_cpp='$CPP $CPPFLAGS'
22614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617
22618 if test $glibcxx_cv_sys_sdt_h = yes; then
22619
22620 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22621
22622 fi
22623
22624
22625 # Check for available headers.
22626 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22627 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22628 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22629 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22630 wchar.h wctype.h linux/types.h
22631 do :
22632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22633 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22634 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22635 cat >>confdefs.h <<_ACEOF
22636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22637 _ACEOF
22638
22639 fi
22640
22641 done
22642
22643
22644 for ac_header in linux/random.h
22645 do :
22646 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22647 # include <linux/types.h>
22648 #endif
22649
22650 "
22651 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22652 cat >>confdefs.h <<_ACEOF
22653 #define HAVE_LINUX_RANDOM_H 1
22654 _ACEOF
22655
22656 fi
22657
22658 done
22659
22660
22661 for ac_header in xlocale.h
22662 do :
22663 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22664 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22665 cat >>confdefs.h <<_ACEOF
22666 #define HAVE_XLOCALE_H 1
22667 _ACEOF
22668
22669 fi
22670
22671 done
22672
22673
22674 # Only do link tests if native. Else, hardcode.
22675 if $GLIBCXX_IS_NATIVE; then
22676
22677 # We can do more elaborate tests that assume a working linker.
22678 CANADIAN=no
22679
22680
22681
22682 # Check whether --with-gnu-ld was given.
22683 if test "${with_gnu_ld+set}" = set; then :
22684 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22685 else
22686 with_gnu_ld=no
22687 fi
22688
22689 ac_prog=ld
22690 if test "$GCC" = yes; then
22691 # Check if gcc -print-prog-name=ld gives a path.
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22693 $as_echo_n "checking for ld used by $CC... " >&6; }
22694 case $host in
22695 *-*-mingw*)
22696 # gcc leaves a trailing carriage return which upsets mingw
22697 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22698 *)
22699 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22700 esac
22701 case $ac_prog in
22702 # Accept absolute paths.
22703 [\\/]* | ?:[\\/]*)
22704 re_direlt='/[^/][^/]*/\.\./'
22705 # Canonicalize the pathname of ld
22706 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22707 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22708 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22709 done
22710 test -z "$LD" && LD="$ac_prog"
22711 ;;
22712 "")
22713 # If it fails, then pretend we aren't using GCC.
22714 ac_prog=ld
22715 ;;
22716 *)
22717 # If it is relative, then search for the first ld in PATH.
22718 with_gnu_ld=unknown
22719 ;;
22720 esac
22721 elif test "$with_gnu_ld" = yes; then
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22723 $as_echo_n "checking for GNU ld... " >&6; }
22724 else
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22726 $as_echo_n "checking for non-GNU ld... " >&6; }
22727 fi
22728 if ${lt_cv_path_LD+:} false; then :
22729 $as_echo_n "(cached) " >&6
22730 else
22731 if test -z "$LD"; then
22732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22733 for ac_dir in $PATH; do
22734 IFS="$lt_save_ifs"
22735 test -z "$ac_dir" && ac_dir=.
22736 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22737 lt_cv_path_LD="$ac_dir/$ac_prog"
22738 # Check to see if the program is GNU ld. I'd rather use --version,
22739 # but apparently some variants of GNU ld only accept -v.
22740 # Break only if it was the GNU/non-GNU ld that we prefer.
22741 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22742 *GNU* | *'with BFD'*)
22743 test "$with_gnu_ld" != no && break
22744 ;;
22745 *)
22746 test "$with_gnu_ld" != yes && break
22747 ;;
22748 esac
22749 fi
22750 done
22751 IFS="$lt_save_ifs"
22752 else
22753 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22754 fi
22755 fi
22756
22757 LD="$lt_cv_path_LD"
22758 if test -n "$LD"; then
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22760 $as_echo "$LD" >&6; }
22761 else
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22763 $as_echo "no" >&6; }
22764 fi
22765 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22767 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22768 if ${lt_cv_prog_gnu_ld+:} false; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22771 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22772 case `$LD -v 2>&1 </dev/null` in
22773 *GNU* | *'with BFD'*)
22774 lt_cv_prog_gnu_ld=yes
22775 ;;
22776 *)
22777 lt_cv_prog_gnu_ld=no
22778 ;;
22779 esac
22780 fi
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22782 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22783 with_gnu_ld=$lt_cv_prog_gnu_ld
22784
22785
22786
22787
22788
22789
22790
22791 # If we're not using GNU ld, then there's no point in even trying these
22792 # tests. Check for that first. We should have already tested for gld
22793 # by now (in libtool), but require it now just to be safe...
22794 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22795 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22796
22797
22798
22799 # The name set by libtool depends on the version of libtool. Shame on us
22800 # for depending on an impl detail, but c'est la vie. Older versions used
22801 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22802 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22803 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22804 # set (hence we're using an older libtool), then set it.
22805 if test x${with_gnu_ld+set} != xset; then
22806 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22807 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22808 with_gnu_ld=no
22809 else
22810 with_gnu_ld=$ac_cv_prog_gnu_ld
22811 fi
22812 fi
22813
22814 # Start by getting the version number. I think the libtool test already
22815 # does some of this, but throws away the result.
22816 glibcxx_ld_is_gold=no
22817 glibcxx_ld_is_mold=no
22818 if test x"$with_gnu_ld" = x"yes"; then
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22820 $as_echo_n "checking for ld version... " >&6; }
22821
22822 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22823 glibcxx_ld_is_gold=yes
22824 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22825 glibcxx_ld_is_mold=yes
22826 fi
22827 ldver=`$LD --version 2>/dev/null |
22828 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22829
22830 glibcxx_gnu_ld_version=`echo $ldver | \
22831 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22833 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22834 fi
22835
22836 # Set --gc-sections.
22837 glibcxx_have_gc_sections=no
22838 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22839 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22840 glibcxx_have_gc_sections=yes
22841 fi
22842 else
22843 glibcxx_gcsections_min_ld=21602
22844 if test x"$with_gnu_ld" = x"yes" &&
22845 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22846 glibcxx_have_gc_sections=yes
22847 fi
22848 fi
22849 if test "$glibcxx_have_gc_sections" = "yes"; then
22850 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22851 # NB: This flag only works reliably after 2.16.1. Configure tests
22852 # for this are difficult, so hard wire a value that should work.
22853
22854 ac_test_CFLAGS="${CFLAGS+set}"
22855 ac_save_CFLAGS="$CFLAGS"
22856 CFLAGS='-Wl,--gc-sections'
22857
22858 # Check for -Wl,--gc-sections
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22860 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22861 if test x$gcc_no_link = xyes; then
22862 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22863 fi
22864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22865 /* end confdefs.h. */
22866 int one(void) { return 1; }
22867 int two(void) { return 2; }
22868
22869 int
22870 main ()
22871 {
22872 two();
22873 ;
22874 return 0;
22875 }
22876 _ACEOF
22877 if ac_fn_c_try_link "$LINENO"; then :
22878 ac_gcsections=yes
22879 else
22880 ac_gcsections=no
22881 fi
22882 rm -f core conftest.err conftest.$ac_objext \
22883 conftest$ac_exeext conftest.$ac_ext
22884 if test "$ac_gcsections" = "yes"; then
22885 rm -f conftest.c
22886 touch conftest.c
22887 if $CC -c conftest.c; then
22888 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22889 grep "Warning: gc-sections option ignored" > /dev/null; then
22890 ac_gcsections=no
22891 fi
22892 fi
22893 rm -f conftest.c conftest.o conftest
22894 fi
22895 if test "$ac_gcsections" = "yes"; then
22896 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22897 fi
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22899 $as_echo "$ac_gcsections" >&6; }
22900
22901 if test "$ac_test_CFLAGS" = set; then
22902 CFLAGS="$ac_save_CFLAGS"
22903 else
22904 # this is the suspicious part
22905 CFLAGS=''
22906 fi
22907 fi
22908
22909 # Set -z,relro.
22910 # Note this is only for shared objects.
22911 ac_ld_relro=no
22912 if test x"$with_gnu_ld" = x"yes"; then
22913 # cygwin and mingw uses PE, which has no ELF relro support,
22914 # multi target ld may confuse configure machinery
22915 case "$host" in
22916 *-*-cygwin*)
22917 ;;
22918 *-*-mingw*)
22919 ;;
22920 *)
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22922 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22923 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22924 if test -n "$cxx_z_relo"; then
22925 OPT_LDFLAGS="-Wl,-z,relro"
22926 ac_ld_relro=yes
22927 fi
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22929 $as_echo "$ac_ld_relro" >&6; }
22930 esac
22931 fi
22932
22933 # Set linker optimization flags.
22934 if test x"$with_gnu_ld" = x"yes"; then
22935 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22936 fi
22937
22938
22939
22940
22941
22942 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22943 ac_save_CXXFLAGS="$CXXFLAGS"
22944 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22945
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22947 $as_echo_n "checking for sin in -lm... " >&6; }
22948 if ${ac_cv_lib_m_sin+:} false; then :
22949 $as_echo_n "(cached) " >&6
22950 else
22951 ac_check_lib_save_LIBS=$LIBS
22952 LIBS="-lm $LIBS"
22953 if test x$gcc_no_link = xyes; then
22954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22955 fi
22956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h. */
22958
22959 /* Override any GCC internal prototype to avoid an error.
22960 Use char because int might match the return type of a GCC
22961 builtin and then its argument prototype would still apply. */
22962 #ifdef __cplusplus
22963 extern "C"
22964 #endif
22965 char sin ();
22966 int
22967 main ()
22968 {
22969 return sin ();
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 if ac_fn_c_try_link "$LINENO"; then :
22975 ac_cv_lib_m_sin=yes
22976 else
22977 ac_cv_lib_m_sin=no
22978 fi
22979 rm -f core conftest.err conftest.$ac_objext \
22980 conftest$ac_exeext conftest.$ac_ext
22981 LIBS=$ac_check_lib_save_LIBS
22982 fi
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22984 $as_echo "$ac_cv_lib_m_sin" >&6; }
22985 if test "x$ac_cv_lib_m_sin" = xyes; then :
22986 libm="-lm"
22987 fi
22988
22989 ac_save_LIBS="$LIBS"
22990 LIBS="$LIBS $libm"
22991
22992
22993
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22995 $as_echo_n "checking for isinf declaration... " >&6; }
22996 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22997 if ${glibcxx_cv_func_isinf_use+:} false; then :
22998 $as_echo_n "(cached) " >&6
22999 else
23000
23001
23002 ac_ext=cpp
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23007
23008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23009 /* end confdefs.h. */
23010 #include <math.h>
23011 #ifdef HAVE_IEEEFP_H
23012 #include <ieeefp.h>
23013 #endif
23014
23015 int
23016 main ()
23017 {
23018 isinf(0);
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 if ac_fn_cxx_try_compile "$LINENO"; then :
23024 glibcxx_cv_func_isinf_use=yes
23025 else
23026 glibcxx_cv_func_isinf_use=no
23027 fi
23028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23029 ac_ext=c
23030 ac_cpp='$CPP $CPPFLAGS'
23031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23034
23035
23036 fi
23037
23038 fi
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23040 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23041
23042 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23043 for ac_func in isinf
23044 do :
23045 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23046 if test "x$ac_cv_func_isinf" = xyes; then :
23047 cat >>confdefs.h <<_ACEOF
23048 #define HAVE_ISINF 1
23049 _ACEOF
23050
23051 fi
23052 done
23053
23054 else
23055
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23057 $as_echo_n "checking for _isinf declaration... " >&6; }
23058 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23059 if ${glibcxx_cv_func__isinf_use+:} false; then :
23060 $as_echo_n "(cached) " >&6
23061 else
23062
23063
23064 ac_ext=cpp
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069
23070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23071 /* end confdefs.h. */
23072 #include <math.h>
23073 #ifdef HAVE_IEEEFP_H
23074 #include <ieeefp.h>
23075 #endif
23076
23077 int
23078 main ()
23079 {
23080 _isinf(0);
23081 ;
23082 return 0;
23083 }
23084 _ACEOF
23085 if ac_fn_cxx_try_compile "$LINENO"; then :
23086 glibcxx_cv_func__isinf_use=yes
23087 else
23088 glibcxx_cv_func__isinf_use=no
23089 fi
23090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23091 ac_ext=c
23092 ac_cpp='$CPP $CPPFLAGS'
23093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23096
23097
23098 fi
23099
23100 fi
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23102 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23103
23104 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23105 for ac_func in _isinf
23106 do :
23107 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23108 if test "x$ac_cv_func__isinf" = xyes; then :
23109 cat >>confdefs.h <<_ACEOF
23110 #define HAVE__ISINF 1
23111 _ACEOF
23112
23113 fi
23114 done
23115
23116 fi
23117 fi
23118
23119
23120
23121
23122
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23124 $as_echo_n "checking for isnan declaration... " >&6; }
23125 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23126 if ${glibcxx_cv_func_isnan_use+:} false; then :
23127 $as_echo_n "(cached) " >&6
23128 else
23129
23130
23131 ac_ext=cpp
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136
23137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h. */
23139 #include <math.h>
23140 #ifdef HAVE_IEEEFP_H
23141 #include <ieeefp.h>
23142 #endif
23143
23144 int
23145 main ()
23146 {
23147 isnan(0);
23148 ;
23149 return 0;
23150 }
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153 glibcxx_cv_func_isnan_use=yes
23154 else
23155 glibcxx_cv_func_isnan_use=no
23156 fi
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23163
23164
23165 fi
23166
23167 fi
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23169 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23170
23171 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23172 for ac_func in isnan
23173 do :
23174 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23175 if test "x$ac_cv_func_isnan" = xyes; then :
23176 cat >>confdefs.h <<_ACEOF
23177 #define HAVE_ISNAN 1
23178 _ACEOF
23179
23180 fi
23181 done
23182
23183 else
23184
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23186 $as_echo_n "checking for _isnan declaration... " >&6; }
23187 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23188 if ${glibcxx_cv_func__isnan_use+:} false; then :
23189 $as_echo_n "(cached) " >&6
23190 else
23191
23192
23193 ac_ext=cpp
23194 ac_cpp='$CXXCPP $CPPFLAGS'
23195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23198
23199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23200 /* end confdefs.h. */
23201 #include <math.h>
23202 #ifdef HAVE_IEEEFP_H
23203 #include <ieeefp.h>
23204 #endif
23205
23206 int
23207 main ()
23208 {
23209 _isnan(0);
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 if ac_fn_cxx_try_compile "$LINENO"; then :
23215 glibcxx_cv_func__isnan_use=yes
23216 else
23217 glibcxx_cv_func__isnan_use=no
23218 fi
23219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23220 ac_ext=c
23221 ac_cpp='$CPP $CPPFLAGS'
23222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23225
23226
23227 fi
23228
23229 fi
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23231 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23232
23233 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23234 for ac_func in _isnan
23235 do :
23236 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23237 if test "x$ac_cv_func__isnan" = xyes; then :
23238 cat >>confdefs.h <<_ACEOF
23239 #define HAVE__ISNAN 1
23240 _ACEOF
23241
23242 fi
23243 done
23244
23245 fi
23246 fi
23247
23248
23249
23250
23251
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23253 $as_echo_n "checking for finite declaration... " >&6; }
23254 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23255 if ${glibcxx_cv_func_finite_use+:} false; then :
23256 $as_echo_n "(cached) " >&6
23257 else
23258
23259
23260 ac_ext=cpp
23261 ac_cpp='$CXXCPP $CPPFLAGS'
23262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23265
23266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 #ifdef HAVE_IEEEFP_H
23270 #include <ieeefp.h>
23271 #endif
23272
23273 int
23274 main ()
23275 {
23276 finite(0);
23277 ;
23278 return 0;
23279 }
23280 _ACEOF
23281 if ac_fn_cxx_try_compile "$LINENO"; then :
23282 glibcxx_cv_func_finite_use=yes
23283 else
23284 glibcxx_cv_func_finite_use=no
23285 fi
23286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23287 ac_ext=c
23288 ac_cpp='$CPP $CPPFLAGS'
23289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23292
23293
23294 fi
23295
23296 fi
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23298 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23299
23300 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23301 for ac_func in finite
23302 do :
23303 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23304 if test "x$ac_cv_func_finite" = xyes; then :
23305 cat >>confdefs.h <<_ACEOF
23306 #define HAVE_FINITE 1
23307 _ACEOF
23308
23309 fi
23310 done
23311
23312 else
23313
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23315 $as_echo_n "checking for _finite declaration... " >&6; }
23316 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23317 if ${glibcxx_cv_func__finite_use+:} false; then :
23318 $as_echo_n "(cached) " >&6
23319 else
23320
23321
23322 ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h. */
23330 #include <math.h>
23331 #ifdef HAVE_IEEEFP_H
23332 #include <ieeefp.h>
23333 #endif
23334
23335 int
23336 main ()
23337 {
23338 _finite(0);
23339 ;
23340 return 0;
23341 }
23342 _ACEOF
23343 if ac_fn_cxx_try_compile "$LINENO"; then :
23344 glibcxx_cv_func__finite_use=yes
23345 else
23346 glibcxx_cv_func__finite_use=no
23347 fi
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23349 ac_ext=c
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23354
23355
23356 fi
23357
23358 fi
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23360 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23361
23362 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23363 for ac_func in _finite
23364 do :
23365 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23366 if test "x$ac_cv_func__finite" = xyes; then :
23367 cat >>confdefs.h <<_ACEOF
23368 #define HAVE__FINITE 1
23369 _ACEOF
23370
23371 fi
23372 done
23373
23374 fi
23375 fi
23376
23377
23378
23379
23380
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23382 $as_echo_n "checking for sincos declaration... " >&6; }
23383 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23384 if ${glibcxx_cv_func_sincos_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 sincos(0, 0, 0);
23402 ;
23403 return 0;
23404 }
23405 _ACEOF
23406 if ac_fn_cxx_try_compile "$LINENO"; then :
23407 glibcxx_cv_func_sincos_use=yes
23408 else
23409 glibcxx_cv_func_sincos_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
23419 fi
23420
23421 fi
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23423 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23424
23425 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23426 for ac_func in sincos
23427 do :
23428 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23429 if test "x$ac_cv_func_sincos" = xyes; then :
23430 cat >>confdefs.h <<_ACEOF
23431 #define HAVE_SINCOS 1
23432 _ACEOF
23433
23434 fi
23435 done
23436
23437 else
23438
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23440 $as_echo_n "checking for _sincos declaration... " >&6; }
23441 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23442 if ${glibcxx_cv_func__sincos_use+:} false; then :
23443 $as_echo_n "(cached) " >&6
23444 else
23445
23446
23447 ac_ext=cpp
23448 ac_cpp='$CXXCPP $CPPFLAGS'
23449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23452
23453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23454 /* end confdefs.h. */
23455 #include <math.h>
23456 int
23457 main ()
23458 {
23459 _sincos(0, 0, 0);
23460 ;
23461 return 0;
23462 }
23463 _ACEOF
23464 if ac_fn_cxx_try_compile "$LINENO"; then :
23465 glibcxx_cv_func__sincos_use=yes
23466 else
23467 glibcxx_cv_func__sincos_use=no
23468 fi
23469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23470 ac_ext=c
23471 ac_cpp='$CPP $CPPFLAGS'
23472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23475
23476
23477 fi
23478
23479 fi
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23481 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23482
23483 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23484 for ac_func in _sincos
23485 do :
23486 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23487 if test "x$ac_cv_func__sincos" = xyes; then :
23488 cat >>confdefs.h <<_ACEOF
23489 #define HAVE__SINCOS 1
23490 _ACEOF
23491
23492 fi
23493 done
23494
23495 fi
23496 fi
23497
23498
23499
23500
23501
23502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23503 $as_echo_n "checking for fpclass declaration... " >&6; }
23504 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23505 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23506 $as_echo_n "(cached) " >&6
23507 else
23508
23509
23510 ac_ext=cpp
23511 ac_cpp='$CXXCPP $CPPFLAGS'
23512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23515
23516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23517 /* end confdefs.h. */
23518 #include <math.h>
23519 #ifdef HAVE_IEEEFP_H
23520 #include <ieeefp.h>
23521 #endif
23522
23523 int
23524 main ()
23525 {
23526 fpclass(0);
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 if ac_fn_cxx_try_compile "$LINENO"; then :
23532 glibcxx_cv_func_fpclass_use=yes
23533 else
23534 glibcxx_cv_func_fpclass_use=no
23535 fi
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 ac_ext=c
23538 ac_cpp='$CPP $CPPFLAGS'
23539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23542
23543
23544 fi
23545
23546 fi
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23548 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23549
23550 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23551 for ac_func in fpclass
23552 do :
23553 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23554 if test "x$ac_cv_func_fpclass" = xyes; then :
23555 cat >>confdefs.h <<_ACEOF
23556 #define HAVE_FPCLASS 1
23557 _ACEOF
23558
23559 fi
23560 done
23561
23562 else
23563
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23565 $as_echo_n "checking for _fpclass declaration... " >&6; }
23566 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23567 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23568 $as_echo_n "(cached) " >&6
23569 else
23570
23571
23572 ac_ext=cpp
23573 ac_cpp='$CXXCPP $CPPFLAGS'
23574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577
23578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23579 /* end confdefs.h. */
23580 #include <math.h>
23581 #ifdef HAVE_IEEEFP_H
23582 #include <ieeefp.h>
23583 #endif
23584
23585 int
23586 main ()
23587 {
23588 _fpclass(0);
23589 ;
23590 return 0;
23591 }
23592 _ACEOF
23593 if ac_fn_cxx_try_compile "$LINENO"; then :
23594 glibcxx_cv_func__fpclass_use=yes
23595 else
23596 glibcxx_cv_func__fpclass_use=no
23597 fi
23598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599 ac_ext=c
23600 ac_cpp='$CPP $CPPFLAGS'
23601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23604
23605
23606 fi
23607
23608 fi
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23610 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23611
23612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23613 for ac_func in _fpclass
23614 do :
23615 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23616 if test "x$ac_cv_func__fpclass" = xyes; then :
23617 cat >>confdefs.h <<_ACEOF
23618 #define HAVE__FPCLASS 1
23619 _ACEOF
23620
23621 fi
23622 done
23623
23624 fi
23625 fi
23626
23627
23628
23629
23630
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23632 $as_echo_n "checking for qfpclass declaration... " >&6; }
23633 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23634 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23637
23638
23639 ac_ext=cpp
23640 ac_cpp='$CXXCPP $CPPFLAGS'
23641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23647 #include <math.h>
23648 #ifdef HAVE_IEEEFP_H
23649 #include <ieeefp.h>
23650 #endif
23651
23652 int
23653 main ()
23654 {
23655 qfpclass(0);
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func_qfpclass_use=yes
23662 else
23663 glibcxx_cv_func_qfpclass_use=no
23664 fi
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23671
23672
23673 fi
23674
23675 fi
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23677 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23678
23679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23680 for ac_func in qfpclass
23681 do :
23682 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23683 if test "x$ac_cv_func_qfpclass" = xyes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_QFPCLASS 1
23686 _ACEOF
23687
23688 fi
23689 done
23690
23691 else
23692
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23694 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23695 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23696 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23697 $as_echo_n "(cached) " >&6
23698 else
23699
23700
23701 ac_ext=cpp
23702 ac_cpp='$CXXCPP $CPPFLAGS'
23703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23706
23707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708 /* end confdefs.h. */
23709 #include <math.h>
23710 #ifdef HAVE_IEEEFP_H
23711 #include <ieeefp.h>
23712 #endif
23713
23714 int
23715 main ()
23716 {
23717 _qfpclass(0);
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 if ac_fn_cxx_try_compile "$LINENO"; then :
23723 glibcxx_cv_func__qfpclass_use=yes
23724 else
23725 glibcxx_cv_func__qfpclass_use=no
23726 fi
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 ac_ext=c
23729 ac_cpp='$CPP $CPPFLAGS'
23730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23733
23734
23735 fi
23736
23737 fi
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23739 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23740
23741 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23742 for ac_func in _qfpclass
23743 do :
23744 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23745 if test "x$ac_cv_func__qfpclass" = xyes; then :
23746 cat >>confdefs.h <<_ACEOF
23747 #define HAVE__QFPCLASS 1
23748 _ACEOF
23749
23750 fi
23751 done
23752
23753 fi
23754 fi
23755
23756
23757
23758
23759
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23761 $as_echo_n "checking for hypot declaration... " >&6; }
23762 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23763 if ${glibcxx_cv_func_hypot_use+:} false; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23766
23767
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 int
23778 main ()
23779 {
23780 hypot(0, 0);
23781 ;
23782 return 0;
23783 }
23784 _ACEOF
23785 if ac_fn_cxx_try_compile "$LINENO"; then :
23786 glibcxx_cv_func_hypot_use=yes
23787 else
23788 glibcxx_cv_func_hypot_use=no
23789 fi
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23796
23797
23798 fi
23799
23800 fi
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23802 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23803
23804 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23805 for ac_func in hypot
23806 do :
23807 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23808 if test "x$ac_cv_func_hypot" = xyes; then :
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE_HYPOT 1
23811 _ACEOF
23812
23813 fi
23814 done
23815
23816 else
23817
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23819 $as_echo_n "checking for _hypot declaration... " >&6; }
23820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23821 if ${glibcxx_cv_func__hypot_use+:} false; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23824
23825
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23835 int
23836 main ()
23837 {
23838 _hypot(0, 0);
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 if ac_fn_cxx_try_compile "$LINENO"; then :
23844 glibcxx_cv_func__hypot_use=yes
23845 else
23846 glibcxx_cv_func__hypot_use=no
23847 fi
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 ac_ext=c
23850 ac_cpp='$CPP $CPPFLAGS'
23851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23854
23855
23856 fi
23857
23858 fi
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23860 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23861
23862 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23863 for ac_func in _hypot
23864 do :
23865 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23866 if test "x$ac_cv_func__hypot" = xyes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE__HYPOT 1
23869 _ACEOF
23870
23871 fi
23872 done
23873
23874 fi
23875 fi
23876
23877
23878
23879
23880
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23882 $as_echo_n "checking for float trig functions... " >&6; }
23883 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23886
23887
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23893
23894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23896 #include <math.h>
23897 int
23898 main ()
23899 {
23900 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 if ac_fn_cxx_try_compile "$LINENO"; then :
23906 glibcxx_cv_func_float_trig_use=yes
23907 else
23908 glibcxx_cv_func_float_trig_use=no
23909 fi
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916
23917 fi
23918
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23920 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23921 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23922 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23923 do :
23924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23926 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23929 _ACEOF
23930
23931 fi
23932 done
23933
23934 else
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23936 $as_echo_n "checking for _float trig functions... " >&6; }
23937 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23938 $as_echo_n "(cached) " >&6
23939 else
23940
23941
23942 ac_ext=cpp
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23947
23948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23949 /* end confdefs.h. */
23950 #include <math.h>
23951 int
23952 main ()
23953 {
23954 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23955 ;
23956 return 0;
23957 }
23958 _ACEOF
23959 if ac_fn_cxx_try_compile "$LINENO"; then :
23960 glibcxx_cv_func__float_trig_use=yes
23961 else
23962 glibcxx_cv_func__float_trig_use=no
23963 fi
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965 ac_ext=c
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23970
23971 fi
23972
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23974 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23975 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23976 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23977 do :
23978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23981 cat >>confdefs.h <<_ACEOF
23982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23983 _ACEOF
23984
23985 fi
23986 done
23987
23988 fi
23989 fi
23990
23991
23992
23993
23994
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23996 $as_echo_n "checking for float round functions... " >&6; }
23997 if ${glibcxx_cv_func_float_round_use+:} false; then :
23998 $as_echo_n "(cached) " >&6
23999 else
24000
24001
24002 ac_ext=cpp
24003 ac_cpp='$CXXCPP $CPPFLAGS'
24004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24007
24008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24009 /* end confdefs.h. */
24010 #include <math.h>
24011 int
24012 main ()
24013 {
24014 ceilf (0); floorf (0);
24015 ;
24016 return 0;
24017 }
24018 _ACEOF
24019 if ac_fn_cxx_try_compile "$LINENO"; then :
24020 glibcxx_cv_func_float_round_use=yes
24021 else
24022 glibcxx_cv_func_float_round_use=no
24023 fi
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025 ac_ext=c
24026 ac_cpp='$CPP $CPPFLAGS'
24027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24030
24031 fi
24032
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24034 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24035 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24036 for ac_func in ceilf floorf
24037 do :
24038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24040 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24043 _ACEOF
24044
24045 fi
24046 done
24047
24048 else
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24050 $as_echo_n "checking for _float round functions... " >&6; }
24051 if ${glibcxx_cv_func__float_round_use+:} false; then :
24052 $as_echo_n "(cached) " >&6
24053 else
24054
24055
24056 ac_ext=cpp
24057 ac_cpp='$CXXCPP $CPPFLAGS'
24058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24061
24062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24063 /* end confdefs.h. */
24064 #include <math.h>
24065 int
24066 main ()
24067 {
24068 _ceilf (0); _floorf (0);
24069 ;
24070 return 0;
24071 }
24072 _ACEOF
24073 if ac_fn_cxx_try_compile "$LINENO"; then :
24074 glibcxx_cv_func__float_round_use=yes
24075 else
24076 glibcxx_cv_func__float_round_use=no
24077 fi
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079 ac_ext=c
24080 ac_cpp='$CPP $CPPFLAGS'
24081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24084
24085 fi
24086
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24088 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24089 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24090 for ac_func in _ceilf _floorf
24091 do :
24092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24095 cat >>confdefs.h <<_ACEOF
24096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24097 _ACEOF
24098
24099 fi
24100 done
24101
24102 fi
24103 fi
24104
24105
24106
24107
24108
24109
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24111 $as_echo_n "checking for expf declaration... " >&6; }
24112 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24113 if ${glibcxx_cv_func_expf_use+:} false; then :
24114 $as_echo_n "(cached) " >&6
24115 else
24116
24117
24118 ac_ext=cpp
24119 ac_cpp='$CXXCPP $CPPFLAGS'
24120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24123
24124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24125 /* end confdefs.h. */
24126 #include <math.h>
24127 #ifdef HAVE_IEEEFP_H
24128 #include <ieeefp.h>
24129 #endif
24130
24131 int
24132 main ()
24133 {
24134 expf(0);
24135 ;
24136 return 0;
24137 }
24138 _ACEOF
24139 if ac_fn_cxx_try_compile "$LINENO"; then :
24140 glibcxx_cv_func_expf_use=yes
24141 else
24142 glibcxx_cv_func_expf_use=no
24143 fi
24144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24145 ac_ext=c
24146 ac_cpp='$CPP $CPPFLAGS'
24147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24150
24151
24152 fi
24153
24154 fi
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24156 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24157
24158 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24159 for ac_func in expf
24160 do :
24161 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24162 if test "x$ac_cv_func_expf" = xyes; then :
24163 cat >>confdefs.h <<_ACEOF
24164 #define HAVE_EXPF 1
24165 _ACEOF
24166
24167 fi
24168 done
24169
24170 else
24171
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24173 $as_echo_n "checking for _expf declaration... " >&6; }
24174 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24175 if ${glibcxx_cv_func__expf_use+:} false; then :
24176 $as_echo_n "(cached) " >&6
24177 else
24178
24179
24180 ac_ext=cpp
24181 ac_cpp='$CXXCPP $CPPFLAGS'
24182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24185
24186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24188 #include <math.h>
24189 #ifdef HAVE_IEEEFP_H
24190 #include <ieeefp.h>
24191 #endif
24192
24193 int
24194 main ()
24195 {
24196 _expf(0);
24197 ;
24198 return 0;
24199 }
24200 _ACEOF
24201 if ac_fn_cxx_try_compile "$LINENO"; then :
24202 glibcxx_cv_func__expf_use=yes
24203 else
24204 glibcxx_cv_func__expf_use=no
24205 fi
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207 ac_ext=c
24208 ac_cpp='$CPP $CPPFLAGS'
24209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24212
24213
24214 fi
24215
24216 fi
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24218 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24219
24220 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24221 for ac_func in _expf
24222 do :
24223 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24224 if test "x$ac_cv_func__expf" = xyes; then :
24225 cat >>confdefs.h <<_ACEOF
24226 #define HAVE__EXPF 1
24227 _ACEOF
24228
24229 fi
24230 done
24231
24232 fi
24233 fi
24234
24235
24236
24237
24238
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24240 $as_echo_n "checking for isnanf declaration... " >&6; }
24241 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24242 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24243 $as_echo_n "(cached) " >&6
24244 else
24245
24246
24247 ac_ext=cpp
24248 ac_cpp='$CXXCPP $CPPFLAGS'
24249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24252
24253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24254 /* end confdefs.h. */
24255 #include <math.h>
24256 #ifdef HAVE_IEEEFP_H
24257 #include <ieeefp.h>
24258 #endif
24259
24260 int
24261 main ()
24262 {
24263 isnanf(0);
24264 ;
24265 return 0;
24266 }
24267 _ACEOF
24268 if ac_fn_cxx_try_compile "$LINENO"; then :
24269 glibcxx_cv_func_isnanf_use=yes
24270 else
24271 glibcxx_cv_func_isnanf_use=no
24272 fi
24273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24274 ac_ext=c
24275 ac_cpp='$CPP $CPPFLAGS'
24276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24279
24280
24281 fi
24282
24283 fi
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24285 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24286
24287 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24288 for ac_func in isnanf
24289 do :
24290 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24291 if test "x$ac_cv_func_isnanf" = xyes; then :
24292 cat >>confdefs.h <<_ACEOF
24293 #define HAVE_ISNANF 1
24294 _ACEOF
24295
24296 fi
24297 done
24298
24299 else
24300
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24302 $as_echo_n "checking for _isnanf declaration... " >&6; }
24303 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24304 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24305 $as_echo_n "(cached) " >&6
24306 else
24307
24308
24309 ac_ext=cpp
24310 ac_cpp='$CXXCPP $CPPFLAGS'
24311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24314
24315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24316 /* end confdefs.h. */
24317 #include <math.h>
24318 #ifdef HAVE_IEEEFP_H
24319 #include <ieeefp.h>
24320 #endif
24321
24322 int
24323 main ()
24324 {
24325 _isnanf(0);
24326 ;
24327 return 0;
24328 }
24329 _ACEOF
24330 if ac_fn_cxx_try_compile "$LINENO"; then :
24331 glibcxx_cv_func__isnanf_use=yes
24332 else
24333 glibcxx_cv_func__isnanf_use=no
24334 fi
24335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336 ac_ext=c
24337 ac_cpp='$CPP $CPPFLAGS'
24338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24341
24342
24343 fi
24344
24345 fi
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24347 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24348
24349 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24350 for ac_func in _isnanf
24351 do :
24352 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24353 if test "x$ac_cv_func__isnanf" = xyes; then :
24354 cat >>confdefs.h <<_ACEOF
24355 #define HAVE__ISNANF 1
24356 _ACEOF
24357
24358 fi
24359 done
24360
24361 fi
24362 fi
24363
24364
24365
24366
24367
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24369 $as_echo_n "checking for isinff declaration... " >&6; }
24370 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24371 if ${glibcxx_cv_func_isinff_use+:} false; then :
24372 $as_echo_n "(cached) " >&6
24373 else
24374
24375
24376 ac_ext=cpp
24377 ac_cpp='$CXXCPP $CPPFLAGS'
24378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381
24382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24383 /* end confdefs.h. */
24384 #include <math.h>
24385 #ifdef HAVE_IEEEFP_H
24386 #include <ieeefp.h>
24387 #endif
24388
24389 int
24390 main ()
24391 {
24392 isinff(0);
24393 ;
24394 return 0;
24395 }
24396 _ACEOF
24397 if ac_fn_cxx_try_compile "$LINENO"; then :
24398 glibcxx_cv_func_isinff_use=yes
24399 else
24400 glibcxx_cv_func_isinff_use=no
24401 fi
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 ac_ext=c
24404 ac_cpp='$CPP $CPPFLAGS'
24405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24408
24409
24410 fi
24411
24412 fi
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24414 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24415
24416 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24417 for ac_func in isinff
24418 do :
24419 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24420 if test "x$ac_cv_func_isinff" = xyes; then :
24421 cat >>confdefs.h <<_ACEOF
24422 #define HAVE_ISINFF 1
24423 _ACEOF
24424
24425 fi
24426 done
24427
24428 else
24429
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24431 $as_echo_n "checking for _isinff declaration... " >&6; }
24432 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24433 if ${glibcxx_cv_func__isinff_use+:} false; then :
24434 $as_echo_n "(cached) " >&6
24435 else
24436
24437
24438 ac_ext=cpp
24439 ac_cpp='$CXXCPP $CPPFLAGS'
24440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24443
24444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24445 /* end confdefs.h. */
24446 #include <math.h>
24447 #ifdef HAVE_IEEEFP_H
24448 #include <ieeefp.h>
24449 #endif
24450
24451 int
24452 main ()
24453 {
24454 _isinff(0);
24455 ;
24456 return 0;
24457 }
24458 _ACEOF
24459 if ac_fn_cxx_try_compile "$LINENO"; then :
24460 glibcxx_cv_func__isinff_use=yes
24461 else
24462 glibcxx_cv_func__isinff_use=no
24463 fi
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 ac_ext=c
24466 ac_cpp='$CPP $CPPFLAGS'
24467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24470
24471
24472 fi
24473
24474 fi
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24476 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24477
24478 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24479 for ac_func in _isinff
24480 do :
24481 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24482 if test "x$ac_cv_func__isinff" = xyes; then :
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE__ISINFF 1
24485 _ACEOF
24486
24487 fi
24488 done
24489
24490 fi
24491 fi
24492
24493
24494
24495
24496
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24498 $as_echo_n "checking for atan2f declaration... " >&6; }
24499 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24500 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24501 $as_echo_n "(cached) " >&6
24502 else
24503
24504
24505 ac_ext=cpp
24506 ac_cpp='$CXXCPP $CPPFLAGS'
24507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24510
24511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24512 /* end confdefs.h. */
24513 #include <math.h>
24514 int
24515 main ()
24516 {
24517 atan2f(0, 0);
24518 ;
24519 return 0;
24520 }
24521 _ACEOF
24522 if ac_fn_cxx_try_compile "$LINENO"; then :
24523 glibcxx_cv_func_atan2f_use=yes
24524 else
24525 glibcxx_cv_func_atan2f_use=no
24526 fi
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528 ac_ext=c
24529 ac_cpp='$CPP $CPPFLAGS'
24530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24533
24534
24535 fi
24536
24537 fi
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24539 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24540
24541 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24542 for ac_func in atan2f
24543 do :
24544 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24545 if test "x$ac_cv_func_atan2f" = xyes; then :
24546 cat >>confdefs.h <<_ACEOF
24547 #define HAVE_ATAN2F 1
24548 _ACEOF
24549
24550 fi
24551 done
24552
24553 else
24554
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24556 $as_echo_n "checking for _atan2f declaration... " >&6; }
24557 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24558 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24559 $as_echo_n "(cached) " >&6
24560 else
24561
24562
24563 ac_ext=cpp
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568
24569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h. */
24571 #include <math.h>
24572 int
24573 main ()
24574 {
24575 _atan2f(0, 0);
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581 glibcxx_cv_func__atan2f_use=yes
24582 else
24583 glibcxx_cv_func__atan2f_use=no
24584 fi
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591
24592
24593 fi
24594
24595 fi
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24597 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24598
24599 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24600 for ac_func in _atan2f
24601 do :
24602 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24603 if test "x$ac_cv_func__atan2f" = xyes; then :
24604 cat >>confdefs.h <<_ACEOF
24605 #define HAVE__ATAN2F 1
24606 _ACEOF
24607
24608 fi
24609 done
24610
24611 fi
24612 fi
24613
24614
24615
24616
24617
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24619 $as_echo_n "checking for fabsf declaration... " >&6; }
24620 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24621 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24622 $as_echo_n "(cached) " >&6
24623 else
24624
24625
24626 ac_ext=cpp
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24631
24632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24634 #include <math.h>
24635 #ifdef HAVE_IEEEFP_H
24636 #include <ieeefp.h>
24637 #endif
24638
24639 int
24640 main ()
24641 {
24642 fabsf(0);
24643 ;
24644 return 0;
24645 }
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func_fabsf_use=yes
24649 else
24650 glibcxx_cv_func_fabsf_use=no
24651 fi
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658
24659
24660 fi
24661
24662 fi
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24664 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24665
24666 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24667 for ac_func in fabsf
24668 do :
24669 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24670 if test "x$ac_cv_func_fabsf" = xyes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE_FABSF 1
24673 _ACEOF
24674
24675 fi
24676 done
24677
24678 else
24679
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24681 $as_echo_n "checking for _fabsf declaration... " >&6; }
24682 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24683 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24686
24687
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24693
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24700
24701 int
24702 main ()
24703 {
24704 _fabsf(0);
24705 ;
24706 return 0;
24707 }
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func__fabsf_use=yes
24711 else
24712 glibcxx_cv_func__fabsf_use=no
24713 fi
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24720
24721
24722 fi
24723
24724 fi
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24726 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24727
24728 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24729 for ac_func in _fabsf
24730 do :
24731 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24732 if test "x$ac_cv_func__fabsf" = xyes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE__FABSF 1
24735 _ACEOF
24736
24737 fi
24738 done
24739
24740 fi
24741 fi
24742
24743
24744
24745
24746
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24748 $as_echo_n "checking for fmodf declaration... " >&6; }
24749 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24750 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24751 $as_echo_n "(cached) " >&6
24752 else
24753
24754
24755 ac_ext=cpp
24756 ac_cpp='$CXXCPP $CPPFLAGS'
24757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24760
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24763 #include <math.h>
24764 int
24765 main ()
24766 {
24767 fmodf(0, 0);
24768 ;
24769 return 0;
24770 }
24771 _ACEOF
24772 if ac_fn_cxx_try_compile "$LINENO"; then :
24773 glibcxx_cv_func_fmodf_use=yes
24774 else
24775 glibcxx_cv_func_fmodf_use=no
24776 fi
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 ac_ext=c
24779 ac_cpp='$CPP $CPPFLAGS'
24780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24783
24784
24785 fi
24786
24787 fi
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24789 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24790
24791 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24792 for ac_func in fmodf
24793 do :
24794 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24795 if test "x$ac_cv_func_fmodf" = xyes; then :
24796 cat >>confdefs.h <<_ACEOF
24797 #define HAVE_FMODF 1
24798 _ACEOF
24799
24800 fi
24801 done
24802
24803 else
24804
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24806 $as_echo_n "checking for _fmodf declaration... " >&6; }
24807 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24808 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24809 $as_echo_n "(cached) " >&6
24810 else
24811
24812
24813 ac_ext=cpp
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818
24819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h. */
24821 #include <math.h>
24822 int
24823 main ()
24824 {
24825 _fmodf(0, 0);
24826 ;
24827 return 0;
24828 }
24829 _ACEOF
24830 if ac_fn_cxx_try_compile "$LINENO"; then :
24831 glibcxx_cv_func__fmodf_use=yes
24832 else
24833 glibcxx_cv_func__fmodf_use=no
24834 fi
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836 ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24841
24842
24843 fi
24844
24845 fi
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24847 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24848
24849 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24850 for ac_func in _fmodf
24851 do :
24852 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24853 if test "x$ac_cv_func__fmodf" = xyes; then :
24854 cat >>confdefs.h <<_ACEOF
24855 #define HAVE__FMODF 1
24856 _ACEOF
24857
24858 fi
24859 done
24860
24861 fi
24862 fi
24863
24864
24865
24866
24867
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24869 $as_echo_n "checking for frexpf declaration... " >&6; }
24870 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24871 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24872 $as_echo_n "(cached) " >&6
24873 else
24874
24875
24876 ac_ext=cpp
24877 ac_cpp='$CXXCPP $CPPFLAGS'
24878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24881
24882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24883 /* end confdefs.h. */
24884 #include <math.h>
24885 int
24886 main ()
24887 {
24888 frexpf(0, 0);
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 if ac_fn_cxx_try_compile "$LINENO"; then :
24894 glibcxx_cv_func_frexpf_use=yes
24895 else
24896 glibcxx_cv_func_frexpf_use=no
24897 fi
24898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 ac_ext=c
24900 ac_cpp='$CPP $CPPFLAGS'
24901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24904
24905
24906 fi
24907
24908 fi
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24910 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24911
24912 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24913 for ac_func in frexpf
24914 do :
24915 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24916 if test "x$ac_cv_func_frexpf" = xyes; then :
24917 cat >>confdefs.h <<_ACEOF
24918 #define HAVE_FREXPF 1
24919 _ACEOF
24920
24921 fi
24922 done
24923
24924 else
24925
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24927 $as_echo_n "checking for _frexpf declaration... " >&6; }
24928 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24929 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24930 $as_echo_n "(cached) " >&6
24931 else
24932
24933
24934 ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24939
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h. */
24942 #include <math.h>
24943 int
24944 main ()
24945 {
24946 _frexpf(0, 0);
24947 ;
24948 return 0;
24949 }
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952 glibcxx_cv_func__frexpf_use=yes
24953 else
24954 glibcxx_cv_func__frexpf_use=no
24955 fi
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957 ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962
24963
24964 fi
24965
24966 fi
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24968 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24969
24970 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24971 for ac_func in _frexpf
24972 do :
24973 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24974 if test "x$ac_cv_func__frexpf" = xyes; then :
24975 cat >>confdefs.h <<_ACEOF
24976 #define HAVE__FREXPF 1
24977 _ACEOF
24978
24979 fi
24980 done
24981
24982 fi
24983 fi
24984
24985
24986
24987
24988
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24990 $as_echo_n "checking for hypotf declaration... " >&6; }
24991 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24992 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24993 $as_echo_n "(cached) " >&6
24994 else
24995
24996
24997 ac_ext=cpp
24998 ac_cpp='$CXXCPP $CPPFLAGS'
24999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25002
25003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25004 /* end confdefs.h. */
25005 #include <math.h>
25006 int
25007 main ()
25008 {
25009 hypotf(0, 0);
25010 ;
25011 return 0;
25012 }
25013 _ACEOF
25014 if ac_fn_cxx_try_compile "$LINENO"; then :
25015 glibcxx_cv_func_hypotf_use=yes
25016 else
25017 glibcxx_cv_func_hypotf_use=no
25018 fi
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 ac_ext=c
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025
25026
25027 fi
25028
25029 fi
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25031 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25032
25033 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25034 for ac_func in hypotf
25035 do :
25036 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25037 if test "x$ac_cv_func_hypotf" = xyes; then :
25038 cat >>confdefs.h <<_ACEOF
25039 #define HAVE_HYPOTF 1
25040 _ACEOF
25041
25042 fi
25043 done
25044
25045 else
25046
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25048 $as_echo_n "checking for _hypotf declaration... " >&6; }
25049 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25050 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25051 $as_echo_n "(cached) " >&6
25052 else
25053
25054
25055 ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060
25061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h. */
25063 #include <math.h>
25064 int
25065 main ()
25066 {
25067 _hypotf(0, 0);
25068 ;
25069 return 0;
25070 }
25071 _ACEOF
25072 if ac_fn_cxx_try_compile "$LINENO"; then :
25073 glibcxx_cv_func__hypotf_use=yes
25074 else
25075 glibcxx_cv_func__hypotf_use=no
25076 fi
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078 ac_ext=c
25079 ac_cpp='$CPP $CPPFLAGS'
25080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25083
25084
25085 fi
25086
25087 fi
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25089 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25090
25091 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25092 for ac_func in _hypotf
25093 do :
25094 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25095 if test "x$ac_cv_func__hypotf" = xyes; then :
25096 cat >>confdefs.h <<_ACEOF
25097 #define HAVE__HYPOTF 1
25098 _ACEOF
25099
25100 fi
25101 done
25102
25103 fi
25104 fi
25105
25106
25107
25108
25109
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25111 $as_echo_n "checking for ldexpf declaration... " >&6; }
25112 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25113 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25114 $as_echo_n "(cached) " >&6
25115 else
25116
25117
25118 ac_ext=cpp
25119 ac_cpp='$CXXCPP $CPPFLAGS'
25120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25123
25124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25125 /* end confdefs.h. */
25126 #include <math.h>
25127 int
25128 main ()
25129 {
25130 ldexpf(0, 0);
25131 ;
25132 return 0;
25133 }
25134 _ACEOF
25135 if ac_fn_cxx_try_compile "$LINENO"; then :
25136 glibcxx_cv_func_ldexpf_use=yes
25137 else
25138 glibcxx_cv_func_ldexpf_use=no
25139 fi
25140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25141 ac_ext=c
25142 ac_cpp='$CPP $CPPFLAGS'
25143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25146
25147
25148 fi
25149
25150 fi
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25152 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25153
25154 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25155 for ac_func in ldexpf
25156 do :
25157 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25158 if test "x$ac_cv_func_ldexpf" = xyes; then :
25159 cat >>confdefs.h <<_ACEOF
25160 #define HAVE_LDEXPF 1
25161 _ACEOF
25162
25163 fi
25164 done
25165
25166 else
25167
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25169 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25170 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25171 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25172 $as_echo_n "(cached) " >&6
25173 else
25174
25175
25176 ac_ext=cpp
25177 ac_cpp='$CXXCPP $CPPFLAGS'
25178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25181
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25184 #include <math.h>
25185 int
25186 main ()
25187 {
25188 _ldexpf(0, 0);
25189 ;
25190 return 0;
25191 }
25192 _ACEOF
25193 if ac_fn_cxx_try_compile "$LINENO"; then :
25194 glibcxx_cv_func__ldexpf_use=yes
25195 else
25196 glibcxx_cv_func__ldexpf_use=no
25197 fi
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25199 ac_ext=c
25200 ac_cpp='$CPP $CPPFLAGS'
25201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204
25205
25206 fi
25207
25208 fi
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25210 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25211
25212 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25213 for ac_func in _ldexpf
25214 do :
25215 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25216 if test "x$ac_cv_func__ldexpf" = xyes; then :
25217 cat >>confdefs.h <<_ACEOF
25218 #define HAVE__LDEXPF 1
25219 _ACEOF
25220
25221 fi
25222 done
25223
25224 fi
25225 fi
25226
25227
25228
25229
25230
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25232 $as_echo_n "checking for logf declaration... " >&6; }
25233 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25234 if ${glibcxx_cv_func_logf_use+:} false; then :
25235 $as_echo_n "(cached) " >&6
25236 else
25237
25238
25239 ac_ext=cpp
25240 ac_cpp='$CXXCPP $CPPFLAGS'
25241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25244
25245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25246 /* end confdefs.h. */
25247 #include <math.h>
25248 #ifdef HAVE_IEEEFP_H
25249 #include <ieeefp.h>
25250 #endif
25251
25252 int
25253 main ()
25254 {
25255 logf(0);
25256 ;
25257 return 0;
25258 }
25259 _ACEOF
25260 if ac_fn_cxx_try_compile "$LINENO"; then :
25261 glibcxx_cv_func_logf_use=yes
25262 else
25263 glibcxx_cv_func_logf_use=no
25264 fi
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25266 ac_ext=c
25267 ac_cpp='$CPP $CPPFLAGS'
25268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25271
25272
25273 fi
25274
25275 fi
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25277 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25278
25279 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25280 for ac_func in logf
25281 do :
25282 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25283 if test "x$ac_cv_func_logf" = xyes; then :
25284 cat >>confdefs.h <<_ACEOF
25285 #define HAVE_LOGF 1
25286 _ACEOF
25287
25288 fi
25289 done
25290
25291 else
25292
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25294 $as_echo_n "checking for _logf declaration... " >&6; }
25295 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25296 if ${glibcxx_cv_func__logf_use+:} false; then :
25297 $as_echo_n "(cached) " >&6
25298 else
25299
25300
25301 ac_ext=cpp
25302 ac_cpp='$CXXCPP $CPPFLAGS'
25303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25306
25307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25308 /* end confdefs.h. */
25309 #include <math.h>
25310 #ifdef HAVE_IEEEFP_H
25311 #include <ieeefp.h>
25312 #endif
25313
25314 int
25315 main ()
25316 {
25317 _logf(0);
25318 ;
25319 return 0;
25320 }
25321 _ACEOF
25322 if ac_fn_cxx_try_compile "$LINENO"; then :
25323 glibcxx_cv_func__logf_use=yes
25324 else
25325 glibcxx_cv_func__logf_use=no
25326 fi
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 ac_ext=c
25329 ac_cpp='$CPP $CPPFLAGS'
25330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25333
25334
25335 fi
25336
25337 fi
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25339 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25340
25341 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25342 for ac_func in _logf
25343 do :
25344 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25345 if test "x$ac_cv_func__logf" = xyes; then :
25346 cat >>confdefs.h <<_ACEOF
25347 #define HAVE__LOGF 1
25348 _ACEOF
25349
25350 fi
25351 done
25352
25353 fi
25354 fi
25355
25356
25357
25358
25359
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25361 $as_echo_n "checking for log10f declaration... " >&6; }
25362 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25363 if ${glibcxx_cv_func_log10f_use+:} false; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25366
25367
25368 ac_ext=cpp
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25373
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25376 #include <math.h>
25377 #ifdef HAVE_IEEEFP_H
25378 #include <ieeefp.h>
25379 #endif
25380
25381 int
25382 main ()
25383 {
25384 log10f(0);
25385 ;
25386 return 0;
25387 }
25388 _ACEOF
25389 if ac_fn_cxx_try_compile "$LINENO"; then :
25390 glibcxx_cv_func_log10f_use=yes
25391 else
25392 glibcxx_cv_func_log10f_use=no
25393 fi
25394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 ac_ext=c
25396 ac_cpp='$CPP $CPPFLAGS'
25397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400
25401
25402 fi
25403
25404 fi
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25406 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25407
25408 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25409 for ac_func in log10f
25410 do :
25411 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25412 if test "x$ac_cv_func_log10f" = xyes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define HAVE_LOG10F 1
25415 _ACEOF
25416
25417 fi
25418 done
25419
25420 else
25421
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25423 $as_echo_n "checking for _log10f declaration... " >&6; }
25424 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25425 if ${glibcxx_cv_func__log10f_use+:} false; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25428
25429
25430 ac_ext=cpp
25431 ac_cpp='$CXXCPP $CPPFLAGS'
25432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25435
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25438 #include <math.h>
25439 #ifdef HAVE_IEEEFP_H
25440 #include <ieeefp.h>
25441 #endif
25442
25443 int
25444 main ()
25445 {
25446 _log10f(0);
25447 ;
25448 return 0;
25449 }
25450 _ACEOF
25451 if ac_fn_cxx_try_compile "$LINENO"; then :
25452 glibcxx_cv_func__log10f_use=yes
25453 else
25454 glibcxx_cv_func__log10f_use=no
25455 fi
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 ac_ext=c
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25462
25463
25464 fi
25465
25466 fi
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25468 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25469
25470 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25471 for ac_func in _log10f
25472 do :
25473 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25474 if test "x$ac_cv_func__log10f" = xyes; then :
25475 cat >>confdefs.h <<_ACEOF
25476 #define HAVE__LOG10F 1
25477 _ACEOF
25478
25479 fi
25480 done
25481
25482 fi
25483 fi
25484
25485
25486
25487
25488
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25490 $as_echo_n "checking for modff declaration... " >&6; }
25491 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25492 if ${glibcxx_cv_func_modff_use+:} false; then :
25493 $as_echo_n "(cached) " >&6
25494 else
25495
25496
25497 ac_ext=cpp
25498 ac_cpp='$CXXCPP $CPPFLAGS'
25499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25502
25503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25504 /* end confdefs.h. */
25505 #include <math.h>
25506 int
25507 main ()
25508 {
25509 modff(0, 0);
25510 ;
25511 return 0;
25512 }
25513 _ACEOF
25514 if ac_fn_cxx_try_compile "$LINENO"; then :
25515 glibcxx_cv_func_modff_use=yes
25516 else
25517 glibcxx_cv_func_modff_use=no
25518 fi
25519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25520 ac_ext=c
25521 ac_cpp='$CPP $CPPFLAGS'
25522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25525
25526
25527 fi
25528
25529 fi
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25531 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25532
25533 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25534 for ac_func in modff
25535 do :
25536 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25537 if test "x$ac_cv_func_modff" = xyes; then :
25538 cat >>confdefs.h <<_ACEOF
25539 #define HAVE_MODFF 1
25540 _ACEOF
25541
25542 fi
25543 done
25544
25545 else
25546
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25548 $as_echo_n "checking for _modff declaration... " >&6; }
25549 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25550 if ${glibcxx_cv_func__modff_use+:} false; then :
25551 $as_echo_n "(cached) " >&6
25552 else
25553
25554
25555 ac_ext=cpp
25556 ac_cpp='$CXXCPP $CPPFLAGS'
25557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25560
25561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h. */
25563 #include <math.h>
25564 int
25565 main ()
25566 {
25567 _modff(0, 0);
25568 ;
25569 return 0;
25570 }
25571 _ACEOF
25572 if ac_fn_cxx_try_compile "$LINENO"; then :
25573 glibcxx_cv_func__modff_use=yes
25574 else
25575 glibcxx_cv_func__modff_use=no
25576 fi
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583
25584
25585 fi
25586
25587 fi
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25589 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25590
25591 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25592 for ac_func in _modff
25593 do :
25594 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25595 if test "x$ac_cv_func__modff" = xyes; then :
25596 cat >>confdefs.h <<_ACEOF
25597 #define HAVE__MODFF 1
25598 _ACEOF
25599
25600 fi
25601 done
25602
25603 fi
25604 fi
25605
25606
25607
25608
25609
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25611 $as_echo_n "checking for modf declaration... " >&6; }
25612 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25613 if ${glibcxx_cv_func_modf_use+:} false; then :
25614 $as_echo_n "(cached) " >&6
25615 else
25616
25617
25618 ac_ext=cpp
25619 ac_cpp='$CXXCPP $CPPFLAGS'
25620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25623
25624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25625 /* end confdefs.h. */
25626 #include <math.h>
25627 int
25628 main ()
25629 {
25630 modf(0, 0);
25631 ;
25632 return 0;
25633 }
25634 _ACEOF
25635 if ac_fn_cxx_try_compile "$LINENO"; then :
25636 glibcxx_cv_func_modf_use=yes
25637 else
25638 glibcxx_cv_func_modf_use=no
25639 fi
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 ac_ext=c
25642 ac_cpp='$CPP $CPPFLAGS'
25643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25646
25647
25648 fi
25649
25650 fi
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25652 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25653
25654 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25655 for ac_func in modf
25656 do :
25657 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25658 if test "x$ac_cv_func_modf" = xyes; then :
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE_MODF 1
25661 _ACEOF
25662
25663 fi
25664 done
25665
25666 else
25667
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25669 $as_echo_n "checking for _modf declaration... " >&6; }
25670 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25671 if ${glibcxx_cv_func__modf_use+:} false; then :
25672 $as_echo_n "(cached) " >&6
25673 else
25674
25675
25676 ac_ext=cpp
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681
25682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 /* end confdefs.h. */
25684 #include <math.h>
25685 int
25686 main ()
25687 {
25688 _modf(0, 0);
25689 ;
25690 return 0;
25691 }
25692 _ACEOF
25693 if ac_fn_cxx_try_compile "$LINENO"; then :
25694 glibcxx_cv_func__modf_use=yes
25695 else
25696 glibcxx_cv_func__modf_use=no
25697 fi
25698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699 ac_ext=c
25700 ac_cpp='$CPP $CPPFLAGS'
25701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25704
25705
25706 fi
25707
25708 fi
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25710 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25711
25712 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25713 for ac_func in _modf
25714 do :
25715 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25716 if test "x$ac_cv_func__modf" = xyes; then :
25717 cat >>confdefs.h <<_ACEOF
25718 #define HAVE__MODF 1
25719 _ACEOF
25720
25721 fi
25722 done
25723
25724 fi
25725 fi
25726
25727
25728
25729
25730
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25732 $as_echo_n "checking for powf declaration... " >&6; }
25733 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25734 if ${glibcxx_cv_func_powf_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 powf(0, 0);
25752 ;
25753 return 0;
25754 }
25755 _ACEOF
25756 if ac_fn_cxx_try_compile "$LINENO"; then :
25757 glibcxx_cv_func_powf_use=yes
25758 else
25759 glibcxx_cv_func_powf_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
25769 fi
25770
25771 fi
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25773 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25774
25775 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25776 for ac_func in powf
25777 do :
25778 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25779 if test "x$ac_cv_func_powf" = xyes; then :
25780 cat >>confdefs.h <<_ACEOF
25781 #define HAVE_POWF 1
25782 _ACEOF
25783
25784 fi
25785 done
25786
25787 else
25788
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25790 $as_echo_n "checking for _powf declaration... " >&6; }
25791 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25792 if ${glibcxx_cv_func__powf_use+:} false; then :
25793 $as_echo_n "(cached) " >&6
25794 else
25795
25796
25797 ac_ext=cpp
25798 ac_cpp='$CXXCPP $CPPFLAGS'
25799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25802
25803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25804 /* end confdefs.h. */
25805 #include <math.h>
25806 int
25807 main ()
25808 {
25809 _powf(0, 0);
25810 ;
25811 return 0;
25812 }
25813 _ACEOF
25814 if ac_fn_cxx_try_compile "$LINENO"; then :
25815 glibcxx_cv_func__powf_use=yes
25816 else
25817 glibcxx_cv_func__powf_use=no
25818 fi
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820 ac_ext=c
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25825
25826
25827 fi
25828
25829 fi
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25831 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25832
25833 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25834 for ac_func in _powf
25835 do :
25836 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25837 if test "x$ac_cv_func__powf" = xyes; then :
25838 cat >>confdefs.h <<_ACEOF
25839 #define HAVE__POWF 1
25840 _ACEOF
25841
25842 fi
25843 done
25844
25845 fi
25846 fi
25847
25848
25849
25850
25851
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25853 $as_echo_n "checking for sqrtf declaration... " >&6; }
25854 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25855 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25856 $as_echo_n "(cached) " >&6
25857 else
25858
25859
25860 ac_ext=cpp
25861 ac_cpp='$CXXCPP $CPPFLAGS'
25862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25865
25866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25867 /* end confdefs.h. */
25868 #include <math.h>
25869 #ifdef HAVE_IEEEFP_H
25870 #include <ieeefp.h>
25871 #endif
25872
25873 int
25874 main ()
25875 {
25876 sqrtf(0);
25877 ;
25878 return 0;
25879 }
25880 _ACEOF
25881 if ac_fn_cxx_try_compile "$LINENO"; then :
25882 glibcxx_cv_func_sqrtf_use=yes
25883 else
25884 glibcxx_cv_func_sqrtf_use=no
25885 fi
25886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25887 ac_ext=c
25888 ac_cpp='$CPP $CPPFLAGS'
25889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25892
25893
25894 fi
25895
25896 fi
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25898 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25899
25900 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25901 for ac_func in sqrtf
25902 do :
25903 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25904 if test "x$ac_cv_func_sqrtf" = xyes; then :
25905 cat >>confdefs.h <<_ACEOF
25906 #define HAVE_SQRTF 1
25907 _ACEOF
25908
25909 fi
25910 done
25911
25912 else
25913
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25915 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25916 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25917 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25918 $as_echo_n "(cached) " >&6
25919 else
25920
25921
25922 ac_ext=cpp
25923 ac_cpp='$CXXCPP $CPPFLAGS'
25924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25927
25928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25929 /* end confdefs.h. */
25930 #include <math.h>
25931 #ifdef HAVE_IEEEFP_H
25932 #include <ieeefp.h>
25933 #endif
25934
25935 int
25936 main ()
25937 {
25938 _sqrtf(0);
25939 ;
25940 return 0;
25941 }
25942 _ACEOF
25943 if ac_fn_cxx_try_compile "$LINENO"; then :
25944 glibcxx_cv_func__sqrtf_use=yes
25945 else
25946 glibcxx_cv_func__sqrtf_use=no
25947 fi
25948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25949 ac_ext=c
25950 ac_cpp='$CPP $CPPFLAGS'
25951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25954
25955
25956 fi
25957
25958 fi
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25960 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25961
25962 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25963 for ac_func in _sqrtf
25964 do :
25965 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25966 if test "x$ac_cv_func__sqrtf" = xyes; then :
25967 cat >>confdefs.h <<_ACEOF
25968 #define HAVE__SQRTF 1
25969 _ACEOF
25970
25971 fi
25972 done
25973
25974 fi
25975 fi
25976
25977
25978
25979
25980
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25982 $as_echo_n "checking for sincosf declaration... " >&6; }
25983 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25984 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25985 $as_echo_n "(cached) " >&6
25986 else
25987
25988
25989 ac_ext=cpp
25990 ac_cpp='$CXXCPP $CPPFLAGS'
25991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25994
25995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25996 /* end confdefs.h. */
25997 #include <math.h>
25998 int
25999 main ()
26000 {
26001 sincosf(0, 0, 0);
26002 ;
26003 return 0;
26004 }
26005 _ACEOF
26006 if ac_fn_cxx_try_compile "$LINENO"; then :
26007 glibcxx_cv_func_sincosf_use=yes
26008 else
26009 glibcxx_cv_func_sincosf_use=no
26010 fi
26011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26012 ac_ext=c
26013 ac_cpp='$CPP $CPPFLAGS'
26014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26017
26018
26019 fi
26020
26021 fi
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26023 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26024
26025 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26026 for ac_func in sincosf
26027 do :
26028 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26029 if test "x$ac_cv_func_sincosf" = xyes; then :
26030 cat >>confdefs.h <<_ACEOF
26031 #define HAVE_SINCOSF 1
26032 _ACEOF
26033
26034 fi
26035 done
26036
26037 else
26038
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26040 $as_echo_n "checking for _sincosf declaration... " >&6; }
26041 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26042 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26043 $as_echo_n "(cached) " >&6
26044 else
26045
26046
26047 ac_ext=cpp
26048 ac_cpp='$CXXCPP $CPPFLAGS'
26049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26052
26053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26054 /* end confdefs.h. */
26055 #include <math.h>
26056 int
26057 main ()
26058 {
26059 _sincosf(0, 0, 0);
26060 ;
26061 return 0;
26062 }
26063 _ACEOF
26064 if ac_fn_cxx_try_compile "$LINENO"; then :
26065 glibcxx_cv_func__sincosf_use=yes
26066 else
26067 glibcxx_cv_func__sincosf_use=no
26068 fi
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 ac_ext=c
26071 ac_cpp='$CPP $CPPFLAGS'
26072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26075
26076
26077 fi
26078
26079 fi
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26081 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26082
26083 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26084 for ac_func in _sincosf
26085 do :
26086 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26087 if test "x$ac_cv_func__sincosf" = xyes; then :
26088 cat >>confdefs.h <<_ACEOF
26089 #define HAVE__SINCOSF 1
26090 _ACEOF
26091
26092 fi
26093 done
26094
26095 fi
26096 fi
26097
26098
26099
26100
26101
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26103 $as_echo_n "checking for finitef declaration... " >&6; }
26104 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26105 if ${glibcxx_cv_func_finitef_use+:} false; then :
26106 $as_echo_n "(cached) " >&6
26107 else
26108
26109
26110 ac_ext=cpp
26111 ac_cpp='$CXXCPP $CPPFLAGS'
26112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26115
26116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26117 /* end confdefs.h. */
26118 #include <math.h>
26119 #ifdef HAVE_IEEEFP_H
26120 #include <ieeefp.h>
26121 #endif
26122
26123 int
26124 main ()
26125 {
26126 finitef(0);
26127 ;
26128 return 0;
26129 }
26130 _ACEOF
26131 if ac_fn_cxx_try_compile "$LINENO"; then :
26132 glibcxx_cv_func_finitef_use=yes
26133 else
26134 glibcxx_cv_func_finitef_use=no
26135 fi
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26137 ac_ext=c
26138 ac_cpp='$CPP $CPPFLAGS'
26139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26142
26143
26144 fi
26145
26146 fi
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26148 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26149
26150 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26151 for ac_func in finitef
26152 do :
26153 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26154 if test "x$ac_cv_func_finitef" = xyes; then :
26155 cat >>confdefs.h <<_ACEOF
26156 #define HAVE_FINITEF 1
26157 _ACEOF
26158
26159 fi
26160 done
26161
26162 else
26163
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26165 $as_echo_n "checking for _finitef declaration... " >&6; }
26166 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26167 if ${glibcxx_cv_func__finitef_use+:} false; then :
26168 $as_echo_n "(cached) " >&6
26169 else
26170
26171
26172 ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26177
26178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h. */
26180 #include <math.h>
26181 #ifdef HAVE_IEEEFP_H
26182 #include <ieeefp.h>
26183 #endif
26184
26185 int
26186 main ()
26187 {
26188 _finitef(0);
26189 ;
26190 return 0;
26191 }
26192 _ACEOF
26193 if ac_fn_cxx_try_compile "$LINENO"; then :
26194 glibcxx_cv_func__finitef_use=yes
26195 else
26196 glibcxx_cv_func__finitef_use=no
26197 fi
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199 ac_ext=c
26200 ac_cpp='$CPP $CPPFLAGS'
26201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26204
26205
26206 fi
26207
26208 fi
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26210 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26211
26212 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26213 for ac_func in _finitef
26214 do :
26215 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26216 if test "x$ac_cv_func__finitef" = xyes; then :
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE__FINITEF 1
26219 _ACEOF
26220
26221 fi
26222 done
26223
26224 fi
26225 fi
26226
26227
26228
26229
26230
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26232 $as_echo_n "checking for long double trig functions... " >&6; }
26233 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26234 $as_echo_n "(cached) " >&6
26235 else
26236
26237
26238 ac_ext=cpp
26239 ac_cpp='$CXXCPP $CPPFLAGS'
26240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26243
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h. */
26246 #include <math.h>
26247 int
26248 main ()
26249 {
26250 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26251 ;
26252 return 0;
26253 }
26254 _ACEOF
26255 if ac_fn_cxx_try_compile "$LINENO"; then :
26256 glibcxx_cv_func_long_double_trig_use=yes
26257 else
26258 glibcxx_cv_func_long_double_trig_use=no
26259 fi
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 ac_ext=c
26262 ac_cpp='$CPP $CPPFLAGS'
26263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266
26267 fi
26268
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26270 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26271 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26272 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26273 do :
26274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26277 cat >>confdefs.h <<_ACEOF
26278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26279 _ACEOF
26280
26281 fi
26282 done
26283
26284 else
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26286 $as_echo_n "checking for _long double trig functions... " >&6; }
26287 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26288 $as_echo_n "(cached) " >&6
26289 else
26290
26291
26292 ac_ext=cpp
26293 ac_cpp='$CXXCPP $CPPFLAGS'
26294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26297
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26300 #include <math.h>
26301 int
26302 main ()
26303 {
26304 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26305 ;
26306 return 0;
26307 }
26308 _ACEOF
26309 if ac_fn_cxx_try_compile "$LINENO"; then :
26310 glibcxx_cv_func__long_double_trig_use=yes
26311 else
26312 glibcxx_cv_func__long_double_trig_use=no
26313 fi
26314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26315 ac_ext=c
26316 ac_cpp='$CPP $CPPFLAGS'
26317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26320
26321 fi
26322
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26324 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26325 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26326 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26327 do :
26328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26331 cat >>confdefs.h <<_ACEOF
26332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26333 _ACEOF
26334
26335 fi
26336 done
26337
26338 fi
26339 fi
26340
26341
26342
26343
26344
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26346 $as_echo_n "checking for long double round functions... " >&6; }
26347 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26348 $as_echo_n "(cached) " >&6
26349 else
26350
26351
26352 ac_ext=cpp
26353 ac_cpp='$CXXCPP $CPPFLAGS'
26354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26357
26358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26360 #include <math.h>
26361 int
26362 main ()
26363 {
26364 ceill (0); floorl (0);
26365 ;
26366 return 0;
26367 }
26368 _ACEOF
26369 if ac_fn_cxx_try_compile "$LINENO"; then :
26370 glibcxx_cv_func_long_double_round_use=yes
26371 else
26372 glibcxx_cv_func_long_double_round_use=no
26373 fi
26374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26375 ac_ext=c
26376 ac_cpp='$CPP $CPPFLAGS'
26377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26380
26381 fi
26382
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26384 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26385 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26386 for ac_func in ceill floorl
26387 do :
26388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26390 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26391 cat >>confdefs.h <<_ACEOF
26392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26393 _ACEOF
26394
26395 fi
26396 done
26397
26398 else
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26400 $as_echo_n "checking for _long double round functions... " >&6; }
26401 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26402 $as_echo_n "(cached) " >&6
26403 else
26404
26405
26406 ac_ext=cpp
26407 ac_cpp='$CXXCPP $CPPFLAGS'
26408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26411
26412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26413 /* end confdefs.h. */
26414 #include <math.h>
26415 int
26416 main ()
26417 {
26418 _ceill (0); _floorl (0);
26419 ;
26420 return 0;
26421 }
26422 _ACEOF
26423 if ac_fn_cxx_try_compile "$LINENO"; then :
26424 glibcxx_cv_func__long_double_round_use=yes
26425 else
26426 glibcxx_cv_func__long_double_round_use=no
26427 fi
26428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26429 ac_ext=c
26430 ac_cpp='$CPP $CPPFLAGS'
26431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26434
26435 fi
26436
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26438 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26439 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26440 for ac_func in _ceill _floorl
26441 do :
26442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26445 cat >>confdefs.h <<_ACEOF
26446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26447 _ACEOF
26448
26449 fi
26450 done
26451
26452 fi
26453 fi
26454
26455
26456
26457
26458
26459
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26461 $as_echo_n "checking for isnanl declaration... " >&6; }
26462 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26463 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26464 $as_echo_n "(cached) " >&6
26465 else
26466
26467
26468 ac_ext=cpp
26469 ac_cpp='$CXXCPP $CPPFLAGS'
26470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473
26474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26475 /* end confdefs.h. */
26476 #include <math.h>
26477 #ifdef HAVE_IEEEFP_H
26478 #include <ieeefp.h>
26479 #endif
26480
26481 int
26482 main ()
26483 {
26484 isnanl(0);
26485 ;
26486 return 0;
26487 }
26488 _ACEOF
26489 if ac_fn_cxx_try_compile "$LINENO"; then :
26490 glibcxx_cv_func_isnanl_use=yes
26491 else
26492 glibcxx_cv_func_isnanl_use=no
26493 fi
26494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26495 ac_ext=c
26496 ac_cpp='$CPP $CPPFLAGS'
26497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26500
26501
26502 fi
26503
26504 fi
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26506 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26507
26508 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26509 for ac_func in isnanl
26510 do :
26511 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26512 if test "x$ac_cv_func_isnanl" = xyes; then :
26513 cat >>confdefs.h <<_ACEOF
26514 #define HAVE_ISNANL 1
26515 _ACEOF
26516
26517 fi
26518 done
26519
26520 else
26521
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26523 $as_echo_n "checking for _isnanl declaration... " >&6; }
26524 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26525 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26526 $as_echo_n "(cached) " >&6
26527 else
26528
26529
26530 ac_ext=cpp
26531 ac_cpp='$CXXCPP $CPPFLAGS'
26532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26535
26536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26537 /* end confdefs.h. */
26538 #include <math.h>
26539 #ifdef HAVE_IEEEFP_H
26540 #include <ieeefp.h>
26541 #endif
26542
26543 int
26544 main ()
26545 {
26546 _isnanl(0);
26547 ;
26548 return 0;
26549 }
26550 _ACEOF
26551 if ac_fn_cxx_try_compile "$LINENO"; then :
26552 glibcxx_cv_func__isnanl_use=yes
26553 else
26554 glibcxx_cv_func__isnanl_use=no
26555 fi
26556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26557 ac_ext=c
26558 ac_cpp='$CPP $CPPFLAGS'
26559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26562
26563
26564 fi
26565
26566 fi
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26568 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26569
26570 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26571 for ac_func in _isnanl
26572 do :
26573 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26574 if test "x$ac_cv_func__isnanl" = xyes; then :
26575 cat >>confdefs.h <<_ACEOF
26576 #define HAVE__ISNANL 1
26577 _ACEOF
26578
26579 fi
26580 done
26581
26582 fi
26583 fi
26584
26585
26586
26587
26588
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26590 $as_echo_n "checking for isinfl declaration... " >&6; }
26591 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26592 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26593 $as_echo_n "(cached) " >&6
26594 else
26595
26596
26597 ac_ext=cpp
26598 ac_cpp='$CXXCPP $CPPFLAGS'
26599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26602
26603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26604 /* end confdefs.h. */
26605 #include <math.h>
26606 #ifdef HAVE_IEEEFP_H
26607 #include <ieeefp.h>
26608 #endif
26609
26610 int
26611 main ()
26612 {
26613 isinfl(0);
26614 ;
26615 return 0;
26616 }
26617 _ACEOF
26618 if ac_fn_cxx_try_compile "$LINENO"; then :
26619 glibcxx_cv_func_isinfl_use=yes
26620 else
26621 glibcxx_cv_func_isinfl_use=no
26622 fi
26623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26624 ac_ext=c
26625 ac_cpp='$CPP $CPPFLAGS'
26626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26629
26630
26631 fi
26632
26633 fi
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26635 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26636
26637 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26638 for ac_func in isinfl
26639 do :
26640 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26641 if test "x$ac_cv_func_isinfl" = xyes; then :
26642 cat >>confdefs.h <<_ACEOF
26643 #define HAVE_ISINFL 1
26644 _ACEOF
26645
26646 fi
26647 done
26648
26649 else
26650
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26652 $as_echo_n "checking for _isinfl declaration... " >&6; }
26653 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26654 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26655 $as_echo_n "(cached) " >&6
26656 else
26657
26658
26659 ac_ext=cpp
26660 ac_cpp='$CXXCPP $CPPFLAGS'
26661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26664
26665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26666 /* end confdefs.h. */
26667 #include <math.h>
26668 #ifdef HAVE_IEEEFP_H
26669 #include <ieeefp.h>
26670 #endif
26671
26672 int
26673 main ()
26674 {
26675 _isinfl(0);
26676 ;
26677 return 0;
26678 }
26679 _ACEOF
26680 if ac_fn_cxx_try_compile "$LINENO"; then :
26681 glibcxx_cv_func__isinfl_use=yes
26682 else
26683 glibcxx_cv_func__isinfl_use=no
26684 fi
26685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26686 ac_ext=c
26687 ac_cpp='$CPP $CPPFLAGS'
26688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26691
26692
26693 fi
26694
26695 fi
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26697 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26698
26699 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26700 for ac_func in _isinfl
26701 do :
26702 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26703 if test "x$ac_cv_func__isinfl" = xyes; then :
26704 cat >>confdefs.h <<_ACEOF
26705 #define HAVE__ISINFL 1
26706 _ACEOF
26707
26708 fi
26709 done
26710
26711 fi
26712 fi
26713
26714
26715
26716
26717
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26719 $as_echo_n "checking for atan2l declaration... " >&6; }
26720 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26721 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26722 $as_echo_n "(cached) " >&6
26723 else
26724
26725
26726 ac_ext=cpp
26727 ac_cpp='$CXXCPP $CPPFLAGS'
26728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26731
26732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26733 /* end confdefs.h. */
26734 #include <math.h>
26735 int
26736 main ()
26737 {
26738 atan2l(0, 0);
26739 ;
26740 return 0;
26741 }
26742 _ACEOF
26743 if ac_fn_cxx_try_compile "$LINENO"; then :
26744 glibcxx_cv_func_atan2l_use=yes
26745 else
26746 glibcxx_cv_func_atan2l_use=no
26747 fi
26748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26749 ac_ext=c
26750 ac_cpp='$CPP $CPPFLAGS'
26751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26754
26755
26756 fi
26757
26758 fi
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26760 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26761
26762 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26763 for ac_func in atan2l
26764 do :
26765 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26766 if test "x$ac_cv_func_atan2l" = xyes; then :
26767 cat >>confdefs.h <<_ACEOF
26768 #define HAVE_ATAN2L 1
26769 _ACEOF
26770
26771 fi
26772 done
26773
26774 else
26775
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26777 $as_echo_n "checking for _atan2l declaration... " >&6; }
26778 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26779 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26780 $as_echo_n "(cached) " >&6
26781 else
26782
26783
26784 ac_ext=cpp
26785 ac_cpp='$CXXCPP $CPPFLAGS'
26786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26789
26790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26791 /* end confdefs.h. */
26792 #include <math.h>
26793 int
26794 main ()
26795 {
26796 _atan2l(0, 0);
26797 ;
26798 return 0;
26799 }
26800 _ACEOF
26801 if ac_fn_cxx_try_compile "$LINENO"; then :
26802 glibcxx_cv_func__atan2l_use=yes
26803 else
26804 glibcxx_cv_func__atan2l_use=no
26805 fi
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807 ac_ext=c
26808 ac_cpp='$CPP $CPPFLAGS'
26809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26812
26813
26814 fi
26815
26816 fi
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26818 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26819
26820 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26821 for ac_func in _atan2l
26822 do :
26823 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26824 if test "x$ac_cv_func__atan2l" = xyes; then :
26825 cat >>confdefs.h <<_ACEOF
26826 #define HAVE__ATAN2L 1
26827 _ACEOF
26828
26829 fi
26830 done
26831
26832 fi
26833 fi
26834
26835
26836
26837
26838
26839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26840 $as_echo_n "checking for expl declaration... " >&6; }
26841 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26842 if ${glibcxx_cv_func_expl_use+:} false; then :
26843 $as_echo_n "(cached) " >&6
26844 else
26845
26846
26847 ac_ext=cpp
26848 ac_cpp='$CXXCPP $CPPFLAGS'
26849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26852
26853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26854 /* end confdefs.h. */
26855 #include <math.h>
26856 #ifdef HAVE_IEEEFP_H
26857 #include <ieeefp.h>
26858 #endif
26859
26860 int
26861 main ()
26862 {
26863 expl(0);
26864 ;
26865 return 0;
26866 }
26867 _ACEOF
26868 if ac_fn_cxx_try_compile "$LINENO"; then :
26869 glibcxx_cv_func_expl_use=yes
26870 else
26871 glibcxx_cv_func_expl_use=no
26872 fi
26873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26874 ac_ext=c
26875 ac_cpp='$CPP $CPPFLAGS'
26876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26879
26880
26881 fi
26882
26883 fi
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26885 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26886
26887 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26888 for ac_func in expl
26889 do :
26890 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26891 if test "x$ac_cv_func_expl" = xyes; then :
26892 cat >>confdefs.h <<_ACEOF
26893 #define HAVE_EXPL 1
26894 _ACEOF
26895
26896 fi
26897 done
26898
26899 else
26900
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26902 $as_echo_n "checking for _expl declaration... " >&6; }
26903 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26904 if ${glibcxx_cv_func__expl_use+:} false; then :
26905 $as_echo_n "(cached) " >&6
26906 else
26907
26908
26909 ac_ext=cpp
26910 ac_cpp='$CXXCPP $CPPFLAGS'
26911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26914
26915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h. */
26917 #include <math.h>
26918 #ifdef HAVE_IEEEFP_H
26919 #include <ieeefp.h>
26920 #endif
26921
26922 int
26923 main ()
26924 {
26925 _expl(0);
26926 ;
26927 return 0;
26928 }
26929 _ACEOF
26930 if ac_fn_cxx_try_compile "$LINENO"; then :
26931 glibcxx_cv_func__expl_use=yes
26932 else
26933 glibcxx_cv_func__expl_use=no
26934 fi
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 ac_ext=c
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26941
26942
26943 fi
26944
26945 fi
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26947 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26948
26949 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26950 for ac_func in _expl
26951 do :
26952 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26953 if test "x$ac_cv_func__expl" = xyes; then :
26954 cat >>confdefs.h <<_ACEOF
26955 #define HAVE__EXPL 1
26956 _ACEOF
26957
26958 fi
26959 done
26960
26961 fi
26962 fi
26963
26964
26965
26966
26967
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26969 $as_echo_n "checking for fabsl declaration... " >&6; }
26970 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26971 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26972 $as_echo_n "(cached) " >&6
26973 else
26974
26975
26976 ac_ext=cpp
26977 ac_cpp='$CXXCPP $CPPFLAGS'
26978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26981
26982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26983 /* end confdefs.h. */
26984 #include <math.h>
26985 #ifdef HAVE_IEEEFP_H
26986 #include <ieeefp.h>
26987 #endif
26988
26989 int
26990 main ()
26991 {
26992 fabsl(0);
26993 ;
26994 return 0;
26995 }
26996 _ACEOF
26997 if ac_fn_cxx_try_compile "$LINENO"; then :
26998 glibcxx_cv_func_fabsl_use=yes
26999 else
27000 glibcxx_cv_func_fabsl_use=no
27001 fi
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27003 ac_ext=c
27004 ac_cpp='$CPP $CPPFLAGS'
27005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27008
27009
27010 fi
27011
27012 fi
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
27014 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
27015
27016 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
27017 for ac_func in fabsl
27018 do :
27019 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
27020 if test "x$ac_cv_func_fabsl" = xyes; then :
27021 cat >>confdefs.h <<_ACEOF
27022 #define HAVE_FABSL 1
27023 _ACEOF
27024
27025 fi
27026 done
27027
27028 else
27029
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27031 $as_echo_n "checking for _fabsl declaration... " >&6; }
27032 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27033 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27034 $as_echo_n "(cached) " >&6
27035 else
27036
27037
27038 ac_ext=cpp
27039 ac_cpp='$CXXCPP $CPPFLAGS'
27040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27043
27044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27045 /* end confdefs.h. */
27046 #include <math.h>
27047 #ifdef HAVE_IEEEFP_H
27048 #include <ieeefp.h>
27049 #endif
27050
27051 int
27052 main ()
27053 {
27054 _fabsl(0);
27055 ;
27056 return 0;
27057 }
27058 _ACEOF
27059 if ac_fn_cxx_try_compile "$LINENO"; then :
27060 glibcxx_cv_func__fabsl_use=yes
27061 else
27062 glibcxx_cv_func__fabsl_use=no
27063 fi
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 ac_ext=c
27066 ac_cpp='$CPP $CPPFLAGS'
27067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27070
27071
27072 fi
27073
27074 fi
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27076 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27077
27078 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27079 for ac_func in _fabsl
27080 do :
27081 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27082 if test "x$ac_cv_func__fabsl" = xyes; then :
27083 cat >>confdefs.h <<_ACEOF
27084 #define HAVE__FABSL 1
27085 _ACEOF
27086
27087 fi
27088 done
27089
27090 fi
27091 fi
27092
27093
27094
27095
27096
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27098 $as_echo_n "checking for fmodl declaration... " >&6; }
27099 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27100 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27101 $as_echo_n "(cached) " >&6
27102 else
27103
27104
27105 ac_ext=cpp
27106 ac_cpp='$CXXCPP $CPPFLAGS'
27107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27110
27111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27112 /* end confdefs.h. */
27113 #include <math.h>
27114 int
27115 main ()
27116 {
27117 fmodl(0, 0);
27118 ;
27119 return 0;
27120 }
27121 _ACEOF
27122 if ac_fn_cxx_try_compile "$LINENO"; then :
27123 glibcxx_cv_func_fmodl_use=yes
27124 else
27125 glibcxx_cv_func_fmodl_use=no
27126 fi
27127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27128 ac_ext=c
27129 ac_cpp='$CPP $CPPFLAGS'
27130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27133
27134
27135 fi
27136
27137 fi
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27139 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27140
27141 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27142 for ac_func in fmodl
27143 do :
27144 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27145 if test "x$ac_cv_func_fmodl" = xyes; then :
27146 cat >>confdefs.h <<_ACEOF
27147 #define HAVE_FMODL 1
27148 _ACEOF
27149
27150 fi
27151 done
27152
27153 else
27154
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27156 $as_echo_n "checking for _fmodl declaration... " >&6; }
27157 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27158 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27159 $as_echo_n "(cached) " >&6
27160 else
27161
27162
27163 ac_ext=cpp
27164 ac_cpp='$CXXCPP $CPPFLAGS'
27165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27168
27169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27170 /* end confdefs.h. */
27171 #include <math.h>
27172 int
27173 main ()
27174 {
27175 _fmodl(0, 0);
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 if ac_fn_cxx_try_compile "$LINENO"; then :
27181 glibcxx_cv_func__fmodl_use=yes
27182 else
27183 glibcxx_cv_func__fmodl_use=no
27184 fi
27185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27186 ac_ext=c
27187 ac_cpp='$CPP $CPPFLAGS'
27188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27191
27192
27193 fi
27194
27195 fi
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27197 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27198
27199 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27200 for ac_func in _fmodl
27201 do :
27202 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27203 if test "x$ac_cv_func__fmodl" = xyes; then :
27204 cat >>confdefs.h <<_ACEOF
27205 #define HAVE__FMODL 1
27206 _ACEOF
27207
27208 fi
27209 done
27210
27211 fi
27212 fi
27213
27214
27215
27216
27217
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27219 $as_echo_n "checking for frexpl declaration... " >&6; }
27220 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27221 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27222 $as_echo_n "(cached) " >&6
27223 else
27224
27225
27226 ac_ext=cpp
27227 ac_cpp='$CXXCPP $CPPFLAGS'
27228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27231
27232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233 /* end confdefs.h. */
27234 #include <math.h>
27235 int
27236 main ()
27237 {
27238 frexpl(0, 0);
27239 ;
27240 return 0;
27241 }
27242 _ACEOF
27243 if ac_fn_cxx_try_compile "$LINENO"; then :
27244 glibcxx_cv_func_frexpl_use=yes
27245 else
27246 glibcxx_cv_func_frexpl_use=no
27247 fi
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249 ac_ext=c
27250 ac_cpp='$CPP $CPPFLAGS'
27251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27254
27255
27256 fi
27257
27258 fi
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27260 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27261
27262 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27263 for ac_func in frexpl
27264 do :
27265 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27266 if test "x$ac_cv_func_frexpl" = xyes; then :
27267 cat >>confdefs.h <<_ACEOF
27268 #define HAVE_FREXPL 1
27269 _ACEOF
27270
27271 fi
27272 done
27273
27274 else
27275
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27277 $as_echo_n "checking for _frexpl declaration... " >&6; }
27278 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27279 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27280 $as_echo_n "(cached) " >&6
27281 else
27282
27283
27284 ac_ext=cpp
27285 ac_cpp='$CXXCPP $CPPFLAGS'
27286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27289
27290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27291 /* end confdefs.h. */
27292 #include <math.h>
27293 int
27294 main ()
27295 {
27296 _frexpl(0, 0);
27297 ;
27298 return 0;
27299 }
27300 _ACEOF
27301 if ac_fn_cxx_try_compile "$LINENO"; then :
27302 glibcxx_cv_func__frexpl_use=yes
27303 else
27304 glibcxx_cv_func__frexpl_use=no
27305 fi
27306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27307 ac_ext=c
27308 ac_cpp='$CPP $CPPFLAGS'
27309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27312
27313
27314 fi
27315
27316 fi
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27318 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27319
27320 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27321 for ac_func in _frexpl
27322 do :
27323 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27324 if test "x$ac_cv_func__frexpl" = xyes; then :
27325 cat >>confdefs.h <<_ACEOF
27326 #define HAVE__FREXPL 1
27327 _ACEOF
27328
27329 fi
27330 done
27331
27332 fi
27333 fi
27334
27335
27336
27337
27338
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27340 $as_echo_n "checking for hypotl declaration... " >&6; }
27341 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27342 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27343 $as_echo_n "(cached) " >&6
27344 else
27345
27346
27347 ac_ext=cpp
27348 ac_cpp='$CXXCPP $CPPFLAGS'
27349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27352
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355 #include <math.h>
27356 int
27357 main ()
27358 {
27359 hypotl(0, 0);
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 if ac_fn_cxx_try_compile "$LINENO"; then :
27365 glibcxx_cv_func_hypotl_use=yes
27366 else
27367 glibcxx_cv_func_hypotl_use=no
27368 fi
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370 ac_ext=c
27371 ac_cpp='$CPP $CPPFLAGS'
27372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27375
27376
27377 fi
27378
27379 fi
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27381 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27382
27383 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27384 for ac_func in hypotl
27385 do :
27386 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27387 if test "x$ac_cv_func_hypotl" = xyes; then :
27388 cat >>confdefs.h <<_ACEOF
27389 #define HAVE_HYPOTL 1
27390 _ACEOF
27391
27392 fi
27393 done
27394
27395 else
27396
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27398 $as_echo_n "checking for _hypotl declaration... " >&6; }
27399 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27400 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27401 $as_echo_n "(cached) " >&6
27402 else
27403
27404
27405 ac_ext=cpp
27406 ac_cpp='$CXXCPP $CPPFLAGS'
27407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27410
27411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h. */
27413 #include <math.h>
27414 int
27415 main ()
27416 {
27417 _hypotl(0, 0);
27418 ;
27419 return 0;
27420 }
27421 _ACEOF
27422 if ac_fn_cxx_try_compile "$LINENO"; then :
27423 glibcxx_cv_func__hypotl_use=yes
27424 else
27425 glibcxx_cv_func__hypotl_use=no
27426 fi
27427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27428 ac_ext=c
27429 ac_cpp='$CPP $CPPFLAGS'
27430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27433
27434
27435 fi
27436
27437 fi
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27439 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27440
27441 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27442 for ac_func in _hypotl
27443 do :
27444 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27445 if test "x$ac_cv_func__hypotl" = xyes; then :
27446 cat >>confdefs.h <<_ACEOF
27447 #define HAVE__HYPOTL 1
27448 _ACEOF
27449
27450 fi
27451 done
27452
27453 fi
27454 fi
27455
27456
27457
27458
27459
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27461 $as_echo_n "checking for ldexpl declaration... " >&6; }
27462 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27463 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27464 $as_echo_n "(cached) " >&6
27465 else
27466
27467
27468 ac_ext=cpp
27469 ac_cpp='$CXXCPP $CPPFLAGS'
27470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27473
27474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27475 /* end confdefs.h. */
27476 #include <math.h>
27477 int
27478 main ()
27479 {
27480 ldexpl(0, 0);
27481 ;
27482 return 0;
27483 }
27484 _ACEOF
27485 if ac_fn_cxx_try_compile "$LINENO"; then :
27486 glibcxx_cv_func_ldexpl_use=yes
27487 else
27488 glibcxx_cv_func_ldexpl_use=no
27489 fi
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27491 ac_ext=c
27492 ac_cpp='$CPP $CPPFLAGS'
27493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27496
27497
27498 fi
27499
27500 fi
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27502 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27503
27504 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27505 for ac_func in ldexpl
27506 do :
27507 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27508 if test "x$ac_cv_func_ldexpl" = xyes; then :
27509 cat >>confdefs.h <<_ACEOF
27510 #define HAVE_LDEXPL 1
27511 _ACEOF
27512
27513 fi
27514 done
27515
27516 else
27517
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27519 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27520 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27521 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27522 $as_echo_n "(cached) " >&6
27523 else
27524
27525
27526 ac_ext=cpp
27527 ac_cpp='$CXXCPP $CPPFLAGS'
27528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27531
27532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27533 /* end confdefs.h. */
27534 #include <math.h>
27535 int
27536 main ()
27537 {
27538 _ldexpl(0, 0);
27539 ;
27540 return 0;
27541 }
27542 _ACEOF
27543 if ac_fn_cxx_try_compile "$LINENO"; then :
27544 glibcxx_cv_func__ldexpl_use=yes
27545 else
27546 glibcxx_cv_func__ldexpl_use=no
27547 fi
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 ac_ext=c
27550 ac_cpp='$CPP $CPPFLAGS'
27551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27554
27555
27556 fi
27557
27558 fi
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27560 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27561
27562 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27563 for ac_func in _ldexpl
27564 do :
27565 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27566 if test "x$ac_cv_func__ldexpl" = xyes; then :
27567 cat >>confdefs.h <<_ACEOF
27568 #define HAVE__LDEXPL 1
27569 _ACEOF
27570
27571 fi
27572 done
27573
27574 fi
27575 fi
27576
27577
27578
27579
27580
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27582 $as_echo_n "checking for logl declaration... " >&6; }
27583 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27584 if ${glibcxx_cv_func_logl_use+:} false; then :
27585 $as_echo_n "(cached) " >&6
27586 else
27587
27588
27589 ac_ext=cpp
27590 ac_cpp='$CXXCPP $CPPFLAGS'
27591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27594
27595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27596 /* end confdefs.h. */
27597 #include <math.h>
27598 #ifdef HAVE_IEEEFP_H
27599 #include <ieeefp.h>
27600 #endif
27601
27602 int
27603 main ()
27604 {
27605 logl(0);
27606 ;
27607 return 0;
27608 }
27609 _ACEOF
27610 if ac_fn_cxx_try_compile "$LINENO"; then :
27611 glibcxx_cv_func_logl_use=yes
27612 else
27613 glibcxx_cv_func_logl_use=no
27614 fi
27615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27616 ac_ext=c
27617 ac_cpp='$CPP $CPPFLAGS'
27618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27621
27622
27623 fi
27624
27625 fi
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27627 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27628
27629 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27630 for ac_func in logl
27631 do :
27632 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27633 if test "x$ac_cv_func_logl" = xyes; then :
27634 cat >>confdefs.h <<_ACEOF
27635 #define HAVE_LOGL 1
27636 _ACEOF
27637
27638 fi
27639 done
27640
27641 else
27642
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27644 $as_echo_n "checking for _logl declaration... " >&6; }
27645 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27646 if ${glibcxx_cv_func__logl_use+:} false; then :
27647 $as_echo_n "(cached) " >&6
27648 else
27649
27650
27651 ac_ext=cpp
27652 ac_cpp='$CXXCPP $CPPFLAGS'
27653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27656
27657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27658 /* end confdefs.h. */
27659 #include <math.h>
27660 #ifdef HAVE_IEEEFP_H
27661 #include <ieeefp.h>
27662 #endif
27663
27664 int
27665 main ()
27666 {
27667 _logl(0);
27668 ;
27669 return 0;
27670 }
27671 _ACEOF
27672 if ac_fn_cxx_try_compile "$LINENO"; then :
27673 glibcxx_cv_func__logl_use=yes
27674 else
27675 glibcxx_cv_func__logl_use=no
27676 fi
27677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27678 ac_ext=c
27679 ac_cpp='$CPP $CPPFLAGS'
27680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27683
27684
27685 fi
27686
27687 fi
27688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27689 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27690
27691 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27692 for ac_func in _logl
27693 do :
27694 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27695 if test "x$ac_cv_func__logl" = xyes; then :
27696 cat >>confdefs.h <<_ACEOF
27697 #define HAVE__LOGL 1
27698 _ACEOF
27699
27700 fi
27701 done
27702
27703 fi
27704 fi
27705
27706
27707
27708
27709
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27711 $as_echo_n "checking for log10l declaration... " >&6; }
27712 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27713 if ${glibcxx_cv_func_log10l_use+:} false; then :
27714 $as_echo_n "(cached) " >&6
27715 else
27716
27717
27718 ac_ext=cpp
27719 ac_cpp='$CXXCPP $CPPFLAGS'
27720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27723
27724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27726 #include <math.h>
27727 #ifdef HAVE_IEEEFP_H
27728 #include <ieeefp.h>
27729 #endif
27730
27731 int
27732 main ()
27733 {
27734 log10l(0);
27735 ;
27736 return 0;
27737 }
27738 _ACEOF
27739 if ac_fn_cxx_try_compile "$LINENO"; then :
27740 glibcxx_cv_func_log10l_use=yes
27741 else
27742 glibcxx_cv_func_log10l_use=no
27743 fi
27744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27745 ac_ext=c
27746 ac_cpp='$CPP $CPPFLAGS'
27747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27750
27751
27752 fi
27753
27754 fi
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27756 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27757
27758 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27759 for ac_func in log10l
27760 do :
27761 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27762 if test "x$ac_cv_func_log10l" = xyes; then :
27763 cat >>confdefs.h <<_ACEOF
27764 #define HAVE_LOG10L 1
27765 _ACEOF
27766
27767 fi
27768 done
27769
27770 else
27771
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27773 $as_echo_n "checking for _log10l declaration... " >&6; }
27774 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27775 if ${glibcxx_cv_func__log10l_use+:} false; then :
27776 $as_echo_n "(cached) " >&6
27777 else
27778
27779
27780 ac_ext=cpp
27781 ac_cpp='$CXXCPP $CPPFLAGS'
27782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27785
27786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27787 /* end confdefs.h. */
27788 #include <math.h>
27789 #ifdef HAVE_IEEEFP_H
27790 #include <ieeefp.h>
27791 #endif
27792
27793 int
27794 main ()
27795 {
27796 _log10l(0);
27797 ;
27798 return 0;
27799 }
27800 _ACEOF
27801 if ac_fn_cxx_try_compile "$LINENO"; then :
27802 glibcxx_cv_func__log10l_use=yes
27803 else
27804 glibcxx_cv_func__log10l_use=no
27805 fi
27806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27807 ac_ext=c
27808 ac_cpp='$CPP $CPPFLAGS'
27809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27812
27813
27814 fi
27815
27816 fi
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27818 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27819
27820 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27821 for ac_func in _log10l
27822 do :
27823 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27824 if test "x$ac_cv_func__log10l" = xyes; then :
27825 cat >>confdefs.h <<_ACEOF
27826 #define HAVE__LOG10L 1
27827 _ACEOF
27828
27829 fi
27830 done
27831
27832 fi
27833 fi
27834
27835
27836
27837
27838
27839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27840 $as_echo_n "checking for modfl declaration... " >&6; }
27841 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27842 if ${glibcxx_cv_func_modfl_use+:} false; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27845
27846
27847 ac_ext=cpp
27848 ac_cpp='$CXXCPP $CPPFLAGS'
27849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27852
27853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27854 /* end confdefs.h. */
27855 #include <math.h>
27856 int
27857 main ()
27858 {
27859 modfl(0, 0);
27860 ;
27861 return 0;
27862 }
27863 _ACEOF
27864 if ac_fn_cxx_try_compile "$LINENO"; then :
27865 glibcxx_cv_func_modfl_use=yes
27866 else
27867 glibcxx_cv_func_modfl_use=no
27868 fi
27869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27870 ac_ext=c
27871 ac_cpp='$CPP $CPPFLAGS'
27872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27875
27876
27877 fi
27878
27879 fi
27880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27881 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27882
27883 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27884 for ac_func in modfl
27885 do :
27886 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27887 if test "x$ac_cv_func_modfl" = xyes; then :
27888 cat >>confdefs.h <<_ACEOF
27889 #define HAVE_MODFL 1
27890 _ACEOF
27891
27892 fi
27893 done
27894
27895 else
27896
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27898 $as_echo_n "checking for _modfl declaration... " >&6; }
27899 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27900 if ${glibcxx_cv_func__modfl_use+:} false; then :
27901 $as_echo_n "(cached) " >&6
27902 else
27903
27904
27905 ac_ext=cpp
27906 ac_cpp='$CXXCPP $CPPFLAGS'
27907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27910
27911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27912 /* end confdefs.h. */
27913 #include <math.h>
27914 int
27915 main ()
27916 {
27917 _modfl(0, 0);
27918 ;
27919 return 0;
27920 }
27921 _ACEOF
27922 if ac_fn_cxx_try_compile "$LINENO"; then :
27923 glibcxx_cv_func__modfl_use=yes
27924 else
27925 glibcxx_cv_func__modfl_use=no
27926 fi
27927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27928 ac_ext=c
27929 ac_cpp='$CPP $CPPFLAGS'
27930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27933
27934
27935 fi
27936
27937 fi
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27939 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27940
27941 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27942 for ac_func in _modfl
27943 do :
27944 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27945 if test "x$ac_cv_func__modfl" = xyes; then :
27946 cat >>confdefs.h <<_ACEOF
27947 #define HAVE__MODFL 1
27948 _ACEOF
27949
27950 fi
27951 done
27952
27953 fi
27954 fi
27955
27956
27957
27958
27959
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27961 $as_echo_n "checking for powl declaration... " >&6; }
27962 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27963 if ${glibcxx_cv_func_powl_use+:} false; then :
27964 $as_echo_n "(cached) " >&6
27965 else
27966
27967
27968 ac_ext=cpp
27969 ac_cpp='$CXXCPP $CPPFLAGS'
27970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27973
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 #include <math.h>
27977 int
27978 main ()
27979 {
27980 powl(0, 0);
27981 ;
27982 return 0;
27983 }
27984 _ACEOF
27985 if ac_fn_cxx_try_compile "$LINENO"; then :
27986 glibcxx_cv_func_powl_use=yes
27987 else
27988 glibcxx_cv_func_powl_use=no
27989 fi
27990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991 ac_ext=c
27992 ac_cpp='$CPP $CPPFLAGS'
27993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27996
27997
27998 fi
27999
28000 fi
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
28002 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
28003
28004 if test x$glibcxx_cv_func_powl_use = x"yes"; then
28005 for ac_func in powl
28006 do :
28007 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
28008 if test "x$ac_cv_func_powl" = xyes; then :
28009 cat >>confdefs.h <<_ACEOF
28010 #define HAVE_POWL 1
28011 _ACEOF
28012
28013 fi
28014 done
28015
28016 else
28017
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
28019 $as_echo_n "checking for _powl declaration... " >&6; }
28020 if test x${glibcxx_cv_func__powl_use+set} != xset; then
28021 if ${glibcxx_cv_func__powl_use+:} false; then :
28022 $as_echo_n "(cached) " >&6
28023 else
28024
28025
28026 ac_ext=cpp
28027 ac_cpp='$CXXCPP $CPPFLAGS'
28028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28031
28032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033 /* end confdefs.h. */
28034 #include <math.h>
28035 int
28036 main ()
28037 {
28038 _powl(0, 0);
28039 ;
28040 return 0;
28041 }
28042 _ACEOF
28043 if ac_fn_cxx_try_compile "$LINENO"; then :
28044 glibcxx_cv_func__powl_use=yes
28045 else
28046 glibcxx_cv_func__powl_use=no
28047 fi
28048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28049 ac_ext=c
28050 ac_cpp='$CPP $CPPFLAGS'
28051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28054
28055
28056 fi
28057
28058 fi
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28060 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28061
28062 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28063 for ac_func in _powl
28064 do :
28065 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28066 if test "x$ac_cv_func__powl" = xyes; then :
28067 cat >>confdefs.h <<_ACEOF
28068 #define HAVE__POWL 1
28069 _ACEOF
28070
28071 fi
28072 done
28073
28074 fi
28075 fi
28076
28077
28078
28079
28080
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28082 $as_echo_n "checking for sqrtl declaration... " >&6; }
28083 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28084 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28085 $as_echo_n "(cached) " >&6
28086 else
28087
28088
28089 ac_ext=cpp
28090 ac_cpp='$CXXCPP $CPPFLAGS'
28091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28094
28095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28096 /* end confdefs.h. */
28097 #include <math.h>
28098 #ifdef HAVE_IEEEFP_H
28099 #include <ieeefp.h>
28100 #endif
28101
28102 int
28103 main ()
28104 {
28105 sqrtl(0);
28106 ;
28107 return 0;
28108 }
28109 _ACEOF
28110 if ac_fn_cxx_try_compile "$LINENO"; then :
28111 glibcxx_cv_func_sqrtl_use=yes
28112 else
28113 glibcxx_cv_func_sqrtl_use=no
28114 fi
28115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28116 ac_ext=c
28117 ac_cpp='$CPP $CPPFLAGS'
28118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28121
28122
28123 fi
28124
28125 fi
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28127 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28128
28129 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28130 for ac_func in sqrtl
28131 do :
28132 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28133 if test "x$ac_cv_func_sqrtl" = xyes; then :
28134 cat >>confdefs.h <<_ACEOF
28135 #define HAVE_SQRTL 1
28136 _ACEOF
28137
28138 fi
28139 done
28140
28141 else
28142
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28144 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28145 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28146 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28147 $as_echo_n "(cached) " >&6
28148 else
28149
28150
28151 ac_ext=cpp
28152 ac_cpp='$CXXCPP $CPPFLAGS'
28153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28156
28157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158 /* end confdefs.h. */
28159 #include <math.h>
28160 #ifdef HAVE_IEEEFP_H
28161 #include <ieeefp.h>
28162 #endif
28163
28164 int
28165 main ()
28166 {
28167 _sqrtl(0);
28168 ;
28169 return 0;
28170 }
28171 _ACEOF
28172 if ac_fn_cxx_try_compile "$LINENO"; then :
28173 glibcxx_cv_func__sqrtl_use=yes
28174 else
28175 glibcxx_cv_func__sqrtl_use=no
28176 fi
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 ac_ext=c
28179 ac_cpp='$CPP $CPPFLAGS'
28180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28183
28184
28185 fi
28186
28187 fi
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28189 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28190
28191 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28192 for ac_func in _sqrtl
28193 do :
28194 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28195 if test "x$ac_cv_func__sqrtl" = xyes; then :
28196 cat >>confdefs.h <<_ACEOF
28197 #define HAVE__SQRTL 1
28198 _ACEOF
28199
28200 fi
28201 done
28202
28203 fi
28204 fi
28205
28206
28207
28208
28209
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28211 $as_echo_n "checking for sincosl declaration... " >&6; }
28212 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28213 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28216
28217
28218 ac_ext=cpp
28219 ac_cpp='$CXXCPP $CPPFLAGS'
28220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28223
28224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28225 /* end confdefs.h. */
28226 #include <math.h>
28227 int
28228 main ()
28229 {
28230 sincosl(0, 0, 0);
28231 ;
28232 return 0;
28233 }
28234 _ACEOF
28235 if ac_fn_cxx_try_compile "$LINENO"; then :
28236 glibcxx_cv_func_sincosl_use=yes
28237 else
28238 glibcxx_cv_func_sincosl_use=no
28239 fi
28240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28241 ac_ext=c
28242 ac_cpp='$CPP $CPPFLAGS'
28243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28246
28247
28248 fi
28249
28250 fi
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28252 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28253
28254 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28255 for ac_func in sincosl
28256 do :
28257 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28258 if test "x$ac_cv_func_sincosl" = xyes; then :
28259 cat >>confdefs.h <<_ACEOF
28260 #define HAVE_SINCOSL 1
28261 _ACEOF
28262
28263 fi
28264 done
28265
28266 else
28267
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28269 $as_echo_n "checking for _sincosl declaration... " >&6; }
28270 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28271 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28272 $as_echo_n "(cached) " >&6
28273 else
28274
28275
28276 ac_ext=cpp
28277 ac_cpp='$CXXCPP $CPPFLAGS'
28278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28281
28282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28283 /* end confdefs.h. */
28284 #include <math.h>
28285 int
28286 main ()
28287 {
28288 _sincosl(0, 0, 0);
28289 ;
28290 return 0;
28291 }
28292 _ACEOF
28293 if ac_fn_cxx_try_compile "$LINENO"; then :
28294 glibcxx_cv_func__sincosl_use=yes
28295 else
28296 glibcxx_cv_func__sincosl_use=no
28297 fi
28298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299 ac_ext=c
28300 ac_cpp='$CPP $CPPFLAGS'
28301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304
28305
28306 fi
28307
28308 fi
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28310 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28311
28312 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28313 for ac_func in _sincosl
28314 do :
28315 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28316 if test "x$ac_cv_func__sincosl" = xyes; then :
28317 cat >>confdefs.h <<_ACEOF
28318 #define HAVE__SINCOSL 1
28319 _ACEOF
28320
28321 fi
28322 done
28323
28324 fi
28325 fi
28326
28327
28328
28329
28330
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28332 $as_echo_n "checking for finitel declaration... " >&6; }
28333 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28334 if ${glibcxx_cv_func_finitel_use+:} false; then :
28335 $as_echo_n "(cached) " >&6
28336 else
28337
28338
28339 ac_ext=cpp
28340 ac_cpp='$CXXCPP $CPPFLAGS'
28341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28344
28345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28346 /* end confdefs.h. */
28347 #include <math.h>
28348 #ifdef HAVE_IEEEFP_H
28349 #include <ieeefp.h>
28350 #endif
28351
28352 int
28353 main ()
28354 {
28355 finitel(0);
28356 ;
28357 return 0;
28358 }
28359 _ACEOF
28360 if ac_fn_cxx_try_compile "$LINENO"; then :
28361 glibcxx_cv_func_finitel_use=yes
28362 else
28363 glibcxx_cv_func_finitel_use=no
28364 fi
28365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28366 ac_ext=c
28367 ac_cpp='$CPP $CPPFLAGS'
28368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28371
28372
28373 fi
28374
28375 fi
28376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28377 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28378
28379 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28380 for ac_func in finitel
28381 do :
28382 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28383 if test "x$ac_cv_func_finitel" = xyes; then :
28384 cat >>confdefs.h <<_ACEOF
28385 #define HAVE_FINITEL 1
28386 _ACEOF
28387
28388 fi
28389 done
28390
28391 else
28392
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28394 $as_echo_n "checking for _finitel declaration... " >&6; }
28395 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28396 if ${glibcxx_cv_func__finitel_use+:} false; then :
28397 $as_echo_n "(cached) " >&6
28398 else
28399
28400
28401 ac_ext=cpp
28402 ac_cpp='$CXXCPP $CPPFLAGS'
28403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28406
28407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28408 /* end confdefs.h. */
28409 #include <math.h>
28410 #ifdef HAVE_IEEEFP_H
28411 #include <ieeefp.h>
28412 #endif
28413
28414 int
28415 main ()
28416 {
28417 _finitel(0);
28418 ;
28419 return 0;
28420 }
28421 _ACEOF
28422 if ac_fn_cxx_try_compile "$LINENO"; then :
28423 glibcxx_cv_func__finitel_use=yes
28424 else
28425 glibcxx_cv_func__finitel_use=no
28426 fi
28427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28428 ac_ext=c
28429 ac_cpp='$CPP $CPPFLAGS'
28430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28433
28434
28435 fi
28436
28437 fi
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28439 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28440
28441 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28442 for ac_func in _finitel
28443 do :
28444 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28445 if test "x$ac_cv_func__finitel" = xyes; then :
28446 cat >>confdefs.h <<_ACEOF
28447 #define HAVE__FINITEL 1
28448 _ACEOF
28449
28450 fi
28451 done
28452
28453 fi
28454 fi
28455
28456
28457
28458
28459 LIBS="$ac_save_LIBS"
28460 CXXFLAGS="$ac_save_CXXFLAGS"
28461
28462
28463 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28464 ac_save_CXXFLAGS="$CXXFLAGS"
28465 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28466
28467
28468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28469 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28470 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28471 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28472 $as_echo_n "(cached) " >&6
28473 else
28474
28475
28476 ac_ext=cpp
28477 ac_cpp='$CXXCPP $CPPFLAGS'
28478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28481
28482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28483 /* end confdefs.h. */
28484 #include <stdlib.h>
28485 int
28486 main ()
28487 {
28488 at_quick_exit(0);
28489 ;
28490 return 0;
28491 }
28492 _ACEOF
28493 if ac_fn_cxx_try_compile "$LINENO"; then :
28494 glibcxx_cv_func_at_quick_exit_use=yes
28495 else
28496 glibcxx_cv_func_at_quick_exit_use=no
28497 fi
28498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28499 ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28504
28505
28506 fi
28507
28508 fi
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28510 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28511 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28512 for ac_func in at_quick_exit
28513 do :
28514 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28515 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28516 cat >>confdefs.h <<_ACEOF
28517 #define HAVE_AT_QUICK_EXIT 1
28518 _ACEOF
28519
28520 fi
28521 done
28522
28523 fi
28524
28525
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28527 $as_echo_n "checking for quick_exit declaration... " >&6; }
28528 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28529 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28530 $as_echo_n "(cached) " >&6
28531 else
28532
28533
28534 ac_ext=cpp
28535 ac_cpp='$CXXCPP $CPPFLAGS'
28536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28539
28540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28542 #include <stdlib.h>
28543 int
28544 main ()
28545 {
28546 quick_exit(0);
28547 ;
28548 return 0;
28549 }
28550 _ACEOF
28551 if ac_fn_cxx_try_compile "$LINENO"; then :
28552 glibcxx_cv_func_quick_exit_use=yes
28553 else
28554 glibcxx_cv_func_quick_exit_use=no
28555 fi
28556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28557 ac_ext=c
28558 ac_cpp='$CPP $CPPFLAGS'
28559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28562
28563
28564 fi
28565
28566 fi
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28568 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28569 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28570 for ac_func in quick_exit
28571 do :
28572 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28573 if test "x$ac_cv_func_quick_exit" = xyes; then :
28574 cat >>confdefs.h <<_ACEOF
28575 #define HAVE_QUICK_EXIT 1
28576 _ACEOF
28577
28578 fi
28579 done
28580
28581 fi
28582
28583
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28585 $as_echo_n "checking for strtold declaration... " >&6; }
28586 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28587 if ${glibcxx_cv_func_strtold_use+:} false; then :
28588 $as_echo_n "(cached) " >&6
28589 else
28590
28591
28592 ac_ext=cpp
28593 ac_cpp='$CXXCPP $CPPFLAGS'
28594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28597
28598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28599 /* end confdefs.h. */
28600 #include <stdlib.h>
28601 int
28602 main ()
28603 {
28604 strtold(0, 0);
28605 ;
28606 return 0;
28607 }
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610 glibcxx_cv_func_strtold_use=yes
28611 else
28612 glibcxx_cv_func_strtold_use=no
28613 fi
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615 ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28620
28621
28622 fi
28623
28624 fi
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28626 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28627 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28628 for ac_func in strtold
28629 do :
28630 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28631 if test "x$ac_cv_func_strtold" = xyes; then :
28632 cat >>confdefs.h <<_ACEOF
28633 #define HAVE_STRTOLD 1
28634 _ACEOF
28635
28636 fi
28637 done
28638
28639 fi
28640
28641
28642
28643
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28645 $as_echo_n "checking for strtof declaration... " >&6; }
28646 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28647 if ${glibcxx_cv_func_strtof_use+:} false; then :
28648 $as_echo_n "(cached) " >&6
28649 else
28650
28651
28652 ac_ext=cpp
28653 ac_cpp='$CXXCPP $CPPFLAGS'
28654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28657
28658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28659 /* end confdefs.h. */
28660 #include <stdlib.h>
28661 int
28662 main ()
28663 {
28664 strtof(0, 0);
28665 ;
28666 return 0;
28667 }
28668 _ACEOF
28669 if ac_fn_cxx_try_compile "$LINENO"; then :
28670 glibcxx_cv_func_strtof_use=yes
28671 else
28672 glibcxx_cv_func_strtof_use=no
28673 fi
28674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28675 ac_ext=c
28676 ac_cpp='$CPP $CPPFLAGS'
28677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28680
28681
28682 fi
28683
28684 fi
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28686 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28687 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28688 for ac_func in strtof
28689 do :
28690 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28691 if test "x$ac_cv_func_strtof" = xyes; then :
28692 cat >>confdefs.h <<_ACEOF
28693 #define HAVE_STRTOF 1
28694 _ACEOF
28695
28696 fi
28697 done
28698
28699 fi
28700
28701
28702
28703
28704 CXXFLAGS="$ac_save_CXXFLAGS"
28705
28706
28707 # For /dev/random and /dev/urandom for std::random_device.
28708
28709
28710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28711 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28712 if ${glibcxx_cv_dev_random+:} false; then :
28713 $as_echo_n "(cached) " >&6
28714 else
28715
28716 if test -r /dev/random && test -r /dev/urandom; then
28717 ## For MSys environment the test above is detected as false-positive
28718 ## on mingw-targets. So disable it explicitly for them.
28719 case ${target_os} in
28720 *mingw*) glibcxx_cv_dev_random=no ;;
28721 *) glibcxx_cv_dev_random=yes ;;
28722 esac
28723 else
28724 glibcxx_cv_dev_random=no;
28725 fi
28726
28727 fi
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28729 $as_echo "$glibcxx_cv_dev_random" >&6; }
28730
28731 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28732
28733 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28734
28735
28736 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28737
28738 fi
28739
28740
28741
28742 # For TLS support.
28743
28744
28745 # Check whether --enable-tls was given.
28746 if test "${enable_tls+set}" = set; then :
28747 enableval=$enable_tls;
28748 case "$enableval" in
28749 yes|no) ;;
28750 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28751 esac
28752
28753 else
28754 enable_tls=yes
28755 fi
28756
28757
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28759 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28760 if ${gcc_cv_have_tls+:} false; then :
28761 $as_echo_n "(cached) " >&6
28762 else
28763
28764 if test "$cross_compiling" = yes; then :
28765 if test x$gcc_no_link = xyes; then
28766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28767 fi
28768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28769 /* end confdefs.h. */
28770 __thread int a; int b; int main() { return a = b; }
28771 _ACEOF
28772 if ac_fn_c_try_link "$LINENO"; then :
28773 chktls_save_LDFLAGS="$LDFLAGS"
28774 case $host in
28775 *-*-linux* | -*-uclinuxfdpic*)
28776 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28777 ;;
28778 esac
28779 chktls_save_CFLAGS="$CFLAGS"
28780 CFLAGS="-fPIC $CFLAGS"
28781 if test x$gcc_no_link = xyes; then
28782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28783 fi
28784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28785 /* end confdefs.h. */
28786 int f() { return 0; }
28787 _ACEOF
28788 if ac_fn_c_try_link "$LINENO"; then :
28789 if test x$gcc_no_link = xyes; then
28790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28791 fi
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28794 __thread int a; int b; int f() { return a = b; }
28795 _ACEOF
28796 if ac_fn_c_try_link "$LINENO"; then :
28797 gcc_cv_have_tls=yes
28798 else
28799 gcc_cv_have_tls=no
28800 fi
28801 rm -f core conftest.err conftest.$ac_objext \
28802 conftest$ac_exeext conftest.$ac_ext
28803 else
28804 gcc_cv_have_tls=yes
28805 fi
28806 rm -f core conftest.err conftest.$ac_objext \
28807 conftest$ac_exeext conftest.$ac_ext
28808 CFLAGS="$chktls_save_CFLAGS"
28809 LDFLAGS="$chktls_save_LDFLAGS"
28810 else
28811 gcc_cv_have_tls=no
28812 fi
28813 rm -f core conftest.err conftest.$ac_objext \
28814 conftest$ac_exeext conftest.$ac_ext
28815
28816
28817 else
28818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28819 /* end confdefs.h. */
28820 __thread int a; int b; int main() { return a = b; }
28821 _ACEOF
28822 if ac_fn_c_try_run "$LINENO"; then :
28823 chktls_save_LDFLAGS="$LDFLAGS"
28824 LDFLAGS="-static $LDFLAGS"
28825 if test x$gcc_no_link = xyes; then
28826 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28827 fi
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830 int main() { return 0; }
28831 _ACEOF
28832 if ac_fn_c_try_link "$LINENO"; then :
28833 if test "$cross_compiling" = yes; then :
28834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28836 as_fn_error $? "cannot run test program while cross compiling
28837 See \`config.log' for more details" "$LINENO" 5; }
28838 else
28839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28840 /* end confdefs.h. */
28841 __thread int a; int b; int main() { return a = b; }
28842 _ACEOF
28843 if ac_fn_c_try_run "$LINENO"; then :
28844 gcc_cv_have_tls=yes
28845 else
28846 gcc_cv_have_tls=no
28847 fi
28848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28849 conftest.$ac_objext conftest.beam conftest.$ac_ext
28850 fi
28851
28852 else
28853 gcc_cv_have_tls=yes
28854 fi
28855 rm -f core conftest.err conftest.$ac_objext \
28856 conftest$ac_exeext conftest.$ac_ext
28857 LDFLAGS="$chktls_save_LDFLAGS"
28858 if test $gcc_cv_have_tls = yes; then
28859 chktls_save_CFLAGS="$CFLAGS"
28860 thread_CFLAGS=failed
28861 for flag in '' '-pthread' '-lpthread'; do
28862 CFLAGS="$flag $chktls_save_CFLAGS"
28863 if test x$gcc_no_link = xyes; then
28864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28865 fi
28866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28867 /* end confdefs.h. */
28868 #include <pthread.h>
28869 void *g(void *d) { return NULL; }
28870 int
28871 main ()
28872 {
28873 pthread_t t; pthread_create(&t,NULL,g,NULL);
28874 ;
28875 return 0;
28876 }
28877 _ACEOF
28878 if ac_fn_c_try_link "$LINENO"; then :
28879 thread_CFLAGS="$flag"
28880 fi
28881 rm -f core conftest.err conftest.$ac_objext \
28882 conftest$ac_exeext conftest.$ac_ext
28883 if test "X$thread_CFLAGS" != Xfailed; then
28884 break
28885 fi
28886 done
28887 CFLAGS="$chktls_save_CFLAGS"
28888 if test "X$thread_CFLAGS" != Xfailed; then
28889 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28890 if test "$cross_compiling" = yes; then :
28891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28893 as_fn_error $? "cannot run test program while cross compiling
28894 See \`config.log' for more details" "$LINENO" 5; }
28895 else
28896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28897 /* end confdefs.h. */
28898 #include <pthread.h>
28899 __thread int a;
28900 static int *volatile a_in_other_thread;
28901 static void *
28902 thread_func (void *arg)
28903 {
28904 a_in_other_thread = &a;
28905 return (void *)0;
28906 }
28907 int
28908 main ()
28909 {
28910 pthread_t thread;
28911 void *thread_retval;
28912 int *volatile a_in_main_thread;
28913 a_in_main_thread = &a;
28914 if (pthread_create (&thread, (pthread_attr_t *)0,
28915 thread_func, (void *)0))
28916 return 0;
28917 if (pthread_join (thread, &thread_retval))
28918 return 0;
28919 return (a_in_other_thread == a_in_main_thread);
28920 ;
28921 return 0;
28922 }
28923 _ACEOF
28924 if ac_fn_c_try_run "$LINENO"; then :
28925 gcc_cv_have_tls=yes
28926 else
28927 gcc_cv_have_tls=no
28928 fi
28929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28930 conftest.$ac_objext conftest.beam conftest.$ac_ext
28931 fi
28932
28933 CFLAGS="$chktls_save_CFLAGS"
28934 fi
28935 fi
28936 else
28937 gcc_cv_have_tls=no
28938 fi
28939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28940 conftest.$ac_objext conftest.beam conftest.$ac_ext
28941 fi
28942
28943 fi
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28945 $as_echo "$gcc_cv_have_tls" >&6; }
28946 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28947
28948 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28949
28950 fi
28951
28952 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28953 do :
28954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28957 cat >>confdefs.h <<_ACEOF
28958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 _ACEOF
28960
28961 fi
28962 done
28963
28964 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28965 do :
28966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28968 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28969 cat >>confdefs.h <<_ACEOF
28970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28971 _ACEOF
28972
28973 fi
28974 done
28975
28976 for ac_func in _wfopen
28977 do :
28978 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28979 if test "x$ac_cv_func__wfopen" = xyes; then :
28980 cat >>confdefs.h <<_ACEOF
28981 #define HAVE__WFOPEN 1
28982 _ACEOF
28983
28984 fi
28985 done
28986
28987 for ac_func in secure_getenv
28988 do :
28989 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28990 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28991 cat >>confdefs.h <<_ACEOF
28992 #define HAVE_SECURE_GETENV 1
28993 _ACEOF
28994
28995 fi
28996 done
28997
28998
28999 # C11 functions for C++17 library
29000 for ac_func in timespec_get
29001 do :
29002 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
29003 if test "x$ac_cv_func_timespec_get" = xyes; then :
29004 cat >>confdefs.h <<_ACEOF
29005 #define HAVE_TIMESPEC_GET 1
29006 _ACEOF
29007
29008 fi
29009 done
29010
29011
29012 # For Networking TS.
29013 for ac_func in sockatmark
29014 do :
29015 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
29016 if test "x$ac_cv_func_sockatmark" = xyes; then :
29017 cat >>confdefs.h <<_ACEOF
29018 #define HAVE_SOCKATMARK 1
29019 _ACEOF
29020
29021 fi
29022 done
29023
29024
29025 # Non-standard functions used by C++17 std::from_chars
29026 for ac_func in uselocale
29027 do :
29028 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
29029 if test "x$ac_cv_func_uselocale" = xyes; then :
29030 cat >>confdefs.h <<_ACEOF
29031 #define HAVE_USELOCALE 1
29032 _ACEOF
29033
29034 fi
29035 done
29036
29037
29038 # For iconv support.
29039
29040 if test "X$prefix" = "XNONE"; then
29041 acl_final_prefix="$ac_default_prefix"
29042 else
29043 acl_final_prefix="$prefix"
29044 fi
29045 if test "X$exec_prefix" = "XNONE"; then
29046 acl_final_exec_prefix='${prefix}'
29047 else
29048 acl_final_exec_prefix="$exec_prefix"
29049 fi
29050 acl_save_prefix="$prefix"
29051 prefix="$acl_final_prefix"
29052 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29053 prefix="$acl_save_prefix"
29054
29055
29056 # Check whether --with-gnu-ld was given.
29057 if test "${with_gnu_ld+set}" = set; then :
29058 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29059 else
29060 with_gnu_ld=no
29061 fi
29062
29063 # Prepare PATH_SEPARATOR.
29064 # The user is always right.
29065 if test "${PATH_SEPARATOR+set}" != set; then
29066 echo "#! /bin/sh" >conf$$.sh
29067 echo "exit 0" >>conf$$.sh
29068 chmod +x conf$$.sh
29069 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29070 PATH_SEPARATOR=';'
29071 else
29072 PATH_SEPARATOR=:
29073 fi
29074 rm -f conf$$.sh
29075 fi
29076 ac_prog=ld
29077 if test "$GCC" = yes; then
29078 # Check if gcc -print-prog-name=ld gives a path.
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29080 $as_echo_n "checking for ld used by GCC... " >&6; }
29081 case $host in
29082 *-*-mingw*)
29083 # gcc leaves a trailing carriage return which upsets mingw
29084 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29085 *)
29086 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29087 esac
29088 case $ac_prog in
29089 # Accept absolute paths.
29090 [\\/]* | [A-Za-z]:[\\/]*)
29091 re_direlt='/[^/][^/]*/\.\./'
29092 # Canonicalize the path of ld
29093 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29094 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29095 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29096 done
29097 test -z "$LD" && LD="$ac_prog"
29098 ;;
29099 "")
29100 # If it fails, then pretend we aren't using GCC.
29101 ac_prog=ld
29102 ;;
29103 *)
29104 # If it is relative, then search for the first ld in PATH.
29105 with_gnu_ld=unknown
29106 ;;
29107 esac
29108 elif test "$with_gnu_ld" = yes; then
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29110 $as_echo_n "checking for GNU ld... " >&6; }
29111 else
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29113 $as_echo_n "checking for non-GNU ld... " >&6; }
29114 fi
29115 if ${acl_cv_path_LD+:} false; then :
29116 $as_echo_n "(cached) " >&6
29117 else
29118 if test -z "$LD"; then
29119 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29120 for ac_dir in $PATH; do
29121 test -z "$ac_dir" && ac_dir=.
29122 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29123 acl_cv_path_LD="$ac_dir/$ac_prog"
29124 # Check to see if the program is GNU ld. I'd rather use --version,
29125 # but apparently some GNU ld's only accept -v.
29126 # Break only if it was the GNU/non-GNU ld that we prefer.
29127 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
29128 test "$with_gnu_ld" != no && break
29129 else
29130 test "$with_gnu_ld" != yes && break
29131 fi
29132 fi
29133 done
29134 IFS="$ac_save_ifs"
29135 else
29136 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29137 fi
29138 fi
29139
29140 LD="$acl_cv_path_LD"
29141 if test -n "$LD"; then
29142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29143 $as_echo "$LD" >&6; }
29144 else
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29146 $as_echo "no" >&6; }
29147 fi
29148 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29150 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29151 if ${acl_cv_prog_gnu_ld+:} false; then :
29152 $as_echo_n "(cached) " >&6
29153 else
29154 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29155 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
29156 acl_cv_prog_gnu_ld=yes
29157 else
29158 acl_cv_prog_gnu_ld=no
29159 fi
29160 fi
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29162 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29163 with_gnu_ld=$acl_cv_prog_gnu_ld
29164
29165
29166
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29168 $as_echo_n "checking for shared library run path origin... " >&6; }
29169 if ${acl_cv_rpath+:} false; then :
29170 $as_echo_n "(cached) " >&6
29171 else
29172
29173 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29174 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29175 . ./conftest.sh
29176 rm -f ./conftest.sh
29177 acl_cv_rpath=done
29178
29179 fi
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29181 $as_echo "$acl_cv_rpath" >&6; }
29182 wl="$acl_cv_wl"
29183 libext="$acl_cv_libext"
29184 shlibext="$acl_cv_shlibext"
29185 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29186 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29187 hardcode_direct="$acl_cv_hardcode_direct"
29188 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29189 # Check whether --enable-rpath was given.
29190 if test "${enable_rpath+set}" = set; then :
29191 enableval=$enable_rpath; :
29192 else
29193 enable_rpath=yes
29194 fi
29195
29196
29197
29198
29199
29200
29201
29202
29203 use_additional=yes
29204
29205 acl_save_prefix="$prefix"
29206 prefix="$acl_final_prefix"
29207 acl_save_exec_prefix="$exec_prefix"
29208 exec_prefix="$acl_final_exec_prefix"
29209
29210 eval additional_includedir=\"$includedir\"
29211 eval additional_libdir=\"$libdir\"
29212
29213 exec_prefix="$acl_save_exec_prefix"
29214 prefix="$acl_save_prefix"
29215
29216
29217 # Check whether --with-libiconv-prefix was given.
29218 if test "${with_libiconv_prefix+set}" = set; then :
29219 withval=$with_libiconv_prefix;
29220 if test "X$withval" = "Xno"; then
29221 use_additional=no
29222 else
29223 if test "X$withval" = "X"; then
29224
29225 acl_save_prefix="$prefix"
29226 prefix="$acl_final_prefix"
29227 acl_save_exec_prefix="$exec_prefix"
29228 exec_prefix="$acl_final_exec_prefix"
29229
29230 eval additional_includedir=\"$includedir\"
29231 eval additional_libdir=\"$libdir\"
29232
29233 exec_prefix="$acl_save_exec_prefix"
29234 prefix="$acl_save_prefix"
29235
29236 else
29237 additional_includedir="$withval/include"
29238 additional_libdir="$withval/lib"
29239 fi
29240 fi
29241
29242 fi
29243
29244
29245 # Check whether --with-libiconv-type was given.
29246 if test "${with_libiconv_type+set}" = set; then :
29247 withval=$with_libiconv_type; with_libiconv_type=$withval
29248 else
29249 with_libiconv_type=auto
29250 fi
29251
29252 lib_type=`eval echo \$with_libiconv_type`
29253
29254 LIBICONV=
29255 LTLIBICONV=
29256 INCICONV=
29257 rpathdirs=
29258 ltrpathdirs=
29259 names_already_handled=
29260 names_next_round='iconv '
29261 while test -n "$names_next_round"; do
29262 names_this_round="$names_next_round"
29263 names_next_round=
29264 for name in $names_this_round; do
29265 already_handled=
29266 for n in $names_already_handled; do
29267 if test "$n" = "$name"; then
29268 already_handled=yes
29269 break
29270 fi
29271 done
29272 if test -z "$already_handled"; then
29273 names_already_handled="$names_already_handled $name"
29274 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29275 eval value=\"\$HAVE_LIB$uppername\"
29276 if test -n "$value"; then
29277 if test "$value" = yes; then
29278 eval value=\"\$LIB$uppername\"
29279 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29280 eval value=\"\$LTLIB$uppername\"
29281 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29282 else
29283 :
29284 fi
29285 else
29286 found_dir=
29287 found_la=
29288 found_so=
29289 found_a=
29290 if test $use_additional = yes; then
29291 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29292 found_dir="$additional_libdir"
29293 found_so="$additional_libdir/lib$name.$shlibext"
29294 if test -f "$additional_libdir/lib$name.la"; then
29295 found_la="$additional_libdir/lib$name.la"
29296 fi
29297 elif test x$lib_type != xshared; then
29298 if test -f "$additional_libdir/lib$name.$libext"; then
29299 found_dir="$additional_libdir"
29300 found_a="$additional_libdir/lib$name.$libext"
29301 if test -f "$additional_libdir/lib$name.la"; then
29302 found_la="$additional_libdir/lib$name.la"
29303 fi
29304 fi
29305 fi
29306 fi
29307 if test "X$found_dir" = "X"; then
29308 for x in $LDFLAGS $LTLIBICONV; do
29309
29310 acl_save_prefix="$prefix"
29311 prefix="$acl_final_prefix"
29312 acl_save_exec_prefix="$exec_prefix"
29313 exec_prefix="$acl_final_exec_prefix"
29314 eval x=\"$x\"
29315 exec_prefix="$acl_save_exec_prefix"
29316 prefix="$acl_save_prefix"
29317
29318 case "$x" in
29319 -L*)
29320 dir=`echo "X$x" | sed -e 's/^X-L//'`
29321 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29322 found_dir="$dir"
29323 found_so="$dir/lib$name.$shlibext"
29324 if test -f "$dir/lib$name.la"; then
29325 found_la="$dir/lib$name.la"
29326 fi
29327 elif test x$lib_type != xshared; then
29328 if test -f "$dir/lib$name.$libext"; then
29329 found_dir="$dir"
29330 found_a="$dir/lib$name.$libext"
29331 if test -f "$dir/lib$name.la"; then
29332 found_la="$dir/lib$name.la"
29333 fi
29334 fi
29335 fi
29336 ;;
29337 esac
29338 if test "X$found_dir" != "X"; then
29339 break
29340 fi
29341 done
29342 fi
29343 if test "X$found_dir" != "X"; then
29344 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29345 if test "X$found_so" != "X"; then
29346 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29347 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29348 else
29349 haveit=
29350 for x in $ltrpathdirs; do
29351 if test "X$x" = "X$found_dir"; then
29352 haveit=yes
29353 break
29354 fi
29355 done
29356 if test -z "$haveit"; then
29357 ltrpathdirs="$ltrpathdirs $found_dir"
29358 fi
29359 if test "$hardcode_direct" = yes; then
29360 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29361 else
29362 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29363 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29364 haveit=
29365 for x in $rpathdirs; do
29366 if test "X$x" = "X$found_dir"; then
29367 haveit=yes
29368 break
29369 fi
29370 done
29371 if test -z "$haveit"; then
29372 rpathdirs="$rpathdirs $found_dir"
29373 fi
29374 else
29375 haveit=
29376 for x in $LDFLAGS $LIBICONV; do
29377
29378 acl_save_prefix="$prefix"
29379 prefix="$acl_final_prefix"
29380 acl_save_exec_prefix="$exec_prefix"
29381 exec_prefix="$acl_final_exec_prefix"
29382 eval x=\"$x\"
29383 exec_prefix="$acl_save_exec_prefix"
29384 prefix="$acl_save_prefix"
29385
29386 if test "X$x" = "X-L$found_dir"; then
29387 haveit=yes
29388 break
29389 fi
29390 done
29391 if test -z "$haveit"; then
29392 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29393 fi
29394 if test "$hardcode_minus_L" != no; then
29395 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29396 else
29397 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29398 fi
29399 fi
29400 fi
29401 fi
29402 else
29403 if test "X$found_a" != "X"; then
29404 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29405 else
29406 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29407 fi
29408 fi
29409 additional_includedir=
29410 case "$found_dir" in
29411 */lib | */lib/)
29412 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29413 additional_includedir="$basedir/include"
29414 ;;
29415 esac
29416 if test "X$additional_includedir" != "X"; then
29417 if test "X$additional_includedir" != "X/usr/include"; then
29418 haveit=
29419 if test "X$additional_includedir" = "X/usr/local/include"; then
29420 if test -n "$GCC"; then
29421 case $host_os in
29422 linux*) haveit=yes;;
29423 esac
29424 fi
29425 fi
29426 if test -z "$haveit"; then
29427 for x in $CPPFLAGS $INCICONV; do
29428
29429 acl_save_prefix="$prefix"
29430 prefix="$acl_final_prefix"
29431 acl_save_exec_prefix="$exec_prefix"
29432 exec_prefix="$acl_final_exec_prefix"
29433 eval x=\"$x\"
29434 exec_prefix="$acl_save_exec_prefix"
29435 prefix="$acl_save_prefix"
29436
29437 if test "X$x" = "X-I$additional_includedir"; then
29438 haveit=yes
29439 break
29440 fi
29441 done
29442 if test -z "$haveit"; then
29443 if test -d "$additional_includedir"; then
29444 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29445 fi
29446 fi
29447 fi
29448 fi
29449 fi
29450 if test -n "$found_la"; then
29451 save_libdir="$libdir"
29452 case "$found_la" in
29453 */* | *\\*) . "$found_la" ;;
29454 *) . "./$found_la" ;;
29455 esac
29456 libdir="$save_libdir"
29457 for dep in $dependency_libs; do
29458 case "$dep" in
29459 -L*)
29460 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29461 if test "X$additional_libdir" != "X/usr/lib"; then
29462 haveit=
29463 if test "X$additional_libdir" = "X/usr/local/lib"; then
29464 if test -n "$GCC"; then
29465 case $host_os in
29466 linux*) haveit=yes;;
29467 esac
29468 fi
29469 fi
29470 if test -z "$haveit"; then
29471 haveit=
29472 for x in $LDFLAGS $LIBICONV; do
29473
29474 acl_save_prefix="$prefix"
29475 prefix="$acl_final_prefix"
29476 acl_save_exec_prefix="$exec_prefix"
29477 exec_prefix="$acl_final_exec_prefix"
29478 eval x=\"$x\"
29479 exec_prefix="$acl_save_exec_prefix"
29480 prefix="$acl_save_prefix"
29481
29482 if test "X$x" = "X-L$additional_libdir"; then
29483 haveit=yes
29484 break
29485 fi
29486 done
29487 if test -z "$haveit"; then
29488 if test -d "$additional_libdir"; then
29489 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29490 fi
29491 fi
29492 haveit=
29493 for x in $LDFLAGS $LTLIBICONV; do
29494
29495 acl_save_prefix="$prefix"
29496 prefix="$acl_final_prefix"
29497 acl_save_exec_prefix="$exec_prefix"
29498 exec_prefix="$acl_final_exec_prefix"
29499 eval x=\"$x\"
29500 exec_prefix="$acl_save_exec_prefix"
29501 prefix="$acl_save_prefix"
29502
29503 if test "X$x" = "X-L$additional_libdir"; then
29504 haveit=yes
29505 break
29506 fi
29507 done
29508 if test -z "$haveit"; then
29509 if test -d "$additional_libdir"; then
29510 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29511 fi
29512 fi
29513 fi
29514 fi
29515 ;;
29516 -R*)
29517 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29518 if test "$enable_rpath" != no; then
29519 haveit=
29520 for x in $rpathdirs; do
29521 if test "X$x" = "X$dir"; then
29522 haveit=yes
29523 break
29524 fi
29525 done
29526 if test -z "$haveit"; then
29527 rpathdirs="$rpathdirs $dir"
29528 fi
29529 haveit=
29530 for x in $ltrpathdirs; do
29531 if test "X$x" = "X$dir"; then
29532 haveit=yes
29533 break
29534 fi
29535 done
29536 if test -z "$haveit"; then
29537 ltrpathdirs="$ltrpathdirs $dir"
29538 fi
29539 fi
29540 ;;
29541 -l*)
29542 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29543 ;;
29544 *.la)
29545 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29546 ;;
29547 *)
29548 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29549 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29550 ;;
29551 esac
29552 done
29553 fi
29554 else
29555 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29556 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29558 else
29559 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29561 fi
29562 fi
29563 fi
29564 fi
29565 done
29566 done
29567 if test "X$rpathdirs" != "X"; then
29568 if test -n "$hardcode_libdir_separator"; then
29569 alldirs=
29570 for found_dir in $rpathdirs; do
29571 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29572 done
29573 acl_save_libdir="$libdir"
29574 libdir="$alldirs"
29575 eval flag=\"$hardcode_libdir_flag_spec\"
29576 libdir="$acl_save_libdir"
29577 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29578 else
29579 for found_dir in $rpathdirs; do
29580 acl_save_libdir="$libdir"
29581 libdir="$found_dir"
29582 eval flag=\"$hardcode_libdir_flag_spec\"
29583 libdir="$acl_save_libdir"
29584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29585 done
29586 fi
29587 fi
29588 if test "X$ltrpathdirs" != "X"; then
29589 for found_dir in $ltrpathdirs; do
29590 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29591 done
29592 fi
29593
29594
29595
29596
29597
29598
29599
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29601 $as_echo_n "checking for iconv... " >&6; }
29602 if ${am_cv_func_iconv+:} false; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29605
29606 am_cv_func_iconv="no, consider installing GNU libiconv"
29607 am_cv_lib_iconv=no
29608 am_save_CPPFLAGS="$CPPFLAGS"
29609 CPPFLAGS="$CPPFLAGS $INCICONV"
29610 if test x$gcc_no_link = xyes; then
29611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29612 fi
29613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29614 /* end confdefs.h. */
29615 #include <stdlib.h>
29616 #include <iconv.h>
29617 int
29618 main ()
29619 {
29620 iconv_t cd = iconv_open("","");
29621 iconv(cd,NULL,NULL,NULL,NULL);
29622 iconv_close(cd);
29623 ;
29624 return 0;
29625 }
29626 _ACEOF
29627 if ac_fn_c_try_link "$LINENO"; then :
29628 am_cv_func_iconv=yes
29629 fi
29630 rm -f core conftest.err conftest.$ac_objext \
29631 conftest$ac_exeext conftest.$ac_ext
29632 CPPFLAGS="$am_save_CPPFLAGS"
29633
29634 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29635 for _libs in .libs _libs; do
29636 am_save_CPPFLAGS="$CPPFLAGS"
29637 am_save_LIBS="$LIBS"
29638 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29639 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29640 if test x$gcc_no_link = xyes; then
29641 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29642 fi
29643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29644 /* end confdefs.h. */
29645 #include <stdlib.h>
29646 #include <iconv.h>
29647 int
29648 main ()
29649 {
29650 iconv_t cd = iconv_open("","");
29651 iconv(cd,NULL,NULL,NULL,NULL);
29652 iconv_close(cd);
29653 ;
29654 return 0;
29655 }
29656 _ACEOF
29657 if ac_fn_c_try_link "$LINENO"; then :
29658 INCICONV="-I../libiconv/include"
29659 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29660 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29661 am_cv_lib_iconv=yes
29662 am_cv_func_iconv=yes
29663 fi
29664 rm -f core conftest.err conftest.$ac_objext \
29665 conftest$ac_exeext conftest.$ac_ext
29666 CPPFLAGS="$am_save_CPPFLAGS"
29667 LIBS="$am_save_LIBS"
29668 if test "$am_cv_func_iconv" = "yes"; then
29669 break
29670 fi
29671 done
29672 fi
29673
29674 if test "$am_cv_func_iconv" != yes; then
29675 am_save_CPPFLAGS="$CPPFLAGS"
29676 am_save_LIBS="$LIBS"
29677 CPPFLAGS="$CPPFLAGS $INCICONV"
29678 LIBS="$LIBS $LIBICONV"
29679 if test x$gcc_no_link = xyes; then
29680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29681 fi
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <stdlib.h>
29685 #include <iconv.h>
29686 int
29687 main ()
29688 {
29689 iconv_t cd = iconv_open("","");
29690 iconv(cd,NULL,NULL,NULL,NULL);
29691 iconv_close(cd);
29692 ;
29693 return 0;
29694 }
29695 _ACEOF
29696 if ac_fn_c_try_link "$LINENO"; then :
29697 am_cv_lib_iconv=yes
29698 am_cv_func_iconv=yes
29699 fi
29700 rm -f core conftest.err conftest.$ac_objext \
29701 conftest$ac_exeext conftest.$ac_ext
29702 CPPFLAGS="$am_save_CPPFLAGS"
29703 LIBS="$am_save_LIBS"
29704 fi
29705
29706 fi
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29708 $as_echo "$am_cv_func_iconv" >&6; }
29709 if test "$am_cv_func_iconv" = yes; then
29710
29711 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29712
29713 fi
29714 if test "$am_cv_lib_iconv" = yes; then
29715
29716 for element in $INCICONV; do
29717 haveit=
29718 for x in $CPPFLAGS; do
29719
29720 acl_save_prefix="$prefix"
29721 prefix="$acl_final_prefix"
29722 acl_save_exec_prefix="$exec_prefix"
29723 exec_prefix="$acl_final_exec_prefix"
29724 eval x=\"$x\"
29725 exec_prefix="$acl_save_exec_prefix"
29726 prefix="$acl_save_prefix"
29727
29728 if test "X$x" = "X$element"; then
29729 haveit=yes
29730 break
29731 fi
29732 done
29733 if test -z "$haveit"; then
29734 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29735 fi
29736 done
29737
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29739 $as_echo_n "checking how to link with libiconv... " >&6; }
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29741 $as_echo "$LIBICONV" >&6; }
29742 else
29743 LIBICONV=
29744 LTLIBICONV=
29745 fi
29746
29747
29748
29749 if test "$am_cv_func_iconv" = yes; then
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29751 $as_echo_n "checking for iconv declaration... " >&6; }
29752 if ${am_cv_proto_iconv+:} false; then :
29753 $as_echo_n "(cached) " >&6
29754 else
29755
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29758
29759 #include <stdlib.h>
29760 #include <iconv.h>
29761 extern
29762 #ifdef __cplusplus
29763 "C"
29764 #endif
29765 #if defined(__STDC__) || defined(__cplusplus)
29766 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29767 #else
29768 size_t iconv();
29769 #endif
29770
29771 int
29772 main ()
29773 {
29774
29775 ;
29776 return 0;
29777 }
29778 _ACEOF
29779 if ac_fn_c_try_compile "$LINENO"; then :
29780 am_cv_proto_iconv_arg1=""
29781 else
29782 am_cv_proto_iconv_arg1="const"
29783 fi
29784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29785 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);"
29786 fi
29787
29788 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29790 }$am_cv_proto_iconv" >&5
29791 $as_echo "${ac_t:-
29792 }$am_cv_proto_iconv" >&6; }
29793
29794 cat >>confdefs.h <<_ACEOF
29795 #define ICONV_CONST $am_cv_proto_iconv_arg1
29796 _ACEOF
29797
29798 fi
29799
29800
29801 else
29802
29803 # This lets us hard-code the functionality we know we'll have in the cross
29804 # target environment. "Let" is a sugar-coated word placed on an especially
29805 # dull and tedious hack, actually.
29806 #
29807 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29808 # that involve linking, can't be used:
29809 # "cannot open sim-crt0.o"
29810 # "cannot open crt0.o"
29811 # etc. All this is because there currently exists no unified, consistent
29812 # way for top level CC information to be passed down to target directories:
29813 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29814 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29815 # crosses can be removed.
29816
29817 # If Canadian cross, then don't pick up tools from the build directory.
29818 # Used only in GLIBCXX_EXPORT_INCLUDES.
29819 if test -n "$with_cross_host" &&
29820 test x"$build_alias" != x"$with_cross_host" &&
29821 test x"$build" != x"$target";
29822 then
29823 CANADIAN=yes
29824 else
29825 CANADIAN=no
29826 fi
29827
29828 # Construct crosses by hand, eliminating bits that need ld...
29829 # GLIBCXX_CHECK_MATH_SUPPORT
29830
29831 # First, test for "known" system libraries. We may be using newlib even
29832 # on a hosted environment.
29833 if test "x${with_newlib}" = "xyes"; then
29834 os_include_dir="os/newlib"
29835 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29836
29837
29838 # GLIBCXX_CHECK_STDLIB_SUPPORT
29839 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29840
29841
29842 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29843
29844 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29845
29846 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29847
29848 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29849
29850 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29851
29852 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29853
29854 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29855
29856 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29857
29858 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29859
29860 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29861
29862 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29863
29864 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29865
29866 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29867
29868 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29869
29870 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29871
29872 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29873
29874 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29875
29876 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29877
29878 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29879
29880 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29881
29882 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29883
29884 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29885
29886 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29887
29888
29889
29890
29891
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
29893 $as_echo_n "checking for acosl declaration... " >&6; }
29894 if ${glibcxx_cv_func_acosl_use+:} false; then :
29895 $as_echo_n "(cached) " >&6
29896 else
29897
29898
29899 ac_ext=c
29900 ac_cpp='$CPP $CPPFLAGS'
29901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904
29905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h. */
29907
29908 #include <math.h>
29909 #ifdef HAVE_IEEEFP_H
29910 # include <ieeefp.h>
29911 #endif
29912 #undef acosl
29913
29914 int
29915 main ()
29916 {
29917
29918 void (*f)(void) = (void (*)(void))acosl;
29919
29920 ;
29921 return 0;
29922 }
29923 _ACEOF
29924 if ac_fn_c_try_compile "$LINENO"; then :
29925 glibcxx_cv_func_acosl_use=yes
29926
29927 else
29928 glibcxx_cv_func_acosl_use=no
29929 fi
29930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29931 fi
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
29933 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
29934 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
29935 cat >>confdefs.h <<_ACEOF
29936 #define HAVE_ACOSL 1
29937 _ACEOF
29938
29939 fi
29940
29941
29942
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
29944 $as_echo_n "checking for asinl declaration... " >&6; }
29945 if ${glibcxx_cv_func_asinl_use+:} false; then :
29946 $as_echo_n "(cached) " >&6
29947 else
29948
29949
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29957 /* end confdefs.h. */
29958
29959 #include <math.h>
29960 #ifdef HAVE_IEEEFP_H
29961 # include <ieeefp.h>
29962 #endif
29963 #undef asinl
29964
29965 int
29966 main ()
29967 {
29968
29969 void (*f)(void) = (void (*)(void))asinl;
29970
29971 ;
29972 return 0;
29973 }
29974 _ACEOF
29975 if ac_fn_c_try_compile "$LINENO"; then :
29976 glibcxx_cv_func_asinl_use=yes
29977
29978 else
29979 glibcxx_cv_func_asinl_use=no
29980 fi
29981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29982 fi
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
29984 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
29985 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
29986 cat >>confdefs.h <<_ACEOF
29987 #define HAVE_ASINL 1
29988 _ACEOF
29989
29990 fi
29991
29992
29993
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
29995 $as_echo_n "checking for atan2l declaration... " >&6; }
29996 if ${glibcxx_cv_func_atan2l_use+:} false; then :
29997 $as_echo_n "(cached) " >&6
29998 else
29999
30000
30001 ac_ext=c
30002 ac_cpp='$CPP $CPPFLAGS'
30003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30009
30010 #include <math.h>
30011 #ifdef HAVE_IEEEFP_H
30012 # include <ieeefp.h>
30013 #endif
30014 #undef atan2l
30015
30016 int
30017 main ()
30018 {
30019
30020 void (*f)(void) = (void (*)(void))atan2l;
30021
30022 ;
30023 return 0;
30024 }
30025 _ACEOF
30026 if ac_fn_c_try_compile "$LINENO"; then :
30027 glibcxx_cv_func_atan2l_use=yes
30028
30029 else
30030 glibcxx_cv_func_atan2l_use=no
30031 fi
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30033 fi
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30035 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30036 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE_ATAN2L 1
30039 _ACEOF
30040
30041 fi
30042
30043
30044
30045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
30046 $as_echo_n "checking for atanl declaration... " >&6; }
30047 if ${glibcxx_cv_func_atanl_use+:} false; then :
30048 $as_echo_n "(cached) " >&6
30049 else
30050
30051
30052 ac_ext=c
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30057
30058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30060
30061 #include <math.h>
30062 #ifdef HAVE_IEEEFP_H
30063 # include <ieeefp.h>
30064 #endif
30065 #undef atanl
30066
30067 int
30068 main ()
30069 {
30070
30071 void (*f)(void) = (void (*)(void))atanl;
30072
30073 ;
30074 return 0;
30075 }
30076 _ACEOF
30077 if ac_fn_c_try_compile "$LINENO"; then :
30078 glibcxx_cv_func_atanl_use=yes
30079
30080 else
30081 glibcxx_cv_func_atanl_use=no
30082 fi
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30084 fi
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
30086 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
30087 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE_ATANL 1
30090 _ACEOF
30091
30092 fi
30093
30094
30095
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
30097 $as_echo_n "checking for ceill declaration... " >&6; }
30098 if ${glibcxx_cv_func_ceill_use+:} false; then :
30099 $as_echo_n "(cached) " >&6
30100 else
30101
30102
30103 ac_ext=c
30104 ac_cpp='$CPP $CPPFLAGS'
30105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30108
30109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h. */
30111
30112 #include <math.h>
30113 #ifdef HAVE_IEEEFP_H
30114 # include <ieeefp.h>
30115 #endif
30116 #undef ceill
30117
30118 int
30119 main ()
30120 {
30121
30122 void (*f)(void) = (void (*)(void))ceill;
30123
30124 ;
30125 return 0;
30126 }
30127 _ACEOF
30128 if ac_fn_c_try_compile "$LINENO"; then :
30129 glibcxx_cv_func_ceill_use=yes
30130
30131 else
30132 glibcxx_cv_func_ceill_use=no
30133 fi
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30135 fi
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
30137 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
30138 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
30139 cat >>confdefs.h <<_ACEOF
30140 #define HAVE_CEILL 1
30141 _ACEOF
30142
30143 fi
30144
30145
30146
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
30148 $as_echo_n "checking for coshl declaration... " >&6; }
30149 if ${glibcxx_cv_func_coshl_use+:} false; then :
30150 $as_echo_n "(cached) " >&6
30151 else
30152
30153
30154 ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30159
30160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30161 /* end confdefs.h. */
30162
30163 #include <math.h>
30164 #ifdef HAVE_IEEEFP_H
30165 # include <ieeefp.h>
30166 #endif
30167 #undef coshl
30168
30169 int
30170 main ()
30171 {
30172
30173 void (*f)(void) = (void (*)(void))coshl;
30174
30175 ;
30176 return 0;
30177 }
30178 _ACEOF
30179 if ac_fn_c_try_compile "$LINENO"; then :
30180 glibcxx_cv_func_coshl_use=yes
30181
30182 else
30183 glibcxx_cv_func_coshl_use=no
30184 fi
30185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30186 fi
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
30188 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
30189 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
30190 cat >>confdefs.h <<_ACEOF
30191 #define HAVE_COSHL 1
30192 _ACEOF
30193
30194 fi
30195
30196
30197
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
30199 $as_echo_n "checking for cosl declaration... " >&6; }
30200 if ${glibcxx_cv_func_cosl_use+:} false; then :
30201 $as_echo_n "(cached) " >&6
30202 else
30203
30204
30205 ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30213
30214 #include <math.h>
30215 #ifdef HAVE_IEEEFP_H
30216 # include <ieeefp.h>
30217 #endif
30218 #undef cosl
30219
30220 int
30221 main ()
30222 {
30223
30224 void (*f)(void) = (void (*)(void))cosl;
30225
30226 ;
30227 return 0;
30228 }
30229 _ACEOF
30230 if ac_fn_c_try_compile "$LINENO"; then :
30231 glibcxx_cv_func_cosl_use=yes
30232
30233 else
30234 glibcxx_cv_func_cosl_use=no
30235 fi
30236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30237 fi
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
30239 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
30240 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
30241 cat >>confdefs.h <<_ACEOF
30242 #define HAVE_COSL 1
30243 _ACEOF
30244
30245 fi
30246
30247
30248
30249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30250 $as_echo_n "checking for expl declaration... " >&6; }
30251 if ${glibcxx_cv_func_expl_use+:} false; then :
30252 $as_echo_n "(cached) " >&6
30253 else
30254
30255
30256 ac_ext=c
30257 ac_cpp='$CPP $CPPFLAGS'
30258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30261
30262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30263 /* end confdefs.h. */
30264
30265 #include <math.h>
30266 #ifdef HAVE_IEEEFP_H
30267 # include <ieeefp.h>
30268 #endif
30269 #undef expl
30270
30271 int
30272 main ()
30273 {
30274
30275 void (*f)(void) = (void (*)(void))expl;
30276
30277 ;
30278 return 0;
30279 }
30280 _ACEOF
30281 if ac_fn_c_try_compile "$LINENO"; then :
30282 glibcxx_cv_func_expl_use=yes
30283
30284 else
30285 glibcxx_cv_func_expl_use=no
30286 fi
30287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30288 fi
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30291 if test "x$glibcxx_cv_func_expl_use" = xyes; then
30292 cat >>confdefs.h <<_ACEOF
30293 #define HAVE_EXPL 1
30294 _ACEOF
30295
30296 fi
30297
30298
30299
30300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30301 $as_echo_n "checking for fabsl declaration... " >&6; }
30302 if ${glibcxx_cv_func_fabsl_use+:} false; then :
30303 $as_echo_n "(cached) " >&6
30304 else
30305
30306
30307 ac_ext=c
30308 ac_cpp='$CPP $CPPFLAGS'
30309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30312
30313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30315
30316 #include <math.h>
30317 #ifdef HAVE_IEEEFP_H
30318 # include <ieeefp.h>
30319 #endif
30320 #undef fabsl
30321
30322 int
30323 main ()
30324 {
30325
30326 void (*f)(void) = (void (*)(void))fabsl;
30327
30328 ;
30329 return 0;
30330 }
30331 _ACEOF
30332 if ac_fn_c_try_compile "$LINENO"; then :
30333 glibcxx_cv_func_fabsl_use=yes
30334
30335 else
30336 glibcxx_cv_func_fabsl_use=no
30337 fi
30338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30339 fi
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30341 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30342 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE_FABSL 1
30345 _ACEOF
30346
30347 fi
30348
30349
30350
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
30352 $as_echo_n "checking for floorl declaration... " >&6; }
30353 if ${glibcxx_cv_func_floorl_use+:} false; then :
30354 $as_echo_n "(cached) " >&6
30355 else
30356
30357
30358 ac_ext=c
30359 ac_cpp='$CPP $CPPFLAGS'
30360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30363
30364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30365 /* end confdefs.h. */
30366
30367 #include <math.h>
30368 #ifdef HAVE_IEEEFP_H
30369 # include <ieeefp.h>
30370 #endif
30371 #undef floorl
30372
30373 int
30374 main ()
30375 {
30376
30377 void (*f)(void) = (void (*)(void))floorl;
30378
30379 ;
30380 return 0;
30381 }
30382 _ACEOF
30383 if ac_fn_c_try_compile "$LINENO"; then :
30384 glibcxx_cv_func_floorl_use=yes
30385
30386 else
30387 glibcxx_cv_func_floorl_use=no
30388 fi
30389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30390 fi
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
30392 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
30393 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
30394 cat >>confdefs.h <<_ACEOF
30395 #define HAVE_FLOORL 1
30396 _ACEOF
30397
30398 fi
30399
30400
30401
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30403 $as_echo_n "checking for fmodl declaration... " >&6; }
30404 if ${glibcxx_cv_func_fmodl_use+:} false; then :
30405 $as_echo_n "(cached) " >&6
30406 else
30407
30408
30409 ac_ext=c
30410 ac_cpp='$CPP $CPPFLAGS'
30411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30414
30415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30416 /* end confdefs.h. */
30417
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 # include <ieeefp.h>
30421 #endif
30422 #undef fmodl
30423
30424 int
30425 main ()
30426 {
30427
30428 void (*f)(void) = (void (*)(void))fmodl;
30429
30430 ;
30431 return 0;
30432 }
30433 _ACEOF
30434 if ac_fn_c_try_compile "$LINENO"; then :
30435 glibcxx_cv_func_fmodl_use=yes
30436
30437 else
30438 glibcxx_cv_func_fmodl_use=no
30439 fi
30440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30441 fi
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30443 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30444 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
30445 cat >>confdefs.h <<_ACEOF
30446 #define HAVE_FMODL 1
30447 _ACEOF
30448
30449 fi
30450
30451
30452
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30454 $as_echo_n "checking for frexpl declaration... " >&6; }
30455 if ${glibcxx_cv_func_frexpl_use+:} false; then :
30456 $as_echo_n "(cached) " >&6
30457 else
30458
30459
30460 ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30465
30466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30467 /* end confdefs.h. */
30468
30469 #include <math.h>
30470 #ifdef HAVE_IEEEFP_H
30471 # include <ieeefp.h>
30472 #endif
30473 #undef frexpl
30474
30475 int
30476 main ()
30477 {
30478
30479 void (*f)(void) = (void (*)(void))frexpl;
30480
30481 ;
30482 return 0;
30483 }
30484 _ACEOF
30485 if ac_fn_c_try_compile "$LINENO"; then :
30486 glibcxx_cv_func_frexpl_use=yes
30487
30488 else
30489 glibcxx_cv_func_frexpl_use=no
30490 fi
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 fi
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30494 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30495 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
30496 cat >>confdefs.h <<_ACEOF
30497 #define HAVE_FREXPL 1
30498 _ACEOF
30499
30500 fi
30501
30502
30503
30504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30505 $as_echo_n "checking for hypotl declaration... " >&6; }
30506 if ${glibcxx_cv_func_hypotl_use+:} false; then :
30507 $as_echo_n "(cached) " >&6
30508 else
30509
30510
30511 ac_ext=c
30512 ac_cpp='$CPP $CPPFLAGS'
30513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30516
30517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30518 /* end confdefs.h. */
30519
30520 #include <math.h>
30521 #ifdef HAVE_IEEEFP_H
30522 # include <ieeefp.h>
30523 #endif
30524 #undef hypotl
30525
30526 int
30527 main ()
30528 {
30529
30530 void (*f)(void) = (void (*)(void))hypotl;
30531
30532 ;
30533 return 0;
30534 }
30535 _ACEOF
30536 if ac_fn_c_try_compile "$LINENO"; then :
30537 glibcxx_cv_func_hypotl_use=yes
30538
30539 else
30540 glibcxx_cv_func_hypotl_use=no
30541 fi
30542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30543 fi
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30545 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30546 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
30547 cat >>confdefs.h <<_ACEOF
30548 #define HAVE_HYPOTL 1
30549 _ACEOF
30550
30551 fi
30552
30553
30554
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
30556 $as_echo_n "checking for ldexpl declaration... " >&6; }
30557 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
30558 $as_echo_n "(cached) " >&6
30559 else
30560
30561
30562 ac_ext=c
30563 ac_cpp='$CPP $CPPFLAGS'
30564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30567
30568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30569 /* end confdefs.h. */
30570
30571 #include <math.h>
30572 #ifdef HAVE_IEEEFP_H
30573 # include <ieeefp.h>
30574 #endif
30575 #undef ldexpl
30576
30577 int
30578 main ()
30579 {
30580
30581 void (*f)(void) = (void (*)(void))ldexpl;
30582
30583 ;
30584 return 0;
30585 }
30586 _ACEOF
30587 if ac_fn_c_try_compile "$LINENO"; then :
30588 glibcxx_cv_func_ldexpl_use=yes
30589
30590 else
30591 glibcxx_cv_func_ldexpl_use=no
30592 fi
30593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30594 fi
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
30596 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
30597 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
30598 cat >>confdefs.h <<_ACEOF
30599 #define HAVE_LDEXPL 1
30600 _ACEOF
30601
30602 fi
30603
30604
30605
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
30607 $as_echo_n "checking for log10l declaration... " >&6; }
30608 if ${glibcxx_cv_func_log10l_use+:} false; then :
30609 $as_echo_n "(cached) " >&6
30610 else
30611
30612
30613 ac_ext=c
30614 ac_cpp='$CPP $CPPFLAGS'
30615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30618
30619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30620 /* end confdefs.h. */
30621
30622 #include <math.h>
30623 #ifdef HAVE_IEEEFP_H
30624 # include <ieeefp.h>
30625 #endif
30626 #undef log10l
30627
30628 int
30629 main ()
30630 {
30631
30632 void (*f)(void) = (void (*)(void))log10l;
30633
30634 ;
30635 return 0;
30636 }
30637 _ACEOF
30638 if ac_fn_c_try_compile "$LINENO"; then :
30639 glibcxx_cv_func_log10l_use=yes
30640
30641 else
30642 glibcxx_cv_func_log10l_use=no
30643 fi
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 fi
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
30647 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
30648 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
30649 cat >>confdefs.h <<_ACEOF
30650 #define HAVE_LOG10L 1
30651 _ACEOF
30652
30653 fi
30654
30655
30656
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
30658 $as_echo_n "checking for logl declaration... " >&6; }
30659 if ${glibcxx_cv_func_logl_use+:} false; then :
30660 $as_echo_n "(cached) " >&6
30661 else
30662
30663
30664 ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30669
30670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30671 /* end confdefs.h. */
30672
30673 #include <math.h>
30674 #ifdef HAVE_IEEEFP_H
30675 # include <ieeefp.h>
30676 #endif
30677 #undef logl
30678
30679 int
30680 main ()
30681 {
30682
30683 void (*f)(void) = (void (*)(void))logl;
30684
30685 ;
30686 return 0;
30687 }
30688 _ACEOF
30689 if ac_fn_c_try_compile "$LINENO"; then :
30690 glibcxx_cv_func_logl_use=yes
30691
30692 else
30693 glibcxx_cv_func_logl_use=no
30694 fi
30695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30696 fi
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
30698 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
30699 if test "x$glibcxx_cv_func_logl_use" = xyes; then
30700 cat >>confdefs.h <<_ACEOF
30701 #define HAVE_LOGL 1
30702 _ACEOF
30703
30704 fi
30705
30706
30707
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
30709 $as_echo_n "checking for modfl declaration... " >&6; }
30710 if ${glibcxx_cv_func_modfl_use+:} false; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30713
30714
30715 ac_ext=c
30716 ac_cpp='$CPP $CPPFLAGS'
30717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30720
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723
30724 #include <math.h>
30725 #ifdef HAVE_IEEEFP_H
30726 # include <ieeefp.h>
30727 #endif
30728 #undef modfl
30729
30730 int
30731 main ()
30732 {
30733
30734 void (*f)(void) = (void (*)(void))modfl;
30735
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 if ac_fn_c_try_compile "$LINENO"; then :
30741 glibcxx_cv_func_modfl_use=yes
30742
30743 else
30744 glibcxx_cv_func_modfl_use=no
30745 fi
30746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30747 fi
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
30749 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
30750 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
30751 cat >>confdefs.h <<_ACEOF
30752 #define HAVE_MODFL 1
30753 _ACEOF
30754
30755 fi
30756
30757
30758
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
30760 $as_echo_n "checking for powl declaration... " >&6; }
30761 if ${glibcxx_cv_func_powl_use+:} false; then :
30762 $as_echo_n "(cached) " >&6
30763 else
30764
30765
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771
30772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h. */
30774
30775 #include <math.h>
30776 #ifdef HAVE_IEEEFP_H
30777 # include <ieeefp.h>
30778 #endif
30779 #undef powl
30780
30781 int
30782 main ()
30783 {
30784
30785 void (*f)(void) = (void (*)(void))powl;
30786
30787 ;
30788 return 0;
30789 }
30790 _ACEOF
30791 if ac_fn_c_try_compile "$LINENO"; then :
30792 glibcxx_cv_func_powl_use=yes
30793
30794 else
30795 glibcxx_cv_func_powl_use=no
30796 fi
30797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30798 fi
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
30800 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
30801 if test "x$glibcxx_cv_func_powl_use" = xyes; then
30802 cat >>confdefs.h <<_ACEOF
30803 #define HAVE_POWL 1
30804 _ACEOF
30805
30806 fi
30807
30808
30809
30810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
30811 $as_echo_n "checking for sinhl declaration... " >&6; }
30812 if ${glibcxx_cv_func_sinhl_use+:} false; then :
30813 $as_echo_n "(cached) " >&6
30814 else
30815
30816
30817 ac_ext=c
30818 ac_cpp='$CPP $CPPFLAGS'
30819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30822
30823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30824 /* end confdefs.h. */
30825
30826 #include <math.h>
30827 #ifdef HAVE_IEEEFP_H
30828 # include <ieeefp.h>
30829 #endif
30830 #undef sinhl
30831
30832 int
30833 main ()
30834 {
30835
30836 void (*f)(void) = (void (*)(void))sinhl;
30837
30838 ;
30839 return 0;
30840 }
30841 _ACEOF
30842 if ac_fn_c_try_compile "$LINENO"; then :
30843 glibcxx_cv_func_sinhl_use=yes
30844
30845 else
30846 glibcxx_cv_func_sinhl_use=no
30847 fi
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30849 fi
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
30851 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
30852 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
30853 cat >>confdefs.h <<_ACEOF
30854 #define HAVE_SINHL 1
30855 _ACEOF
30856
30857 fi
30858
30859
30860
30861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
30862 $as_echo_n "checking for sinl declaration... " >&6; }
30863 if ${glibcxx_cv_func_sinl_use+:} false; then :
30864 $as_echo_n "(cached) " >&6
30865 else
30866
30867
30868 ac_ext=c
30869 ac_cpp='$CPP $CPPFLAGS'
30870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30873
30874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h. */
30876
30877 #include <math.h>
30878 #ifdef HAVE_IEEEFP_H
30879 # include <ieeefp.h>
30880 #endif
30881 #undef sinl
30882
30883 int
30884 main ()
30885 {
30886
30887 void (*f)(void) = (void (*)(void))sinl;
30888
30889 ;
30890 return 0;
30891 }
30892 _ACEOF
30893 if ac_fn_c_try_compile "$LINENO"; then :
30894 glibcxx_cv_func_sinl_use=yes
30895
30896 else
30897 glibcxx_cv_func_sinl_use=no
30898 fi
30899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30900 fi
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
30902 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
30903 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
30904 cat >>confdefs.h <<_ACEOF
30905 #define HAVE_SINL 1
30906 _ACEOF
30907
30908 fi
30909
30910
30911
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
30913 $as_echo_n "checking for sqrtl declaration... " >&6; }
30914 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
30915 $as_echo_n "(cached) " >&6
30916 else
30917
30918
30919 ac_ext=c
30920 ac_cpp='$CPP $CPPFLAGS'
30921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30924
30925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30926 /* end confdefs.h. */
30927
30928 #include <math.h>
30929 #ifdef HAVE_IEEEFP_H
30930 # include <ieeefp.h>
30931 #endif
30932 #undef sqrtl
30933
30934 int
30935 main ()
30936 {
30937
30938 void (*f)(void) = (void (*)(void))sqrtl;
30939
30940 ;
30941 return 0;
30942 }
30943 _ACEOF
30944 if ac_fn_c_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_sqrtl_use=yes
30946
30947 else
30948 glibcxx_cv_func_sqrtl_use=no
30949 fi
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 fi
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
30953 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
30954 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
30955 cat >>confdefs.h <<_ACEOF
30956 #define HAVE_SQRTL 1
30957 _ACEOF
30958
30959 fi
30960
30961
30962
30963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
30964 $as_echo_n "checking for tanhl declaration... " >&6; }
30965 if ${glibcxx_cv_func_tanhl_use+:} false; then :
30966 $as_echo_n "(cached) " >&6
30967 else
30968
30969
30970 ac_ext=c
30971 ac_cpp='$CPP $CPPFLAGS'
30972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30975
30976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30977 /* end confdefs.h. */
30978
30979 #include <math.h>
30980 #ifdef HAVE_IEEEFP_H
30981 # include <ieeefp.h>
30982 #endif
30983 #undef tanhl
30984
30985 int
30986 main ()
30987 {
30988
30989 void (*f)(void) = (void (*)(void))tanhl;
30990
30991 ;
30992 return 0;
30993 }
30994 _ACEOF
30995 if ac_fn_c_try_compile "$LINENO"; then :
30996 glibcxx_cv_func_tanhl_use=yes
30997
30998 else
30999 glibcxx_cv_func_tanhl_use=no
31000 fi
31001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31002 fi
31003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
31004 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
31005 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE_TANHL 1
31008 _ACEOF
31009
31010 fi
31011
31012
31013
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
31015 $as_echo_n "checking for tanl declaration... " >&6; }
31016 if ${glibcxx_cv_func_tanl_use+:} false; then :
31017 $as_echo_n "(cached) " >&6
31018 else
31019
31020
31021 ac_ext=c
31022 ac_cpp='$CPP $CPPFLAGS'
31023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31026
31027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31028 /* end confdefs.h. */
31029
31030 #include <math.h>
31031 #ifdef HAVE_IEEEFP_H
31032 # include <ieeefp.h>
31033 #endif
31034 #undef tanl
31035
31036 int
31037 main ()
31038 {
31039
31040 void (*f)(void) = (void (*)(void))tanl;
31041
31042 ;
31043 return 0;
31044 }
31045 _ACEOF
31046 if ac_fn_c_try_compile "$LINENO"; then :
31047 glibcxx_cv_func_tanl_use=yes
31048
31049 else
31050 glibcxx_cv_func_tanl_use=no
31051 fi
31052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31053 fi
31054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
31055 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
31056 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
31057 cat >>confdefs.h <<_ACEOF
31058 #define HAVE_TANL 1
31059 _ACEOF
31060
31061 fi
31062
31063
31064
31065
31066 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
31067
31068 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
31069
31070
31071 case "${target}" in
31072 *-rtems*)
31073 case "${target}" in
31074 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
31075 ;;
31076 *)
31077 $as_echo "#define HAVE_TLS 1" >>confdefs.h
31078
31079 ;;
31080 esac
31081 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
31082
31083 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
31084
31085 $as_echo "#define HAVE_LINK 1" >>confdefs.h
31086
31087 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
31088
31089 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
31090
31091 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
31092
31093 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31094
31095 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
31096
31097 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
31098
31099 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
31100
31101 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
31102
31103 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31104
31105 ;;
31106 esac
31107 elif test "x$with_headers" != "xno"; then
31108
31109 # Base decisions on target environment.
31110 case "${host}" in
31111 arm*-*-symbianelf*)
31112 # This is a freestanding configuration; there is nothing to do here.
31113 ;;
31114
31115 avr*-*-*)
31116 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
31117
31118 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
31119
31120 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
31121
31122 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
31123
31124 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
31125
31126 $as_echo "#define HAVE_COSF 1" >>confdefs.h
31127
31128 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
31129
31130 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
31131
31132 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
31133
31134 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
31135
31136 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
31137
31138 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
31139
31140 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
31141
31142 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
31143
31144 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
31145
31146 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
31147
31148 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
31149
31150 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
31151
31152 $as_echo "#define HAVE_POWF 1" >>confdefs.h
31153
31154 $as_echo "#define HAVE_SINF 1" >>confdefs.h
31155
31156 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
31157
31158 $as_echo "#define HAVE_TANF 1" >>confdefs.h
31159
31160 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
31161
31162 ;;
31163
31164 mips*-sde-elf*)
31165 # These definitions are for the SDE C library rather than newlib.
31166 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31167
31168
31169 # All these tests are for C++; save the language and the compiler flags.
31170 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31171 # found in GLIBCXX_CONFIGURE.
31172
31173 ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31178
31179 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31180 ac_save_CXXFLAGS="$CXXFLAGS"
31181
31182 # Check for -ffunction-sections -fdata-sections
31183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31184 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
31185 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
31186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31187 /* end confdefs.h. */
31188 int foo; void bar() { };
31189 int
31190 main ()
31191 {
31192
31193 ;
31194 return 0;
31195 }
31196 _ACEOF
31197 if ac_fn_cxx_try_compile "$LINENO"; then :
31198 ac_fdsections=yes
31199 else
31200 ac_fdsections=no
31201 fi
31202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31203 if test "$ac_test_CXXFLAGS" = set; then
31204 CXXFLAGS="$ac_save_CXXFLAGS"
31205 else
31206 # this is the suspicious part
31207 CXXFLAGS=''
31208 fi
31209 if test x"$ac_fdsections" = x"yes"; then
31210 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31211 fi
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
31213 $as_echo "$ac_fdsections" >&6; }
31214
31215 ac_ext=c
31216 ac_cpp='$CPP $CPPFLAGS'
31217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31220
31221
31222
31223
31224 # If we're not using GNU ld, then there's no point in even trying these
31225 # tests. Check for that first. We should have already tested for gld
31226 # by now (in libtool), but require it now just to be safe...
31227 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
31228 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
31229
31230
31231
31232 # The name set by libtool depends on the version of libtool. Shame on us
31233 # for depending on an impl detail, but c'est la vie. Older versions used
31234 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
31235 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
31236 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
31237 # set (hence we're using an older libtool), then set it.
31238 if test x${with_gnu_ld+set} != xset; then
31239 if test x${ac_cv_prog_gnu_ld+set} != xset; then
31240 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
31241 with_gnu_ld=no
31242 else
31243 with_gnu_ld=$ac_cv_prog_gnu_ld
31244 fi
31245 fi
31246
31247 # Start by getting the version number. I think the libtool test already
31248 # does some of this, but throws away the result.
31249 glibcxx_ld_is_gold=no
31250 glibcxx_ld_is_mold=no
31251 if test x"$with_gnu_ld" = x"yes"; then
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
31253 $as_echo_n "checking for ld version... " >&6; }
31254
31255 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
31256 glibcxx_ld_is_gold=yes
31257 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
31258 glibcxx_ld_is_mold=yes
31259 fi
31260 ldver=`$LD --version 2>/dev/null |
31261 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
31262
31263 glibcxx_gnu_ld_version=`echo $ldver | \
31264 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
31266 $as_echo "$glibcxx_gnu_ld_version" >&6; }
31267 fi
31268
31269 # Set --gc-sections.
31270 glibcxx_have_gc_sections=no
31271 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
31272 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
31273 glibcxx_have_gc_sections=yes
31274 fi
31275 else
31276 glibcxx_gcsections_min_ld=21602
31277 if test x"$with_gnu_ld" = x"yes" &&
31278 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
31279 glibcxx_have_gc_sections=yes
31280 fi
31281 fi
31282 if test "$glibcxx_have_gc_sections" = "yes"; then
31283 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
31284 # NB: This flag only works reliably after 2.16.1. Configure tests
31285 # for this are difficult, so hard wire a value that should work.
31286
31287 ac_test_CFLAGS="${CFLAGS+set}"
31288 ac_save_CFLAGS="$CFLAGS"
31289 CFLAGS='-Wl,--gc-sections'
31290
31291 # Check for -Wl,--gc-sections
31292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
31293 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
31294 if test x$gcc_no_link = xyes; then
31295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31296 fi
31297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31298 /* end confdefs.h. */
31299 int one(void) { return 1; }
31300 int two(void) { return 2; }
31301
31302 int
31303 main ()
31304 {
31305 two();
31306 ;
31307 return 0;
31308 }
31309 _ACEOF
31310 if ac_fn_c_try_link "$LINENO"; then :
31311 ac_gcsections=yes
31312 else
31313 ac_gcsections=no
31314 fi
31315 rm -f core conftest.err conftest.$ac_objext \
31316 conftest$ac_exeext conftest.$ac_ext
31317 if test "$ac_gcsections" = "yes"; then
31318 rm -f conftest.c
31319 touch conftest.c
31320 if $CC -c conftest.c; then
31321 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
31322 grep "Warning: gc-sections option ignored" > /dev/null; then
31323 ac_gcsections=no
31324 fi
31325 fi
31326 rm -f conftest.c conftest.o conftest
31327 fi
31328 if test "$ac_gcsections" = "yes"; then
31329 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
31330 fi
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
31332 $as_echo "$ac_gcsections" >&6; }
31333
31334 if test "$ac_test_CFLAGS" = set; then
31335 CFLAGS="$ac_save_CFLAGS"
31336 else
31337 # this is the suspicious part
31338 CFLAGS=''
31339 fi
31340 fi
31341
31342 # Set -z,relro.
31343 # Note this is only for shared objects.
31344 ac_ld_relro=no
31345 if test x"$with_gnu_ld" = x"yes"; then
31346 # cygwin and mingw uses PE, which has no ELF relro support,
31347 # multi target ld may confuse configure machinery
31348 case "$host" in
31349 *-*-cygwin*)
31350 ;;
31351 *-*-mingw*)
31352 ;;
31353 *)
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
31355 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
31356 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
31357 if test -n "$cxx_z_relo"; then
31358 OPT_LDFLAGS="-Wl,-z,relro"
31359 ac_ld_relro=yes
31360 fi
31361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
31362 $as_echo "$ac_ld_relro" >&6; }
31363 esac
31364 fi
31365
31366 # Set linker optimization flags.
31367 if test x"$with_gnu_ld" = x"yes"; then
31368 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
31369 fi
31370
31371
31372
31373
31374
31375 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31376 ac_save_CXXFLAGS="$CXXFLAGS"
31377 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31378
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
31380 $as_echo_n "checking for sin in -lm... " >&6; }
31381 if ${ac_cv_lib_m_sin+:} false; then :
31382 $as_echo_n "(cached) " >&6
31383 else
31384 ac_check_lib_save_LIBS=$LIBS
31385 LIBS="-lm $LIBS"
31386 if test x$gcc_no_link = xyes; then
31387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31388 fi
31389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31390 /* end confdefs.h. */
31391
31392 /* Override any GCC internal prototype to avoid an error.
31393 Use char because int might match the return type of a GCC
31394 builtin and then its argument prototype would still apply. */
31395 #ifdef __cplusplus
31396 extern "C"
31397 #endif
31398 char sin ();
31399 int
31400 main ()
31401 {
31402 return sin ();
31403 ;
31404 return 0;
31405 }
31406 _ACEOF
31407 if ac_fn_c_try_link "$LINENO"; then :
31408 ac_cv_lib_m_sin=yes
31409 else
31410 ac_cv_lib_m_sin=no
31411 fi
31412 rm -f core conftest.err conftest.$ac_objext \
31413 conftest$ac_exeext conftest.$ac_ext
31414 LIBS=$ac_check_lib_save_LIBS
31415 fi
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
31417 $as_echo "$ac_cv_lib_m_sin" >&6; }
31418 if test "x$ac_cv_lib_m_sin" = xyes; then :
31419 libm="-lm"
31420 fi
31421
31422 ac_save_LIBS="$LIBS"
31423 LIBS="$LIBS $libm"
31424
31425
31426
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
31428 $as_echo_n "checking for isinf declaration... " >&6; }
31429 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31430 if ${glibcxx_cv_func_isinf_use+:} false; then :
31431 $as_echo_n "(cached) " >&6
31432 else
31433
31434
31435 ac_ext=cpp
31436 ac_cpp='$CXXCPP $CPPFLAGS'
31437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31440
31441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31442 /* end confdefs.h. */
31443 #include <math.h>
31444 #ifdef HAVE_IEEEFP_H
31445 #include <ieeefp.h>
31446 #endif
31447
31448 int
31449 main ()
31450 {
31451 isinf(0);
31452 ;
31453 return 0;
31454 }
31455 _ACEOF
31456 if ac_fn_cxx_try_compile "$LINENO"; then :
31457 glibcxx_cv_func_isinf_use=yes
31458 else
31459 glibcxx_cv_func_isinf_use=no
31460 fi
31461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31462 ac_ext=c
31463 ac_cpp='$CPP $CPPFLAGS'
31464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31467
31468
31469 fi
31470
31471 fi
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
31473 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
31474
31475 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31476 for ac_func in isinf
31477 do :
31478 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
31479 if test "x$ac_cv_func_isinf" = xyes; then :
31480 cat >>confdefs.h <<_ACEOF
31481 #define HAVE_ISINF 1
31482 _ACEOF
31483
31484 fi
31485 done
31486
31487 else
31488
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
31490 $as_echo_n "checking for _isinf declaration... " >&6; }
31491 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31492 if ${glibcxx_cv_func__isinf_use+:} false; then :
31493 $as_echo_n "(cached) " >&6
31494 else
31495
31496
31497 ac_ext=cpp
31498 ac_cpp='$CXXCPP $CPPFLAGS'
31499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31502
31503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h. */
31505 #include <math.h>
31506 #ifdef HAVE_IEEEFP_H
31507 #include <ieeefp.h>
31508 #endif
31509
31510 int
31511 main ()
31512 {
31513 _isinf(0);
31514 ;
31515 return 0;
31516 }
31517 _ACEOF
31518 if ac_fn_cxx_try_compile "$LINENO"; then :
31519 glibcxx_cv_func__isinf_use=yes
31520 else
31521 glibcxx_cv_func__isinf_use=no
31522 fi
31523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31524 ac_ext=c
31525 ac_cpp='$CPP $CPPFLAGS'
31526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31529
31530
31531 fi
31532
31533 fi
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
31535 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
31536
31537 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31538 for ac_func in _isinf
31539 do :
31540 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
31541 if test "x$ac_cv_func__isinf" = xyes; then :
31542 cat >>confdefs.h <<_ACEOF
31543 #define HAVE__ISINF 1
31544 _ACEOF
31545
31546 fi
31547 done
31548
31549 fi
31550 fi
31551
31552
31553
31554
31555
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
31557 $as_echo_n "checking for isnan declaration... " >&6; }
31558 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31559 if ${glibcxx_cv_func_isnan_use+:} false; then :
31560 $as_echo_n "(cached) " >&6
31561 else
31562
31563
31564 ac_ext=cpp
31565 ac_cpp='$CXXCPP $CPPFLAGS'
31566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31569
31570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31571 /* end confdefs.h. */
31572 #include <math.h>
31573 #ifdef HAVE_IEEEFP_H
31574 #include <ieeefp.h>
31575 #endif
31576
31577 int
31578 main ()
31579 {
31580 isnan(0);
31581 ;
31582 return 0;
31583 }
31584 _ACEOF
31585 if ac_fn_cxx_try_compile "$LINENO"; then :
31586 glibcxx_cv_func_isnan_use=yes
31587 else
31588 glibcxx_cv_func_isnan_use=no
31589 fi
31590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31591 ac_ext=c
31592 ac_cpp='$CPP $CPPFLAGS'
31593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31596
31597
31598 fi
31599
31600 fi
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
31602 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
31603
31604 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31605 for ac_func in isnan
31606 do :
31607 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
31608 if test "x$ac_cv_func_isnan" = xyes; then :
31609 cat >>confdefs.h <<_ACEOF
31610 #define HAVE_ISNAN 1
31611 _ACEOF
31612
31613 fi
31614 done
31615
31616 else
31617
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
31619 $as_echo_n "checking for _isnan declaration... " >&6; }
31620 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31621 if ${glibcxx_cv_func__isnan_use+:} false; then :
31622 $as_echo_n "(cached) " >&6
31623 else
31624
31625
31626 ac_ext=cpp
31627 ac_cpp='$CXXCPP $CPPFLAGS'
31628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31631
31632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31633 /* end confdefs.h. */
31634 #include <math.h>
31635 #ifdef HAVE_IEEEFP_H
31636 #include <ieeefp.h>
31637 #endif
31638
31639 int
31640 main ()
31641 {
31642 _isnan(0);
31643 ;
31644 return 0;
31645 }
31646 _ACEOF
31647 if ac_fn_cxx_try_compile "$LINENO"; then :
31648 glibcxx_cv_func__isnan_use=yes
31649 else
31650 glibcxx_cv_func__isnan_use=no
31651 fi
31652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31653 ac_ext=c
31654 ac_cpp='$CPP $CPPFLAGS'
31655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31658
31659
31660 fi
31661
31662 fi
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
31664 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
31665
31666 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31667 for ac_func in _isnan
31668 do :
31669 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
31670 if test "x$ac_cv_func__isnan" = xyes; then :
31671 cat >>confdefs.h <<_ACEOF
31672 #define HAVE__ISNAN 1
31673 _ACEOF
31674
31675 fi
31676 done
31677
31678 fi
31679 fi
31680
31681
31682
31683
31684
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
31686 $as_echo_n "checking for finite declaration... " >&6; }
31687 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31688 if ${glibcxx_cv_func_finite_use+:} false; then :
31689 $as_echo_n "(cached) " >&6
31690 else
31691
31692
31693 ac_ext=cpp
31694 ac_cpp='$CXXCPP $CPPFLAGS'
31695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31698
31699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31700 /* end confdefs.h. */
31701 #include <math.h>
31702 #ifdef HAVE_IEEEFP_H
31703 #include <ieeefp.h>
31704 #endif
31705
31706 int
31707 main ()
31708 {
31709 finite(0);
31710 ;
31711 return 0;
31712 }
31713 _ACEOF
31714 if ac_fn_cxx_try_compile "$LINENO"; then :
31715 glibcxx_cv_func_finite_use=yes
31716 else
31717 glibcxx_cv_func_finite_use=no
31718 fi
31719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31720 ac_ext=c
31721 ac_cpp='$CPP $CPPFLAGS'
31722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31725
31726
31727 fi
31728
31729 fi
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
31731 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
31732
31733 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31734 for ac_func in finite
31735 do :
31736 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
31737 if test "x$ac_cv_func_finite" = xyes; then :
31738 cat >>confdefs.h <<_ACEOF
31739 #define HAVE_FINITE 1
31740 _ACEOF
31741
31742 fi
31743 done
31744
31745 else
31746
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
31748 $as_echo_n "checking for _finite declaration... " >&6; }
31749 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31750 if ${glibcxx_cv_func__finite_use+:} false; then :
31751 $as_echo_n "(cached) " >&6
31752 else
31753
31754
31755 ac_ext=cpp
31756 ac_cpp='$CXXCPP $CPPFLAGS'
31757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31760
31761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31762 /* end confdefs.h. */
31763 #include <math.h>
31764 #ifdef HAVE_IEEEFP_H
31765 #include <ieeefp.h>
31766 #endif
31767
31768 int
31769 main ()
31770 {
31771 _finite(0);
31772 ;
31773 return 0;
31774 }
31775 _ACEOF
31776 if ac_fn_cxx_try_compile "$LINENO"; then :
31777 glibcxx_cv_func__finite_use=yes
31778 else
31779 glibcxx_cv_func__finite_use=no
31780 fi
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31782 ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31787
31788
31789 fi
31790
31791 fi
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
31793 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
31794
31795 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31796 for ac_func in _finite
31797 do :
31798 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
31799 if test "x$ac_cv_func__finite" = xyes; then :
31800 cat >>confdefs.h <<_ACEOF
31801 #define HAVE__FINITE 1
31802 _ACEOF
31803
31804 fi
31805 done
31806
31807 fi
31808 fi
31809
31810
31811
31812
31813
31814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
31815 $as_echo_n "checking for sincos declaration... " >&6; }
31816 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
31817 if ${glibcxx_cv_func_sincos_use+:} false; then :
31818 $as_echo_n "(cached) " >&6
31819 else
31820
31821
31822 ac_ext=cpp
31823 ac_cpp='$CXXCPP $CPPFLAGS'
31824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31827
31828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31829 /* end confdefs.h. */
31830 #include <math.h>
31831 int
31832 main ()
31833 {
31834 sincos(0, 0, 0);
31835 ;
31836 return 0;
31837 }
31838 _ACEOF
31839 if ac_fn_cxx_try_compile "$LINENO"; then :
31840 glibcxx_cv_func_sincos_use=yes
31841 else
31842 glibcxx_cv_func_sincos_use=no
31843 fi
31844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31845 ac_ext=c
31846 ac_cpp='$CPP $CPPFLAGS'
31847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31850
31851
31852 fi
31853
31854 fi
31855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
31856 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
31857
31858 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
31859 for ac_func in sincos
31860 do :
31861 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
31862 if test "x$ac_cv_func_sincos" = xyes; then :
31863 cat >>confdefs.h <<_ACEOF
31864 #define HAVE_SINCOS 1
31865 _ACEOF
31866
31867 fi
31868 done
31869
31870 else
31871
31872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
31873 $as_echo_n "checking for _sincos declaration... " >&6; }
31874 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
31875 if ${glibcxx_cv_func__sincos_use+:} false; then :
31876 $as_echo_n "(cached) " >&6
31877 else
31878
31879
31880 ac_ext=cpp
31881 ac_cpp='$CXXCPP $CPPFLAGS'
31882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31885
31886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31887 /* end confdefs.h. */
31888 #include <math.h>
31889 int
31890 main ()
31891 {
31892 _sincos(0, 0, 0);
31893 ;
31894 return 0;
31895 }
31896 _ACEOF
31897 if ac_fn_cxx_try_compile "$LINENO"; then :
31898 glibcxx_cv_func__sincos_use=yes
31899 else
31900 glibcxx_cv_func__sincos_use=no
31901 fi
31902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31903 ac_ext=c
31904 ac_cpp='$CPP $CPPFLAGS'
31905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31908
31909
31910 fi
31911
31912 fi
31913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
31914 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
31915
31916 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
31917 for ac_func in _sincos
31918 do :
31919 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
31920 if test "x$ac_cv_func__sincos" = xyes; then :
31921 cat >>confdefs.h <<_ACEOF
31922 #define HAVE__SINCOS 1
31923 _ACEOF
31924
31925 fi
31926 done
31927
31928 fi
31929 fi
31930
31931
31932
31933
31934
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
31936 $as_echo_n "checking for fpclass declaration... " >&6; }
31937 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
31938 if ${glibcxx_cv_func_fpclass_use+:} false; then :
31939 $as_echo_n "(cached) " >&6
31940 else
31941
31942
31943 ac_ext=cpp
31944 ac_cpp='$CXXCPP $CPPFLAGS'
31945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31948
31949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31950 /* end confdefs.h. */
31951 #include <math.h>
31952 #ifdef HAVE_IEEEFP_H
31953 #include <ieeefp.h>
31954 #endif
31955
31956 int
31957 main ()
31958 {
31959 fpclass(0);
31960 ;
31961 return 0;
31962 }
31963 _ACEOF
31964 if ac_fn_cxx_try_compile "$LINENO"; then :
31965 glibcxx_cv_func_fpclass_use=yes
31966 else
31967 glibcxx_cv_func_fpclass_use=no
31968 fi
31969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970 ac_ext=c
31971 ac_cpp='$CPP $CPPFLAGS'
31972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31975
31976
31977 fi
31978
31979 fi
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
31981 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
31982
31983 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
31984 for ac_func in fpclass
31985 do :
31986 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
31987 if test "x$ac_cv_func_fpclass" = xyes; then :
31988 cat >>confdefs.h <<_ACEOF
31989 #define HAVE_FPCLASS 1
31990 _ACEOF
31991
31992 fi
31993 done
31994
31995 else
31996
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
31998 $as_echo_n "checking for _fpclass declaration... " >&6; }
31999 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32000 if ${glibcxx_cv_func__fpclass_use+:} false; then :
32001 $as_echo_n "(cached) " >&6
32002 else
32003
32004
32005 ac_ext=cpp
32006 ac_cpp='$CXXCPP $CPPFLAGS'
32007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32010
32011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32012 /* end confdefs.h. */
32013 #include <math.h>
32014 #ifdef HAVE_IEEEFP_H
32015 #include <ieeefp.h>
32016 #endif
32017
32018 int
32019 main ()
32020 {
32021 _fpclass(0);
32022 ;
32023 return 0;
32024 }
32025 _ACEOF
32026 if ac_fn_cxx_try_compile "$LINENO"; then :
32027 glibcxx_cv_func__fpclass_use=yes
32028 else
32029 glibcxx_cv_func__fpclass_use=no
32030 fi
32031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32032 ac_ext=c
32033 ac_cpp='$CPP $CPPFLAGS'
32034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32037
32038
32039 fi
32040
32041 fi
32042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
32043 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
32044
32045 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32046 for ac_func in _fpclass
32047 do :
32048 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
32049 if test "x$ac_cv_func__fpclass" = xyes; then :
32050 cat >>confdefs.h <<_ACEOF
32051 #define HAVE__FPCLASS 1
32052 _ACEOF
32053
32054 fi
32055 done
32056
32057 fi
32058 fi
32059
32060
32061
32062
32063
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
32065 $as_echo_n "checking for qfpclass declaration... " >&6; }
32066 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32067 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
32068 $as_echo_n "(cached) " >&6
32069 else
32070
32071
32072 ac_ext=cpp
32073 ac_cpp='$CXXCPP $CPPFLAGS'
32074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32077
32078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32079 /* end confdefs.h. */
32080 #include <math.h>
32081 #ifdef HAVE_IEEEFP_H
32082 #include <ieeefp.h>
32083 #endif
32084
32085 int
32086 main ()
32087 {
32088 qfpclass(0);
32089 ;
32090 return 0;
32091 }
32092 _ACEOF
32093 if ac_fn_cxx_try_compile "$LINENO"; then :
32094 glibcxx_cv_func_qfpclass_use=yes
32095 else
32096 glibcxx_cv_func_qfpclass_use=no
32097 fi
32098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32099 ac_ext=c
32100 ac_cpp='$CPP $CPPFLAGS'
32101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32104
32105
32106 fi
32107
32108 fi
32109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32110 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32111
32112 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32113 for ac_func in qfpclass
32114 do :
32115 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32116 if test "x$ac_cv_func_qfpclass" = xyes; then :
32117 cat >>confdefs.h <<_ACEOF
32118 #define HAVE_QFPCLASS 1
32119 _ACEOF
32120
32121 fi
32122 done
32123
32124 else
32125
32126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
32127 $as_echo_n "checking for _qfpclass declaration... " >&6; }
32128 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32129 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
32130 $as_echo_n "(cached) " >&6
32131 else
32132
32133
32134 ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32139
32140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <math.h>
32143 #ifdef HAVE_IEEEFP_H
32144 #include <ieeefp.h>
32145 #endif
32146
32147 int
32148 main ()
32149 {
32150 _qfpclass(0);
32151 ;
32152 return 0;
32153 }
32154 _ACEOF
32155 if ac_fn_cxx_try_compile "$LINENO"; then :
32156 glibcxx_cv_func__qfpclass_use=yes
32157 else
32158 glibcxx_cv_func__qfpclass_use=no
32159 fi
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 ac_ext=c
32162 ac_cpp='$CPP $CPPFLAGS'
32163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32166
32167
32168 fi
32169
32170 fi
32171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
32172 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
32173
32174 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
32175 for ac_func in _qfpclass
32176 do :
32177 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
32178 if test "x$ac_cv_func__qfpclass" = xyes; then :
32179 cat >>confdefs.h <<_ACEOF
32180 #define HAVE__QFPCLASS 1
32181 _ACEOF
32182
32183 fi
32184 done
32185
32186 fi
32187 fi
32188
32189
32190
32191
32192
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
32194 $as_echo_n "checking for hypot declaration... " >&6; }
32195 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
32196 if ${glibcxx_cv_func_hypot_use+:} false; then :
32197 $as_echo_n "(cached) " >&6
32198 else
32199
32200
32201 ac_ext=cpp
32202 ac_cpp='$CXXCPP $CPPFLAGS'
32203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32206
32207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32208 /* end confdefs.h. */
32209 #include <math.h>
32210 int
32211 main ()
32212 {
32213 hypot(0, 0);
32214 ;
32215 return 0;
32216 }
32217 _ACEOF
32218 if ac_fn_cxx_try_compile "$LINENO"; then :
32219 glibcxx_cv_func_hypot_use=yes
32220 else
32221 glibcxx_cv_func_hypot_use=no
32222 fi
32223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32224 ac_ext=c
32225 ac_cpp='$CPP $CPPFLAGS'
32226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32229
32230
32231 fi
32232
32233 fi
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
32235 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
32236
32237 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
32238 for ac_func in hypot
32239 do :
32240 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
32241 if test "x$ac_cv_func_hypot" = xyes; then :
32242 cat >>confdefs.h <<_ACEOF
32243 #define HAVE_HYPOT 1
32244 _ACEOF
32245
32246 fi
32247 done
32248
32249 else
32250
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
32252 $as_echo_n "checking for _hypot declaration... " >&6; }
32253 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
32254 if ${glibcxx_cv_func__hypot_use+:} false; then :
32255 $as_echo_n "(cached) " >&6
32256 else
32257
32258
32259 ac_ext=cpp
32260 ac_cpp='$CXXCPP $CPPFLAGS'
32261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32264
32265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32266 /* end confdefs.h. */
32267 #include <math.h>
32268 int
32269 main ()
32270 {
32271 _hypot(0, 0);
32272 ;
32273 return 0;
32274 }
32275 _ACEOF
32276 if ac_fn_cxx_try_compile "$LINENO"; then :
32277 glibcxx_cv_func__hypot_use=yes
32278 else
32279 glibcxx_cv_func__hypot_use=no
32280 fi
32281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32282 ac_ext=c
32283 ac_cpp='$CPP $CPPFLAGS'
32284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32287
32288
32289 fi
32290
32291 fi
32292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
32293 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
32294
32295 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
32296 for ac_func in _hypot
32297 do :
32298 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
32299 if test "x$ac_cv_func__hypot" = xyes; then :
32300 cat >>confdefs.h <<_ACEOF
32301 #define HAVE__HYPOT 1
32302 _ACEOF
32303
32304 fi
32305 done
32306
32307 fi
32308 fi
32309
32310
32311
32312
32313
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
32315 $as_echo_n "checking for float trig functions... " >&6; }
32316 if ${glibcxx_cv_func_float_trig_use+:} false; then :
32317 $as_echo_n "(cached) " >&6
32318 else
32319
32320
32321 ac_ext=cpp
32322 ac_cpp='$CXXCPP $CPPFLAGS'
32323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32326
32327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32328 /* end confdefs.h. */
32329 #include <math.h>
32330 int
32331 main ()
32332 {
32333 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
32334 ;
32335 return 0;
32336 }
32337 _ACEOF
32338 if ac_fn_cxx_try_compile "$LINENO"; then :
32339 glibcxx_cv_func_float_trig_use=yes
32340 else
32341 glibcxx_cv_func_float_trig_use=no
32342 fi
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 ac_ext=c
32345 ac_cpp='$CPP $CPPFLAGS'
32346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32349
32350 fi
32351
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
32353 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
32354 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
32355 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
32356 do :
32357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32360 cat >>confdefs.h <<_ACEOF
32361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32362 _ACEOF
32363
32364 fi
32365 done
32366
32367 else
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
32369 $as_echo_n "checking for _float trig functions... " >&6; }
32370 if ${glibcxx_cv_func__float_trig_use+:} false; then :
32371 $as_echo_n "(cached) " >&6
32372 else
32373
32374
32375 ac_ext=cpp
32376 ac_cpp='$CXXCPP $CPPFLAGS'
32377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32380
32381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h. */
32383 #include <math.h>
32384 int
32385 main ()
32386 {
32387 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
32388 ;
32389 return 0;
32390 }
32391 _ACEOF
32392 if ac_fn_cxx_try_compile "$LINENO"; then :
32393 glibcxx_cv_func__float_trig_use=yes
32394 else
32395 glibcxx_cv_func__float_trig_use=no
32396 fi
32397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32403
32404 fi
32405
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
32407 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
32408 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
32409 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
32410 do :
32411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32414 cat >>confdefs.h <<_ACEOF
32415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32416 _ACEOF
32417
32418 fi
32419 done
32420
32421 fi
32422 fi
32423
32424
32425
32426
32427
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
32429 $as_echo_n "checking for float round functions... " >&6; }
32430 if ${glibcxx_cv_func_float_round_use+:} false; then :
32431 $as_echo_n "(cached) " >&6
32432 else
32433
32434
32435 ac_ext=cpp
32436 ac_cpp='$CXXCPP $CPPFLAGS'
32437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32440
32441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32442 /* end confdefs.h. */
32443 #include <math.h>
32444 int
32445 main ()
32446 {
32447 ceilf (0); floorf (0);
32448 ;
32449 return 0;
32450 }
32451 _ACEOF
32452 if ac_fn_cxx_try_compile "$LINENO"; then :
32453 glibcxx_cv_func_float_round_use=yes
32454 else
32455 glibcxx_cv_func_float_round_use=no
32456 fi
32457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32458 ac_ext=c
32459 ac_cpp='$CPP $CPPFLAGS'
32460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32463
32464 fi
32465
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
32467 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
32468 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
32469 for ac_func in ceilf floorf
32470 do :
32471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32474 cat >>confdefs.h <<_ACEOF
32475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32476 _ACEOF
32477
32478 fi
32479 done
32480
32481 else
32482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
32483 $as_echo_n "checking for _float round functions... " >&6; }
32484 if ${glibcxx_cv_func__float_round_use+:} false; then :
32485 $as_echo_n "(cached) " >&6
32486 else
32487
32488
32489 ac_ext=cpp
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32494
32495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32496 /* end confdefs.h. */
32497 #include <math.h>
32498 int
32499 main ()
32500 {
32501 _ceilf (0); _floorf (0);
32502 ;
32503 return 0;
32504 }
32505 _ACEOF
32506 if ac_fn_cxx_try_compile "$LINENO"; then :
32507 glibcxx_cv_func__float_round_use=yes
32508 else
32509 glibcxx_cv_func__float_round_use=no
32510 fi
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32512 ac_ext=c
32513 ac_cpp='$CPP $CPPFLAGS'
32514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32517
32518 fi
32519
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
32521 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
32522 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
32523 for ac_func in _ceilf _floorf
32524 do :
32525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32528 cat >>confdefs.h <<_ACEOF
32529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32530 _ACEOF
32531
32532 fi
32533 done
32534
32535 fi
32536 fi
32537
32538
32539
32540
32541
32542
32543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
32544 $as_echo_n "checking for expf declaration... " >&6; }
32545 if test x${glibcxx_cv_func_expf_use+set} != xset; then
32546 if ${glibcxx_cv_func_expf_use+:} false; then :
32547 $as_echo_n "(cached) " >&6
32548 else
32549
32550
32551 ac_ext=cpp
32552 ac_cpp='$CXXCPP $CPPFLAGS'
32553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32556
32557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32558 /* end confdefs.h. */
32559 #include <math.h>
32560 #ifdef HAVE_IEEEFP_H
32561 #include <ieeefp.h>
32562 #endif
32563
32564 int
32565 main ()
32566 {
32567 expf(0);
32568 ;
32569 return 0;
32570 }
32571 _ACEOF
32572 if ac_fn_cxx_try_compile "$LINENO"; then :
32573 glibcxx_cv_func_expf_use=yes
32574 else
32575 glibcxx_cv_func_expf_use=no
32576 fi
32577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32578 ac_ext=c
32579 ac_cpp='$CPP $CPPFLAGS'
32580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32583
32584
32585 fi
32586
32587 fi
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
32589 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
32590
32591 if test x$glibcxx_cv_func_expf_use = x"yes"; then
32592 for ac_func in expf
32593 do :
32594 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
32595 if test "x$ac_cv_func_expf" = xyes; then :
32596 cat >>confdefs.h <<_ACEOF
32597 #define HAVE_EXPF 1
32598 _ACEOF
32599
32600 fi
32601 done
32602
32603 else
32604
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
32606 $as_echo_n "checking for _expf declaration... " >&6; }
32607 if test x${glibcxx_cv_func__expf_use+set} != xset; then
32608 if ${glibcxx_cv_func__expf_use+:} false; then :
32609 $as_echo_n "(cached) " >&6
32610 else
32611
32612
32613 ac_ext=cpp
32614 ac_cpp='$CXXCPP $CPPFLAGS'
32615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32618
32619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32620 /* end confdefs.h. */
32621 #include <math.h>
32622 #ifdef HAVE_IEEEFP_H
32623 #include <ieeefp.h>
32624 #endif
32625
32626 int
32627 main ()
32628 {
32629 _expf(0);
32630 ;
32631 return 0;
32632 }
32633 _ACEOF
32634 if ac_fn_cxx_try_compile "$LINENO"; then :
32635 glibcxx_cv_func__expf_use=yes
32636 else
32637 glibcxx_cv_func__expf_use=no
32638 fi
32639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32640 ac_ext=c
32641 ac_cpp='$CPP $CPPFLAGS'
32642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32645
32646
32647 fi
32648
32649 fi
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
32651 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
32652
32653 if test x$glibcxx_cv_func__expf_use = x"yes"; then
32654 for ac_func in _expf
32655 do :
32656 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
32657 if test "x$ac_cv_func__expf" = xyes; then :
32658 cat >>confdefs.h <<_ACEOF
32659 #define HAVE__EXPF 1
32660 _ACEOF
32661
32662 fi
32663 done
32664
32665 fi
32666 fi
32667
32668
32669
32670
32671
32672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
32673 $as_echo_n "checking for isnanf declaration... " >&6; }
32674 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
32675 if ${glibcxx_cv_func_isnanf_use+:} false; then :
32676 $as_echo_n "(cached) " >&6
32677 else
32678
32679
32680 ac_ext=cpp
32681 ac_cpp='$CXXCPP $CPPFLAGS'
32682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32685
32686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32687 /* end confdefs.h. */
32688 #include <math.h>
32689 #ifdef HAVE_IEEEFP_H
32690 #include <ieeefp.h>
32691 #endif
32692
32693 int
32694 main ()
32695 {
32696 isnanf(0);
32697 ;
32698 return 0;
32699 }
32700 _ACEOF
32701 if ac_fn_cxx_try_compile "$LINENO"; then :
32702 glibcxx_cv_func_isnanf_use=yes
32703 else
32704 glibcxx_cv_func_isnanf_use=no
32705 fi
32706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32707 ac_ext=c
32708 ac_cpp='$CPP $CPPFLAGS'
32709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32712
32713
32714 fi
32715
32716 fi
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
32718 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
32719
32720 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
32721 for ac_func in isnanf
32722 do :
32723 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
32724 if test "x$ac_cv_func_isnanf" = xyes; then :
32725 cat >>confdefs.h <<_ACEOF
32726 #define HAVE_ISNANF 1
32727 _ACEOF
32728
32729 fi
32730 done
32731
32732 else
32733
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
32735 $as_echo_n "checking for _isnanf declaration... " >&6; }
32736 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
32737 if ${glibcxx_cv_func__isnanf_use+:} false; then :
32738 $as_echo_n "(cached) " >&6
32739 else
32740
32741
32742 ac_ext=cpp
32743 ac_cpp='$CXXCPP $CPPFLAGS'
32744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32747
32748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32749 /* end confdefs.h. */
32750 #include <math.h>
32751 #ifdef HAVE_IEEEFP_H
32752 #include <ieeefp.h>
32753 #endif
32754
32755 int
32756 main ()
32757 {
32758 _isnanf(0);
32759 ;
32760 return 0;
32761 }
32762 _ACEOF
32763 if ac_fn_cxx_try_compile "$LINENO"; then :
32764 glibcxx_cv_func__isnanf_use=yes
32765 else
32766 glibcxx_cv_func__isnanf_use=no
32767 fi
32768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32769 ac_ext=c
32770 ac_cpp='$CPP $CPPFLAGS'
32771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32774
32775
32776 fi
32777
32778 fi
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
32780 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
32781
32782 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
32783 for ac_func in _isnanf
32784 do :
32785 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
32786 if test "x$ac_cv_func__isnanf" = xyes; then :
32787 cat >>confdefs.h <<_ACEOF
32788 #define HAVE__ISNANF 1
32789 _ACEOF
32790
32791 fi
32792 done
32793
32794 fi
32795 fi
32796
32797
32798
32799
32800
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
32802 $as_echo_n "checking for isinff declaration... " >&6; }
32803 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
32804 if ${glibcxx_cv_func_isinff_use+:} false; then :
32805 $as_echo_n "(cached) " >&6
32806 else
32807
32808
32809 ac_ext=cpp
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32814
32815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32816 /* end confdefs.h. */
32817 #include <math.h>
32818 #ifdef HAVE_IEEEFP_H
32819 #include <ieeefp.h>
32820 #endif
32821
32822 int
32823 main ()
32824 {
32825 isinff(0);
32826 ;
32827 return 0;
32828 }
32829 _ACEOF
32830 if ac_fn_cxx_try_compile "$LINENO"; then :
32831 glibcxx_cv_func_isinff_use=yes
32832 else
32833 glibcxx_cv_func_isinff_use=no
32834 fi
32835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32841
32842
32843 fi
32844
32845 fi
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
32847 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
32848
32849 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
32850 for ac_func in isinff
32851 do :
32852 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
32853 if test "x$ac_cv_func_isinff" = xyes; then :
32854 cat >>confdefs.h <<_ACEOF
32855 #define HAVE_ISINFF 1
32856 _ACEOF
32857
32858 fi
32859 done
32860
32861 else
32862
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
32864 $as_echo_n "checking for _isinff declaration... " >&6; }
32865 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
32866 if ${glibcxx_cv_func__isinff_use+:} false; then :
32867 $as_echo_n "(cached) " >&6
32868 else
32869
32870
32871 ac_ext=cpp
32872 ac_cpp='$CXXCPP $CPPFLAGS'
32873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32876
32877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32878 /* end confdefs.h. */
32879 #include <math.h>
32880 #ifdef HAVE_IEEEFP_H
32881 #include <ieeefp.h>
32882 #endif
32883
32884 int
32885 main ()
32886 {
32887 _isinff(0);
32888 ;
32889 return 0;
32890 }
32891 _ACEOF
32892 if ac_fn_cxx_try_compile "$LINENO"; then :
32893 glibcxx_cv_func__isinff_use=yes
32894 else
32895 glibcxx_cv_func__isinff_use=no
32896 fi
32897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32898 ac_ext=c
32899 ac_cpp='$CPP $CPPFLAGS'
32900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32903
32904
32905 fi
32906
32907 fi
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
32909 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
32910
32911 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
32912 for ac_func in _isinff
32913 do :
32914 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
32915 if test "x$ac_cv_func__isinff" = xyes; then :
32916 cat >>confdefs.h <<_ACEOF
32917 #define HAVE__ISINFF 1
32918 _ACEOF
32919
32920 fi
32921 done
32922
32923 fi
32924 fi
32925
32926
32927
32928
32929
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
32931 $as_echo_n "checking for atan2f declaration... " >&6; }
32932 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
32933 if ${glibcxx_cv_func_atan2f_use+:} false; then :
32934 $as_echo_n "(cached) " >&6
32935 else
32936
32937
32938 ac_ext=cpp
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32943
32944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945 /* end confdefs.h. */
32946 #include <math.h>
32947 int
32948 main ()
32949 {
32950 atan2f(0, 0);
32951 ;
32952 return 0;
32953 }
32954 _ACEOF
32955 if ac_fn_cxx_try_compile "$LINENO"; then :
32956 glibcxx_cv_func_atan2f_use=yes
32957 else
32958 glibcxx_cv_func_atan2f_use=no
32959 fi
32960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32961 ac_ext=c
32962 ac_cpp='$CPP $CPPFLAGS'
32963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32966
32967
32968 fi
32969
32970 fi
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
32972 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
32973
32974 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
32975 for ac_func in atan2f
32976 do :
32977 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
32978 if test "x$ac_cv_func_atan2f" = xyes; then :
32979 cat >>confdefs.h <<_ACEOF
32980 #define HAVE_ATAN2F 1
32981 _ACEOF
32982
32983 fi
32984 done
32985
32986 else
32987
32988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
32989 $as_echo_n "checking for _atan2f declaration... " >&6; }
32990 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
32991 if ${glibcxx_cv_func__atan2f_use+:} false; then :
32992 $as_echo_n "(cached) " >&6
32993 else
32994
32995
32996 ac_ext=cpp
32997 ac_cpp='$CXXCPP $CPPFLAGS'
32998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33001
33002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33003 /* end confdefs.h. */
33004 #include <math.h>
33005 int
33006 main ()
33007 {
33008 _atan2f(0, 0);
33009 ;
33010 return 0;
33011 }
33012 _ACEOF
33013 if ac_fn_cxx_try_compile "$LINENO"; then :
33014 glibcxx_cv_func__atan2f_use=yes
33015 else
33016 glibcxx_cv_func__atan2f_use=no
33017 fi
33018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33019 ac_ext=c
33020 ac_cpp='$CPP $CPPFLAGS'
33021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33024
33025
33026 fi
33027
33028 fi
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33030 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33031
33032 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33033 for ac_func in _atan2f
33034 do :
33035 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33036 if test "x$ac_cv_func__atan2f" = xyes; then :
33037 cat >>confdefs.h <<_ACEOF
33038 #define HAVE__ATAN2F 1
33039 _ACEOF
33040
33041 fi
33042 done
33043
33044 fi
33045 fi
33046
33047
33048
33049
33050
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
33052 $as_echo_n "checking for fabsf declaration... " >&6; }
33053 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
33054 if ${glibcxx_cv_func_fabsf_use+:} false; then :
33055 $as_echo_n "(cached) " >&6
33056 else
33057
33058
33059 ac_ext=cpp
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33064
33065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33066 /* end confdefs.h. */
33067 #include <math.h>
33068 #ifdef HAVE_IEEEFP_H
33069 #include <ieeefp.h>
33070 #endif
33071
33072 int
33073 main ()
33074 {
33075 fabsf(0);
33076 ;
33077 return 0;
33078 }
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081 glibcxx_cv_func_fabsf_use=yes
33082 else
33083 glibcxx_cv_func_fabsf_use=no
33084 fi
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086 ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33091
33092
33093 fi
33094
33095 fi
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
33097 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
33098
33099 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
33100 for ac_func in fabsf
33101 do :
33102 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
33103 if test "x$ac_cv_func_fabsf" = xyes; then :
33104 cat >>confdefs.h <<_ACEOF
33105 #define HAVE_FABSF 1
33106 _ACEOF
33107
33108 fi
33109 done
33110
33111 else
33112
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
33114 $as_echo_n "checking for _fabsf declaration... " >&6; }
33115 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
33116 if ${glibcxx_cv_func__fabsf_use+:} false; then :
33117 $as_echo_n "(cached) " >&6
33118 else
33119
33120
33121 ac_ext=cpp
33122 ac_cpp='$CXXCPP $CPPFLAGS'
33123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33126
33127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33128 /* end confdefs.h. */
33129 #include <math.h>
33130 #ifdef HAVE_IEEEFP_H
33131 #include <ieeefp.h>
33132 #endif
33133
33134 int
33135 main ()
33136 {
33137 _fabsf(0);
33138 ;
33139 return 0;
33140 }
33141 _ACEOF
33142 if ac_fn_cxx_try_compile "$LINENO"; then :
33143 glibcxx_cv_func__fabsf_use=yes
33144 else
33145 glibcxx_cv_func__fabsf_use=no
33146 fi
33147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33148 ac_ext=c
33149 ac_cpp='$CPP $CPPFLAGS'
33150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33153
33154
33155 fi
33156
33157 fi
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
33159 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
33160
33161 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
33162 for ac_func in _fabsf
33163 do :
33164 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
33165 if test "x$ac_cv_func__fabsf" = xyes; then :
33166 cat >>confdefs.h <<_ACEOF
33167 #define HAVE__FABSF 1
33168 _ACEOF
33169
33170 fi
33171 done
33172
33173 fi
33174 fi
33175
33176
33177
33178
33179
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
33181 $as_echo_n "checking for fmodf declaration... " >&6; }
33182 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
33183 if ${glibcxx_cv_func_fmodf_use+:} false; then :
33184 $as_echo_n "(cached) " >&6
33185 else
33186
33187
33188 ac_ext=cpp
33189 ac_cpp='$CXXCPP $CPPFLAGS'
33190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33193
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196 #include <math.h>
33197 int
33198 main ()
33199 {
33200 fmodf(0, 0);
33201 ;
33202 return 0;
33203 }
33204 _ACEOF
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func_fmodf_use=yes
33207 else
33208 glibcxx_cv_func_fmodf_use=no
33209 fi
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 ac_ext=c
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33216
33217
33218 fi
33219
33220 fi
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
33222 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
33223
33224 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
33225 for ac_func in fmodf
33226 do :
33227 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
33228 if test "x$ac_cv_func_fmodf" = xyes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE_FMODF 1
33231 _ACEOF
33232
33233 fi
33234 done
33235
33236 else
33237
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
33239 $as_echo_n "checking for _fmodf declaration... " >&6; }
33240 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
33241 if ${glibcxx_cv_func__fmodf_use+:} false; then :
33242 $as_echo_n "(cached) " >&6
33243 else
33244
33245
33246 ac_ext=cpp
33247 ac_cpp='$CXXCPP $CPPFLAGS'
33248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33251
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254 #include <math.h>
33255 int
33256 main ()
33257 {
33258 _fmodf(0, 0);
33259 ;
33260 return 0;
33261 }
33262 _ACEOF
33263 if ac_fn_cxx_try_compile "$LINENO"; then :
33264 glibcxx_cv_func__fmodf_use=yes
33265 else
33266 glibcxx_cv_func__fmodf_use=no
33267 fi
33268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33269 ac_ext=c
33270 ac_cpp='$CPP $CPPFLAGS'
33271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33274
33275
33276 fi
33277
33278 fi
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
33280 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
33281
33282 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
33283 for ac_func in _fmodf
33284 do :
33285 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
33286 if test "x$ac_cv_func__fmodf" = xyes; then :
33287 cat >>confdefs.h <<_ACEOF
33288 #define HAVE__FMODF 1
33289 _ACEOF
33290
33291 fi
33292 done
33293
33294 fi
33295 fi
33296
33297
33298
33299
33300
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
33302 $as_echo_n "checking for frexpf declaration... " >&6; }
33303 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
33304 if ${glibcxx_cv_func_frexpf_use+:} false; then :
33305 $as_echo_n "(cached) " >&6
33306 else
33307
33308
33309 ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33314
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33317 #include <math.h>
33318 int
33319 main ()
33320 {
33321 frexpf(0, 0);
33322 ;
33323 return 0;
33324 }
33325 _ACEOF
33326 if ac_fn_cxx_try_compile "$LINENO"; then :
33327 glibcxx_cv_func_frexpf_use=yes
33328 else
33329 glibcxx_cv_func_frexpf_use=no
33330 fi
33331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33332 ac_ext=c
33333 ac_cpp='$CPP $CPPFLAGS'
33334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33337
33338
33339 fi
33340
33341 fi
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
33343 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
33344
33345 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
33346 for ac_func in frexpf
33347 do :
33348 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
33349 if test "x$ac_cv_func_frexpf" = xyes; then :
33350 cat >>confdefs.h <<_ACEOF
33351 #define HAVE_FREXPF 1
33352 _ACEOF
33353
33354 fi
33355 done
33356
33357 else
33358
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
33360 $as_echo_n "checking for _frexpf declaration... " >&6; }
33361 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
33362 if ${glibcxx_cv_func__frexpf_use+:} false; then :
33363 $as_echo_n "(cached) " >&6
33364 else
33365
33366
33367 ac_ext=cpp
33368 ac_cpp='$CXXCPP $CPPFLAGS'
33369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33372
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h. */
33375 #include <math.h>
33376 int
33377 main ()
33378 {
33379 _frexpf(0, 0);
33380 ;
33381 return 0;
33382 }
33383 _ACEOF
33384 if ac_fn_cxx_try_compile "$LINENO"; then :
33385 glibcxx_cv_func__frexpf_use=yes
33386 else
33387 glibcxx_cv_func__frexpf_use=no
33388 fi
33389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33390 ac_ext=c
33391 ac_cpp='$CPP $CPPFLAGS'
33392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33395
33396
33397 fi
33398
33399 fi
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
33401 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
33402
33403 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
33404 for ac_func in _frexpf
33405 do :
33406 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
33407 if test "x$ac_cv_func__frexpf" = xyes; then :
33408 cat >>confdefs.h <<_ACEOF
33409 #define HAVE__FREXPF 1
33410 _ACEOF
33411
33412 fi
33413 done
33414
33415 fi
33416 fi
33417
33418
33419
33420
33421
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
33423 $as_echo_n "checking for hypotf declaration... " >&6; }
33424 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33425 if ${glibcxx_cv_func_hypotf_use+:} false; then :
33426 $as_echo_n "(cached) " >&6
33427 else
33428
33429
33430 ac_ext=cpp
33431 ac_cpp='$CXXCPP $CPPFLAGS'
33432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435
33436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33437 /* end confdefs.h. */
33438 #include <math.h>
33439 int
33440 main ()
33441 {
33442 hypotf(0, 0);
33443 ;
33444 return 0;
33445 }
33446 _ACEOF
33447 if ac_fn_cxx_try_compile "$LINENO"; then :
33448 glibcxx_cv_func_hypotf_use=yes
33449 else
33450 glibcxx_cv_func_hypotf_use=no
33451 fi
33452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33453 ac_ext=c
33454 ac_cpp='$CPP $CPPFLAGS'
33455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33458
33459
33460 fi
33461
33462 fi
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
33464 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
33465
33466 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33467 for ac_func in hypotf
33468 do :
33469 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
33470 if test "x$ac_cv_func_hypotf" = xyes; then :
33471 cat >>confdefs.h <<_ACEOF
33472 #define HAVE_HYPOTF 1
33473 _ACEOF
33474
33475 fi
33476 done
33477
33478 else
33479
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
33481 $as_echo_n "checking for _hypotf declaration... " >&6; }
33482 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33483 if ${glibcxx_cv_func__hypotf_use+:} false; then :
33484 $as_echo_n "(cached) " >&6
33485 else
33486
33487
33488 ac_ext=cpp
33489 ac_cpp='$CXXCPP $CPPFLAGS'
33490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33493
33494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33495 /* end confdefs.h. */
33496 #include <math.h>
33497 int
33498 main ()
33499 {
33500 _hypotf(0, 0);
33501 ;
33502 return 0;
33503 }
33504 _ACEOF
33505 if ac_fn_cxx_try_compile "$LINENO"; then :
33506 glibcxx_cv_func__hypotf_use=yes
33507 else
33508 glibcxx_cv_func__hypotf_use=no
33509 fi
33510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33511 ac_ext=c
33512 ac_cpp='$CPP $CPPFLAGS'
33513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33516
33517
33518 fi
33519
33520 fi
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
33522 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
33523
33524 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33525 for ac_func in _hypotf
33526 do :
33527 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
33528 if test "x$ac_cv_func__hypotf" = xyes; then :
33529 cat >>confdefs.h <<_ACEOF
33530 #define HAVE__HYPOTF 1
33531 _ACEOF
33532
33533 fi
33534 done
33535
33536 fi
33537 fi
33538
33539
33540
33541
33542
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
33544 $as_echo_n "checking for ldexpf declaration... " >&6; }
33545 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33546 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
33547 $as_echo_n "(cached) " >&6
33548 else
33549
33550
33551 ac_ext=cpp
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33556
33557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33558 /* end confdefs.h. */
33559 #include <math.h>
33560 int
33561 main ()
33562 {
33563 ldexpf(0, 0);
33564 ;
33565 return 0;
33566 }
33567 _ACEOF
33568 if ac_fn_cxx_try_compile "$LINENO"; then :
33569 glibcxx_cv_func_ldexpf_use=yes
33570 else
33571 glibcxx_cv_func_ldexpf_use=no
33572 fi
33573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33574 ac_ext=c
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33579
33580
33581 fi
33582
33583 fi
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
33585 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
33586
33587 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33588 for ac_func in ldexpf
33589 do :
33590 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
33591 if test "x$ac_cv_func_ldexpf" = xyes; then :
33592 cat >>confdefs.h <<_ACEOF
33593 #define HAVE_LDEXPF 1
33594 _ACEOF
33595
33596 fi
33597 done
33598
33599 else
33600
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
33602 $as_echo_n "checking for _ldexpf declaration... " >&6; }
33603 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33604 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
33605 $as_echo_n "(cached) " >&6
33606 else
33607
33608
33609 ac_ext=cpp
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33614
33615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33616 /* end confdefs.h. */
33617 #include <math.h>
33618 int
33619 main ()
33620 {
33621 _ldexpf(0, 0);
33622 ;
33623 return 0;
33624 }
33625 _ACEOF
33626 if ac_fn_cxx_try_compile "$LINENO"; then :
33627 glibcxx_cv_func__ldexpf_use=yes
33628 else
33629 glibcxx_cv_func__ldexpf_use=no
33630 fi
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33632 ac_ext=c
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33637
33638
33639 fi
33640
33641 fi
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
33643 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
33644
33645 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33646 for ac_func in _ldexpf
33647 do :
33648 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
33649 if test "x$ac_cv_func__ldexpf" = xyes; then :
33650 cat >>confdefs.h <<_ACEOF
33651 #define HAVE__LDEXPF 1
33652 _ACEOF
33653
33654 fi
33655 done
33656
33657 fi
33658 fi
33659
33660
33661
33662
33663
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
33665 $as_echo_n "checking for logf declaration... " >&6; }
33666 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33667 if ${glibcxx_cv_func_logf_use+:} false; then :
33668 $as_echo_n "(cached) " >&6
33669 else
33670
33671
33672 ac_ext=cpp
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33677
33678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33679 /* end confdefs.h. */
33680 #include <math.h>
33681 #ifdef HAVE_IEEEFP_H
33682 #include <ieeefp.h>
33683 #endif
33684
33685 int
33686 main ()
33687 {
33688 logf(0);
33689 ;
33690 return 0;
33691 }
33692 _ACEOF
33693 if ac_fn_cxx_try_compile "$LINENO"; then :
33694 glibcxx_cv_func_logf_use=yes
33695 else
33696 glibcxx_cv_func_logf_use=no
33697 fi
33698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33699 ac_ext=c
33700 ac_cpp='$CPP $CPPFLAGS'
33701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33704
33705
33706 fi
33707
33708 fi
33709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
33710 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
33711
33712 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33713 for ac_func in logf
33714 do :
33715 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
33716 if test "x$ac_cv_func_logf" = xyes; then :
33717 cat >>confdefs.h <<_ACEOF
33718 #define HAVE_LOGF 1
33719 _ACEOF
33720
33721 fi
33722 done
33723
33724 else
33725
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
33727 $as_echo_n "checking for _logf declaration... " >&6; }
33728 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33729 if ${glibcxx_cv_func__logf_use+:} false; then :
33730 $as_echo_n "(cached) " >&6
33731 else
33732
33733
33734 ac_ext=cpp
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33739
33740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33741 /* end confdefs.h. */
33742 #include <math.h>
33743 #ifdef HAVE_IEEEFP_H
33744 #include <ieeefp.h>
33745 #endif
33746
33747 int
33748 main ()
33749 {
33750 _logf(0);
33751 ;
33752 return 0;
33753 }
33754 _ACEOF
33755 if ac_fn_cxx_try_compile "$LINENO"; then :
33756 glibcxx_cv_func__logf_use=yes
33757 else
33758 glibcxx_cv_func__logf_use=no
33759 fi
33760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33761 ac_ext=c
33762 ac_cpp='$CPP $CPPFLAGS'
33763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33766
33767
33768 fi
33769
33770 fi
33771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
33772 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
33773
33774 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33775 for ac_func in _logf
33776 do :
33777 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
33778 if test "x$ac_cv_func__logf" = xyes; then :
33779 cat >>confdefs.h <<_ACEOF
33780 #define HAVE__LOGF 1
33781 _ACEOF
33782
33783 fi
33784 done
33785
33786 fi
33787 fi
33788
33789
33790
33791
33792
33793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
33794 $as_echo_n "checking for log10f declaration... " >&6; }
33795 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33796 if ${glibcxx_cv_func_log10f_use+:} false; then :
33797 $as_echo_n "(cached) " >&6
33798 else
33799
33800
33801 ac_ext=cpp
33802 ac_cpp='$CXXCPP $CPPFLAGS'
33803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33806
33807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33808 /* end confdefs.h. */
33809 #include <math.h>
33810 #ifdef HAVE_IEEEFP_H
33811 #include <ieeefp.h>
33812 #endif
33813
33814 int
33815 main ()
33816 {
33817 log10f(0);
33818 ;
33819 return 0;
33820 }
33821 _ACEOF
33822 if ac_fn_cxx_try_compile "$LINENO"; then :
33823 glibcxx_cv_func_log10f_use=yes
33824 else
33825 glibcxx_cv_func_log10f_use=no
33826 fi
33827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33828 ac_ext=c
33829 ac_cpp='$CPP $CPPFLAGS'
33830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33833
33834
33835 fi
33836
33837 fi
33838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
33839 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
33840
33841 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33842 for ac_func in log10f
33843 do :
33844 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
33845 if test "x$ac_cv_func_log10f" = xyes; then :
33846 cat >>confdefs.h <<_ACEOF
33847 #define HAVE_LOG10F 1
33848 _ACEOF
33849
33850 fi
33851 done
33852
33853 else
33854
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
33856 $as_echo_n "checking for _log10f declaration... " >&6; }
33857 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
33858 if ${glibcxx_cv_func__log10f_use+:} false; then :
33859 $as_echo_n "(cached) " >&6
33860 else
33861
33862
33863 ac_ext=cpp
33864 ac_cpp='$CXXCPP $CPPFLAGS'
33865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33868
33869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870 /* end confdefs.h. */
33871 #include <math.h>
33872 #ifdef HAVE_IEEEFP_H
33873 #include <ieeefp.h>
33874 #endif
33875
33876 int
33877 main ()
33878 {
33879 _log10f(0);
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 if ac_fn_cxx_try_compile "$LINENO"; then :
33885 glibcxx_cv_func__log10f_use=yes
33886 else
33887 glibcxx_cv_func__log10f_use=no
33888 fi
33889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33890 ac_ext=c
33891 ac_cpp='$CPP $CPPFLAGS'
33892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33895
33896
33897 fi
33898
33899 fi
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
33901 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
33902
33903 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
33904 for ac_func in _log10f
33905 do :
33906 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
33907 if test "x$ac_cv_func__log10f" = xyes; then :
33908 cat >>confdefs.h <<_ACEOF
33909 #define HAVE__LOG10F 1
33910 _ACEOF
33911
33912 fi
33913 done
33914
33915 fi
33916 fi
33917
33918
33919
33920
33921
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
33923 $as_echo_n "checking for modff declaration... " >&6; }
33924 if test x${glibcxx_cv_func_modff_use+set} != xset; then
33925 if ${glibcxx_cv_func_modff_use+:} false; then :
33926 $as_echo_n "(cached) " >&6
33927 else
33928
33929
33930 ac_ext=cpp
33931 ac_cpp='$CXXCPP $CPPFLAGS'
33932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33935
33936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33937 /* end confdefs.h. */
33938 #include <math.h>
33939 int
33940 main ()
33941 {
33942 modff(0, 0);
33943 ;
33944 return 0;
33945 }
33946 _ACEOF
33947 if ac_fn_cxx_try_compile "$LINENO"; then :
33948 glibcxx_cv_func_modff_use=yes
33949 else
33950 glibcxx_cv_func_modff_use=no
33951 fi
33952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953 ac_ext=c
33954 ac_cpp='$CPP $CPPFLAGS'
33955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33958
33959
33960 fi
33961
33962 fi
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
33964 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
33965
33966 if test x$glibcxx_cv_func_modff_use = x"yes"; then
33967 for ac_func in modff
33968 do :
33969 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
33970 if test "x$ac_cv_func_modff" = xyes; then :
33971 cat >>confdefs.h <<_ACEOF
33972 #define HAVE_MODFF 1
33973 _ACEOF
33974
33975 fi
33976 done
33977
33978 else
33979
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
33981 $as_echo_n "checking for _modff declaration... " >&6; }
33982 if test x${glibcxx_cv_func__modff_use+set} != xset; then
33983 if ${glibcxx_cv_func__modff_use+:} false; then :
33984 $as_echo_n "(cached) " >&6
33985 else
33986
33987
33988 ac_ext=cpp
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33993
33994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33995 /* end confdefs.h. */
33996 #include <math.h>
33997 int
33998 main ()
33999 {
34000 _modff(0, 0);
34001 ;
34002 return 0;
34003 }
34004 _ACEOF
34005 if ac_fn_cxx_try_compile "$LINENO"; then :
34006 glibcxx_cv_func__modff_use=yes
34007 else
34008 glibcxx_cv_func__modff_use=no
34009 fi
34010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34011 ac_ext=c
34012 ac_cpp='$CPP $CPPFLAGS'
34013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34016
34017
34018 fi
34019
34020 fi
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34022 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34023
34024 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34025 for ac_func in _modff
34026 do :
34027 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34028 if test "x$ac_cv_func__modff" = xyes; then :
34029 cat >>confdefs.h <<_ACEOF
34030 #define HAVE__MODFF 1
34031 _ACEOF
34032
34033 fi
34034 done
34035
34036 fi
34037 fi
34038
34039
34040
34041
34042
34043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
34044 $as_echo_n "checking for modf declaration... " >&6; }
34045 if test x${glibcxx_cv_func_modf_use+set} != xset; then
34046 if ${glibcxx_cv_func_modf_use+:} false; then :
34047 $as_echo_n "(cached) " >&6
34048 else
34049
34050
34051 ac_ext=cpp
34052 ac_cpp='$CXXCPP $CPPFLAGS'
34053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34056
34057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34058 /* end confdefs.h. */
34059 #include <math.h>
34060 int
34061 main ()
34062 {
34063 modf(0, 0);
34064 ;
34065 return 0;
34066 }
34067 _ACEOF
34068 if ac_fn_cxx_try_compile "$LINENO"; then :
34069 glibcxx_cv_func_modf_use=yes
34070 else
34071 glibcxx_cv_func_modf_use=no
34072 fi
34073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34074 ac_ext=c
34075 ac_cpp='$CPP $CPPFLAGS'
34076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34079
34080
34081 fi
34082
34083 fi
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
34085 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
34086
34087 if test x$glibcxx_cv_func_modf_use = x"yes"; then
34088 for ac_func in modf
34089 do :
34090 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
34091 if test "x$ac_cv_func_modf" = xyes; then :
34092 cat >>confdefs.h <<_ACEOF
34093 #define HAVE_MODF 1
34094 _ACEOF
34095
34096 fi
34097 done
34098
34099 else
34100
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
34102 $as_echo_n "checking for _modf declaration... " >&6; }
34103 if test x${glibcxx_cv_func__modf_use+set} != xset; then
34104 if ${glibcxx_cv_func__modf_use+:} false; then :
34105 $as_echo_n "(cached) " >&6
34106 else
34107
34108
34109 ac_ext=cpp
34110 ac_cpp='$CXXCPP $CPPFLAGS'
34111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34114
34115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34116 /* end confdefs.h. */
34117 #include <math.h>
34118 int
34119 main ()
34120 {
34121 _modf(0, 0);
34122 ;
34123 return 0;
34124 }
34125 _ACEOF
34126 if ac_fn_cxx_try_compile "$LINENO"; then :
34127 glibcxx_cv_func__modf_use=yes
34128 else
34129 glibcxx_cv_func__modf_use=no
34130 fi
34131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34132 ac_ext=c
34133 ac_cpp='$CPP $CPPFLAGS'
34134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34137
34138
34139 fi
34140
34141 fi
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
34143 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
34144
34145 if test x$glibcxx_cv_func__modf_use = x"yes"; then
34146 for ac_func in _modf
34147 do :
34148 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
34149 if test "x$ac_cv_func__modf" = xyes; then :
34150 cat >>confdefs.h <<_ACEOF
34151 #define HAVE__MODF 1
34152 _ACEOF
34153
34154 fi
34155 done
34156
34157 fi
34158 fi
34159
34160
34161
34162
34163
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
34165 $as_echo_n "checking for powf declaration... " >&6; }
34166 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34167 if ${glibcxx_cv_func_powf_use+:} false; then :
34168 $as_echo_n "(cached) " >&6
34169 else
34170
34171
34172 ac_ext=cpp
34173 ac_cpp='$CXXCPP $CPPFLAGS'
34174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34177
34178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34179 /* end confdefs.h. */
34180 #include <math.h>
34181 int
34182 main ()
34183 {
34184 powf(0, 0);
34185 ;
34186 return 0;
34187 }
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190 glibcxx_cv_func_powf_use=yes
34191 else
34192 glibcxx_cv_func_powf_use=no
34193 fi
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34200
34201
34202 fi
34203
34204 fi
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
34206 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
34207
34208 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34209 for ac_func in powf
34210 do :
34211 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
34212 if test "x$ac_cv_func_powf" = xyes; then :
34213 cat >>confdefs.h <<_ACEOF
34214 #define HAVE_POWF 1
34215 _ACEOF
34216
34217 fi
34218 done
34219
34220 else
34221
34222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
34223 $as_echo_n "checking for _powf declaration... " >&6; }
34224 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34225 if ${glibcxx_cv_func__powf_use+:} false; then :
34226 $as_echo_n "(cached) " >&6
34227 else
34228
34229
34230 ac_ext=cpp
34231 ac_cpp='$CXXCPP $CPPFLAGS'
34232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34235
34236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34237 /* end confdefs.h. */
34238 #include <math.h>
34239 int
34240 main ()
34241 {
34242 _powf(0, 0);
34243 ;
34244 return 0;
34245 }
34246 _ACEOF
34247 if ac_fn_cxx_try_compile "$LINENO"; then :
34248 glibcxx_cv_func__powf_use=yes
34249 else
34250 glibcxx_cv_func__powf_use=no
34251 fi
34252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 ac_ext=c
34254 ac_cpp='$CPP $CPPFLAGS'
34255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34258
34259
34260 fi
34261
34262 fi
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
34264 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
34265
34266 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34267 for ac_func in _powf
34268 do :
34269 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
34270 if test "x$ac_cv_func__powf" = xyes; then :
34271 cat >>confdefs.h <<_ACEOF
34272 #define HAVE__POWF 1
34273 _ACEOF
34274
34275 fi
34276 done
34277
34278 fi
34279 fi
34280
34281
34282
34283
34284
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
34286 $as_echo_n "checking for sqrtf declaration... " >&6; }
34287 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34288 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
34289 $as_echo_n "(cached) " >&6
34290 else
34291
34292
34293 ac_ext=cpp
34294 ac_cpp='$CXXCPP $CPPFLAGS'
34295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34298
34299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34300 /* end confdefs.h. */
34301 #include <math.h>
34302 #ifdef HAVE_IEEEFP_H
34303 #include <ieeefp.h>
34304 #endif
34305
34306 int
34307 main ()
34308 {
34309 sqrtf(0);
34310 ;
34311 return 0;
34312 }
34313 _ACEOF
34314 if ac_fn_cxx_try_compile "$LINENO"; then :
34315 glibcxx_cv_func_sqrtf_use=yes
34316 else
34317 glibcxx_cv_func_sqrtf_use=no
34318 fi
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34325
34326
34327 fi
34328
34329 fi
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
34331 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
34332
34333 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34334 for ac_func in sqrtf
34335 do :
34336 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
34337 if test "x$ac_cv_func_sqrtf" = xyes; then :
34338 cat >>confdefs.h <<_ACEOF
34339 #define HAVE_SQRTF 1
34340 _ACEOF
34341
34342 fi
34343 done
34344
34345 else
34346
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
34348 $as_echo_n "checking for _sqrtf declaration... " >&6; }
34349 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34350 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34353
34354
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34364 #ifdef HAVE_IEEEFP_H
34365 #include <ieeefp.h>
34366 #endif
34367
34368 int
34369 main ()
34370 {
34371 _sqrtf(0);
34372 ;
34373 return 0;
34374 }
34375 _ACEOF
34376 if ac_fn_cxx_try_compile "$LINENO"; then :
34377 glibcxx_cv_func__sqrtf_use=yes
34378 else
34379 glibcxx_cv_func__sqrtf_use=no
34380 fi
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34382 ac_ext=c
34383 ac_cpp='$CPP $CPPFLAGS'
34384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34387
34388
34389 fi
34390
34391 fi
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
34393 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
34394
34395 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
34396 for ac_func in _sqrtf
34397 do :
34398 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
34399 if test "x$ac_cv_func__sqrtf" = xyes; then :
34400 cat >>confdefs.h <<_ACEOF
34401 #define HAVE__SQRTF 1
34402 _ACEOF
34403
34404 fi
34405 done
34406
34407 fi
34408 fi
34409
34410
34411
34412
34413
34414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
34415 $as_echo_n "checking for sincosf declaration... " >&6; }
34416 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
34417 if ${glibcxx_cv_func_sincosf_use+:} false; then :
34418 $as_echo_n "(cached) " >&6
34419 else
34420
34421
34422 ac_ext=cpp
34423 ac_cpp='$CXXCPP $CPPFLAGS'
34424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34427
34428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34429 /* end confdefs.h. */
34430 #include <math.h>
34431 int
34432 main ()
34433 {
34434 sincosf(0, 0, 0);
34435 ;
34436 return 0;
34437 }
34438 _ACEOF
34439 if ac_fn_cxx_try_compile "$LINENO"; then :
34440 glibcxx_cv_func_sincosf_use=yes
34441 else
34442 glibcxx_cv_func_sincosf_use=no
34443 fi
34444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445 ac_ext=c
34446 ac_cpp='$CPP $CPPFLAGS'
34447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34450
34451
34452 fi
34453
34454 fi
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
34456 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
34457
34458 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
34459 for ac_func in sincosf
34460 do :
34461 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
34462 if test "x$ac_cv_func_sincosf" = xyes; then :
34463 cat >>confdefs.h <<_ACEOF
34464 #define HAVE_SINCOSF 1
34465 _ACEOF
34466
34467 fi
34468 done
34469
34470 else
34471
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
34473 $as_echo_n "checking for _sincosf declaration... " >&6; }
34474 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
34475 if ${glibcxx_cv_func__sincosf_use+:} false; then :
34476 $as_echo_n "(cached) " >&6
34477 else
34478
34479
34480 ac_ext=cpp
34481 ac_cpp='$CXXCPP $CPPFLAGS'
34482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485
34486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34487 /* end confdefs.h. */
34488 #include <math.h>
34489 int
34490 main ()
34491 {
34492 _sincosf(0, 0, 0);
34493 ;
34494 return 0;
34495 }
34496 _ACEOF
34497 if ac_fn_cxx_try_compile "$LINENO"; then :
34498 glibcxx_cv_func__sincosf_use=yes
34499 else
34500 glibcxx_cv_func__sincosf_use=no
34501 fi
34502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34503 ac_ext=c
34504 ac_cpp='$CPP $CPPFLAGS'
34505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34508
34509
34510 fi
34511
34512 fi
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
34514 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
34515
34516 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
34517 for ac_func in _sincosf
34518 do :
34519 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
34520 if test "x$ac_cv_func__sincosf" = xyes; then :
34521 cat >>confdefs.h <<_ACEOF
34522 #define HAVE__SINCOSF 1
34523 _ACEOF
34524
34525 fi
34526 done
34527
34528 fi
34529 fi
34530
34531
34532
34533
34534
34535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
34536 $as_echo_n "checking for finitef declaration... " >&6; }
34537 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
34538 if ${glibcxx_cv_func_finitef_use+:} false; then :
34539 $as_echo_n "(cached) " >&6
34540 else
34541
34542
34543 ac_ext=cpp
34544 ac_cpp='$CXXCPP $CPPFLAGS'
34545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34548
34549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34550 /* end confdefs.h. */
34551 #include <math.h>
34552 #ifdef HAVE_IEEEFP_H
34553 #include <ieeefp.h>
34554 #endif
34555
34556 int
34557 main ()
34558 {
34559 finitef(0);
34560 ;
34561 return 0;
34562 }
34563 _ACEOF
34564 if ac_fn_cxx_try_compile "$LINENO"; then :
34565 glibcxx_cv_func_finitef_use=yes
34566 else
34567 glibcxx_cv_func_finitef_use=no
34568 fi
34569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34570 ac_ext=c
34571 ac_cpp='$CPP $CPPFLAGS'
34572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34575
34576
34577 fi
34578
34579 fi
34580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
34581 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
34582
34583 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
34584 for ac_func in finitef
34585 do :
34586 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
34587 if test "x$ac_cv_func_finitef" = xyes; then :
34588 cat >>confdefs.h <<_ACEOF
34589 #define HAVE_FINITEF 1
34590 _ACEOF
34591
34592 fi
34593 done
34594
34595 else
34596
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
34598 $as_echo_n "checking for _finitef declaration... " >&6; }
34599 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
34600 if ${glibcxx_cv_func__finitef_use+:} false; then :
34601 $as_echo_n "(cached) " >&6
34602 else
34603
34604
34605 ac_ext=cpp
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34610
34611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h. */
34613 #include <math.h>
34614 #ifdef HAVE_IEEEFP_H
34615 #include <ieeefp.h>
34616 #endif
34617
34618 int
34619 main ()
34620 {
34621 _finitef(0);
34622 ;
34623 return 0;
34624 }
34625 _ACEOF
34626 if ac_fn_cxx_try_compile "$LINENO"; then :
34627 glibcxx_cv_func__finitef_use=yes
34628 else
34629 glibcxx_cv_func__finitef_use=no
34630 fi
34631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34632 ac_ext=c
34633 ac_cpp='$CPP $CPPFLAGS'
34634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34637
34638
34639 fi
34640
34641 fi
34642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
34643 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
34644
34645 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
34646 for ac_func in _finitef
34647 do :
34648 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
34649 if test "x$ac_cv_func__finitef" = xyes; then :
34650 cat >>confdefs.h <<_ACEOF
34651 #define HAVE__FINITEF 1
34652 _ACEOF
34653
34654 fi
34655 done
34656
34657 fi
34658 fi
34659
34660
34661
34662
34663
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
34665 $as_echo_n "checking for long double trig functions... " >&6; }
34666 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
34667 $as_echo_n "(cached) " >&6
34668 else
34669
34670
34671 ac_ext=cpp
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34676
34677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34678 /* end confdefs.h. */
34679 #include <math.h>
34680 int
34681 main ()
34682 {
34683 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
34684 ;
34685 return 0;
34686 }
34687 _ACEOF
34688 if ac_fn_cxx_try_compile "$LINENO"; then :
34689 glibcxx_cv_func_long_double_trig_use=yes
34690 else
34691 glibcxx_cv_func_long_double_trig_use=no
34692 fi
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34694 ac_ext=c
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34699
34700 fi
34701
34702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
34703 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
34704 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
34705 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
34706 do :
34707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34710 cat >>confdefs.h <<_ACEOF
34711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34712 _ACEOF
34713
34714 fi
34715 done
34716
34717 else
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
34719 $as_echo_n "checking for _long double trig functions... " >&6; }
34720 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
34721 $as_echo_n "(cached) " >&6
34722 else
34723
34724
34725 ac_ext=cpp
34726 ac_cpp='$CXXCPP $CPPFLAGS'
34727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34730
34731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34732 /* end confdefs.h. */
34733 #include <math.h>
34734 int
34735 main ()
34736 {
34737 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
34738 ;
34739 return 0;
34740 }
34741 _ACEOF
34742 if ac_fn_cxx_try_compile "$LINENO"; then :
34743 glibcxx_cv_func__long_double_trig_use=yes
34744 else
34745 glibcxx_cv_func__long_double_trig_use=no
34746 fi
34747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34748 ac_ext=c
34749 ac_cpp='$CPP $CPPFLAGS'
34750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34753
34754 fi
34755
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
34757 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
34758 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
34759 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
34760 do :
34761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34764 cat >>confdefs.h <<_ACEOF
34765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34766 _ACEOF
34767
34768 fi
34769 done
34770
34771 fi
34772 fi
34773
34774
34775
34776
34777
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
34779 $as_echo_n "checking for long double round functions... " >&6; }
34780 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
34781 $as_echo_n "(cached) " >&6
34782 else
34783
34784
34785 ac_ext=cpp
34786 ac_cpp='$CXXCPP $CPPFLAGS'
34787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34790
34791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34792 /* end confdefs.h. */
34793 #include <math.h>
34794 int
34795 main ()
34796 {
34797 ceill (0); floorl (0);
34798 ;
34799 return 0;
34800 }
34801 _ACEOF
34802 if ac_fn_cxx_try_compile "$LINENO"; then :
34803 glibcxx_cv_func_long_double_round_use=yes
34804 else
34805 glibcxx_cv_func_long_double_round_use=no
34806 fi
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808 ac_ext=c
34809 ac_cpp='$CPP $CPPFLAGS'
34810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34813
34814 fi
34815
34816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
34817 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
34818 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34819 for ac_func in ceill floorl
34820 do :
34821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34823 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34824 cat >>confdefs.h <<_ACEOF
34825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34826 _ACEOF
34827
34828 fi
34829 done
34830
34831 else
34832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
34833 $as_echo_n "checking for _long double round functions... " >&6; }
34834 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
34835 $as_echo_n "(cached) " >&6
34836 else
34837
34838
34839 ac_ext=cpp
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34844
34845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34846 /* end confdefs.h. */
34847 #include <math.h>
34848 int
34849 main ()
34850 {
34851 _ceill (0); _floorl (0);
34852 ;
34853 return 0;
34854 }
34855 _ACEOF
34856 if ac_fn_cxx_try_compile "$LINENO"; then :
34857 glibcxx_cv_func__long_double_round_use=yes
34858 else
34859 glibcxx_cv_func__long_double_round_use=no
34860 fi
34861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34862 ac_ext=c
34863 ac_cpp='$CPP $CPPFLAGS'
34864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34867
34868 fi
34869
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
34871 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
34872 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34873 for ac_func in _ceill _floorl
34874 do :
34875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34878 cat >>confdefs.h <<_ACEOF
34879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34880 _ACEOF
34881
34882 fi
34883 done
34884
34885 fi
34886 fi
34887
34888
34889
34890
34891
34892
34893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
34894 $as_echo_n "checking for isnanl declaration... " >&6; }
34895 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34896 if ${glibcxx_cv_func_isnanl_use+:} false; then :
34897 $as_echo_n "(cached) " >&6
34898 else
34899
34900
34901 ac_ext=cpp
34902 ac_cpp='$CXXCPP $CPPFLAGS'
34903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34906
34907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34908 /* end confdefs.h. */
34909 #include <math.h>
34910 #ifdef HAVE_IEEEFP_H
34911 #include <ieeefp.h>
34912 #endif
34913
34914 int
34915 main ()
34916 {
34917 isnanl(0);
34918 ;
34919 return 0;
34920 }
34921 _ACEOF
34922 if ac_fn_cxx_try_compile "$LINENO"; then :
34923 glibcxx_cv_func_isnanl_use=yes
34924 else
34925 glibcxx_cv_func_isnanl_use=no
34926 fi
34927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34928 ac_ext=c
34929 ac_cpp='$CPP $CPPFLAGS'
34930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34933
34934
34935 fi
34936
34937 fi
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
34939 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
34940
34941 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34942 for ac_func in isnanl
34943 do :
34944 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
34945 if test "x$ac_cv_func_isnanl" = xyes; then :
34946 cat >>confdefs.h <<_ACEOF
34947 #define HAVE_ISNANL 1
34948 _ACEOF
34949
34950 fi
34951 done
34952
34953 else
34954
34955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
34956 $as_echo_n "checking for _isnanl declaration... " >&6; }
34957 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34958 if ${glibcxx_cv_func__isnanl_use+:} false; then :
34959 $as_echo_n "(cached) " >&6
34960 else
34961
34962
34963 ac_ext=cpp
34964 ac_cpp='$CXXCPP $CPPFLAGS'
34965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34968
34969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34970 /* end confdefs.h. */
34971 #include <math.h>
34972 #ifdef HAVE_IEEEFP_H
34973 #include <ieeefp.h>
34974 #endif
34975
34976 int
34977 main ()
34978 {
34979 _isnanl(0);
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 if ac_fn_cxx_try_compile "$LINENO"; then :
34985 glibcxx_cv_func__isnanl_use=yes
34986 else
34987 glibcxx_cv_func__isnanl_use=no
34988 fi
34989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990 ac_ext=c
34991 ac_cpp='$CPP $CPPFLAGS'
34992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34995
34996
34997 fi
34998
34999 fi
35000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35001 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35002
35003 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35004 for ac_func in _isnanl
35005 do :
35006 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35007 if test "x$ac_cv_func__isnanl" = xyes; then :
35008 cat >>confdefs.h <<_ACEOF
35009 #define HAVE__ISNANL 1
35010 _ACEOF
35011
35012 fi
35013 done
35014
35015 fi
35016 fi
35017
35018
35019
35020
35021
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35023 $as_echo_n "checking for isinfl declaration... " >&6; }
35024 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35025 if ${glibcxx_cv_func_isinfl_use+:} false; then :
35026 $as_echo_n "(cached) " >&6
35027 else
35028
35029
35030 ac_ext=cpp
35031 ac_cpp='$CXXCPP $CPPFLAGS'
35032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35035
35036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35037 /* end confdefs.h. */
35038 #include <math.h>
35039 #ifdef HAVE_IEEEFP_H
35040 #include <ieeefp.h>
35041 #endif
35042
35043 int
35044 main ()
35045 {
35046 isinfl(0);
35047 ;
35048 return 0;
35049 }
35050 _ACEOF
35051 if ac_fn_cxx_try_compile "$LINENO"; then :
35052 glibcxx_cv_func_isinfl_use=yes
35053 else
35054 glibcxx_cv_func_isinfl_use=no
35055 fi
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057 ac_ext=c
35058 ac_cpp='$CPP $CPPFLAGS'
35059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35062
35063
35064 fi
35065
35066 fi
35067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
35068 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
35069
35070 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35071 for ac_func in isinfl
35072 do :
35073 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
35074 if test "x$ac_cv_func_isinfl" = xyes; then :
35075 cat >>confdefs.h <<_ACEOF
35076 #define HAVE_ISINFL 1
35077 _ACEOF
35078
35079 fi
35080 done
35081
35082 else
35083
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
35085 $as_echo_n "checking for _isinfl declaration... " >&6; }
35086 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35087 if ${glibcxx_cv_func__isinfl_use+:} false; then :
35088 $as_echo_n "(cached) " >&6
35089 else
35090
35091
35092 ac_ext=cpp
35093 ac_cpp='$CXXCPP $CPPFLAGS'
35094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35097
35098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35099 /* end confdefs.h. */
35100 #include <math.h>
35101 #ifdef HAVE_IEEEFP_H
35102 #include <ieeefp.h>
35103 #endif
35104
35105 int
35106 main ()
35107 {
35108 _isinfl(0);
35109 ;
35110 return 0;
35111 }
35112 _ACEOF
35113 if ac_fn_cxx_try_compile "$LINENO"; then :
35114 glibcxx_cv_func__isinfl_use=yes
35115 else
35116 glibcxx_cv_func__isinfl_use=no
35117 fi
35118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35119 ac_ext=c
35120 ac_cpp='$CPP $CPPFLAGS'
35121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35124
35125
35126 fi
35127
35128 fi
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
35130 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
35131
35132 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35133 for ac_func in _isinfl
35134 do :
35135 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
35136 if test "x$ac_cv_func__isinfl" = xyes; then :
35137 cat >>confdefs.h <<_ACEOF
35138 #define HAVE__ISINFL 1
35139 _ACEOF
35140
35141 fi
35142 done
35143
35144 fi
35145 fi
35146
35147
35148
35149
35150
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
35152 $as_echo_n "checking for atan2l declaration... " >&6; }
35153 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35154 if ${glibcxx_cv_func_atan2l_use+:} false; then :
35155 $as_echo_n "(cached) " >&6
35156 else
35157
35158
35159 ac_ext=cpp
35160 ac_cpp='$CXXCPP $CPPFLAGS'
35161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35164
35165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35166 /* end confdefs.h. */
35167 #include <math.h>
35168 int
35169 main ()
35170 {
35171 atan2l(0, 0);
35172 ;
35173 return 0;
35174 }
35175 _ACEOF
35176 if ac_fn_cxx_try_compile "$LINENO"; then :
35177 glibcxx_cv_func_atan2l_use=yes
35178 else
35179 glibcxx_cv_func_atan2l_use=no
35180 fi
35181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35182 ac_ext=c
35183 ac_cpp='$CPP $CPPFLAGS'
35184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35187
35188
35189 fi
35190
35191 fi
35192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
35193 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
35194
35195 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35196 for ac_func in atan2l
35197 do :
35198 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
35199 if test "x$ac_cv_func_atan2l" = xyes; then :
35200 cat >>confdefs.h <<_ACEOF
35201 #define HAVE_ATAN2L 1
35202 _ACEOF
35203
35204 fi
35205 done
35206
35207 else
35208
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
35210 $as_echo_n "checking for _atan2l declaration... " >&6; }
35211 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35212 if ${glibcxx_cv_func__atan2l_use+:} false; then :
35213 $as_echo_n "(cached) " >&6
35214 else
35215
35216
35217 ac_ext=cpp
35218 ac_cpp='$CXXCPP $CPPFLAGS'
35219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35222
35223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35224 /* end confdefs.h. */
35225 #include <math.h>
35226 int
35227 main ()
35228 {
35229 _atan2l(0, 0);
35230 ;
35231 return 0;
35232 }
35233 _ACEOF
35234 if ac_fn_cxx_try_compile "$LINENO"; then :
35235 glibcxx_cv_func__atan2l_use=yes
35236 else
35237 glibcxx_cv_func__atan2l_use=no
35238 fi
35239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35240 ac_ext=c
35241 ac_cpp='$CPP $CPPFLAGS'
35242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35245
35246
35247 fi
35248
35249 fi
35250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
35251 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
35252
35253 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35254 for ac_func in _atan2l
35255 do :
35256 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
35257 if test "x$ac_cv_func__atan2l" = xyes; then :
35258 cat >>confdefs.h <<_ACEOF
35259 #define HAVE__ATAN2L 1
35260 _ACEOF
35261
35262 fi
35263 done
35264
35265 fi
35266 fi
35267
35268
35269
35270
35271
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
35273 $as_echo_n "checking for expl declaration... " >&6; }
35274 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35275 if ${glibcxx_cv_func_expl_use+:} false; then :
35276 $as_echo_n "(cached) " >&6
35277 else
35278
35279
35280 ac_ext=cpp
35281 ac_cpp='$CXXCPP $CPPFLAGS'
35282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35285
35286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35287 /* end confdefs.h. */
35288 #include <math.h>
35289 #ifdef HAVE_IEEEFP_H
35290 #include <ieeefp.h>
35291 #endif
35292
35293 int
35294 main ()
35295 {
35296 expl(0);
35297 ;
35298 return 0;
35299 }
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302 glibcxx_cv_func_expl_use=yes
35303 else
35304 glibcxx_cv_func_expl_use=no
35305 fi
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307 ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35312
35313
35314 fi
35315
35316 fi
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
35318 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
35319
35320 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35321 for ac_func in expl
35322 do :
35323 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
35324 if test "x$ac_cv_func_expl" = xyes; then :
35325 cat >>confdefs.h <<_ACEOF
35326 #define HAVE_EXPL 1
35327 _ACEOF
35328
35329 fi
35330 done
35331
35332 else
35333
35334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
35335 $as_echo_n "checking for _expl declaration... " >&6; }
35336 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35337 if ${glibcxx_cv_func__expl_use+:} false; then :
35338 $as_echo_n "(cached) " >&6
35339 else
35340
35341
35342 ac_ext=cpp
35343 ac_cpp='$CXXCPP $CPPFLAGS'
35344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35347
35348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35349 /* end confdefs.h. */
35350 #include <math.h>
35351 #ifdef HAVE_IEEEFP_H
35352 #include <ieeefp.h>
35353 #endif
35354
35355 int
35356 main ()
35357 {
35358 _expl(0);
35359 ;
35360 return 0;
35361 }
35362 _ACEOF
35363 if ac_fn_cxx_try_compile "$LINENO"; then :
35364 glibcxx_cv_func__expl_use=yes
35365 else
35366 glibcxx_cv_func__expl_use=no
35367 fi
35368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369 ac_ext=c
35370 ac_cpp='$CPP $CPPFLAGS'
35371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35374
35375
35376 fi
35377
35378 fi
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
35380 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
35381
35382 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35383 for ac_func in _expl
35384 do :
35385 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
35386 if test "x$ac_cv_func__expl" = xyes; then :
35387 cat >>confdefs.h <<_ACEOF
35388 #define HAVE__EXPL 1
35389 _ACEOF
35390
35391 fi
35392 done
35393
35394 fi
35395 fi
35396
35397
35398
35399
35400
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
35402 $as_echo_n "checking for fabsl declaration... " >&6; }
35403 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35404 if ${glibcxx_cv_func_fabsl_use+:} false; then :
35405 $as_echo_n "(cached) " >&6
35406 else
35407
35408
35409 ac_ext=cpp
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35414
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35417 #include <math.h>
35418 #ifdef HAVE_IEEEFP_H
35419 #include <ieeefp.h>
35420 #endif
35421
35422 int
35423 main ()
35424 {
35425 fabsl(0);
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 if ac_fn_cxx_try_compile "$LINENO"; then :
35431 glibcxx_cv_func_fabsl_use=yes
35432 else
35433 glibcxx_cv_func_fabsl_use=no
35434 fi
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436 ac_ext=c
35437 ac_cpp='$CPP $CPPFLAGS'
35438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35441
35442
35443 fi
35444
35445 fi
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
35447 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
35448
35449 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35450 for ac_func in fabsl
35451 do :
35452 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
35453 if test "x$ac_cv_func_fabsl" = xyes; then :
35454 cat >>confdefs.h <<_ACEOF
35455 #define HAVE_FABSL 1
35456 _ACEOF
35457
35458 fi
35459 done
35460
35461 else
35462
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
35464 $as_echo_n "checking for _fabsl declaration... " >&6; }
35465 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35466 if ${glibcxx_cv_func__fabsl_use+:} false; then :
35467 $as_echo_n "(cached) " >&6
35468 else
35469
35470
35471 ac_ext=cpp
35472 ac_cpp='$CXXCPP $CPPFLAGS'
35473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35476
35477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35478 /* end confdefs.h. */
35479 #include <math.h>
35480 #ifdef HAVE_IEEEFP_H
35481 #include <ieeefp.h>
35482 #endif
35483
35484 int
35485 main ()
35486 {
35487 _fabsl(0);
35488 ;
35489 return 0;
35490 }
35491 _ACEOF
35492 if ac_fn_cxx_try_compile "$LINENO"; then :
35493 glibcxx_cv_func__fabsl_use=yes
35494 else
35495 glibcxx_cv_func__fabsl_use=no
35496 fi
35497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35498 ac_ext=c
35499 ac_cpp='$CPP $CPPFLAGS'
35500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35503
35504
35505 fi
35506
35507 fi
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
35509 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
35510
35511 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
35512 for ac_func in _fabsl
35513 do :
35514 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
35515 if test "x$ac_cv_func__fabsl" = xyes; then :
35516 cat >>confdefs.h <<_ACEOF
35517 #define HAVE__FABSL 1
35518 _ACEOF
35519
35520 fi
35521 done
35522
35523 fi
35524 fi
35525
35526
35527
35528
35529
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
35531 $as_echo_n "checking for fmodl declaration... " >&6; }
35532 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
35533 if ${glibcxx_cv_func_fmodl_use+:} false; then :
35534 $as_echo_n "(cached) " >&6
35535 else
35536
35537
35538 ac_ext=cpp
35539 ac_cpp='$CXXCPP $CPPFLAGS'
35540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35543
35544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35545 /* end confdefs.h. */
35546 #include <math.h>
35547 int
35548 main ()
35549 {
35550 fmodl(0, 0);
35551 ;
35552 return 0;
35553 }
35554 _ACEOF
35555 if ac_fn_cxx_try_compile "$LINENO"; then :
35556 glibcxx_cv_func_fmodl_use=yes
35557 else
35558 glibcxx_cv_func_fmodl_use=no
35559 fi
35560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35561 ac_ext=c
35562 ac_cpp='$CPP $CPPFLAGS'
35563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566
35567
35568 fi
35569
35570 fi
35571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
35572 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
35573
35574 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
35575 for ac_func in fmodl
35576 do :
35577 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
35578 if test "x$ac_cv_func_fmodl" = xyes; then :
35579 cat >>confdefs.h <<_ACEOF
35580 #define HAVE_FMODL 1
35581 _ACEOF
35582
35583 fi
35584 done
35585
35586 else
35587
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
35589 $as_echo_n "checking for _fmodl declaration... " >&6; }
35590 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
35591 if ${glibcxx_cv_func__fmodl_use+:} false; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35594
35595
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35601
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35605 int
35606 main ()
35607 {
35608 _fmodl(0, 0);
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 if ac_fn_cxx_try_compile "$LINENO"; then :
35614 glibcxx_cv_func__fmodl_use=yes
35615 else
35616 glibcxx_cv_func__fmodl_use=no
35617 fi
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35624
35625
35626 fi
35627
35628 fi
35629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
35630 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
35631
35632 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
35633 for ac_func in _fmodl
35634 do :
35635 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
35636 if test "x$ac_cv_func__fmodl" = xyes; then :
35637 cat >>confdefs.h <<_ACEOF
35638 #define HAVE__FMODL 1
35639 _ACEOF
35640
35641 fi
35642 done
35643
35644 fi
35645 fi
35646
35647
35648
35649
35650
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
35652 $as_echo_n "checking for frexpl declaration... " >&6; }
35653 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
35654 if ${glibcxx_cv_func_frexpl_use+:} false; then :
35655 $as_echo_n "(cached) " >&6
35656 else
35657
35658
35659 ac_ext=cpp
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35664
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35666 /* end confdefs.h. */
35667 #include <math.h>
35668 int
35669 main ()
35670 {
35671 frexpl(0, 0);
35672 ;
35673 return 0;
35674 }
35675 _ACEOF
35676 if ac_fn_cxx_try_compile "$LINENO"; then :
35677 glibcxx_cv_func_frexpl_use=yes
35678 else
35679 glibcxx_cv_func_frexpl_use=no
35680 fi
35681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35682 ac_ext=c
35683 ac_cpp='$CPP $CPPFLAGS'
35684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35687
35688
35689 fi
35690
35691 fi
35692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
35693 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
35694
35695 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
35696 for ac_func in frexpl
35697 do :
35698 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
35699 if test "x$ac_cv_func_frexpl" = xyes; then :
35700 cat >>confdefs.h <<_ACEOF
35701 #define HAVE_FREXPL 1
35702 _ACEOF
35703
35704 fi
35705 done
35706
35707 else
35708
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
35710 $as_echo_n "checking for _frexpl declaration... " >&6; }
35711 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
35712 if ${glibcxx_cv_func__frexpl_use+:} false; then :
35713 $as_echo_n "(cached) " >&6
35714 else
35715
35716
35717 ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35722
35723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h. */
35725 #include <math.h>
35726 int
35727 main ()
35728 {
35729 _frexpl(0, 0);
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 if ac_fn_cxx_try_compile "$LINENO"; then :
35735 glibcxx_cv_func__frexpl_use=yes
35736 else
35737 glibcxx_cv_func__frexpl_use=no
35738 fi
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740 ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35745
35746
35747 fi
35748
35749 fi
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
35751 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
35752
35753 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
35754 for ac_func in _frexpl
35755 do :
35756 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
35757 if test "x$ac_cv_func__frexpl" = xyes; then :
35758 cat >>confdefs.h <<_ACEOF
35759 #define HAVE__FREXPL 1
35760 _ACEOF
35761
35762 fi
35763 done
35764
35765 fi
35766 fi
35767
35768
35769
35770
35771
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
35773 $as_echo_n "checking for hypotl declaration... " >&6; }
35774 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
35775 if ${glibcxx_cv_func_hypotl_use+:} false; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35778
35779
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 int
35790 main ()
35791 {
35792 hypotl(0, 0);
35793 ;
35794 return 0;
35795 }
35796 _ACEOF
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func_hypotl_use=yes
35799 else
35800 glibcxx_cv_func_hypotl_use=no
35801 fi
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35803 ac_ext=c
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35808
35809
35810 fi
35811
35812 fi
35813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
35814 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
35815
35816 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
35817 for ac_func in hypotl
35818 do :
35819 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
35820 if test "x$ac_cv_func_hypotl" = xyes; then :
35821 cat >>confdefs.h <<_ACEOF
35822 #define HAVE_HYPOTL 1
35823 _ACEOF
35824
35825 fi
35826 done
35827
35828 else
35829
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
35831 $as_echo_n "checking for _hypotl declaration... " >&6; }
35832 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
35833 if ${glibcxx_cv_func__hypotl_use+:} false; then :
35834 $as_echo_n "(cached) " >&6
35835 else
35836
35837
35838 ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35843
35844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h. */
35846 #include <math.h>
35847 int
35848 main ()
35849 {
35850 _hypotl(0, 0);
35851 ;
35852 return 0;
35853 }
35854 _ACEOF
35855 if ac_fn_cxx_try_compile "$LINENO"; then :
35856 glibcxx_cv_func__hypotl_use=yes
35857 else
35858 glibcxx_cv_func__hypotl_use=no
35859 fi
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861 ac_ext=c
35862 ac_cpp='$CPP $CPPFLAGS'
35863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35866
35867
35868 fi
35869
35870 fi
35871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
35872 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
35873
35874 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
35875 for ac_func in _hypotl
35876 do :
35877 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
35878 if test "x$ac_cv_func__hypotl" = xyes; then :
35879 cat >>confdefs.h <<_ACEOF
35880 #define HAVE__HYPOTL 1
35881 _ACEOF
35882
35883 fi
35884 done
35885
35886 fi
35887 fi
35888
35889
35890
35891
35892
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
35894 $as_echo_n "checking for ldexpl declaration... " >&6; }
35895 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
35896 if ${glibcxx_cv_func_ldexpl_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 int
35911 main ()
35912 {
35913 ldexpl(0, 0);
35914 ;
35915 return 0;
35916 }
35917 _ACEOF
35918 if ac_fn_cxx_try_compile "$LINENO"; then :
35919 glibcxx_cv_func_ldexpl_use=yes
35920 else
35921 glibcxx_cv_func_ldexpl_use=no
35922 fi
35923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35924 ac_ext=c
35925 ac_cpp='$CPP $CPPFLAGS'
35926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35929
35930
35931 fi
35932
35933 fi
35934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
35935 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
35936
35937 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
35938 for ac_func in ldexpl
35939 do :
35940 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
35941 if test "x$ac_cv_func_ldexpl" = xyes; then :
35942 cat >>confdefs.h <<_ACEOF
35943 #define HAVE_LDEXPL 1
35944 _ACEOF
35945
35946 fi
35947 done
35948
35949 else
35950
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
35952 $as_echo_n "checking for _ldexpl declaration... " >&6; }
35953 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
35954 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
35955 $as_echo_n "(cached) " >&6
35956 else
35957
35958
35959 ac_ext=cpp
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35964
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35967 #include <math.h>
35968 int
35969 main ()
35970 {
35971 _ldexpl(0, 0);
35972 ;
35973 return 0;
35974 }
35975 _ACEOF
35976 if ac_fn_cxx_try_compile "$LINENO"; then :
35977 glibcxx_cv_func__ldexpl_use=yes
35978 else
35979 glibcxx_cv_func__ldexpl_use=no
35980 fi
35981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35982 ac_ext=c
35983 ac_cpp='$CPP $CPPFLAGS'
35984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35987
35988
35989 fi
35990
35991 fi
35992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
35993 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
35994
35995 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
35996 for ac_func in _ldexpl
35997 do :
35998 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
35999 if test "x$ac_cv_func__ldexpl" = xyes; then :
36000 cat >>confdefs.h <<_ACEOF
36001 #define HAVE__LDEXPL 1
36002 _ACEOF
36003
36004 fi
36005 done
36006
36007 fi
36008 fi
36009
36010
36011
36012
36013
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36015 $as_echo_n "checking for logl declaration... " >&6; }
36016 if test x${glibcxx_cv_func_logl_use+set} != xset; then
36017 if ${glibcxx_cv_func_logl_use+:} false; then :
36018 $as_echo_n "(cached) " >&6
36019 else
36020
36021
36022 ac_ext=cpp
36023 ac_cpp='$CXXCPP $CPPFLAGS'
36024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36027
36028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36029 /* end confdefs.h. */
36030 #include <math.h>
36031 #ifdef HAVE_IEEEFP_H
36032 #include <ieeefp.h>
36033 #endif
36034
36035 int
36036 main ()
36037 {
36038 logl(0);
36039 ;
36040 return 0;
36041 }
36042 _ACEOF
36043 if ac_fn_cxx_try_compile "$LINENO"; then :
36044 glibcxx_cv_func_logl_use=yes
36045 else
36046 glibcxx_cv_func_logl_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_logl_use" >&5
36060 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
36061
36062 if test x$glibcxx_cv_func_logl_use = x"yes"; then
36063 for ac_func in logl
36064 do :
36065 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
36066 if test "x$ac_cv_func_logl" = xyes; then :
36067 cat >>confdefs.h <<_ACEOF
36068 #define HAVE_LOGL 1
36069 _ACEOF
36070
36071 fi
36072 done
36073
36074 else
36075
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
36077 $as_echo_n "checking for _logl declaration... " >&6; }
36078 if test x${glibcxx_cv_func__logl_use+set} != xset; then
36079 if ${glibcxx_cv_func__logl_use+:} false; then :
36080 $as_echo_n "(cached) " >&6
36081 else
36082
36083
36084 ac_ext=cpp
36085 ac_cpp='$CXXCPP $CPPFLAGS'
36086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36089
36090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36091 /* end confdefs.h. */
36092 #include <math.h>
36093 #ifdef HAVE_IEEEFP_H
36094 #include <ieeefp.h>
36095 #endif
36096
36097 int
36098 main ()
36099 {
36100 _logl(0);
36101 ;
36102 return 0;
36103 }
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func__logl_use=yes
36107 else
36108 glibcxx_cv_func__logl_use=no
36109 fi
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116
36117
36118 fi
36119
36120 fi
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
36122 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
36123
36124 if test x$glibcxx_cv_func__logl_use = x"yes"; then
36125 for ac_func in _logl
36126 do :
36127 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
36128 if test "x$ac_cv_func__logl" = xyes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE__LOGL 1
36131 _ACEOF
36132
36133 fi
36134 done
36135
36136 fi
36137 fi
36138
36139
36140
36141
36142
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
36144 $as_echo_n "checking for log10l declaration... " >&6; }
36145 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
36146 if ${glibcxx_cv_func_log10l_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 log10l(0);
36168 ;
36169 return 0;
36170 }
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173 glibcxx_cv_func_log10l_use=yes
36174 else
36175 glibcxx_cv_func_log10l_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_log10l_use" >&5
36189 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
36190
36191 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
36192 for ac_func in log10l
36193 do :
36194 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
36195 if test "x$ac_cv_func_log10l" = xyes; then :
36196 cat >>confdefs.h <<_ACEOF
36197 #define HAVE_LOG10L 1
36198 _ACEOF
36199
36200 fi
36201 done
36202
36203 else
36204
36205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
36206 $as_echo_n "checking for _log10l declaration... " >&6; }
36207 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
36208 if ${glibcxx_cv_func__log10l_use+:} false; then :
36209 $as_echo_n "(cached) " >&6
36210 else
36211
36212
36213 ac_ext=cpp
36214 ac_cpp='$CXXCPP $CPPFLAGS'
36215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36218
36219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220 /* end confdefs.h. */
36221 #include <math.h>
36222 #ifdef HAVE_IEEEFP_H
36223 #include <ieeefp.h>
36224 #endif
36225
36226 int
36227 main ()
36228 {
36229 _log10l(0);
36230 ;
36231 return 0;
36232 }
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func__log10l_use=yes
36236 else
36237 glibcxx_cv_func__log10l_use=no
36238 fi
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245
36246
36247 fi
36248
36249 fi
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
36251 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
36252
36253 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
36254 for ac_func in _log10l
36255 do :
36256 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
36257 if test "x$ac_cv_func__log10l" = xyes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE__LOG10L 1
36260 _ACEOF
36261
36262 fi
36263 done
36264
36265 fi
36266 fi
36267
36268
36269
36270
36271
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
36273 $as_echo_n "checking for modfl declaration... " >&6; }
36274 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
36275 if ${glibcxx_cv_func_modfl_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 int
36290 main ()
36291 {
36292 modfl(0, 0);
36293 ;
36294 return 0;
36295 }
36296 _ACEOF
36297 if ac_fn_cxx_try_compile "$LINENO"; then :
36298 glibcxx_cv_func_modfl_use=yes
36299 else
36300 glibcxx_cv_func_modfl_use=no
36301 fi
36302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36303 ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36308
36309
36310 fi
36311
36312 fi
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
36314 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
36315
36316 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
36317 for ac_func in modfl
36318 do :
36319 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
36320 if test "x$ac_cv_func_modfl" = xyes; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define HAVE_MODFL 1
36323 _ACEOF
36324
36325 fi
36326 done
36327
36328 else
36329
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
36331 $as_echo_n "checking for _modfl declaration... " >&6; }
36332 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
36333 if ${glibcxx_cv_func__modfl_use+:} false; then :
36334 $as_echo_n "(cached) " >&6
36335 else
36336
36337
36338 ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343
36344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h. */
36346 #include <math.h>
36347 int
36348 main ()
36349 {
36350 _modfl(0, 0);
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func__modfl_use=yes
36357 else
36358 glibcxx_cv_func__modfl_use=no
36359 fi
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366
36367
36368 fi
36369
36370 fi
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
36372 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
36373
36374 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
36375 for ac_func in _modfl
36376 do :
36377 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
36378 if test "x$ac_cv_func__modfl" = xyes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE__MODFL 1
36381 _ACEOF
36382
36383 fi
36384 done
36385
36386 fi
36387 fi
36388
36389
36390
36391
36392
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
36394 $as_echo_n "checking for powl declaration... " >&6; }
36395 if test x${glibcxx_cv_func_powl_use+set} != xset; then
36396 if ${glibcxx_cv_func_powl_use+:} false; then :
36397 $as_echo_n "(cached) " >&6
36398 else
36399
36400
36401 ac_ext=cpp
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36406
36407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36408 /* end confdefs.h. */
36409 #include <math.h>
36410 int
36411 main ()
36412 {
36413 powl(0, 0);
36414 ;
36415 return 0;
36416 }
36417 _ACEOF
36418 if ac_fn_cxx_try_compile "$LINENO"; then :
36419 glibcxx_cv_func_powl_use=yes
36420 else
36421 glibcxx_cv_func_powl_use=no
36422 fi
36423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36424 ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429
36430
36431 fi
36432
36433 fi
36434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
36435 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
36436
36437 if test x$glibcxx_cv_func_powl_use = x"yes"; then
36438 for ac_func in powl
36439 do :
36440 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
36441 if test "x$ac_cv_func_powl" = xyes; then :
36442 cat >>confdefs.h <<_ACEOF
36443 #define HAVE_POWL 1
36444 _ACEOF
36445
36446 fi
36447 done
36448
36449 else
36450
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
36452 $as_echo_n "checking for _powl declaration... " >&6; }
36453 if test x${glibcxx_cv_func__powl_use+set} != xset; then
36454 if ${glibcxx_cv_func__powl_use+:} false; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36457
36458
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36468 int
36469 main ()
36470 {
36471 _powl(0, 0);
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__powl_use=yes
36478 else
36479 glibcxx_cv_func__powl_use=no
36480 fi
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487
36488
36489 fi
36490
36491 fi
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
36493 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
36494
36495 if test x$glibcxx_cv_func__powl_use = x"yes"; then
36496 for ac_func in _powl
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
36499 if test "x$ac_cv_func__powl" = xyes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__POWL 1
36502 _ACEOF
36503
36504 fi
36505 done
36506
36507 fi
36508 fi
36509
36510
36511
36512
36513
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
36515 $as_echo_n "checking for sqrtl declaration... " >&6; }
36516 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
36517 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36520
36521
36522 ac_ext=cpp
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527
36528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529 /* end confdefs.h. */
36530 #include <math.h>
36531 #ifdef HAVE_IEEEFP_H
36532 #include <ieeefp.h>
36533 #endif
36534
36535 int
36536 main ()
36537 {
36538 sqrtl(0);
36539 ;
36540 return 0;
36541 }
36542 _ACEOF
36543 if ac_fn_cxx_try_compile "$LINENO"; then :
36544 glibcxx_cv_func_sqrtl_use=yes
36545 else
36546 glibcxx_cv_func_sqrtl_use=no
36547 fi
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554
36555
36556 fi
36557
36558 fi
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
36560 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
36561
36562 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
36563 for ac_func in sqrtl
36564 do :
36565 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
36566 if test "x$ac_cv_func_sqrtl" = xyes; then :
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_SQRTL 1
36569 _ACEOF
36570
36571 fi
36572 done
36573
36574 else
36575
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
36577 $as_echo_n "checking for _sqrtl declaration... " >&6; }
36578 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
36579 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
36580 $as_echo_n "(cached) " >&6
36581 else
36582
36583
36584 ac_ext=cpp
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589
36590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591 /* end confdefs.h. */
36592 #include <math.h>
36593 #ifdef HAVE_IEEEFP_H
36594 #include <ieeefp.h>
36595 #endif
36596
36597 int
36598 main ()
36599 {
36600 _sqrtl(0);
36601 ;
36602 return 0;
36603 }
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func__sqrtl_use=yes
36607 else
36608 glibcxx_cv_func__sqrtl_use=no
36609 fi
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616
36617
36618 fi
36619
36620 fi
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
36622 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
36623
36624 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
36625 for ac_func in _sqrtl
36626 do :
36627 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
36628 if test "x$ac_cv_func__sqrtl" = xyes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE__SQRTL 1
36631 _ACEOF
36632
36633 fi
36634 done
36635
36636 fi
36637 fi
36638
36639
36640
36641
36642
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
36644 $as_echo_n "checking for sincosl declaration... " >&6; }
36645 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
36646 if ${glibcxx_cv_func_sincosl_use+:} false; then :
36647 $as_echo_n "(cached) " >&6
36648 else
36649
36650
36651 ac_ext=cpp
36652 ac_cpp='$CXXCPP $CPPFLAGS'
36653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36656
36657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36658 /* end confdefs.h. */
36659 #include <math.h>
36660 int
36661 main ()
36662 {
36663 sincosl(0, 0, 0);
36664 ;
36665 return 0;
36666 }
36667 _ACEOF
36668 if ac_fn_cxx_try_compile "$LINENO"; then :
36669 glibcxx_cv_func_sincosl_use=yes
36670 else
36671 glibcxx_cv_func_sincosl_use=no
36672 fi
36673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36674 ac_ext=c
36675 ac_cpp='$CPP $CPPFLAGS'
36676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36679
36680
36681 fi
36682
36683 fi
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
36685 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
36686
36687 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
36688 for ac_func in sincosl
36689 do :
36690 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
36691 if test "x$ac_cv_func_sincosl" = xyes; then :
36692 cat >>confdefs.h <<_ACEOF
36693 #define HAVE_SINCOSL 1
36694 _ACEOF
36695
36696 fi
36697 done
36698
36699 else
36700
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
36702 $as_echo_n "checking for _sincosl declaration... " >&6; }
36703 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
36704 if ${glibcxx_cv_func__sincosl_use+:} false; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36718 int
36719 main ()
36720 {
36721 _sincosl(0, 0, 0);
36722 ;
36723 return 0;
36724 }
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func__sincosl_use=yes
36728 else
36729 glibcxx_cv_func__sincosl_use=no
36730 fi
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737
36738
36739 fi
36740
36741 fi
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
36743 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
36744
36745 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
36746 for ac_func in _sincosl
36747 do :
36748 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
36749 if test "x$ac_cv_func__sincosl" = xyes; then :
36750 cat >>confdefs.h <<_ACEOF
36751 #define HAVE__SINCOSL 1
36752 _ACEOF
36753
36754 fi
36755 done
36756
36757 fi
36758 fi
36759
36760
36761
36762
36763
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
36765 $as_echo_n "checking for finitel declaration... " >&6; }
36766 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
36767 if ${glibcxx_cv_func_finitel_use+:} false; then :
36768 $as_echo_n "(cached) " >&6
36769 else
36770
36771
36772 ac_ext=cpp
36773 ac_cpp='$CXXCPP $CPPFLAGS'
36774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36777
36778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36779 /* end confdefs.h. */
36780 #include <math.h>
36781 #ifdef HAVE_IEEEFP_H
36782 #include <ieeefp.h>
36783 #endif
36784
36785 int
36786 main ()
36787 {
36788 finitel(0);
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 if ac_fn_cxx_try_compile "$LINENO"; then :
36794 glibcxx_cv_func_finitel_use=yes
36795 else
36796 glibcxx_cv_func_finitel_use=no
36797 fi
36798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36799 ac_ext=c
36800 ac_cpp='$CPP $CPPFLAGS'
36801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36804
36805
36806 fi
36807
36808 fi
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
36810 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
36811
36812 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
36813 for ac_func in finitel
36814 do :
36815 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
36816 if test "x$ac_cv_func_finitel" = xyes; then :
36817 cat >>confdefs.h <<_ACEOF
36818 #define HAVE_FINITEL 1
36819 _ACEOF
36820
36821 fi
36822 done
36823
36824 else
36825
36826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
36827 $as_echo_n "checking for _finitel declaration... " >&6; }
36828 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
36829 if ${glibcxx_cv_func__finitel_use+:} false; then :
36830 $as_echo_n "(cached) " >&6
36831 else
36832
36833
36834 ac_ext=cpp
36835 ac_cpp='$CXXCPP $CPPFLAGS'
36836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36839
36840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36841 /* end confdefs.h. */
36842 #include <math.h>
36843 #ifdef HAVE_IEEEFP_H
36844 #include <ieeefp.h>
36845 #endif
36846
36847 int
36848 main ()
36849 {
36850 _finitel(0);
36851 ;
36852 return 0;
36853 }
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func__finitel_use=yes
36857 else
36858 glibcxx_cv_func__finitel_use=no
36859 fi
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868 fi
36869
36870 fi
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
36872 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
36873
36874 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
36875 for ac_func in _finitel
36876 do :
36877 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
36878 if test "x$ac_cv_func__finitel" = xyes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE__FINITEL 1
36881 _ACEOF
36882
36883 fi
36884 done
36885
36886 fi
36887 fi
36888
36889
36890
36891
36892 LIBS="$ac_save_LIBS"
36893 CXXFLAGS="$ac_save_CXXFLAGS"
36894
36895
36896 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36897 ac_save_CXXFLAGS="$CXXFLAGS"
36898 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36899
36900
36901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
36902 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
36903 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
36904 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
36905 $as_echo_n "(cached) " >&6
36906 else
36907
36908
36909 ac_ext=cpp
36910 ac_cpp='$CXXCPP $CPPFLAGS'
36911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36914
36915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36916 /* end confdefs.h. */
36917 #include <stdlib.h>
36918 int
36919 main ()
36920 {
36921 at_quick_exit(0);
36922 ;
36923 return 0;
36924 }
36925 _ACEOF
36926 if ac_fn_cxx_try_compile "$LINENO"; then :
36927 glibcxx_cv_func_at_quick_exit_use=yes
36928 else
36929 glibcxx_cv_func_at_quick_exit_use=no
36930 fi
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937
36938
36939 fi
36940
36941 fi
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
36943 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
36944 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
36945 for ac_func in at_quick_exit
36946 do :
36947 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
36948 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
36949 cat >>confdefs.h <<_ACEOF
36950 #define HAVE_AT_QUICK_EXIT 1
36951 _ACEOF
36952
36953 fi
36954 done
36955
36956 fi
36957
36958
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
36960 $as_echo_n "checking for quick_exit declaration... " >&6; }
36961 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
36962 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
36963 $as_echo_n "(cached) " >&6
36964 else
36965
36966
36967 ac_ext=cpp
36968 ac_cpp='$CXXCPP $CPPFLAGS'
36969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36972
36973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36974 /* end confdefs.h. */
36975 #include <stdlib.h>
36976 int
36977 main ()
36978 {
36979 quick_exit(0);
36980 ;
36981 return 0;
36982 }
36983 _ACEOF
36984 if ac_fn_cxx_try_compile "$LINENO"; then :
36985 glibcxx_cv_func_quick_exit_use=yes
36986 else
36987 glibcxx_cv_func_quick_exit_use=no
36988 fi
36989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36990 ac_ext=c
36991 ac_cpp='$CPP $CPPFLAGS'
36992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36995
36996
36997 fi
36998
36999 fi
37000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
37001 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
37002 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
37003 for ac_func in quick_exit
37004 do :
37005 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
37006 if test "x$ac_cv_func_quick_exit" = xyes; then :
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE_QUICK_EXIT 1
37009 _ACEOF
37010
37011 fi
37012 done
37013
37014 fi
37015
37016
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37018 $as_echo_n "checking for strtold declaration... " >&6; }
37019 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37020 if ${glibcxx_cv_func_strtold_use+:} false; then :
37021 $as_echo_n "(cached) " >&6
37022 else
37023
37024
37025 ac_ext=cpp
37026 ac_cpp='$CXXCPP $CPPFLAGS'
37027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37030
37031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032 /* end confdefs.h. */
37033 #include <stdlib.h>
37034 int
37035 main ()
37036 {
37037 strtold(0, 0);
37038 ;
37039 return 0;
37040 }
37041 _ACEOF
37042 if ac_fn_cxx_try_compile "$LINENO"; then :
37043 glibcxx_cv_func_strtold_use=yes
37044 else
37045 glibcxx_cv_func_strtold_use=no
37046 fi
37047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048 ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37053
37054
37055 fi
37056
37057 fi
37058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37059 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37060 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37061 for ac_func in strtold
37062 do :
37063 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37064 if test "x$ac_cv_func_strtold" = xyes; then :
37065 cat >>confdefs.h <<_ACEOF
37066 #define HAVE_STRTOLD 1
37067 _ACEOF
37068
37069 fi
37070 done
37071
37072 fi
37073
37074
37075
37076
37077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37078 $as_echo_n "checking for strtof declaration... " >&6; }
37079 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37080 if ${glibcxx_cv_func_strtof_use+:} false; then :
37081 $as_echo_n "(cached) " >&6
37082 else
37083
37084
37085 ac_ext=cpp
37086 ac_cpp='$CXXCPP $CPPFLAGS'
37087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37090
37091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37092 /* end confdefs.h. */
37093 #include <stdlib.h>
37094 int
37095 main ()
37096 {
37097 strtof(0, 0);
37098 ;
37099 return 0;
37100 }
37101 _ACEOF
37102 if ac_fn_cxx_try_compile "$LINENO"; then :
37103 glibcxx_cv_func_strtof_use=yes
37104 else
37105 glibcxx_cv_func_strtof_use=no
37106 fi
37107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108 ac_ext=c
37109 ac_cpp='$CPP $CPPFLAGS'
37110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37113
37114
37115 fi
37116
37117 fi
37118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37119 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37120 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37121 for ac_func in strtof
37122 do :
37123 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37124 if test "x$ac_cv_func_strtof" = xyes; then :
37125 cat >>confdefs.h <<_ACEOF
37126 #define HAVE_STRTOF 1
37127 _ACEOF
37128
37129 fi
37130 done
37131
37132 fi
37133
37134
37135
37136
37137 CXXFLAGS="$ac_save_CXXFLAGS"
37138
37139
37140 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
37141
37142 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
37143
37144 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
37145
37146 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
37147
37148
37149 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
37150
37151 $as_echo "#define HAVE_MODF 1" >>confdefs.h
37152
37153 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
37154
37155 ;;
37156
37157 *-aix*)
37158
37159 # If we're not using GNU ld, then there's no point in even trying these
37160 # tests. Check for that first. We should have already tested for gld
37161 # by now (in libtool), but require it now just to be safe...
37162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
37163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
37164
37165
37166
37167 # The name set by libtool depends on the version of libtool. Shame on us
37168 # for depending on an impl detail, but c'est la vie. Older versions used
37169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
37170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
37171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
37172 # set (hence we're using an older libtool), then set it.
37173 if test x${with_gnu_ld+set} != xset; then
37174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
37175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
37176 with_gnu_ld=no
37177 else
37178 with_gnu_ld=$ac_cv_prog_gnu_ld
37179 fi
37180 fi
37181
37182 # Start by getting the version number. I think the libtool test already
37183 # does some of this, but throws away the result.
37184 glibcxx_ld_is_gold=no
37185 glibcxx_ld_is_mold=no
37186 if test x"$with_gnu_ld" = x"yes"; then
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
37188 $as_echo_n "checking for ld version... " >&6; }
37189
37190 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
37191 glibcxx_ld_is_gold=yes
37192 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
37193 glibcxx_ld_is_mold=yes
37194 fi
37195 ldver=`$LD --version 2>/dev/null |
37196 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
37197
37198 glibcxx_gnu_ld_version=`echo $ldver | \
37199 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
37200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
37201 $as_echo "$glibcxx_gnu_ld_version" >&6; }
37202 fi
37203
37204 # Set --gc-sections.
37205 glibcxx_have_gc_sections=no
37206 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
37207 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
37208 glibcxx_have_gc_sections=yes
37209 fi
37210 else
37211 glibcxx_gcsections_min_ld=21602
37212 if test x"$with_gnu_ld" = x"yes" &&
37213 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
37214 glibcxx_have_gc_sections=yes
37215 fi
37216 fi
37217 if test "$glibcxx_have_gc_sections" = "yes"; then
37218 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
37219 # NB: This flag only works reliably after 2.16.1. Configure tests
37220 # for this are difficult, so hard wire a value that should work.
37221
37222 ac_test_CFLAGS="${CFLAGS+set}"
37223 ac_save_CFLAGS="$CFLAGS"
37224 CFLAGS='-Wl,--gc-sections'
37225
37226 # Check for -Wl,--gc-sections
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
37228 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
37229 if test x$gcc_no_link = xyes; then
37230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37231 fi
37232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37233 /* end confdefs.h. */
37234 int one(void) { return 1; }
37235 int two(void) { return 2; }
37236
37237 int
37238 main ()
37239 {
37240 two();
37241 ;
37242 return 0;
37243 }
37244 _ACEOF
37245 if ac_fn_c_try_link "$LINENO"; then :
37246 ac_gcsections=yes
37247 else
37248 ac_gcsections=no
37249 fi
37250 rm -f core conftest.err conftest.$ac_objext \
37251 conftest$ac_exeext conftest.$ac_ext
37252 if test "$ac_gcsections" = "yes"; then
37253 rm -f conftest.c
37254 touch conftest.c
37255 if $CC -c conftest.c; then
37256 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
37257 grep "Warning: gc-sections option ignored" > /dev/null; then
37258 ac_gcsections=no
37259 fi
37260 fi
37261 rm -f conftest.c conftest.o conftest
37262 fi
37263 if test "$ac_gcsections" = "yes"; then
37264 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
37265 fi
37266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
37267 $as_echo "$ac_gcsections" >&6; }
37268
37269 if test "$ac_test_CFLAGS" = set; then
37270 CFLAGS="$ac_save_CFLAGS"
37271 else
37272 # this is the suspicious part
37273 CFLAGS=''
37274 fi
37275 fi
37276
37277 # Set -z,relro.
37278 # Note this is only for shared objects.
37279 ac_ld_relro=no
37280 if test x"$with_gnu_ld" = x"yes"; then
37281 # cygwin and mingw uses PE, which has no ELF relro support,
37282 # multi target ld may confuse configure machinery
37283 case "$host" in
37284 *-*-cygwin*)
37285 ;;
37286 *-*-mingw*)
37287 ;;
37288 *)
37289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
37290 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
37291 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
37292 if test -n "$cxx_z_relo"; then
37293 OPT_LDFLAGS="-Wl,-z,relro"
37294 ac_ld_relro=yes
37295 fi
37296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
37297 $as_echo "$ac_ld_relro" >&6; }
37298 esac
37299 fi
37300
37301 # Set linker optimization flags.
37302 if test x"$with_gnu_ld" = x"yes"; then
37303 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
37304 fi
37305
37306
37307
37308
37309
37310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37311 ac_save_CXXFLAGS="$CXXFLAGS"
37312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37313
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
37315 $as_echo_n "checking for sin in -lm... " >&6; }
37316 if ${ac_cv_lib_m_sin+:} false; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37319 ac_check_lib_save_LIBS=$LIBS
37320 LIBS="-lm $LIBS"
37321 if test x$gcc_no_link = xyes; then
37322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37323 fi
37324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37325 /* end confdefs.h. */
37326
37327 /* Override any GCC internal prototype to avoid an error.
37328 Use char because int might match the return type of a GCC
37329 builtin and then its argument prototype would still apply. */
37330 #ifdef __cplusplus
37331 extern "C"
37332 #endif
37333 char sin ();
37334 int
37335 main ()
37336 {
37337 return sin ();
37338 ;
37339 return 0;
37340 }
37341 _ACEOF
37342 if ac_fn_c_try_link "$LINENO"; then :
37343 ac_cv_lib_m_sin=yes
37344 else
37345 ac_cv_lib_m_sin=no
37346 fi
37347 rm -f core conftest.err conftest.$ac_objext \
37348 conftest$ac_exeext conftest.$ac_ext
37349 LIBS=$ac_check_lib_save_LIBS
37350 fi
37351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
37352 $as_echo "$ac_cv_lib_m_sin" >&6; }
37353 if test "x$ac_cv_lib_m_sin" = xyes; then :
37354 libm="-lm"
37355 fi
37356
37357 ac_save_LIBS="$LIBS"
37358 LIBS="$LIBS $libm"
37359
37360
37361
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
37363 $as_echo_n "checking for isinf declaration... " >&6; }
37364 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
37365 if ${glibcxx_cv_func_isinf_use+:} false; then :
37366 $as_echo_n "(cached) " >&6
37367 else
37368
37369
37370 ac_ext=cpp
37371 ac_cpp='$CXXCPP $CPPFLAGS'
37372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37375
37376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37377 /* end confdefs.h. */
37378 #include <math.h>
37379 #ifdef HAVE_IEEEFP_H
37380 #include <ieeefp.h>
37381 #endif
37382
37383 int
37384 main ()
37385 {
37386 isinf(0);
37387 ;
37388 return 0;
37389 }
37390 _ACEOF
37391 if ac_fn_cxx_try_compile "$LINENO"; then :
37392 glibcxx_cv_func_isinf_use=yes
37393 else
37394 glibcxx_cv_func_isinf_use=no
37395 fi
37396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37397 ac_ext=c
37398 ac_cpp='$CPP $CPPFLAGS'
37399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37402
37403
37404 fi
37405
37406 fi
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
37408 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
37409
37410 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
37411 for ac_func in isinf
37412 do :
37413 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
37414 if test "x$ac_cv_func_isinf" = xyes; then :
37415 cat >>confdefs.h <<_ACEOF
37416 #define HAVE_ISINF 1
37417 _ACEOF
37418
37419 fi
37420 done
37421
37422 else
37423
37424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
37425 $as_echo_n "checking for _isinf declaration... " >&6; }
37426 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
37427 if ${glibcxx_cv_func__isinf_use+:} false; then :
37428 $as_echo_n "(cached) " >&6
37429 else
37430
37431
37432 ac_ext=cpp
37433 ac_cpp='$CXXCPP $CPPFLAGS'
37434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37437
37438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439 /* end confdefs.h. */
37440 #include <math.h>
37441 #ifdef HAVE_IEEEFP_H
37442 #include <ieeefp.h>
37443 #endif
37444
37445 int
37446 main ()
37447 {
37448 _isinf(0);
37449 ;
37450 return 0;
37451 }
37452 _ACEOF
37453 if ac_fn_cxx_try_compile "$LINENO"; then :
37454 glibcxx_cv_func__isinf_use=yes
37455 else
37456 glibcxx_cv_func__isinf_use=no
37457 fi
37458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37459 ac_ext=c
37460 ac_cpp='$CPP $CPPFLAGS'
37461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37464
37465
37466 fi
37467
37468 fi
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
37470 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
37471
37472 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
37473 for ac_func in _isinf
37474 do :
37475 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
37476 if test "x$ac_cv_func__isinf" = xyes; then :
37477 cat >>confdefs.h <<_ACEOF
37478 #define HAVE__ISINF 1
37479 _ACEOF
37480
37481 fi
37482 done
37483
37484 fi
37485 fi
37486
37487
37488
37489
37490
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
37492 $as_echo_n "checking for isnan declaration... " >&6; }
37493 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
37494 if ${glibcxx_cv_func_isnan_use+:} false; then :
37495 $as_echo_n "(cached) " >&6
37496 else
37497
37498
37499 ac_ext=cpp
37500 ac_cpp='$CXXCPP $CPPFLAGS'
37501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37504
37505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 /* end confdefs.h. */
37507 #include <math.h>
37508 #ifdef HAVE_IEEEFP_H
37509 #include <ieeefp.h>
37510 #endif
37511
37512 int
37513 main ()
37514 {
37515 isnan(0);
37516 ;
37517 return 0;
37518 }
37519 _ACEOF
37520 if ac_fn_cxx_try_compile "$LINENO"; then :
37521 glibcxx_cv_func_isnan_use=yes
37522 else
37523 glibcxx_cv_func_isnan_use=no
37524 fi
37525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37526 ac_ext=c
37527 ac_cpp='$CPP $CPPFLAGS'
37528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37531
37532
37533 fi
37534
37535 fi
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
37537 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
37538
37539 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
37540 for ac_func in isnan
37541 do :
37542 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
37543 if test "x$ac_cv_func_isnan" = xyes; then :
37544 cat >>confdefs.h <<_ACEOF
37545 #define HAVE_ISNAN 1
37546 _ACEOF
37547
37548 fi
37549 done
37550
37551 else
37552
37553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
37554 $as_echo_n "checking for _isnan declaration... " >&6; }
37555 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
37556 if ${glibcxx_cv_func__isnan_use+:} false; then :
37557 $as_echo_n "(cached) " >&6
37558 else
37559
37560
37561 ac_ext=cpp
37562 ac_cpp='$CXXCPP $CPPFLAGS'
37563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37566
37567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37568 /* end confdefs.h. */
37569 #include <math.h>
37570 #ifdef HAVE_IEEEFP_H
37571 #include <ieeefp.h>
37572 #endif
37573
37574 int
37575 main ()
37576 {
37577 _isnan(0);
37578 ;
37579 return 0;
37580 }
37581 _ACEOF
37582 if ac_fn_cxx_try_compile "$LINENO"; then :
37583 glibcxx_cv_func__isnan_use=yes
37584 else
37585 glibcxx_cv_func__isnan_use=no
37586 fi
37587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37588 ac_ext=c
37589 ac_cpp='$CPP $CPPFLAGS'
37590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37593
37594
37595 fi
37596
37597 fi
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
37599 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
37600
37601 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
37602 for ac_func in _isnan
37603 do :
37604 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
37605 if test "x$ac_cv_func__isnan" = xyes; then :
37606 cat >>confdefs.h <<_ACEOF
37607 #define HAVE__ISNAN 1
37608 _ACEOF
37609
37610 fi
37611 done
37612
37613 fi
37614 fi
37615
37616
37617
37618
37619
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
37621 $as_echo_n "checking for finite declaration... " >&6; }
37622 if test x${glibcxx_cv_func_finite_use+set} != xset; then
37623 if ${glibcxx_cv_func_finite_use+:} false; then :
37624 $as_echo_n "(cached) " >&6
37625 else
37626
37627
37628 ac_ext=cpp
37629 ac_cpp='$CXXCPP $CPPFLAGS'
37630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37633
37634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37635 /* end confdefs.h. */
37636 #include <math.h>
37637 #ifdef HAVE_IEEEFP_H
37638 #include <ieeefp.h>
37639 #endif
37640
37641 int
37642 main ()
37643 {
37644 finite(0);
37645 ;
37646 return 0;
37647 }
37648 _ACEOF
37649 if ac_fn_cxx_try_compile "$LINENO"; then :
37650 glibcxx_cv_func_finite_use=yes
37651 else
37652 glibcxx_cv_func_finite_use=no
37653 fi
37654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37655 ac_ext=c
37656 ac_cpp='$CPP $CPPFLAGS'
37657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37660
37661
37662 fi
37663
37664 fi
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
37666 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
37667
37668 if test x$glibcxx_cv_func_finite_use = x"yes"; then
37669 for ac_func in finite
37670 do :
37671 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
37672 if test "x$ac_cv_func_finite" = xyes; then :
37673 cat >>confdefs.h <<_ACEOF
37674 #define HAVE_FINITE 1
37675 _ACEOF
37676
37677 fi
37678 done
37679
37680 else
37681
37682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
37683 $as_echo_n "checking for _finite declaration... " >&6; }
37684 if test x${glibcxx_cv_func__finite_use+set} != xset; then
37685 if ${glibcxx_cv_func__finite_use+:} false; then :
37686 $as_echo_n "(cached) " >&6
37687 else
37688
37689
37690 ac_ext=cpp
37691 ac_cpp='$CXXCPP $CPPFLAGS'
37692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37695
37696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37697 /* end confdefs.h. */
37698 #include <math.h>
37699 #ifdef HAVE_IEEEFP_H
37700 #include <ieeefp.h>
37701 #endif
37702
37703 int
37704 main ()
37705 {
37706 _finite(0);
37707 ;
37708 return 0;
37709 }
37710 _ACEOF
37711 if ac_fn_cxx_try_compile "$LINENO"; then :
37712 glibcxx_cv_func__finite_use=yes
37713 else
37714 glibcxx_cv_func__finite_use=no
37715 fi
37716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37717 ac_ext=c
37718 ac_cpp='$CPP $CPPFLAGS'
37719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37722
37723
37724 fi
37725
37726 fi
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
37728 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
37729
37730 if test x$glibcxx_cv_func__finite_use = x"yes"; then
37731 for ac_func in _finite
37732 do :
37733 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
37734 if test "x$ac_cv_func__finite" = xyes; then :
37735 cat >>confdefs.h <<_ACEOF
37736 #define HAVE__FINITE 1
37737 _ACEOF
37738
37739 fi
37740 done
37741
37742 fi
37743 fi
37744
37745
37746
37747
37748
37749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
37750 $as_echo_n "checking for sincos declaration... " >&6; }
37751 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
37752 if ${glibcxx_cv_func_sincos_use+:} false; then :
37753 $as_echo_n "(cached) " >&6
37754 else
37755
37756
37757 ac_ext=cpp
37758 ac_cpp='$CXXCPP $CPPFLAGS'
37759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37762
37763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37764 /* end confdefs.h. */
37765 #include <math.h>
37766 int
37767 main ()
37768 {
37769 sincos(0, 0, 0);
37770 ;
37771 return 0;
37772 }
37773 _ACEOF
37774 if ac_fn_cxx_try_compile "$LINENO"; then :
37775 glibcxx_cv_func_sincos_use=yes
37776 else
37777 glibcxx_cv_func_sincos_use=no
37778 fi
37779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37780 ac_ext=c
37781 ac_cpp='$CPP $CPPFLAGS'
37782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37785
37786
37787 fi
37788
37789 fi
37790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
37791 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
37792
37793 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
37794 for ac_func in sincos
37795 do :
37796 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
37797 if test "x$ac_cv_func_sincos" = xyes; then :
37798 cat >>confdefs.h <<_ACEOF
37799 #define HAVE_SINCOS 1
37800 _ACEOF
37801
37802 fi
37803 done
37804
37805 else
37806
37807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
37808 $as_echo_n "checking for _sincos declaration... " >&6; }
37809 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
37810 if ${glibcxx_cv_func__sincos_use+:} false; then :
37811 $as_echo_n "(cached) " >&6
37812 else
37813
37814
37815 ac_ext=cpp
37816 ac_cpp='$CXXCPP $CPPFLAGS'
37817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37820
37821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37822 /* end confdefs.h. */
37823 #include <math.h>
37824 int
37825 main ()
37826 {
37827 _sincos(0, 0, 0);
37828 ;
37829 return 0;
37830 }
37831 _ACEOF
37832 if ac_fn_cxx_try_compile "$LINENO"; then :
37833 glibcxx_cv_func__sincos_use=yes
37834 else
37835 glibcxx_cv_func__sincos_use=no
37836 fi
37837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37838 ac_ext=c
37839 ac_cpp='$CPP $CPPFLAGS'
37840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37843
37844
37845 fi
37846
37847 fi
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
37849 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
37850
37851 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
37852 for ac_func in _sincos
37853 do :
37854 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
37855 if test "x$ac_cv_func__sincos" = xyes; then :
37856 cat >>confdefs.h <<_ACEOF
37857 #define HAVE__SINCOS 1
37858 _ACEOF
37859
37860 fi
37861 done
37862
37863 fi
37864 fi
37865
37866
37867
37868
37869
37870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
37871 $as_echo_n "checking for fpclass declaration... " >&6; }
37872 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
37873 if ${glibcxx_cv_func_fpclass_use+:} false; then :
37874 $as_echo_n "(cached) " >&6
37875 else
37876
37877
37878 ac_ext=cpp
37879 ac_cpp='$CXXCPP $CPPFLAGS'
37880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37883
37884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37885 /* end confdefs.h. */
37886 #include <math.h>
37887 #ifdef HAVE_IEEEFP_H
37888 #include <ieeefp.h>
37889 #endif
37890
37891 int
37892 main ()
37893 {
37894 fpclass(0);
37895 ;
37896 return 0;
37897 }
37898 _ACEOF
37899 if ac_fn_cxx_try_compile "$LINENO"; then :
37900 glibcxx_cv_func_fpclass_use=yes
37901 else
37902 glibcxx_cv_func_fpclass_use=no
37903 fi
37904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37905 ac_ext=c
37906 ac_cpp='$CPP $CPPFLAGS'
37907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37910
37911
37912 fi
37913
37914 fi
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
37916 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
37917
37918 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
37919 for ac_func in fpclass
37920 do :
37921 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
37922 if test "x$ac_cv_func_fpclass" = xyes; then :
37923 cat >>confdefs.h <<_ACEOF
37924 #define HAVE_FPCLASS 1
37925 _ACEOF
37926
37927 fi
37928 done
37929
37930 else
37931
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
37933 $as_echo_n "checking for _fpclass declaration... " >&6; }
37934 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
37935 if ${glibcxx_cv_func__fpclass_use+:} false; then :
37936 $as_echo_n "(cached) " >&6
37937 else
37938
37939
37940 ac_ext=cpp
37941 ac_cpp='$CXXCPP $CPPFLAGS'
37942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37945
37946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37947 /* end confdefs.h. */
37948 #include <math.h>
37949 #ifdef HAVE_IEEEFP_H
37950 #include <ieeefp.h>
37951 #endif
37952
37953 int
37954 main ()
37955 {
37956 _fpclass(0);
37957 ;
37958 return 0;
37959 }
37960 _ACEOF
37961 if ac_fn_cxx_try_compile "$LINENO"; then :
37962 glibcxx_cv_func__fpclass_use=yes
37963 else
37964 glibcxx_cv_func__fpclass_use=no
37965 fi
37966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37967 ac_ext=c
37968 ac_cpp='$CPP $CPPFLAGS'
37969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37972
37973
37974 fi
37975
37976 fi
37977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
37978 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
37979
37980 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
37981 for ac_func in _fpclass
37982 do :
37983 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
37984 if test "x$ac_cv_func__fpclass" = xyes; then :
37985 cat >>confdefs.h <<_ACEOF
37986 #define HAVE__FPCLASS 1
37987 _ACEOF
37988
37989 fi
37990 done
37991
37992 fi
37993 fi
37994
37995
37996
37997
37998
37999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38000 $as_echo_n "checking for qfpclass declaration... " >&6; }
38001 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38002 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
38003 $as_echo_n "(cached) " >&6
38004 else
38005
38006
38007 ac_ext=cpp
38008 ac_cpp='$CXXCPP $CPPFLAGS'
38009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38012
38013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38014 /* end confdefs.h. */
38015 #include <math.h>
38016 #ifdef HAVE_IEEEFP_H
38017 #include <ieeefp.h>
38018 #endif
38019
38020 int
38021 main ()
38022 {
38023 qfpclass(0);
38024 ;
38025 return 0;
38026 }
38027 _ACEOF
38028 if ac_fn_cxx_try_compile "$LINENO"; then :
38029 glibcxx_cv_func_qfpclass_use=yes
38030 else
38031 glibcxx_cv_func_qfpclass_use=no
38032 fi
38033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38034 ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38039
38040
38041 fi
38042
38043 fi
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38045 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38046
38047 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38048 for ac_func in qfpclass
38049 do :
38050 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38051 if test "x$ac_cv_func_qfpclass" = xyes; then :
38052 cat >>confdefs.h <<_ACEOF
38053 #define HAVE_QFPCLASS 1
38054 _ACEOF
38055
38056 fi
38057 done
38058
38059 else
38060
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38062 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38063 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38064 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
38065 $as_echo_n "(cached) " >&6
38066 else
38067
38068
38069 ac_ext=cpp
38070 ac_cpp='$CXXCPP $CPPFLAGS'
38071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38074
38075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38076 /* end confdefs.h. */
38077 #include <math.h>
38078 #ifdef HAVE_IEEEFP_H
38079 #include <ieeefp.h>
38080 #endif
38081
38082 int
38083 main ()
38084 {
38085 _qfpclass(0);
38086 ;
38087 return 0;
38088 }
38089 _ACEOF
38090 if ac_fn_cxx_try_compile "$LINENO"; then :
38091 glibcxx_cv_func__qfpclass_use=yes
38092 else
38093 glibcxx_cv_func__qfpclass_use=no
38094 fi
38095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38096 ac_ext=c
38097 ac_cpp='$CPP $CPPFLAGS'
38098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38101
38102
38103 fi
38104
38105 fi
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38107 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38108
38109 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38110 for ac_func in _qfpclass
38111 do :
38112 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38113 if test "x$ac_cv_func__qfpclass" = xyes; then :
38114 cat >>confdefs.h <<_ACEOF
38115 #define HAVE__QFPCLASS 1
38116 _ACEOF
38117
38118 fi
38119 done
38120
38121 fi
38122 fi
38123
38124
38125
38126
38127
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38129 $as_echo_n "checking for hypot declaration... " >&6; }
38130 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38131 if ${glibcxx_cv_func_hypot_use+:} false; then :
38132 $as_echo_n "(cached) " >&6
38133 else
38134
38135
38136 ac_ext=cpp
38137 ac_cpp='$CXXCPP $CPPFLAGS'
38138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38141
38142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38143 /* end confdefs.h. */
38144 #include <math.h>
38145 int
38146 main ()
38147 {
38148 hypot(0, 0);
38149 ;
38150 return 0;
38151 }
38152 _ACEOF
38153 if ac_fn_cxx_try_compile "$LINENO"; then :
38154 glibcxx_cv_func_hypot_use=yes
38155 else
38156 glibcxx_cv_func_hypot_use=no
38157 fi
38158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38159 ac_ext=c
38160 ac_cpp='$CPP $CPPFLAGS'
38161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38164
38165
38166 fi
38167
38168 fi
38169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
38170 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
38171
38172 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
38173 for ac_func in hypot
38174 do :
38175 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
38176 if test "x$ac_cv_func_hypot" = xyes; then :
38177 cat >>confdefs.h <<_ACEOF
38178 #define HAVE_HYPOT 1
38179 _ACEOF
38180
38181 fi
38182 done
38183
38184 else
38185
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
38187 $as_echo_n "checking for _hypot declaration... " >&6; }
38188 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
38189 if ${glibcxx_cv_func__hypot_use+:} false; then :
38190 $as_echo_n "(cached) " >&6
38191 else
38192
38193
38194 ac_ext=cpp
38195 ac_cpp='$CXXCPP $CPPFLAGS'
38196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38199
38200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38201 /* end confdefs.h. */
38202 #include <math.h>
38203 int
38204 main ()
38205 {
38206 _hypot(0, 0);
38207 ;
38208 return 0;
38209 }
38210 _ACEOF
38211 if ac_fn_cxx_try_compile "$LINENO"; then :
38212 glibcxx_cv_func__hypot_use=yes
38213 else
38214 glibcxx_cv_func__hypot_use=no
38215 fi
38216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38217 ac_ext=c
38218 ac_cpp='$CPP $CPPFLAGS'
38219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38222
38223
38224 fi
38225
38226 fi
38227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
38228 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
38229
38230 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
38231 for ac_func in _hypot
38232 do :
38233 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
38234 if test "x$ac_cv_func__hypot" = xyes; then :
38235 cat >>confdefs.h <<_ACEOF
38236 #define HAVE__HYPOT 1
38237 _ACEOF
38238
38239 fi
38240 done
38241
38242 fi
38243 fi
38244
38245
38246
38247
38248
38249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
38250 $as_echo_n "checking for float trig functions... " >&6; }
38251 if ${glibcxx_cv_func_float_trig_use+:} false; then :
38252 $as_echo_n "(cached) " >&6
38253 else
38254
38255
38256 ac_ext=cpp
38257 ac_cpp='$CXXCPP $CPPFLAGS'
38258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38261
38262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38263 /* end confdefs.h. */
38264 #include <math.h>
38265 int
38266 main ()
38267 {
38268 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
38269 ;
38270 return 0;
38271 }
38272 _ACEOF
38273 if ac_fn_cxx_try_compile "$LINENO"; then :
38274 glibcxx_cv_func_float_trig_use=yes
38275 else
38276 glibcxx_cv_func_float_trig_use=no
38277 fi
38278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38279 ac_ext=c
38280 ac_cpp='$CPP $CPPFLAGS'
38281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38284
38285 fi
38286
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
38288 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
38289 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
38290 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
38291 do :
38292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38295 cat >>confdefs.h <<_ACEOF
38296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38297 _ACEOF
38298
38299 fi
38300 done
38301
38302 else
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
38304 $as_echo_n "checking for _float trig functions... " >&6; }
38305 if ${glibcxx_cv_func__float_trig_use+:} false; then :
38306 $as_echo_n "(cached) " >&6
38307 else
38308
38309
38310 ac_ext=cpp
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315
38316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38317 /* end confdefs.h. */
38318 #include <math.h>
38319 int
38320 main ()
38321 {
38322 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 if ac_fn_cxx_try_compile "$LINENO"; then :
38328 glibcxx_cv_func__float_trig_use=yes
38329 else
38330 glibcxx_cv_func__float_trig_use=no
38331 fi
38332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38333 ac_ext=c
38334 ac_cpp='$CPP $CPPFLAGS'
38335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38338
38339 fi
38340
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
38342 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
38343 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
38344 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
38345 do :
38346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38349 cat >>confdefs.h <<_ACEOF
38350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38351 _ACEOF
38352
38353 fi
38354 done
38355
38356 fi
38357 fi
38358
38359
38360
38361
38362
38363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
38364 $as_echo_n "checking for float round functions... " >&6; }
38365 if ${glibcxx_cv_func_float_round_use+:} false; then :
38366 $as_echo_n "(cached) " >&6
38367 else
38368
38369
38370 ac_ext=cpp
38371 ac_cpp='$CXXCPP $CPPFLAGS'
38372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38375
38376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38377 /* end confdefs.h. */
38378 #include <math.h>
38379 int
38380 main ()
38381 {
38382 ceilf (0); floorf (0);
38383 ;
38384 return 0;
38385 }
38386 _ACEOF
38387 if ac_fn_cxx_try_compile "$LINENO"; then :
38388 glibcxx_cv_func_float_round_use=yes
38389 else
38390 glibcxx_cv_func_float_round_use=no
38391 fi
38392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38393 ac_ext=c
38394 ac_cpp='$CPP $CPPFLAGS'
38395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38398
38399 fi
38400
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
38402 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
38403 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
38404 for ac_func in ceilf floorf
38405 do :
38406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38409 cat >>confdefs.h <<_ACEOF
38410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38411 _ACEOF
38412
38413 fi
38414 done
38415
38416 else
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
38418 $as_echo_n "checking for _float round functions... " >&6; }
38419 if ${glibcxx_cv_func__float_round_use+:} false; then :
38420 $as_echo_n "(cached) " >&6
38421 else
38422
38423
38424 ac_ext=cpp
38425 ac_cpp='$CXXCPP $CPPFLAGS'
38426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38429
38430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38431 /* end confdefs.h. */
38432 #include <math.h>
38433 int
38434 main ()
38435 {
38436 _ceilf (0); _floorf (0);
38437 ;
38438 return 0;
38439 }
38440 _ACEOF
38441 if ac_fn_cxx_try_compile "$LINENO"; then :
38442 glibcxx_cv_func__float_round_use=yes
38443 else
38444 glibcxx_cv_func__float_round_use=no
38445 fi
38446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38447 ac_ext=c
38448 ac_cpp='$CPP $CPPFLAGS'
38449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38452
38453 fi
38454
38455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
38456 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
38457 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
38458 for ac_func in _ceilf _floorf
38459 do :
38460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38463 cat >>confdefs.h <<_ACEOF
38464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38465 _ACEOF
38466
38467 fi
38468 done
38469
38470 fi
38471 fi
38472
38473
38474
38475
38476
38477
38478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
38479 $as_echo_n "checking for expf declaration... " >&6; }
38480 if test x${glibcxx_cv_func_expf_use+set} != xset; then
38481 if ${glibcxx_cv_func_expf_use+:} false; then :
38482 $as_echo_n "(cached) " >&6
38483 else
38484
38485
38486 ac_ext=cpp
38487 ac_cpp='$CXXCPP $CPPFLAGS'
38488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38491
38492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38493 /* end confdefs.h. */
38494 #include <math.h>
38495 #ifdef HAVE_IEEEFP_H
38496 #include <ieeefp.h>
38497 #endif
38498
38499 int
38500 main ()
38501 {
38502 expf(0);
38503 ;
38504 return 0;
38505 }
38506 _ACEOF
38507 if ac_fn_cxx_try_compile "$LINENO"; then :
38508 glibcxx_cv_func_expf_use=yes
38509 else
38510 glibcxx_cv_func_expf_use=no
38511 fi
38512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38513 ac_ext=c
38514 ac_cpp='$CPP $CPPFLAGS'
38515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38518
38519
38520 fi
38521
38522 fi
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
38524 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
38525
38526 if test x$glibcxx_cv_func_expf_use = x"yes"; then
38527 for ac_func in expf
38528 do :
38529 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
38530 if test "x$ac_cv_func_expf" = xyes; then :
38531 cat >>confdefs.h <<_ACEOF
38532 #define HAVE_EXPF 1
38533 _ACEOF
38534
38535 fi
38536 done
38537
38538 else
38539
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
38541 $as_echo_n "checking for _expf declaration... " >&6; }
38542 if test x${glibcxx_cv_func__expf_use+set} != xset; then
38543 if ${glibcxx_cv_func__expf_use+:} false; then :
38544 $as_echo_n "(cached) " >&6
38545 else
38546
38547
38548 ac_ext=cpp
38549 ac_cpp='$CXXCPP $CPPFLAGS'
38550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38553
38554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38555 /* end confdefs.h. */
38556 #include <math.h>
38557 #ifdef HAVE_IEEEFP_H
38558 #include <ieeefp.h>
38559 #endif
38560
38561 int
38562 main ()
38563 {
38564 _expf(0);
38565 ;
38566 return 0;
38567 }
38568 _ACEOF
38569 if ac_fn_cxx_try_compile "$LINENO"; then :
38570 glibcxx_cv_func__expf_use=yes
38571 else
38572 glibcxx_cv_func__expf_use=no
38573 fi
38574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38575 ac_ext=c
38576 ac_cpp='$CPP $CPPFLAGS'
38577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38580
38581
38582 fi
38583
38584 fi
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
38586 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
38587
38588 if test x$glibcxx_cv_func__expf_use = x"yes"; then
38589 for ac_func in _expf
38590 do :
38591 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
38592 if test "x$ac_cv_func__expf" = xyes; then :
38593 cat >>confdefs.h <<_ACEOF
38594 #define HAVE__EXPF 1
38595 _ACEOF
38596
38597 fi
38598 done
38599
38600 fi
38601 fi
38602
38603
38604
38605
38606
38607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
38608 $as_echo_n "checking for isnanf declaration... " >&6; }
38609 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
38610 if ${glibcxx_cv_func_isnanf_use+:} false; then :
38611 $as_echo_n "(cached) " >&6
38612 else
38613
38614
38615 ac_ext=cpp
38616 ac_cpp='$CXXCPP $CPPFLAGS'
38617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38620
38621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38622 /* end confdefs.h. */
38623 #include <math.h>
38624 #ifdef HAVE_IEEEFP_H
38625 #include <ieeefp.h>
38626 #endif
38627
38628 int
38629 main ()
38630 {
38631 isnanf(0);
38632 ;
38633 return 0;
38634 }
38635 _ACEOF
38636 if ac_fn_cxx_try_compile "$LINENO"; then :
38637 glibcxx_cv_func_isnanf_use=yes
38638 else
38639 glibcxx_cv_func_isnanf_use=no
38640 fi
38641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38642 ac_ext=c
38643 ac_cpp='$CPP $CPPFLAGS'
38644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38647
38648
38649 fi
38650
38651 fi
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
38653 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
38654
38655 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
38656 for ac_func in isnanf
38657 do :
38658 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
38659 if test "x$ac_cv_func_isnanf" = xyes; then :
38660 cat >>confdefs.h <<_ACEOF
38661 #define HAVE_ISNANF 1
38662 _ACEOF
38663
38664 fi
38665 done
38666
38667 else
38668
38669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
38670 $as_echo_n "checking for _isnanf declaration... " >&6; }
38671 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
38672 if ${glibcxx_cv_func__isnanf_use+:} false; then :
38673 $as_echo_n "(cached) " >&6
38674 else
38675
38676
38677 ac_ext=cpp
38678 ac_cpp='$CXXCPP $CPPFLAGS'
38679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38682
38683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38684 /* end confdefs.h. */
38685 #include <math.h>
38686 #ifdef HAVE_IEEEFP_H
38687 #include <ieeefp.h>
38688 #endif
38689
38690 int
38691 main ()
38692 {
38693 _isnanf(0);
38694 ;
38695 return 0;
38696 }
38697 _ACEOF
38698 if ac_fn_cxx_try_compile "$LINENO"; then :
38699 glibcxx_cv_func__isnanf_use=yes
38700 else
38701 glibcxx_cv_func__isnanf_use=no
38702 fi
38703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38704 ac_ext=c
38705 ac_cpp='$CPP $CPPFLAGS'
38706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38709
38710
38711 fi
38712
38713 fi
38714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
38715 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
38716
38717 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
38718 for ac_func in _isnanf
38719 do :
38720 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
38721 if test "x$ac_cv_func__isnanf" = xyes; then :
38722 cat >>confdefs.h <<_ACEOF
38723 #define HAVE__ISNANF 1
38724 _ACEOF
38725
38726 fi
38727 done
38728
38729 fi
38730 fi
38731
38732
38733
38734
38735
38736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
38737 $as_echo_n "checking for isinff declaration... " >&6; }
38738 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
38739 if ${glibcxx_cv_func_isinff_use+:} false; then :
38740 $as_echo_n "(cached) " >&6
38741 else
38742
38743
38744 ac_ext=cpp
38745 ac_cpp='$CXXCPP $CPPFLAGS'
38746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38749
38750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38751 /* end confdefs.h. */
38752 #include <math.h>
38753 #ifdef HAVE_IEEEFP_H
38754 #include <ieeefp.h>
38755 #endif
38756
38757 int
38758 main ()
38759 {
38760 isinff(0);
38761 ;
38762 return 0;
38763 }
38764 _ACEOF
38765 if ac_fn_cxx_try_compile "$LINENO"; then :
38766 glibcxx_cv_func_isinff_use=yes
38767 else
38768 glibcxx_cv_func_isinff_use=no
38769 fi
38770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38771 ac_ext=c
38772 ac_cpp='$CPP $CPPFLAGS'
38773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38776
38777
38778 fi
38779
38780 fi
38781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
38782 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
38783
38784 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
38785 for ac_func in isinff
38786 do :
38787 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
38788 if test "x$ac_cv_func_isinff" = xyes; then :
38789 cat >>confdefs.h <<_ACEOF
38790 #define HAVE_ISINFF 1
38791 _ACEOF
38792
38793 fi
38794 done
38795
38796 else
38797
38798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
38799 $as_echo_n "checking for _isinff declaration... " >&6; }
38800 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
38801 if ${glibcxx_cv_func__isinff_use+:} false; then :
38802 $as_echo_n "(cached) " >&6
38803 else
38804
38805
38806 ac_ext=cpp
38807 ac_cpp='$CXXCPP $CPPFLAGS'
38808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38811
38812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38813 /* end confdefs.h. */
38814 #include <math.h>
38815 #ifdef HAVE_IEEEFP_H
38816 #include <ieeefp.h>
38817 #endif
38818
38819 int
38820 main ()
38821 {
38822 _isinff(0);
38823 ;
38824 return 0;
38825 }
38826 _ACEOF
38827 if ac_fn_cxx_try_compile "$LINENO"; then :
38828 glibcxx_cv_func__isinff_use=yes
38829 else
38830 glibcxx_cv_func__isinff_use=no
38831 fi
38832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38833 ac_ext=c
38834 ac_cpp='$CPP $CPPFLAGS'
38835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38838
38839
38840 fi
38841
38842 fi
38843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
38844 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
38845
38846 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
38847 for ac_func in _isinff
38848 do :
38849 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
38850 if test "x$ac_cv_func__isinff" = xyes; then :
38851 cat >>confdefs.h <<_ACEOF
38852 #define HAVE__ISINFF 1
38853 _ACEOF
38854
38855 fi
38856 done
38857
38858 fi
38859 fi
38860
38861
38862
38863
38864
38865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
38866 $as_echo_n "checking for atan2f declaration... " >&6; }
38867 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
38868 if ${glibcxx_cv_func_atan2f_use+:} false; then :
38869 $as_echo_n "(cached) " >&6
38870 else
38871
38872
38873 ac_ext=cpp
38874 ac_cpp='$CXXCPP $CPPFLAGS'
38875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38878
38879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38880 /* end confdefs.h. */
38881 #include <math.h>
38882 int
38883 main ()
38884 {
38885 atan2f(0, 0);
38886 ;
38887 return 0;
38888 }
38889 _ACEOF
38890 if ac_fn_cxx_try_compile "$LINENO"; then :
38891 glibcxx_cv_func_atan2f_use=yes
38892 else
38893 glibcxx_cv_func_atan2f_use=no
38894 fi
38895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38896 ac_ext=c
38897 ac_cpp='$CPP $CPPFLAGS'
38898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38901
38902
38903 fi
38904
38905 fi
38906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
38907 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
38908
38909 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38910 for ac_func in atan2f
38911 do :
38912 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
38913 if test "x$ac_cv_func_atan2f" = xyes; then :
38914 cat >>confdefs.h <<_ACEOF
38915 #define HAVE_ATAN2F 1
38916 _ACEOF
38917
38918 fi
38919 done
38920
38921 else
38922
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
38924 $as_echo_n "checking for _atan2f declaration... " >&6; }
38925 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38926 if ${glibcxx_cv_func__atan2f_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 _atan2f(0, 0);
38944 ;
38945 return 0;
38946 }
38947 _ACEOF
38948 if ac_fn_cxx_try_compile "$LINENO"; then :
38949 glibcxx_cv_func__atan2f_use=yes
38950 else
38951 glibcxx_cv_func__atan2f_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
38961 fi
38962
38963 fi
38964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
38965 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
38966
38967 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38968 for ac_func in _atan2f
38969 do :
38970 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
38971 if test "x$ac_cv_func__atan2f" = xyes; then :
38972 cat >>confdefs.h <<_ACEOF
38973 #define HAVE__ATAN2F 1
38974 _ACEOF
38975
38976 fi
38977 done
38978
38979 fi
38980 fi
38981
38982
38983
38984
38985
38986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
38987 $as_echo_n "checking for fabsf declaration... " >&6; }
38988 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38989 if ${glibcxx_cv_func_fabsf_use+:} false; then :
38990 $as_echo_n "(cached) " >&6
38991 else
38992
38993
38994 ac_ext=cpp
38995 ac_cpp='$CXXCPP $CPPFLAGS'
38996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38999
39000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39001 /* end confdefs.h. */
39002 #include <math.h>
39003 #ifdef HAVE_IEEEFP_H
39004 #include <ieeefp.h>
39005 #endif
39006
39007 int
39008 main ()
39009 {
39010 fabsf(0);
39011 ;
39012 return 0;
39013 }
39014 _ACEOF
39015 if ac_fn_cxx_try_compile "$LINENO"; then :
39016 glibcxx_cv_func_fabsf_use=yes
39017 else
39018 glibcxx_cv_func_fabsf_use=no
39019 fi
39020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39021 ac_ext=c
39022 ac_cpp='$CPP $CPPFLAGS'
39023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39026
39027
39028 fi
39029
39030 fi
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39032 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39033
39034 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39035 for ac_func in fabsf
39036 do :
39037 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39038 if test "x$ac_cv_func_fabsf" = xyes; then :
39039 cat >>confdefs.h <<_ACEOF
39040 #define HAVE_FABSF 1
39041 _ACEOF
39042
39043 fi
39044 done
39045
39046 else
39047
39048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39049 $as_echo_n "checking for _fabsf declaration... " >&6; }
39050 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39051 if ${glibcxx_cv_func__fabsf_use+:} false; then :
39052 $as_echo_n "(cached) " >&6
39053 else
39054
39055
39056 ac_ext=cpp
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39061
39062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39063 /* end confdefs.h. */
39064 #include <math.h>
39065 #ifdef HAVE_IEEEFP_H
39066 #include <ieeefp.h>
39067 #endif
39068
39069 int
39070 main ()
39071 {
39072 _fabsf(0);
39073 ;
39074 return 0;
39075 }
39076 _ACEOF
39077 if ac_fn_cxx_try_compile "$LINENO"; then :
39078 glibcxx_cv_func__fabsf_use=yes
39079 else
39080 glibcxx_cv_func__fabsf_use=no
39081 fi
39082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39083 ac_ext=c
39084 ac_cpp='$CPP $CPPFLAGS'
39085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39088
39089
39090 fi
39091
39092 fi
39093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39094 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39095
39096 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39097 for ac_func in _fabsf
39098 do :
39099 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39100 if test "x$ac_cv_func__fabsf" = xyes; then :
39101 cat >>confdefs.h <<_ACEOF
39102 #define HAVE__FABSF 1
39103 _ACEOF
39104
39105 fi
39106 done
39107
39108 fi
39109 fi
39110
39111
39112
39113
39114
39115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39116 $as_echo_n "checking for fmodf declaration... " >&6; }
39117 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39118 if ${glibcxx_cv_func_fmodf_use+:} false; then :
39119 $as_echo_n "(cached) " >&6
39120 else
39121
39122
39123 ac_ext=cpp
39124 ac_cpp='$CXXCPP $CPPFLAGS'
39125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39128
39129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39130 /* end confdefs.h. */
39131 #include <math.h>
39132 int
39133 main ()
39134 {
39135 fmodf(0, 0);
39136 ;
39137 return 0;
39138 }
39139 _ACEOF
39140 if ac_fn_cxx_try_compile "$LINENO"; then :
39141 glibcxx_cv_func_fmodf_use=yes
39142 else
39143 glibcxx_cv_func_fmodf_use=no
39144 fi
39145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39146 ac_ext=c
39147 ac_cpp='$CPP $CPPFLAGS'
39148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39151
39152
39153 fi
39154
39155 fi
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39157 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39158
39159 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
39160 for ac_func in fmodf
39161 do :
39162 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
39163 if test "x$ac_cv_func_fmodf" = xyes; then :
39164 cat >>confdefs.h <<_ACEOF
39165 #define HAVE_FMODF 1
39166 _ACEOF
39167
39168 fi
39169 done
39170
39171 else
39172
39173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
39174 $as_echo_n "checking for _fmodf declaration... " >&6; }
39175 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39176 if ${glibcxx_cv_func__fmodf_use+:} false; then :
39177 $as_echo_n "(cached) " >&6
39178 else
39179
39180
39181 ac_ext=cpp
39182 ac_cpp='$CXXCPP $CPPFLAGS'
39183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39186
39187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39188 /* end confdefs.h. */
39189 #include <math.h>
39190 int
39191 main ()
39192 {
39193 _fmodf(0, 0);
39194 ;
39195 return 0;
39196 }
39197 _ACEOF
39198 if ac_fn_cxx_try_compile "$LINENO"; then :
39199 glibcxx_cv_func__fmodf_use=yes
39200 else
39201 glibcxx_cv_func__fmodf_use=no
39202 fi
39203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39204 ac_ext=c
39205 ac_cpp='$CPP $CPPFLAGS'
39206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39209
39210
39211 fi
39212
39213 fi
39214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
39215 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
39216
39217 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39218 for ac_func in _fmodf
39219 do :
39220 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
39221 if test "x$ac_cv_func__fmodf" = xyes; then :
39222 cat >>confdefs.h <<_ACEOF
39223 #define HAVE__FMODF 1
39224 _ACEOF
39225
39226 fi
39227 done
39228
39229 fi
39230 fi
39231
39232
39233
39234
39235
39236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
39237 $as_echo_n "checking for frexpf declaration... " >&6; }
39238 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39239 if ${glibcxx_cv_func_frexpf_use+:} false; then :
39240 $as_echo_n "(cached) " >&6
39241 else
39242
39243
39244 ac_ext=cpp
39245 ac_cpp='$CXXCPP $CPPFLAGS'
39246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39249
39250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39251 /* end confdefs.h. */
39252 #include <math.h>
39253 int
39254 main ()
39255 {
39256 frexpf(0, 0);
39257 ;
39258 return 0;
39259 }
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func_frexpf_use=yes
39263 else
39264 glibcxx_cv_func_frexpf_use=no
39265 fi
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39272
39273
39274 fi
39275
39276 fi
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
39278 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
39279
39280 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39281 for ac_func in frexpf
39282 do :
39283 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
39284 if test "x$ac_cv_func_frexpf" = xyes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE_FREXPF 1
39287 _ACEOF
39288
39289 fi
39290 done
39291
39292 else
39293
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
39295 $as_echo_n "checking for _frexpf declaration... " >&6; }
39296 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39297 if ${glibcxx_cv_func__frexpf_use+:} false; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39300
39301
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39307
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <math.h>
39311 int
39312 main ()
39313 {
39314 _frexpf(0, 0);
39315 ;
39316 return 0;
39317 }
39318 _ACEOF
39319 if ac_fn_cxx_try_compile "$LINENO"; then :
39320 glibcxx_cv_func__frexpf_use=yes
39321 else
39322 glibcxx_cv_func__frexpf_use=no
39323 fi
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39325 ac_ext=c
39326 ac_cpp='$CPP $CPPFLAGS'
39327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39330
39331
39332 fi
39333
39334 fi
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
39336 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
39337
39338 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39339 for ac_func in _frexpf
39340 do :
39341 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
39342 if test "x$ac_cv_func__frexpf" = xyes; then :
39343 cat >>confdefs.h <<_ACEOF
39344 #define HAVE__FREXPF 1
39345 _ACEOF
39346
39347 fi
39348 done
39349
39350 fi
39351 fi
39352
39353
39354
39355
39356
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
39358 $as_echo_n "checking for hypotf declaration... " >&6; }
39359 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39360 if ${glibcxx_cv_func_hypotf_use+:} false; then :
39361 $as_echo_n "(cached) " >&6
39362 else
39363
39364
39365 ac_ext=cpp
39366 ac_cpp='$CXXCPP $CPPFLAGS'
39367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39370
39371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39372 /* end confdefs.h. */
39373 #include <math.h>
39374 int
39375 main ()
39376 {
39377 hypotf(0, 0);
39378 ;
39379 return 0;
39380 }
39381 _ACEOF
39382 if ac_fn_cxx_try_compile "$LINENO"; then :
39383 glibcxx_cv_func_hypotf_use=yes
39384 else
39385 glibcxx_cv_func_hypotf_use=no
39386 fi
39387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39388 ac_ext=c
39389 ac_cpp='$CPP $CPPFLAGS'
39390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39393
39394
39395 fi
39396
39397 fi
39398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
39399 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
39400
39401 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39402 for ac_func in hypotf
39403 do :
39404 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
39405 if test "x$ac_cv_func_hypotf" = xyes; then :
39406 cat >>confdefs.h <<_ACEOF
39407 #define HAVE_HYPOTF 1
39408 _ACEOF
39409
39410 fi
39411 done
39412
39413 else
39414
39415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
39416 $as_echo_n "checking for _hypotf declaration... " >&6; }
39417 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39418 if ${glibcxx_cv_func__hypotf_use+:} false; then :
39419 $as_echo_n "(cached) " >&6
39420 else
39421
39422
39423 ac_ext=cpp
39424 ac_cpp='$CXXCPP $CPPFLAGS'
39425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39428
39429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39430 /* end confdefs.h. */
39431 #include <math.h>
39432 int
39433 main ()
39434 {
39435 _hypotf(0, 0);
39436 ;
39437 return 0;
39438 }
39439 _ACEOF
39440 if ac_fn_cxx_try_compile "$LINENO"; then :
39441 glibcxx_cv_func__hypotf_use=yes
39442 else
39443 glibcxx_cv_func__hypotf_use=no
39444 fi
39445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39446 ac_ext=c
39447 ac_cpp='$CPP $CPPFLAGS'
39448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39451
39452
39453 fi
39454
39455 fi
39456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
39457 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
39458
39459 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39460 for ac_func in _hypotf
39461 do :
39462 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
39463 if test "x$ac_cv_func__hypotf" = xyes; then :
39464 cat >>confdefs.h <<_ACEOF
39465 #define HAVE__HYPOTF 1
39466 _ACEOF
39467
39468 fi
39469 done
39470
39471 fi
39472 fi
39473
39474
39475
39476
39477
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
39479 $as_echo_n "checking for ldexpf declaration... " >&6; }
39480 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39481 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
39482 $as_echo_n "(cached) " >&6
39483 else
39484
39485
39486 ac_ext=cpp
39487 ac_cpp='$CXXCPP $CPPFLAGS'
39488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39491
39492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39493 /* end confdefs.h. */
39494 #include <math.h>
39495 int
39496 main ()
39497 {
39498 ldexpf(0, 0);
39499 ;
39500 return 0;
39501 }
39502 _ACEOF
39503 if ac_fn_cxx_try_compile "$LINENO"; then :
39504 glibcxx_cv_func_ldexpf_use=yes
39505 else
39506 glibcxx_cv_func_ldexpf_use=no
39507 fi
39508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39509 ac_ext=c
39510 ac_cpp='$CPP $CPPFLAGS'
39511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39514
39515
39516 fi
39517
39518 fi
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
39520 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
39521
39522 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39523 for ac_func in ldexpf
39524 do :
39525 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
39526 if test "x$ac_cv_func_ldexpf" = xyes; then :
39527 cat >>confdefs.h <<_ACEOF
39528 #define HAVE_LDEXPF 1
39529 _ACEOF
39530
39531 fi
39532 done
39533
39534 else
39535
39536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
39537 $as_echo_n "checking for _ldexpf declaration... " >&6; }
39538 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39539 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
39540 $as_echo_n "(cached) " >&6
39541 else
39542
39543
39544 ac_ext=cpp
39545 ac_cpp='$CXXCPP $CPPFLAGS'
39546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39549
39550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39551 /* end confdefs.h. */
39552 #include <math.h>
39553 int
39554 main ()
39555 {
39556 _ldexpf(0, 0);
39557 ;
39558 return 0;
39559 }
39560 _ACEOF
39561 if ac_fn_cxx_try_compile "$LINENO"; then :
39562 glibcxx_cv_func__ldexpf_use=yes
39563 else
39564 glibcxx_cv_func__ldexpf_use=no
39565 fi
39566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39567 ac_ext=c
39568 ac_cpp='$CPP $CPPFLAGS'
39569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39572
39573
39574 fi
39575
39576 fi
39577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
39578 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
39579
39580 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39581 for ac_func in _ldexpf
39582 do :
39583 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
39584 if test "x$ac_cv_func__ldexpf" = xyes; then :
39585 cat >>confdefs.h <<_ACEOF
39586 #define HAVE__LDEXPF 1
39587 _ACEOF
39588
39589 fi
39590 done
39591
39592 fi
39593 fi
39594
39595
39596
39597
39598
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
39600 $as_echo_n "checking for logf declaration... " >&6; }
39601 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39602 if ${glibcxx_cv_func_logf_use+:} false; then :
39603 $as_echo_n "(cached) " >&6
39604 else
39605
39606
39607 ac_ext=cpp
39608 ac_cpp='$CXXCPP $CPPFLAGS'
39609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39612
39613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39614 /* end confdefs.h. */
39615 #include <math.h>
39616 #ifdef HAVE_IEEEFP_H
39617 #include <ieeefp.h>
39618 #endif
39619
39620 int
39621 main ()
39622 {
39623 logf(0);
39624 ;
39625 return 0;
39626 }
39627 _ACEOF
39628 if ac_fn_cxx_try_compile "$LINENO"; then :
39629 glibcxx_cv_func_logf_use=yes
39630 else
39631 glibcxx_cv_func_logf_use=no
39632 fi
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39634 ac_ext=c
39635 ac_cpp='$CPP $CPPFLAGS'
39636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39639
39640
39641 fi
39642
39643 fi
39644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
39645 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
39646
39647 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39648 for ac_func in logf
39649 do :
39650 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
39651 if test "x$ac_cv_func_logf" = xyes; then :
39652 cat >>confdefs.h <<_ACEOF
39653 #define HAVE_LOGF 1
39654 _ACEOF
39655
39656 fi
39657 done
39658
39659 else
39660
39661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
39662 $as_echo_n "checking for _logf declaration... " >&6; }
39663 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39664 if ${glibcxx_cv_func__logf_use+:} false; then :
39665 $as_echo_n "(cached) " >&6
39666 else
39667
39668
39669 ac_ext=cpp
39670 ac_cpp='$CXXCPP $CPPFLAGS'
39671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39674
39675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39676 /* end confdefs.h. */
39677 #include <math.h>
39678 #ifdef HAVE_IEEEFP_H
39679 #include <ieeefp.h>
39680 #endif
39681
39682 int
39683 main ()
39684 {
39685 _logf(0);
39686 ;
39687 return 0;
39688 }
39689 _ACEOF
39690 if ac_fn_cxx_try_compile "$LINENO"; then :
39691 glibcxx_cv_func__logf_use=yes
39692 else
39693 glibcxx_cv_func__logf_use=no
39694 fi
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696 ac_ext=c
39697 ac_cpp='$CPP $CPPFLAGS'
39698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39701
39702
39703 fi
39704
39705 fi
39706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
39707 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
39708
39709 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39710 for ac_func in _logf
39711 do :
39712 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
39713 if test "x$ac_cv_func__logf" = xyes; then :
39714 cat >>confdefs.h <<_ACEOF
39715 #define HAVE__LOGF 1
39716 _ACEOF
39717
39718 fi
39719 done
39720
39721 fi
39722 fi
39723
39724
39725
39726
39727
39728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
39729 $as_echo_n "checking for log10f declaration... " >&6; }
39730 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39731 if ${glibcxx_cv_func_log10f_use+:} false; then :
39732 $as_echo_n "(cached) " >&6
39733 else
39734
39735
39736 ac_ext=cpp
39737 ac_cpp='$CXXCPP $CPPFLAGS'
39738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39741
39742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39743 /* end confdefs.h. */
39744 #include <math.h>
39745 #ifdef HAVE_IEEEFP_H
39746 #include <ieeefp.h>
39747 #endif
39748
39749 int
39750 main ()
39751 {
39752 log10f(0);
39753 ;
39754 return 0;
39755 }
39756 _ACEOF
39757 if ac_fn_cxx_try_compile "$LINENO"; then :
39758 glibcxx_cv_func_log10f_use=yes
39759 else
39760 glibcxx_cv_func_log10f_use=no
39761 fi
39762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39763 ac_ext=c
39764 ac_cpp='$CPP $CPPFLAGS'
39765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39768
39769
39770 fi
39771
39772 fi
39773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
39774 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
39775
39776 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39777 for ac_func in log10f
39778 do :
39779 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
39780 if test "x$ac_cv_func_log10f" = xyes; then :
39781 cat >>confdefs.h <<_ACEOF
39782 #define HAVE_LOG10F 1
39783 _ACEOF
39784
39785 fi
39786 done
39787
39788 else
39789
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
39791 $as_echo_n "checking for _log10f declaration... " >&6; }
39792 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39793 if ${glibcxx_cv_func__log10f_use+:} false; then :
39794 $as_echo_n "(cached) " >&6
39795 else
39796
39797
39798 ac_ext=cpp
39799 ac_cpp='$CXXCPP $CPPFLAGS'
39800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39803
39804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39805 /* end confdefs.h. */
39806 #include <math.h>
39807 #ifdef HAVE_IEEEFP_H
39808 #include <ieeefp.h>
39809 #endif
39810
39811 int
39812 main ()
39813 {
39814 _log10f(0);
39815 ;
39816 return 0;
39817 }
39818 _ACEOF
39819 if ac_fn_cxx_try_compile "$LINENO"; then :
39820 glibcxx_cv_func__log10f_use=yes
39821 else
39822 glibcxx_cv_func__log10f_use=no
39823 fi
39824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39825 ac_ext=c
39826 ac_cpp='$CPP $CPPFLAGS'
39827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39830
39831
39832 fi
39833
39834 fi
39835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
39836 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
39837
39838 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39839 for ac_func in _log10f
39840 do :
39841 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
39842 if test "x$ac_cv_func__log10f" = xyes; then :
39843 cat >>confdefs.h <<_ACEOF
39844 #define HAVE__LOG10F 1
39845 _ACEOF
39846
39847 fi
39848 done
39849
39850 fi
39851 fi
39852
39853
39854
39855
39856
39857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
39858 $as_echo_n "checking for modff declaration... " >&6; }
39859 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39860 if ${glibcxx_cv_func_modff_use+:} false; then :
39861 $as_echo_n "(cached) " >&6
39862 else
39863
39864
39865 ac_ext=cpp
39866 ac_cpp='$CXXCPP $CPPFLAGS'
39867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39870
39871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39872 /* end confdefs.h. */
39873 #include <math.h>
39874 int
39875 main ()
39876 {
39877 modff(0, 0);
39878 ;
39879 return 0;
39880 }
39881 _ACEOF
39882 if ac_fn_cxx_try_compile "$LINENO"; then :
39883 glibcxx_cv_func_modff_use=yes
39884 else
39885 glibcxx_cv_func_modff_use=no
39886 fi
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888 ac_ext=c
39889 ac_cpp='$CPP $CPPFLAGS'
39890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39893
39894
39895 fi
39896
39897 fi
39898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
39899 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
39900
39901 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39902 for ac_func in modff
39903 do :
39904 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
39905 if test "x$ac_cv_func_modff" = xyes; then :
39906 cat >>confdefs.h <<_ACEOF
39907 #define HAVE_MODFF 1
39908 _ACEOF
39909
39910 fi
39911 done
39912
39913 else
39914
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
39916 $as_echo_n "checking for _modff declaration... " >&6; }
39917 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39918 if ${glibcxx_cv_func__modff_use+:} false; then :
39919 $as_echo_n "(cached) " >&6
39920 else
39921
39922
39923 ac_ext=cpp
39924 ac_cpp='$CXXCPP $CPPFLAGS'
39925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39928
39929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39930 /* end confdefs.h. */
39931 #include <math.h>
39932 int
39933 main ()
39934 {
39935 _modff(0, 0);
39936 ;
39937 return 0;
39938 }
39939 _ACEOF
39940 if ac_fn_cxx_try_compile "$LINENO"; then :
39941 glibcxx_cv_func__modff_use=yes
39942 else
39943 glibcxx_cv_func__modff_use=no
39944 fi
39945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39946 ac_ext=c
39947 ac_cpp='$CPP $CPPFLAGS'
39948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39951
39952
39953 fi
39954
39955 fi
39956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
39957 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
39958
39959 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39960 for ac_func in _modff
39961 do :
39962 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
39963 if test "x$ac_cv_func__modff" = xyes; then :
39964 cat >>confdefs.h <<_ACEOF
39965 #define HAVE__MODFF 1
39966 _ACEOF
39967
39968 fi
39969 done
39970
39971 fi
39972 fi
39973
39974
39975
39976
39977
39978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
39979 $as_echo_n "checking for modf declaration... " >&6; }
39980 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39981 if ${glibcxx_cv_func_modf_use+:} false; then :
39982 $as_echo_n "(cached) " >&6
39983 else
39984
39985
39986 ac_ext=cpp
39987 ac_cpp='$CXXCPP $CPPFLAGS'
39988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39991
39992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39993 /* end confdefs.h. */
39994 #include <math.h>
39995 int
39996 main ()
39997 {
39998 modf(0, 0);
39999 ;
40000 return 0;
40001 }
40002 _ACEOF
40003 if ac_fn_cxx_try_compile "$LINENO"; then :
40004 glibcxx_cv_func_modf_use=yes
40005 else
40006 glibcxx_cv_func_modf_use=no
40007 fi
40008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40009 ac_ext=c
40010 ac_cpp='$CPP $CPPFLAGS'
40011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40014
40015
40016 fi
40017
40018 fi
40019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40020 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40021
40022 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40023 for ac_func in modf
40024 do :
40025 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40026 if test "x$ac_cv_func_modf" = xyes; then :
40027 cat >>confdefs.h <<_ACEOF
40028 #define HAVE_MODF 1
40029 _ACEOF
40030
40031 fi
40032 done
40033
40034 else
40035
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40037 $as_echo_n "checking for _modf declaration... " >&6; }
40038 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40039 if ${glibcxx_cv_func__modf_use+:} false; then :
40040 $as_echo_n "(cached) " >&6
40041 else
40042
40043
40044 ac_ext=cpp
40045 ac_cpp='$CXXCPP $CPPFLAGS'
40046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40049
40050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40051 /* end confdefs.h. */
40052 #include <math.h>
40053 int
40054 main ()
40055 {
40056 _modf(0, 0);
40057 ;
40058 return 0;
40059 }
40060 _ACEOF
40061 if ac_fn_cxx_try_compile "$LINENO"; then :
40062 glibcxx_cv_func__modf_use=yes
40063 else
40064 glibcxx_cv_func__modf_use=no
40065 fi
40066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40067 ac_ext=c
40068 ac_cpp='$CPP $CPPFLAGS'
40069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40072
40073
40074 fi
40075
40076 fi
40077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40078 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40079
40080 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40081 for ac_func in _modf
40082 do :
40083 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40084 if test "x$ac_cv_func__modf" = xyes; then :
40085 cat >>confdefs.h <<_ACEOF
40086 #define HAVE__MODF 1
40087 _ACEOF
40088
40089 fi
40090 done
40091
40092 fi
40093 fi
40094
40095
40096
40097
40098
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40100 $as_echo_n "checking for powf declaration... " >&6; }
40101 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40102 if ${glibcxx_cv_func_powf_use+:} false; then :
40103 $as_echo_n "(cached) " >&6
40104 else
40105
40106
40107 ac_ext=cpp
40108 ac_cpp='$CXXCPP $CPPFLAGS'
40109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40112
40113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40114 /* end confdefs.h. */
40115 #include <math.h>
40116 int
40117 main ()
40118 {
40119 powf(0, 0);
40120 ;
40121 return 0;
40122 }
40123 _ACEOF
40124 if ac_fn_cxx_try_compile "$LINENO"; then :
40125 glibcxx_cv_func_powf_use=yes
40126 else
40127 glibcxx_cv_func_powf_use=no
40128 fi
40129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40130 ac_ext=c
40131 ac_cpp='$CPP $CPPFLAGS'
40132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40135
40136
40137 fi
40138
40139 fi
40140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40141 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40142
40143 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40144 for ac_func in powf
40145 do :
40146 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
40147 if test "x$ac_cv_func_powf" = xyes; then :
40148 cat >>confdefs.h <<_ACEOF
40149 #define HAVE_POWF 1
40150 _ACEOF
40151
40152 fi
40153 done
40154
40155 else
40156
40157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
40158 $as_echo_n "checking for _powf declaration... " >&6; }
40159 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40160 if ${glibcxx_cv_func__powf_use+:} false; then :
40161 $as_echo_n "(cached) " >&6
40162 else
40163
40164
40165 ac_ext=cpp
40166 ac_cpp='$CXXCPP $CPPFLAGS'
40167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40170
40171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40172 /* end confdefs.h. */
40173 #include <math.h>
40174 int
40175 main ()
40176 {
40177 _powf(0, 0);
40178 ;
40179 return 0;
40180 }
40181 _ACEOF
40182 if ac_fn_cxx_try_compile "$LINENO"; then :
40183 glibcxx_cv_func__powf_use=yes
40184 else
40185 glibcxx_cv_func__powf_use=no
40186 fi
40187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40188 ac_ext=c
40189 ac_cpp='$CPP $CPPFLAGS'
40190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40193
40194
40195 fi
40196
40197 fi
40198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
40199 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
40200
40201 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40202 for ac_func in _powf
40203 do :
40204 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
40205 if test "x$ac_cv_func__powf" = xyes; then :
40206 cat >>confdefs.h <<_ACEOF
40207 #define HAVE__POWF 1
40208 _ACEOF
40209
40210 fi
40211 done
40212
40213 fi
40214 fi
40215
40216
40217
40218
40219
40220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40221 $as_echo_n "checking for sqrtf declaration... " >&6; }
40222 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40223 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
40224 $as_echo_n "(cached) " >&6
40225 else
40226
40227
40228 ac_ext=cpp
40229 ac_cpp='$CXXCPP $CPPFLAGS'
40230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40233
40234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40235 /* end confdefs.h. */
40236 #include <math.h>
40237 #ifdef HAVE_IEEEFP_H
40238 #include <ieeefp.h>
40239 #endif
40240
40241 int
40242 main ()
40243 {
40244 sqrtf(0);
40245 ;
40246 return 0;
40247 }
40248 _ACEOF
40249 if ac_fn_cxx_try_compile "$LINENO"; then :
40250 glibcxx_cv_func_sqrtf_use=yes
40251 else
40252 glibcxx_cv_func_sqrtf_use=no
40253 fi
40254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40255 ac_ext=c
40256 ac_cpp='$CPP $CPPFLAGS'
40257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40260
40261
40262 fi
40263
40264 fi
40265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
40266 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
40267
40268 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40269 for ac_func in sqrtf
40270 do :
40271 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
40272 if test "x$ac_cv_func_sqrtf" = xyes; then :
40273 cat >>confdefs.h <<_ACEOF
40274 #define HAVE_SQRTF 1
40275 _ACEOF
40276
40277 fi
40278 done
40279
40280 else
40281
40282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
40283 $as_echo_n "checking for _sqrtf declaration... " >&6; }
40284 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40285 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
40286 $as_echo_n "(cached) " >&6
40287 else
40288
40289
40290 ac_ext=cpp
40291 ac_cpp='$CXXCPP $CPPFLAGS'
40292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40295
40296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40297 /* end confdefs.h. */
40298 #include <math.h>
40299 #ifdef HAVE_IEEEFP_H
40300 #include <ieeefp.h>
40301 #endif
40302
40303 int
40304 main ()
40305 {
40306 _sqrtf(0);
40307 ;
40308 return 0;
40309 }
40310 _ACEOF
40311 if ac_fn_cxx_try_compile "$LINENO"; then :
40312 glibcxx_cv_func__sqrtf_use=yes
40313 else
40314 glibcxx_cv_func__sqrtf_use=no
40315 fi
40316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40317 ac_ext=c
40318 ac_cpp='$CPP $CPPFLAGS'
40319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40322
40323
40324 fi
40325
40326 fi
40327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
40328 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
40329
40330 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40331 for ac_func in _sqrtf
40332 do :
40333 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
40334 if test "x$ac_cv_func__sqrtf" = xyes; then :
40335 cat >>confdefs.h <<_ACEOF
40336 #define HAVE__SQRTF 1
40337 _ACEOF
40338
40339 fi
40340 done
40341
40342 fi
40343 fi
40344
40345
40346
40347
40348
40349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
40350 $as_echo_n "checking for sincosf declaration... " >&6; }
40351 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40352 if ${glibcxx_cv_func_sincosf_use+:} false; then :
40353 $as_echo_n "(cached) " >&6
40354 else
40355
40356
40357 ac_ext=cpp
40358 ac_cpp='$CXXCPP $CPPFLAGS'
40359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40362
40363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40364 /* end confdefs.h. */
40365 #include <math.h>
40366 int
40367 main ()
40368 {
40369 sincosf(0, 0, 0);
40370 ;
40371 return 0;
40372 }
40373 _ACEOF
40374 if ac_fn_cxx_try_compile "$LINENO"; then :
40375 glibcxx_cv_func_sincosf_use=yes
40376 else
40377 glibcxx_cv_func_sincosf_use=no
40378 fi
40379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40380 ac_ext=c
40381 ac_cpp='$CPP $CPPFLAGS'
40382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40385
40386
40387 fi
40388
40389 fi
40390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
40391 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
40392
40393 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40394 for ac_func in sincosf
40395 do :
40396 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
40397 if test "x$ac_cv_func_sincosf" = xyes; then :
40398 cat >>confdefs.h <<_ACEOF
40399 #define HAVE_SINCOSF 1
40400 _ACEOF
40401
40402 fi
40403 done
40404
40405 else
40406
40407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
40408 $as_echo_n "checking for _sincosf declaration... " >&6; }
40409 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40410 if ${glibcxx_cv_func__sincosf_use+:} false; then :
40411 $as_echo_n "(cached) " >&6
40412 else
40413
40414
40415 ac_ext=cpp
40416 ac_cpp='$CXXCPP $CPPFLAGS'
40417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40420
40421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40422 /* end confdefs.h. */
40423 #include <math.h>
40424 int
40425 main ()
40426 {
40427 _sincosf(0, 0, 0);
40428 ;
40429 return 0;
40430 }
40431 _ACEOF
40432 if ac_fn_cxx_try_compile "$LINENO"; then :
40433 glibcxx_cv_func__sincosf_use=yes
40434 else
40435 glibcxx_cv_func__sincosf_use=no
40436 fi
40437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40438 ac_ext=c
40439 ac_cpp='$CPP $CPPFLAGS'
40440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40443
40444
40445 fi
40446
40447 fi
40448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
40449 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
40450
40451 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40452 for ac_func in _sincosf
40453 do :
40454 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
40455 if test "x$ac_cv_func__sincosf" = xyes; then :
40456 cat >>confdefs.h <<_ACEOF
40457 #define HAVE__SINCOSF 1
40458 _ACEOF
40459
40460 fi
40461 done
40462
40463 fi
40464 fi
40465
40466
40467
40468
40469
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
40471 $as_echo_n "checking for finitef declaration... " >&6; }
40472 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40473 if ${glibcxx_cv_func_finitef_use+:} false; then :
40474 $as_echo_n "(cached) " >&6
40475 else
40476
40477
40478 ac_ext=cpp
40479 ac_cpp='$CXXCPP $CPPFLAGS'
40480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40483
40484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40485 /* end confdefs.h. */
40486 #include <math.h>
40487 #ifdef HAVE_IEEEFP_H
40488 #include <ieeefp.h>
40489 #endif
40490
40491 int
40492 main ()
40493 {
40494 finitef(0);
40495 ;
40496 return 0;
40497 }
40498 _ACEOF
40499 if ac_fn_cxx_try_compile "$LINENO"; then :
40500 glibcxx_cv_func_finitef_use=yes
40501 else
40502 glibcxx_cv_func_finitef_use=no
40503 fi
40504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40505 ac_ext=c
40506 ac_cpp='$CPP $CPPFLAGS'
40507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40510
40511
40512 fi
40513
40514 fi
40515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
40516 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
40517
40518 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40519 for ac_func in finitef
40520 do :
40521 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
40522 if test "x$ac_cv_func_finitef" = xyes; then :
40523 cat >>confdefs.h <<_ACEOF
40524 #define HAVE_FINITEF 1
40525 _ACEOF
40526
40527 fi
40528 done
40529
40530 else
40531
40532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
40533 $as_echo_n "checking for _finitef declaration... " >&6; }
40534 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40535 if ${glibcxx_cv_func__finitef_use+:} false; then :
40536 $as_echo_n "(cached) " >&6
40537 else
40538
40539
40540 ac_ext=cpp
40541 ac_cpp='$CXXCPP $CPPFLAGS'
40542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40545
40546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40547 /* end confdefs.h. */
40548 #include <math.h>
40549 #ifdef HAVE_IEEEFP_H
40550 #include <ieeefp.h>
40551 #endif
40552
40553 int
40554 main ()
40555 {
40556 _finitef(0);
40557 ;
40558 return 0;
40559 }
40560 _ACEOF
40561 if ac_fn_cxx_try_compile "$LINENO"; then :
40562 glibcxx_cv_func__finitef_use=yes
40563 else
40564 glibcxx_cv_func__finitef_use=no
40565 fi
40566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40567 ac_ext=c
40568 ac_cpp='$CPP $CPPFLAGS'
40569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40572
40573
40574 fi
40575
40576 fi
40577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
40578 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
40579
40580 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40581 for ac_func in _finitef
40582 do :
40583 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
40584 if test "x$ac_cv_func__finitef" = xyes; then :
40585 cat >>confdefs.h <<_ACEOF
40586 #define HAVE__FINITEF 1
40587 _ACEOF
40588
40589 fi
40590 done
40591
40592 fi
40593 fi
40594
40595
40596
40597
40598
40599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
40600 $as_echo_n "checking for long double trig functions... " >&6; }
40601 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
40602 $as_echo_n "(cached) " >&6
40603 else
40604
40605
40606 ac_ext=cpp
40607 ac_cpp='$CXXCPP $CPPFLAGS'
40608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40611
40612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40613 /* end confdefs.h. */
40614 #include <math.h>
40615 int
40616 main ()
40617 {
40618 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
40619 ;
40620 return 0;
40621 }
40622 _ACEOF
40623 if ac_fn_cxx_try_compile "$LINENO"; then :
40624 glibcxx_cv_func_long_double_trig_use=yes
40625 else
40626 glibcxx_cv_func_long_double_trig_use=no
40627 fi
40628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40629 ac_ext=c
40630 ac_cpp='$CPP $CPPFLAGS'
40631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40634
40635 fi
40636
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
40638 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
40639 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40640 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
40641 do :
40642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40644 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40645 cat >>confdefs.h <<_ACEOF
40646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40647 _ACEOF
40648
40649 fi
40650 done
40651
40652 else
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
40654 $as_echo_n "checking for _long double trig functions... " >&6; }
40655 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
40656 $as_echo_n "(cached) " >&6
40657 else
40658
40659
40660 ac_ext=cpp
40661 ac_cpp='$CXXCPP $CPPFLAGS'
40662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40665
40666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40667 /* end confdefs.h. */
40668 #include <math.h>
40669 int
40670 main ()
40671 {
40672 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
40673 ;
40674 return 0;
40675 }
40676 _ACEOF
40677 if ac_fn_cxx_try_compile "$LINENO"; then :
40678 glibcxx_cv_func__long_double_trig_use=yes
40679 else
40680 glibcxx_cv_func__long_double_trig_use=no
40681 fi
40682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40683 ac_ext=c
40684 ac_cpp='$CPP $CPPFLAGS'
40685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40688
40689 fi
40690
40691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
40692 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
40693 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
40694 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
40695 do :
40696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40698 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40699 cat >>confdefs.h <<_ACEOF
40700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40701 _ACEOF
40702
40703 fi
40704 done
40705
40706 fi
40707 fi
40708
40709
40710
40711
40712
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
40714 $as_echo_n "checking for long double round functions... " >&6; }
40715 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
40716 $as_echo_n "(cached) " >&6
40717 else
40718
40719
40720 ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40725
40726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h. */
40728 #include <math.h>
40729 int
40730 main ()
40731 {
40732 ceill (0); floorl (0);
40733 ;
40734 return 0;
40735 }
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738 glibcxx_cv_func_long_double_round_use=yes
40739 else
40740 glibcxx_cv_func_long_double_round_use=no
40741 fi
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40748
40749 fi
40750
40751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
40752 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
40753 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40754 for ac_func in ceill floorl
40755 do :
40756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40758 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40759 cat >>confdefs.h <<_ACEOF
40760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40761 _ACEOF
40762
40763 fi
40764 done
40765
40766 else
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
40768 $as_echo_n "checking for _long double round functions... " >&6; }
40769 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
40770 $as_echo_n "(cached) " >&6
40771 else
40772
40773
40774 ac_ext=cpp
40775 ac_cpp='$CXXCPP $CPPFLAGS'
40776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40779
40780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40781 /* end confdefs.h. */
40782 #include <math.h>
40783 int
40784 main ()
40785 {
40786 _ceill (0); _floorl (0);
40787 ;
40788 return 0;
40789 }
40790 _ACEOF
40791 if ac_fn_cxx_try_compile "$LINENO"; then :
40792 glibcxx_cv_func__long_double_round_use=yes
40793 else
40794 glibcxx_cv_func__long_double_round_use=no
40795 fi
40796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40797 ac_ext=c
40798 ac_cpp='$CPP $CPPFLAGS'
40799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40802
40803 fi
40804
40805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
40806 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
40807 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
40808 for ac_func in _ceill _floorl
40809 do :
40810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40813 cat >>confdefs.h <<_ACEOF
40814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40815 _ACEOF
40816
40817 fi
40818 done
40819
40820 fi
40821 fi
40822
40823
40824
40825
40826
40827
40828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
40829 $as_echo_n "checking for isnanl declaration... " >&6; }
40830 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40831 if ${glibcxx_cv_func_isnanl_use+:} false; then :
40832 $as_echo_n "(cached) " >&6
40833 else
40834
40835
40836 ac_ext=cpp
40837 ac_cpp='$CXXCPP $CPPFLAGS'
40838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40841
40842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40843 /* end confdefs.h. */
40844 #include <math.h>
40845 #ifdef HAVE_IEEEFP_H
40846 #include <ieeefp.h>
40847 #endif
40848
40849 int
40850 main ()
40851 {
40852 isnanl(0);
40853 ;
40854 return 0;
40855 }
40856 _ACEOF
40857 if ac_fn_cxx_try_compile "$LINENO"; then :
40858 glibcxx_cv_func_isnanl_use=yes
40859 else
40860 glibcxx_cv_func_isnanl_use=no
40861 fi
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40863 ac_ext=c
40864 ac_cpp='$CPP $CPPFLAGS'
40865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40868
40869
40870 fi
40871
40872 fi
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
40874 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
40875
40876 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40877 for ac_func in isnanl
40878 do :
40879 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
40880 if test "x$ac_cv_func_isnanl" = xyes; then :
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE_ISNANL 1
40883 _ACEOF
40884
40885 fi
40886 done
40887
40888 else
40889
40890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
40891 $as_echo_n "checking for _isnanl declaration... " >&6; }
40892 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40893 if ${glibcxx_cv_func__isnanl_use+:} false; then :
40894 $as_echo_n "(cached) " >&6
40895 else
40896
40897
40898 ac_ext=cpp
40899 ac_cpp='$CXXCPP $CPPFLAGS'
40900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40903
40904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40905 /* end confdefs.h. */
40906 #include <math.h>
40907 #ifdef HAVE_IEEEFP_H
40908 #include <ieeefp.h>
40909 #endif
40910
40911 int
40912 main ()
40913 {
40914 _isnanl(0);
40915 ;
40916 return 0;
40917 }
40918 _ACEOF
40919 if ac_fn_cxx_try_compile "$LINENO"; then :
40920 glibcxx_cv_func__isnanl_use=yes
40921 else
40922 glibcxx_cv_func__isnanl_use=no
40923 fi
40924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40925 ac_ext=c
40926 ac_cpp='$CPP $CPPFLAGS'
40927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40930
40931
40932 fi
40933
40934 fi
40935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
40936 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
40937
40938 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40939 for ac_func in _isnanl
40940 do :
40941 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
40942 if test "x$ac_cv_func__isnanl" = xyes; then :
40943 cat >>confdefs.h <<_ACEOF
40944 #define HAVE__ISNANL 1
40945 _ACEOF
40946
40947 fi
40948 done
40949
40950 fi
40951 fi
40952
40953
40954
40955
40956
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
40958 $as_echo_n "checking for isinfl declaration... " >&6; }
40959 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
40960 if ${glibcxx_cv_func_isinfl_use+:} false; then :
40961 $as_echo_n "(cached) " >&6
40962 else
40963
40964
40965 ac_ext=cpp
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40970
40971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h. */
40973 #include <math.h>
40974 #ifdef HAVE_IEEEFP_H
40975 #include <ieeefp.h>
40976 #endif
40977
40978 int
40979 main ()
40980 {
40981 isinfl(0);
40982 ;
40983 return 0;
40984 }
40985 _ACEOF
40986 if ac_fn_cxx_try_compile "$LINENO"; then :
40987 glibcxx_cv_func_isinfl_use=yes
40988 else
40989 glibcxx_cv_func_isinfl_use=no
40990 fi
40991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40992 ac_ext=c
40993 ac_cpp='$CPP $CPPFLAGS'
40994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40997
40998
40999 fi
41000
41001 fi
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41003 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41004
41005 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41006 for ac_func in isinfl
41007 do :
41008 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41009 if test "x$ac_cv_func_isinfl" = xyes; then :
41010 cat >>confdefs.h <<_ACEOF
41011 #define HAVE_ISINFL 1
41012 _ACEOF
41013
41014 fi
41015 done
41016
41017 else
41018
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41020 $as_echo_n "checking for _isinfl declaration... " >&6; }
41021 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41022 if ${glibcxx_cv_func__isinfl_use+:} false; then :
41023 $as_echo_n "(cached) " >&6
41024 else
41025
41026
41027 ac_ext=cpp
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41032
41033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h. */
41035 #include <math.h>
41036 #ifdef HAVE_IEEEFP_H
41037 #include <ieeefp.h>
41038 #endif
41039
41040 int
41041 main ()
41042 {
41043 _isinfl(0);
41044 ;
41045 return 0;
41046 }
41047 _ACEOF
41048 if ac_fn_cxx_try_compile "$LINENO"; then :
41049 glibcxx_cv_func__isinfl_use=yes
41050 else
41051 glibcxx_cv_func__isinfl_use=no
41052 fi
41053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41054 ac_ext=c
41055 ac_cpp='$CPP $CPPFLAGS'
41056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41059
41060
41061 fi
41062
41063 fi
41064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41065 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41066
41067 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41068 for ac_func in _isinfl
41069 do :
41070 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41071 if test "x$ac_cv_func__isinfl" = xyes; then :
41072 cat >>confdefs.h <<_ACEOF
41073 #define HAVE__ISINFL 1
41074 _ACEOF
41075
41076 fi
41077 done
41078
41079 fi
41080 fi
41081
41082
41083
41084
41085
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41087 $as_echo_n "checking for atan2l declaration... " >&6; }
41088 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41089 if ${glibcxx_cv_func_atan2l_use+:} false; then :
41090 $as_echo_n "(cached) " >&6
41091 else
41092
41093
41094 ac_ext=cpp
41095 ac_cpp='$CXXCPP $CPPFLAGS'
41096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41099
41100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41101 /* end confdefs.h. */
41102 #include <math.h>
41103 int
41104 main ()
41105 {
41106 atan2l(0, 0);
41107 ;
41108 return 0;
41109 }
41110 _ACEOF
41111 if ac_fn_cxx_try_compile "$LINENO"; then :
41112 glibcxx_cv_func_atan2l_use=yes
41113 else
41114 glibcxx_cv_func_atan2l_use=no
41115 fi
41116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41117 ac_ext=c
41118 ac_cpp='$CPP $CPPFLAGS'
41119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41122
41123
41124 fi
41125
41126 fi
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41128 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41129
41130 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41131 for ac_func in atan2l
41132 do :
41133 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41134 if test "x$ac_cv_func_atan2l" = xyes; then :
41135 cat >>confdefs.h <<_ACEOF
41136 #define HAVE_ATAN2L 1
41137 _ACEOF
41138
41139 fi
41140 done
41141
41142 else
41143
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
41145 $as_echo_n "checking for _atan2l declaration... " >&6; }
41146 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41147 if ${glibcxx_cv_func__atan2l_use+:} false; then :
41148 $as_echo_n "(cached) " >&6
41149 else
41150
41151
41152 ac_ext=cpp
41153 ac_cpp='$CXXCPP $CPPFLAGS'
41154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41157
41158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41159 /* end confdefs.h. */
41160 #include <math.h>
41161 int
41162 main ()
41163 {
41164 _atan2l(0, 0);
41165 ;
41166 return 0;
41167 }
41168 _ACEOF
41169 if ac_fn_cxx_try_compile "$LINENO"; then :
41170 glibcxx_cv_func__atan2l_use=yes
41171 else
41172 glibcxx_cv_func__atan2l_use=no
41173 fi
41174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41175 ac_ext=c
41176 ac_cpp='$CPP $CPPFLAGS'
41177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41180
41181
41182 fi
41183
41184 fi
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
41186 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
41187
41188 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41189 for ac_func in _atan2l
41190 do :
41191 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
41192 if test "x$ac_cv_func__atan2l" = xyes; then :
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE__ATAN2L 1
41195 _ACEOF
41196
41197 fi
41198 done
41199
41200 fi
41201 fi
41202
41203
41204
41205
41206
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
41208 $as_echo_n "checking for expl declaration... " >&6; }
41209 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41210 if ${glibcxx_cv_func_expl_use+:} false; then :
41211 $as_echo_n "(cached) " >&6
41212 else
41213
41214
41215 ac_ext=cpp
41216 ac_cpp='$CXXCPP $CPPFLAGS'
41217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41220
41221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41222 /* end confdefs.h. */
41223 #include <math.h>
41224 #ifdef HAVE_IEEEFP_H
41225 #include <ieeefp.h>
41226 #endif
41227
41228 int
41229 main ()
41230 {
41231 expl(0);
41232 ;
41233 return 0;
41234 }
41235 _ACEOF
41236 if ac_fn_cxx_try_compile "$LINENO"; then :
41237 glibcxx_cv_func_expl_use=yes
41238 else
41239 glibcxx_cv_func_expl_use=no
41240 fi
41241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41242 ac_ext=c
41243 ac_cpp='$CPP $CPPFLAGS'
41244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41247
41248
41249 fi
41250
41251 fi
41252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
41253 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
41254
41255 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41256 for ac_func in expl
41257 do :
41258 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
41259 if test "x$ac_cv_func_expl" = xyes; then :
41260 cat >>confdefs.h <<_ACEOF
41261 #define HAVE_EXPL 1
41262 _ACEOF
41263
41264 fi
41265 done
41266
41267 else
41268
41269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
41270 $as_echo_n "checking for _expl declaration... " >&6; }
41271 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41272 if ${glibcxx_cv_func__expl_use+:} false; then :
41273 $as_echo_n "(cached) " >&6
41274 else
41275
41276
41277 ac_ext=cpp
41278 ac_cpp='$CXXCPP $CPPFLAGS'
41279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41282
41283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41284 /* end confdefs.h. */
41285 #include <math.h>
41286 #ifdef HAVE_IEEEFP_H
41287 #include <ieeefp.h>
41288 #endif
41289
41290 int
41291 main ()
41292 {
41293 _expl(0);
41294 ;
41295 return 0;
41296 }
41297 _ACEOF
41298 if ac_fn_cxx_try_compile "$LINENO"; then :
41299 glibcxx_cv_func__expl_use=yes
41300 else
41301 glibcxx_cv_func__expl_use=no
41302 fi
41303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41304 ac_ext=c
41305 ac_cpp='$CPP $CPPFLAGS'
41306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41309
41310
41311 fi
41312
41313 fi
41314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
41315 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
41316
41317 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41318 for ac_func in _expl
41319 do :
41320 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
41321 if test "x$ac_cv_func__expl" = xyes; then :
41322 cat >>confdefs.h <<_ACEOF
41323 #define HAVE__EXPL 1
41324 _ACEOF
41325
41326 fi
41327 done
41328
41329 fi
41330 fi
41331
41332
41333
41334
41335
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
41337 $as_echo_n "checking for fabsl declaration... " >&6; }
41338 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
41339 if ${glibcxx_cv_func_fabsl_use+:} false; then :
41340 $as_echo_n "(cached) " >&6
41341 else
41342
41343
41344 ac_ext=cpp
41345 ac_cpp='$CXXCPP $CPPFLAGS'
41346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41349
41350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h. */
41352 #include <math.h>
41353 #ifdef HAVE_IEEEFP_H
41354 #include <ieeefp.h>
41355 #endif
41356
41357 int
41358 main ()
41359 {
41360 fabsl(0);
41361 ;
41362 return 0;
41363 }
41364 _ACEOF
41365 if ac_fn_cxx_try_compile "$LINENO"; then :
41366 glibcxx_cv_func_fabsl_use=yes
41367 else
41368 glibcxx_cv_func_fabsl_use=no
41369 fi
41370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41371 ac_ext=c
41372 ac_cpp='$CPP $CPPFLAGS'
41373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41376
41377
41378 fi
41379
41380 fi
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
41382 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
41383
41384 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
41385 for ac_func in fabsl
41386 do :
41387 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
41388 if test "x$ac_cv_func_fabsl" = xyes; then :
41389 cat >>confdefs.h <<_ACEOF
41390 #define HAVE_FABSL 1
41391 _ACEOF
41392
41393 fi
41394 done
41395
41396 else
41397
41398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
41399 $as_echo_n "checking for _fabsl declaration... " >&6; }
41400 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
41401 if ${glibcxx_cv_func__fabsl_use+:} false; then :
41402 $as_echo_n "(cached) " >&6
41403 else
41404
41405
41406 ac_ext=cpp
41407 ac_cpp='$CXXCPP $CPPFLAGS'
41408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41411
41412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41413 /* end confdefs.h. */
41414 #include <math.h>
41415 #ifdef HAVE_IEEEFP_H
41416 #include <ieeefp.h>
41417 #endif
41418
41419 int
41420 main ()
41421 {
41422 _fabsl(0);
41423 ;
41424 return 0;
41425 }
41426 _ACEOF
41427 if ac_fn_cxx_try_compile "$LINENO"; then :
41428 glibcxx_cv_func__fabsl_use=yes
41429 else
41430 glibcxx_cv_func__fabsl_use=no
41431 fi
41432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41433 ac_ext=c
41434 ac_cpp='$CPP $CPPFLAGS'
41435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41438
41439
41440 fi
41441
41442 fi
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
41444 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
41445
41446 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
41447 for ac_func in _fabsl
41448 do :
41449 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
41450 if test "x$ac_cv_func__fabsl" = xyes; then :
41451 cat >>confdefs.h <<_ACEOF
41452 #define HAVE__FABSL 1
41453 _ACEOF
41454
41455 fi
41456 done
41457
41458 fi
41459 fi
41460
41461
41462
41463
41464
41465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
41466 $as_echo_n "checking for fmodl declaration... " >&6; }
41467 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
41468 if ${glibcxx_cv_func_fmodl_use+:} false; then :
41469 $as_echo_n "(cached) " >&6
41470 else
41471
41472
41473 ac_ext=cpp
41474 ac_cpp='$CXXCPP $CPPFLAGS'
41475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41478
41479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41480 /* end confdefs.h. */
41481 #include <math.h>
41482 int
41483 main ()
41484 {
41485 fmodl(0, 0);
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 if ac_fn_cxx_try_compile "$LINENO"; then :
41491 glibcxx_cv_func_fmodl_use=yes
41492 else
41493 glibcxx_cv_func_fmodl_use=no
41494 fi
41495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41496 ac_ext=c
41497 ac_cpp='$CPP $CPPFLAGS'
41498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41501
41502
41503 fi
41504
41505 fi
41506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
41507 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
41508
41509 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
41510 for ac_func in fmodl
41511 do :
41512 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
41513 if test "x$ac_cv_func_fmodl" = xyes; then :
41514 cat >>confdefs.h <<_ACEOF
41515 #define HAVE_FMODL 1
41516 _ACEOF
41517
41518 fi
41519 done
41520
41521 else
41522
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
41524 $as_echo_n "checking for _fmodl declaration... " >&6; }
41525 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
41526 if ${glibcxx_cv_func__fmodl_use+:} false; then :
41527 $as_echo_n "(cached) " >&6
41528 else
41529
41530
41531 ac_ext=cpp
41532 ac_cpp='$CXXCPP $CPPFLAGS'
41533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41536
41537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41538 /* end confdefs.h. */
41539 #include <math.h>
41540 int
41541 main ()
41542 {
41543 _fmodl(0, 0);
41544 ;
41545 return 0;
41546 }
41547 _ACEOF
41548 if ac_fn_cxx_try_compile "$LINENO"; then :
41549 glibcxx_cv_func__fmodl_use=yes
41550 else
41551 glibcxx_cv_func__fmodl_use=no
41552 fi
41553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41554 ac_ext=c
41555 ac_cpp='$CPP $CPPFLAGS'
41556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41559
41560
41561 fi
41562
41563 fi
41564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
41565 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
41566
41567 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
41568 for ac_func in _fmodl
41569 do :
41570 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
41571 if test "x$ac_cv_func__fmodl" = xyes; then :
41572 cat >>confdefs.h <<_ACEOF
41573 #define HAVE__FMODL 1
41574 _ACEOF
41575
41576 fi
41577 done
41578
41579 fi
41580 fi
41581
41582
41583
41584
41585
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
41587 $as_echo_n "checking for frexpl declaration... " >&6; }
41588 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
41589 if ${glibcxx_cv_func_frexpl_use+:} false; then :
41590 $as_echo_n "(cached) " >&6
41591 else
41592
41593
41594 ac_ext=cpp
41595 ac_cpp='$CXXCPP $CPPFLAGS'
41596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41599
41600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41601 /* end confdefs.h. */
41602 #include <math.h>
41603 int
41604 main ()
41605 {
41606 frexpl(0, 0);
41607 ;
41608 return 0;
41609 }
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612 glibcxx_cv_func_frexpl_use=yes
41613 else
41614 glibcxx_cv_func_frexpl_use=no
41615 fi
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41622
41623
41624 fi
41625
41626 fi
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
41628 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
41629
41630 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
41631 for ac_func in frexpl
41632 do :
41633 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
41634 if test "x$ac_cv_func_frexpl" = xyes; then :
41635 cat >>confdefs.h <<_ACEOF
41636 #define HAVE_FREXPL 1
41637 _ACEOF
41638
41639 fi
41640 done
41641
41642 else
41643
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
41645 $as_echo_n "checking for _frexpl declaration... " >&6; }
41646 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
41647 if ${glibcxx_cv_func__frexpl_use+:} false; then :
41648 $as_echo_n "(cached) " >&6
41649 else
41650
41651
41652 ac_ext=cpp
41653 ac_cpp='$CXXCPP $CPPFLAGS'
41654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41657
41658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41659 /* end confdefs.h. */
41660 #include <math.h>
41661 int
41662 main ()
41663 {
41664 _frexpl(0, 0);
41665 ;
41666 return 0;
41667 }
41668 _ACEOF
41669 if ac_fn_cxx_try_compile "$LINENO"; then :
41670 glibcxx_cv_func__frexpl_use=yes
41671 else
41672 glibcxx_cv_func__frexpl_use=no
41673 fi
41674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 ac_ext=c
41676 ac_cpp='$CPP $CPPFLAGS'
41677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41680
41681
41682 fi
41683
41684 fi
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
41686 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
41687
41688 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
41689 for ac_func in _frexpl
41690 do :
41691 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
41692 if test "x$ac_cv_func__frexpl" = xyes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define HAVE__FREXPL 1
41695 _ACEOF
41696
41697 fi
41698 done
41699
41700 fi
41701 fi
41702
41703
41704
41705
41706
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
41708 $as_echo_n "checking for hypotl declaration... " >&6; }
41709 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
41710 if ${glibcxx_cv_func_hypotl_use+:} false; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41713
41714
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41724 int
41725 main ()
41726 {
41727 hypotl(0, 0);
41728 ;
41729 return 0;
41730 }
41731 _ACEOF
41732 if ac_fn_cxx_try_compile "$LINENO"; then :
41733 glibcxx_cv_func_hypotl_use=yes
41734 else
41735 glibcxx_cv_func_hypotl_use=no
41736 fi
41737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738 ac_ext=c
41739 ac_cpp='$CPP $CPPFLAGS'
41740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41743
41744
41745 fi
41746
41747 fi
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
41749 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
41750
41751 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
41752 for ac_func in hypotl
41753 do :
41754 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
41755 if test "x$ac_cv_func_hypotl" = xyes; then :
41756 cat >>confdefs.h <<_ACEOF
41757 #define HAVE_HYPOTL 1
41758 _ACEOF
41759
41760 fi
41761 done
41762
41763 else
41764
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
41766 $as_echo_n "checking for _hypotl declaration... " >&6; }
41767 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
41768 if ${glibcxx_cv_func__hypotl_use+:} false; then :
41769 $as_echo_n "(cached) " >&6
41770 else
41771
41772
41773 ac_ext=cpp
41774 ac_cpp='$CXXCPP $CPPFLAGS'
41775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41778
41779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41780 /* end confdefs.h. */
41781 #include <math.h>
41782 int
41783 main ()
41784 {
41785 _hypotl(0, 0);
41786 ;
41787 return 0;
41788 }
41789 _ACEOF
41790 if ac_fn_cxx_try_compile "$LINENO"; then :
41791 glibcxx_cv_func__hypotl_use=yes
41792 else
41793 glibcxx_cv_func__hypotl_use=no
41794 fi
41795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41796 ac_ext=c
41797 ac_cpp='$CPP $CPPFLAGS'
41798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41801
41802
41803 fi
41804
41805 fi
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
41807 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
41808
41809 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
41810 for ac_func in _hypotl
41811 do :
41812 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
41813 if test "x$ac_cv_func__hypotl" = xyes; then :
41814 cat >>confdefs.h <<_ACEOF
41815 #define HAVE__HYPOTL 1
41816 _ACEOF
41817
41818 fi
41819 done
41820
41821 fi
41822 fi
41823
41824
41825
41826
41827
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
41829 $as_echo_n "checking for ldexpl declaration... " >&6; }
41830 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
41831 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
41832 $as_echo_n "(cached) " >&6
41833 else
41834
41835
41836 ac_ext=cpp
41837 ac_cpp='$CXXCPP $CPPFLAGS'
41838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41841
41842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h. */
41844 #include <math.h>
41845 int
41846 main ()
41847 {
41848 ldexpl(0, 0);
41849 ;
41850 return 0;
41851 }
41852 _ACEOF
41853 if ac_fn_cxx_try_compile "$LINENO"; then :
41854 glibcxx_cv_func_ldexpl_use=yes
41855 else
41856 glibcxx_cv_func_ldexpl_use=no
41857 fi
41858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41859 ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41864
41865
41866 fi
41867
41868 fi
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
41870 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
41871
41872 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
41873 for ac_func in ldexpl
41874 do :
41875 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
41876 if test "x$ac_cv_func_ldexpl" = xyes; then :
41877 cat >>confdefs.h <<_ACEOF
41878 #define HAVE_LDEXPL 1
41879 _ACEOF
41880
41881 fi
41882 done
41883
41884 else
41885
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
41887 $as_echo_n "checking for _ldexpl declaration... " >&6; }
41888 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
41889 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
41890 $as_echo_n "(cached) " >&6
41891 else
41892
41893
41894 ac_ext=cpp
41895 ac_cpp='$CXXCPP $CPPFLAGS'
41896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41899
41900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41901 /* end confdefs.h. */
41902 #include <math.h>
41903 int
41904 main ()
41905 {
41906 _ldexpl(0, 0);
41907 ;
41908 return 0;
41909 }
41910 _ACEOF
41911 if ac_fn_cxx_try_compile "$LINENO"; then :
41912 glibcxx_cv_func__ldexpl_use=yes
41913 else
41914 glibcxx_cv_func__ldexpl_use=no
41915 fi
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41917 ac_ext=c
41918 ac_cpp='$CPP $CPPFLAGS'
41919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41922
41923
41924 fi
41925
41926 fi
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
41928 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
41929
41930 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
41931 for ac_func in _ldexpl
41932 do :
41933 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
41934 if test "x$ac_cv_func__ldexpl" = xyes; then :
41935 cat >>confdefs.h <<_ACEOF
41936 #define HAVE__LDEXPL 1
41937 _ACEOF
41938
41939 fi
41940 done
41941
41942 fi
41943 fi
41944
41945
41946
41947
41948
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
41950 $as_echo_n "checking for logl declaration... " >&6; }
41951 if test x${glibcxx_cv_func_logl_use+set} != xset; then
41952 if ${glibcxx_cv_func_logl_use+:} false; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41955
41956
41957 ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41962
41963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h. */
41965 #include <math.h>
41966 #ifdef HAVE_IEEEFP_H
41967 #include <ieeefp.h>
41968 #endif
41969
41970 int
41971 main ()
41972 {
41973 logl(0);
41974 ;
41975 return 0;
41976 }
41977 _ACEOF
41978 if ac_fn_cxx_try_compile "$LINENO"; then :
41979 glibcxx_cv_func_logl_use=yes
41980 else
41981 glibcxx_cv_func_logl_use=no
41982 fi
41983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41984 ac_ext=c
41985 ac_cpp='$CPP $CPPFLAGS'
41986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41989
41990
41991 fi
41992
41993 fi
41994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
41995 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
41996
41997 if test x$glibcxx_cv_func_logl_use = x"yes"; then
41998 for ac_func in logl
41999 do :
42000 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42001 if test "x$ac_cv_func_logl" = xyes; then :
42002 cat >>confdefs.h <<_ACEOF
42003 #define HAVE_LOGL 1
42004 _ACEOF
42005
42006 fi
42007 done
42008
42009 else
42010
42011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42012 $as_echo_n "checking for _logl declaration... " >&6; }
42013 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42014 if ${glibcxx_cv_func__logl_use+:} false; then :
42015 $as_echo_n "(cached) " >&6
42016 else
42017
42018
42019 ac_ext=cpp
42020 ac_cpp='$CXXCPP $CPPFLAGS'
42021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42024
42025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42026 /* end confdefs.h. */
42027 #include <math.h>
42028 #ifdef HAVE_IEEEFP_H
42029 #include <ieeefp.h>
42030 #endif
42031
42032 int
42033 main ()
42034 {
42035 _logl(0);
42036 ;
42037 return 0;
42038 }
42039 _ACEOF
42040 if ac_fn_cxx_try_compile "$LINENO"; then :
42041 glibcxx_cv_func__logl_use=yes
42042 else
42043 glibcxx_cv_func__logl_use=no
42044 fi
42045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42046 ac_ext=c
42047 ac_cpp='$CPP $CPPFLAGS'
42048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42051
42052
42053 fi
42054
42055 fi
42056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42057 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42058
42059 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42060 for ac_func in _logl
42061 do :
42062 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42063 if test "x$ac_cv_func__logl" = xyes; then :
42064 cat >>confdefs.h <<_ACEOF
42065 #define HAVE__LOGL 1
42066 _ACEOF
42067
42068 fi
42069 done
42070
42071 fi
42072 fi
42073
42074
42075
42076
42077
42078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42079 $as_echo_n "checking for log10l declaration... " >&6; }
42080 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42081 if ${glibcxx_cv_func_log10l_use+:} false; then :
42082 $as_echo_n "(cached) " >&6
42083 else
42084
42085
42086 ac_ext=cpp
42087 ac_cpp='$CXXCPP $CPPFLAGS'
42088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42091
42092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42093 /* end confdefs.h. */
42094 #include <math.h>
42095 #ifdef HAVE_IEEEFP_H
42096 #include <ieeefp.h>
42097 #endif
42098
42099 int
42100 main ()
42101 {
42102 log10l(0);
42103 ;
42104 return 0;
42105 }
42106 _ACEOF
42107 if ac_fn_cxx_try_compile "$LINENO"; then :
42108 glibcxx_cv_func_log10l_use=yes
42109 else
42110 glibcxx_cv_func_log10l_use=no
42111 fi
42112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42113 ac_ext=c
42114 ac_cpp='$CPP $CPPFLAGS'
42115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42118
42119
42120 fi
42121
42122 fi
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42124 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42125
42126 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42127 for ac_func in log10l
42128 do :
42129 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42130 if test "x$ac_cv_func_log10l" = xyes; then :
42131 cat >>confdefs.h <<_ACEOF
42132 #define HAVE_LOG10L 1
42133 _ACEOF
42134
42135 fi
42136 done
42137
42138 else
42139
42140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
42141 $as_echo_n "checking for _log10l declaration... " >&6; }
42142 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
42143 if ${glibcxx_cv_func__log10l_use+:} false; then :
42144 $as_echo_n "(cached) " >&6
42145 else
42146
42147
42148 ac_ext=cpp
42149 ac_cpp='$CXXCPP $CPPFLAGS'
42150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42153
42154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42155 /* end confdefs.h. */
42156 #include <math.h>
42157 #ifdef HAVE_IEEEFP_H
42158 #include <ieeefp.h>
42159 #endif
42160
42161 int
42162 main ()
42163 {
42164 _log10l(0);
42165 ;
42166 return 0;
42167 }
42168 _ACEOF
42169 if ac_fn_cxx_try_compile "$LINENO"; then :
42170 glibcxx_cv_func__log10l_use=yes
42171 else
42172 glibcxx_cv_func__log10l_use=no
42173 fi
42174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42175 ac_ext=c
42176 ac_cpp='$CPP $CPPFLAGS'
42177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42180
42181
42182 fi
42183
42184 fi
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
42186 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
42187
42188 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
42189 for ac_func in _log10l
42190 do :
42191 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
42192 if test "x$ac_cv_func__log10l" = xyes; then :
42193 cat >>confdefs.h <<_ACEOF
42194 #define HAVE__LOG10L 1
42195 _ACEOF
42196
42197 fi
42198 done
42199
42200 fi
42201 fi
42202
42203
42204
42205
42206
42207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
42208 $as_echo_n "checking for modfl declaration... " >&6; }
42209 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
42210 if ${glibcxx_cv_func_modfl_use+:} false; then :
42211 $as_echo_n "(cached) " >&6
42212 else
42213
42214
42215 ac_ext=cpp
42216 ac_cpp='$CXXCPP $CPPFLAGS'
42217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42220
42221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42222 /* end confdefs.h. */
42223 #include <math.h>
42224 int
42225 main ()
42226 {
42227 modfl(0, 0);
42228 ;
42229 return 0;
42230 }
42231 _ACEOF
42232 if ac_fn_cxx_try_compile "$LINENO"; then :
42233 glibcxx_cv_func_modfl_use=yes
42234 else
42235 glibcxx_cv_func_modfl_use=no
42236 fi
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42238 ac_ext=c
42239 ac_cpp='$CPP $CPPFLAGS'
42240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42243
42244
42245 fi
42246
42247 fi
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
42249 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
42250
42251 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
42252 for ac_func in modfl
42253 do :
42254 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
42255 if test "x$ac_cv_func_modfl" = xyes; then :
42256 cat >>confdefs.h <<_ACEOF
42257 #define HAVE_MODFL 1
42258 _ACEOF
42259
42260 fi
42261 done
42262
42263 else
42264
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
42266 $as_echo_n "checking for _modfl declaration... " >&6; }
42267 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
42268 if ${glibcxx_cv_func__modfl_use+:} false; then :
42269 $as_echo_n "(cached) " >&6
42270 else
42271
42272
42273 ac_ext=cpp
42274 ac_cpp='$CXXCPP $CPPFLAGS'
42275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42278
42279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42280 /* end confdefs.h. */
42281 #include <math.h>
42282 int
42283 main ()
42284 {
42285 _modfl(0, 0);
42286 ;
42287 return 0;
42288 }
42289 _ACEOF
42290 if ac_fn_cxx_try_compile "$LINENO"; then :
42291 glibcxx_cv_func__modfl_use=yes
42292 else
42293 glibcxx_cv_func__modfl_use=no
42294 fi
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42296 ac_ext=c
42297 ac_cpp='$CPP $CPPFLAGS'
42298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42301
42302
42303 fi
42304
42305 fi
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
42307 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
42308
42309 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
42310 for ac_func in _modfl
42311 do :
42312 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
42313 if test "x$ac_cv_func__modfl" = xyes; then :
42314 cat >>confdefs.h <<_ACEOF
42315 #define HAVE__MODFL 1
42316 _ACEOF
42317
42318 fi
42319 done
42320
42321 fi
42322 fi
42323
42324
42325
42326
42327
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
42329 $as_echo_n "checking for powl declaration... " >&6; }
42330 if test x${glibcxx_cv_func_powl_use+set} != xset; then
42331 if ${glibcxx_cv_func_powl_use+:} false; then :
42332 $as_echo_n "(cached) " >&6
42333 else
42334
42335
42336 ac_ext=cpp
42337 ac_cpp='$CXXCPP $CPPFLAGS'
42338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42341
42342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42343 /* end confdefs.h. */
42344 #include <math.h>
42345 int
42346 main ()
42347 {
42348 powl(0, 0);
42349 ;
42350 return 0;
42351 }
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354 glibcxx_cv_func_powl_use=yes
42355 else
42356 glibcxx_cv_func_powl_use=no
42357 fi
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359 ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364
42365
42366 fi
42367
42368 fi
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
42370 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
42371
42372 if test x$glibcxx_cv_func_powl_use = x"yes"; then
42373 for ac_func in powl
42374 do :
42375 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
42376 if test "x$ac_cv_func_powl" = xyes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define HAVE_POWL 1
42379 _ACEOF
42380
42381 fi
42382 done
42383
42384 else
42385
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
42387 $as_echo_n "checking for _powl declaration... " >&6; }
42388 if test x${glibcxx_cv_func__powl_use+set} != xset; then
42389 if ${glibcxx_cv_func__powl_use+:} false; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42392
42393
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42399
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42403 int
42404 main ()
42405 {
42406 _powl(0, 0);
42407 ;
42408 return 0;
42409 }
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__powl_use=yes
42413 else
42414 glibcxx_cv_func__powl_use=no
42415 fi
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42422
42423
42424 fi
42425
42426 fi
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
42428 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
42429
42430 if test x$glibcxx_cv_func__powl_use = x"yes"; then
42431 for ac_func in _powl
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
42434 if test "x$ac_cv_func__powl" = xyes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__POWL 1
42437 _ACEOF
42438
42439 fi
42440 done
42441
42442 fi
42443 fi
42444
42445
42446
42447
42448
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
42450 $as_echo_n "checking for sqrtl declaration... " >&6; }
42451 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
42452 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
42453 $as_echo_n "(cached) " >&6
42454 else
42455
42456
42457 ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462
42463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h. */
42465 #include <math.h>
42466 #ifdef HAVE_IEEEFP_H
42467 #include <ieeefp.h>
42468 #endif
42469
42470 int
42471 main ()
42472 {
42473 sqrtl(0);
42474 ;
42475 return 0;
42476 }
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479 glibcxx_cv_func_sqrtl_use=yes
42480 else
42481 glibcxx_cv_func_sqrtl_use=no
42482 fi
42483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42484 ac_ext=c
42485 ac_cpp='$CPP $CPPFLAGS'
42486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42489
42490
42491 fi
42492
42493 fi
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
42495 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
42496
42497 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
42498 for ac_func in sqrtl
42499 do :
42500 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
42501 if test "x$ac_cv_func_sqrtl" = xyes; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define HAVE_SQRTL 1
42504 _ACEOF
42505
42506 fi
42507 done
42508
42509 else
42510
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
42512 $as_echo_n "checking for _sqrtl declaration... " >&6; }
42513 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
42514 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
42515 $as_echo_n "(cached) " >&6
42516 else
42517
42518
42519 ac_ext=cpp
42520 ac_cpp='$CXXCPP $CPPFLAGS'
42521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42524
42525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526 /* end confdefs.h. */
42527 #include <math.h>
42528 #ifdef HAVE_IEEEFP_H
42529 #include <ieeefp.h>
42530 #endif
42531
42532 int
42533 main ()
42534 {
42535 _sqrtl(0);
42536 ;
42537 return 0;
42538 }
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func__sqrtl_use=yes
42542 else
42543 glibcxx_cv_func__sqrtl_use=no
42544 fi
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551
42552
42553 fi
42554
42555 fi
42556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
42557 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
42558
42559 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
42560 for ac_func in _sqrtl
42561 do :
42562 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
42563 if test "x$ac_cv_func__sqrtl" = xyes; then :
42564 cat >>confdefs.h <<_ACEOF
42565 #define HAVE__SQRTL 1
42566 _ACEOF
42567
42568 fi
42569 done
42570
42571 fi
42572 fi
42573
42574
42575
42576
42577
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
42579 $as_echo_n "checking for sincosl declaration... " >&6; }
42580 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
42581 if ${glibcxx_cv_func_sincosl_use+:} false; then :
42582 $as_echo_n "(cached) " >&6
42583 else
42584
42585
42586 ac_ext=cpp
42587 ac_cpp='$CXXCPP $CPPFLAGS'
42588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42591
42592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42593 /* end confdefs.h. */
42594 #include <math.h>
42595 int
42596 main ()
42597 {
42598 sincosl(0, 0, 0);
42599 ;
42600 return 0;
42601 }
42602 _ACEOF
42603 if ac_fn_cxx_try_compile "$LINENO"; then :
42604 glibcxx_cv_func_sincosl_use=yes
42605 else
42606 glibcxx_cv_func_sincosl_use=no
42607 fi
42608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42609 ac_ext=c
42610 ac_cpp='$CPP $CPPFLAGS'
42611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42614
42615
42616 fi
42617
42618 fi
42619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
42620 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
42621
42622 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
42623 for ac_func in sincosl
42624 do :
42625 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
42626 if test "x$ac_cv_func_sincosl" = xyes; then :
42627 cat >>confdefs.h <<_ACEOF
42628 #define HAVE_SINCOSL 1
42629 _ACEOF
42630
42631 fi
42632 done
42633
42634 else
42635
42636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
42637 $as_echo_n "checking for _sincosl declaration... " >&6; }
42638 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
42639 if ${glibcxx_cv_func__sincosl_use+:} false; then :
42640 $as_echo_n "(cached) " >&6
42641 else
42642
42643
42644 ac_ext=cpp
42645 ac_cpp='$CXXCPP $CPPFLAGS'
42646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42649
42650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42651 /* end confdefs.h. */
42652 #include <math.h>
42653 int
42654 main ()
42655 {
42656 _sincosl(0, 0, 0);
42657 ;
42658 return 0;
42659 }
42660 _ACEOF
42661 if ac_fn_cxx_try_compile "$LINENO"; then :
42662 glibcxx_cv_func__sincosl_use=yes
42663 else
42664 glibcxx_cv_func__sincosl_use=no
42665 fi
42666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42667 ac_ext=c
42668 ac_cpp='$CPP $CPPFLAGS'
42669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42672
42673
42674 fi
42675
42676 fi
42677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
42678 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
42679
42680 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
42681 for ac_func in _sincosl
42682 do :
42683 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
42684 if test "x$ac_cv_func__sincosl" = xyes; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define HAVE__SINCOSL 1
42687 _ACEOF
42688
42689 fi
42690 done
42691
42692 fi
42693 fi
42694
42695
42696
42697
42698
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
42700 $as_echo_n "checking for finitel declaration... " >&6; }
42701 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
42702 if ${glibcxx_cv_func_finitel_use+:} false; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42705
42706
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42719
42720 int
42721 main ()
42722 {
42723 finitel(0);
42724 ;
42725 return 0;
42726 }
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func_finitel_use=yes
42730 else
42731 glibcxx_cv_func_finitel_use=no
42732 fi
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42739
42740
42741 fi
42742
42743 fi
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
42745 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
42746
42747 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
42748 for ac_func in finitel
42749 do :
42750 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
42751 if test "x$ac_cv_func_finitel" = xyes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE_FINITEL 1
42754 _ACEOF
42755
42756 fi
42757 done
42758
42759 else
42760
42761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
42762 $as_echo_n "checking for _finitel declaration... " >&6; }
42763 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
42764 if ${glibcxx_cv_func__finitel_use+:} false; then :
42765 $as_echo_n "(cached) " >&6
42766 else
42767
42768
42769 ac_ext=cpp
42770 ac_cpp='$CXXCPP $CPPFLAGS'
42771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42774
42775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42776 /* end confdefs.h. */
42777 #include <math.h>
42778 #ifdef HAVE_IEEEFP_H
42779 #include <ieeefp.h>
42780 #endif
42781
42782 int
42783 main ()
42784 {
42785 _finitel(0);
42786 ;
42787 return 0;
42788 }
42789 _ACEOF
42790 if ac_fn_cxx_try_compile "$LINENO"; then :
42791 glibcxx_cv_func__finitel_use=yes
42792 else
42793 glibcxx_cv_func__finitel_use=no
42794 fi
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796 ac_ext=c
42797 ac_cpp='$CPP $CPPFLAGS'
42798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42801
42802
42803 fi
42804
42805 fi
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
42807 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
42808
42809 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
42810 for ac_func in _finitel
42811 do :
42812 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
42813 if test "x$ac_cv_func__finitel" = xyes; then :
42814 cat >>confdefs.h <<_ACEOF
42815 #define HAVE__FINITEL 1
42816 _ACEOF
42817
42818 fi
42819 done
42820
42821 fi
42822 fi
42823
42824
42825
42826
42827 LIBS="$ac_save_LIBS"
42828 CXXFLAGS="$ac_save_CXXFLAGS"
42829
42830
42831 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42832 ac_save_CXXFLAGS="$CXXFLAGS"
42833 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42834
42835
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
42837 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
42838 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
42839 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
42840 $as_echo_n "(cached) " >&6
42841 else
42842
42843
42844 ac_ext=cpp
42845 ac_cpp='$CXXCPP $CPPFLAGS'
42846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42849
42850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42851 /* end confdefs.h. */
42852 #include <stdlib.h>
42853 int
42854 main ()
42855 {
42856 at_quick_exit(0);
42857 ;
42858 return 0;
42859 }
42860 _ACEOF
42861 if ac_fn_cxx_try_compile "$LINENO"; then :
42862 glibcxx_cv_func_at_quick_exit_use=yes
42863 else
42864 glibcxx_cv_func_at_quick_exit_use=no
42865 fi
42866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42867 ac_ext=c
42868 ac_cpp='$CPP $CPPFLAGS'
42869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42872
42873
42874 fi
42875
42876 fi
42877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
42878 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
42879 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
42880 for ac_func in at_quick_exit
42881 do :
42882 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
42883 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
42884 cat >>confdefs.h <<_ACEOF
42885 #define HAVE_AT_QUICK_EXIT 1
42886 _ACEOF
42887
42888 fi
42889 done
42890
42891 fi
42892
42893
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
42895 $as_echo_n "checking for quick_exit declaration... " >&6; }
42896 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
42897 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
42898 $as_echo_n "(cached) " >&6
42899 else
42900
42901
42902 ac_ext=cpp
42903 ac_cpp='$CXXCPP $CPPFLAGS'
42904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42907
42908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42909 /* end confdefs.h. */
42910 #include <stdlib.h>
42911 int
42912 main ()
42913 {
42914 quick_exit(0);
42915 ;
42916 return 0;
42917 }
42918 _ACEOF
42919 if ac_fn_cxx_try_compile "$LINENO"; then :
42920 glibcxx_cv_func_quick_exit_use=yes
42921 else
42922 glibcxx_cv_func_quick_exit_use=no
42923 fi
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925 ac_ext=c
42926 ac_cpp='$CPP $CPPFLAGS'
42927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42930
42931
42932 fi
42933
42934 fi
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
42936 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
42937 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
42938 for ac_func in quick_exit
42939 do :
42940 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
42941 if test "x$ac_cv_func_quick_exit" = xyes; then :
42942 cat >>confdefs.h <<_ACEOF
42943 #define HAVE_QUICK_EXIT 1
42944 _ACEOF
42945
42946 fi
42947 done
42948
42949 fi
42950
42951
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
42953 $as_echo_n "checking for strtold declaration... " >&6; }
42954 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
42955 if ${glibcxx_cv_func_strtold_use+:} false; then :
42956 $as_echo_n "(cached) " >&6
42957 else
42958
42959
42960 ac_ext=cpp
42961 ac_cpp='$CXXCPP $CPPFLAGS'
42962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42965
42966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42967 /* end confdefs.h. */
42968 #include <stdlib.h>
42969 int
42970 main ()
42971 {
42972 strtold(0, 0);
42973 ;
42974 return 0;
42975 }
42976 _ACEOF
42977 if ac_fn_cxx_try_compile "$LINENO"; then :
42978 glibcxx_cv_func_strtold_use=yes
42979 else
42980 glibcxx_cv_func_strtold_use=no
42981 fi
42982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42983 ac_ext=c
42984 ac_cpp='$CPP $CPPFLAGS'
42985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42988
42989
42990 fi
42991
42992 fi
42993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
42994 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
42995 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
42996 for ac_func in strtold
42997 do :
42998 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
42999 if test "x$ac_cv_func_strtold" = xyes; then :
43000 cat >>confdefs.h <<_ACEOF
43001 #define HAVE_STRTOLD 1
43002 _ACEOF
43003
43004 fi
43005 done
43006
43007 fi
43008
43009
43010
43011
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43013 $as_echo_n "checking for strtof declaration... " >&6; }
43014 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43015 if ${glibcxx_cv_func_strtof_use+:} false; then :
43016 $as_echo_n "(cached) " >&6
43017 else
43018
43019
43020 ac_ext=cpp
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43025
43026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43027 /* end confdefs.h. */
43028 #include <stdlib.h>
43029 int
43030 main ()
43031 {
43032 strtof(0, 0);
43033 ;
43034 return 0;
43035 }
43036 _ACEOF
43037 if ac_fn_cxx_try_compile "$LINENO"; then :
43038 glibcxx_cv_func_strtof_use=yes
43039 else
43040 glibcxx_cv_func_strtof_use=no
43041 fi
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43048
43049
43050 fi
43051
43052 fi
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43054 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43055 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43056 for ac_func in strtof
43057 do :
43058 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43059 if test "x$ac_cv_func_strtof" = xyes; then :
43060 cat >>confdefs.h <<_ACEOF
43061 #define HAVE_STRTOF 1
43062 _ACEOF
43063
43064 fi
43065 done
43066
43067 fi
43068
43069
43070
43071
43072 CXXFLAGS="$ac_save_CXXFLAGS"
43073
43074 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
43075
43076 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
43077
43078 # We don't yet support AIX's TLS ABI.
43079 #GCC_CHECK_TLS
43080
43081
43082
43083
43084
43085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
43086 $as_echo_n "checking for iconv... " >&6; }
43087 if ${am_cv_func_iconv+:} false; then :
43088 $as_echo_n "(cached) " >&6
43089 else
43090
43091 am_cv_func_iconv="no, consider installing GNU libiconv"
43092 am_cv_lib_iconv=no
43093 am_save_CPPFLAGS="$CPPFLAGS"
43094 CPPFLAGS="$CPPFLAGS $INCICONV"
43095 if test x$gcc_no_link = xyes; then
43096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43097 fi
43098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43099 /* end confdefs.h. */
43100 #include <stdlib.h>
43101 #include <iconv.h>
43102 int
43103 main ()
43104 {
43105 iconv_t cd = iconv_open("","");
43106 iconv(cd,NULL,NULL,NULL,NULL);
43107 iconv_close(cd);
43108 ;
43109 return 0;
43110 }
43111 _ACEOF
43112 if ac_fn_c_try_link "$LINENO"; then :
43113 am_cv_func_iconv=yes
43114 fi
43115 rm -f core conftest.err conftest.$ac_objext \
43116 conftest$ac_exeext conftest.$ac_ext
43117 CPPFLAGS="$am_save_CPPFLAGS"
43118
43119 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
43120 for _libs in .libs _libs; do
43121 am_save_CPPFLAGS="$CPPFLAGS"
43122 am_save_LIBS="$LIBS"
43123 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
43124 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
43125 if test x$gcc_no_link = xyes; then
43126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43127 fi
43128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h. */
43130 #include <stdlib.h>
43131 #include <iconv.h>
43132 int
43133 main ()
43134 {
43135 iconv_t cd = iconv_open("","");
43136 iconv(cd,NULL,NULL,NULL,NULL);
43137 iconv_close(cd);
43138 ;
43139 return 0;
43140 }
43141 _ACEOF
43142 if ac_fn_c_try_link "$LINENO"; then :
43143 INCICONV="-I../libiconv/include"
43144 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
43145 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
43146 am_cv_lib_iconv=yes
43147 am_cv_func_iconv=yes
43148 fi
43149 rm -f core conftest.err conftest.$ac_objext \
43150 conftest$ac_exeext conftest.$ac_ext
43151 CPPFLAGS="$am_save_CPPFLAGS"
43152 LIBS="$am_save_LIBS"
43153 if test "$am_cv_func_iconv" = "yes"; then
43154 break
43155 fi
43156 done
43157 fi
43158
43159 if test "$am_cv_func_iconv" != yes; then
43160 am_save_CPPFLAGS="$CPPFLAGS"
43161 am_save_LIBS="$LIBS"
43162 CPPFLAGS="$CPPFLAGS $INCICONV"
43163 LIBS="$LIBS $LIBICONV"
43164 if test x$gcc_no_link = xyes; then
43165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43166 fi
43167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43168 /* end confdefs.h. */
43169 #include <stdlib.h>
43170 #include <iconv.h>
43171 int
43172 main ()
43173 {
43174 iconv_t cd = iconv_open("","");
43175 iconv(cd,NULL,NULL,NULL,NULL);
43176 iconv_close(cd);
43177 ;
43178 return 0;
43179 }
43180 _ACEOF
43181 if ac_fn_c_try_link "$LINENO"; then :
43182 am_cv_lib_iconv=yes
43183 am_cv_func_iconv=yes
43184 fi
43185 rm -f core conftest.err conftest.$ac_objext \
43186 conftest$ac_exeext conftest.$ac_ext
43187 CPPFLAGS="$am_save_CPPFLAGS"
43188 LIBS="$am_save_LIBS"
43189 fi
43190
43191 fi
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
43193 $as_echo "$am_cv_func_iconv" >&6; }
43194 if test "$am_cv_func_iconv" = yes; then
43195
43196 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
43197
43198 fi
43199 if test "$am_cv_lib_iconv" = yes; then
43200
43201 for element in $INCICONV; do
43202 haveit=
43203 for x in $CPPFLAGS; do
43204
43205 acl_save_prefix="$prefix"
43206 prefix="$acl_final_prefix"
43207 acl_save_exec_prefix="$exec_prefix"
43208 exec_prefix="$acl_final_exec_prefix"
43209 eval x=\"$x\"
43210 exec_prefix="$acl_save_exec_prefix"
43211 prefix="$acl_save_prefix"
43212
43213 if test "X$x" = "X$element"; then
43214 haveit=yes
43215 break
43216 fi
43217 done
43218 if test -z "$haveit"; then
43219 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43220 fi
43221 done
43222
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
43224 $as_echo_n "checking how to link with libiconv... " >&6; }
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
43226 $as_echo "$LIBICONV" >&6; }
43227 else
43228 LIBICONV=
43229 LTLIBICONV=
43230 fi
43231
43232
43233
43234 if test "$am_cv_func_iconv" = yes; then
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
43236 $as_echo_n "checking for iconv declaration... " >&6; }
43237 if ${am_cv_proto_iconv+:} false; then :
43238 $as_echo_n "(cached) " >&6
43239 else
43240
43241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43242 /* end confdefs.h. */
43243
43244 #include <stdlib.h>
43245 #include <iconv.h>
43246 extern
43247 #ifdef __cplusplus
43248 "C"
43249 #endif
43250 #if defined(__STDC__) || defined(__cplusplus)
43251 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43252 #else
43253 size_t iconv();
43254 #endif
43255
43256 int
43257 main ()
43258 {
43259
43260 ;
43261 return 0;
43262 }
43263 _ACEOF
43264 if ac_fn_c_try_compile "$LINENO"; then :
43265 am_cv_proto_iconv_arg1=""
43266 else
43267 am_cv_proto_iconv_arg1="const"
43268 fi
43269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43270 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);"
43271 fi
43272
43273 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
43275 }$am_cv_proto_iconv" >&5
43276 $as_echo "${ac_t:-
43277 }$am_cv_proto_iconv" >&6; }
43278
43279 cat >>confdefs.h <<_ACEOF
43280 #define ICONV_CONST $am_cv_proto_iconv_arg1
43281 _ACEOF
43282
43283 fi
43284
43285
43286 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
43287
43288 ;;
43289
43290 *-darwin*)
43291 # Darwin versions vary, but the linker should work in a cross environment,
43292 # so we just check for all the features here.
43293 # Check for available headers.
43294
43295 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
43296
43297 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43298 ac_save_CXXFLAGS="$CXXFLAGS"
43299 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43300
43301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
43302 $as_echo_n "checking for sin in -lm... " >&6; }
43303 if ${ac_cv_lib_m_sin+:} false; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43306 ac_check_lib_save_LIBS=$LIBS
43307 LIBS="-lm $LIBS"
43308 if test x$gcc_no_link = xyes; then
43309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43310 fi
43311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43312 /* end confdefs.h. */
43313
43314 /* Override any GCC internal prototype to avoid an error.
43315 Use char because int might match the return type of a GCC
43316 builtin and then its argument prototype would still apply. */
43317 #ifdef __cplusplus
43318 extern "C"
43319 #endif
43320 char sin ();
43321 int
43322 main ()
43323 {
43324 return sin ();
43325 ;
43326 return 0;
43327 }
43328 _ACEOF
43329 if ac_fn_c_try_link "$LINENO"; then :
43330 ac_cv_lib_m_sin=yes
43331 else
43332 ac_cv_lib_m_sin=no
43333 fi
43334 rm -f core conftest.err conftest.$ac_objext \
43335 conftest$ac_exeext conftest.$ac_ext
43336 LIBS=$ac_check_lib_save_LIBS
43337 fi
43338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
43339 $as_echo "$ac_cv_lib_m_sin" >&6; }
43340 if test "x$ac_cv_lib_m_sin" = xyes; then :
43341 libm="-lm"
43342 fi
43343
43344 ac_save_LIBS="$LIBS"
43345 LIBS="$LIBS $libm"
43346
43347
43348
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
43350 $as_echo_n "checking for isinf declaration... " >&6; }
43351 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43352 if ${glibcxx_cv_func_isinf_use+:} false; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43355
43356
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43362
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43366 #ifdef HAVE_IEEEFP_H
43367 #include <ieeefp.h>
43368 #endif
43369
43370 int
43371 main ()
43372 {
43373 isinf(0);
43374 ;
43375 return 0;
43376 }
43377 _ACEOF
43378 if ac_fn_cxx_try_compile "$LINENO"; then :
43379 glibcxx_cv_func_isinf_use=yes
43380 else
43381 glibcxx_cv_func_isinf_use=no
43382 fi
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384 ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389
43390
43391 fi
43392
43393 fi
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
43395 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
43396
43397 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43398 for ac_func in isinf
43399 do :
43400 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
43401 if test "x$ac_cv_func_isinf" = xyes; then :
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE_ISINF 1
43404 _ACEOF
43405
43406 fi
43407 done
43408
43409 else
43410
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
43412 $as_echo_n "checking for _isinf declaration... " >&6; }
43413 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43414 if ${glibcxx_cv_func__isinf_use+:} false; then :
43415 $as_echo_n "(cached) " >&6
43416 else
43417
43418
43419 ac_ext=cpp
43420 ac_cpp='$CXXCPP $CPPFLAGS'
43421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43424
43425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43426 /* end confdefs.h. */
43427 #include <math.h>
43428 #ifdef HAVE_IEEEFP_H
43429 #include <ieeefp.h>
43430 #endif
43431
43432 int
43433 main ()
43434 {
43435 _isinf(0);
43436 ;
43437 return 0;
43438 }
43439 _ACEOF
43440 if ac_fn_cxx_try_compile "$LINENO"; then :
43441 glibcxx_cv_func__isinf_use=yes
43442 else
43443 glibcxx_cv_func__isinf_use=no
43444 fi
43445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43446 ac_ext=c
43447 ac_cpp='$CPP $CPPFLAGS'
43448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43451
43452
43453 fi
43454
43455 fi
43456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
43457 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
43458
43459 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43460 for ac_func in _isinf
43461 do :
43462 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
43463 if test "x$ac_cv_func__isinf" = xyes; then :
43464 cat >>confdefs.h <<_ACEOF
43465 #define HAVE__ISINF 1
43466 _ACEOF
43467
43468 fi
43469 done
43470
43471 fi
43472 fi
43473
43474
43475
43476
43477
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
43479 $as_echo_n "checking for isnan declaration... " >&6; }
43480 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43481 if ${glibcxx_cv_func_isnan_use+:} false; then :
43482 $as_echo_n "(cached) " >&6
43483 else
43484
43485
43486 ac_ext=cpp
43487 ac_cpp='$CXXCPP $CPPFLAGS'
43488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43491
43492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43493 /* end confdefs.h. */
43494 #include <math.h>
43495 #ifdef HAVE_IEEEFP_H
43496 #include <ieeefp.h>
43497 #endif
43498
43499 int
43500 main ()
43501 {
43502 isnan(0);
43503 ;
43504 return 0;
43505 }
43506 _ACEOF
43507 if ac_fn_cxx_try_compile "$LINENO"; then :
43508 glibcxx_cv_func_isnan_use=yes
43509 else
43510 glibcxx_cv_func_isnan_use=no
43511 fi
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518
43519
43520 fi
43521
43522 fi
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
43524 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
43525
43526 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43527 for ac_func in isnan
43528 do :
43529 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
43530 if test "x$ac_cv_func_isnan" = xyes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define HAVE_ISNAN 1
43533 _ACEOF
43534
43535 fi
43536 done
43537
43538 else
43539
43540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
43541 $as_echo_n "checking for _isnan declaration... " >&6; }
43542 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43543 if ${glibcxx_cv_func__isnan_use+:} false; then :
43544 $as_echo_n "(cached) " >&6
43545 else
43546
43547
43548 ac_ext=cpp
43549 ac_cpp='$CXXCPP $CPPFLAGS'
43550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43553
43554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43555 /* end confdefs.h. */
43556 #include <math.h>
43557 #ifdef HAVE_IEEEFP_H
43558 #include <ieeefp.h>
43559 #endif
43560
43561 int
43562 main ()
43563 {
43564 _isnan(0);
43565 ;
43566 return 0;
43567 }
43568 _ACEOF
43569 if ac_fn_cxx_try_compile "$LINENO"; then :
43570 glibcxx_cv_func__isnan_use=yes
43571 else
43572 glibcxx_cv_func__isnan_use=no
43573 fi
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575 ac_ext=c
43576 ac_cpp='$CPP $CPPFLAGS'
43577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43580
43581
43582 fi
43583
43584 fi
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
43586 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
43587
43588 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43589 for ac_func in _isnan
43590 do :
43591 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
43592 if test "x$ac_cv_func__isnan" = xyes; then :
43593 cat >>confdefs.h <<_ACEOF
43594 #define HAVE__ISNAN 1
43595 _ACEOF
43596
43597 fi
43598 done
43599
43600 fi
43601 fi
43602
43603
43604
43605
43606
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
43608 $as_echo_n "checking for finite declaration... " >&6; }
43609 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43610 if ${glibcxx_cv_func_finite_use+:} false; then :
43611 $as_echo_n "(cached) " >&6
43612 else
43613
43614
43615 ac_ext=cpp
43616 ac_cpp='$CXXCPP $CPPFLAGS'
43617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43620
43621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43622 /* end confdefs.h. */
43623 #include <math.h>
43624 #ifdef HAVE_IEEEFP_H
43625 #include <ieeefp.h>
43626 #endif
43627
43628 int
43629 main ()
43630 {
43631 finite(0);
43632 ;
43633 return 0;
43634 }
43635 _ACEOF
43636 if ac_fn_cxx_try_compile "$LINENO"; then :
43637 glibcxx_cv_func_finite_use=yes
43638 else
43639 glibcxx_cv_func_finite_use=no
43640 fi
43641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43642 ac_ext=c
43643 ac_cpp='$CPP $CPPFLAGS'
43644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43647
43648
43649 fi
43650
43651 fi
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
43653 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
43654
43655 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43656 for ac_func in finite
43657 do :
43658 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
43659 if test "x$ac_cv_func_finite" = xyes; then :
43660 cat >>confdefs.h <<_ACEOF
43661 #define HAVE_FINITE 1
43662 _ACEOF
43663
43664 fi
43665 done
43666
43667 else
43668
43669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
43670 $as_echo_n "checking for _finite declaration... " >&6; }
43671 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43672 if ${glibcxx_cv_func__finite_use+:} false; then :
43673 $as_echo_n "(cached) " >&6
43674 else
43675
43676
43677 ac_ext=cpp
43678 ac_cpp='$CXXCPP $CPPFLAGS'
43679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43682
43683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43684 /* end confdefs.h. */
43685 #include <math.h>
43686 #ifdef HAVE_IEEEFP_H
43687 #include <ieeefp.h>
43688 #endif
43689
43690 int
43691 main ()
43692 {
43693 _finite(0);
43694 ;
43695 return 0;
43696 }
43697 _ACEOF
43698 if ac_fn_cxx_try_compile "$LINENO"; then :
43699 glibcxx_cv_func__finite_use=yes
43700 else
43701 glibcxx_cv_func__finite_use=no
43702 fi
43703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43704 ac_ext=c
43705 ac_cpp='$CPP $CPPFLAGS'
43706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43709
43710
43711 fi
43712
43713 fi
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
43715 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
43716
43717 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43718 for ac_func in _finite
43719 do :
43720 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
43721 if test "x$ac_cv_func__finite" = xyes; then :
43722 cat >>confdefs.h <<_ACEOF
43723 #define HAVE__FINITE 1
43724 _ACEOF
43725
43726 fi
43727 done
43728
43729 fi
43730 fi
43731
43732
43733
43734
43735
43736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
43737 $as_echo_n "checking for sincos declaration... " >&6; }
43738 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43739 if ${glibcxx_cv_func_sincos_use+:} false; then :
43740 $as_echo_n "(cached) " >&6
43741 else
43742
43743
43744 ac_ext=cpp
43745 ac_cpp='$CXXCPP $CPPFLAGS'
43746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43749
43750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43751 /* end confdefs.h. */
43752 #include <math.h>
43753 int
43754 main ()
43755 {
43756 sincos(0, 0, 0);
43757 ;
43758 return 0;
43759 }
43760 _ACEOF
43761 if ac_fn_cxx_try_compile "$LINENO"; then :
43762 glibcxx_cv_func_sincos_use=yes
43763 else
43764 glibcxx_cv_func_sincos_use=no
43765 fi
43766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43767 ac_ext=c
43768 ac_cpp='$CPP $CPPFLAGS'
43769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43772
43773
43774 fi
43775
43776 fi
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
43778 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
43779
43780 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43781 for ac_func in sincos
43782 do :
43783 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
43784 if test "x$ac_cv_func_sincos" = xyes; then :
43785 cat >>confdefs.h <<_ACEOF
43786 #define HAVE_SINCOS 1
43787 _ACEOF
43788
43789 fi
43790 done
43791
43792 else
43793
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
43795 $as_echo_n "checking for _sincos declaration... " >&6; }
43796 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43797 if ${glibcxx_cv_func__sincos_use+:} false; then :
43798 $as_echo_n "(cached) " >&6
43799 else
43800
43801
43802 ac_ext=cpp
43803 ac_cpp='$CXXCPP $CPPFLAGS'
43804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43807
43808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43809 /* end confdefs.h. */
43810 #include <math.h>
43811 int
43812 main ()
43813 {
43814 _sincos(0, 0, 0);
43815 ;
43816 return 0;
43817 }
43818 _ACEOF
43819 if ac_fn_cxx_try_compile "$LINENO"; then :
43820 glibcxx_cv_func__sincos_use=yes
43821 else
43822 glibcxx_cv_func__sincos_use=no
43823 fi
43824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43825 ac_ext=c
43826 ac_cpp='$CPP $CPPFLAGS'
43827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43830
43831
43832 fi
43833
43834 fi
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
43836 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
43837
43838 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43839 for ac_func in _sincos
43840 do :
43841 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
43842 if test "x$ac_cv_func__sincos" = xyes; then :
43843 cat >>confdefs.h <<_ACEOF
43844 #define HAVE__SINCOS 1
43845 _ACEOF
43846
43847 fi
43848 done
43849
43850 fi
43851 fi
43852
43853
43854
43855
43856
43857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
43858 $as_echo_n "checking for fpclass declaration... " >&6; }
43859 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43860 if ${glibcxx_cv_func_fpclass_use+:} false; then :
43861 $as_echo_n "(cached) " >&6
43862 else
43863
43864
43865 ac_ext=cpp
43866 ac_cpp='$CXXCPP $CPPFLAGS'
43867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43870
43871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43872 /* end confdefs.h. */
43873 #include <math.h>
43874 #ifdef HAVE_IEEEFP_H
43875 #include <ieeefp.h>
43876 #endif
43877
43878 int
43879 main ()
43880 {
43881 fpclass(0);
43882 ;
43883 return 0;
43884 }
43885 _ACEOF
43886 if ac_fn_cxx_try_compile "$LINENO"; then :
43887 glibcxx_cv_func_fpclass_use=yes
43888 else
43889 glibcxx_cv_func_fpclass_use=no
43890 fi
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892 ac_ext=c
43893 ac_cpp='$CPP $CPPFLAGS'
43894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43897
43898
43899 fi
43900
43901 fi
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
43903 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
43904
43905 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43906 for ac_func in fpclass
43907 do :
43908 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
43909 if test "x$ac_cv_func_fpclass" = xyes; then :
43910 cat >>confdefs.h <<_ACEOF
43911 #define HAVE_FPCLASS 1
43912 _ACEOF
43913
43914 fi
43915 done
43916
43917 else
43918
43919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
43920 $as_echo_n "checking for _fpclass declaration... " >&6; }
43921 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43922 if ${glibcxx_cv_func__fpclass_use+:} false; then :
43923 $as_echo_n "(cached) " >&6
43924 else
43925
43926
43927 ac_ext=cpp
43928 ac_cpp='$CXXCPP $CPPFLAGS'
43929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43932
43933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43934 /* end confdefs.h. */
43935 #include <math.h>
43936 #ifdef HAVE_IEEEFP_H
43937 #include <ieeefp.h>
43938 #endif
43939
43940 int
43941 main ()
43942 {
43943 _fpclass(0);
43944 ;
43945 return 0;
43946 }
43947 _ACEOF
43948 if ac_fn_cxx_try_compile "$LINENO"; then :
43949 glibcxx_cv_func__fpclass_use=yes
43950 else
43951 glibcxx_cv_func__fpclass_use=no
43952 fi
43953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43954 ac_ext=c
43955 ac_cpp='$CPP $CPPFLAGS'
43956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43959
43960
43961 fi
43962
43963 fi
43964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
43965 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
43966
43967 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
43968 for ac_func in _fpclass
43969 do :
43970 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
43971 if test "x$ac_cv_func__fpclass" = xyes; then :
43972 cat >>confdefs.h <<_ACEOF
43973 #define HAVE__FPCLASS 1
43974 _ACEOF
43975
43976 fi
43977 done
43978
43979 fi
43980 fi
43981
43982
43983
43984
43985
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
43987 $as_echo_n "checking for qfpclass declaration... " >&6; }
43988 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
43989 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
43990 $as_echo_n "(cached) " >&6
43991 else
43992
43993
43994 ac_ext=cpp
43995 ac_cpp='$CXXCPP $CPPFLAGS'
43996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43999
44000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44001 /* end confdefs.h. */
44002 #include <math.h>
44003 #ifdef HAVE_IEEEFP_H
44004 #include <ieeefp.h>
44005 #endif
44006
44007 int
44008 main ()
44009 {
44010 qfpclass(0);
44011 ;
44012 return 0;
44013 }
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016 glibcxx_cv_func_qfpclass_use=yes
44017 else
44018 glibcxx_cv_func_qfpclass_use=no
44019 fi
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44026
44027
44028 fi
44029
44030 fi
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
44032 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
44033
44034 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44035 for ac_func in qfpclass
44036 do :
44037 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
44038 if test "x$ac_cv_func_qfpclass" = xyes; then :
44039 cat >>confdefs.h <<_ACEOF
44040 #define HAVE_QFPCLASS 1
44041 _ACEOF
44042
44043 fi
44044 done
44045
44046 else
44047
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
44049 $as_echo_n "checking for _qfpclass declaration... " >&6; }
44050 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44051 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
44052 $as_echo_n "(cached) " >&6
44053 else
44054
44055
44056 ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44061
44062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h. */
44064 #include <math.h>
44065 #ifdef HAVE_IEEEFP_H
44066 #include <ieeefp.h>
44067 #endif
44068
44069 int
44070 main ()
44071 {
44072 _qfpclass(0);
44073 ;
44074 return 0;
44075 }
44076 _ACEOF
44077 if ac_fn_cxx_try_compile "$LINENO"; then :
44078 glibcxx_cv_func__qfpclass_use=yes
44079 else
44080 glibcxx_cv_func__qfpclass_use=no
44081 fi
44082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44083 ac_ext=c
44084 ac_cpp='$CPP $CPPFLAGS'
44085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44088
44089
44090 fi
44091
44092 fi
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
44094 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
44095
44096 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44097 for ac_func in _qfpclass
44098 do :
44099 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
44100 if test "x$ac_cv_func__qfpclass" = xyes; then :
44101 cat >>confdefs.h <<_ACEOF
44102 #define HAVE__QFPCLASS 1
44103 _ACEOF
44104
44105 fi
44106 done
44107
44108 fi
44109 fi
44110
44111
44112
44113
44114
44115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
44116 $as_echo_n "checking for hypot declaration... " >&6; }
44117 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44118 if ${glibcxx_cv_func_hypot_use+:} false; then :
44119 $as_echo_n "(cached) " >&6
44120 else
44121
44122
44123 ac_ext=cpp
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44128
44129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44130 /* end confdefs.h. */
44131 #include <math.h>
44132 int
44133 main ()
44134 {
44135 hypot(0, 0);
44136 ;
44137 return 0;
44138 }
44139 _ACEOF
44140 if ac_fn_cxx_try_compile "$LINENO"; then :
44141 glibcxx_cv_func_hypot_use=yes
44142 else
44143 glibcxx_cv_func_hypot_use=no
44144 fi
44145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44146 ac_ext=c
44147 ac_cpp='$CPP $CPPFLAGS'
44148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44151
44152
44153 fi
44154
44155 fi
44156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
44157 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
44158
44159 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44160 for ac_func in hypot
44161 do :
44162 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
44163 if test "x$ac_cv_func_hypot" = xyes; then :
44164 cat >>confdefs.h <<_ACEOF
44165 #define HAVE_HYPOT 1
44166 _ACEOF
44167
44168 fi
44169 done
44170
44171 else
44172
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
44174 $as_echo_n "checking for _hypot declaration... " >&6; }
44175 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44176 if ${glibcxx_cv_func__hypot_use+:} false; then :
44177 $as_echo_n "(cached) " >&6
44178 else
44179
44180
44181 ac_ext=cpp
44182 ac_cpp='$CXXCPP $CPPFLAGS'
44183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44186
44187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44188 /* end confdefs.h. */
44189 #include <math.h>
44190 int
44191 main ()
44192 {
44193 _hypot(0, 0);
44194 ;
44195 return 0;
44196 }
44197 _ACEOF
44198 if ac_fn_cxx_try_compile "$LINENO"; then :
44199 glibcxx_cv_func__hypot_use=yes
44200 else
44201 glibcxx_cv_func__hypot_use=no
44202 fi
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204 ac_ext=c
44205 ac_cpp='$CPP $CPPFLAGS'
44206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44209
44210
44211 fi
44212
44213 fi
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
44215 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
44216
44217 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44218 for ac_func in _hypot
44219 do :
44220 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
44221 if test "x$ac_cv_func__hypot" = xyes; then :
44222 cat >>confdefs.h <<_ACEOF
44223 #define HAVE__HYPOT 1
44224 _ACEOF
44225
44226 fi
44227 done
44228
44229 fi
44230 fi
44231
44232
44233
44234
44235
44236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
44237 $as_echo_n "checking for float trig functions... " >&6; }
44238 if ${glibcxx_cv_func_float_trig_use+:} false; then :
44239 $as_echo_n "(cached) " >&6
44240 else
44241
44242
44243 ac_ext=cpp
44244 ac_cpp='$CXXCPP $CPPFLAGS'
44245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44248
44249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44250 /* end confdefs.h. */
44251 #include <math.h>
44252 int
44253 main ()
44254 {
44255 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44256 ;
44257 return 0;
44258 }
44259 _ACEOF
44260 if ac_fn_cxx_try_compile "$LINENO"; then :
44261 glibcxx_cv_func_float_trig_use=yes
44262 else
44263 glibcxx_cv_func_float_trig_use=no
44264 fi
44265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44266 ac_ext=c
44267 ac_cpp='$CPP $CPPFLAGS'
44268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44271
44272 fi
44273
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
44275 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
44276 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44277 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44278 do :
44279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44282 cat >>confdefs.h <<_ACEOF
44283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44284 _ACEOF
44285
44286 fi
44287 done
44288
44289 else
44290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
44291 $as_echo_n "checking for _float trig functions... " >&6; }
44292 if ${glibcxx_cv_func__float_trig_use+:} false; then :
44293 $as_echo_n "(cached) " >&6
44294 else
44295
44296
44297 ac_ext=cpp
44298 ac_cpp='$CXXCPP $CPPFLAGS'
44299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44302
44303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44304 /* end confdefs.h. */
44305 #include <math.h>
44306 int
44307 main ()
44308 {
44309 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44310 ;
44311 return 0;
44312 }
44313 _ACEOF
44314 if ac_fn_cxx_try_compile "$LINENO"; then :
44315 glibcxx_cv_func__float_trig_use=yes
44316 else
44317 glibcxx_cv_func__float_trig_use=no
44318 fi
44319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44320 ac_ext=c
44321 ac_cpp='$CPP $CPPFLAGS'
44322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44325
44326 fi
44327
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
44329 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
44330 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
44331 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
44332 do :
44333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44338 _ACEOF
44339
44340 fi
44341 done
44342
44343 fi
44344 fi
44345
44346
44347
44348
44349
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
44351 $as_echo_n "checking for float round functions... " >&6; }
44352 if ${glibcxx_cv_func_float_round_use+:} false; then :
44353 $as_echo_n "(cached) " >&6
44354 else
44355
44356
44357 ac_ext=cpp
44358 ac_cpp='$CXXCPP $CPPFLAGS'
44359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44362
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h. */
44365 #include <math.h>
44366 int
44367 main ()
44368 {
44369 ceilf (0); floorf (0);
44370 ;
44371 return 0;
44372 }
44373 _ACEOF
44374 if ac_fn_cxx_try_compile "$LINENO"; then :
44375 glibcxx_cv_func_float_round_use=yes
44376 else
44377 glibcxx_cv_func_float_round_use=no
44378 fi
44379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44380 ac_ext=c
44381 ac_cpp='$CPP $CPPFLAGS'
44382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44385
44386 fi
44387
44388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
44389 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
44390 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
44391 for ac_func in ceilf floorf
44392 do :
44393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44395 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44396 cat >>confdefs.h <<_ACEOF
44397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44398 _ACEOF
44399
44400 fi
44401 done
44402
44403 else
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
44405 $as_echo_n "checking for _float round functions... " >&6; }
44406 if ${glibcxx_cv_func__float_round_use+:} false; then :
44407 $as_echo_n "(cached) " >&6
44408 else
44409
44410
44411 ac_ext=cpp
44412 ac_cpp='$CXXCPP $CPPFLAGS'
44413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44416
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h. */
44419 #include <math.h>
44420 int
44421 main ()
44422 {
44423 _ceilf (0); _floorf (0);
44424 ;
44425 return 0;
44426 }
44427 _ACEOF
44428 if ac_fn_cxx_try_compile "$LINENO"; then :
44429 glibcxx_cv_func__float_round_use=yes
44430 else
44431 glibcxx_cv_func__float_round_use=no
44432 fi
44433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44434 ac_ext=c
44435 ac_cpp='$CPP $CPPFLAGS'
44436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44439
44440 fi
44441
44442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
44443 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
44444 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
44445 for ac_func in _ceilf _floorf
44446 do :
44447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44450 cat >>confdefs.h <<_ACEOF
44451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44452 _ACEOF
44453
44454 fi
44455 done
44456
44457 fi
44458 fi
44459
44460
44461
44462
44463
44464
44465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
44466 $as_echo_n "checking for expf declaration... " >&6; }
44467 if test x${glibcxx_cv_func_expf_use+set} != xset; then
44468 if ${glibcxx_cv_func_expf_use+:} false; then :
44469 $as_echo_n "(cached) " >&6
44470 else
44471
44472
44473 ac_ext=cpp
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44478
44479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44480 /* end confdefs.h. */
44481 #include <math.h>
44482 #ifdef HAVE_IEEEFP_H
44483 #include <ieeefp.h>
44484 #endif
44485
44486 int
44487 main ()
44488 {
44489 expf(0);
44490 ;
44491 return 0;
44492 }
44493 _ACEOF
44494 if ac_fn_cxx_try_compile "$LINENO"; then :
44495 glibcxx_cv_func_expf_use=yes
44496 else
44497 glibcxx_cv_func_expf_use=no
44498 fi
44499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44500 ac_ext=c
44501 ac_cpp='$CPP $CPPFLAGS'
44502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44505
44506
44507 fi
44508
44509 fi
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
44511 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
44512
44513 if test x$glibcxx_cv_func_expf_use = x"yes"; then
44514 for ac_func in expf
44515 do :
44516 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
44517 if test "x$ac_cv_func_expf" = xyes; then :
44518 cat >>confdefs.h <<_ACEOF
44519 #define HAVE_EXPF 1
44520 _ACEOF
44521
44522 fi
44523 done
44524
44525 else
44526
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
44528 $as_echo_n "checking for _expf declaration... " >&6; }
44529 if test x${glibcxx_cv_func__expf_use+set} != xset; then
44530 if ${glibcxx_cv_func__expf_use+:} false; then :
44531 $as_echo_n "(cached) " >&6
44532 else
44533
44534
44535 ac_ext=cpp
44536 ac_cpp='$CXXCPP $CPPFLAGS'
44537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44540
44541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44542 /* end confdefs.h. */
44543 #include <math.h>
44544 #ifdef HAVE_IEEEFP_H
44545 #include <ieeefp.h>
44546 #endif
44547
44548 int
44549 main ()
44550 {
44551 _expf(0);
44552 ;
44553 return 0;
44554 }
44555 _ACEOF
44556 if ac_fn_cxx_try_compile "$LINENO"; then :
44557 glibcxx_cv_func__expf_use=yes
44558 else
44559 glibcxx_cv_func__expf_use=no
44560 fi
44561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44562 ac_ext=c
44563 ac_cpp='$CPP $CPPFLAGS'
44564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44567
44568
44569 fi
44570
44571 fi
44572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
44573 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
44574
44575 if test x$glibcxx_cv_func__expf_use = x"yes"; then
44576 for ac_func in _expf
44577 do :
44578 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
44579 if test "x$ac_cv_func__expf" = xyes; then :
44580 cat >>confdefs.h <<_ACEOF
44581 #define HAVE__EXPF 1
44582 _ACEOF
44583
44584 fi
44585 done
44586
44587 fi
44588 fi
44589
44590
44591
44592
44593
44594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
44595 $as_echo_n "checking for isnanf declaration... " >&6; }
44596 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
44597 if ${glibcxx_cv_func_isnanf_use+:} false; then :
44598 $as_echo_n "(cached) " >&6
44599 else
44600
44601
44602 ac_ext=cpp
44603 ac_cpp='$CXXCPP $CPPFLAGS'
44604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44607
44608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44609 /* end confdefs.h. */
44610 #include <math.h>
44611 #ifdef HAVE_IEEEFP_H
44612 #include <ieeefp.h>
44613 #endif
44614
44615 int
44616 main ()
44617 {
44618 isnanf(0);
44619 ;
44620 return 0;
44621 }
44622 _ACEOF
44623 if ac_fn_cxx_try_compile "$LINENO"; then :
44624 glibcxx_cv_func_isnanf_use=yes
44625 else
44626 glibcxx_cv_func_isnanf_use=no
44627 fi
44628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44629 ac_ext=c
44630 ac_cpp='$CPP $CPPFLAGS'
44631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44634
44635
44636 fi
44637
44638 fi
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
44640 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
44641
44642 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
44643 for ac_func in isnanf
44644 do :
44645 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
44646 if test "x$ac_cv_func_isnanf" = xyes; then :
44647 cat >>confdefs.h <<_ACEOF
44648 #define HAVE_ISNANF 1
44649 _ACEOF
44650
44651 fi
44652 done
44653
44654 else
44655
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
44657 $as_echo_n "checking for _isnanf declaration... " >&6; }
44658 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
44659 if ${glibcxx_cv_func__isnanf_use+:} false; then :
44660 $as_echo_n "(cached) " >&6
44661 else
44662
44663
44664 ac_ext=cpp
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44669
44670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44671 /* end confdefs.h. */
44672 #include <math.h>
44673 #ifdef HAVE_IEEEFP_H
44674 #include <ieeefp.h>
44675 #endif
44676
44677 int
44678 main ()
44679 {
44680 _isnanf(0);
44681 ;
44682 return 0;
44683 }
44684 _ACEOF
44685 if ac_fn_cxx_try_compile "$LINENO"; then :
44686 glibcxx_cv_func__isnanf_use=yes
44687 else
44688 glibcxx_cv_func__isnanf_use=no
44689 fi
44690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44691 ac_ext=c
44692 ac_cpp='$CPP $CPPFLAGS'
44693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44696
44697
44698 fi
44699
44700 fi
44701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
44702 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
44703
44704 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
44705 for ac_func in _isnanf
44706 do :
44707 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
44708 if test "x$ac_cv_func__isnanf" = xyes; then :
44709 cat >>confdefs.h <<_ACEOF
44710 #define HAVE__ISNANF 1
44711 _ACEOF
44712
44713 fi
44714 done
44715
44716 fi
44717 fi
44718
44719
44720
44721
44722
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
44724 $as_echo_n "checking for isinff declaration... " >&6; }
44725 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
44726 if ${glibcxx_cv_func_isinff_use+:} false; then :
44727 $as_echo_n "(cached) " >&6
44728 else
44729
44730
44731 ac_ext=cpp
44732 ac_cpp='$CXXCPP $CPPFLAGS'
44733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44736
44737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44738 /* end confdefs.h. */
44739 #include <math.h>
44740 #ifdef HAVE_IEEEFP_H
44741 #include <ieeefp.h>
44742 #endif
44743
44744 int
44745 main ()
44746 {
44747 isinff(0);
44748 ;
44749 return 0;
44750 }
44751 _ACEOF
44752 if ac_fn_cxx_try_compile "$LINENO"; then :
44753 glibcxx_cv_func_isinff_use=yes
44754 else
44755 glibcxx_cv_func_isinff_use=no
44756 fi
44757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44758 ac_ext=c
44759 ac_cpp='$CPP $CPPFLAGS'
44760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44763
44764
44765 fi
44766
44767 fi
44768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
44769 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
44770
44771 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
44772 for ac_func in isinff
44773 do :
44774 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
44775 if test "x$ac_cv_func_isinff" = xyes; then :
44776 cat >>confdefs.h <<_ACEOF
44777 #define HAVE_ISINFF 1
44778 _ACEOF
44779
44780 fi
44781 done
44782
44783 else
44784
44785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
44786 $as_echo_n "checking for _isinff declaration... " >&6; }
44787 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
44788 if ${glibcxx_cv_func__isinff_use+:} false; then :
44789 $as_echo_n "(cached) " >&6
44790 else
44791
44792
44793 ac_ext=cpp
44794 ac_cpp='$CXXCPP $CPPFLAGS'
44795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44798
44799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44800 /* end confdefs.h. */
44801 #include <math.h>
44802 #ifdef HAVE_IEEEFP_H
44803 #include <ieeefp.h>
44804 #endif
44805
44806 int
44807 main ()
44808 {
44809 _isinff(0);
44810 ;
44811 return 0;
44812 }
44813 _ACEOF
44814 if ac_fn_cxx_try_compile "$LINENO"; then :
44815 glibcxx_cv_func__isinff_use=yes
44816 else
44817 glibcxx_cv_func__isinff_use=no
44818 fi
44819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44820 ac_ext=c
44821 ac_cpp='$CPP $CPPFLAGS'
44822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44825
44826
44827 fi
44828
44829 fi
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
44831 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
44832
44833 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
44834 for ac_func in _isinff
44835 do :
44836 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
44837 if test "x$ac_cv_func__isinff" = xyes; then :
44838 cat >>confdefs.h <<_ACEOF
44839 #define HAVE__ISINFF 1
44840 _ACEOF
44841
44842 fi
44843 done
44844
44845 fi
44846 fi
44847
44848
44849
44850
44851
44852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
44853 $as_echo_n "checking for atan2f declaration... " >&6; }
44854 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
44855 if ${glibcxx_cv_func_atan2f_use+:} false; then :
44856 $as_echo_n "(cached) " >&6
44857 else
44858
44859
44860 ac_ext=cpp
44861 ac_cpp='$CXXCPP $CPPFLAGS'
44862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44865
44866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44867 /* end confdefs.h. */
44868 #include <math.h>
44869 int
44870 main ()
44871 {
44872 atan2f(0, 0);
44873 ;
44874 return 0;
44875 }
44876 _ACEOF
44877 if ac_fn_cxx_try_compile "$LINENO"; then :
44878 glibcxx_cv_func_atan2f_use=yes
44879 else
44880 glibcxx_cv_func_atan2f_use=no
44881 fi
44882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883 ac_ext=c
44884 ac_cpp='$CPP $CPPFLAGS'
44885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44888
44889
44890 fi
44891
44892 fi
44893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
44894 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
44895
44896 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
44897 for ac_func in atan2f
44898 do :
44899 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
44900 if test "x$ac_cv_func_atan2f" = xyes; then :
44901 cat >>confdefs.h <<_ACEOF
44902 #define HAVE_ATAN2F 1
44903 _ACEOF
44904
44905 fi
44906 done
44907
44908 else
44909
44910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
44911 $as_echo_n "checking for _atan2f declaration... " >&6; }
44912 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
44913 if ${glibcxx_cv_func__atan2f_use+:} false; then :
44914 $as_echo_n "(cached) " >&6
44915 else
44916
44917
44918 ac_ext=cpp
44919 ac_cpp='$CXXCPP $CPPFLAGS'
44920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44923
44924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44925 /* end confdefs.h. */
44926 #include <math.h>
44927 int
44928 main ()
44929 {
44930 _atan2f(0, 0);
44931 ;
44932 return 0;
44933 }
44934 _ACEOF
44935 if ac_fn_cxx_try_compile "$LINENO"; then :
44936 glibcxx_cv_func__atan2f_use=yes
44937 else
44938 glibcxx_cv_func__atan2f_use=no
44939 fi
44940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44941 ac_ext=c
44942 ac_cpp='$CPP $CPPFLAGS'
44943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44946
44947
44948 fi
44949
44950 fi
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
44952 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
44953
44954 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
44955 for ac_func in _atan2f
44956 do :
44957 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
44958 if test "x$ac_cv_func__atan2f" = xyes; then :
44959 cat >>confdefs.h <<_ACEOF
44960 #define HAVE__ATAN2F 1
44961 _ACEOF
44962
44963 fi
44964 done
44965
44966 fi
44967 fi
44968
44969
44970
44971
44972
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
44974 $as_echo_n "checking for fabsf declaration... " >&6; }
44975 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
44976 if ${glibcxx_cv_func_fabsf_use+:} false; then :
44977 $as_echo_n "(cached) " >&6
44978 else
44979
44980
44981 ac_ext=cpp
44982 ac_cpp='$CXXCPP $CPPFLAGS'
44983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44986
44987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44988 /* end confdefs.h. */
44989 #include <math.h>
44990 #ifdef HAVE_IEEEFP_H
44991 #include <ieeefp.h>
44992 #endif
44993
44994 int
44995 main ()
44996 {
44997 fabsf(0);
44998 ;
44999 return 0;
45000 }
45001 _ACEOF
45002 if ac_fn_cxx_try_compile "$LINENO"; then :
45003 glibcxx_cv_func_fabsf_use=yes
45004 else
45005 glibcxx_cv_func_fabsf_use=no
45006 fi
45007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45008 ac_ext=c
45009 ac_cpp='$CPP $CPPFLAGS'
45010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45013
45014
45015 fi
45016
45017 fi
45018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
45019 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
45020
45021 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
45022 for ac_func in fabsf
45023 do :
45024 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
45025 if test "x$ac_cv_func_fabsf" = xyes; then :
45026 cat >>confdefs.h <<_ACEOF
45027 #define HAVE_FABSF 1
45028 _ACEOF
45029
45030 fi
45031 done
45032
45033 else
45034
45035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
45036 $as_echo_n "checking for _fabsf declaration... " >&6; }
45037 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
45038 if ${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
45053 #include <ieeefp.h>
45054 #endif
45055
45056 int
45057 main ()
45058 {
45059 _fabsf(0);
45060 ;
45061 return 0;
45062 }
45063 _ACEOF
45064 if ac_fn_cxx_try_compile "$LINENO"; then :
45065 glibcxx_cv_func__fabsf_use=yes
45066 else
45067 glibcxx_cv_func__fabsf_use=no
45068 fi
45069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45070 ac_ext=c
45071 ac_cpp='$CPP $CPPFLAGS'
45072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45075
45076
45077 fi
45078
45079 fi
45080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
45081 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
45082
45083 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
45084 for ac_func in _fabsf
45085 do :
45086 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
45087 if test "x$ac_cv_func__fabsf" = xyes; then :
45088 cat >>confdefs.h <<_ACEOF
45089 #define HAVE__FABSF 1
45090 _ACEOF
45091
45092 fi
45093 done
45094
45095 fi
45096 fi
45097
45098
45099
45100
45101
45102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
45103 $as_echo_n "checking for fmodf declaration... " >&6; }
45104 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
45105 if ${glibcxx_cv_func_fmodf_use+:} false; then :
45106 $as_echo_n "(cached) " >&6
45107 else
45108
45109
45110 ac_ext=cpp
45111 ac_cpp='$CXXCPP $CPPFLAGS'
45112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45115
45116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45117 /* end confdefs.h. */
45118 #include <math.h>
45119 int
45120 main ()
45121 {
45122 fmodf(0, 0);
45123 ;
45124 return 0;
45125 }
45126 _ACEOF
45127 if ac_fn_cxx_try_compile "$LINENO"; then :
45128 glibcxx_cv_func_fmodf_use=yes
45129 else
45130 glibcxx_cv_func_fmodf_use=no
45131 fi
45132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45133 ac_ext=c
45134 ac_cpp='$CPP $CPPFLAGS'
45135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45138
45139
45140 fi
45141
45142 fi
45143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
45144 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
45145
45146 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
45147 for ac_func in fmodf
45148 do :
45149 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
45150 if test "x$ac_cv_func_fmodf" = xyes; then :
45151 cat >>confdefs.h <<_ACEOF
45152 #define HAVE_FMODF 1
45153 _ACEOF
45154
45155 fi
45156 done
45157
45158 else
45159
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
45161 $as_echo_n "checking for _fmodf declaration... " >&6; }
45162 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
45163 if ${glibcxx_cv_func__fmodf_use+:} false; then :
45164 $as_echo_n "(cached) " >&6
45165 else
45166
45167
45168 ac_ext=cpp
45169 ac_cpp='$CXXCPP $CPPFLAGS'
45170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45173
45174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45175 /* end confdefs.h. */
45176 #include <math.h>
45177 int
45178 main ()
45179 {
45180 _fmodf(0, 0);
45181 ;
45182 return 0;
45183 }
45184 _ACEOF
45185 if ac_fn_cxx_try_compile "$LINENO"; then :
45186 glibcxx_cv_func__fmodf_use=yes
45187 else
45188 glibcxx_cv_func__fmodf_use=no
45189 fi
45190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45191 ac_ext=c
45192 ac_cpp='$CPP $CPPFLAGS'
45193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45196
45197
45198 fi
45199
45200 fi
45201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
45202 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
45203
45204 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
45205 for ac_func in _fmodf
45206 do :
45207 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
45208 if test "x$ac_cv_func__fmodf" = xyes; then :
45209 cat >>confdefs.h <<_ACEOF
45210 #define HAVE__FMODF 1
45211 _ACEOF
45212
45213 fi
45214 done
45215
45216 fi
45217 fi
45218
45219
45220
45221
45222
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
45224 $as_echo_n "checking for frexpf declaration... " >&6; }
45225 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
45226 if ${glibcxx_cv_func_frexpf_use+:} false; then :
45227 $as_echo_n "(cached) " >&6
45228 else
45229
45230
45231 ac_ext=cpp
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45236
45237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h. */
45239 #include <math.h>
45240 int
45241 main ()
45242 {
45243 frexpf(0, 0);
45244 ;
45245 return 0;
45246 }
45247 _ACEOF
45248 if ac_fn_cxx_try_compile "$LINENO"; then :
45249 glibcxx_cv_func_frexpf_use=yes
45250 else
45251 glibcxx_cv_func_frexpf_use=no
45252 fi
45253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45254 ac_ext=c
45255 ac_cpp='$CPP $CPPFLAGS'
45256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45259
45260
45261 fi
45262
45263 fi
45264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
45265 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
45266
45267 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
45268 for ac_func in frexpf
45269 do :
45270 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
45271 if test "x$ac_cv_func_frexpf" = xyes; then :
45272 cat >>confdefs.h <<_ACEOF
45273 #define HAVE_FREXPF 1
45274 _ACEOF
45275
45276 fi
45277 done
45278
45279 else
45280
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
45282 $as_echo_n "checking for _frexpf declaration... " >&6; }
45283 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
45284 if ${glibcxx_cv_func__frexpf_use+:} false; then :
45285 $as_echo_n "(cached) " >&6
45286 else
45287
45288
45289 ac_ext=cpp
45290 ac_cpp='$CXXCPP $CPPFLAGS'
45291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45294
45295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45296 /* end confdefs.h. */
45297 #include <math.h>
45298 int
45299 main ()
45300 {
45301 _frexpf(0, 0);
45302 ;
45303 return 0;
45304 }
45305 _ACEOF
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func__frexpf_use=yes
45308 else
45309 glibcxx_cv_func__frexpf_use=no
45310 fi
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45317
45318
45319 fi
45320
45321 fi
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
45323 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
45324
45325 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
45326 for ac_func in _frexpf
45327 do :
45328 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
45329 if test "x$ac_cv_func__frexpf" = xyes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE__FREXPF 1
45332 _ACEOF
45333
45334 fi
45335 done
45336
45337 fi
45338 fi
45339
45340
45341
45342
45343
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
45345 $as_echo_n "checking for hypotf declaration... " >&6; }
45346 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
45347 if ${glibcxx_cv_func_hypotf_use+:} false; then :
45348 $as_echo_n "(cached) " >&6
45349 else
45350
45351
45352 ac_ext=cpp
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45357
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45360 #include <math.h>
45361 int
45362 main ()
45363 {
45364 hypotf(0, 0);
45365 ;
45366 return 0;
45367 }
45368 _ACEOF
45369 if ac_fn_cxx_try_compile "$LINENO"; then :
45370 glibcxx_cv_func_hypotf_use=yes
45371 else
45372 glibcxx_cv_func_hypotf_use=no
45373 fi
45374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45375 ac_ext=c
45376 ac_cpp='$CPP $CPPFLAGS'
45377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45380
45381
45382 fi
45383
45384 fi
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
45386 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
45387
45388 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
45389 for ac_func in hypotf
45390 do :
45391 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
45392 if test "x$ac_cv_func_hypotf" = xyes; then :
45393 cat >>confdefs.h <<_ACEOF
45394 #define HAVE_HYPOTF 1
45395 _ACEOF
45396
45397 fi
45398 done
45399
45400 else
45401
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
45403 $as_echo_n "checking for _hypotf declaration... " >&6; }
45404 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
45405 if ${glibcxx_cv_func__hypotf_use+:} false; then :
45406 $as_echo_n "(cached) " >&6
45407 else
45408
45409
45410 ac_ext=cpp
45411 ac_cpp='$CXXCPP $CPPFLAGS'
45412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45415
45416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45417 /* end confdefs.h. */
45418 #include <math.h>
45419 int
45420 main ()
45421 {
45422 _hypotf(0, 0);
45423 ;
45424 return 0;
45425 }
45426 _ACEOF
45427 if ac_fn_cxx_try_compile "$LINENO"; then :
45428 glibcxx_cv_func__hypotf_use=yes
45429 else
45430 glibcxx_cv_func__hypotf_use=no
45431 fi
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433 ac_ext=c
45434 ac_cpp='$CPP $CPPFLAGS'
45435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45438
45439
45440 fi
45441
45442 fi
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
45444 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
45445
45446 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
45447 for ac_func in _hypotf
45448 do :
45449 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
45450 if test "x$ac_cv_func__hypotf" = xyes; then :
45451 cat >>confdefs.h <<_ACEOF
45452 #define HAVE__HYPOTF 1
45453 _ACEOF
45454
45455 fi
45456 done
45457
45458 fi
45459 fi
45460
45461
45462
45463
45464
45465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
45466 $as_echo_n "checking for ldexpf declaration... " >&6; }
45467 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
45468 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
45469 $as_echo_n "(cached) " >&6
45470 else
45471
45472
45473 ac_ext=cpp
45474 ac_cpp='$CXXCPP $CPPFLAGS'
45475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45478
45479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45480 /* end confdefs.h. */
45481 #include <math.h>
45482 int
45483 main ()
45484 {
45485 ldexpf(0, 0);
45486 ;
45487 return 0;
45488 }
45489 _ACEOF
45490 if ac_fn_cxx_try_compile "$LINENO"; then :
45491 glibcxx_cv_func_ldexpf_use=yes
45492 else
45493 glibcxx_cv_func_ldexpf_use=no
45494 fi
45495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45496 ac_ext=c
45497 ac_cpp='$CPP $CPPFLAGS'
45498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501
45502
45503 fi
45504
45505 fi
45506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
45507 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
45508
45509 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
45510 for ac_func in ldexpf
45511 do :
45512 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
45513 if test "x$ac_cv_func_ldexpf" = xyes; then :
45514 cat >>confdefs.h <<_ACEOF
45515 #define HAVE_LDEXPF 1
45516 _ACEOF
45517
45518 fi
45519 done
45520
45521 else
45522
45523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
45524 $as_echo_n "checking for _ldexpf declaration... " >&6; }
45525 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
45526 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
45527 $as_echo_n "(cached) " >&6
45528 else
45529
45530
45531 ac_ext=cpp
45532 ac_cpp='$CXXCPP $CPPFLAGS'
45533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45536
45537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45538 /* end confdefs.h. */
45539 #include <math.h>
45540 int
45541 main ()
45542 {
45543 _ldexpf(0, 0);
45544 ;
45545 return 0;
45546 }
45547 _ACEOF
45548 if ac_fn_cxx_try_compile "$LINENO"; then :
45549 glibcxx_cv_func__ldexpf_use=yes
45550 else
45551 glibcxx_cv_func__ldexpf_use=no
45552 fi
45553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45554 ac_ext=c
45555 ac_cpp='$CPP $CPPFLAGS'
45556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45559
45560
45561 fi
45562
45563 fi
45564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
45565 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
45566
45567 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
45568 for ac_func in _ldexpf
45569 do :
45570 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
45571 if test "x$ac_cv_func__ldexpf" = xyes; then :
45572 cat >>confdefs.h <<_ACEOF
45573 #define HAVE__LDEXPF 1
45574 _ACEOF
45575
45576 fi
45577 done
45578
45579 fi
45580 fi
45581
45582
45583
45584
45585
45586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
45587 $as_echo_n "checking for logf declaration... " >&6; }
45588 if test x${glibcxx_cv_func_logf_use+set} != xset; then
45589 if ${glibcxx_cv_func_logf_use+:} false; then :
45590 $as_echo_n "(cached) " >&6
45591 else
45592
45593
45594 ac_ext=cpp
45595 ac_cpp='$CXXCPP $CPPFLAGS'
45596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45599
45600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45601 /* end confdefs.h. */
45602 #include <math.h>
45603 #ifdef HAVE_IEEEFP_H
45604 #include <ieeefp.h>
45605 #endif
45606
45607 int
45608 main ()
45609 {
45610 logf(0);
45611 ;
45612 return 0;
45613 }
45614 _ACEOF
45615 if ac_fn_cxx_try_compile "$LINENO"; then :
45616 glibcxx_cv_func_logf_use=yes
45617 else
45618 glibcxx_cv_func_logf_use=no
45619 fi
45620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45621 ac_ext=c
45622 ac_cpp='$CPP $CPPFLAGS'
45623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45626
45627
45628 fi
45629
45630 fi
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
45632 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
45633
45634 if test x$glibcxx_cv_func_logf_use = x"yes"; then
45635 for ac_func in logf
45636 do :
45637 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
45638 if test "x$ac_cv_func_logf" = xyes; then :
45639 cat >>confdefs.h <<_ACEOF
45640 #define HAVE_LOGF 1
45641 _ACEOF
45642
45643 fi
45644 done
45645
45646 else
45647
45648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
45649 $as_echo_n "checking for _logf declaration... " >&6; }
45650 if test x${glibcxx_cv_func__logf_use+set} != xset; then
45651 if ${glibcxx_cv_func__logf_use+:} false; then :
45652 $as_echo_n "(cached) " >&6
45653 else
45654
45655
45656 ac_ext=cpp
45657 ac_cpp='$CXXCPP $CPPFLAGS'
45658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45661
45662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45663 /* end confdefs.h. */
45664 #include <math.h>
45665 #ifdef HAVE_IEEEFP_H
45666 #include <ieeefp.h>
45667 #endif
45668
45669 int
45670 main ()
45671 {
45672 _logf(0);
45673 ;
45674 return 0;
45675 }
45676 _ACEOF
45677 if ac_fn_cxx_try_compile "$LINENO"; then :
45678 glibcxx_cv_func__logf_use=yes
45679 else
45680 glibcxx_cv_func__logf_use=no
45681 fi
45682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45683 ac_ext=c
45684 ac_cpp='$CPP $CPPFLAGS'
45685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45688
45689
45690 fi
45691
45692 fi
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
45694 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
45695
45696 if test x$glibcxx_cv_func__logf_use = x"yes"; then
45697 for ac_func in _logf
45698 do :
45699 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
45700 if test "x$ac_cv_func__logf" = xyes; then :
45701 cat >>confdefs.h <<_ACEOF
45702 #define HAVE__LOGF 1
45703 _ACEOF
45704
45705 fi
45706 done
45707
45708 fi
45709 fi
45710
45711
45712
45713
45714
45715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
45716 $as_echo_n "checking for log10f declaration... " >&6; }
45717 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
45718 if ${glibcxx_cv_func_log10f_use+:} false; then :
45719 $as_echo_n "(cached) " >&6
45720 else
45721
45722
45723 ac_ext=cpp
45724 ac_cpp='$CXXCPP $CPPFLAGS'
45725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45728
45729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45730 /* end confdefs.h. */
45731 #include <math.h>
45732 #ifdef HAVE_IEEEFP_H
45733 #include <ieeefp.h>
45734 #endif
45735
45736 int
45737 main ()
45738 {
45739 log10f(0);
45740 ;
45741 return 0;
45742 }
45743 _ACEOF
45744 if ac_fn_cxx_try_compile "$LINENO"; then :
45745 glibcxx_cv_func_log10f_use=yes
45746 else
45747 glibcxx_cv_func_log10f_use=no
45748 fi
45749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45750 ac_ext=c
45751 ac_cpp='$CPP $CPPFLAGS'
45752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45755
45756
45757 fi
45758
45759 fi
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
45761 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
45762
45763 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
45764 for ac_func in log10f
45765 do :
45766 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
45767 if test "x$ac_cv_func_log10f" = xyes; then :
45768 cat >>confdefs.h <<_ACEOF
45769 #define HAVE_LOG10F 1
45770 _ACEOF
45771
45772 fi
45773 done
45774
45775 else
45776
45777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
45778 $as_echo_n "checking for _log10f declaration... " >&6; }
45779 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
45780 if ${glibcxx_cv_func__log10f_use+:} false; then :
45781 $as_echo_n "(cached) " >&6
45782 else
45783
45784
45785 ac_ext=cpp
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790
45791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45792 /* end confdefs.h. */
45793 #include <math.h>
45794 #ifdef HAVE_IEEEFP_H
45795 #include <ieeefp.h>
45796 #endif
45797
45798 int
45799 main ()
45800 {
45801 _log10f(0);
45802 ;
45803 return 0;
45804 }
45805 _ACEOF
45806 if ac_fn_cxx_try_compile "$LINENO"; then :
45807 glibcxx_cv_func__log10f_use=yes
45808 else
45809 glibcxx_cv_func__log10f_use=no
45810 fi
45811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45812 ac_ext=c
45813 ac_cpp='$CPP $CPPFLAGS'
45814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45817
45818
45819 fi
45820
45821 fi
45822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
45823 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
45824
45825 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
45826 for ac_func in _log10f
45827 do :
45828 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
45829 if test "x$ac_cv_func__log10f" = xyes; then :
45830 cat >>confdefs.h <<_ACEOF
45831 #define HAVE__LOG10F 1
45832 _ACEOF
45833
45834 fi
45835 done
45836
45837 fi
45838 fi
45839
45840
45841
45842
45843
45844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
45845 $as_echo_n "checking for modff declaration... " >&6; }
45846 if test x${glibcxx_cv_func_modff_use+set} != xset; then
45847 if ${glibcxx_cv_func_modff_use+:} false; then :
45848 $as_echo_n "(cached) " >&6
45849 else
45850
45851
45852 ac_ext=cpp
45853 ac_cpp='$CXXCPP $CPPFLAGS'
45854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45857
45858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45859 /* end confdefs.h. */
45860 #include <math.h>
45861 int
45862 main ()
45863 {
45864 modff(0, 0);
45865 ;
45866 return 0;
45867 }
45868 _ACEOF
45869 if ac_fn_cxx_try_compile "$LINENO"; then :
45870 glibcxx_cv_func_modff_use=yes
45871 else
45872 glibcxx_cv_func_modff_use=no
45873 fi
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45875 ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45880
45881
45882 fi
45883
45884 fi
45885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
45886 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
45887
45888 if test x$glibcxx_cv_func_modff_use = x"yes"; then
45889 for ac_func in modff
45890 do :
45891 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
45892 if test "x$ac_cv_func_modff" = xyes; then :
45893 cat >>confdefs.h <<_ACEOF
45894 #define HAVE_MODFF 1
45895 _ACEOF
45896
45897 fi
45898 done
45899
45900 else
45901
45902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
45903 $as_echo_n "checking for _modff declaration... " >&6; }
45904 if test x${glibcxx_cv_func__modff_use+set} != xset; then
45905 if ${glibcxx_cv_func__modff_use+:} false; then :
45906 $as_echo_n "(cached) " >&6
45907 else
45908
45909
45910 ac_ext=cpp
45911 ac_cpp='$CXXCPP $CPPFLAGS'
45912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45915
45916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45917 /* end confdefs.h. */
45918 #include <math.h>
45919 int
45920 main ()
45921 {
45922 _modff(0, 0);
45923 ;
45924 return 0;
45925 }
45926 _ACEOF
45927 if ac_fn_cxx_try_compile "$LINENO"; then :
45928 glibcxx_cv_func__modff_use=yes
45929 else
45930 glibcxx_cv_func__modff_use=no
45931 fi
45932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 ac_ext=c
45934 ac_cpp='$CPP $CPPFLAGS'
45935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45938
45939
45940 fi
45941
45942 fi
45943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
45944 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
45945
45946 if test x$glibcxx_cv_func__modff_use = x"yes"; then
45947 for ac_func in _modff
45948 do :
45949 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
45950 if test "x$ac_cv_func__modff" = xyes; then :
45951 cat >>confdefs.h <<_ACEOF
45952 #define HAVE__MODFF 1
45953 _ACEOF
45954
45955 fi
45956 done
45957
45958 fi
45959 fi
45960
45961
45962
45963
45964
45965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
45966 $as_echo_n "checking for modf declaration... " >&6; }
45967 if test x${glibcxx_cv_func_modf_use+set} != xset; then
45968 if ${glibcxx_cv_func_modf_use+:} false; then :
45969 $as_echo_n "(cached) " >&6
45970 else
45971
45972
45973 ac_ext=cpp
45974 ac_cpp='$CXXCPP $CPPFLAGS'
45975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45978
45979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45980 /* end confdefs.h. */
45981 #include <math.h>
45982 int
45983 main ()
45984 {
45985 modf(0, 0);
45986 ;
45987 return 0;
45988 }
45989 _ACEOF
45990 if ac_fn_cxx_try_compile "$LINENO"; then :
45991 glibcxx_cv_func_modf_use=yes
45992 else
45993 glibcxx_cv_func_modf_use=no
45994 fi
45995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45996 ac_ext=c
45997 ac_cpp='$CPP $CPPFLAGS'
45998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46001
46002
46003 fi
46004
46005 fi
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
46007 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
46008
46009 if test x$glibcxx_cv_func_modf_use = x"yes"; then
46010 for ac_func in modf
46011 do :
46012 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
46013 if test "x$ac_cv_func_modf" = xyes; then :
46014 cat >>confdefs.h <<_ACEOF
46015 #define HAVE_MODF 1
46016 _ACEOF
46017
46018 fi
46019 done
46020
46021 else
46022
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
46024 $as_echo_n "checking for _modf declaration... " >&6; }
46025 if test x${glibcxx_cv_func__modf_use+set} != xset; then
46026 if ${glibcxx_cv_func__modf_use+:} false; then :
46027 $as_echo_n "(cached) " >&6
46028 else
46029
46030
46031 ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46036
46037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h. */
46039 #include <math.h>
46040 int
46041 main ()
46042 {
46043 _modf(0, 0);
46044 ;
46045 return 0;
46046 }
46047 _ACEOF
46048 if ac_fn_cxx_try_compile "$LINENO"; then :
46049 glibcxx_cv_func__modf_use=yes
46050 else
46051 glibcxx_cv_func__modf_use=no
46052 fi
46053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46054 ac_ext=c
46055 ac_cpp='$CPP $CPPFLAGS'
46056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46059
46060
46061 fi
46062
46063 fi
46064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
46065 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
46066
46067 if test x$glibcxx_cv_func__modf_use = x"yes"; then
46068 for ac_func in _modf
46069 do :
46070 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
46071 if test "x$ac_cv_func__modf" = xyes; then :
46072 cat >>confdefs.h <<_ACEOF
46073 #define HAVE__MODF 1
46074 _ACEOF
46075
46076 fi
46077 done
46078
46079 fi
46080 fi
46081
46082
46083
46084
46085
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
46087 $as_echo_n "checking for powf declaration... " >&6; }
46088 if test x${glibcxx_cv_func_powf_use+set} != xset; then
46089 if ${glibcxx_cv_func_powf_use+:} false; then :
46090 $as_echo_n "(cached) " >&6
46091 else
46092
46093
46094 ac_ext=cpp
46095 ac_cpp='$CXXCPP $CPPFLAGS'
46096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099
46100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46101 /* end confdefs.h. */
46102 #include <math.h>
46103 int
46104 main ()
46105 {
46106 powf(0, 0);
46107 ;
46108 return 0;
46109 }
46110 _ACEOF
46111 if ac_fn_cxx_try_compile "$LINENO"; then :
46112 glibcxx_cv_func_powf_use=yes
46113 else
46114 glibcxx_cv_func_powf_use=no
46115 fi
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117 ac_ext=c
46118 ac_cpp='$CPP $CPPFLAGS'
46119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46122
46123
46124 fi
46125
46126 fi
46127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
46128 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
46129
46130 if test x$glibcxx_cv_func_powf_use = x"yes"; then
46131 for ac_func in powf
46132 do :
46133 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
46134 if test "x$ac_cv_func_powf" = xyes; then :
46135 cat >>confdefs.h <<_ACEOF
46136 #define HAVE_POWF 1
46137 _ACEOF
46138
46139 fi
46140 done
46141
46142 else
46143
46144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
46145 $as_echo_n "checking for _powf declaration... " >&6; }
46146 if test x${glibcxx_cv_func__powf_use+set} != xset; then
46147 if ${glibcxx_cv_func__powf_use+:} false; then :
46148 $as_echo_n "(cached) " >&6
46149 else
46150
46151
46152 ac_ext=cpp
46153 ac_cpp='$CXXCPP $CPPFLAGS'
46154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46157
46158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46159 /* end confdefs.h. */
46160 #include <math.h>
46161 int
46162 main ()
46163 {
46164 _powf(0, 0);
46165 ;
46166 return 0;
46167 }
46168 _ACEOF
46169 if ac_fn_cxx_try_compile "$LINENO"; then :
46170 glibcxx_cv_func__powf_use=yes
46171 else
46172 glibcxx_cv_func__powf_use=no
46173 fi
46174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46175 ac_ext=c
46176 ac_cpp='$CPP $CPPFLAGS'
46177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46180
46181
46182 fi
46183
46184 fi
46185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
46186 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
46187
46188 if test x$glibcxx_cv_func__powf_use = x"yes"; then
46189 for ac_func in _powf
46190 do :
46191 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
46192 if test "x$ac_cv_func__powf" = xyes; then :
46193 cat >>confdefs.h <<_ACEOF
46194 #define HAVE__POWF 1
46195 _ACEOF
46196
46197 fi
46198 done
46199
46200 fi
46201 fi
46202
46203
46204
46205
46206
46207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
46208 $as_echo_n "checking for sqrtf declaration... " >&6; }
46209 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
46210 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
46211 $as_echo_n "(cached) " >&6
46212 else
46213
46214
46215 ac_ext=cpp
46216 ac_cpp='$CXXCPP $CPPFLAGS'
46217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46220
46221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46222 /* end confdefs.h. */
46223 #include <math.h>
46224 #ifdef HAVE_IEEEFP_H
46225 #include <ieeefp.h>
46226 #endif
46227
46228 int
46229 main ()
46230 {
46231 sqrtf(0);
46232 ;
46233 return 0;
46234 }
46235 _ACEOF
46236 if ac_fn_cxx_try_compile "$LINENO"; then :
46237 glibcxx_cv_func_sqrtf_use=yes
46238 else
46239 glibcxx_cv_func_sqrtf_use=no
46240 fi
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46242 ac_ext=c
46243 ac_cpp='$CPP $CPPFLAGS'
46244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46247
46248
46249 fi
46250
46251 fi
46252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
46253 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
46254
46255 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
46256 for ac_func in sqrtf
46257 do :
46258 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
46259 if test "x$ac_cv_func_sqrtf" = xyes; then :
46260 cat >>confdefs.h <<_ACEOF
46261 #define HAVE_SQRTF 1
46262 _ACEOF
46263
46264 fi
46265 done
46266
46267 else
46268
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
46270 $as_echo_n "checking for _sqrtf declaration... " >&6; }
46271 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
46272 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
46273 $as_echo_n "(cached) " >&6
46274 else
46275
46276
46277 ac_ext=cpp
46278 ac_cpp='$CXXCPP $CPPFLAGS'
46279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46282
46283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46284 /* end confdefs.h. */
46285 #include <math.h>
46286 #ifdef HAVE_IEEEFP_H
46287 #include <ieeefp.h>
46288 #endif
46289
46290 int
46291 main ()
46292 {
46293 _sqrtf(0);
46294 ;
46295 return 0;
46296 }
46297 _ACEOF
46298 if ac_fn_cxx_try_compile "$LINENO"; then :
46299 glibcxx_cv_func__sqrtf_use=yes
46300 else
46301 glibcxx_cv_func__sqrtf_use=no
46302 fi
46303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46304 ac_ext=c
46305 ac_cpp='$CPP $CPPFLAGS'
46306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46309
46310
46311 fi
46312
46313 fi
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
46315 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
46316
46317 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
46318 for ac_func in _sqrtf
46319 do :
46320 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
46321 if test "x$ac_cv_func__sqrtf" = xyes; then :
46322 cat >>confdefs.h <<_ACEOF
46323 #define HAVE__SQRTF 1
46324 _ACEOF
46325
46326 fi
46327 done
46328
46329 fi
46330 fi
46331
46332
46333
46334
46335
46336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
46337 $as_echo_n "checking for sincosf declaration... " >&6; }
46338 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
46339 if ${glibcxx_cv_func_sincosf_use+:} false; then :
46340 $as_echo_n "(cached) " >&6
46341 else
46342
46343
46344 ac_ext=cpp
46345 ac_cpp='$CXXCPP $CPPFLAGS'
46346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46349
46350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46351 /* end confdefs.h. */
46352 #include <math.h>
46353 int
46354 main ()
46355 {
46356 sincosf(0, 0, 0);
46357 ;
46358 return 0;
46359 }
46360 _ACEOF
46361 if ac_fn_cxx_try_compile "$LINENO"; then :
46362 glibcxx_cv_func_sincosf_use=yes
46363 else
46364 glibcxx_cv_func_sincosf_use=no
46365 fi
46366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46367 ac_ext=c
46368 ac_cpp='$CPP $CPPFLAGS'
46369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46372
46373
46374 fi
46375
46376 fi
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
46378 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
46379
46380 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
46381 for ac_func in sincosf
46382 do :
46383 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
46384 if test "x$ac_cv_func_sincosf" = xyes; then :
46385 cat >>confdefs.h <<_ACEOF
46386 #define HAVE_SINCOSF 1
46387 _ACEOF
46388
46389 fi
46390 done
46391
46392 else
46393
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
46395 $as_echo_n "checking for _sincosf declaration... " >&6; }
46396 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
46397 if ${glibcxx_cv_func__sincosf_use+:} false; then :
46398 $as_echo_n "(cached) " >&6
46399 else
46400
46401
46402 ac_ext=cpp
46403 ac_cpp='$CXXCPP $CPPFLAGS'
46404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46407
46408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46409 /* end confdefs.h. */
46410 #include <math.h>
46411 int
46412 main ()
46413 {
46414 _sincosf(0, 0, 0);
46415 ;
46416 return 0;
46417 }
46418 _ACEOF
46419 if ac_fn_cxx_try_compile "$LINENO"; then :
46420 glibcxx_cv_func__sincosf_use=yes
46421 else
46422 glibcxx_cv_func__sincosf_use=no
46423 fi
46424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46425 ac_ext=c
46426 ac_cpp='$CPP $CPPFLAGS'
46427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46430
46431
46432 fi
46433
46434 fi
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
46436 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
46437
46438 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
46439 for ac_func in _sincosf
46440 do :
46441 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
46442 if test "x$ac_cv_func__sincosf" = xyes; then :
46443 cat >>confdefs.h <<_ACEOF
46444 #define HAVE__SINCOSF 1
46445 _ACEOF
46446
46447 fi
46448 done
46449
46450 fi
46451 fi
46452
46453
46454
46455
46456
46457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
46458 $as_echo_n "checking for finitef declaration... " >&6; }
46459 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
46460 if ${glibcxx_cv_func_finitef_use+:} false; then :
46461 $as_echo_n "(cached) " >&6
46462 else
46463
46464
46465 ac_ext=cpp
46466 ac_cpp='$CXXCPP $CPPFLAGS'
46467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46470
46471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46472 /* end confdefs.h. */
46473 #include <math.h>
46474 #ifdef HAVE_IEEEFP_H
46475 #include <ieeefp.h>
46476 #endif
46477
46478 int
46479 main ()
46480 {
46481 finitef(0);
46482 ;
46483 return 0;
46484 }
46485 _ACEOF
46486 if ac_fn_cxx_try_compile "$LINENO"; then :
46487 glibcxx_cv_func_finitef_use=yes
46488 else
46489 glibcxx_cv_func_finitef_use=no
46490 fi
46491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 ac_ext=c
46493 ac_cpp='$CPP $CPPFLAGS'
46494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46497
46498
46499 fi
46500
46501 fi
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
46503 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
46504
46505 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
46506 for ac_func in finitef
46507 do :
46508 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
46509 if test "x$ac_cv_func_finitef" = xyes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define HAVE_FINITEF 1
46512 _ACEOF
46513
46514 fi
46515 done
46516
46517 else
46518
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
46520 $as_echo_n "checking for _finitef declaration... " >&6; }
46521 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
46522 if ${glibcxx_cv_func__finitef_use+:} false; then :
46523 $as_echo_n "(cached) " >&6
46524 else
46525
46526
46527 ac_ext=cpp
46528 ac_cpp='$CXXCPP $CPPFLAGS'
46529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46532
46533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46534 /* end confdefs.h. */
46535 #include <math.h>
46536 #ifdef HAVE_IEEEFP_H
46537 #include <ieeefp.h>
46538 #endif
46539
46540 int
46541 main ()
46542 {
46543 _finitef(0);
46544 ;
46545 return 0;
46546 }
46547 _ACEOF
46548 if ac_fn_cxx_try_compile "$LINENO"; then :
46549 glibcxx_cv_func__finitef_use=yes
46550 else
46551 glibcxx_cv_func__finitef_use=no
46552 fi
46553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46554 ac_ext=c
46555 ac_cpp='$CPP $CPPFLAGS'
46556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46559
46560
46561 fi
46562
46563 fi
46564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
46565 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
46566
46567 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
46568 for ac_func in _finitef
46569 do :
46570 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
46571 if test "x$ac_cv_func__finitef" = xyes; then :
46572 cat >>confdefs.h <<_ACEOF
46573 #define HAVE__FINITEF 1
46574 _ACEOF
46575
46576 fi
46577 done
46578
46579 fi
46580 fi
46581
46582
46583
46584
46585
46586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
46587 $as_echo_n "checking for long double trig functions... " >&6; }
46588 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46591
46592
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46602 int
46603 main ()
46604 {
46605 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
46606 ;
46607 return 0;
46608 }
46609 _ACEOF
46610 if ac_fn_cxx_try_compile "$LINENO"; then :
46611 glibcxx_cv_func_long_double_trig_use=yes
46612 else
46613 glibcxx_cv_func_long_double_trig_use=no
46614 fi
46615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 ac_ext=c
46617 ac_cpp='$CPP $CPPFLAGS'
46618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46621
46622 fi
46623
46624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
46625 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
46626 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
46627 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
46628 do :
46629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46632 cat >>confdefs.h <<_ACEOF
46633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46634 _ACEOF
46635
46636 fi
46637 done
46638
46639 else
46640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
46641 $as_echo_n "checking for _long double trig functions... " >&6; }
46642 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
46643 $as_echo_n "(cached) " >&6
46644 else
46645
46646
46647 ac_ext=cpp
46648 ac_cpp='$CXXCPP $CPPFLAGS'
46649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46652
46653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46654 /* end confdefs.h. */
46655 #include <math.h>
46656 int
46657 main ()
46658 {
46659 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
46660 ;
46661 return 0;
46662 }
46663 _ACEOF
46664 if ac_fn_cxx_try_compile "$LINENO"; then :
46665 glibcxx_cv_func__long_double_trig_use=yes
46666 else
46667 glibcxx_cv_func__long_double_trig_use=no
46668 fi
46669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46670 ac_ext=c
46671 ac_cpp='$CPP $CPPFLAGS'
46672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46675
46676 fi
46677
46678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
46679 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
46680 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
46681 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
46682 do :
46683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46685 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46686 cat >>confdefs.h <<_ACEOF
46687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46688 _ACEOF
46689
46690 fi
46691 done
46692
46693 fi
46694 fi
46695
46696
46697
46698
46699
46700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
46701 $as_echo_n "checking for long double round functions... " >&6; }
46702 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
46703 $as_echo_n "(cached) " >&6
46704 else
46705
46706
46707 ac_ext=cpp
46708 ac_cpp='$CXXCPP $CPPFLAGS'
46709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712
46713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46714 /* end confdefs.h. */
46715 #include <math.h>
46716 int
46717 main ()
46718 {
46719 ceill (0); floorl (0);
46720 ;
46721 return 0;
46722 }
46723 _ACEOF
46724 if ac_fn_cxx_try_compile "$LINENO"; then :
46725 glibcxx_cv_func_long_double_round_use=yes
46726 else
46727 glibcxx_cv_func_long_double_round_use=no
46728 fi
46729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46730 ac_ext=c
46731 ac_cpp='$CPP $CPPFLAGS'
46732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46735
46736 fi
46737
46738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
46739 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
46740 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
46741 for ac_func in ceill floorl
46742 do :
46743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46745 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46746 cat >>confdefs.h <<_ACEOF
46747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46748 _ACEOF
46749
46750 fi
46751 done
46752
46753 else
46754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
46755 $as_echo_n "checking for _long double round functions... " >&6; }
46756 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
46757 $as_echo_n "(cached) " >&6
46758 else
46759
46760
46761 ac_ext=cpp
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46766
46767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768 /* end confdefs.h. */
46769 #include <math.h>
46770 int
46771 main ()
46772 {
46773 _ceill (0); _floorl (0);
46774 ;
46775 return 0;
46776 }
46777 _ACEOF
46778 if ac_fn_cxx_try_compile "$LINENO"; then :
46779 glibcxx_cv_func__long_double_round_use=yes
46780 else
46781 glibcxx_cv_func__long_double_round_use=no
46782 fi
46783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789
46790 fi
46791
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
46793 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
46794 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
46795 for ac_func in _ceill _floorl
46796 do :
46797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46800 cat >>confdefs.h <<_ACEOF
46801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46802 _ACEOF
46803
46804 fi
46805 done
46806
46807 fi
46808 fi
46809
46810
46811
46812
46813
46814
46815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
46816 $as_echo_n "checking for isnanl declaration... " >&6; }
46817 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
46818 if ${glibcxx_cv_func_isnanl_use+:} false; then :
46819 $as_echo_n "(cached) " >&6
46820 else
46821
46822
46823 ac_ext=cpp
46824 ac_cpp='$CXXCPP $CPPFLAGS'
46825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46828
46829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46830 /* end confdefs.h. */
46831 #include <math.h>
46832 #ifdef HAVE_IEEEFP_H
46833 #include <ieeefp.h>
46834 #endif
46835
46836 int
46837 main ()
46838 {
46839 isnanl(0);
46840 ;
46841 return 0;
46842 }
46843 _ACEOF
46844 if ac_fn_cxx_try_compile "$LINENO"; then :
46845 glibcxx_cv_func_isnanl_use=yes
46846 else
46847 glibcxx_cv_func_isnanl_use=no
46848 fi
46849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46850 ac_ext=c
46851 ac_cpp='$CPP $CPPFLAGS'
46852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46855
46856
46857 fi
46858
46859 fi
46860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
46861 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
46862
46863 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
46864 for ac_func in isnanl
46865 do :
46866 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
46867 if test "x$ac_cv_func_isnanl" = xyes; then :
46868 cat >>confdefs.h <<_ACEOF
46869 #define HAVE_ISNANL 1
46870 _ACEOF
46871
46872 fi
46873 done
46874
46875 else
46876
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
46878 $as_echo_n "checking for _isnanl declaration... " >&6; }
46879 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
46880 if ${glibcxx_cv_func__isnanl_use+:} false; then :
46881 $as_echo_n "(cached) " >&6
46882 else
46883
46884
46885 ac_ext=cpp
46886 ac_cpp='$CXXCPP $CPPFLAGS'
46887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46890
46891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46892 /* end confdefs.h. */
46893 #include <math.h>
46894 #ifdef HAVE_IEEEFP_H
46895 #include <ieeefp.h>
46896 #endif
46897
46898 int
46899 main ()
46900 {
46901 _isnanl(0);
46902 ;
46903 return 0;
46904 }
46905 _ACEOF
46906 if ac_fn_cxx_try_compile "$LINENO"; then :
46907 glibcxx_cv_func__isnanl_use=yes
46908 else
46909 glibcxx_cv_func__isnanl_use=no
46910 fi
46911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46912 ac_ext=c
46913 ac_cpp='$CPP $CPPFLAGS'
46914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46917
46918
46919 fi
46920
46921 fi
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
46923 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
46924
46925 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
46926 for ac_func in _isnanl
46927 do :
46928 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
46929 if test "x$ac_cv_func__isnanl" = xyes; then :
46930 cat >>confdefs.h <<_ACEOF
46931 #define HAVE__ISNANL 1
46932 _ACEOF
46933
46934 fi
46935 done
46936
46937 fi
46938 fi
46939
46940
46941
46942
46943
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
46945 $as_echo_n "checking for isinfl declaration... " >&6; }
46946 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
46947 if ${glibcxx_cv_func_isinfl_use+:} false; then :
46948 $as_echo_n "(cached) " >&6
46949 else
46950
46951
46952 ac_ext=cpp
46953 ac_cpp='$CXXCPP $CPPFLAGS'
46954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957
46958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46959 /* end confdefs.h. */
46960 #include <math.h>
46961 #ifdef HAVE_IEEEFP_H
46962 #include <ieeefp.h>
46963 #endif
46964
46965 int
46966 main ()
46967 {
46968 isinfl(0);
46969 ;
46970 return 0;
46971 }
46972 _ACEOF
46973 if ac_fn_cxx_try_compile "$LINENO"; then :
46974 glibcxx_cv_func_isinfl_use=yes
46975 else
46976 glibcxx_cv_func_isinfl_use=no
46977 fi
46978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46979 ac_ext=c
46980 ac_cpp='$CPP $CPPFLAGS'
46981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46984
46985
46986 fi
46987
46988 fi
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
46990 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
46991
46992 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
46993 for ac_func in isinfl
46994 do :
46995 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
46996 if test "x$ac_cv_func_isinfl" = xyes; then :
46997 cat >>confdefs.h <<_ACEOF
46998 #define HAVE_ISINFL 1
46999 _ACEOF
47000
47001 fi
47002 done
47003
47004 else
47005
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
47007 $as_echo_n "checking for _isinfl declaration... " >&6; }
47008 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
47009 if ${glibcxx_cv_func__isinfl_use+:} false; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47012
47013
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47019
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47023 #ifdef HAVE_IEEEFP_H
47024 #include <ieeefp.h>
47025 #endif
47026
47027 int
47028 main ()
47029 {
47030 _isinfl(0);
47031 ;
47032 return 0;
47033 }
47034 _ACEOF
47035 if ac_fn_cxx_try_compile "$LINENO"; then :
47036 glibcxx_cv_func__isinfl_use=yes
47037 else
47038 glibcxx_cv_func__isinfl_use=no
47039 fi
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47041 ac_ext=c
47042 ac_cpp='$CPP $CPPFLAGS'
47043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47046
47047
47048 fi
47049
47050 fi
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
47052 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
47053
47054 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
47055 for ac_func in _isinfl
47056 do :
47057 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
47058 if test "x$ac_cv_func__isinfl" = xyes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE__ISINFL 1
47061 _ACEOF
47062
47063 fi
47064 done
47065
47066 fi
47067 fi
47068
47069
47070
47071
47072
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
47074 $as_echo_n "checking for atan2l declaration... " >&6; }
47075 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
47076 if ${glibcxx_cv_func_atan2l_use+:} false; then :
47077 $as_echo_n "(cached) " >&6
47078 else
47079
47080
47081 ac_ext=cpp
47082 ac_cpp='$CXXCPP $CPPFLAGS'
47083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47086
47087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47088 /* end confdefs.h. */
47089 #include <math.h>
47090 int
47091 main ()
47092 {
47093 atan2l(0, 0);
47094 ;
47095 return 0;
47096 }
47097 _ACEOF
47098 if ac_fn_cxx_try_compile "$LINENO"; then :
47099 glibcxx_cv_func_atan2l_use=yes
47100 else
47101 glibcxx_cv_func_atan2l_use=no
47102 fi
47103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47104 ac_ext=c
47105 ac_cpp='$CPP $CPPFLAGS'
47106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47109
47110
47111 fi
47112
47113 fi
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
47115 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
47116
47117 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
47118 for ac_func in atan2l
47119 do :
47120 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
47121 if test "x$ac_cv_func_atan2l" = xyes; then :
47122 cat >>confdefs.h <<_ACEOF
47123 #define HAVE_ATAN2L 1
47124 _ACEOF
47125
47126 fi
47127 done
47128
47129 else
47130
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
47132 $as_echo_n "checking for _atan2l declaration... " >&6; }
47133 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
47134 if ${glibcxx_cv_func__atan2l_use+:} false; then :
47135 $as_echo_n "(cached) " >&6
47136 else
47137
47138
47139 ac_ext=cpp
47140 ac_cpp='$CXXCPP $CPPFLAGS'
47141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47144
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147 #include <math.h>
47148 int
47149 main ()
47150 {
47151 _atan2l(0, 0);
47152 ;
47153 return 0;
47154 }
47155 _ACEOF
47156 if ac_fn_cxx_try_compile "$LINENO"; then :
47157 glibcxx_cv_func__atan2l_use=yes
47158 else
47159 glibcxx_cv_func__atan2l_use=no
47160 fi
47161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47162 ac_ext=c
47163 ac_cpp='$CPP $CPPFLAGS'
47164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47167
47168
47169 fi
47170
47171 fi
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
47173 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
47174
47175 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
47176 for ac_func in _atan2l
47177 do :
47178 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
47179 if test "x$ac_cv_func__atan2l" = xyes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE__ATAN2L 1
47182 _ACEOF
47183
47184 fi
47185 done
47186
47187 fi
47188 fi
47189
47190
47191
47192
47193
47194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
47195 $as_echo_n "checking for expl declaration... " >&6; }
47196 if test x${glibcxx_cv_func_expl_use+set} != xset; then
47197 if ${glibcxx_cv_func_expl_use+:} false; then :
47198 $as_echo_n "(cached) " >&6
47199 else
47200
47201
47202 ac_ext=cpp
47203 ac_cpp='$CXXCPP $CPPFLAGS'
47204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47207
47208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47209 /* end confdefs.h. */
47210 #include <math.h>
47211 #ifdef HAVE_IEEEFP_H
47212 #include <ieeefp.h>
47213 #endif
47214
47215 int
47216 main ()
47217 {
47218 expl(0);
47219 ;
47220 return 0;
47221 }
47222 _ACEOF
47223 if ac_fn_cxx_try_compile "$LINENO"; then :
47224 glibcxx_cv_func_expl_use=yes
47225 else
47226 glibcxx_cv_func_expl_use=no
47227 fi
47228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47229 ac_ext=c
47230 ac_cpp='$CPP $CPPFLAGS'
47231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47234
47235
47236 fi
47237
47238 fi
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
47240 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
47241
47242 if test x$glibcxx_cv_func_expl_use = x"yes"; then
47243 for ac_func in expl
47244 do :
47245 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
47246 if test "x$ac_cv_func_expl" = xyes; then :
47247 cat >>confdefs.h <<_ACEOF
47248 #define HAVE_EXPL 1
47249 _ACEOF
47250
47251 fi
47252 done
47253
47254 else
47255
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
47257 $as_echo_n "checking for _expl declaration... " >&6; }
47258 if test x${glibcxx_cv_func__expl_use+set} != xset; then
47259 if ${glibcxx_cv_func__expl_use+:} false; then :
47260 $as_echo_n "(cached) " >&6
47261 else
47262
47263
47264 ac_ext=cpp
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47269
47270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271 /* end confdefs.h. */
47272 #include <math.h>
47273 #ifdef HAVE_IEEEFP_H
47274 #include <ieeefp.h>
47275 #endif
47276
47277 int
47278 main ()
47279 {
47280 _expl(0);
47281 ;
47282 return 0;
47283 }
47284 _ACEOF
47285 if ac_fn_cxx_try_compile "$LINENO"; then :
47286 glibcxx_cv_func__expl_use=yes
47287 else
47288 glibcxx_cv_func__expl_use=no
47289 fi
47290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47291 ac_ext=c
47292 ac_cpp='$CPP $CPPFLAGS'
47293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47296
47297
47298 fi
47299
47300 fi
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
47302 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
47303
47304 if test x$glibcxx_cv_func__expl_use = x"yes"; then
47305 for ac_func in _expl
47306 do :
47307 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
47308 if test "x$ac_cv_func__expl" = xyes; then :
47309 cat >>confdefs.h <<_ACEOF
47310 #define HAVE__EXPL 1
47311 _ACEOF
47312
47313 fi
47314 done
47315
47316 fi
47317 fi
47318
47319
47320
47321
47322
47323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
47324 $as_echo_n "checking for fabsl declaration... " >&6; }
47325 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
47326 if ${glibcxx_cv_func_fabsl_use+:} false; then :
47327 $as_echo_n "(cached) " >&6
47328 else
47329
47330
47331 ac_ext=cpp
47332 ac_cpp='$CXXCPP $CPPFLAGS'
47333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47336
47337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47338 /* end confdefs.h. */
47339 #include <math.h>
47340 #ifdef HAVE_IEEEFP_H
47341 #include <ieeefp.h>
47342 #endif
47343
47344 int
47345 main ()
47346 {
47347 fabsl(0);
47348 ;
47349 return 0;
47350 }
47351 _ACEOF
47352 if ac_fn_cxx_try_compile "$LINENO"; then :
47353 glibcxx_cv_func_fabsl_use=yes
47354 else
47355 glibcxx_cv_func_fabsl_use=no
47356 fi
47357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47358 ac_ext=c
47359 ac_cpp='$CPP $CPPFLAGS'
47360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47363
47364
47365 fi
47366
47367 fi
47368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
47369 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
47370
47371 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
47372 for ac_func in fabsl
47373 do :
47374 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
47375 if test "x$ac_cv_func_fabsl" = xyes; then :
47376 cat >>confdefs.h <<_ACEOF
47377 #define HAVE_FABSL 1
47378 _ACEOF
47379
47380 fi
47381 done
47382
47383 else
47384
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
47386 $as_echo_n "checking for _fabsl declaration... " >&6; }
47387 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
47388 if ${glibcxx_cv_func__fabsl_use+:} false; then :
47389 $as_echo_n "(cached) " >&6
47390 else
47391
47392
47393 ac_ext=cpp
47394 ac_cpp='$CXXCPP $CPPFLAGS'
47395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47398
47399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400 /* end confdefs.h. */
47401 #include <math.h>
47402 #ifdef HAVE_IEEEFP_H
47403 #include <ieeefp.h>
47404 #endif
47405
47406 int
47407 main ()
47408 {
47409 _fabsl(0);
47410 ;
47411 return 0;
47412 }
47413 _ACEOF
47414 if ac_fn_cxx_try_compile "$LINENO"; then :
47415 glibcxx_cv_func__fabsl_use=yes
47416 else
47417 glibcxx_cv_func__fabsl_use=no
47418 fi
47419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47420 ac_ext=c
47421 ac_cpp='$CPP $CPPFLAGS'
47422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47425
47426
47427 fi
47428
47429 fi
47430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
47431 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
47432
47433 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
47434 for ac_func in _fabsl
47435 do :
47436 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
47437 if test "x$ac_cv_func__fabsl" = xyes; then :
47438 cat >>confdefs.h <<_ACEOF
47439 #define HAVE__FABSL 1
47440 _ACEOF
47441
47442 fi
47443 done
47444
47445 fi
47446 fi
47447
47448
47449
47450
47451
47452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
47453 $as_echo_n "checking for fmodl declaration... " >&6; }
47454 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
47455 if ${glibcxx_cv_func_fmodl_use+:} false; then :
47456 $as_echo_n "(cached) " >&6
47457 else
47458
47459
47460 ac_ext=cpp
47461 ac_cpp='$CXXCPP $CPPFLAGS'
47462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47465
47466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47467 /* end confdefs.h. */
47468 #include <math.h>
47469 int
47470 main ()
47471 {
47472 fmodl(0, 0);
47473 ;
47474 return 0;
47475 }
47476 _ACEOF
47477 if ac_fn_cxx_try_compile "$LINENO"; then :
47478 glibcxx_cv_func_fmodl_use=yes
47479 else
47480 glibcxx_cv_func_fmodl_use=no
47481 fi
47482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47483 ac_ext=c
47484 ac_cpp='$CPP $CPPFLAGS'
47485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47488
47489
47490 fi
47491
47492 fi
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
47494 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
47495
47496 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
47497 for ac_func in fmodl
47498 do :
47499 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
47500 if test "x$ac_cv_func_fmodl" = xyes; then :
47501 cat >>confdefs.h <<_ACEOF
47502 #define HAVE_FMODL 1
47503 _ACEOF
47504
47505 fi
47506 done
47507
47508 else
47509
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
47511 $as_echo_n "checking for _fmodl declaration... " >&6; }
47512 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
47513 if ${glibcxx_cv_func__fmodl_use+:} false; then :
47514 $as_echo_n "(cached) " >&6
47515 else
47516
47517
47518 ac_ext=cpp
47519 ac_cpp='$CXXCPP $CPPFLAGS'
47520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47523
47524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47525 /* end confdefs.h. */
47526 #include <math.h>
47527 int
47528 main ()
47529 {
47530 _fmodl(0, 0);
47531 ;
47532 return 0;
47533 }
47534 _ACEOF
47535 if ac_fn_cxx_try_compile "$LINENO"; then :
47536 glibcxx_cv_func__fmodl_use=yes
47537 else
47538 glibcxx_cv_func__fmodl_use=no
47539 fi
47540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47541 ac_ext=c
47542 ac_cpp='$CPP $CPPFLAGS'
47543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47546
47547
47548 fi
47549
47550 fi
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
47552 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
47553
47554 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
47555 for ac_func in _fmodl
47556 do :
47557 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
47558 if test "x$ac_cv_func__fmodl" = xyes; then :
47559 cat >>confdefs.h <<_ACEOF
47560 #define HAVE__FMODL 1
47561 _ACEOF
47562
47563 fi
47564 done
47565
47566 fi
47567 fi
47568
47569
47570
47571
47572
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
47574 $as_echo_n "checking for frexpl declaration... " >&6; }
47575 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
47576 if ${glibcxx_cv_func_frexpl_use+:} false; then :
47577 $as_echo_n "(cached) " >&6
47578 else
47579
47580
47581 ac_ext=cpp
47582 ac_cpp='$CXXCPP $CPPFLAGS'
47583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47586
47587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h. */
47589 #include <math.h>
47590 int
47591 main ()
47592 {
47593 frexpl(0, 0);
47594 ;
47595 return 0;
47596 }
47597 _ACEOF
47598 if ac_fn_cxx_try_compile "$LINENO"; then :
47599 glibcxx_cv_func_frexpl_use=yes
47600 else
47601 glibcxx_cv_func_frexpl_use=no
47602 fi
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 ac_ext=c
47605 ac_cpp='$CPP $CPPFLAGS'
47606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47609
47610
47611 fi
47612
47613 fi
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
47615 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
47616
47617 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
47618 for ac_func in frexpl
47619 do :
47620 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
47621 if test "x$ac_cv_func_frexpl" = xyes; then :
47622 cat >>confdefs.h <<_ACEOF
47623 #define HAVE_FREXPL 1
47624 _ACEOF
47625
47626 fi
47627 done
47628
47629 else
47630
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
47632 $as_echo_n "checking for _frexpl declaration... " >&6; }
47633 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
47634 if ${glibcxx_cv_func__frexpl_use+:} false; then :
47635 $as_echo_n "(cached) " >&6
47636 else
47637
47638
47639 ac_ext=cpp
47640 ac_cpp='$CXXCPP $CPPFLAGS'
47641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47644
47645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47646 /* end confdefs.h. */
47647 #include <math.h>
47648 int
47649 main ()
47650 {
47651 _frexpl(0, 0);
47652 ;
47653 return 0;
47654 }
47655 _ACEOF
47656 if ac_fn_cxx_try_compile "$LINENO"; then :
47657 glibcxx_cv_func__frexpl_use=yes
47658 else
47659 glibcxx_cv_func__frexpl_use=no
47660 fi
47661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47662 ac_ext=c
47663 ac_cpp='$CPP $CPPFLAGS'
47664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47667
47668
47669 fi
47670
47671 fi
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
47673 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
47674
47675 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
47676 for ac_func in _frexpl
47677 do :
47678 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
47679 if test "x$ac_cv_func__frexpl" = xyes; then :
47680 cat >>confdefs.h <<_ACEOF
47681 #define HAVE__FREXPL 1
47682 _ACEOF
47683
47684 fi
47685 done
47686
47687 fi
47688 fi
47689
47690
47691
47692
47693
47694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
47695 $as_echo_n "checking for hypotl declaration... " >&6; }
47696 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
47697 if ${glibcxx_cv_func_hypotl_use+:} false; then :
47698 $as_echo_n "(cached) " >&6
47699 else
47700
47701
47702 ac_ext=cpp
47703 ac_cpp='$CXXCPP $CPPFLAGS'
47704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47707
47708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47709 /* end confdefs.h. */
47710 #include <math.h>
47711 int
47712 main ()
47713 {
47714 hypotl(0, 0);
47715 ;
47716 return 0;
47717 }
47718 _ACEOF
47719 if ac_fn_cxx_try_compile "$LINENO"; then :
47720 glibcxx_cv_func_hypotl_use=yes
47721 else
47722 glibcxx_cv_func_hypotl_use=no
47723 fi
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 ac_ext=c
47726 ac_cpp='$CPP $CPPFLAGS'
47727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47730
47731
47732 fi
47733
47734 fi
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
47736 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
47737
47738 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47739 for ac_func in hypotl
47740 do :
47741 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
47742 if test "x$ac_cv_func_hypotl" = xyes; then :
47743 cat >>confdefs.h <<_ACEOF
47744 #define HAVE_HYPOTL 1
47745 _ACEOF
47746
47747 fi
47748 done
47749
47750 else
47751
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
47753 $as_echo_n "checking for _hypotl declaration... " >&6; }
47754 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47755 if ${glibcxx_cv_func__hypotl_use+:} false; then :
47756 $as_echo_n "(cached) " >&6
47757 else
47758
47759
47760 ac_ext=cpp
47761 ac_cpp='$CXXCPP $CPPFLAGS'
47762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47765
47766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47767 /* end confdefs.h. */
47768 #include <math.h>
47769 int
47770 main ()
47771 {
47772 _hypotl(0, 0);
47773 ;
47774 return 0;
47775 }
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func__hypotl_use=yes
47779 else
47780 glibcxx_cv_func__hypotl_use=no
47781 fi
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47788
47789
47790 fi
47791
47792 fi
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
47794 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
47795
47796 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47797 for ac_func in _hypotl
47798 do :
47799 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
47800 if test "x$ac_cv_func__hypotl" = xyes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE__HYPOTL 1
47803 _ACEOF
47804
47805 fi
47806 done
47807
47808 fi
47809 fi
47810
47811
47812
47813
47814
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
47816 $as_echo_n "checking for ldexpl declaration... " >&6; }
47817 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47818 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
47819 $as_echo_n "(cached) " >&6
47820 else
47821
47822
47823 ac_ext=cpp
47824 ac_cpp='$CXXCPP $CPPFLAGS'
47825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47828
47829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47830 /* end confdefs.h. */
47831 #include <math.h>
47832 int
47833 main ()
47834 {
47835 ldexpl(0, 0);
47836 ;
47837 return 0;
47838 }
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func_ldexpl_use=yes
47842 else
47843 glibcxx_cv_func_ldexpl_use=no
47844 fi
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47851
47852
47853 fi
47854
47855 fi
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
47857 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
47858
47859 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47860 for ac_func in ldexpl
47861 do :
47862 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
47863 if test "x$ac_cv_func_ldexpl" = xyes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE_LDEXPL 1
47866 _ACEOF
47867
47868 fi
47869 done
47870
47871 else
47872
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
47874 $as_echo_n "checking for _ldexpl declaration... " >&6; }
47875 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47876 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47879
47880
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47886
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47890 int
47891 main ()
47892 {
47893 _ldexpl(0, 0);
47894 ;
47895 return 0;
47896 }
47897 _ACEOF
47898 if ac_fn_cxx_try_compile "$LINENO"; then :
47899 glibcxx_cv_func__ldexpl_use=yes
47900 else
47901 glibcxx_cv_func__ldexpl_use=no
47902 fi
47903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47904 ac_ext=c
47905 ac_cpp='$CPP $CPPFLAGS'
47906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47909
47910
47911 fi
47912
47913 fi
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
47915 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
47916
47917 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47918 for ac_func in _ldexpl
47919 do :
47920 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
47921 if test "x$ac_cv_func__ldexpl" = xyes; then :
47922 cat >>confdefs.h <<_ACEOF
47923 #define HAVE__LDEXPL 1
47924 _ACEOF
47925
47926 fi
47927 done
47928
47929 fi
47930 fi
47931
47932
47933
47934
47935
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
47937 $as_echo_n "checking for logl declaration... " >&6; }
47938 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47939 if ${glibcxx_cv_func_logl_use+:} false; then :
47940 $as_echo_n "(cached) " >&6
47941 else
47942
47943
47944 ac_ext=cpp
47945 ac_cpp='$CXXCPP $CPPFLAGS'
47946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47949
47950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47951 /* end confdefs.h. */
47952 #include <math.h>
47953 #ifdef HAVE_IEEEFP_H
47954 #include <ieeefp.h>
47955 #endif
47956
47957 int
47958 main ()
47959 {
47960 logl(0);
47961 ;
47962 return 0;
47963 }
47964 _ACEOF
47965 if ac_fn_cxx_try_compile "$LINENO"; then :
47966 glibcxx_cv_func_logl_use=yes
47967 else
47968 glibcxx_cv_func_logl_use=no
47969 fi
47970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47971 ac_ext=c
47972 ac_cpp='$CPP $CPPFLAGS'
47973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47976
47977
47978 fi
47979
47980 fi
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
47982 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
47983
47984 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47985 for ac_func in logl
47986 do :
47987 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
47988 if test "x$ac_cv_func_logl" = xyes; then :
47989 cat >>confdefs.h <<_ACEOF
47990 #define HAVE_LOGL 1
47991 _ACEOF
47992
47993 fi
47994 done
47995
47996 else
47997
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
47999 $as_echo_n "checking for _logl declaration... " >&6; }
48000 if test x${glibcxx_cv_func__logl_use+set} != xset; then
48001 if ${glibcxx_cv_func__logl_use+:} false; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48004
48005
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48011
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48015 #ifdef HAVE_IEEEFP_H
48016 #include <ieeefp.h>
48017 #endif
48018
48019 int
48020 main ()
48021 {
48022 _logl(0);
48023 ;
48024 return 0;
48025 }
48026 _ACEOF
48027 if ac_fn_cxx_try_compile "$LINENO"; then :
48028 glibcxx_cv_func__logl_use=yes
48029 else
48030 glibcxx_cv_func__logl_use=no
48031 fi
48032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48033 ac_ext=c
48034 ac_cpp='$CPP $CPPFLAGS'
48035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48038
48039
48040 fi
48041
48042 fi
48043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
48044 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
48045
48046 if test x$glibcxx_cv_func__logl_use = x"yes"; then
48047 for ac_func in _logl
48048 do :
48049 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
48050 if test "x$ac_cv_func__logl" = xyes; then :
48051 cat >>confdefs.h <<_ACEOF
48052 #define HAVE__LOGL 1
48053 _ACEOF
48054
48055 fi
48056 done
48057
48058 fi
48059 fi
48060
48061
48062
48063
48064
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
48066 $as_echo_n "checking for log10l declaration... " >&6; }
48067 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48068 if ${glibcxx_cv_func_log10l_use+:} false; then :
48069 $as_echo_n "(cached) " >&6
48070 else
48071
48072
48073 ac_ext=cpp
48074 ac_cpp='$CXXCPP $CPPFLAGS'
48075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48078
48079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48080 /* end confdefs.h. */
48081 #include <math.h>
48082 #ifdef HAVE_IEEEFP_H
48083 #include <ieeefp.h>
48084 #endif
48085
48086 int
48087 main ()
48088 {
48089 log10l(0);
48090 ;
48091 return 0;
48092 }
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_log10l_use=yes
48096 else
48097 glibcxx_cv_func_log10l_use=no
48098 fi
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48105
48106
48107 fi
48108
48109 fi
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
48111 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
48112
48113 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48114 for ac_func in log10l
48115 do :
48116 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
48117 if test "x$ac_cv_func_log10l" = xyes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define HAVE_LOG10L 1
48120 _ACEOF
48121
48122 fi
48123 done
48124
48125 else
48126
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
48128 $as_echo_n "checking for _log10l declaration... " >&6; }
48129 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48130 if ${glibcxx_cv_func__log10l_use+:} false; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48133
48134
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48140
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48144 #ifdef HAVE_IEEEFP_H
48145 #include <ieeefp.h>
48146 #endif
48147
48148 int
48149 main ()
48150 {
48151 _log10l(0);
48152 ;
48153 return 0;
48154 }
48155 _ACEOF
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func__log10l_use=yes
48158 else
48159 glibcxx_cv_func__log10l_use=no
48160 fi
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48167
48168
48169 fi
48170
48171 fi
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
48173 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
48174
48175 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48176 for ac_func in _log10l
48177 do :
48178 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
48179 if test "x$ac_cv_func__log10l" = xyes; then :
48180 cat >>confdefs.h <<_ACEOF
48181 #define HAVE__LOG10L 1
48182 _ACEOF
48183
48184 fi
48185 done
48186
48187 fi
48188 fi
48189
48190
48191
48192
48193
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
48195 $as_echo_n "checking for modfl declaration... " >&6; }
48196 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48197 if ${glibcxx_cv_func_modfl_use+:} false; then :
48198 $as_echo_n "(cached) " >&6
48199 else
48200
48201
48202 ac_ext=cpp
48203 ac_cpp='$CXXCPP $CPPFLAGS'
48204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48207
48208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48209 /* end confdefs.h. */
48210 #include <math.h>
48211 int
48212 main ()
48213 {
48214 modfl(0, 0);
48215 ;
48216 return 0;
48217 }
48218 _ACEOF
48219 if ac_fn_cxx_try_compile "$LINENO"; then :
48220 glibcxx_cv_func_modfl_use=yes
48221 else
48222 glibcxx_cv_func_modfl_use=no
48223 fi
48224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48225 ac_ext=c
48226 ac_cpp='$CPP $CPPFLAGS'
48227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48230
48231
48232 fi
48233
48234 fi
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
48236 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
48237
48238 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48239 for ac_func in modfl
48240 do :
48241 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
48242 if test "x$ac_cv_func_modfl" = xyes; then :
48243 cat >>confdefs.h <<_ACEOF
48244 #define HAVE_MODFL 1
48245 _ACEOF
48246
48247 fi
48248 done
48249
48250 else
48251
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
48253 $as_echo_n "checking for _modfl declaration... " >&6; }
48254 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48255 if ${glibcxx_cv_func__modfl_use+:} false; then :
48256 $as_echo_n "(cached) " >&6
48257 else
48258
48259
48260 ac_ext=cpp
48261 ac_cpp='$CXXCPP $CPPFLAGS'
48262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48265
48266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48267 /* end confdefs.h. */
48268 #include <math.h>
48269 int
48270 main ()
48271 {
48272 _modfl(0, 0);
48273 ;
48274 return 0;
48275 }
48276 _ACEOF
48277 if ac_fn_cxx_try_compile "$LINENO"; then :
48278 glibcxx_cv_func__modfl_use=yes
48279 else
48280 glibcxx_cv_func__modfl_use=no
48281 fi
48282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48283 ac_ext=c
48284 ac_cpp='$CPP $CPPFLAGS'
48285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48288
48289
48290 fi
48291
48292 fi
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
48294 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
48295
48296 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48297 for ac_func in _modfl
48298 do :
48299 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
48300 if test "x$ac_cv_func__modfl" = xyes; then :
48301 cat >>confdefs.h <<_ACEOF
48302 #define HAVE__MODFL 1
48303 _ACEOF
48304
48305 fi
48306 done
48307
48308 fi
48309 fi
48310
48311
48312
48313
48314
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
48316 $as_echo_n "checking for powl declaration... " >&6; }
48317 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48318 if ${glibcxx_cv_func_powl_use+:} false; then :
48319 $as_echo_n "(cached) " >&6
48320 else
48321
48322
48323 ac_ext=cpp
48324 ac_cpp='$CXXCPP $CPPFLAGS'
48325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48328
48329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48330 /* end confdefs.h. */
48331 #include <math.h>
48332 int
48333 main ()
48334 {
48335 powl(0, 0);
48336 ;
48337 return 0;
48338 }
48339 _ACEOF
48340 if ac_fn_cxx_try_compile "$LINENO"; then :
48341 glibcxx_cv_func_powl_use=yes
48342 else
48343 glibcxx_cv_func_powl_use=no
48344 fi
48345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_ext=c
48347 ac_cpp='$CPP $CPPFLAGS'
48348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48351
48352
48353 fi
48354
48355 fi
48356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
48357 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
48358
48359 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48360 for ac_func in powl
48361 do :
48362 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
48363 if test "x$ac_cv_func_powl" = xyes; then :
48364 cat >>confdefs.h <<_ACEOF
48365 #define HAVE_POWL 1
48366 _ACEOF
48367
48368 fi
48369 done
48370
48371 else
48372
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
48374 $as_echo_n "checking for _powl declaration... " >&6; }
48375 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48376 if ${glibcxx_cv_func__powl_use+:} false; then :
48377 $as_echo_n "(cached) " >&6
48378 else
48379
48380
48381 ac_ext=cpp
48382 ac_cpp='$CXXCPP $CPPFLAGS'
48383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386
48387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48388 /* end confdefs.h. */
48389 #include <math.h>
48390 int
48391 main ()
48392 {
48393 _powl(0, 0);
48394 ;
48395 return 0;
48396 }
48397 _ACEOF
48398 if ac_fn_cxx_try_compile "$LINENO"; then :
48399 glibcxx_cv_func__powl_use=yes
48400 else
48401 glibcxx_cv_func__powl_use=no
48402 fi
48403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48404 ac_ext=c
48405 ac_cpp='$CPP $CPPFLAGS'
48406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409
48410
48411 fi
48412
48413 fi
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
48415 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
48416
48417 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48418 for ac_func in _powl
48419 do :
48420 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
48421 if test "x$ac_cv_func__powl" = xyes; then :
48422 cat >>confdefs.h <<_ACEOF
48423 #define HAVE__POWL 1
48424 _ACEOF
48425
48426 fi
48427 done
48428
48429 fi
48430 fi
48431
48432
48433
48434
48435
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
48437 $as_echo_n "checking for sqrtl declaration... " >&6; }
48438 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48439 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
48440 $as_echo_n "(cached) " >&6
48441 else
48442
48443
48444 ac_ext=cpp
48445 ac_cpp='$CXXCPP $CPPFLAGS'
48446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48449
48450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48451 /* end confdefs.h. */
48452 #include <math.h>
48453 #ifdef HAVE_IEEEFP_H
48454 #include <ieeefp.h>
48455 #endif
48456
48457 int
48458 main ()
48459 {
48460 sqrtl(0);
48461 ;
48462 return 0;
48463 }
48464 _ACEOF
48465 if ac_fn_cxx_try_compile "$LINENO"; then :
48466 glibcxx_cv_func_sqrtl_use=yes
48467 else
48468 glibcxx_cv_func_sqrtl_use=no
48469 fi
48470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48471 ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476
48477
48478 fi
48479
48480 fi
48481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
48482 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
48483
48484 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48485 for ac_func in sqrtl
48486 do :
48487 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
48488 if test "x$ac_cv_func_sqrtl" = xyes; then :
48489 cat >>confdefs.h <<_ACEOF
48490 #define HAVE_SQRTL 1
48491 _ACEOF
48492
48493 fi
48494 done
48495
48496 else
48497
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
48499 $as_echo_n "checking for _sqrtl declaration... " >&6; }
48500 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48501 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48504
48505
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48511
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 #ifdef HAVE_IEEEFP_H
48516 #include <ieeefp.h>
48517 #endif
48518
48519 int
48520 main ()
48521 {
48522 _sqrtl(0);
48523 ;
48524 return 0;
48525 }
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func__sqrtl_use=yes
48529 else
48530 glibcxx_cv_func__sqrtl_use=no
48531 fi
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538
48539
48540 fi
48541
48542 fi
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
48544 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
48545
48546 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48547 for ac_func in _sqrtl
48548 do :
48549 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
48550 if test "x$ac_cv_func__sqrtl" = xyes; then :
48551 cat >>confdefs.h <<_ACEOF
48552 #define HAVE__SQRTL 1
48553 _ACEOF
48554
48555 fi
48556 done
48557
48558 fi
48559 fi
48560
48561
48562
48563
48564
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
48566 $as_echo_n "checking for sincosl declaration... " >&6; }
48567 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48568 if ${glibcxx_cv_func_sincosl_use+:} false; then :
48569 $as_echo_n "(cached) " >&6
48570 else
48571
48572
48573 ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48578
48579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h. */
48581 #include <math.h>
48582 int
48583 main ()
48584 {
48585 sincosl(0, 0, 0);
48586 ;
48587 return 0;
48588 }
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591 glibcxx_cv_func_sincosl_use=yes
48592 else
48593 glibcxx_cv_func_sincosl_use=no
48594 fi
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596 ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601
48602
48603 fi
48604
48605 fi
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
48607 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
48608
48609 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48610 for ac_func in sincosl
48611 do :
48612 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
48613 if test "x$ac_cv_func_sincosl" = xyes; then :
48614 cat >>confdefs.h <<_ACEOF
48615 #define HAVE_SINCOSL 1
48616 _ACEOF
48617
48618 fi
48619 done
48620
48621 else
48622
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
48624 $as_echo_n "checking for _sincosl declaration... " >&6; }
48625 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48626 if ${glibcxx_cv_func__sincosl_use+:} false; then :
48627 $as_echo_n "(cached) " >&6
48628 else
48629
48630
48631 ac_ext=cpp
48632 ac_cpp='$CXXCPP $CPPFLAGS'
48633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636
48637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48638 /* end confdefs.h. */
48639 #include <math.h>
48640 int
48641 main ()
48642 {
48643 _sincosl(0, 0, 0);
48644 ;
48645 return 0;
48646 }
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649 glibcxx_cv_func__sincosl_use=yes
48650 else
48651 glibcxx_cv_func__sincosl_use=no
48652 fi
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48659
48660
48661 fi
48662
48663 fi
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
48665 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
48666
48667 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48668 for ac_func in _sincosl
48669 do :
48670 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
48671 if test "x$ac_cv_func__sincosl" = xyes; then :
48672 cat >>confdefs.h <<_ACEOF
48673 #define HAVE__SINCOSL 1
48674 _ACEOF
48675
48676 fi
48677 done
48678
48679 fi
48680 fi
48681
48682
48683
48684
48685
48686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
48687 $as_echo_n "checking for finitel declaration... " >&6; }
48688 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48689 if ${glibcxx_cv_func_finitel_use+:} false; then :
48690 $as_echo_n "(cached) " >&6
48691 else
48692
48693
48694 ac_ext=cpp
48695 ac_cpp='$CXXCPP $CPPFLAGS'
48696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48699
48700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48701 /* end confdefs.h. */
48702 #include <math.h>
48703 #ifdef HAVE_IEEEFP_H
48704 #include <ieeefp.h>
48705 #endif
48706
48707 int
48708 main ()
48709 {
48710 finitel(0);
48711 ;
48712 return 0;
48713 }
48714 _ACEOF
48715 if ac_fn_cxx_try_compile "$LINENO"; then :
48716 glibcxx_cv_func_finitel_use=yes
48717 else
48718 glibcxx_cv_func_finitel_use=no
48719 fi
48720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721 ac_ext=c
48722 ac_cpp='$CPP $CPPFLAGS'
48723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726
48727
48728 fi
48729
48730 fi
48731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
48732 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
48733
48734 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48735 for ac_func in finitel
48736 do :
48737 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
48738 if test "x$ac_cv_func_finitel" = xyes; then :
48739 cat >>confdefs.h <<_ACEOF
48740 #define HAVE_FINITEL 1
48741 _ACEOF
48742
48743 fi
48744 done
48745
48746 else
48747
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
48749 $as_echo_n "checking for _finitel declaration... " >&6; }
48750 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48751 if ${glibcxx_cv_func__finitel_use+:} false; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48754
48755
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48765 #ifdef HAVE_IEEEFP_H
48766 #include <ieeefp.h>
48767 #endif
48768
48769 int
48770 main ()
48771 {
48772 _finitel(0);
48773 ;
48774 return 0;
48775 }
48776 _ACEOF
48777 if ac_fn_cxx_try_compile "$LINENO"; then :
48778 glibcxx_cv_func__finitel_use=yes
48779 else
48780 glibcxx_cv_func__finitel_use=no
48781 fi
48782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48783 ac_ext=c
48784 ac_cpp='$CPP $CPPFLAGS'
48785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788
48789
48790 fi
48791
48792 fi
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
48794 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
48795
48796 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48797 for ac_func in _finitel
48798 do :
48799 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
48800 if test "x$ac_cv_func__finitel" = xyes; then :
48801 cat >>confdefs.h <<_ACEOF
48802 #define HAVE__FINITEL 1
48803 _ACEOF
48804
48805 fi
48806 done
48807
48808 fi
48809 fi
48810
48811
48812
48813
48814 LIBS="$ac_save_LIBS"
48815 CXXFLAGS="$ac_save_CXXFLAGS"
48816
48817
48818 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48819 ac_save_CXXFLAGS="$CXXFLAGS"
48820 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48821
48822
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
48824 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
48825 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
48826 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
48827 $as_echo_n "(cached) " >&6
48828 else
48829
48830
48831 ac_ext=cpp
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48836
48837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838 /* end confdefs.h. */
48839 #include <stdlib.h>
48840 int
48841 main ()
48842 {
48843 at_quick_exit(0);
48844 ;
48845 return 0;
48846 }
48847 _ACEOF
48848 if ac_fn_cxx_try_compile "$LINENO"; then :
48849 glibcxx_cv_func_at_quick_exit_use=yes
48850 else
48851 glibcxx_cv_func_at_quick_exit_use=no
48852 fi
48853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48854 ac_ext=c
48855 ac_cpp='$CPP $CPPFLAGS'
48856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48859
48860
48861 fi
48862
48863 fi
48864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
48865 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
48866 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
48867 for ac_func in at_quick_exit
48868 do :
48869 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
48870 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE_AT_QUICK_EXIT 1
48873 _ACEOF
48874
48875 fi
48876 done
48877
48878 fi
48879
48880
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
48882 $as_echo_n "checking for quick_exit declaration... " >&6; }
48883 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
48884 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
48885 $as_echo_n "(cached) " >&6
48886 else
48887
48888
48889 ac_ext=cpp
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48894
48895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48896 /* end confdefs.h. */
48897 #include <stdlib.h>
48898 int
48899 main ()
48900 {
48901 quick_exit(0);
48902 ;
48903 return 0;
48904 }
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907 glibcxx_cv_func_quick_exit_use=yes
48908 else
48909 glibcxx_cv_func_quick_exit_use=no
48910 fi
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917
48918
48919 fi
48920
48921 fi
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
48923 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
48924 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
48925 for ac_func in quick_exit
48926 do :
48927 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
48928 if test "x$ac_cv_func_quick_exit" = xyes; then :
48929 cat >>confdefs.h <<_ACEOF
48930 #define HAVE_QUICK_EXIT 1
48931 _ACEOF
48932
48933 fi
48934 done
48935
48936 fi
48937
48938
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
48940 $as_echo_n "checking for strtold declaration... " >&6; }
48941 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
48942 if ${glibcxx_cv_func_strtold_use+:} false; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48945
48946
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48952
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <stdlib.h>
48956 int
48957 main ()
48958 {
48959 strtold(0, 0);
48960 ;
48961 return 0;
48962 }
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func_strtold_use=yes
48966 else
48967 glibcxx_cv_func_strtold_use=no
48968 fi
48969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48970 ac_ext=c
48971 ac_cpp='$CPP $CPPFLAGS'
48972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48975
48976
48977 fi
48978
48979 fi
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
48981 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
48982 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
48983 for ac_func in strtold
48984 do :
48985 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
48986 if test "x$ac_cv_func_strtold" = xyes; then :
48987 cat >>confdefs.h <<_ACEOF
48988 #define HAVE_STRTOLD 1
48989 _ACEOF
48990
48991 fi
48992 done
48993
48994 fi
48995
48996
48997
48998
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
49000 $as_echo_n "checking for strtof declaration... " >&6; }
49001 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
49002 if ${glibcxx_cv_func_strtof_use+:} false; then :
49003 $as_echo_n "(cached) " >&6
49004 else
49005
49006
49007 ac_ext=cpp
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012
49013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49014 /* end confdefs.h. */
49015 #include <stdlib.h>
49016 int
49017 main ()
49018 {
49019 strtof(0, 0);
49020 ;
49021 return 0;
49022 }
49023 _ACEOF
49024 if ac_fn_cxx_try_compile "$LINENO"; then :
49025 glibcxx_cv_func_strtof_use=yes
49026 else
49027 glibcxx_cv_func_strtof_use=no
49028 fi
49029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49030 ac_ext=c
49031 ac_cpp='$CPP $CPPFLAGS'
49032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49035
49036
49037 fi
49038
49039 fi
49040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
49041 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
49042 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
49043 for ac_func in strtof
49044 do :
49045 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
49046 if test "x$ac_cv_func_strtof" = xyes; then :
49047 cat >>confdefs.h <<_ACEOF
49048 #define HAVE_STRTOF 1
49049 _ACEOF
49050
49051 fi
49052 done
49053
49054 fi
49055
49056
49057
49058
49059 CXXFLAGS="$ac_save_CXXFLAGS"
49060
49061
49062 for ac_func in uselocale
49063 do :
49064 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49065 if test "x$ac_cv_func_uselocale" = xyes; then :
49066 cat >>confdefs.h <<_ACEOF
49067 #define HAVE_USELOCALE 1
49068 _ACEOF
49069
49070 fi
49071 done
49072
49073 ;;
49074
49075 *djgpp)
49076 # GLIBCXX_CHECK_MATH_SUPPORT
49077 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49078
49079 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49080
49081 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49082
49083 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
49084
49085 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49086
49087 ;;
49088
49089 *-freebsd*)
49090 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49091
49092
49093 # If we're not using GNU ld, then there's no point in even trying these
49094 # tests. Check for that first. We should have already tested for gld
49095 # by now (in libtool), but require it now just to be safe...
49096 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49097 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49098
49099
49100
49101 # The name set by libtool depends on the version of libtool. Shame on us
49102 # for depending on an impl detail, but c'est la vie. Older versions used
49103 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49104 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49105 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49106 # set (hence we're using an older libtool), then set it.
49107 if test x${with_gnu_ld+set} != xset; then
49108 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49109 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49110 with_gnu_ld=no
49111 else
49112 with_gnu_ld=$ac_cv_prog_gnu_ld
49113 fi
49114 fi
49115
49116 # Start by getting the version number. I think the libtool test already
49117 # does some of this, but throws away the result.
49118 glibcxx_ld_is_gold=no
49119 glibcxx_ld_is_mold=no
49120 if test x"$with_gnu_ld" = x"yes"; then
49121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49122 $as_echo_n "checking for ld version... " >&6; }
49123
49124 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49125 glibcxx_ld_is_gold=yes
49126 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49127 glibcxx_ld_is_mold=yes
49128 fi
49129 ldver=`$LD --version 2>/dev/null |
49130 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49131
49132 glibcxx_gnu_ld_version=`echo $ldver | \
49133 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49135 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49136 fi
49137
49138 # Set --gc-sections.
49139 glibcxx_have_gc_sections=no
49140 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49141 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49142 glibcxx_have_gc_sections=yes
49143 fi
49144 else
49145 glibcxx_gcsections_min_ld=21602
49146 if test x"$with_gnu_ld" = x"yes" &&
49147 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49148 glibcxx_have_gc_sections=yes
49149 fi
49150 fi
49151 if test "$glibcxx_have_gc_sections" = "yes"; then
49152 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49153 # NB: This flag only works reliably after 2.16.1. Configure tests
49154 # for this are difficult, so hard wire a value that should work.
49155
49156 ac_test_CFLAGS="${CFLAGS+set}"
49157 ac_save_CFLAGS="$CFLAGS"
49158 CFLAGS='-Wl,--gc-sections'
49159
49160 # Check for -Wl,--gc-sections
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49162 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49163 if test x$gcc_no_link = xyes; then
49164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49165 fi
49166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49167 /* end confdefs.h. */
49168 int one(void) { return 1; }
49169 int two(void) { return 2; }
49170
49171 int
49172 main ()
49173 {
49174 two();
49175 ;
49176 return 0;
49177 }
49178 _ACEOF
49179 if ac_fn_c_try_link "$LINENO"; then :
49180 ac_gcsections=yes
49181 else
49182 ac_gcsections=no
49183 fi
49184 rm -f core conftest.err conftest.$ac_objext \
49185 conftest$ac_exeext conftest.$ac_ext
49186 if test "$ac_gcsections" = "yes"; then
49187 rm -f conftest.c
49188 touch conftest.c
49189 if $CC -c conftest.c; then
49190 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49191 grep "Warning: gc-sections option ignored" > /dev/null; then
49192 ac_gcsections=no
49193 fi
49194 fi
49195 rm -f conftest.c conftest.o conftest
49196 fi
49197 if test "$ac_gcsections" = "yes"; then
49198 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49199 fi
49200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49201 $as_echo "$ac_gcsections" >&6; }
49202
49203 if test "$ac_test_CFLAGS" = set; then
49204 CFLAGS="$ac_save_CFLAGS"
49205 else
49206 # this is the suspicious part
49207 CFLAGS=''
49208 fi
49209 fi
49210
49211 # Set -z,relro.
49212 # Note this is only for shared objects.
49213 ac_ld_relro=no
49214 if test x"$with_gnu_ld" = x"yes"; then
49215 # cygwin and mingw uses PE, which has no ELF relro support,
49216 # multi target ld may confuse configure machinery
49217 case "$host" in
49218 *-*-cygwin*)
49219 ;;
49220 *-*-mingw*)
49221 ;;
49222 *)
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49224 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49225 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49226 if test -n "$cxx_z_relo"; then
49227 OPT_LDFLAGS="-Wl,-z,relro"
49228 ac_ld_relro=yes
49229 fi
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49231 $as_echo "$ac_ld_relro" >&6; }
49232 esac
49233 fi
49234
49235 # Set linker optimization flags.
49236 if test x"$with_gnu_ld" = x"yes"; then
49237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49238 fi
49239
49240
49241
49242
49243 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
49244
49245 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
49246
49247 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49248
49249 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49250
49251 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49252
49253 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
49254
49255 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49256
49257 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49258
49259 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
49260
49261
49262 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49263
49264 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49265
49266 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49267
49268 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49269
49270 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
49271
49272 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49273
49274 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49275
49276 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49277
49278 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49279
49280 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
49281
49282 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49283
49284 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49285
49286 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
49287
49288 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49289
49290 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49291
49292 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
49293
49294 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49295
49296 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49297
49298 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49299
49300 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49301
49302 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49303
49304 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49305
49306 if test x"long_double_math_on_this_cpu" = x"yes"; then
49307 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
49308
49309 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
49310
49311 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
49312
49313 fi
49314 for ac_func in __cxa_thread_atexit
49315 do :
49316 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
49317 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
49318 cat >>confdefs.h <<_ACEOF
49319 #define HAVE___CXA_THREAD_ATEXIT 1
49320 _ACEOF
49321
49322 fi
49323 done
49324
49325 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
49326 do :
49327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49332 _ACEOF
49333
49334 fi
49335 done
49336
49337 for ac_func in timespec_get
49338 do :
49339 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
49340 if test "x$ac_cv_func_timespec_get" = xyes; then :
49341 cat >>confdefs.h <<_ACEOF
49342 #define HAVE_TIMESPEC_GET 1
49343 _ACEOF
49344
49345 fi
49346 done
49347
49348 for ac_func in sockatmark
49349 do :
49350 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
49351 if test "x$ac_cv_func_sockatmark" = xyes; then :
49352 cat >>confdefs.h <<_ACEOF
49353 #define HAVE_SOCKATMARK 1
49354 _ACEOF
49355
49356 fi
49357 done
49358
49359 for ac_func in uselocale
49360 do :
49361 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49362 if test "x$ac_cv_func_uselocale" = xyes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE_USELOCALE 1
49365 _ACEOF
49366
49367 fi
49368 done
49369
49370 ;;
49371
49372 *-fuchsia*)
49373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49374
49375 ;;
49376
49377 *-hpux*)
49378 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49379
49380
49381 # If we're not using GNU ld, then there's no point in even trying these
49382 # tests. Check for that first. We should have already tested for gld
49383 # by now (in libtool), but require it now just to be safe...
49384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49386
49387
49388
49389 # The name set by libtool depends on the version of libtool. Shame on us
49390 # for depending on an impl detail, but c'est la vie. Older versions used
49391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49394 # set (hence we're using an older libtool), then set it.
49395 if test x${with_gnu_ld+set} != xset; then
49396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49398 with_gnu_ld=no
49399 else
49400 with_gnu_ld=$ac_cv_prog_gnu_ld
49401 fi
49402 fi
49403
49404 # Start by getting the version number. I think the libtool test already
49405 # does some of this, but throws away the result.
49406 glibcxx_ld_is_gold=no
49407 glibcxx_ld_is_mold=no
49408 if test x"$with_gnu_ld" = x"yes"; then
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49410 $as_echo_n "checking for ld version... " >&6; }
49411
49412 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49413 glibcxx_ld_is_gold=yes
49414 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49415 glibcxx_ld_is_mold=yes
49416 fi
49417 ldver=`$LD --version 2>/dev/null |
49418 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49419
49420 glibcxx_gnu_ld_version=`echo $ldver | \
49421 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49423 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49424 fi
49425
49426 # Set --gc-sections.
49427 glibcxx_have_gc_sections=no
49428 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49429 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49430 glibcxx_have_gc_sections=yes
49431 fi
49432 else
49433 glibcxx_gcsections_min_ld=21602
49434 if test x"$with_gnu_ld" = x"yes" &&
49435 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49436 glibcxx_have_gc_sections=yes
49437 fi
49438 fi
49439 if test "$glibcxx_have_gc_sections" = "yes"; then
49440 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49441 # NB: This flag only works reliably after 2.16.1. Configure tests
49442 # for this are difficult, so hard wire a value that should work.
49443
49444 ac_test_CFLAGS="${CFLAGS+set}"
49445 ac_save_CFLAGS="$CFLAGS"
49446 CFLAGS='-Wl,--gc-sections'
49447
49448 # Check for -Wl,--gc-sections
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49450 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49451 if test x$gcc_no_link = xyes; then
49452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49453 fi
49454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49455 /* end confdefs.h. */
49456 int one(void) { return 1; }
49457 int two(void) { return 2; }
49458
49459 int
49460 main ()
49461 {
49462 two();
49463 ;
49464 return 0;
49465 }
49466 _ACEOF
49467 if ac_fn_c_try_link "$LINENO"; then :
49468 ac_gcsections=yes
49469 else
49470 ac_gcsections=no
49471 fi
49472 rm -f core conftest.err conftest.$ac_objext \
49473 conftest$ac_exeext conftest.$ac_ext
49474 if test "$ac_gcsections" = "yes"; then
49475 rm -f conftest.c
49476 touch conftest.c
49477 if $CC -c conftest.c; then
49478 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49479 grep "Warning: gc-sections option ignored" > /dev/null; then
49480 ac_gcsections=no
49481 fi
49482 fi
49483 rm -f conftest.c conftest.o conftest
49484 fi
49485 if test "$ac_gcsections" = "yes"; then
49486 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49487 fi
49488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49489 $as_echo "$ac_gcsections" >&6; }
49490
49491 if test "$ac_test_CFLAGS" = set; then
49492 CFLAGS="$ac_save_CFLAGS"
49493 else
49494 # this is the suspicious part
49495 CFLAGS=''
49496 fi
49497 fi
49498
49499 # Set -z,relro.
49500 # Note this is only for shared objects.
49501 ac_ld_relro=no
49502 if test x"$with_gnu_ld" = x"yes"; then
49503 # cygwin and mingw uses PE, which has no ELF relro support,
49504 # multi target ld may confuse configure machinery
49505 case "$host" in
49506 *-*-cygwin*)
49507 ;;
49508 *-*-mingw*)
49509 ;;
49510 *)
49511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49512 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49513 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49514 if test -n "$cxx_z_relo"; then
49515 OPT_LDFLAGS="-Wl,-z,relro"
49516 ac_ld_relro=yes
49517 fi
49518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49519 $as_echo "$ac_ld_relro" >&6; }
49520 esac
49521 fi
49522
49523 # Set linker optimization flags.
49524 if test x"$with_gnu_ld" = x"yes"; then
49525 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49526 fi
49527
49528
49529
49530
49531
49532 # GLIBCXX_CHECK_MATH_SUPPORT
49533 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49534
49535 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49536
49537 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49538
49539 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49540
49541 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49542
49543 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49544
49545 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49546
49547 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49548
49549 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49550
49551 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49552
49553 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49554
49555 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49556
49557 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49558
49559 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49560
49561 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49562
49563 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49564
49565 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49566
49567 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49568
49569 $as_echo "#define HAVE_MODF 1" >>confdefs.h
49570
49571 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49572
49573 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49574
49575
49576 # GLIBCXX_CHECK_STDLIB_SUPPORT
49577 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
49578
49579
49580
49581
49582 # Check whether --enable-tls was given.
49583 if test "${enable_tls+set}" = set; then :
49584 enableval=$enable_tls;
49585 case "$enableval" in
49586 yes|no) ;;
49587 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
49588 esac
49589
49590 else
49591 enable_tls=yes
49592 fi
49593
49594
49595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
49596 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
49597 if ${gcc_cv_have_tls+:} false; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49600
49601 if test "$cross_compiling" = yes; then :
49602 if test x$gcc_no_link = xyes; then
49603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49604 fi
49605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49606 /* end confdefs.h. */
49607 __thread int a; int b; int main() { return a = b; }
49608 _ACEOF
49609 if ac_fn_c_try_link "$LINENO"; then :
49610 chktls_save_LDFLAGS="$LDFLAGS"
49611 case $host in
49612 *-*-linux* | -*-uclinuxfdpic*)
49613 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
49614 ;;
49615 esac
49616 chktls_save_CFLAGS="$CFLAGS"
49617 CFLAGS="-fPIC $CFLAGS"
49618 if test x$gcc_no_link = xyes; then
49619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49620 fi
49621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49622 /* end confdefs.h. */
49623 int f() { return 0; }
49624 _ACEOF
49625 if ac_fn_c_try_link "$LINENO"; then :
49626 if test x$gcc_no_link = xyes; then
49627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49628 fi
49629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49630 /* end confdefs.h. */
49631 __thread int a; int b; int f() { return a = b; }
49632 _ACEOF
49633 if ac_fn_c_try_link "$LINENO"; then :
49634 gcc_cv_have_tls=yes
49635 else
49636 gcc_cv_have_tls=no
49637 fi
49638 rm -f core conftest.err conftest.$ac_objext \
49639 conftest$ac_exeext conftest.$ac_ext
49640 else
49641 gcc_cv_have_tls=yes
49642 fi
49643 rm -f core conftest.err conftest.$ac_objext \
49644 conftest$ac_exeext conftest.$ac_ext
49645 CFLAGS="$chktls_save_CFLAGS"
49646 LDFLAGS="$chktls_save_LDFLAGS"
49647 else
49648 gcc_cv_have_tls=no
49649 fi
49650 rm -f core conftest.err conftest.$ac_objext \
49651 conftest$ac_exeext conftest.$ac_ext
49652
49653
49654 else
49655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49656 /* end confdefs.h. */
49657 __thread int a; int b; int main() { return a = b; }
49658 _ACEOF
49659 if ac_fn_c_try_run "$LINENO"; then :
49660 chktls_save_LDFLAGS="$LDFLAGS"
49661 LDFLAGS="-static $LDFLAGS"
49662 if test x$gcc_no_link = xyes; then
49663 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49664 fi
49665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49666 /* end confdefs.h. */
49667 int main() { return 0; }
49668 _ACEOF
49669 if ac_fn_c_try_link "$LINENO"; then :
49670 if test "$cross_compiling" = yes; then :
49671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49673 as_fn_error $? "cannot run test program while cross compiling
49674 See \`config.log' for more details" "$LINENO" 5; }
49675 else
49676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49677 /* end confdefs.h. */
49678 __thread int a; int b; int main() { return a = b; }
49679 _ACEOF
49680 if ac_fn_c_try_run "$LINENO"; then :
49681 gcc_cv_have_tls=yes
49682 else
49683 gcc_cv_have_tls=no
49684 fi
49685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49686 conftest.$ac_objext conftest.beam conftest.$ac_ext
49687 fi
49688
49689 else
49690 gcc_cv_have_tls=yes
49691 fi
49692 rm -f core conftest.err conftest.$ac_objext \
49693 conftest$ac_exeext conftest.$ac_ext
49694 LDFLAGS="$chktls_save_LDFLAGS"
49695 if test $gcc_cv_have_tls = yes; then
49696 chktls_save_CFLAGS="$CFLAGS"
49697 thread_CFLAGS=failed
49698 for flag in '' '-pthread' '-lpthread'; do
49699 CFLAGS="$flag $chktls_save_CFLAGS"
49700 if test x$gcc_no_link = xyes; then
49701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49702 fi
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49705 #include <pthread.h>
49706 void *g(void *d) { return NULL; }
49707 int
49708 main ()
49709 {
49710 pthread_t t; pthread_create(&t,NULL,g,NULL);
49711 ;
49712 return 0;
49713 }
49714 _ACEOF
49715 if ac_fn_c_try_link "$LINENO"; then :
49716 thread_CFLAGS="$flag"
49717 fi
49718 rm -f core conftest.err conftest.$ac_objext \
49719 conftest$ac_exeext conftest.$ac_ext
49720 if test "X$thread_CFLAGS" != Xfailed; then
49721 break
49722 fi
49723 done
49724 CFLAGS="$chktls_save_CFLAGS"
49725 if test "X$thread_CFLAGS" != Xfailed; then
49726 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
49727 if test "$cross_compiling" = yes; then :
49728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49730 as_fn_error $? "cannot run test program while cross compiling
49731 See \`config.log' for more details" "$LINENO" 5; }
49732 else
49733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49734 /* end confdefs.h. */
49735 #include <pthread.h>
49736 __thread int a;
49737 static int *volatile a_in_other_thread;
49738 static void *
49739 thread_func (void *arg)
49740 {
49741 a_in_other_thread = &a;
49742 return (void *)0;
49743 }
49744 int
49745 main ()
49746 {
49747 pthread_t thread;
49748 void *thread_retval;
49749 int *volatile a_in_main_thread;
49750 a_in_main_thread = &a;
49751 if (pthread_create (&thread, (pthread_attr_t *)0,
49752 thread_func, (void *)0))
49753 return 0;
49754 if (pthread_join (thread, &thread_retval))
49755 return 0;
49756 return (a_in_other_thread == a_in_main_thread);
49757 ;
49758 return 0;
49759 }
49760 _ACEOF
49761 if ac_fn_c_try_run "$LINENO"; then :
49762 gcc_cv_have_tls=yes
49763 else
49764 gcc_cv_have_tls=no
49765 fi
49766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49767 conftest.$ac_objext conftest.beam conftest.$ac_ext
49768 fi
49769
49770 CFLAGS="$chktls_save_CFLAGS"
49771 fi
49772 fi
49773 else
49774 gcc_cv_have_tls=no
49775 fi
49776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49777 conftest.$ac_objext conftest.beam conftest.$ac_ext
49778 fi
49779
49780 fi
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
49782 $as_echo "$gcc_cv_have_tls" >&6; }
49783 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
49784
49785 $as_echo "#define HAVE_TLS 1" >>confdefs.h
49786
49787 fi
49788 ;;
49789 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
49790
49791 # All these tests are for C++; save the language and the compiler flags.
49792 # The CXXFLAGS thing is suspicious, but based on similar bits previously
49793 # found in GLIBCXX_CONFIGURE.
49794
49795 ac_ext=cpp
49796 ac_cpp='$CXXCPP $CPPFLAGS'
49797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49800
49801 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49802 ac_save_CXXFLAGS="$CXXFLAGS"
49803
49804 # Check for -ffunction-sections -fdata-sections
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
49806 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
49807 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
49808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49809 /* end confdefs.h. */
49810 int foo; void bar() { };
49811 int
49812 main ()
49813 {
49814
49815 ;
49816 return 0;
49817 }
49818 _ACEOF
49819 if ac_fn_cxx_try_compile "$LINENO"; then :
49820 ac_fdsections=yes
49821 else
49822 ac_fdsections=no
49823 fi
49824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49825 if test "$ac_test_CXXFLAGS" = set; then
49826 CXXFLAGS="$ac_save_CXXFLAGS"
49827 else
49828 # this is the suspicious part
49829 CXXFLAGS=''
49830 fi
49831 if test x"$ac_fdsections" = x"yes"; then
49832 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49833 fi
49834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
49835 $as_echo "$ac_fdsections" >&6; }
49836
49837 ac_ext=c
49838 ac_cpp='$CPP $CPPFLAGS'
49839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49842
49843
49844
49845
49846 # If we're not using GNU ld, then there's no point in even trying these
49847 # tests. Check for that first. We should have already tested for gld
49848 # by now (in libtool), but require it now just to be safe...
49849 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49850 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49851
49852
49853
49854 # The name set by libtool depends on the version of libtool. Shame on us
49855 # for depending on an impl detail, but c'est la vie. Older versions used
49856 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49857 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49858 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49859 # set (hence we're using an older libtool), then set it.
49860 if test x${with_gnu_ld+set} != xset; then
49861 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49862 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49863 with_gnu_ld=no
49864 else
49865 with_gnu_ld=$ac_cv_prog_gnu_ld
49866 fi
49867 fi
49868
49869 # Start by getting the version number. I think the libtool test already
49870 # does some of this, but throws away the result.
49871 glibcxx_ld_is_gold=no
49872 glibcxx_ld_is_mold=no
49873 if test x"$with_gnu_ld" = x"yes"; then
49874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49875 $as_echo_n "checking for ld version... " >&6; }
49876
49877 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49878 glibcxx_ld_is_gold=yes
49879 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49880 glibcxx_ld_is_mold=yes
49881 fi
49882 ldver=`$LD --version 2>/dev/null |
49883 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49884
49885 glibcxx_gnu_ld_version=`echo $ldver | \
49886 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49888 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49889 fi
49890
49891 # Set --gc-sections.
49892 glibcxx_have_gc_sections=no
49893 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49894 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49895 glibcxx_have_gc_sections=yes
49896 fi
49897 else
49898 glibcxx_gcsections_min_ld=21602
49899 if test x"$with_gnu_ld" = x"yes" &&
49900 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49901 glibcxx_have_gc_sections=yes
49902 fi
49903 fi
49904 if test "$glibcxx_have_gc_sections" = "yes"; then
49905 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49906 # NB: This flag only works reliably after 2.16.1. Configure tests
49907 # for this are difficult, so hard wire a value that should work.
49908
49909 ac_test_CFLAGS="${CFLAGS+set}"
49910 ac_save_CFLAGS="$CFLAGS"
49911 CFLAGS='-Wl,--gc-sections'
49912
49913 # Check for -Wl,--gc-sections
49914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49915 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49916 if test x$gcc_no_link = xyes; then
49917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49918 fi
49919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49920 /* end confdefs.h. */
49921 int one(void) { return 1; }
49922 int two(void) { return 2; }
49923
49924 int
49925 main ()
49926 {
49927 two();
49928 ;
49929 return 0;
49930 }
49931 _ACEOF
49932 if ac_fn_c_try_link "$LINENO"; then :
49933 ac_gcsections=yes
49934 else
49935 ac_gcsections=no
49936 fi
49937 rm -f core conftest.err conftest.$ac_objext \
49938 conftest$ac_exeext conftest.$ac_ext
49939 if test "$ac_gcsections" = "yes"; then
49940 rm -f conftest.c
49941 touch conftest.c
49942 if $CC -c conftest.c; then
49943 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49944 grep "Warning: gc-sections option ignored" > /dev/null; then
49945 ac_gcsections=no
49946 fi
49947 fi
49948 rm -f conftest.c conftest.o conftest
49949 fi
49950 if test "$ac_gcsections" = "yes"; then
49951 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49952 fi
49953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49954 $as_echo "$ac_gcsections" >&6; }
49955
49956 if test "$ac_test_CFLAGS" = set; then
49957 CFLAGS="$ac_save_CFLAGS"
49958 else
49959 # this is the suspicious part
49960 CFLAGS=''
49961 fi
49962 fi
49963
49964 # Set -z,relro.
49965 # Note this is only for shared objects.
49966 ac_ld_relro=no
49967 if test x"$with_gnu_ld" = x"yes"; then
49968 # cygwin and mingw uses PE, which has no ELF relro support,
49969 # multi target ld may confuse configure machinery
49970 case "$host" in
49971 *-*-cygwin*)
49972 ;;
49973 *-*-mingw*)
49974 ;;
49975 *)
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49977 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49978 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49979 if test -n "$cxx_z_relo"; then
49980 OPT_LDFLAGS="-Wl,-z,relro"
49981 ac_ld_relro=yes
49982 fi
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49984 $as_echo "$ac_ld_relro" >&6; }
49985 esac
49986 fi
49987
49988 # Set linker optimization flags.
49989 if test x"$with_gnu_ld" = x"yes"; then
49990 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49991 fi
49992
49993
49994
49995
49996
49997 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49998 ac_save_CXXFLAGS="$CXXFLAGS"
49999 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50000
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50002 $as_echo_n "checking for sin in -lm... " >&6; }
50003 if ${ac_cv_lib_m_sin+:} false; then :
50004 $as_echo_n "(cached) " >&6
50005 else
50006 ac_check_lib_save_LIBS=$LIBS
50007 LIBS="-lm $LIBS"
50008 if test x$gcc_no_link = xyes; then
50009 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50010 fi
50011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h. */
50013
50014 /* Override any GCC internal prototype to avoid an error.
50015 Use char because int might match the return type of a GCC
50016 builtin and then its argument prototype would still apply. */
50017 #ifdef __cplusplus
50018 extern "C"
50019 #endif
50020 char sin ();
50021 int
50022 main ()
50023 {
50024 return sin ();
50025 ;
50026 return 0;
50027 }
50028 _ACEOF
50029 if ac_fn_c_try_link "$LINENO"; then :
50030 ac_cv_lib_m_sin=yes
50031 else
50032 ac_cv_lib_m_sin=no
50033 fi
50034 rm -f core conftest.err conftest.$ac_objext \
50035 conftest$ac_exeext conftest.$ac_ext
50036 LIBS=$ac_check_lib_save_LIBS
50037 fi
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50039 $as_echo "$ac_cv_lib_m_sin" >&6; }
50040 if test "x$ac_cv_lib_m_sin" = xyes; then :
50041 libm="-lm"
50042 fi
50043
50044 ac_save_LIBS="$LIBS"
50045 LIBS="$LIBS $libm"
50046
50047
50048
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50050 $as_echo_n "checking for isinf declaration... " >&6; }
50051 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50052 if ${glibcxx_cv_func_isinf_use+:} false; then :
50053 $as_echo_n "(cached) " >&6
50054 else
50055
50056
50057 ac_ext=cpp
50058 ac_cpp='$CXXCPP $CPPFLAGS'
50059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50062
50063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50064 /* end confdefs.h. */
50065 #include <math.h>
50066 #ifdef HAVE_IEEEFP_H
50067 #include <ieeefp.h>
50068 #endif
50069
50070 int
50071 main ()
50072 {
50073 isinf(0);
50074 ;
50075 return 0;
50076 }
50077 _ACEOF
50078 if ac_fn_cxx_try_compile "$LINENO"; then :
50079 glibcxx_cv_func_isinf_use=yes
50080 else
50081 glibcxx_cv_func_isinf_use=no
50082 fi
50083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084 ac_ext=c
50085 ac_cpp='$CPP $CPPFLAGS'
50086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089
50090
50091 fi
50092
50093 fi
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50095 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50096
50097 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50098 for ac_func in isinf
50099 do :
50100 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50101 if test "x$ac_cv_func_isinf" = xyes; then :
50102 cat >>confdefs.h <<_ACEOF
50103 #define HAVE_ISINF 1
50104 _ACEOF
50105
50106 fi
50107 done
50108
50109 else
50110
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50112 $as_echo_n "checking for _isinf declaration... " >&6; }
50113 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50114 if ${glibcxx_cv_func__isinf_use+:} false; then :
50115 $as_echo_n "(cached) " >&6
50116 else
50117
50118
50119 ac_ext=cpp
50120 ac_cpp='$CXXCPP $CPPFLAGS'
50121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124
50125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50126 /* end confdefs.h. */
50127 #include <math.h>
50128 #ifdef HAVE_IEEEFP_H
50129 #include <ieeefp.h>
50130 #endif
50131
50132 int
50133 main ()
50134 {
50135 _isinf(0);
50136 ;
50137 return 0;
50138 }
50139 _ACEOF
50140 if ac_fn_cxx_try_compile "$LINENO"; then :
50141 glibcxx_cv_func__isinf_use=yes
50142 else
50143 glibcxx_cv_func__isinf_use=no
50144 fi
50145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50146 ac_ext=c
50147 ac_cpp='$CPP $CPPFLAGS'
50148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50151
50152
50153 fi
50154
50155 fi
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50157 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50158
50159 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50160 for ac_func in _isinf
50161 do :
50162 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
50163 if test "x$ac_cv_func__isinf" = xyes; then :
50164 cat >>confdefs.h <<_ACEOF
50165 #define HAVE__ISINF 1
50166 _ACEOF
50167
50168 fi
50169 done
50170
50171 fi
50172 fi
50173
50174
50175
50176
50177
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
50179 $as_echo_n "checking for isnan declaration... " >&6; }
50180 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
50181 if ${glibcxx_cv_func_isnan_use+:} false; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50184
50185
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <math.h>
50195 #ifdef HAVE_IEEEFP_H
50196 #include <ieeefp.h>
50197 #endif
50198
50199 int
50200 main ()
50201 {
50202 isnan(0);
50203 ;
50204 return 0;
50205 }
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func_isnan_use=yes
50209 else
50210 glibcxx_cv_func_isnan_use=no
50211 fi
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222 fi
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
50224 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
50225
50226 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
50227 for ac_func in isnan
50228 do :
50229 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
50230 if test "x$ac_cv_func_isnan" = xyes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE_ISNAN 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238 else
50239
50240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
50241 $as_echo_n "checking for _isnan declaration... " >&6; }
50242 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
50243 if ${glibcxx_cv_func__isnan_use+:} false; then :
50244 $as_echo_n "(cached) " >&6
50245 else
50246
50247
50248 ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253
50254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h. */
50256 #include <math.h>
50257 #ifdef HAVE_IEEEFP_H
50258 #include <ieeefp.h>
50259 #endif
50260
50261 int
50262 main ()
50263 {
50264 _isnan(0);
50265 ;
50266 return 0;
50267 }
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270 glibcxx_cv_func__isnan_use=yes
50271 else
50272 glibcxx_cv_func__isnan_use=no
50273 fi
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275 ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280
50281
50282 fi
50283
50284 fi
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
50286 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
50287
50288 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
50289 for ac_func in _isnan
50290 do :
50291 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
50292 if test "x$ac_cv_func__isnan" = xyes; then :
50293 cat >>confdefs.h <<_ACEOF
50294 #define HAVE__ISNAN 1
50295 _ACEOF
50296
50297 fi
50298 done
50299
50300 fi
50301 fi
50302
50303
50304
50305
50306
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
50308 $as_echo_n "checking for finite declaration... " >&6; }
50309 if test x${glibcxx_cv_func_finite_use+set} != xset; then
50310 if ${glibcxx_cv_func_finite_use+:} false; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50313
50314
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50320
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50327
50328 int
50329 main ()
50330 {
50331 finite(0);
50332 ;
50333 return 0;
50334 }
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func_finite_use=yes
50338 else
50339 glibcxx_cv_func_finite_use=no
50340 fi
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347
50348
50349 fi
50350
50351 fi
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
50353 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
50354
50355 if test x$glibcxx_cv_func_finite_use = x"yes"; then
50356 for ac_func in finite
50357 do :
50358 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
50359 if test "x$ac_cv_func_finite" = xyes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE_FINITE 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367 else
50368
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
50370 $as_echo_n "checking for _finite declaration... " >&6; }
50371 if test x${glibcxx_cv_func__finite_use+set} != xset; then
50372 if ${glibcxx_cv_func__finite_use+:} false; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50375
50376
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50382
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 #ifdef HAVE_IEEEFP_H
50387 #include <ieeefp.h>
50388 #endif
50389
50390 int
50391 main ()
50392 {
50393 _finite(0);
50394 ;
50395 return 0;
50396 }
50397 _ACEOF
50398 if ac_fn_cxx_try_compile "$LINENO"; then :
50399 glibcxx_cv_func__finite_use=yes
50400 else
50401 glibcxx_cv_func__finite_use=no
50402 fi
50403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50404 ac_ext=c
50405 ac_cpp='$CPP $CPPFLAGS'
50406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50409
50410
50411 fi
50412
50413 fi
50414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
50415 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
50416
50417 if test x$glibcxx_cv_func__finite_use = x"yes"; then
50418 for ac_func in _finite
50419 do :
50420 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
50421 if test "x$ac_cv_func__finite" = xyes; then :
50422 cat >>confdefs.h <<_ACEOF
50423 #define HAVE__FINITE 1
50424 _ACEOF
50425
50426 fi
50427 done
50428
50429 fi
50430 fi
50431
50432
50433
50434
50435
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
50437 $as_echo_n "checking for sincos declaration... " >&6; }
50438 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
50439 if ${glibcxx_cv_func_sincos_use+:} false; then :
50440 $as_echo_n "(cached) " >&6
50441 else
50442
50443
50444 ac_ext=cpp
50445 ac_cpp='$CXXCPP $CPPFLAGS'
50446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50449
50450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50451 /* end confdefs.h. */
50452 #include <math.h>
50453 int
50454 main ()
50455 {
50456 sincos(0, 0, 0);
50457 ;
50458 return 0;
50459 }
50460 _ACEOF
50461 if ac_fn_cxx_try_compile "$LINENO"; then :
50462 glibcxx_cv_func_sincos_use=yes
50463 else
50464 glibcxx_cv_func_sincos_use=no
50465 fi
50466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50467 ac_ext=c
50468 ac_cpp='$CPP $CPPFLAGS'
50469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50472
50473
50474 fi
50475
50476 fi
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
50478 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
50479
50480 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
50481 for ac_func in sincos
50482 do :
50483 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
50484 if test "x$ac_cv_func_sincos" = xyes; then :
50485 cat >>confdefs.h <<_ACEOF
50486 #define HAVE_SINCOS 1
50487 _ACEOF
50488
50489 fi
50490 done
50491
50492 else
50493
50494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
50495 $as_echo_n "checking for _sincos declaration... " >&6; }
50496 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
50497 if ${glibcxx_cv_func__sincos_use+:} false; then :
50498 $as_echo_n "(cached) " >&6
50499 else
50500
50501
50502 ac_ext=cpp
50503 ac_cpp='$CXXCPP $CPPFLAGS'
50504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50507
50508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50509 /* end confdefs.h. */
50510 #include <math.h>
50511 int
50512 main ()
50513 {
50514 _sincos(0, 0, 0);
50515 ;
50516 return 0;
50517 }
50518 _ACEOF
50519 if ac_fn_cxx_try_compile "$LINENO"; then :
50520 glibcxx_cv_func__sincos_use=yes
50521 else
50522 glibcxx_cv_func__sincos_use=no
50523 fi
50524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50525 ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50530
50531
50532 fi
50533
50534 fi
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
50536 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
50537
50538 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
50539 for ac_func in _sincos
50540 do :
50541 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
50542 if test "x$ac_cv_func__sincos" = xyes; then :
50543 cat >>confdefs.h <<_ACEOF
50544 #define HAVE__SINCOS 1
50545 _ACEOF
50546
50547 fi
50548 done
50549
50550 fi
50551 fi
50552
50553
50554
50555
50556
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
50558 $as_echo_n "checking for fpclass declaration... " >&6; }
50559 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
50560 if ${glibcxx_cv_func_fpclass_use+:} false; then :
50561 $as_echo_n "(cached) " >&6
50562 else
50563
50564
50565 ac_ext=cpp
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50570
50571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h. */
50573 #include <math.h>
50574 #ifdef HAVE_IEEEFP_H
50575 #include <ieeefp.h>
50576 #endif
50577
50578 int
50579 main ()
50580 {
50581 fpclass(0);
50582 ;
50583 return 0;
50584 }
50585 _ACEOF
50586 if ac_fn_cxx_try_compile "$LINENO"; then :
50587 glibcxx_cv_func_fpclass_use=yes
50588 else
50589 glibcxx_cv_func_fpclass_use=no
50590 fi
50591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50592 ac_ext=c
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50597
50598
50599 fi
50600
50601 fi
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
50603 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
50604
50605 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
50606 for ac_func in fpclass
50607 do :
50608 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
50609 if test "x$ac_cv_func_fpclass" = xyes; then :
50610 cat >>confdefs.h <<_ACEOF
50611 #define HAVE_FPCLASS 1
50612 _ACEOF
50613
50614 fi
50615 done
50616
50617 else
50618
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
50620 $as_echo_n "checking for _fpclass declaration... " >&6; }
50621 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
50622 if ${glibcxx_cv_func__fpclass_use+:} false; then :
50623 $as_echo_n "(cached) " >&6
50624 else
50625
50626
50627 ac_ext=cpp
50628 ac_cpp='$CXXCPP $CPPFLAGS'
50629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632
50633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h. */
50635 #include <math.h>
50636 #ifdef HAVE_IEEEFP_H
50637 #include <ieeefp.h>
50638 #endif
50639
50640 int
50641 main ()
50642 {
50643 _fpclass(0);
50644 ;
50645 return 0;
50646 }
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func__fpclass_use=yes
50650 else
50651 glibcxx_cv_func__fpclass_use=no
50652 fi
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50659
50660
50661 fi
50662
50663 fi
50664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
50665 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
50666
50667 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
50668 for ac_func in _fpclass
50669 do :
50670 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
50671 if test "x$ac_cv_func__fpclass" = xyes; then :
50672 cat >>confdefs.h <<_ACEOF
50673 #define HAVE__FPCLASS 1
50674 _ACEOF
50675
50676 fi
50677 done
50678
50679 fi
50680 fi
50681
50682
50683
50684
50685
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
50687 $as_echo_n "checking for qfpclass declaration... " >&6; }
50688 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
50689 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50692
50693
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50699
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50703 #ifdef HAVE_IEEEFP_H
50704 #include <ieeefp.h>
50705 #endif
50706
50707 int
50708 main ()
50709 {
50710 qfpclass(0);
50711 ;
50712 return 0;
50713 }
50714 _ACEOF
50715 if ac_fn_cxx_try_compile "$LINENO"; then :
50716 glibcxx_cv_func_qfpclass_use=yes
50717 else
50718 glibcxx_cv_func_qfpclass_use=no
50719 fi
50720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50721 ac_ext=c
50722 ac_cpp='$CPP $CPPFLAGS'
50723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50726
50727
50728 fi
50729
50730 fi
50731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
50732 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
50733
50734 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
50735 for ac_func in qfpclass
50736 do :
50737 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
50738 if test "x$ac_cv_func_qfpclass" = xyes; then :
50739 cat >>confdefs.h <<_ACEOF
50740 #define HAVE_QFPCLASS 1
50741 _ACEOF
50742
50743 fi
50744 done
50745
50746 else
50747
50748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
50749 $as_echo_n "checking for _qfpclass declaration... " >&6; }
50750 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
50751 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
50752 $as_echo_n "(cached) " >&6
50753 else
50754
50755
50756 ac_ext=cpp
50757 ac_cpp='$CXXCPP $CPPFLAGS'
50758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50761
50762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50763 /* end confdefs.h. */
50764 #include <math.h>
50765 #ifdef HAVE_IEEEFP_H
50766 #include <ieeefp.h>
50767 #endif
50768
50769 int
50770 main ()
50771 {
50772 _qfpclass(0);
50773 ;
50774 return 0;
50775 }
50776 _ACEOF
50777 if ac_fn_cxx_try_compile "$LINENO"; then :
50778 glibcxx_cv_func__qfpclass_use=yes
50779 else
50780 glibcxx_cv_func__qfpclass_use=no
50781 fi
50782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50783 ac_ext=c
50784 ac_cpp='$CPP $CPPFLAGS'
50785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50788
50789
50790 fi
50791
50792 fi
50793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
50794 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
50795
50796 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
50797 for ac_func in _qfpclass
50798 do :
50799 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
50800 if test "x$ac_cv_func__qfpclass" = xyes; then :
50801 cat >>confdefs.h <<_ACEOF
50802 #define HAVE__QFPCLASS 1
50803 _ACEOF
50804
50805 fi
50806 done
50807
50808 fi
50809 fi
50810
50811
50812
50813
50814
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
50816 $as_echo_n "checking for hypot declaration... " >&6; }
50817 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
50818 if ${glibcxx_cv_func_hypot_use+:} false; then :
50819 $as_echo_n "(cached) " >&6
50820 else
50821
50822
50823 ac_ext=cpp
50824 ac_cpp='$CXXCPP $CPPFLAGS'
50825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50828
50829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50830 /* end confdefs.h. */
50831 #include <math.h>
50832 int
50833 main ()
50834 {
50835 hypot(0, 0);
50836 ;
50837 return 0;
50838 }
50839 _ACEOF
50840 if ac_fn_cxx_try_compile "$LINENO"; then :
50841 glibcxx_cv_func_hypot_use=yes
50842 else
50843 glibcxx_cv_func_hypot_use=no
50844 fi
50845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50846 ac_ext=c
50847 ac_cpp='$CPP $CPPFLAGS'
50848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50851
50852
50853 fi
50854
50855 fi
50856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
50857 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
50858
50859 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
50860 for ac_func in hypot
50861 do :
50862 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
50863 if test "x$ac_cv_func_hypot" = xyes; then :
50864 cat >>confdefs.h <<_ACEOF
50865 #define HAVE_HYPOT 1
50866 _ACEOF
50867
50868 fi
50869 done
50870
50871 else
50872
50873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
50874 $as_echo_n "checking for _hypot declaration... " >&6; }
50875 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
50876 if ${glibcxx_cv_func__hypot_use+:} false; then :
50877 $as_echo_n "(cached) " >&6
50878 else
50879
50880
50881 ac_ext=cpp
50882 ac_cpp='$CXXCPP $CPPFLAGS'
50883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50886
50887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50888 /* end confdefs.h. */
50889 #include <math.h>
50890 int
50891 main ()
50892 {
50893 _hypot(0, 0);
50894 ;
50895 return 0;
50896 }
50897 _ACEOF
50898 if ac_fn_cxx_try_compile "$LINENO"; then :
50899 glibcxx_cv_func__hypot_use=yes
50900 else
50901 glibcxx_cv_func__hypot_use=no
50902 fi
50903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50904 ac_ext=c
50905 ac_cpp='$CPP $CPPFLAGS'
50906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50909
50910
50911 fi
50912
50913 fi
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
50915 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
50916
50917 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
50918 for ac_func in _hypot
50919 do :
50920 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
50921 if test "x$ac_cv_func__hypot" = xyes; then :
50922 cat >>confdefs.h <<_ACEOF
50923 #define HAVE__HYPOT 1
50924 _ACEOF
50925
50926 fi
50927 done
50928
50929 fi
50930 fi
50931
50932
50933
50934
50935
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
50937 $as_echo_n "checking for float trig functions... " >&6; }
50938 if ${glibcxx_cv_func_float_trig_use+:} false; then :
50939 $as_echo_n "(cached) " >&6
50940 else
50941
50942
50943 ac_ext=cpp
50944 ac_cpp='$CXXCPP $CPPFLAGS'
50945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50948
50949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50950 /* end confdefs.h. */
50951 #include <math.h>
50952 int
50953 main ()
50954 {
50955 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
50956 ;
50957 return 0;
50958 }
50959 _ACEOF
50960 if ac_fn_cxx_try_compile "$LINENO"; then :
50961 glibcxx_cv_func_float_trig_use=yes
50962 else
50963 glibcxx_cv_func_float_trig_use=no
50964 fi
50965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50966 ac_ext=c
50967 ac_cpp='$CPP $CPPFLAGS'
50968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50971
50972 fi
50973
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
50975 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
50976 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
50977 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
50978 do :
50979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50984 _ACEOF
50985
50986 fi
50987 done
50988
50989 else
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
50991 $as_echo_n "checking for _float trig functions... " >&6; }
50992 if ${glibcxx_cv_func__float_trig_use+:} false; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50995
50996
50997 ac_ext=cpp
50998 ac_cpp='$CXXCPP $CPPFLAGS'
50999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51002
51003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51004 /* end confdefs.h. */
51005 #include <math.h>
51006 int
51007 main ()
51008 {
51009 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51010 ;
51011 return 0;
51012 }
51013 _ACEOF
51014 if ac_fn_cxx_try_compile "$LINENO"; then :
51015 glibcxx_cv_func__float_trig_use=yes
51016 else
51017 glibcxx_cv_func__float_trig_use=no
51018 fi
51019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51020 ac_ext=c
51021 ac_cpp='$CPP $CPPFLAGS'
51022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51025
51026 fi
51027
51028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51029 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51030 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51031 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51032 do :
51033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51035 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51036 cat >>confdefs.h <<_ACEOF
51037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51038 _ACEOF
51039
51040 fi
51041 done
51042
51043 fi
51044 fi
51045
51046
51047
51048
51049
51050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51051 $as_echo_n "checking for float round functions... " >&6; }
51052 if ${glibcxx_cv_func_float_round_use+:} false; then :
51053 $as_echo_n "(cached) " >&6
51054 else
51055
51056
51057 ac_ext=cpp
51058 ac_cpp='$CXXCPP $CPPFLAGS'
51059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51062
51063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51064 /* end confdefs.h. */
51065 #include <math.h>
51066 int
51067 main ()
51068 {
51069 ceilf (0); floorf (0);
51070 ;
51071 return 0;
51072 }
51073 _ACEOF
51074 if ac_fn_cxx_try_compile "$LINENO"; then :
51075 glibcxx_cv_func_float_round_use=yes
51076 else
51077 glibcxx_cv_func_float_round_use=no
51078 fi
51079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51080 ac_ext=c
51081 ac_cpp='$CPP $CPPFLAGS'
51082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51085
51086 fi
51087
51088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51089 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51090 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51091 for ac_func in ceilf floorf
51092 do :
51093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51095 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51096 cat >>confdefs.h <<_ACEOF
51097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51098 _ACEOF
51099
51100 fi
51101 done
51102
51103 else
51104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51105 $as_echo_n "checking for _float round functions... " >&6; }
51106 if ${glibcxx_cv_func__float_round_use+:} false; then :
51107 $as_echo_n "(cached) " >&6
51108 else
51109
51110
51111 ac_ext=cpp
51112 ac_cpp='$CXXCPP $CPPFLAGS'
51113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116
51117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51118 /* end confdefs.h. */
51119 #include <math.h>
51120 int
51121 main ()
51122 {
51123 _ceilf (0); _floorf (0);
51124 ;
51125 return 0;
51126 }
51127 _ACEOF
51128 if ac_fn_cxx_try_compile "$LINENO"; then :
51129 glibcxx_cv_func__float_round_use=yes
51130 else
51131 glibcxx_cv_func__float_round_use=no
51132 fi
51133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51134 ac_ext=c
51135 ac_cpp='$CPP $CPPFLAGS'
51136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51139
51140 fi
51141
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51143 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51144 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51145 for ac_func in _ceilf _floorf
51146 do :
51147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51150 cat >>confdefs.h <<_ACEOF
51151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51152 _ACEOF
51153
51154 fi
51155 done
51156
51157 fi
51158 fi
51159
51160
51161
51162
51163
51164
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
51166 $as_echo_n "checking for expf declaration... " >&6; }
51167 if test x${glibcxx_cv_func_expf_use+set} != xset; then
51168 if ${glibcxx_cv_func_expf_use+:} false; then :
51169 $as_echo_n "(cached) " >&6
51170 else
51171
51172
51173 ac_ext=cpp
51174 ac_cpp='$CXXCPP $CPPFLAGS'
51175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178
51179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180 /* end confdefs.h. */
51181 #include <math.h>
51182 #ifdef HAVE_IEEEFP_H
51183 #include <ieeefp.h>
51184 #endif
51185
51186 int
51187 main ()
51188 {
51189 expf(0);
51190 ;
51191 return 0;
51192 }
51193 _ACEOF
51194 if ac_fn_cxx_try_compile "$LINENO"; then :
51195 glibcxx_cv_func_expf_use=yes
51196 else
51197 glibcxx_cv_func_expf_use=no
51198 fi
51199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51200 ac_ext=c
51201 ac_cpp='$CPP $CPPFLAGS'
51202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51205
51206
51207 fi
51208
51209 fi
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
51211 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
51212
51213 if test x$glibcxx_cv_func_expf_use = x"yes"; then
51214 for ac_func in expf
51215 do :
51216 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
51217 if test "x$ac_cv_func_expf" = xyes; then :
51218 cat >>confdefs.h <<_ACEOF
51219 #define HAVE_EXPF 1
51220 _ACEOF
51221
51222 fi
51223 done
51224
51225 else
51226
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
51228 $as_echo_n "checking for _expf declaration... " >&6; }
51229 if test x${glibcxx_cv_func__expf_use+set} != xset; then
51230 if ${glibcxx_cv_func__expf_use+:} false; then :
51231 $as_echo_n "(cached) " >&6
51232 else
51233
51234
51235 ac_ext=cpp
51236 ac_cpp='$CXXCPP $CPPFLAGS'
51237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240
51241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51242 /* end confdefs.h. */
51243 #include <math.h>
51244 #ifdef HAVE_IEEEFP_H
51245 #include <ieeefp.h>
51246 #endif
51247
51248 int
51249 main ()
51250 {
51251 _expf(0);
51252 ;
51253 return 0;
51254 }
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257 glibcxx_cv_func__expf_use=yes
51258 else
51259 glibcxx_cv_func__expf_use=no
51260 fi
51261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51262 ac_ext=c
51263 ac_cpp='$CPP $CPPFLAGS'
51264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51267
51268
51269 fi
51270
51271 fi
51272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
51273 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
51274
51275 if test x$glibcxx_cv_func__expf_use = x"yes"; then
51276 for ac_func in _expf
51277 do :
51278 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
51279 if test "x$ac_cv_func__expf" = xyes; then :
51280 cat >>confdefs.h <<_ACEOF
51281 #define HAVE__EXPF 1
51282 _ACEOF
51283
51284 fi
51285 done
51286
51287 fi
51288 fi
51289
51290
51291
51292
51293
51294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
51295 $as_echo_n "checking for isnanf declaration... " >&6; }
51296 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
51297 if ${glibcxx_cv_func_isnanf_use+:} false; then :
51298 $as_echo_n "(cached) " >&6
51299 else
51300
51301
51302 ac_ext=cpp
51303 ac_cpp='$CXXCPP $CPPFLAGS'
51304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51307
51308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51309 /* end confdefs.h. */
51310 #include <math.h>
51311 #ifdef HAVE_IEEEFP_H
51312 #include <ieeefp.h>
51313 #endif
51314
51315 int
51316 main ()
51317 {
51318 isnanf(0);
51319 ;
51320 return 0;
51321 }
51322 _ACEOF
51323 if ac_fn_cxx_try_compile "$LINENO"; then :
51324 glibcxx_cv_func_isnanf_use=yes
51325 else
51326 glibcxx_cv_func_isnanf_use=no
51327 fi
51328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51329 ac_ext=c
51330 ac_cpp='$CPP $CPPFLAGS'
51331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51334
51335
51336 fi
51337
51338 fi
51339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
51340 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
51341
51342 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
51343 for ac_func in isnanf
51344 do :
51345 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
51346 if test "x$ac_cv_func_isnanf" = xyes; then :
51347 cat >>confdefs.h <<_ACEOF
51348 #define HAVE_ISNANF 1
51349 _ACEOF
51350
51351 fi
51352 done
51353
51354 else
51355
51356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
51357 $as_echo_n "checking for _isnanf declaration... " >&6; }
51358 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
51359 if ${glibcxx_cv_func__isnanf_use+:} false; then :
51360 $as_echo_n "(cached) " >&6
51361 else
51362
51363
51364 ac_ext=cpp
51365 ac_cpp='$CXXCPP $CPPFLAGS'
51366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51369
51370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51371 /* end confdefs.h. */
51372 #include <math.h>
51373 #ifdef HAVE_IEEEFP_H
51374 #include <ieeefp.h>
51375 #endif
51376
51377 int
51378 main ()
51379 {
51380 _isnanf(0);
51381 ;
51382 return 0;
51383 }
51384 _ACEOF
51385 if ac_fn_cxx_try_compile "$LINENO"; then :
51386 glibcxx_cv_func__isnanf_use=yes
51387 else
51388 glibcxx_cv_func__isnanf_use=no
51389 fi
51390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51391 ac_ext=c
51392 ac_cpp='$CPP $CPPFLAGS'
51393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51396
51397
51398 fi
51399
51400 fi
51401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
51402 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
51403
51404 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
51405 for ac_func in _isnanf
51406 do :
51407 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
51408 if test "x$ac_cv_func__isnanf" = xyes; then :
51409 cat >>confdefs.h <<_ACEOF
51410 #define HAVE__ISNANF 1
51411 _ACEOF
51412
51413 fi
51414 done
51415
51416 fi
51417 fi
51418
51419
51420
51421
51422
51423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
51424 $as_echo_n "checking for isinff declaration... " >&6; }
51425 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
51426 if ${glibcxx_cv_func_isinff_use+:} false; then :
51427 $as_echo_n "(cached) " >&6
51428 else
51429
51430
51431 ac_ext=cpp
51432 ac_cpp='$CXXCPP $CPPFLAGS'
51433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436
51437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51438 /* end confdefs.h. */
51439 #include <math.h>
51440 #ifdef HAVE_IEEEFP_H
51441 #include <ieeefp.h>
51442 #endif
51443
51444 int
51445 main ()
51446 {
51447 isinff(0);
51448 ;
51449 return 0;
51450 }
51451 _ACEOF
51452 if ac_fn_cxx_try_compile "$LINENO"; then :
51453 glibcxx_cv_func_isinff_use=yes
51454 else
51455 glibcxx_cv_func_isinff_use=no
51456 fi
51457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51458 ac_ext=c
51459 ac_cpp='$CPP $CPPFLAGS'
51460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51463
51464
51465 fi
51466
51467 fi
51468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
51469 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
51470
51471 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
51472 for ac_func in isinff
51473 do :
51474 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
51475 if test "x$ac_cv_func_isinff" = xyes; then :
51476 cat >>confdefs.h <<_ACEOF
51477 #define HAVE_ISINFF 1
51478 _ACEOF
51479
51480 fi
51481 done
51482
51483 else
51484
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
51486 $as_echo_n "checking for _isinff declaration... " >&6; }
51487 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
51488 if ${glibcxx_cv_func__isinff_use+:} false; then :
51489 $as_echo_n "(cached) " >&6
51490 else
51491
51492
51493 ac_ext=cpp
51494 ac_cpp='$CXXCPP $CPPFLAGS'
51495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51498
51499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51500 /* end confdefs.h. */
51501 #include <math.h>
51502 #ifdef HAVE_IEEEFP_H
51503 #include <ieeefp.h>
51504 #endif
51505
51506 int
51507 main ()
51508 {
51509 _isinff(0);
51510 ;
51511 return 0;
51512 }
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func__isinff_use=yes
51516 else
51517 glibcxx_cv_func__isinff_use=no
51518 fi
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51525
51526
51527 fi
51528
51529 fi
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
51531 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
51532
51533 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
51534 for ac_func in _isinff
51535 do :
51536 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
51537 if test "x$ac_cv_func__isinff" = xyes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE__ISINFF 1
51540 _ACEOF
51541
51542 fi
51543 done
51544
51545 fi
51546 fi
51547
51548
51549
51550
51551
51552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
51553 $as_echo_n "checking for atan2f declaration... " >&6; }
51554 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
51555 if ${glibcxx_cv_func_atan2f_use+:} false; then :
51556 $as_echo_n "(cached) " >&6
51557 else
51558
51559
51560 ac_ext=cpp
51561 ac_cpp='$CXXCPP $CPPFLAGS'
51562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51565
51566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51567 /* end confdefs.h. */
51568 #include <math.h>
51569 int
51570 main ()
51571 {
51572 atan2f(0, 0);
51573 ;
51574 return 0;
51575 }
51576 _ACEOF
51577 if ac_fn_cxx_try_compile "$LINENO"; then :
51578 glibcxx_cv_func_atan2f_use=yes
51579 else
51580 glibcxx_cv_func_atan2f_use=no
51581 fi
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 ac_ext=c
51584 ac_cpp='$CPP $CPPFLAGS'
51585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588
51589
51590 fi
51591
51592 fi
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
51594 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
51595
51596 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
51597 for ac_func in atan2f
51598 do :
51599 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
51600 if test "x$ac_cv_func_atan2f" = xyes; then :
51601 cat >>confdefs.h <<_ACEOF
51602 #define HAVE_ATAN2F 1
51603 _ACEOF
51604
51605 fi
51606 done
51607
51608 else
51609
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
51611 $as_echo_n "checking for _atan2f declaration... " >&6; }
51612 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
51613 if ${glibcxx_cv_func__atan2f_use+:} false; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51616
51617
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51623
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <math.h>
51627 int
51628 main ()
51629 {
51630 _atan2f(0, 0);
51631 ;
51632 return 0;
51633 }
51634 _ACEOF
51635 if ac_fn_cxx_try_compile "$LINENO"; then :
51636 glibcxx_cv_func__atan2f_use=yes
51637 else
51638 glibcxx_cv_func__atan2f_use=no
51639 fi
51640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51641 ac_ext=c
51642 ac_cpp='$CPP $CPPFLAGS'
51643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51646
51647
51648 fi
51649
51650 fi
51651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
51652 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
51653
51654 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
51655 for ac_func in _atan2f
51656 do :
51657 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
51658 if test "x$ac_cv_func__atan2f" = xyes; then :
51659 cat >>confdefs.h <<_ACEOF
51660 #define HAVE__ATAN2F 1
51661 _ACEOF
51662
51663 fi
51664 done
51665
51666 fi
51667 fi
51668
51669
51670
51671
51672
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
51674 $as_echo_n "checking for fabsf declaration... " >&6; }
51675 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
51676 if ${glibcxx_cv_func_fabsf_use+:} false; then :
51677 $as_echo_n "(cached) " >&6
51678 else
51679
51680
51681 ac_ext=cpp
51682 ac_cpp='$CXXCPP $CPPFLAGS'
51683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51686
51687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51688 /* end confdefs.h. */
51689 #include <math.h>
51690 #ifdef HAVE_IEEEFP_H
51691 #include <ieeefp.h>
51692 #endif
51693
51694 int
51695 main ()
51696 {
51697 fabsf(0);
51698 ;
51699 return 0;
51700 }
51701 _ACEOF
51702 if ac_fn_cxx_try_compile "$LINENO"; then :
51703 glibcxx_cv_func_fabsf_use=yes
51704 else
51705 glibcxx_cv_func_fabsf_use=no
51706 fi
51707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51708 ac_ext=c
51709 ac_cpp='$CPP $CPPFLAGS'
51710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51713
51714
51715 fi
51716
51717 fi
51718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
51719 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
51720
51721 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
51722 for ac_func in fabsf
51723 do :
51724 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
51725 if test "x$ac_cv_func_fabsf" = xyes; then :
51726 cat >>confdefs.h <<_ACEOF
51727 #define HAVE_FABSF 1
51728 _ACEOF
51729
51730 fi
51731 done
51732
51733 else
51734
51735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
51736 $as_echo_n "checking for _fabsf declaration... " >&6; }
51737 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
51738 if ${glibcxx_cv_func__fabsf_use+:} false; then :
51739 $as_echo_n "(cached) " >&6
51740 else
51741
51742
51743 ac_ext=cpp
51744 ac_cpp='$CXXCPP $CPPFLAGS'
51745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51748
51749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51750 /* end confdefs.h. */
51751 #include <math.h>
51752 #ifdef HAVE_IEEEFP_H
51753 #include <ieeefp.h>
51754 #endif
51755
51756 int
51757 main ()
51758 {
51759 _fabsf(0);
51760 ;
51761 return 0;
51762 }
51763 _ACEOF
51764 if ac_fn_cxx_try_compile "$LINENO"; then :
51765 glibcxx_cv_func__fabsf_use=yes
51766 else
51767 glibcxx_cv_func__fabsf_use=no
51768 fi
51769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51770 ac_ext=c
51771 ac_cpp='$CPP $CPPFLAGS'
51772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51775
51776
51777 fi
51778
51779 fi
51780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
51781 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
51782
51783 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
51784 for ac_func in _fabsf
51785 do :
51786 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
51787 if test "x$ac_cv_func__fabsf" = xyes; then :
51788 cat >>confdefs.h <<_ACEOF
51789 #define HAVE__FABSF 1
51790 _ACEOF
51791
51792 fi
51793 done
51794
51795 fi
51796 fi
51797
51798
51799
51800
51801
51802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
51803 $as_echo_n "checking for fmodf declaration... " >&6; }
51804 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
51805 if ${glibcxx_cv_func_fmodf_use+:} false; then :
51806 $as_echo_n "(cached) " >&6
51807 else
51808
51809
51810 ac_ext=cpp
51811 ac_cpp='$CXXCPP $CPPFLAGS'
51812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51815
51816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51817 /* end confdefs.h. */
51818 #include <math.h>
51819 int
51820 main ()
51821 {
51822 fmodf(0, 0);
51823 ;
51824 return 0;
51825 }
51826 _ACEOF
51827 if ac_fn_cxx_try_compile "$LINENO"; then :
51828 glibcxx_cv_func_fmodf_use=yes
51829 else
51830 glibcxx_cv_func_fmodf_use=no
51831 fi
51832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51838
51839
51840 fi
51841
51842 fi
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
51844 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
51845
51846 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
51847 for ac_func in fmodf
51848 do :
51849 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
51850 if test "x$ac_cv_func_fmodf" = xyes; then :
51851 cat >>confdefs.h <<_ACEOF
51852 #define HAVE_FMODF 1
51853 _ACEOF
51854
51855 fi
51856 done
51857
51858 else
51859
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
51861 $as_echo_n "checking for _fmodf declaration... " >&6; }
51862 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
51863 if ${glibcxx_cv_func__fmodf_use+:} false; then :
51864 $as_echo_n "(cached) " >&6
51865 else
51866
51867
51868 ac_ext=cpp
51869 ac_cpp='$CXXCPP $CPPFLAGS'
51870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51873
51874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51875 /* end confdefs.h. */
51876 #include <math.h>
51877 int
51878 main ()
51879 {
51880 _fmodf(0, 0);
51881 ;
51882 return 0;
51883 }
51884 _ACEOF
51885 if ac_fn_cxx_try_compile "$LINENO"; then :
51886 glibcxx_cv_func__fmodf_use=yes
51887 else
51888 glibcxx_cv_func__fmodf_use=no
51889 fi
51890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51891 ac_ext=c
51892 ac_cpp='$CPP $CPPFLAGS'
51893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51896
51897
51898 fi
51899
51900 fi
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
51902 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
51903
51904 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
51905 for ac_func in _fmodf
51906 do :
51907 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
51908 if test "x$ac_cv_func__fmodf" = xyes; then :
51909 cat >>confdefs.h <<_ACEOF
51910 #define HAVE__FMODF 1
51911 _ACEOF
51912
51913 fi
51914 done
51915
51916 fi
51917 fi
51918
51919
51920
51921
51922
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
51924 $as_echo_n "checking for frexpf declaration... " >&6; }
51925 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
51926 if ${glibcxx_cv_func_frexpf_use+:} false; then :
51927 $as_echo_n "(cached) " >&6
51928 else
51929
51930
51931 ac_ext=cpp
51932 ac_cpp='$CXXCPP $CPPFLAGS'
51933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51936
51937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51938 /* end confdefs.h. */
51939 #include <math.h>
51940 int
51941 main ()
51942 {
51943 frexpf(0, 0);
51944 ;
51945 return 0;
51946 }
51947 _ACEOF
51948 if ac_fn_cxx_try_compile "$LINENO"; then :
51949 glibcxx_cv_func_frexpf_use=yes
51950 else
51951 glibcxx_cv_func_frexpf_use=no
51952 fi
51953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51954 ac_ext=c
51955 ac_cpp='$CPP $CPPFLAGS'
51956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51959
51960
51961 fi
51962
51963 fi
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
51965 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
51966
51967 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
51968 for ac_func in frexpf
51969 do :
51970 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
51971 if test "x$ac_cv_func_frexpf" = xyes; then :
51972 cat >>confdefs.h <<_ACEOF
51973 #define HAVE_FREXPF 1
51974 _ACEOF
51975
51976 fi
51977 done
51978
51979 else
51980
51981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
51982 $as_echo_n "checking for _frexpf declaration... " >&6; }
51983 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
51984 if ${glibcxx_cv_func__frexpf_use+:} false; then :
51985 $as_echo_n "(cached) " >&6
51986 else
51987
51988
51989 ac_ext=cpp
51990 ac_cpp='$CXXCPP $CPPFLAGS'
51991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51994
51995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51996 /* end confdefs.h. */
51997 #include <math.h>
51998 int
51999 main ()
52000 {
52001 _frexpf(0, 0);
52002 ;
52003 return 0;
52004 }
52005 _ACEOF
52006 if ac_fn_cxx_try_compile "$LINENO"; then :
52007 glibcxx_cv_func__frexpf_use=yes
52008 else
52009 glibcxx_cv_func__frexpf_use=no
52010 fi
52011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52012 ac_ext=c
52013 ac_cpp='$CPP $CPPFLAGS'
52014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52017
52018
52019 fi
52020
52021 fi
52022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52023 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52024
52025 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52026 for ac_func in _frexpf
52027 do :
52028 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52029 if test "x$ac_cv_func__frexpf" = xyes; then :
52030 cat >>confdefs.h <<_ACEOF
52031 #define HAVE__FREXPF 1
52032 _ACEOF
52033
52034 fi
52035 done
52036
52037 fi
52038 fi
52039
52040
52041
52042
52043
52044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52045 $as_echo_n "checking for hypotf declaration... " >&6; }
52046 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52047 if ${glibcxx_cv_func_hypotf_use+:} false; then :
52048 $as_echo_n "(cached) " >&6
52049 else
52050
52051
52052 ac_ext=cpp
52053 ac_cpp='$CXXCPP $CPPFLAGS'
52054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52057
52058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52059 /* end confdefs.h. */
52060 #include <math.h>
52061 int
52062 main ()
52063 {
52064 hypotf(0, 0);
52065 ;
52066 return 0;
52067 }
52068 _ACEOF
52069 if ac_fn_cxx_try_compile "$LINENO"; then :
52070 glibcxx_cv_func_hypotf_use=yes
52071 else
52072 glibcxx_cv_func_hypotf_use=no
52073 fi
52074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52075 ac_ext=c
52076 ac_cpp='$CPP $CPPFLAGS'
52077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52080
52081
52082 fi
52083
52084 fi
52085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52086 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52087
52088 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52089 for ac_func in hypotf
52090 do :
52091 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52092 if test "x$ac_cv_func_hypotf" = xyes; then :
52093 cat >>confdefs.h <<_ACEOF
52094 #define HAVE_HYPOTF 1
52095 _ACEOF
52096
52097 fi
52098 done
52099
52100 else
52101
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52103 $as_echo_n "checking for _hypotf declaration... " >&6; }
52104 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52105 if ${glibcxx_cv_func__hypotf_use+:} false; then :
52106 $as_echo_n "(cached) " >&6
52107 else
52108
52109
52110 ac_ext=cpp
52111 ac_cpp='$CXXCPP $CPPFLAGS'
52112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52115
52116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52117 /* end confdefs.h. */
52118 #include <math.h>
52119 int
52120 main ()
52121 {
52122 _hypotf(0, 0);
52123 ;
52124 return 0;
52125 }
52126 _ACEOF
52127 if ac_fn_cxx_try_compile "$LINENO"; then :
52128 glibcxx_cv_func__hypotf_use=yes
52129 else
52130 glibcxx_cv_func__hypotf_use=no
52131 fi
52132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52133 ac_ext=c
52134 ac_cpp='$CPP $CPPFLAGS'
52135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52138
52139
52140 fi
52141
52142 fi
52143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52144 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52145
52146 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52147 for ac_func in _hypotf
52148 do :
52149 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52150 if test "x$ac_cv_func__hypotf" = xyes; then :
52151 cat >>confdefs.h <<_ACEOF
52152 #define HAVE__HYPOTF 1
52153 _ACEOF
52154
52155 fi
52156 done
52157
52158 fi
52159 fi
52160
52161
52162
52163
52164
52165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
52166 $as_echo_n "checking for ldexpf declaration... " >&6; }
52167 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52168 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
52169 $as_echo_n "(cached) " >&6
52170 else
52171
52172
52173 ac_ext=cpp
52174 ac_cpp='$CXXCPP $CPPFLAGS'
52175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52178
52179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52180 /* end confdefs.h. */
52181 #include <math.h>
52182 int
52183 main ()
52184 {
52185 ldexpf(0, 0);
52186 ;
52187 return 0;
52188 }
52189 _ACEOF
52190 if ac_fn_cxx_try_compile "$LINENO"; then :
52191 glibcxx_cv_func_ldexpf_use=yes
52192 else
52193 glibcxx_cv_func_ldexpf_use=no
52194 fi
52195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52196 ac_ext=c
52197 ac_cpp='$CPP $CPPFLAGS'
52198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52201
52202
52203 fi
52204
52205 fi
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
52207 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
52208
52209 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52210 for ac_func in ldexpf
52211 do :
52212 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
52213 if test "x$ac_cv_func_ldexpf" = xyes; then :
52214 cat >>confdefs.h <<_ACEOF
52215 #define HAVE_LDEXPF 1
52216 _ACEOF
52217
52218 fi
52219 done
52220
52221 else
52222
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
52224 $as_echo_n "checking for _ldexpf declaration... " >&6; }
52225 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52226 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
52227 $as_echo_n "(cached) " >&6
52228 else
52229
52230
52231 ac_ext=cpp
52232 ac_cpp='$CXXCPP $CPPFLAGS'
52233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52236
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52239 #include <math.h>
52240 int
52241 main ()
52242 {
52243 _ldexpf(0, 0);
52244 ;
52245 return 0;
52246 }
52247 _ACEOF
52248 if ac_fn_cxx_try_compile "$LINENO"; then :
52249 glibcxx_cv_func__ldexpf_use=yes
52250 else
52251 glibcxx_cv_func__ldexpf_use=no
52252 fi
52253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52254 ac_ext=c
52255 ac_cpp='$CPP $CPPFLAGS'
52256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52259
52260
52261 fi
52262
52263 fi
52264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
52265 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
52266
52267 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
52268 for ac_func in _ldexpf
52269 do :
52270 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
52271 if test "x$ac_cv_func__ldexpf" = xyes; then :
52272 cat >>confdefs.h <<_ACEOF
52273 #define HAVE__LDEXPF 1
52274 _ACEOF
52275
52276 fi
52277 done
52278
52279 fi
52280 fi
52281
52282
52283
52284
52285
52286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
52287 $as_echo_n "checking for logf declaration... " >&6; }
52288 if test x${glibcxx_cv_func_logf_use+set} != xset; then
52289 if ${glibcxx_cv_func_logf_use+:} false; then :
52290 $as_echo_n "(cached) " >&6
52291 else
52292
52293
52294 ac_ext=cpp
52295 ac_cpp='$CXXCPP $CPPFLAGS'
52296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52299
52300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301 /* end confdefs.h. */
52302 #include <math.h>
52303 #ifdef HAVE_IEEEFP_H
52304 #include <ieeefp.h>
52305 #endif
52306
52307 int
52308 main ()
52309 {
52310 logf(0);
52311 ;
52312 return 0;
52313 }
52314 _ACEOF
52315 if ac_fn_cxx_try_compile "$LINENO"; then :
52316 glibcxx_cv_func_logf_use=yes
52317 else
52318 glibcxx_cv_func_logf_use=no
52319 fi
52320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52321 ac_ext=c
52322 ac_cpp='$CPP $CPPFLAGS'
52323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52326
52327
52328 fi
52329
52330 fi
52331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
52332 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
52333
52334 if test x$glibcxx_cv_func_logf_use = x"yes"; then
52335 for ac_func in logf
52336 do :
52337 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
52338 if test "x$ac_cv_func_logf" = xyes; then :
52339 cat >>confdefs.h <<_ACEOF
52340 #define HAVE_LOGF 1
52341 _ACEOF
52342
52343 fi
52344 done
52345
52346 else
52347
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
52349 $as_echo_n "checking for _logf declaration... " >&6; }
52350 if test x${glibcxx_cv_func__logf_use+set} != xset; then
52351 if ${glibcxx_cv_func__logf_use+:} false; then :
52352 $as_echo_n "(cached) " >&6
52353 else
52354
52355
52356 ac_ext=cpp
52357 ac_cpp='$CXXCPP $CPPFLAGS'
52358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52361
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h. */
52364 #include <math.h>
52365 #ifdef HAVE_IEEEFP_H
52366 #include <ieeefp.h>
52367 #endif
52368
52369 int
52370 main ()
52371 {
52372 _logf(0);
52373 ;
52374 return 0;
52375 }
52376 _ACEOF
52377 if ac_fn_cxx_try_compile "$LINENO"; then :
52378 glibcxx_cv_func__logf_use=yes
52379 else
52380 glibcxx_cv_func__logf_use=no
52381 fi
52382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52383 ac_ext=c
52384 ac_cpp='$CPP $CPPFLAGS'
52385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52388
52389
52390 fi
52391
52392 fi
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
52394 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
52395
52396 if test x$glibcxx_cv_func__logf_use = x"yes"; then
52397 for ac_func in _logf
52398 do :
52399 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
52400 if test "x$ac_cv_func__logf" = xyes; then :
52401 cat >>confdefs.h <<_ACEOF
52402 #define HAVE__LOGF 1
52403 _ACEOF
52404
52405 fi
52406 done
52407
52408 fi
52409 fi
52410
52411
52412
52413
52414
52415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
52416 $as_echo_n "checking for log10f declaration... " >&6; }
52417 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
52418 if ${glibcxx_cv_func_log10f_use+:} false; then :
52419 $as_echo_n "(cached) " >&6
52420 else
52421
52422
52423 ac_ext=cpp
52424 ac_cpp='$CXXCPP $CPPFLAGS'
52425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52428
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <math.h>
52432 #ifdef HAVE_IEEEFP_H
52433 #include <ieeefp.h>
52434 #endif
52435
52436 int
52437 main ()
52438 {
52439 log10f(0);
52440 ;
52441 return 0;
52442 }
52443 _ACEOF
52444 if ac_fn_cxx_try_compile "$LINENO"; then :
52445 glibcxx_cv_func_log10f_use=yes
52446 else
52447 glibcxx_cv_func_log10f_use=no
52448 fi
52449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52450 ac_ext=c
52451 ac_cpp='$CPP $CPPFLAGS'
52452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52455
52456
52457 fi
52458
52459 fi
52460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
52461 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
52462
52463 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
52464 for ac_func in log10f
52465 do :
52466 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
52467 if test "x$ac_cv_func_log10f" = xyes; then :
52468 cat >>confdefs.h <<_ACEOF
52469 #define HAVE_LOG10F 1
52470 _ACEOF
52471
52472 fi
52473 done
52474
52475 else
52476
52477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
52478 $as_echo_n "checking for _log10f declaration... " >&6; }
52479 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
52480 if ${glibcxx_cv_func__log10f_use+:} false; then :
52481 $as_echo_n "(cached) " >&6
52482 else
52483
52484
52485 ac_ext=cpp
52486 ac_cpp='$CXXCPP $CPPFLAGS'
52487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52490
52491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52492 /* end confdefs.h. */
52493 #include <math.h>
52494 #ifdef HAVE_IEEEFP_H
52495 #include <ieeefp.h>
52496 #endif
52497
52498 int
52499 main ()
52500 {
52501 _log10f(0);
52502 ;
52503 return 0;
52504 }
52505 _ACEOF
52506 if ac_fn_cxx_try_compile "$LINENO"; then :
52507 glibcxx_cv_func__log10f_use=yes
52508 else
52509 glibcxx_cv_func__log10f_use=no
52510 fi
52511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52512 ac_ext=c
52513 ac_cpp='$CPP $CPPFLAGS'
52514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52517
52518
52519 fi
52520
52521 fi
52522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
52523 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
52524
52525 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
52526 for ac_func in _log10f
52527 do :
52528 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
52529 if test "x$ac_cv_func__log10f" = xyes; then :
52530 cat >>confdefs.h <<_ACEOF
52531 #define HAVE__LOG10F 1
52532 _ACEOF
52533
52534 fi
52535 done
52536
52537 fi
52538 fi
52539
52540
52541
52542
52543
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
52545 $as_echo_n "checking for modff declaration... " >&6; }
52546 if test x${glibcxx_cv_func_modff_use+set} != xset; then
52547 if ${glibcxx_cv_func_modff_use+:} false; then :
52548 $as_echo_n "(cached) " >&6
52549 else
52550
52551
52552 ac_ext=cpp
52553 ac_cpp='$CXXCPP $CPPFLAGS'
52554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52557
52558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52559 /* end confdefs.h. */
52560 #include <math.h>
52561 int
52562 main ()
52563 {
52564 modff(0, 0);
52565 ;
52566 return 0;
52567 }
52568 _ACEOF
52569 if ac_fn_cxx_try_compile "$LINENO"; then :
52570 glibcxx_cv_func_modff_use=yes
52571 else
52572 glibcxx_cv_func_modff_use=no
52573 fi
52574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52575 ac_ext=c
52576 ac_cpp='$CPP $CPPFLAGS'
52577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52580
52581
52582 fi
52583
52584 fi
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
52586 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
52587
52588 if test x$glibcxx_cv_func_modff_use = x"yes"; then
52589 for ac_func in modff
52590 do :
52591 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
52592 if test "x$ac_cv_func_modff" = xyes; then :
52593 cat >>confdefs.h <<_ACEOF
52594 #define HAVE_MODFF 1
52595 _ACEOF
52596
52597 fi
52598 done
52599
52600 else
52601
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
52603 $as_echo_n "checking for _modff declaration... " >&6; }
52604 if test x${glibcxx_cv_func__modff_use+set} != xset; then
52605 if ${glibcxx_cv_func__modff_use+:} false; then :
52606 $as_echo_n "(cached) " >&6
52607 else
52608
52609
52610 ac_ext=cpp
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52615
52616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52617 /* end confdefs.h. */
52618 #include <math.h>
52619 int
52620 main ()
52621 {
52622 _modff(0, 0);
52623 ;
52624 return 0;
52625 }
52626 _ACEOF
52627 if ac_fn_cxx_try_compile "$LINENO"; then :
52628 glibcxx_cv_func__modff_use=yes
52629 else
52630 glibcxx_cv_func__modff_use=no
52631 fi
52632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52633 ac_ext=c
52634 ac_cpp='$CPP $CPPFLAGS'
52635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52638
52639
52640 fi
52641
52642 fi
52643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
52644 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
52645
52646 if test x$glibcxx_cv_func__modff_use = x"yes"; then
52647 for ac_func in _modff
52648 do :
52649 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
52650 if test "x$ac_cv_func__modff" = xyes; then :
52651 cat >>confdefs.h <<_ACEOF
52652 #define HAVE__MODFF 1
52653 _ACEOF
52654
52655 fi
52656 done
52657
52658 fi
52659 fi
52660
52661
52662
52663
52664
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
52666 $as_echo_n "checking for modf declaration... " >&6; }
52667 if test x${glibcxx_cv_func_modf_use+set} != xset; then
52668 if ${glibcxx_cv_func_modf_use+:} false; then :
52669 $as_echo_n "(cached) " >&6
52670 else
52671
52672
52673 ac_ext=cpp
52674 ac_cpp='$CXXCPP $CPPFLAGS'
52675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52678
52679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52680 /* end confdefs.h. */
52681 #include <math.h>
52682 int
52683 main ()
52684 {
52685 modf(0, 0);
52686 ;
52687 return 0;
52688 }
52689 _ACEOF
52690 if ac_fn_cxx_try_compile "$LINENO"; then :
52691 glibcxx_cv_func_modf_use=yes
52692 else
52693 glibcxx_cv_func_modf_use=no
52694 fi
52695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52696 ac_ext=c
52697 ac_cpp='$CPP $CPPFLAGS'
52698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52701
52702
52703 fi
52704
52705 fi
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
52707 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
52708
52709 if test x$glibcxx_cv_func_modf_use = x"yes"; then
52710 for ac_func in modf
52711 do :
52712 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
52713 if test "x$ac_cv_func_modf" = xyes; then :
52714 cat >>confdefs.h <<_ACEOF
52715 #define HAVE_MODF 1
52716 _ACEOF
52717
52718 fi
52719 done
52720
52721 else
52722
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
52724 $as_echo_n "checking for _modf declaration... " >&6; }
52725 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52726 if ${glibcxx_cv_func__modf_use+:} false; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52729
52730
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <math.h>
52740 int
52741 main ()
52742 {
52743 _modf(0, 0);
52744 ;
52745 return 0;
52746 }
52747 _ACEOF
52748 if ac_fn_cxx_try_compile "$LINENO"; then :
52749 glibcxx_cv_func__modf_use=yes
52750 else
52751 glibcxx_cv_func__modf_use=no
52752 fi
52753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52754 ac_ext=c
52755 ac_cpp='$CPP $CPPFLAGS'
52756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52759
52760
52761 fi
52762
52763 fi
52764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
52765 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
52766
52767 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52768 for ac_func in _modf
52769 do :
52770 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
52771 if test "x$ac_cv_func__modf" = xyes; then :
52772 cat >>confdefs.h <<_ACEOF
52773 #define HAVE__MODF 1
52774 _ACEOF
52775
52776 fi
52777 done
52778
52779 fi
52780 fi
52781
52782
52783
52784
52785
52786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
52787 $as_echo_n "checking for powf declaration... " >&6; }
52788 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52789 if ${glibcxx_cv_func_powf_use+:} false; then :
52790 $as_echo_n "(cached) " >&6
52791 else
52792
52793
52794 ac_ext=cpp
52795 ac_cpp='$CXXCPP $CPPFLAGS'
52796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52799
52800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52801 /* end confdefs.h. */
52802 #include <math.h>
52803 int
52804 main ()
52805 {
52806 powf(0, 0);
52807 ;
52808 return 0;
52809 }
52810 _ACEOF
52811 if ac_fn_cxx_try_compile "$LINENO"; then :
52812 glibcxx_cv_func_powf_use=yes
52813 else
52814 glibcxx_cv_func_powf_use=no
52815 fi
52816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52817 ac_ext=c
52818 ac_cpp='$CPP $CPPFLAGS'
52819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52822
52823
52824 fi
52825
52826 fi
52827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
52828 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
52829
52830 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52831 for ac_func in powf
52832 do :
52833 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
52834 if test "x$ac_cv_func_powf" = xyes; then :
52835 cat >>confdefs.h <<_ACEOF
52836 #define HAVE_POWF 1
52837 _ACEOF
52838
52839 fi
52840 done
52841
52842 else
52843
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
52845 $as_echo_n "checking for _powf declaration... " >&6; }
52846 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52847 if ${glibcxx_cv_func__powf_use+:} false; then :
52848 $as_echo_n "(cached) " >&6
52849 else
52850
52851
52852 ac_ext=cpp
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52857
52858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h. */
52860 #include <math.h>
52861 int
52862 main ()
52863 {
52864 _powf(0, 0);
52865 ;
52866 return 0;
52867 }
52868 _ACEOF
52869 if ac_fn_cxx_try_compile "$LINENO"; then :
52870 glibcxx_cv_func__powf_use=yes
52871 else
52872 glibcxx_cv_func__powf_use=no
52873 fi
52874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52875 ac_ext=c
52876 ac_cpp='$CPP $CPPFLAGS'
52877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52880
52881
52882 fi
52883
52884 fi
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
52886 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
52887
52888 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52889 for ac_func in _powf
52890 do :
52891 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
52892 if test "x$ac_cv_func__powf" = xyes; then :
52893 cat >>confdefs.h <<_ACEOF
52894 #define HAVE__POWF 1
52895 _ACEOF
52896
52897 fi
52898 done
52899
52900 fi
52901 fi
52902
52903
52904
52905
52906
52907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
52908 $as_echo_n "checking for sqrtf declaration... " >&6; }
52909 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52910 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
52911 $as_echo_n "(cached) " >&6
52912 else
52913
52914
52915 ac_ext=cpp
52916 ac_cpp='$CXXCPP $CPPFLAGS'
52917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52920
52921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52922 /* end confdefs.h. */
52923 #include <math.h>
52924 #ifdef HAVE_IEEEFP_H
52925 #include <ieeefp.h>
52926 #endif
52927
52928 int
52929 main ()
52930 {
52931 sqrtf(0);
52932 ;
52933 return 0;
52934 }
52935 _ACEOF
52936 if ac_fn_cxx_try_compile "$LINENO"; then :
52937 glibcxx_cv_func_sqrtf_use=yes
52938 else
52939 glibcxx_cv_func_sqrtf_use=no
52940 fi
52941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52942 ac_ext=c
52943 ac_cpp='$CPP $CPPFLAGS'
52944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52947
52948
52949 fi
52950
52951 fi
52952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
52953 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
52954
52955 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52956 for ac_func in sqrtf
52957 do :
52958 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
52959 if test "x$ac_cv_func_sqrtf" = xyes; then :
52960 cat >>confdefs.h <<_ACEOF
52961 #define HAVE_SQRTF 1
52962 _ACEOF
52963
52964 fi
52965 done
52966
52967 else
52968
52969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
52970 $as_echo_n "checking for _sqrtf declaration... " >&6; }
52971 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52972 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
52973 $as_echo_n "(cached) " >&6
52974 else
52975
52976
52977 ac_ext=cpp
52978 ac_cpp='$CXXCPP $CPPFLAGS'
52979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52982
52983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52984 /* end confdefs.h. */
52985 #include <math.h>
52986 #ifdef HAVE_IEEEFP_H
52987 #include <ieeefp.h>
52988 #endif
52989
52990 int
52991 main ()
52992 {
52993 _sqrtf(0);
52994 ;
52995 return 0;
52996 }
52997 _ACEOF
52998 if ac_fn_cxx_try_compile "$LINENO"; then :
52999 glibcxx_cv_func__sqrtf_use=yes
53000 else
53001 glibcxx_cv_func__sqrtf_use=no
53002 fi
53003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53004 ac_ext=c
53005 ac_cpp='$CPP $CPPFLAGS'
53006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53009
53010
53011 fi
53012
53013 fi
53014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53015 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53016
53017 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53018 for ac_func in _sqrtf
53019 do :
53020 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53021 if test "x$ac_cv_func__sqrtf" = xyes; then :
53022 cat >>confdefs.h <<_ACEOF
53023 #define HAVE__SQRTF 1
53024 _ACEOF
53025
53026 fi
53027 done
53028
53029 fi
53030 fi
53031
53032
53033
53034
53035
53036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53037 $as_echo_n "checking for sincosf declaration... " >&6; }
53038 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53039 if ${glibcxx_cv_func_sincosf_use+:} false; then :
53040 $as_echo_n "(cached) " >&6
53041 else
53042
53043
53044 ac_ext=cpp
53045 ac_cpp='$CXXCPP $CPPFLAGS'
53046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53049
53050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53051 /* end confdefs.h. */
53052 #include <math.h>
53053 int
53054 main ()
53055 {
53056 sincosf(0, 0, 0);
53057 ;
53058 return 0;
53059 }
53060 _ACEOF
53061 if ac_fn_cxx_try_compile "$LINENO"; then :
53062 glibcxx_cv_func_sincosf_use=yes
53063 else
53064 glibcxx_cv_func_sincosf_use=no
53065 fi
53066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53072
53073
53074 fi
53075
53076 fi
53077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53078 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53079
53080 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53081 for ac_func in sincosf
53082 do :
53083 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53084 if test "x$ac_cv_func_sincosf" = xyes; then :
53085 cat >>confdefs.h <<_ACEOF
53086 #define HAVE_SINCOSF 1
53087 _ACEOF
53088
53089 fi
53090 done
53091
53092 else
53093
53094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53095 $as_echo_n "checking for _sincosf declaration... " >&6; }
53096 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53097 if ${glibcxx_cv_func__sincosf_use+:} false; then :
53098 $as_echo_n "(cached) " >&6
53099 else
53100
53101
53102 ac_ext=cpp
53103 ac_cpp='$CXXCPP $CPPFLAGS'
53104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53107
53108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53109 /* end confdefs.h. */
53110 #include <math.h>
53111 int
53112 main ()
53113 {
53114 _sincosf(0, 0, 0);
53115 ;
53116 return 0;
53117 }
53118 _ACEOF
53119 if ac_fn_cxx_try_compile "$LINENO"; then :
53120 glibcxx_cv_func__sincosf_use=yes
53121 else
53122 glibcxx_cv_func__sincosf_use=no
53123 fi
53124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53125 ac_ext=c
53126 ac_cpp='$CPP $CPPFLAGS'
53127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53130
53131
53132 fi
53133
53134 fi
53135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53136 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53137
53138 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53139 for ac_func in _sincosf
53140 do :
53141 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53142 if test "x$ac_cv_func__sincosf" = xyes; then :
53143 cat >>confdefs.h <<_ACEOF
53144 #define HAVE__SINCOSF 1
53145 _ACEOF
53146
53147 fi
53148 done
53149
53150 fi
53151 fi
53152
53153
53154
53155
53156
53157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
53158 $as_echo_n "checking for finitef declaration... " >&6; }
53159 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53160 if ${glibcxx_cv_func_finitef_use+:} false; then :
53161 $as_echo_n "(cached) " >&6
53162 else
53163
53164
53165 ac_ext=cpp
53166 ac_cpp='$CXXCPP $CPPFLAGS'
53167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53170
53171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53172 /* end confdefs.h. */
53173 #include <math.h>
53174 #ifdef HAVE_IEEEFP_H
53175 #include <ieeefp.h>
53176 #endif
53177
53178 int
53179 main ()
53180 {
53181 finitef(0);
53182 ;
53183 return 0;
53184 }
53185 _ACEOF
53186 if ac_fn_cxx_try_compile "$LINENO"; then :
53187 glibcxx_cv_func_finitef_use=yes
53188 else
53189 glibcxx_cv_func_finitef_use=no
53190 fi
53191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53192 ac_ext=c
53193 ac_cpp='$CPP $CPPFLAGS'
53194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53197
53198
53199 fi
53200
53201 fi
53202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
53203 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
53204
53205 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53206 for ac_func in finitef
53207 do :
53208 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
53209 if test "x$ac_cv_func_finitef" = xyes; then :
53210 cat >>confdefs.h <<_ACEOF
53211 #define HAVE_FINITEF 1
53212 _ACEOF
53213
53214 fi
53215 done
53216
53217 else
53218
53219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
53220 $as_echo_n "checking for _finitef declaration... " >&6; }
53221 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53222 if ${glibcxx_cv_func__finitef_use+:} false; then :
53223 $as_echo_n "(cached) " >&6
53224 else
53225
53226
53227 ac_ext=cpp
53228 ac_cpp='$CXXCPP $CPPFLAGS'
53229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53232
53233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53234 /* end confdefs.h. */
53235 #include <math.h>
53236 #ifdef HAVE_IEEEFP_H
53237 #include <ieeefp.h>
53238 #endif
53239
53240 int
53241 main ()
53242 {
53243 _finitef(0);
53244 ;
53245 return 0;
53246 }
53247 _ACEOF
53248 if ac_fn_cxx_try_compile "$LINENO"; then :
53249 glibcxx_cv_func__finitef_use=yes
53250 else
53251 glibcxx_cv_func__finitef_use=no
53252 fi
53253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53254 ac_ext=c
53255 ac_cpp='$CPP $CPPFLAGS'
53256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53259
53260
53261 fi
53262
53263 fi
53264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
53265 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
53266
53267 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53268 for ac_func in _finitef
53269 do :
53270 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
53271 if test "x$ac_cv_func__finitef" = xyes; then :
53272 cat >>confdefs.h <<_ACEOF
53273 #define HAVE__FINITEF 1
53274 _ACEOF
53275
53276 fi
53277 done
53278
53279 fi
53280 fi
53281
53282
53283
53284
53285
53286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
53287 $as_echo_n "checking for long double trig functions... " >&6; }
53288 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
53289 $as_echo_n "(cached) " >&6
53290 else
53291
53292
53293 ac_ext=cpp
53294 ac_cpp='$CXXCPP $CPPFLAGS'
53295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53298
53299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53300 /* end confdefs.h. */
53301 #include <math.h>
53302 int
53303 main ()
53304 {
53305 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53306 ;
53307 return 0;
53308 }
53309 _ACEOF
53310 if ac_fn_cxx_try_compile "$LINENO"; then :
53311 glibcxx_cv_func_long_double_trig_use=yes
53312 else
53313 glibcxx_cv_func_long_double_trig_use=no
53314 fi
53315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53316 ac_ext=c
53317 ac_cpp='$CPP $CPPFLAGS'
53318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53321
53322 fi
53323
53324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
53325 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
53326 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53327 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53328 do :
53329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53332 cat >>confdefs.h <<_ACEOF
53333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53334 _ACEOF
53335
53336 fi
53337 done
53338
53339 else
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
53341 $as_echo_n "checking for _long double trig functions... " >&6; }
53342 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
53343 $as_echo_n "(cached) " >&6
53344 else
53345
53346
53347 ac_ext=cpp
53348 ac_cpp='$CXXCPP $CPPFLAGS'
53349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53352
53353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53354 /* end confdefs.h. */
53355 #include <math.h>
53356 int
53357 main ()
53358 {
53359 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53360 ;
53361 return 0;
53362 }
53363 _ACEOF
53364 if ac_fn_cxx_try_compile "$LINENO"; then :
53365 glibcxx_cv_func__long_double_trig_use=yes
53366 else
53367 glibcxx_cv_func__long_double_trig_use=no
53368 fi
53369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53370 ac_ext=c
53371 ac_cpp='$CPP $CPPFLAGS'
53372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53375
53376 fi
53377
53378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
53379 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
53380 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53381 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53382 do :
53383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53386 cat >>confdefs.h <<_ACEOF
53387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53388 _ACEOF
53389
53390 fi
53391 done
53392
53393 fi
53394 fi
53395
53396
53397
53398
53399
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
53401 $as_echo_n "checking for long double round functions... " >&6; }
53402 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
53403 $as_echo_n "(cached) " >&6
53404 else
53405
53406
53407 ac_ext=cpp
53408 ac_cpp='$CXXCPP $CPPFLAGS'
53409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53412
53413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53414 /* end confdefs.h. */
53415 #include <math.h>
53416 int
53417 main ()
53418 {
53419 ceill (0); floorl (0);
53420 ;
53421 return 0;
53422 }
53423 _ACEOF
53424 if ac_fn_cxx_try_compile "$LINENO"; then :
53425 glibcxx_cv_func_long_double_round_use=yes
53426 else
53427 glibcxx_cv_func_long_double_round_use=no
53428 fi
53429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53430 ac_ext=c
53431 ac_cpp='$CPP $CPPFLAGS'
53432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53435
53436 fi
53437
53438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
53439 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
53440 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53441 for ac_func in ceill floorl
53442 do :
53443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53446 cat >>confdefs.h <<_ACEOF
53447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53448 _ACEOF
53449
53450 fi
53451 done
53452
53453 else
53454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
53455 $as_echo_n "checking for _long double round functions... " >&6; }
53456 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
53457 $as_echo_n "(cached) " >&6
53458 else
53459
53460
53461 ac_ext=cpp
53462 ac_cpp='$CXXCPP $CPPFLAGS'
53463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53466
53467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53468 /* end confdefs.h. */
53469 #include <math.h>
53470 int
53471 main ()
53472 {
53473 _ceill (0); _floorl (0);
53474 ;
53475 return 0;
53476 }
53477 _ACEOF
53478 if ac_fn_cxx_try_compile "$LINENO"; then :
53479 glibcxx_cv_func__long_double_round_use=yes
53480 else
53481 glibcxx_cv_func__long_double_round_use=no
53482 fi
53483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53484 ac_ext=c
53485 ac_cpp='$CPP $CPPFLAGS'
53486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53489
53490 fi
53491
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
53493 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
53494 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53495 for ac_func in _ceill _floorl
53496 do :
53497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53499 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53500 cat >>confdefs.h <<_ACEOF
53501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53502 _ACEOF
53503
53504 fi
53505 done
53506
53507 fi
53508 fi
53509
53510
53511
53512
53513
53514
53515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
53516 $as_echo_n "checking for isnanl declaration... " >&6; }
53517 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53518 if ${glibcxx_cv_func_isnanl_use+:} false; then :
53519 $as_echo_n "(cached) " >&6
53520 else
53521
53522
53523 ac_ext=cpp
53524 ac_cpp='$CXXCPP $CPPFLAGS'
53525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53528
53529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53530 /* end confdefs.h. */
53531 #include <math.h>
53532 #ifdef HAVE_IEEEFP_H
53533 #include <ieeefp.h>
53534 #endif
53535
53536 int
53537 main ()
53538 {
53539 isnanl(0);
53540 ;
53541 return 0;
53542 }
53543 _ACEOF
53544 if ac_fn_cxx_try_compile "$LINENO"; then :
53545 glibcxx_cv_func_isnanl_use=yes
53546 else
53547 glibcxx_cv_func_isnanl_use=no
53548 fi
53549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53550 ac_ext=c
53551 ac_cpp='$CPP $CPPFLAGS'
53552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53555
53556
53557 fi
53558
53559 fi
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
53561 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
53562
53563 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53564 for ac_func in isnanl
53565 do :
53566 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
53567 if test "x$ac_cv_func_isnanl" = xyes; then :
53568 cat >>confdefs.h <<_ACEOF
53569 #define HAVE_ISNANL 1
53570 _ACEOF
53571
53572 fi
53573 done
53574
53575 else
53576
53577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
53578 $as_echo_n "checking for _isnanl declaration... " >&6; }
53579 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53580 if ${glibcxx_cv_func__isnanl_use+:} false; then :
53581 $as_echo_n "(cached) " >&6
53582 else
53583
53584
53585 ac_ext=cpp
53586 ac_cpp='$CXXCPP $CPPFLAGS'
53587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53590
53591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53592 /* end confdefs.h. */
53593 #include <math.h>
53594 #ifdef HAVE_IEEEFP_H
53595 #include <ieeefp.h>
53596 #endif
53597
53598 int
53599 main ()
53600 {
53601 _isnanl(0);
53602 ;
53603 return 0;
53604 }
53605 _ACEOF
53606 if ac_fn_cxx_try_compile "$LINENO"; then :
53607 glibcxx_cv_func__isnanl_use=yes
53608 else
53609 glibcxx_cv_func__isnanl_use=no
53610 fi
53611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53612 ac_ext=c
53613 ac_cpp='$CPP $CPPFLAGS'
53614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53617
53618
53619 fi
53620
53621 fi
53622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
53623 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
53624
53625 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53626 for ac_func in _isnanl
53627 do :
53628 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
53629 if test "x$ac_cv_func__isnanl" = xyes; then :
53630 cat >>confdefs.h <<_ACEOF
53631 #define HAVE__ISNANL 1
53632 _ACEOF
53633
53634 fi
53635 done
53636
53637 fi
53638 fi
53639
53640
53641
53642
53643
53644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
53645 $as_echo_n "checking for isinfl declaration... " >&6; }
53646 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53647 if ${glibcxx_cv_func_isinfl_use+:} false; then :
53648 $as_echo_n "(cached) " >&6
53649 else
53650
53651
53652 ac_ext=cpp
53653 ac_cpp='$CXXCPP $CPPFLAGS'
53654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53657
53658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53659 /* end confdefs.h. */
53660 #include <math.h>
53661 #ifdef HAVE_IEEEFP_H
53662 #include <ieeefp.h>
53663 #endif
53664
53665 int
53666 main ()
53667 {
53668 isinfl(0);
53669 ;
53670 return 0;
53671 }
53672 _ACEOF
53673 if ac_fn_cxx_try_compile "$LINENO"; then :
53674 glibcxx_cv_func_isinfl_use=yes
53675 else
53676 glibcxx_cv_func_isinfl_use=no
53677 fi
53678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53679 ac_ext=c
53680 ac_cpp='$CPP $CPPFLAGS'
53681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53684
53685
53686 fi
53687
53688 fi
53689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
53690 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
53691
53692 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53693 for ac_func in isinfl
53694 do :
53695 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
53696 if test "x$ac_cv_func_isinfl" = xyes; then :
53697 cat >>confdefs.h <<_ACEOF
53698 #define HAVE_ISINFL 1
53699 _ACEOF
53700
53701 fi
53702 done
53703
53704 else
53705
53706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
53707 $as_echo_n "checking for _isinfl declaration... " >&6; }
53708 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53709 if ${glibcxx_cv_func__isinfl_use+:} false; then :
53710 $as_echo_n "(cached) " >&6
53711 else
53712
53713
53714 ac_ext=cpp
53715 ac_cpp='$CXXCPP $CPPFLAGS'
53716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53719
53720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53721 /* end confdefs.h. */
53722 #include <math.h>
53723 #ifdef HAVE_IEEEFP_H
53724 #include <ieeefp.h>
53725 #endif
53726
53727 int
53728 main ()
53729 {
53730 _isinfl(0);
53731 ;
53732 return 0;
53733 }
53734 _ACEOF
53735 if ac_fn_cxx_try_compile "$LINENO"; then :
53736 glibcxx_cv_func__isinfl_use=yes
53737 else
53738 glibcxx_cv_func__isinfl_use=no
53739 fi
53740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53741 ac_ext=c
53742 ac_cpp='$CPP $CPPFLAGS'
53743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53746
53747
53748 fi
53749
53750 fi
53751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
53752 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
53753
53754 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53755 for ac_func in _isinfl
53756 do :
53757 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
53758 if test "x$ac_cv_func__isinfl" = xyes; then :
53759 cat >>confdefs.h <<_ACEOF
53760 #define HAVE__ISINFL 1
53761 _ACEOF
53762
53763 fi
53764 done
53765
53766 fi
53767 fi
53768
53769
53770
53771
53772
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
53774 $as_echo_n "checking for atan2l declaration... " >&6; }
53775 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53776 if ${glibcxx_cv_func_atan2l_use+:} false; then :
53777 $as_echo_n "(cached) " >&6
53778 else
53779
53780
53781 ac_ext=cpp
53782 ac_cpp='$CXXCPP $CPPFLAGS'
53783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53786
53787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53788 /* end confdefs.h. */
53789 #include <math.h>
53790 int
53791 main ()
53792 {
53793 atan2l(0, 0);
53794 ;
53795 return 0;
53796 }
53797 _ACEOF
53798 if ac_fn_cxx_try_compile "$LINENO"; then :
53799 glibcxx_cv_func_atan2l_use=yes
53800 else
53801 glibcxx_cv_func_atan2l_use=no
53802 fi
53803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53804 ac_ext=c
53805 ac_cpp='$CPP $CPPFLAGS'
53806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53809
53810
53811 fi
53812
53813 fi
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
53815 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
53816
53817 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53818 for ac_func in atan2l
53819 do :
53820 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
53821 if test "x$ac_cv_func_atan2l" = xyes; then :
53822 cat >>confdefs.h <<_ACEOF
53823 #define HAVE_ATAN2L 1
53824 _ACEOF
53825
53826 fi
53827 done
53828
53829 else
53830
53831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
53832 $as_echo_n "checking for _atan2l declaration... " >&6; }
53833 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53834 if ${glibcxx_cv_func__atan2l_use+:} false; then :
53835 $as_echo_n "(cached) " >&6
53836 else
53837
53838
53839 ac_ext=cpp
53840 ac_cpp='$CXXCPP $CPPFLAGS'
53841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53844
53845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53846 /* end confdefs.h. */
53847 #include <math.h>
53848 int
53849 main ()
53850 {
53851 _atan2l(0, 0);
53852 ;
53853 return 0;
53854 }
53855 _ACEOF
53856 if ac_fn_cxx_try_compile "$LINENO"; then :
53857 glibcxx_cv_func__atan2l_use=yes
53858 else
53859 glibcxx_cv_func__atan2l_use=no
53860 fi
53861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53862 ac_ext=c
53863 ac_cpp='$CPP $CPPFLAGS'
53864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53867
53868
53869 fi
53870
53871 fi
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
53873 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
53874
53875 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53876 for ac_func in _atan2l
53877 do :
53878 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
53879 if test "x$ac_cv_func__atan2l" = xyes; then :
53880 cat >>confdefs.h <<_ACEOF
53881 #define HAVE__ATAN2L 1
53882 _ACEOF
53883
53884 fi
53885 done
53886
53887 fi
53888 fi
53889
53890
53891
53892
53893
53894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
53895 $as_echo_n "checking for expl declaration... " >&6; }
53896 if test x${glibcxx_cv_func_expl_use+set} != xset; then
53897 if ${glibcxx_cv_func_expl_use+:} false; then :
53898 $as_echo_n "(cached) " >&6
53899 else
53900
53901
53902 ac_ext=cpp
53903 ac_cpp='$CXXCPP $CPPFLAGS'
53904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53907
53908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53909 /* end confdefs.h. */
53910 #include <math.h>
53911 #ifdef HAVE_IEEEFP_H
53912 #include <ieeefp.h>
53913 #endif
53914
53915 int
53916 main ()
53917 {
53918 expl(0);
53919 ;
53920 return 0;
53921 }
53922 _ACEOF
53923 if ac_fn_cxx_try_compile "$LINENO"; then :
53924 glibcxx_cv_func_expl_use=yes
53925 else
53926 glibcxx_cv_func_expl_use=no
53927 fi
53928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53929 ac_ext=c
53930 ac_cpp='$CPP $CPPFLAGS'
53931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53934
53935
53936 fi
53937
53938 fi
53939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
53940 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
53941
53942 if test x$glibcxx_cv_func_expl_use = x"yes"; then
53943 for ac_func in expl
53944 do :
53945 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
53946 if test "x$ac_cv_func_expl" = xyes; then :
53947 cat >>confdefs.h <<_ACEOF
53948 #define HAVE_EXPL 1
53949 _ACEOF
53950
53951 fi
53952 done
53953
53954 else
53955
53956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
53957 $as_echo_n "checking for _expl declaration... " >&6; }
53958 if test x${glibcxx_cv_func__expl_use+set} != xset; then
53959 if ${glibcxx_cv_func__expl_use+:} false; then :
53960 $as_echo_n "(cached) " >&6
53961 else
53962
53963
53964 ac_ext=cpp
53965 ac_cpp='$CXXCPP $CPPFLAGS'
53966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53969
53970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53971 /* end confdefs.h. */
53972 #include <math.h>
53973 #ifdef HAVE_IEEEFP_H
53974 #include <ieeefp.h>
53975 #endif
53976
53977 int
53978 main ()
53979 {
53980 _expl(0);
53981 ;
53982 return 0;
53983 }
53984 _ACEOF
53985 if ac_fn_cxx_try_compile "$LINENO"; then :
53986 glibcxx_cv_func__expl_use=yes
53987 else
53988 glibcxx_cv_func__expl_use=no
53989 fi
53990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53991 ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53996
53997
53998 fi
53999
54000 fi
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54002 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54003
54004 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54005 for ac_func in _expl
54006 do :
54007 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54008 if test "x$ac_cv_func__expl" = xyes; then :
54009 cat >>confdefs.h <<_ACEOF
54010 #define HAVE__EXPL 1
54011 _ACEOF
54012
54013 fi
54014 done
54015
54016 fi
54017 fi
54018
54019
54020
54021
54022
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54024 $as_echo_n "checking for fabsl declaration... " >&6; }
54025 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54026 if ${glibcxx_cv_func_fabsl_use+:} false; then :
54027 $as_echo_n "(cached) " >&6
54028 else
54029
54030
54031 ac_ext=cpp
54032 ac_cpp='$CXXCPP $CPPFLAGS'
54033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54036
54037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54038 /* end confdefs.h. */
54039 #include <math.h>
54040 #ifdef HAVE_IEEEFP_H
54041 #include <ieeefp.h>
54042 #endif
54043
54044 int
54045 main ()
54046 {
54047 fabsl(0);
54048 ;
54049 return 0;
54050 }
54051 _ACEOF
54052 if ac_fn_cxx_try_compile "$LINENO"; then :
54053 glibcxx_cv_func_fabsl_use=yes
54054 else
54055 glibcxx_cv_func_fabsl_use=no
54056 fi
54057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54058 ac_ext=c
54059 ac_cpp='$CPP $CPPFLAGS'
54060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54063
54064
54065 fi
54066
54067 fi
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54069 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54070
54071 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54072 for ac_func in fabsl
54073 do :
54074 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54075 if test "x$ac_cv_func_fabsl" = xyes; then :
54076 cat >>confdefs.h <<_ACEOF
54077 #define HAVE_FABSL 1
54078 _ACEOF
54079
54080 fi
54081 done
54082
54083 else
54084
54085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54086 $as_echo_n "checking for _fabsl declaration... " >&6; }
54087 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54088 if ${glibcxx_cv_func__fabsl_use+:} false; then :
54089 $as_echo_n "(cached) " >&6
54090 else
54091
54092
54093 ac_ext=cpp
54094 ac_cpp='$CXXCPP $CPPFLAGS'
54095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54098
54099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54100 /* end confdefs.h. */
54101 #include <math.h>
54102 #ifdef HAVE_IEEEFP_H
54103 #include <ieeefp.h>
54104 #endif
54105
54106 int
54107 main ()
54108 {
54109 _fabsl(0);
54110 ;
54111 return 0;
54112 }
54113 _ACEOF
54114 if ac_fn_cxx_try_compile "$LINENO"; then :
54115 glibcxx_cv_func__fabsl_use=yes
54116 else
54117 glibcxx_cv_func__fabsl_use=no
54118 fi
54119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54120 ac_ext=c
54121 ac_cpp='$CPP $CPPFLAGS'
54122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54125
54126
54127 fi
54128
54129 fi
54130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54131 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54132
54133 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54134 for ac_func in _fabsl
54135 do :
54136 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54137 if test "x$ac_cv_func__fabsl" = xyes; then :
54138 cat >>confdefs.h <<_ACEOF
54139 #define HAVE__FABSL 1
54140 _ACEOF
54141
54142 fi
54143 done
54144
54145 fi
54146 fi
54147
54148
54149
54150
54151
54152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
54153 $as_echo_n "checking for fmodl declaration... " >&6; }
54154 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54155 if ${glibcxx_cv_func_fmodl_use+:} false; then :
54156 $as_echo_n "(cached) " >&6
54157 else
54158
54159
54160 ac_ext=cpp
54161 ac_cpp='$CXXCPP $CPPFLAGS'
54162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54165
54166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54167 /* end confdefs.h. */
54168 #include <math.h>
54169 int
54170 main ()
54171 {
54172 fmodl(0, 0);
54173 ;
54174 return 0;
54175 }
54176 _ACEOF
54177 if ac_fn_cxx_try_compile "$LINENO"; then :
54178 glibcxx_cv_func_fmodl_use=yes
54179 else
54180 glibcxx_cv_func_fmodl_use=no
54181 fi
54182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54183 ac_ext=c
54184 ac_cpp='$CPP $CPPFLAGS'
54185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54188
54189
54190 fi
54191
54192 fi
54193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
54194 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
54195
54196 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54197 for ac_func in fmodl
54198 do :
54199 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
54200 if test "x$ac_cv_func_fmodl" = xyes; then :
54201 cat >>confdefs.h <<_ACEOF
54202 #define HAVE_FMODL 1
54203 _ACEOF
54204
54205 fi
54206 done
54207
54208 else
54209
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
54211 $as_echo_n "checking for _fmodl declaration... " >&6; }
54212 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54213 if ${glibcxx_cv_func__fmodl_use+:} false; then :
54214 $as_echo_n "(cached) " >&6
54215 else
54216
54217
54218 ac_ext=cpp
54219 ac_cpp='$CXXCPP $CPPFLAGS'
54220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54223
54224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54225 /* end confdefs.h. */
54226 #include <math.h>
54227 int
54228 main ()
54229 {
54230 _fmodl(0, 0);
54231 ;
54232 return 0;
54233 }
54234 _ACEOF
54235 if ac_fn_cxx_try_compile "$LINENO"; then :
54236 glibcxx_cv_func__fmodl_use=yes
54237 else
54238 glibcxx_cv_func__fmodl_use=no
54239 fi
54240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54241 ac_ext=c
54242 ac_cpp='$CPP $CPPFLAGS'
54243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54246
54247
54248 fi
54249
54250 fi
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
54252 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
54253
54254 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54255 for ac_func in _fmodl
54256 do :
54257 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
54258 if test "x$ac_cv_func__fmodl" = xyes; then :
54259 cat >>confdefs.h <<_ACEOF
54260 #define HAVE__FMODL 1
54261 _ACEOF
54262
54263 fi
54264 done
54265
54266 fi
54267 fi
54268
54269
54270
54271
54272
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
54274 $as_echo_n "checking for frexpl declaration... " >&6; }
54275 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
54276 if ${glibcxx_cv_func_frexpl_use+:} false; then :
54277 $as_echo_n "(cached) " >&6
54278 else
54279
54280
54281 ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54286
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <math.h>
54290 int
54291 main ()
54292 {
54293 frexpl(0, 0);
54294 ;
54295 return 0;
54296 }
54297 _ACEOF
54298 if ac_fn_cxx_try_compile "$LINENO"; then :
54299 glibcxx_cv_func_frexpl_use=yes
54300 else
54301 glibcxx_cv_func_frexpl_use=no
54302 fi
54303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54304 ac_ext=c
54305 ac_cpp='$CPP $CPPFLAGS'
54306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54309
54310
54311 fi
54312
54313 fi
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
54315 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
54316
54317 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
54318 for ac_func in frexpl
54319 do :
54320 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
54321 if test "x$ac_cv_func_frexpl" = xyes; then :
54322 cat >>confdefs.h <<_ACEOF
54323 #define HAVE_FREXPL 1
54324 _ACEOF
54325
54326 fi
54327 done
54328
54329 else
54330
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
54332 $as_echo_n "checking for _frexpl declaration... " >&6; }
54333 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
54334 if ${glibcxx_cv_func__frexpl_use+:} false; then :
54335 $as_echo_n "(cached) " >&6
54336 else
54337
54338
54339 ac_ext=cpp
54340 ac_cpp='$CXXCPP $CPPFLAGS'
54341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54344
54345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54346 /* end confdefs.h. */
54347 #include <math.h>
54348 int
54349 main ()
54350 {
54351 _frexpl(0, 0);
54352 ;
54353 return 0;
54354 }
54355 _ACEOF
54356 if ac_fn_cxx_try_compile "$LINENO"; then :
54357 glibcxx_cv_func__frexpl_use=yes
54358 else
54359 glibcxx_cv_func__frexpl_use=no
54360 fi
54361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54362 ac_ext=c
54363 ac_cpp='$CPP $CPPFLAGS'
54364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54367
54368
54369 fi
54370
54371 fi
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
54373 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
54374
54375 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
54376 for ac_func in _frexpl
54377 do :
54378 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
54379 if test "x$ac_cv_func__frexpl" = xyes; then :
54380 cat >>confdefs.h <<_ACEOF
54381 #define HAVE__FREXPL 1
54382 _ACEOF
54383
54384 fi
54385 done
54386
54387 fi
54388 fi
54389
54390
54391
54392
54393
54394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
54395 $as_echo_n "checking for hypotl declaration... " >&6; }
54396 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
54397 if ${glibcxx_cv_func_hypotl_use+:} false; then :
54398 $as_echo_n "(cached) " >&6
54399 else
54400
54401
54402 ac_ext=cpp
54403 ac_cpp='$CXXCPP $CPPFLAGS'
54404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54407
54408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54409 /* end confdefs.h. */
54410 #include <math.h>
54411 int
54412 main ()
54413 {
54414 hypotl(0, 0);
54415 ;
54416 return 0;
54417 }
54418 _ACEOF
54419 if ac_fn_cxx_try_compile "$LINENO"; then :
54420 glibcxx_cv_func_hypotl_use=yes
54421 else
54422 glibcxx_cv_func_hypotl_use=no
54423 fi
54424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54425 ac_ext=c
54426 ac_cpp='$CPP $CPPFLAGS'
54427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54430
54431
54432 fi
54433
54434 fi
54435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
54436 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
54437
54438 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
54439 for ac_func in hypotl
54440 do :
54441 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
54442 if test "x$ac_cv_func_hypotl" = xyes; then :
54443 cat >>confdefs.h <<_ACEOF
54444 #define HAVE_HYPOTL 1
54445 _ACEOF
54446
54447 fi
54448 done
54449
54450 else
54451
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
54453 $as_echo_n "checking for _hypotl declaration... " >&6; }
54454 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
54455 if ${glibcxx_cv_func__hypotl_use+:} false; then :
54456 $as_echo_n "(cached) " >&6
54457 else
54458
54459
54460 ac_ext=cpp
54461 ac_cpp='$CXXCPP $CPPFLAGS'
54462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54465
54466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54467 /* end confdefs.h. */
54468 #include <math.h>
54469 int
54470 main ()
54471 {
54472 _hypotl(0, 0);
54473 ;
54474 return 0;
54475 }
54476 _ACEOF
54477 if ac_fn_cxx_try_compile "$LINENO"; then :
54478 glibcxx_cv_func__hypotl_use=yes
54479 else
54480 glibcxx_cv_func__hypotl_use=no
54481 fi
54482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54483 ac_ext=c
54484 ac_cpp='$CPP $CPPFLAGS'
54485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54488
54489
54490 fi
54491
54492 fi
54493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
54494 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
54495
54496 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
54497 for ac_func in _hypotl
54498 do :
54499 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
54500 if test "x$ac_cv_func__hypotl" = xyes; then :
54501 cat >>confdefs.h <<_ACEOF
54502 #define HAVE__HYPOTL 1
54503 _ACEOF
54504
54505 fi
54506 done
54507
54508 fi
54509 fi
54510
54511
54512
54513
54514
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
54516 $as_echo_n "checking for ldexpl declaration... " >&6; }
54517 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
54518 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
54519 $as_echo_n "(cached) " >&6
54520 else
54521
54522
54523 ac_ext=cpp
54524 ac_cpp='$CXXCPP $CPPFLAGS'
54525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54528
54529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54530 /* end confdefs.h. */
54531 #include <math.h>
54532 int
54533 main ()
54534 {
54535 ldexpl(0, 0);
54536 ;
54537 return 0;
54538 }
54539 _ACEOF
54540 if ac_fn_cxx_try_compile "$LINENO"; then :
54541 glibcxx_cv_func_ldexpl_use=yes
54542 else
54543 glibcxx_cv_func_ldexpl_use=no
54544 fi
54545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54546 ac_ext=c
54547 ac_cpp='$CPP $CPPFLAGS'
54548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54551
54552
54553 fi
54554
54555 fi
54556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
54557 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
54558
54559 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
54560 for ac_func in ldexpl
54561 do :
54562 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
54563 if test "x$ac_cv_func_ldexpl" = xyes; then :
54564 cat >>confdefs.h <<_ACEOF
54565 #define HAVE_LDEXPL 1
54566 _ACEOF
54567
54568 fi
54569 done
54570
54571 else
54572
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
54574 $as_echo_n "checking for _ldexpl declaration... " >&6; }
54575 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
54576 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
54577 $as_echo_n "(cached) " >&6
54578 else
54579
54580
54581 ac_ext=cpp
54582 ac_cpp='$CXXCPP $CPPFLAGS'
54583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54586
54587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54588 /* end confdefs.h. */
54589 #include <math.h>
54590 int
54591 main ()
54592 {
54593 _ldexpl(0, 0);
54594 ;
54595 return 0;
54596 }
54597 _ACEOF
54598 if ac_fn_cxx_try_compile "$LINENO"; then :
54599 glibcxx_cv_func__ldexpl_use=yes
54600 else
54601 glibcxx_cv_func__ldexpl_use=no
54602 fi
54603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54604 ac_ext=c
54605 ac_cpp='$CPP $CPPFLAGS'
54606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54609
54610
54611 fi
54612
54613 fi
54614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
54615 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
54616
54617 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
54618 for ac_func in _ldexpl
54619 do :
54620 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
54621 if test "x$ac_cv_func__ldexpl" = xyes; then :
54622 cat >>confdefs.h <<_ACEOF
54623 #define HAVE__LDEXPL 1
54624 _ACEOF
54625
54626 fi
54627 done
54628
54629 fi
54630 fi
54631
54632
54633
54634
54635
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
54637 $as_echo_n "checking for logl declaration... " >&6; }
54638 if test x${glibcxx_cv_func_logl_use+set} != xset; then
54639 if ${glibcxx_cv_func_logl_use+:} false; then :
54640 $as_echo_n "(cached) " >&6
54641 else
54642
54643
54644 ac_ext=cpp
54645 ac_cpp='$CXXCPP $CPPFLAGS'
54646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54649
54650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54651 /* end confdefs.h. */
54652 #include <math.h>
54653 #ifdef HAVE_IEEEFP_H
54654 #include <ieeefp.h>
54655 #endif
54656
54657 int
54658 main ()
54659 {
54660 logl(0);
54661 ;
54662 return 0;
54663 }
54664 _ACEOF
54665 if ac_fn_cxx_try_compile "$LINENO"; then :
54666 glibcxx_cv_func_logl_use=yes
54667 else
54668 glibcxx_cv_func_logl_use=no
54669 fi
54670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54671 ac_ext=c
54672 ac_cpp='$CPP $CPPFLAGS'
54673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54676
54677
54678 fi
54679
54680 fi
54681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
54682 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
54683
54684 if test x$glibcxx_cv_func_logl_use = x"yes"; then
54685 for ac_func in logl
54686 do :
54687 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
54688 if test "x$ac_cv_func_logl" = xyes; then :
54689 cat >>confdefs.h <<_ACEOF
54690 #define HAVE_LOGL 1
54691 _ACEOF
54692
54693 fi
54694 done
54695
54696 else
54697
54698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
54699 $as_echo_n "checking for _logl declaration... " >&6; }
54700 if test x${glibcxx_cv_func__logl_use+set} != xset; then
54701 if ${glibcxx_cv_func__logl_use+:} false; then :
54702 $as_echo_n "(cached) " >&6
54703 else
54704
54705
54706 ac_ext=cpp
54707 ac_cpp='$CXXCPP $CPPFLAGS'
54708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54711
54712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54713 /* end confdefs.h. */
54714 #include <math.h>
54715 #ifdef HAVE_IEEEFP_H
54716 #include <ieeefp.h>
54717 #endif
54718
54719 int
54720 main ()
54721 {
54722 _logl(0);
54723 ;
54724 return 0;
54725 }
54726 _ACEOF
54727 if ac_fn_cxx_try_compile "$LINENO"; then :
54728 glibcxx_cv_func__logl_use=yes
54729 else
54730 glibcxx_cv_func__logl_use=no
54731 fi
54732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54733 ac_ext=c
54734 ac_cpp='$CPP $CPPFLAGS'
54735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54738
54739
54740 fi
54741
54742 fi
54743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
54744 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
54745
54746 if test x$glibcxx_cv_func__logl_use = x"yes"; then
54747 for ac_func in _logl
54748 do :
54749 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
54750 if test "x$ac_cv_func__logl" = xyes; then :
54751 cat >>confdefs.h <<_ACEOF
54752 #define HAVE__LOGL 1
54753 _ACEOF
54754
54755 fi
54756 done
54757
54758 fi
54759 fi
54760
54761
54762
54763
54764
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
54766 $as_echo_n "checking for log10l declaration... " >&6; }
54767 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
54768 if ${glibcxx_cv_func_log10l_use+:} false; then :
54769 $as_echo_n "(cached) " >&6
54770 else
54771
54772
54773 ac_ext=cpp
54774 ac_cpp='$CXXCPP $CPPFLAGS'
54775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54778
54779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54780 /* end confdefs.h. */
54781 #include <math.h>
54782 #ifdef HAVE_IEEEFP_H
54783 #include <ieeefp.h>
54784 #endif
54785
54786 int
54787 main ()
54788 {
54789 log10l(0);
54790 ;
54791 return 0;
54792 }
54793 _ACEOF
54794 if ac_fn_cxx_try_compile "$LINENO"; then :
54795 glibcxx_cv_func_log10l_use=yes
54796 else
54797 glibcxx_cv_func_log10l_use=no
54798 fi
54799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54800 ac_ext=c
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54805
54806
54807 fi
54808
54809 fi
54810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
54811 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
54812
54813 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
54814 for ac_func in log10l
54815 do :
54816 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
54817 if test "x$ac_cv_func_log10l" = xyes; then :
54818 cat >>confdefs.h <<_ACEOF
54819 #define HAVE_LOG10L 1
54820 _ACEOF
54821
54822 fi
54823 done
54824
54825 else
54826
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
54828 $as_echo_n "checking for _log10l declaration... " >&6; }
54829 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
54830 if ${glibcxx_cv_func__log10l_use+:} false; then :
54831 $as_echo_n "(cached) " >&6
54832 else
54833
54834
54835 ac_ext=cpp
54836 ac_cpp='$CXXCPP $CPPFLAGS'
54837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54840
54841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54842 /* end confdefs.h. */
54843 #include <math.h>
54844 #ifdef HAVE_IEEEFP_H
54845 #include <ieeefp.h>
54846 #endif
54847
54848 int
54849 main ()
54850 {
54851 _log10l(0);
54852 ;
54853 return 0;
54854 }
54855 _ACEOF
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__log10l_use=yes
54858 else
54859 glibcxx_cv_func__log10l_use=no
54860 fi
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54867
54868
54869 fi
54870
54871 fi
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
54873 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
54874
54875 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
54876 for ac_func in _log10l
54877 do :
54878 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
54879 if test "x$ac_cv_func__log10l" = xyes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__LOG10L 1
54882 _ACEOF
54883
54884 fi
54885 done
54886
54887 fi
54888 fi
54889
54890
54891
54892
54893
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
54895 $as_echo_n "checking for modfl declaration... " >&6; }
54896 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
54897 if ${glibcxx_cv_func_modfl_use+:} false; then :
54898 $as_echo_n "(cached) " >&6
54899 else
54900
54901
54902 ac_ext=cpp
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907
54908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54909 /* end confdefs.h. */
54910 #include <math.h>
54911 int
54912 main ()
54913 {
54914 modfl(0, 0);
54915 ;
54916 return 0;
54917 }
54918 _ACEOF
54919 if ac_fn_cxx_try_compile "$LINENO"; then :
54920 glibcxx_cv_func_modfl_use=yes
54921 else
54922 glibcxx_cv_func_modfl_use=no
54923 fi
54924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54925 ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54930
54931
54932 fi
54933
54934 fi
54935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
54936 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
54937
54938 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
54939 for ac_func in modfl
54940 do :
54941 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
54942 if test "x$ac_cv_func_modfl" = xyes; then :
54943 cat >>confdefs.h <<_ACEOF
54944 #define HAVE_MODFL 1
54945 _ACEOF
54946
54947 fi
54948 done
54949
54950 else
54951
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
54953 $as_echo_n "checking for _modfl declaration... " >&6; }
54954 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
54955 if ${glibcxx_cv_func__modfl_use+:} false; then :
54956 $as_echo_n "(cached) " >&6
54957 else
54958
54959
54960 ac_ext=cpp
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54965
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54968 #include <math.h>
54969 int
54970 main ()
54971 {
54972 _modfl(0, 0);
54973 ;
54974 return 0;
54975 }
54976 _ACEOF
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__modfl_use=yes
54979 else
54980 glibcxx_cv_func__modfl_use=no
54981 fi
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54983 ac_ext=c
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54988
54989
54990 fi
54991
54992 fi
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
54994 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
54995
54996 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
54997 for ac_func in _modfl
54998 do :
54999 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55000 if test "x$ac_cv_func__modfl" = xyes; then :
55001 cat >>confdefs.h <<_ACEOF
55002 #define HAVE__MODFL 1
55003 _ACEOF
55004
55005 fi
55006 done
55007
55008 fi
55009 fi
55010
55011
55012
55013
55014
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55016 $as_echo_n "checking for powl declaration... " >&6; }
55017 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55018 if ${glibcxx_cv_func_powl_use+:} false; then :
55019 $as_echo_n "(cached) " >&6
55020 else
55021
55022
55023 ac_ext=cpp
55024 ac_cpp='$CXXCPP $CPPFLAGS'
55025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55028
55029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55030 /* end confdefs.h. */
55031 #include <math.h>
55032 int
55033 main ()
55034 {
55035 powl(0, 0);
55036 ;
55037 return 0;
55038 }
55039 _ACEOF
55040 if ac_fn_cxx_try_compile "$LINENO"; then :
55041 glibcxx_cv_func_powl_use=yes
55042 else
55043 glibcxx_cv_func_powl_use=no
55044 fi
55045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55046 ac_ext=c
55047 ac_cpp='$CPP $CPPFLAGS'
55048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55051
55052
55053 fi
55054
55055 fi
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55057 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55058
55059 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55060 for ac_func in powl
55061 do :
55062 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55063 if test "x$ac_cv_func_powl" = xyes; then :
55064 cat >>confdefs.h <<_ACEOF
55065 #define HAVE_POWL 1
55066 _ACEOF
55067
55068 fi
55069 done
55070
55071 else
55072
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55074 $as_echo_n "checking for _powl declaration... " >&6; }
55075 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55076 if ${glibcxx_cv_func__powl_use+:} false; then :
55077 $as_echo_n "(cached) " >&6
55078 else
55079
55080
55081 ac_ext=cpp
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55086
55087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55089 #include <math.h>
55090 int
55091 main ()
55092 {
55093 _powl(0, 0);
55094 ;
55095 return 0;
55096 }
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func__powl_use=yes
55100 else
55101 glibcxx_cv_func__powl_use=no
55102 fi
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104 ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55109
55110
55111 fi
55112
55113 fi
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55115 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55116
55117 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55118 for ac_func in _powl
55119 do :
55120 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55121 if test "x$ac_cv_func__powl" = xyes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE__POWL 1
55124 _ACEOF
55125
55126 fi
55127 done
55128
55129 fi
55130 fi
55131
55132
55133
55134
55135
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55137 $as_echo_n "checking for sqrtl declaration... " >&6; }
55138 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55139 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
55140 $as_echo_n "(cached) " >&6
55141 else
55142
55143
55144 ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55149
55150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h. */
55152 #include <math.h>
55153 #ifdef HAVE_IEEEFP_H
55154 #include <ieeefp.h>
55155 #endif
55156
55157 int
55158 main ()
55159 {
55160 sqrtl(0);
55161 ;
55162 return 0;
55163 }
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166 glibcxx_cv_func_sqrtl_use=yes
55167 else
55168 glibcxx_cv_func_sqrtl_use=no
55169 fi
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171 ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176
55177
55178 fi
55179
55180 fi
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
55182 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
55183
55184 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
55185 for ac_func in sqrtl
55186 do :
55187 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
55188 if test "x$ac_cv_func_sqrtl" = xyes; then :
55189 cat >>confdefs.h <<_ACEOF
55190 #define HAVE_SQRTL 1
55191 _ACEOF
55192
55193 fi
55194 done
55195
55196 else
55197
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
55199 $as_echo_n "checking for _sqrtl declaration... " >&6; }
55200 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
55201 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55204
55205
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 #ifdef HAVE_IEEEFP_H
55216 #include <ieeefp.h>
55217 #endif
55218
55219 int
55220 main ()
55221 {
55222 _sqrtl(0);
55223 ;
55224 return 0;
55225 }
55226 _ACEOF
55227 if ac_fn_cxx_try_compile "$LINENO"; then :
55228 glibcxx_cv_func__sqrtl_use=yes
55229 else
55230 glibcxx_cv_func__sqrtl_use=no
55231 fi
55232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55233 ac_ext=c
55234 ac_cpp='$CPP $CPPFLAGS'
55235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55238
55239
55240 fi
55241
55242 fi
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
55244 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
55245
55246 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
55247 for ac_func in _sqrtl
55248 do :
55249 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
55250 if test "x$ac_cv_func__sqrtl" = xyes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define HAVE__SQRTL 1
55253 _ACEOF
55254
55255 fi
55256 done
55257
55258 fi
55259 fi
55260
55261
55262
55263
55264
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
55266 $as_echo_n "checking for sincosl declaration... " >&6; }
55267 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
55268 if ${glibcxx_cv_func_sincosl_use+:} false; then :
55269 $as_echo_n "(cached) " >&6
55270 else
55271
55272
55273 ac_ext=cpp
55274 ac_cpp='$CXXCPP $CPPFLAGS'
55275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55278
55279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h. */
55281 #include <math.h>
55282 int
55283 main ()
55284 {
55285 sincosl(0, 0, 0);
55286 ;
55287 return 0;
55288 }
55289 _ACEOF
55290 if ac_fn_cxx_try_compile "$LINENO"; then :
55291 glibcxx_cv_func_sincosl_use=yes
55292 else
55293 glibcxx_cv_func_sincosl_use=no
55294 fi
55295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55296 ac_ext=c
55297 ac_cpp='$CPP $CPPFLAGS'
55298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55301
55302
55303 fi
55304
55305 fi
55306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
55307 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
55308
55309 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
55310 for ac_func in sincosl
55311 do :
55312 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
55313 if test "x$ac_cv_func_sincosl" = xyes; then :
55314 cat >>confdefs.h <<_ACEOF
55315 #define HAVE_SINCOSL 1
55316 _ACEOF
55317
55318 fi
55319 done
55320
55321 else
55322
55323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
55324 $as_echo_n "checking for _sincosl declaration... " >&6; }
55325 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
55326 if ${glibcxx_cv_func__sincosl_use+:} false; then :
55327 $as_echo_n "(cached) " >&6
55328 else
55329
55330
55331 ac_ext=cpp
55332 ac_cpp='$CXXCPP $CPPFLAGS'
55333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55336
55337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55338 /* end confdefs.h. */
55339 #include <math.h>
55340 int
55341 main ()
55342 {
55343 _sincosl(0, 0, 0);
55344 ;
55345 return 0;
55346 }
55347 _ACEOF
55348 if ac_fn_cxx_try_compile "$LINENO"; then :
55349 glibcxx_cv_func__sincosl_use=yes
55350 else
55351 glibcxx_cv_func__sincosl_use=no
55352 fi
55353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55354 ac_ext=c
55355 ac_cpp='$CPP $CPPFLAGS'
55356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55359
55360
55361 fi
55362
55363 fi
55364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
55365 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
55366
55367 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
55368 for ac_func in _sincosl
55369 do :
55370 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
55371 if test "x$ac_cv_func__sincosl" = xyes; then :
55372 cat >>confdefs.h <<_ACEOF
55373 #define HAVE__SINCOSL 1
55374 _ACEOF
55375
55376 fi
55377 done
55378
55379 fi
55380 fi
55381
55382
55383
55384
55385
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
55387 $as_echo_n "checking for finitel declaration... " >&6; }
55388 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
55389 if ${glibcxx_cv_func_finitel_use+:} false; then :
55390 $as_echo_n "(cached) " >&6
55391 else
55392
55393
55394 ac_ext=cpp
55395 ac_cpp='$CXXCPP $CPPFLAGS'
55396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55399
55400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55401 /* end confdefs.h. */
55402 #include <math.h>
55403 #ifdef HAVE_IEEEFP_H
55404 #include <ieeefp.h>
55405 #endif
55406
55407 int
55408 main ()
55409 {
55410 finitel(0);
55411 ;
55412 return 0;
55413 }
55414 _ACEOF
55415 if ac_fn_cxx_try_compile "$LINENO"; then :
55416 glibcxx_cv_func_finitel_use=yes
55417 else
55418 glibcxx_cv_func_finitel_use=no
55419 fi
55420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55421 ac_ext=c
55422 ac_cpp='$CPP $CPPFLAGS'
55423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55426
55427
55428 fi
55429
55430 fi
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
55432 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
55433
55434 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
55435 for ac_func in finitel
55436 do :
55437 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
55438 if test "x$ac_cv_func_finitel" = xyes; then :
55439 cat >>confdefs.h <<_ACEOF
55440 #define HAVE_FINITEL 1
55441 _ACEOF
55442
55443 fi
55444 done
55445
55446 else
55447
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
55449 $as_echo_n "checking for _finitel declaration... " >&6; }
55450 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
55451 if ${glibcxx_cv_func__finitel_use+:} false; then :
55452 $as_echo_n "(cached) " >&6
55453 else
55454
55455
55456 ac_ext=cpp
55457 ac_cpp='$CXXCPP $CPPFLAGS'
55458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55461
55462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55463 /* end confdefs.h. */
55464 #include <math.h>
55465 #ifdef HAVE_IEEEFP_H
55466 #include <ieeefp.h>
55467 #endif
55468
55469 int
55470 main ()
55471 {
55472 _finitel(0);
55473 ;
55474 return 0;
55475 }
55476 _ACEOF
55477 if ac_fn_cxx_try_compile "$LINENO"; then :
55478 glibcxx_cv_func__finitel_use=yes
55479 else
55480 glibcxx_cv_func__finitel_use=no
55481 fi
55482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55483 ac_ext=c
55484 ac_cpp='$CPP $CPPFLAGS'
55485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55488
55489
55490 fi
55491
55492 fi
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
55494 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
55495
55496 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
55497 for ac_func in _finitel
55498 do :
55499 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
55500 if test "x$ac_cv_func__finitel" = xyes; then :
55501 cat >>confdefs.h <<_ACEOF
55502 #define HAVE__FINITEL 1
55503 _ACEOF
55504
55505 fi
55506 done
55507
55508 fi
55509 fi
55510
55511
55512
55513
55514 LIBS="$ac_save_LIBS"
55515 CXXFLAGS="$ac_save_CXXFLAGS"
55516
55517
55518 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55519 ac_save_CXXFLAGS="$CXXFLAGS"
55520 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55521
55522
55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
55524 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
55525 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
55526 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
55527 $as_echo_n "(cached) " >&6
55528 else
55529
55530
55531 ac_ext=cpp
55532 ac_cpp='$CXXCPP $CPPFLAGS'
55533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55536
55537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55538 /* end confdefs.h. */
55539 #include <stdlib.h>
55540 int
55541 main ()
55542 {
55543 at_quick_exit(0);
55544 ;
55545 return 0;
55546 }
55547 _ACEOF
55548 if ac_fn_cxx_try_compile "$LINENO"; then :
55549 glibcxx_cv_func_at_quick_exit_use=yes
55550 else
55551 glibcxx_cv_func_at_quick_exit_use=no
55552 fi
55553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554 ac_ext=c
55555 ac_cpp='$CPP $CPPFLAGS'
55556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559
55560
55561 fi
55562
55563 fi
55564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
55565 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
55566 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
55567 for ac_func in at_quick_exit
55568 do :
55569 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
55570 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
55571 cat >>confdefs.h <<_ACEOF
55572 #define HAVE_AT_QUICK_EXIT 1
55573 _ACEOF
55574
55575 fi
55576 done
55577
55578 fi
55579
55580
55581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
55582 $as_echo_n "checking for quick_exit declaration... " >&6; }
55583 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
55584 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
55585 $as_echo_n "(cached) " >&6
55586 else
55587
55588
55589 ac_ext=cpp
55590 ac_cpp='$CXXCPP $CPPFLAGS'
55591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55594
55595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55596 /* end confdefs.h. */
55597 #include <stdlib.h>
55598 int
55599 main ()
55600 {
55601 quick_exit(0);
55602 ;
55603 return 0;
55604 }
55605 _ACEOF
55606 if ac_fn_cxx_try_compile "$LINENO"; then :
55607 glibcxx_cv_func_quick_exit_use=yes
55608 else
55609 glibcxx_cv_func_quick_exit_use=no
55610 fi
55611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55612 ac_ext=c
55613 ac_cpp='$CPP $CPPFLAGS'
55614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55617
55618
55619 fi
55620
55621 fi
55622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
55623 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
55624 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
55625 for ac_func in quick_exit
55626 do :
55627 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
55628 if test "x$ac_cv_func_quick_exit" = xyes; then :
55629 cat >>confdefs.h <<_ACEOF
55630 #define HAVE_QUICK_EXIT 1
55631 _ACEOF
55632
55633 fi
55634 done
55635
55636 fi
55637
55638
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
55640 $as_echo_n "checking for strtold declaration... " >&6; }
55641 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
55642 if ${glibcxx_cv_func_strtold_use+:} false; then :
55643 $as_echo_n "(cached) " >&6
55644 else
55645
55646
55647 ac_ext=cpp
55648 ac_cpp='$CXXCPP $CPPFLAGS'
55649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55652
55653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55654 /* end confdefs.h. */
55655 #include <stdlib.h>
55656 int
55657 main ()
55658 {
55659 strtold(0, 0);
55660 ;
55661 return 0;
55662 }
55663 _ACEOF
55664 if ac_fn_cxx_try_compile "$LINENO"; then :
55665 glibcxx_cv_func_strtold_use=yes
55666 else
55667 glibcxx_cv_func_strtold_use=no
55668 fi
55669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55670 ac_ext=c
55671 ac_cpp='$CPP $CPPFLAGS'
55672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55675
55676
55677 fi
55678
55679 fi
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
55681 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
55682 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
55683 for ac_func in strtold
55684 do :
55685 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
55686 if test "x$ac_cv_func_strtold" = xyes; then :
55687 cat >>confdefs.h <<_ACEOF
55688 #define HAVE_STRTOLD 1
55689 _ACEOF
55690
55691 fi
55692 done
55693
55694 fi
55695
55696
55697
55698
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
55700 $as_echo_n "checking for strtof declaration... " >&6; }
55701 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
55702 if ${glibcxx_cv_func_strtof_use+:} false; then :
55703 $as_echo_n "(cached) " >&6
55704 else
55705
55706
55707 ac_ext=cpp
55708 ac_cpp='$CXXCPP $CPPFLAGS'
55709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55712
55713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55714 /* end confdefs.h. */
55715 #include <stdlib.h>
55716 int
55717 main ()
55718 {
55719 strtof(0, 0);
55720 ;
55721 return 0;
55722 }
55723 _ACEOF
55724 if ac_fn_cxx_try_compile "$LINENO"; then :
55725 glibcxx_cv_func_strtof_use=yes
55726 else
55727 glibcxx_cv_func_strtof_use=no
55728 fi
55729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730 ac_ext=c
55731 ac_cpp='$CPP $CPPFLAGS'
55732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55735
55736
55737 fi
55738
55739 fi
55740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
55741 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
55742 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
55743 for ac_func in strtof
55744 do :
55745 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
55746 if test "x$ac_cv_func_strtof" = xyes; then :
55747 cat >>confdefs.h <<_ACEOF
55748 #define HAVE_STRTOF 1
55749 _ACEOF
55750
55751 fi
55752 done
55753
55754 fi
55755
55756
55757
55758
55759 CXXFLAGS="$ac_save_CXXFLAGS"
55760
55761 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
55762
55763 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
55764
55765
55766
55767 # Check whether --enable-tls was given.
55768 if test "${enable_tls+set}" = set; then :
55769 enableval=$enable_tls;
55770 case "$enableval" in
55771 yes|no) ;;
55772 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
55773 esac
55774
55775 else
55776 enable_tls=yes
55777 fi
55778
55779
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
55781 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
55782 if ${gcc_cv_have_tls+:} false; then :
55783 $as_echo_n "(cached) " >&6
55784 else
55785
55786 if test "$cross_compiling" = yes; then :
55787 if test x$gcc_no_link = xyes; then
55788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55789 fi
55790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55791 /* end confdefs.h. */
55792 __thread int a; int b; int main() { return a = b; }
55793 _ACEOF
55794 if ac_fn_c_try_link "$LINENO"; then :
55795 chktls_save_LDFLAGS="$LDFLAGS"
55796 case $host in
55797 *-*-linux* | -*-uclinuxfdpic*)
55798 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
55799 ;;
55800 esac
55801 chktls_save_CFLAGS="$CFLAGS"
55802 CFLAGS="-fPIC $CFLAGS"
55803 if test x$gcc_no_link = xyes; then
55804 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55805 fi
55806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55807 /* end confdefs.h. */
55808 int f() { return 0; }
55809 _ACEOF
55810 if ac_fn_c_try_link "$LINENO"; then :
55811 if test x$gcc_no_link = xyes; then
55812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55813 fi
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 __thread int a; int b; int f() { return a = b; }
55817 _ACEOF
55818 if ac_fn_c_try_link "$LINENO"; then :
55819 gcc_cv_have_tls=yes
55820 else
55821 gcc_cv_have_tls=no
55822 fi
55823 rm -f core conftest.err conftest.$ac_objext \
55824 conftest$ac_exeext conftest.$ac_ext
55825 else
55826 gcc_cv_have_tls=yes
55827 fi
55828 rm -f core conftest.err conftest.$ac_objext \
55829 conftest$ac_exeext conftest.$ac_ext
55830 CFLAGS="$chktls_save_CFLAGS"
55831 LDFLAGS="$chktls_save_LDFLAGS"
55832 else
55833 gcc_cv_have_tls=no
55834 fi
55835 rm -f core conftest.err conftest.$ac_objext \
55836 conftest$ac_exeext conftest.$ac_ext
55837
55838
55839 else
55840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55841 /* end confdefs.h. */
55842 __thread int a; int b; int main() { return a = b; }
55843 _ACEOF
55844 if ac_fn_c_try_run "$LINENO"; then :
55845 chktls_save_LDFLAGS="$LDFLAGS"
55846 LDFLAGS="-static $LDFLAGS"
55847 if test x$gcc_no_link = xyes; then
55848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55849 fi
55850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55851 /* end confdefs.h. */
55852 int main() { return 0; }
55853 _ACEOF
55854 if ac_fn_c_try_link "$LINENO"; then :
55855 if test "$cross_compiling" = yes; then :
55856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55858 as_fn_error $? "cannot run test program while cross compiling
55859 See \`config.log' for more details" "$LINENO" 5; }
55860 else
55861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55862 /* end confdefs.h. */
55863 __thread int a; int b; int main() { return a = b; }
55864 _ACEOF
55865 if ac_fn_c_try_run "$LINENO"; then :
55866 gcc_cv_have_tls=yes
55867 else
55868 gcc_cv_have_tls=no
55869 fi
55870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55871 conftest.$ac_objext conftest.beam conftest.$ac_ext
55872 fi
55873
55874 else
55875 gcc_cv_have_tls=yes
55876 fi
55877 rm -f core conftest.err conftest.$ac_objext \
55878 conftest$ac_exeext conftest.$ac_ext
55879 LDFLAGS="$chktls_save_LDFLAGS"
55880 if test $gcc_cv_have_tls = yes; then
55881 chktls_save_CFLAGS="$CFLAGS"
55882 thread_CFLAGS=failed
55883 for flag in '' '-pthread' '-lpthread'; do
55884 CFLAGS="$flag $chktls_save_CFLAGS"
55885 if test x$gcc_no_link = xyes; then
55886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55887 fi
55888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55889 /* end confdefs.h. */
55890 #include <pthread.h>
55891 void *g(void *d) { return NULL; }
55892 int
55893 main ()
55894 {
55895 pthread_t t; pthread_create(&t,NULL,g,NULL);
55896 ;
55897 return 0;
55898 }
55899 _ACEOF
55900 if ac_fn_c_try_link "$LINENO"; then :
55901 thread_CFLAGS="$flag"
55902 fi
55903 rm -f core conftest.err conftest.$ac_objext \
55904 conftest$ac_exeext conftest.$ac_ext
55905 if test "X$thread_CFLAGS" != Xfailed; then
55906 break
55907 fi
55908 done
55909 CFLAGS="$chktls_save_CFLAGS"
55910 if test "X$thread_CFLAGS" != Xfailed; then
55911 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
55912 if test "$cross_compiling" = yes; then :
55913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55915 as_fn_error $? "cannot run test program while cross compiling
55916 See \`config.log' for more details" "$LINENO" 5; }
55917 else
55918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55919 /* end confdefs.h. */
55920 #include <pthread.h>
55921 __thread int a;
55922 static int *volatile a_in_other_thread;
55923 static void *
55924 thread_func (void *arg)
55925 {
55926 a_in_other_thread = &a;
55927 return (void *)0;
55928 }
55929 int
55930 main ()
55931 {
55932 pthread_t thread;
55933 void *thread_retval;
55934 int *volatile a_in_main_thread;
55935 a_in_main_thread = &a;
55936 if (pthread_create (&thread, (pthread_attr_t *)0,
55937 thread_func, (void *)0))
55938 return 0;
55939 if (pthread_join (thread, &thread_retval))
55940 return 0;
55941 return (a_in_other_thread == a_in_main_thread);
55942 ;
55943 return 0;
55944 }
55945 _ACEOF
55946 if ac_fn_c_try_run "$LINENO"; then :
55947 gcc_cv_have_tls=yes
55948 else
55949 gcc_cv_have_tls=no
55950 fi
55951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55952 conftest.$ac_objext conftest.beam conftest.$ac_ext
55953 fi
55954
55955 CFLAGS="$chktls_save_CFLAGS"
55956 fi
55957 fi
55958 else
55959 gcc_cv_have_tls=no
55960 fi
55961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55962 conftest.$ac_objext conftest.beam conftest.$ac_ext
55963 fi
55964
55965 fi
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
55967 $as_echo "$gcc_cv_have_tls" >&6; }
55968 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
55969
55970 $as_echo "#define HAVE_TLS 1" >>confdefs.h
55971
55972 fi
55973 for ac_func in __cxa_thread_atexit_impl
55974 do :
55975 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
55976 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
55977 cat >>confdefs.h <<_ACEOF
55978 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
55979 _ACEOF
55980
55981 fi
55982 done
55983
55984 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
55985 do :
55986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55989 cat >>confdefs.h <<_ACEOF
55990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55991 _ACEOF
55992
55993 fi
55994 done
55995
55996 for ac_func in timespec_get
55997 do :
55998 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
55999 if test "x$ac_cv_func_timespec_get" = xyes; then :
56000 cat >>confdefs.h <<_ACEOF
56001 #define HAVE_TIMESPEC_GET 1
56002 _ACEOF
56003
56004 fi
56005 done
56006
56007 for ac_func in sockatmark
56008 do :
56009 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
56010 if test "x$ac_cv_func_sockatmark" = xyes; then :
56011 cat >>confdefs.h <<_ACEOF
56012 #define HAVE_SOCKATMARK 1
56013 _ACEOF
56014
56015 fi
56016 done
56017
56018 for ac_func in uselocale
56019 do :
56020 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
56021 if test "x$ac_cv_func_uselocale" = xyes; then :
56022 cat >>confdefs.h <<_ACEOF
56023 #define HAVE_USELOCALE 1
56024 _ACEOF
56025
56026 fi
56027 done
56028
56029 for ac_func in secure_getenv
56030 do :
56031 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
56032 if test "x$ac_cv_func_secure_getenv" = xyes; then :
56033 cat >>confdefs.h <<_ACEOF
56034 #define HAVE_SECURE_GETENV 1
56035 _ACEOF
56036
56037 fi
56038 done
56039
56040
56041
56042
56043
56044
56045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
56046 $as_echo_n "checking for iconv... " >&6; }
56047 if ${am_cv_func_iconv+:} false; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56050
56051 am_cv_func_iconv="no, consider installing GNU libiconv"
56052 am_cv_lib_iconv=no
56053 am_save_CPPFLAGS="$CPPFLAGS"
56054 CPPFLAGS="$CPPFLAGS $INCICONV"
56055 if test x$gcc_no_link = xyes; then
56056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56057 fi
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <stdlib.h>
56061 #include <iconv.h>
56062 int
56063 main ()
56064 {
56065 iconv_t cd = iconv_open("","");
56066 iconv(cd,NULL,NULL,NULL,NULL);
56067 iconv_close(cd);
56068 ;
56069 return 0;
56070 }
56071 _ACEOF
56072 if ac_fn_c_try_link "$LINENO"; then :
56073 am_cv_func_iconv=yes
56074 fi
56075 rm -f core conftest.err conftest.$ac_objext \
56076 conftest$ac_exeext conftest.$ac_ext
56077 CPPFLAGS="$am_save_CPPFLAGS"
56078
56079 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
56080 for _libs in .libs _libs; do
56081 am_save_CPPFLAGS="$CPPFLAGS"
56082 am_save_LIBS="$LIBS"
56083 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
56084 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
56085 if test x$gcc_no_link = xyes; then
56086 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56087 fi
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <stdlib.h>
56091 #include <iconv.h>
56092 int
56093 main ()
56094 {
56095 iconv_t cd = iconv_open("","");
56096 iconv(cd,NULL,NULL,NULL,NULL);
56097 iconv_close(cd);
56098 ;
56099 return 0;
56100 }
56101 _ACEOF
56102 if ac_fn_c_try_link "$LINENO"; then :
56103 INCICONV="-I../libiconv/include"
56104 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
56105 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
56106 am_cv_lib_iconv=yes
56107 am_cv_func_iconv=yes
56108 fi
56109 rm -f core conftest.err conftest.$ac_objext \
56110 conftest$ac_exeext conftest.$ac_ext
56111 CPPFLAGS="$am_save_CPPFLAGS"
56112 LIBS="$am_save_LIBS"
56113 if test "$am_cv_func_iconv" = "yes"; then
56114 break
56115 fi
56116 done
56117 fi
56118
56119 if test "$am_cv_func_iconv" != yes; then
56120 am_save_CPPFLAGS="$CPPFLAGS"
56121 am_save_LIBS="$LIBS"
56122 CPPFLAGS="$CPPFLAGS $INCICONV"
56123 LIBS="$LIBS $LIBICONV"
56124 if test x$gcc_no_link = xyes; then
56125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56126 fi
56127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56128 /* end confdefs.h. */
56129 #include <stdlib.h>
56130 #include <iconv.h>
56131 int
56132 main ()
56133 {
56134 iconv_t cd = iconv_open("","");
56135 iconv(cd,NULL,NULL,NULL,NULL);
56136 iconv_close(cd);
56137 ;
56138 return 0;
56139 }
56140 _ACEOF
56141 if ac_fn_c_try_link "$LINENO"; then :
56142 am_cv_lib_iconv=yes
56143 am_cv_func_iconv=yes
56144 fi
56145 rm -f core conftest.err conftest.$ac_objext \
56146 conftest$ac_exeext conftest.$ac_ext
56147 CPPFLAGS="$am_save_CPPFLAGS"
56148 LIBS="$am_save_LIBS"
56149 fi
56150
56151 fi
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
56153 $as_echo "$am_cv_func_iconv" >&6; }
56154 if test "$am_cv_func_iconv" = yes; then
56155
56156 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
56157
56158 fi
56159 if test "$am_cv_lib_iconv" = yes; then
56160
56161 for element in $INCICONV; do
56162 haveit=
56163 for x in $CPPFLAGS; do
56164
56165 acl_save_prefix="$prefix"
56166 prefix="$acl_final_prefix"
56167 acl_save_exec_prefix="$exec_prefix"
56168 exec_prefix="$acl_final_exec_prefix"
56169 eval x=\"$x\"
56170 exec_prefix="$acl_save_exec_prefix"
56171 prefix="$acl_save_prefix"
56172
56173 if test "X$x" = "X$element"; then
56174 haveit=yes
56175 break
56176 fi
56177 done
56178 if test -z "$haveit"; then
56179 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
56180 fi
56181 done
56182
56183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
56184 $as_echo_n "checking how to link with libiconv... " >&6; }
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
56186 $as_echo "$LIBICONV" >&6; }
56187 else
56188 LIBICONV=
56189 LTLIBICONV=
56190 fi
56191
56192
56193
56194 if test "$am_cv_func_iconv" = yes; then
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
56196 $as_echo_n "checking for iconv declaration... " >&6; }
56197 if ${am_cv_proto_iconv+:} false; then :
56198 $as_echo_n "(cached) " >&6
56199 else
56200
56201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56202 /* end confdefs.h. */
56203
56204 #include <stdlib.h>
56205 #include <iconv.h>
56206 extern
56207 #ifdef __cplusplus
56208 "C"
56209 #endif
56210 #if defined(__STDC__) || defined(__cplusplus)
56211 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
56212 #else
56213 size_t iconv();
56214 #endif
56215
56216 int
56217 main ()
56218 {
56219
56220 ;
56221 return 0;
56222 }
56223 _ACEOF
56224 if ac_fn_c_try_compile "$LINENO"; then :
56225 am_cv_proto_iconv_arg1=""
56226 else
56227 am_cv_proto_iconv_arg1="const"
56228 fi
56229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56230 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);"
56231 fi
56232
56233 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
56235 }$am_cv_proto_iconv" >&5
56236 $as_echo "${ac_t:-
56237 }$am_cv_proto_iconv" >&6; }
56238
56239 cat >>confdefs.h <<_ACEOF
56240 #define ICONV_CONST $am_cv_proto_iconv_arg1
56241 _ACEOF
56242
56243 fi
56244
56245 ;;
56246 *-mingw32*)
56247
56248 # If we're not using GNU ld, then there's no point in even trying these
56249 # tests. Check for that first. We should have already tested for gld
56250 # by now (in libtool), but require it now just to be safe...
56251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56253
56254
56255
56256 # The name set by libtool depends on the version of libtool. Shame on us
56257 # for depending on an impl detail, but c'est la vie. Older versions used
56258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56261 # set (hence we're using an older libtool), then set it.
56262 if test x${with_gnu_ld+set} != xset; then
56263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56265 with_gnu_ld=no
56266 else
56267 with_gnu_ld=$ac_cv_prog_gnu_ld
56268 fi
56269 fi
56270
56271 # Start by getting the version number. I think the libtool test already
56272 # does some of this, but throws away the result.
56273 glibcxx_ld_is_gold=no
56274 glibcxx_ld_is_mold=no
56275 if test x"$with_gnu_ld" = x"yes"; then
56276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56277 $as_echo_n "checking for ld version... " >&6; }
56278
56279 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56280 glibcxx_ld_is_gold=yes
56281 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
56282 glibcxx_ld_is_mold=yes
56283 fi
56284 ldver=`$LD --version 2>/dev/null |
56285 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
56286
56287 glibcxx_gnu_ld_version=`echo $ldver | \
56288 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56290 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56291 fi
56292
56293 # Set --gc-sections.
56294 glibcxx_have_gc_sections=no
56295 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
56296 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56297 glibcxx_have_gc_sections=yes
56298 fi
56299 else
56300 glibcxx_gcsections_min_ld=21602
56301 if test x"$with_gnu_ld" = x"yes" &&
56302 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56303 glibcxx_have_gc_sections=yes
56304 fi
56305 fi
56306 if test "$glibcxx_have_gc_sections" = "yes"; then
56307 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56308 # NB: This flag only works reliably after 2.16.1. Configure tests
56309 # for this are difficult, so hard wire a value that should work.
56310
56311 ac_test_CFLAGS="${CFLAGS+set}"
56312 ac_save_CFLAGS="$CFLAGS"
56313 CFLAGS='-Wl,--gc-sections'
56314
56315 # Check for -Wl,--gc-sections
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56317 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56318 if test x$gcc_no_link = xyes; then
56319 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56320 fi
56321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h. */
56323 int one(void) { return 1; }
56324 int two(void) { return 2; }
56325
56326 int
56327 main ()
56328 {
56329 two();
56330 ;
56331 return 0;
56332 }
56333 _ACEOF
56334 if ac_fn_c_try_link "$LINENO"; then :
56335 ac_gcsections=yes
56336 else
56337 ac_gcsections=no
56338 fi
56339 rm -f core conftest.err conftest.$ac_objext \
56340 conftest$ac_exeext conftest.$ac_ext
56341 if test "$ac_gcsections" = "yes"; then
56342 rm -f conftest.c
56343 touch conftest.c
56344 if $CC -c conftest.c; then
56345 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56346 grep "Warning: gc-sections option ignored" > /dev/null; then
56347 ac_gcsections=no
56348 fi
56349 fi
56350 rm -f conftest.c conftest.o conftest
56351 fi
56352 if test "$ac_gcsections" = "yes"; then
56353 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56354 fi
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56356 $as_echo "$ac_gcsections" >&6; }
56357
56358 if test "$ac_test_CFLAGS" = set; then
56359 CFLAGS="$ac_save_CFLAGS"
56360 else
56361 # this is the suspicious part
56362 CFLAGS=''
56363 fi
56364 fi
56365
56366 # Set -z,relro.
56367 # Note this is only for shared objects.
56368 ac_ld_relro=no
56369 if test x"$with_gnu_ld" = x"yes"; then
56370 # cygwin and mingw uses PE, which has no ELF relro support,
56371 # multi target ld may confuse configure machinery
56372 case "$host" in
56373 *-*-cygwin*)
56374 ;;
56375 *-*-mingw*)
56376 ;;
56377 *)
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56379 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56380 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56381 if test -n "$cxx_z_relo"; then
56382 OPT_LDFLAGS="-Wl,-z,relro"
56383 ac_ld_relro=yes
56384 fi
56385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56386 $as_echo "$ac_ld_relro" >&6; }
56387 esac
56388 fi
56389
56390 # Set linker optimization flags.
56391 if test x"$with_gnu_ld" = x"yes"; then
56392 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56393 fi
56394
56395
56396
56397
56398
56399 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56400 ac_save_CXXFLAGS="$CXXFLAGS"
56401 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56402
56403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
56404 $as_echo_n "checking for sin in -lm... " >&6; }
56405 if ${ac_cv_lib_m_sin+:} false; then :
56406 $as_echo_n "(cached) " >&6
56407 else
56408 ac_check_lib_save_LIBS=$LIBS
56409 LIBS="-lm $LIBS"
56410 if test x$gcc_no_link = xyes; then
56411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56412 fi
56413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56414 /* end confdefs.h. */
56415
56416 /* Override any GCC internal prototype to avoid an error.
56417 Use char because int might match the return type of a GCC
56418 builtin and then its argument prototype would still apply. */
56419 #ifdef __cplusplus
56420 extern "C"
56421 #endif
56422 char sin ();
56423 int
56424 main ()
56425 {
56426 return sin ();
56427 ;
56428 return 0;
56429 }
56430 _ACEOF
56431 if ac_fn_c_try_link "$LINENO"; then :
56432 ac_cv_lib_m_sin=yes
56433 else
56434 ac_cv_lib_m_sin=no
56435 fi
56436 rm -f core conftest.err conftest.$ac_objext \
56437 conftest$ac_exeext conftest.$ac_ext
56438 LIBS=$ac_check_lib_save_LIBS
56439 fi
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
56441 $as_echo "$ac_cv_lib_m_sin" >&6; }
56442 if test "x$ac_cv_lib_m_sin" = xyes; then :
56443 libm="-lm"
56444 fi
56445
56446 ac_save_LIBS="$LIBS"
56447 LIBS="$LIBS $libm"
56448
56449
56450
56451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
56452 $as_echo_n "checking for isinf declaration... " >&6; }
56453 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56454 if ${glibcxx_cv_func_isinf_use+:} false; then :
56455 $as_echo_n "(cached) " >&6
56456 else
56457
56458
56459 ac_ext=cpp
56460 ac_cpp='$CXXCPP $CPPFLAGS'
56461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56464
56465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56466 /* end confdefs.h. */
56467 #include <math.h>
56468 #ifdef HAVE_IEEEFP_H
56469 #include <ieeefp.h>
56470 #endif
56471
56472 int
56473 main ()
56474 {
56475 isinf(0);
56476 ;
56477 return 0;
56478 }
56479 _ACEOF
56480 if ac_fn_cxx_try_compile "$LINENO"; then :
56481 glibcxx_cv_func_isinf_use=yes
56482 else
56483 glibcxx_cv_func_isinf_use=no
56484 fi
56485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56486 ac_ext=c
56487 ac_cpp='$CPP $CPPFLAGS'
56488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56491
56492
56493 fi
56494
56495 fi
56496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
56497 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
56498
56499 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56500 for ac_func in isinf
56501 do :
56502 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
56503 if test "x$ac_cv_func_isinf" = xyes; then :
56504 cat >>confdefs.h <<_ACEOF
56505 #define HAVE_ISINF 1
56506 _ACEOF
56507
56508 fi
56509 done
56510
56511 else
56512
56513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
56514 $as_echo_n "checking for _isinf declaration... " >&6; }
56515 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
56516 if ${glibcxx_cv_func__isinf_use+:} false; then :
56517 $as_echo_n "(cached) " >&6
56518 else
56519
56520
56521 ac_ext=cpp
56522 ac_cpp='$CXXCPP $CPPFLAGS'
56523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56526
56527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56528 /* end confdefs.h. */
56529 #include <math.h>
56530 #ifdef HAVE_IEEEFP_H
56531 #include <ieeefp.h>
56532 #endif
56533
56534 int
56535 main ()
56536 {
56537 _isinf(0);
56538 ;
56539 return 0;
56540 }
56541 _ACEOF
56542 if ac_fn_cxx_try_compile "$LINENO"; then :
56543 glibcxx_cv_func__isinf_use=yes
56544 else
56545 glibcxx_cv_func__isinf_use=no
56546 fi
56547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56548 ac_ext=c
56549 ac_cpp='$CPP $CPPFLAGS'
56550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56553
56554
56555 fi
56556
56557 fi
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
56559 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
56560
56561 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
56562 for ac_func in _isinf
56563 do :
56564 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
56565 if test "x$ac_cv_func__isinf" = xyes; then :
56566 cat >>confdefs.h <<_ACEOF
56567 #define HAVE__ISINF 1
56568 _ACEOF
56569
56570 fi
56571 done
56572
56573 fi
56574 fi
56575
56576
56577
56578
56579
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
56581 $as_echo_n "checking for isnan declaration... " >&6; }
56582 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
56583 if ${glibcxx_cv_func_isnan_use+:} false; then :
56584 $as_echo_n "(cached) " >&6
56585 else
56586
56587
56588 ac_ext=cpp
56589 ac_cpp='$CXXCPP $CPPFLAGS'
56590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56593
56594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56595 /* end confdefs.h. */
56596 #include <math.h>
56597 #ifdef HAVE_IEEEFP_H
56598 #include <ieeefp.h>
56599 #endif
56600
56601 int
56602 main ()
56603 {
56604 isnan(0);
56605 ;
56606 return 0;
56607 }
56608 _ACEOF
56609 if ac_fn_cxx_try_compile "$LINENO"; then :
56610 glibcxx_cv_func_isnan_use=yes
56611 else
56612 glibcxx_cv_func_isnan_use=no
56613 fi
56614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56615 ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56620
56621
56622 fi
56623
56624 fi
56625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
56626 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
56627
56628 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
56629 for ac_func in isnan
56630 do :
56631 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
56632 if test "x$ac_cv_func_isnan" = xyes; then :
56633 cat >>confdefs.h <<_ACEOF
56634 #define HAVE_ISNAN 1
56635 _ACEOF
56636
56637 fi
56638 done
56639
56640 else
56641
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
56643 $as_echo_n "checking for _isnan declaration... " >&6; }
56644 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
56645 if ${glibcxx_cv_func__isnan_use+:} false; then :
56646 $as_echo_n "(cached) " >&6
56647 else
56648
56649
56650 ac_ext=cpp
56651 ac_cpp='$CXXCPP $CPPFLAGS'
56652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56655
56656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56657 /* end confdefs.h. */
56658 #include <math.h>
56659 #ifdef HAVE_IEEEFP_H
56660 #include <ieeefp.h>
56661 #endif
56662
56663 int
56664 main ()
56665 {
56666 _isnan(0);
56667 ;
56668 return 0;
56669 }
56670 _ACEOF
56671 if ac_fn_cxx_try_compile "$LINENO"; then :
56672 glibcxx_cv_func__isnan_use=yes
56673 else
56674 glibcxx_cv_func__isnan_use=no
56675 fi
56676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56677 ac_ext=c
56678 ac_cpp='$CPP $CPPFLAGS'
56679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56682
56683
56684 fi
56685
56686 fi
56687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
56688 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
56689
56690 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
56691 for ac_func in _isnan
56692 do :
56693 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
56694 if test "x$ac_cv_func__isnan" = xyes; then :
56695 cat >>confdefs.h <<_ACEOF
56696 #define HAVE__ISNAN 1
56697 _ACEOF
56698
56699 fi
56700 done
56701
56702 fi
56703 fi
56704
56705
56706
56707
56708
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
56710 $as_echo_n "checking for finite declaration... " >&6; }
56711 if test x${glibcxx_cv_func_finite_use+set} != xset; then
56712 if ${glibcxx_cv_func_finite_use+:} false; then :
56713 $as_echo_n "(cached) " >&6
56714 else
56715
56716
56717 ac_ext=cpp
56718 ac_cpp='$CXXCPP $CPPFLAGS'
56719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56722
56723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56724 /* end confdefs.h. */
56725 #include <math.h>
56726 #ifdef HAVE_IEEEFP_H
56727 #include <ieeefp.h>
56728 #endif
56729
56730 int
56731 main ()
56732 {
56733 finite(0);
56734 ;
56735 return 0;
56736 }
56737 _ACEOF
56738 if ac_fn_cxx_try_compile "$LINENO"; then :
56739 glibcxx_cv_func_finite_use=yes
56740 else
56741 glibcxx_cv_func_finite_use=no
56742 fi
56743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56744 ac_ext=c
56745 ac_cpp='$CPP $CPPFLAGS'
56746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56749
56750
56751 fi
56752
56753 fi
56754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
56755 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
56756
56757 if test x$glibcxx_cv_func_finite_use = x"yes"; then
56758 for ac_func in finite
56759 do :
56760 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
56761 if test "x$ac_cv_func_finite" = xyes; then :
56762 cat >>confdefs.h <<_ACEOF
56763 #define HAVE_FINITE 1
56764 _ACEOF
56765
56766 fi
56767 done
56768
56769 else
56770
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
56772 $as_echo_n "checking for _finite declaration... " >&6; }
56773 if test x${glibcxx_cv_func__finite_use+set} != xset; then
56774 if ${glibcxx_cv_func__finite_use+:} false; then :
56775 $as_echo_n "(cached) " >&6
56776 else
56777
56778
56779 ac_ext=cpp
56780 ac_cpp='$CXXCPP $CPPFLAGS'
56781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56784
56785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56786 /* end confdefs.h. */
56787 #include <math.h>
56788 #ifdef HAVE_IEEEFP_H
56789 #include <ieeefp.h>
56790 #endif
56791
56792 int
56793 main ()
56794 {
56795 _finite(0);
56796 ;
56797 return 0;
56798 }
56799 _ACEOF
56800 if ac_fn_cxx_try_compile "$LINENO"; then :
56801 glibcxx_cv_func__finite_use=yes
56802 else
56803 glibcxx_cv_func__finite_use=no
56804 fi
56805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56806 ac_ext=c
56807 ac_cpp='$CPP $CPPFLAGS'
56808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56811
56812
56813 fi
56814
56815 fi
56816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
56817 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
56818
56819 if test x$glibcxx_cv_func__finite_use = x"yes"; then
56820 for ac_func in _finite
56821 do :
56822 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
56823 if test "x$ac_cv_func__finite" = xyes; then :
56824 cat >>confdefs.h <<_ACEOF
56825 #define HAVE__FINITE 1
56826 _ACEOF
56827
56828 fi
56829 done
56830
56831 fi
56832 fi
56833
56834
56835
56836
56837
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
56839 $as_echo_n "checking for sincos declaration... " >&6; }
56840 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56841 if ${glibcxx_cv_func_sincos_use+:} false; then :
56842 $as_echo_n "(cached) " >&6
56843 else
56844
56845
56846 ac_ext=cpp
56847 ac_cpp='$CXXCPP $CPPFLAGS'
56848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56851
56852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56853 /* end confdefs.h. */
56854 #include <math.h>
56855 int
56856 main ()
56857 {
56858 sincos(0, 0, 0);
56859 ;
56860 return 0;
56861 }
56862 _ACEOF
56863 if ac_fn_cxx_try_compile "$LINENO"; then :
56864 glibcxx_cv_func_sincos_use=yes
56865 else
56866 glibcxx_cv_func_sincos_use=no
56867 fi
56868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56869 ac_ext=c
56870 ac_cpp='$CPP $CPPFLAGS'
56871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56874
56875
56876 fi
56877
56878 fi
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
56880 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
56881
56882 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56883 for ac_func in sincos
56884 do :
56885 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
56886 if test "x$ac_cv_func_sincos" = xyes; then :
56887 cat >>confdefs.h <<_ACEOF
56888 #define HAVE_SINCOS 1
56889 _ACEOF
56890
56891 fi
56892 done
56893
56894 else
56895
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
56897 $as_echo_n "checking for _sincos declaration... " >&6; }
56898 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56899 if ${glibcxx_cv_func__sincos_use+:} false; then :
56900 $as_echo_n "(cached) " >&6
56901 else
56902
56903
56904 ac_ext=cpp
56905 ac_cpp='$CXXCPP $CPPFLAGS'
56906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56909
56910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56911 /* end confdefs.h. */
56912 #include <math.h>
56913 int
56914 main ()
56915 {
56916 _sincos(0, 0, 0);
56917 ;
56918 return 0;
56919 }
56920 _ACEOF
56921 if ac_fn_cxx_try_compile "$LINENO"; then :
56922 glibcxx_cv_func__sincos_use=yes
56923 else
56924 glibcxx_cv_func__sincos_use=no
56925 fi
56926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56927 ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932
56933
56934 fi
56935
56936 fi
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
56938 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
56939
56940 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56941 for ac_func in _sincos
56942 do :
56943 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
56944 if test "x$ac_cv_func__sincos" = xyes; then :
56945 cat >>confdefs.h <<_ACEOF
56946 #define HAVE__SINCOS 1
56947 _ACEOF
56948
56949 fi
56950 done
56951
56952 fi
56953 fi
56954
56955
56956
56957
56958
56959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
56960 $as_echo_n "checking for fpclass declaration... " >&6; }
56961 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56962 if ${glibcxx_cv_func_fpclass_use+:} false; then :
56963 $as_echo_n "(cached) " >&6
56964 else
56965
56966
56967 ac_ext=cpp
56968 ac_cpp='$CXXCPP $CPPFLAGS'
56969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56972
56973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56974 /* end confdefs.h. */
56975 #include <math.h>
56976 #ifdef HAVE_IEEEFP_H
56977 #include <ieeefp.h>
56978 #endif
56979
56980 int
56981 main ()
56982 {
56983 fpclass(0);
56984 ;
56985 return 0;
56986 }
56987 _ACEOF
56988 if ac_fn_cxx_try_compile "$LINENO"; then :
56989 glibcxx_cv_func_fpclass_use=yes
56990 else
56991 glibcxx_cv_func_fpclass_use=no
56992 fi
56993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56994 ac_ext=c
56995 ac_cpp='$CPP $CPPFLAGS'
56996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56999
57000
57001 fi
57002
57003 fi
57004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57005 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57006
57007 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57008 for ac_func in fpclass
57009 do :
57010 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57011 if test "x$ac_cv_func_fpclass" = xyes; then :
57012 cat >>confdefs.h <<_ACEOF
57013 #define HAVE_FPCLASS 1
57014 _ACEOF
57015
57016 fi
57017 done
57018
57019 else
57020
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57022 $as_echo_n "checking for _fpclass declaration... " >&6; }
57023 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57024 if ${glibcxx_cv_func__fpclass_use+:} false; then :
57025 $as_echo_n "(cached) " >&6
57026 else
57027
57028
57029 ac_ext=cpp
57030 ac_cpp='$CXXCPP $CPPFLAGS'
57031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57034
57035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57036 /* end confdefs.h. */
57037 #include <math.h>
57038 #ifdef HAVE_IEEEFP_H
57039 #include <ieeefp.h>
57040 #endif
57041
57042 int
57043 main ()
57044 {
57045 _fpclass(0);
57046 ;
57047 return 0;
57048 }
57049 _ACEOF
57050 if ac_fn_cxx_try_compile "$LINENO"; then :
57051 glibcxx_cv_func__fpclass_use=yes
57052 else
57053 glibcxx_cv_func__fpclass_use=no
57054 fi
57055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57056 ac_ext=c
57057 ac_cpp='$CPP $CPPFLAGS'
57058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57061
57062
57063 fi
57064
57065 fi
57066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
57067 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
57068
57069 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
57070 for ac_func in _fpclass
57071 do :
57072 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
57073 if test "x$ac_cv_func__fpclass" = xyes; then :
57074 cat >>confdefs.h <<_ACEOF
57075 #define HAVE__FPCLASS 1
57076 _ACEOF
57077
57078 fi
57079 done
57080
57081 fi
57082 fi
57083
57084
57085
57086
57087
57088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
57089 $as_echo_n "checking for qfpclass declaration... " >&6; }
57090 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
57091 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
57092 $as_echo_n "(cached) " >&6
57093 else
57094
57095
57096 ac_ext=cpp
57097 ac_cpp='$CXXCPP $CPPFLAGS'
57098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57101
57102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57103 /* end confdefs.h. */
57104 #include <math.h>
57105 #ifdef HAVE_IEEEFP_H
57106 #include <ieeefp.h>
57107 #endif
57108
57109 int
57110 main ()
57111 {
57112 qfpclass(0);
57113 ;
57114 return 0;
57115 }
57116 _ACEOF
57117 if ac_fn_cxx_try_compile "$LINENO"; then :
57118 glibcxx_cv_func_qfpclass_use=yes
57119 else
57120 glibcxx_cv_func_qfpclass_use=no
57121 fi
57122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57123 ac_ext=c
57124 ac_cpp='$CPP $CPPFLAGS'
57125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57128
57129
57130 fi
57131
57132 fi
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
57134 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
57135
57136 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57137 for ac_func in qfpclass
57138 do :
57139 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
57140 if test "x$ac_cv_func_qfpclass" = xyes; then :
57141 cat >>confdefs.h <<_ACEOF
57142 #define HAVE_QFPCLASS 1
57143 _ACEOF
57144
57145 fi
57146 done
57147
57148 else
57149
57150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
57151 $as_echo_n "checking for _qfpclass declaration... " >&6; }
57152 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57153 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
57154 $as_echo_n "(cached) " >&6
57155 else
57156
57157
57158 ac_ext=cpp
57159 ac_cpp='$CXXCPP $CPPFLAGS'
57160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57163
57164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57165 /* end confdefs.h. */
57166 #include <math.h>
57167 #ifdef HAVE_IEEEFP_H
57168 #include <ieeefp.h>
57169 #endif
57170
57171 int
57172 main ()
57173 {
57174 _qfpclass(0);
57175 ;
57176 return 0;
57177 }
57178 _ACEOF
57179 if ac_fn_cxx_try_compile "$LINENO"; then :
57180 glibcxx_cv_func__qfpclass_use=yes
57181 else
57182 glibcxx_cv_func__qfpclass_use=no
57183 fi
57184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57185 ac_ext=c
57186 ac_cpp='$CPP $CPPFLAGS'
57187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57190
57191
57192 fi
57193
57194 fi
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
57196 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
57197
57198 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57199 for ac_func in _qfpclass
57200 do :
57201 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
57202 if test "x$ac_cv_func__qfpclass" = xyes; then :
57203 cat >>confdefs.h <<_ACEOF
57204 #define HAVE__QFPCLASS 1
57205 _ACEOF
57206
57207 fi
57208 done
57209
57210 fi
57211 fi
57212
57213
57214
57215
57216
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
57218 $as_echo_n "checking for hypot declaration... " >&6; }
57219 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57220 if ${glibcxx_cv_func_hypot_use+:} false; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57223
57224
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57230
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57234 int
57235 main ()
57236 {
57237 hypot(0, 0);
57238 ;
57239 return 0;
57240 }
57241 _ACEOF
57242 if ac_fn_cxx_try_compile "$LINENO"; then :
57243 glibcxx_cv_func_hypot_use=yes
57244 else
57245 glibcxx_cv_func_hypot_use=no
57246 fi
57247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57248 ac_ext=c
57249 ac_cpp='$CPP $CPPFLAGS'
57250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57253
57254
57255 fi
57256
57257 fi
57258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
57259 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
57260
57261 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57262 for ac_func in hypot
57263 do :
57264 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
57265 if test "x$ac_cv_func_hypot" = xyes; then :
57266 cat >>confdefs.h <<_ACEOF
57267 #define HAVE_HYPOT 1
57268 _ACEOF
57269
57270 fi
57271 done
57272
57273 else
57274
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
57276 $as_echo_n "checking for _hypot declaration... " >&6; }
57277 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57278 if ${glibcxx_cv_func__hypot_use+:} false; then :
57279 $as_echo_n "(cached) " >&6
57280 else
57281
57282
57283 ac_ext=cpp
57284 ac_cpp='$CXXCPP $CPPFLAGS'
57285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57288
57289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57290 /* end confdefs.h. */
57291 #include <math.h>
57292 int
57293 main ()
57294 {
57295 _hypot(0, 0);
57296 ;
57297 return 0;
57298 }
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301 glibcxx_cv_func__hypot_use=yes
57302 else
57303 glibcxx_cv_func__hypot_use=no
57304 fi
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306 ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57311
57312
57313 fi
57314
57315 fi
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
57317 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
57318
57319 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57320 for ac_func in _hypot
57321 do :
57322 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
57323 if test "x$ac_cv_func__hypot" = xyes; then :
57324 cat >>confdefs.h <<_ACEOF
57325 #define HAVE__HYPOT 1
57326 _ACEOF
57327
57328 fi
57329 done
57330
57331 fi
57332 fi
57333
57334
57335
57336
57337
57338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
57339 $as_echo_n "checking for float trig functions... " >&6; }
57340 if ${glibcxx_cv_func_float_trig_use+:} false; then :
57341 $as_echo_n "(cached) " >&6
57342 else
57343
57344
57345 ac_ext=cpp
57346 ac_cpp='$CXXCPP $CPPFLAGS'
57347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57350
57351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57352 /* end confdefs.h. */
57353 #include <math.h>
57354 int
57355 main ()
57356 {
57357 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57358 ;
57359 return 0;
57360 }
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363 glibcxx_cv_func_float_trig_use=yes
57364 else
57365 glibcxx_cv_func_float_trig_use=no
57366 fi
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368 ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57373
57374 fi
57375
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
57377 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
57378 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57379 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57380 do :
57381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57384 cat >>confdefs.h <<_ACEOF
57385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57386 _ACEOF
57387
57388 fi
57389 done
57390
57391 else
57392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
57393 $as_echo_n "checking for _float trig functions... " >&6; }
57394 if ${glibcxx_cv_func__float_trig_use+:} false; then :
57395 $as_echo_n "(cached) " >&6
57396 else
57397
57398
57399 ac_ext=cpp
57400 ac_cpp='$CXXCPP $CPPFLAGS'
57401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57404
57405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57406 /* end confdefs.h. */
57407 #include <math.h>
57408 int
57409 main ()
57410 {
57411 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57412 ;
57413 return 0;
57414 }
57415 _ACEOF
57416 if ac_fn_cxx_try_compile "$LINENO"; then :
57417 glibcxx_cv_func__float_trig_use=yes
57418 else
57419 glibcxx_cv_func__float_trig_use=no
57420 fi
57421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57422 ac_ext=c
57423 ac_cpp='$CPP $CPPFLAGS'
57424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57427
57428 fi
57429
57430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
57431 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
57432 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57433 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57434 do :
57435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57438 cat >>confdefs.h <<_ACEOF
57439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57440 _ACEOF
57441
57442 fi
57443 done
57444
57445 fi
57446 fi
57447
57448
57449
57450
57451
57452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
57453 $as_echo_n "checking for float round functions... " >&6; }
57454 if ${glibcxx_cv_func_float_round_use+:} false; then :
57455 $as_echo_n "(cached) " >&6
57456 else
57457
57458
57459 ac_ext=cpp
57460 ac_cpp='$CXXCPP $CPPFLAGS'
57461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57464
57465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57466 /* end confdefs.h. */
57467 #include <math.h>
57468 int
57469 main ()
57470 {
57471 ceilf (0); floorf (0);
57472 ;
57473 return 0;
57474 }
57475 _ACEOF
57476 if ac_fn_cxx_try_compile "$LINENO"; then :
57477 glibcxx_cv_func_float_round_use=yes
57478 else
57479 glibcxx_cv_func_float_round_use=no
57480 fi
57481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57482 ac_ext=c
57483 ac_cpp='$CPP $CPPFLAGS'
57484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57487
57488 fi
57489
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
57491 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
57492 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57493 for ac_func in ceilf floorf
57494 do :
57495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57498 cat >>confdefs.h <<_ACEOF
57499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57500 _ACEOF
57501
57502 fi
57503 done
57504
57505 else
57506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
57507 $as_echo_n "checking for _float round functions... " >&6; }
57508 if ${glibcxx_cv_func__float_round_use+:} false; then :
57509 $as_echo_n "(cached) " >&6
57510 else
57511
57512
57513 ac_ext=cpp
57514 ac_cpp='$CXXCPP $CPPFLAGS'
57515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57518
57519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57520 /* end confdefs.h. */
57521 #include <math.h>
57522 int
57523 main ()
57524 {
57525 _ceilf (0); _floorf (0);
57526 ;
57527 return 0;
57528 }
57529 _ACEOF
57530 if ac_fn_cxx_try_compile "$LINENO"; then :
57531 glibcxx_cv_func__float_round_use=yes
57532 else
57533 glibcxx_cv_func__float_round_use=no
57534 fi
57535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57536 ac_ext=c
57537 ac_cpp='$CPP $CPPFLAGS'
57538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57541
57542 fi
57543
57544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
57545 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
57546 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57547 for ac_func in _ceilf _floorf
57548 do :
57549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57552 cat >>confdefs.h <<_ACEOF
57553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57554 _ACEOF
57555
57556 fi
57557 done
57558
57559 fi
57560 fi
57561
57562
57563
57564
57565
57566
57567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
57568 $as_echo_n "checking for expf declaration... " >&6; }
57569 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57570 if ${glibcxx_cv_func_expf_use+:} false; then :
57571 $as_echo_n "(cached) " >&6
57572 else
57573
57574
57575 ac_ext=cpp
57576 ac_cpp='$CXXCPP $CPPFLAGS'
57577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57580
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h. */
57583 #include <math.h>
57584 #ifdef HAVE_IEEEFP_H
57585 #include <ieeefp.h>
57586 #endif
57587
57588 int
57589 main ()
57590 {
57591 expf(0);
57592 ;
57593 return 0;
57594 }
57595 _ACEOF
57596 if ac_fn_cxx_try_compile "$LINENO"; then :
57597 glibcxx_cv_func_expf_use=yes
57598 else
57599 glibcxx_cv_func_expf_use=no
57600 fi
57601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57602 ac_ext=c
57603 ac_cpp='$CPP $CPPFLAGS'
57604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57607
57608
57609 fi
57610
57611 fi
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
57613 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
57614
57615 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57616 for ac_func in expf
57617 do :
57618 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
57619 if test "x$ac_cv_func_expf" = xyes; then :
57620 cat >>confdefs.h <<_ACEOF
57621 #define HAVE_EXPF 1
57622 _ACEOF
57623
57624 fi
57625 done
57626
57627 else
57628
57629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
57630 $as_echo_n "checking for _expf declaration... " >&6; }
57631 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57632 if ${glibcxx_cv_func__expf_use+:} false; then :
57633 $as_echo_n "(cached) " >&6
57634 else
57635
57636
57637 ac_ext=cpp
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h. */
57645 #include <math.h>
57646 #ifdef HAVE_IEEEFP_H
57647 #include <ieeefp.h>
57648 #endif
57649
57650 int
57651 main ()
57652 {
57653 _expf(0);
57654 ;
57655 return 0;
57656 }
57657 _ACEOF
57658 if ac_fn_cxx_try_compile "$LINENO"; then :
57659 glibcxx_cv_func__expf_use=yes
57660 else
57661 glibcxx_cv_func__expf_use=no
57662 fi
57663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57664 ac_ext=c
57665 ac_cpp='$CPP $CPPFLAGS'
57666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57669
57670
57671 fi
57672
57673 fi
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
57675 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
57676
57677 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57678 for ac_func in _expf
57679 do :
57680 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
57681 if test "x$ac_cv_func__expf" = xyes; then :
57682 cat >>confdefs.h <<_ACEOF
57683 #define HAVE__EXPF 1
57684 _ACEOF
57685
57686 fi
57687 done
57688
57689 fi
57690 fi
57691
57692
57693
57694
57695
57696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
57697 $as_echo_n "checking for isnanf declaration... " >&6; }
57698 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57699 if ${glibcxx_cv_func_isnanf_use+:} false; then :
57700 $as_echo_n "(cached) " >&6
57701 else
57702
57703
57704 ac_ext=cpp
57705 ac_cpp='$CXXCPP $CPPFLAGS'
57706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57709
57710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57711 /* end confdefs.h. */
57712 #include <math.h>
57713 #ifdef HAVE_IEEEFP_H
57714 #include <ieeefp.h>
57715 #endif
57716
57717 int
57718 main ()
57719 {
57720 isnanf(0);
57721 ;
57722 return 0;
57723 }
57724 _ACEOF
57725 if ac_fn_cxx_try_compile "$LINENO"; then :
57726 glibcxx_cv_func_isnanf_use=yes
57727 else
57728 glibcxx_cv_func_isnanf_use=no
57729 fi
57730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57731 ac_ext=c
57732 ac_cpp='$CPP $CPPFLAGS'
57733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57736
57737
57738 fi
57739
57740 fi
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
57742 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
57743
57744 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57745 for ac_func in isnanf
57746 do :
57747 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
57748 if test "x$ac_cv_func_isnanf" = xyes; then :
57749 cat >>confdefs.h <<_ACEOF
57750 #define HAVE_ISNANF 1
57751 _ACEOF
57752
57753 fi
57754 done
57755
57756 else
57757
57758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
57759 $as_echo_n "checking for _isnanf declaration... " >&6; }
57760 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57761 if ${glibcxx_cv_func__isnanf_use+:} false; then :
57762 $as_echo_n "(cached) " >&6
57763 else
57764
57765
57766 ac_ext=cpp
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771
57772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57773 /* end confdefs.h. */
57774 #include <math.h>
57775 #ifdef HAVE_IEEEFP_H
57776 #include <ieeefp.h>
57777 #endif
57778
57779 int
57780 main ()
57781 {
57782 _isnanf(0);
57783 ;
57784 return 0;
57785 }
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788 glibcxx_cv_func__isnanf_use=yes
57789 else
57790 glibcxx_cv_func__isnanf_use=no
57791 fi
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798
57799
57800 fi
57801
57802 fi
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
57804 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
57805
57806 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57807 for ac_func in _isnanf
57808 do :
57809 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
57810 if test "x$ac_cv_func__isnanf" = xyes; then :
57811 cat >>confdefs.h <<_ACEOF
57812 #define HAVE__ISNANF 1
57813 _ACEOF
57814
57815 fi
57816 done
57817
57818 fi
57819 fi
57820
57821
57822
57823
57824
57825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
57826 $as_echo_n "checking for isinff declaration... " >&6; }
57827 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57828 if ${glibcxx_cv_func_isinff_use+:} false; then :
57829 $as_echo_n "(cached) " >&6
57830 else
57831
57832
57833 ac_ext=cpp
57834 ac_cpp='$CXXCPP $CPPFLAGS'
57835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57838
57839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57840 /* end confdefs.h. */
57841 #include <math.h>
57842 #ifdef HAVE_IEEEFP_H
57843 #include <ieeefp.h>
57844 #endif
57845
57846 int
57847 main ()
57848 {
57849 isinff(0);
57850 ;
57851 return 0;
57852 }
57853 _ACEOF
57854 if ac_fn_cxx_try_compile "$LINENO"; then :
57855 glibcxx_cv_func_isinff_use=yes
57856 else
57857 glibcxx_cv_func_isinff_use=no
57858 fi
57859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57860 ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865
57866
57867 fi
57868
57869 fi
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
57871 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
57872
57873 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57874 for ac_func in isinff
57875 do :
57876 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
57877 if test "x$ac_cv_func_isinff" = xyes; then :
57878 cat >>confdefs.h <<_ACEOF
57879 #define HAVE_ISINFF 1
57880 _ACEOF
57881
57882 fi
57883 done
57884
57885 else
57886
57887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
57888 $as_echo_n "checking for _isinff declaration... " >&6; }
57889 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57890 if ${glibcxx_cv_func__isinff_use+:} false; then :
57891 $as_echo_n "(cached) " >&6
57892 else
57893
57894
57895 ac_ext=cpp
57896 ac_cpp='$CXXCPP $CPPFLAGS'
57897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57900
57901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57902 /* end confdefs.h. */
57903 #include <math.h>
57904 #ifdef HAVE_IEEEFP_H
57905 #include <ieeefp.h>
57906 #endif
57907
57908 int
57909 main ()
57910 {
57911 _isinff(0);
57912 ;
57913 return 0;
57914 }
57915 _ACEOF
57916 if ac_fn_cxx_try_compile "$LINENO"; then :
57917 glibcxx_cv_func__isinff_use=yes
57918 else
57919 glibcxx_cv_func__isinff_use=no
57920 fi
57921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57922 ac_ext=c
57923 ac_cpp='$CPP $CPPFLAGS'
57924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57927
57928
57929 fi
57930
57931 fi
57932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
57933 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
57934
57935 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57936 for ac_func in _isinff
57937 do :
57938 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
57939 if test "x$ac_cv_func__isinff" = xyes; then :
57940 cat >>confdefs.h <<_ACEOF
57941 #define HAVE__ISINFF 1
57942 _ACEOF
57943
57944 fi
57945 done
57946
57947 fi
57948 fi
57949
57950
57951
57952
57953
57954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
57955 $as_echo_n "checking for atan2f declaration... " >&6; }
57956 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57957 if ${glibcxx_cv_func_atan2f_use+:} false; then :
57958 $as_echo_n "(cached) " >&6
57959 else
57960
57961
57962 ac_ext=cpp
57963 ac_cpp='$CXXCPP $CPPFLAGS'
57964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57967
57968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57969 /* end confdefs.h. */
57970 #include <math.h>
57971 int
57972 main ()
57973 {
57974 atan2f(0, 0);
57975 ;
57976 return 0;
57977 }
57978 _ACEOF
57979 if ac_fn_cxx_try_compile "$LINENO"; then :
57980 glibcxx_cv_func_atan2f_use=yes
57981 else
57982 glibcxx_cv_func_atan2f_use=no
57983 fi
57984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57985 ac_ext=c
57986 ac_cpp='$CPP $CPPFLAGS'
57987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57990
57991
57992 fi
57993
57994 fi
57995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
57996 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
57997
57998 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57999 for ac_func in atan2f
58000 do :
58001 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58002 if test "x$ac_cv_func_atan2f" = xyes; then :
58003 cat >>confdefs.h <<_ACEOF
58004 #define HAVE_ATAN2F 1
58005 _ACEOF
58006
58007 fi
58008 done
58009
58010 else
58011
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58013 $as_echo_n "checking for _atan2f declaration... " >&6; }
58014 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58015 if ${glibcxx_cv_func__atan2f_use+:} false; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58018
58019
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58025
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58029 int
58030 main ()
58031 {
58032 _atan2f(0, 0);
58033 ;
58034 return 0;
58035 }
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func__atan2f_use=yes
58039 else
58040 glibcxx_cv_func__atan2f_use=no
58041 fi
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048
58049
58050 fi
58051
58052 fi
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
58054 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
58055
58056 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58057 for ac_func in _atan2f
58058 do :
58059 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
58060 if test "x$ac_cv_func__atan2f" = xyes; then :
58061 cat >>confdefs.h <<_ACEOF
58062 #define HAVE__ATAN2F 1
58063 _ACEOF
58064
58065 fi
58066 done
58067
58068 fi
58069 fi
58070
58071
58072
58073
58074
58075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
58076 $as_echo_n "checking for fabsf declaration... " >&6; }
58077 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58078 if ${glibcxx_cv_func_fabsf_use+:} false; then :
58079 $as_echo_n "(cached) " >&6
58080 else
58081
58082
58083 ac_ext=cpp
58084 ac_cpp='$CXXCPP $CPPFLAGS'
58085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58088
58089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58090 /* end confdefs.h. */
58091 #include <math.h>
58092 #ifdef HAVE_IEEEFP_H
58093 #include <ieeefp.h>
58094 #endif
58095
58096 int
58097 main ()
58098 {
58099 fabsf(0);
58100 ;
58101 return 0;
58102 }
58103 _ACEOF
58104 if ac_fn_cxx_try_compile "$LINENO"; then :
58105 glibcxx_cv_func_fabsf_use=yes
58106 else
58107 glibcxx_cv_func_fabsf_use=no
58108 fi
58109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58110 ac_ext=c
58111 ac_cpp='$CPP $CPPFLAGS'
58112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58115
58116
58117 fi
58118
58119 fi
58120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
58121 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
58122
58123 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58124 for ac_func in fabsf
58125 do :
58126 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
58127 if test "x$ac_cv_func_fabsf" = xyes; then :
58128 cat >>confdefs.h <<_ACEOF
58129 #define HAVE_FABSF 1
58130 _ACEOF
58131
58132 fi
58133 done
58134
58135 else
58136
58137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
58138 $as_echo_n "checking for _fabsf declaration... " >&6; }
58139 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58140 if ${glibcxx_cv_func__fabsf_use+:} false; then :
58141 $as_echo_n "(cached) " >&6
58142 else
58143
58144
58145 ac_ext=cpp
58146 ac_cpp='$CXXCPP $CPPFLAGS'
58147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58150
58151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58152 /* end confdefs.h. */
58153 #include <math.h>
58154 #ifdef HAVE_IEEEFP_H
58155 #include <ieeefp.h>
58156 #endif
58157
58158 int
58159 main ()
58160 {
58161 _fabsf(0);
58162 ;
58163 return 0;
58164 }
58165 _ACEOF
58166 if ac_fn_cxx_try_compile "$LINENO"; then :
58167 glibcxx_cv_func__fabsf_use=yes
58168 else
58169 glibcxx_cv_func__fabsf_use=no
58170 fi
58171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58172 ac_ext=c
58173 ac_cpp='$CPP $CPPFLAGS'
58174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58177
58178
58179 fi
58180
58181 fi
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
58183 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
58184
58185 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58186 for ac_func in _fabsf
58187 do :
58188 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
58189 if test "x$ac_cv_func__fabsf" = xyes; then :
58190 cat >>confdefs.h <<_ACEOF
58191 #define HAVE__FABSF 1
58192 _ACEOF
58193
58194 fi
58195 done
58196
58197 fi
58198 fi
58199
58200
58201
58202
58203
58204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
58205 $as_echo_n "checking for fmodf declaration... " >&6; }
58206 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58207 if ${glibcxx_cv_func_fmodf_use+:} false; then :
58208 $as_echo_n "(cached) " >&6
58209 else
58210
58211
58212 ac_ext=cpp
58213 ac_cpp='$CXXCPP $CPPFLAGS'
58214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58217
58218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58219 /* end confdefs.h. */
58220 #include <math.h>
58221 int
58222 main ()
58223 {
58224 fmodf(0, 0);
58225 ;
58226 return 0;
58227 }
58228 _ACEOF
58229 if ac_fn_cxx_try_compile "$LINENO"; then :
58230 glibcxx_cv_func_fmodf_use=yes
58231 else
58232 glibcxx_cv_func_fmodf_use=no
58233 fi
58234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58235 ac_ext=c
58236 ac_cpp='$CPP $CPPFLAGS'
58237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58240
58241
58242 fi
58243
58244 fi
58245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
58246 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
58247
58248 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58249 for ac_func in fmodf
58250 do :
58251 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
58252 if test "x$ac_cv_func_fmodf" = xyes; then :
58253 cat >>confdefs.h <<_ACEOF
58254 #define HAVE_FMODF 1
58255 _ACEOF
58256
58257 fi
58258 done
58259
58260 else
58261
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
58263 $as_echo_n "checking for _fmodf declaration... " >&6; }
58264 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58265 if ${glibcxx_cv_func__fmodf_use+:} false; then :
58266 $as_echo_n "(cached) " >&6
58267 else
58268
58269
58270 ac_ext=cpp
58271 ac_cpp='$CXXCPP $CPPFLAGS'
58272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58275
58276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58277 /* end confdefs.h. */
58278 #include <math.h>
58279 int
58280 main ()
58281 {
58282 _fmodf(0, 0);
58283 ;
58284 return 0;
58285 }
58286 _ACEOF
58287 if ac_fn_cxx_try_compile "$LINENO"; then :
58288 glibcxx_cv_func__fmodf_use=yes
58289 else
58290 glibcxx_cv_func__fmodf_use=no
58291 fi
58292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58293 ac_ext=c
58294 ac_cpp='$CPP $CPPFLAGS'
58295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58298
58299
58300 fi
58301
58302 fi
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
58304 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
58305
58306 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58307 for ac_func in _fmodf
58308 do :
58309 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
58310 if test "x$ac_cv_func__fmodf" = xyes; then :
58311 cat >>confdefs.h <<_ACEOF
58312 #define HAVE__FMODF 1
58313 _ACEOF
58314
58315 fi
58316 done
58317
58318 fi
58319 fi
58320
58321
58322
58323
58324
58325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
58326 $as_echo_n "checking for frexpf declaration... " >&6; }
58327 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
58328 if ${glibcxx_cv_func_frexpf_use+:} false; then :
58329 $as_echo_n "(cached) " >&6
58330 else
58331
58332
58333 ac_ext=cpp
58334 ac_cpp='$CXXCPP $CPPFLAGS'
58335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58338
58339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58340 /* end confdefs.h. */
58341 #include <math.h>
58342 int
58343 main ()
58344 {
58345 frexpf(0, 0);
58346 ;
58347 return 0;
58348 }
58349 _ACEOF
58350 if ac_fn_cxx_try_compile "$LINENO"; then :
58351 glibcxx_cv_func_frexpf_use=yes
58352 else
58353 glibcxx_cv_func_frexpf_use=no
58354 fi
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356 ac_ext=c
58357 ac_cpp='$CPP $CPPFLAGS'
58358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58361
58362
58363 fi
58364
58365 fi
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
58367 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
58368
58369 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
58370 for ac_func in frexpf
58371 do :
58372 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
58373 if test "x$ac_cv_func_frexpf" = xyes; then :
58374 cat >>confdefs.h <<_ACEOF
58375 #define HAVE_FREXPF 1
58376 _ACEOF
58377
58378 fi
58379 done
58380
58381 else
58382
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
58384 $as_echo_n "checking for _frexpf declaration... " >&6; }
58385 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
58386 if ${glibcxx_cv_func__frexpf_use+:} false; then :
58387 $as_echo_n "(cached) " >&6
58388 else
58389
58390
58391 ac_ext=cpp
58392 ac_cpp='$CXXCPP $CPPFLAGS'
58393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58396
58397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h. */
58399 #include <math.h>
58400 int
58401 main ()
58402 {
58403 _frexpf(0, 0);
58404 ;
58405 return 0;
58406 }
58407 _ACEOF
58408 if ac_fn_cxx_try_compile "$LINENO"; then :
58409 glibcxx_cv_func__frexpf_use=yes
58410 else
58411 glibcxx_cv_func__frexpf_use=no
58412 fi
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58419
58420
58421 fi
58422
58423 fi
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
58425 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
58426
58427 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
58428 for ac_func in _frexpf
58429 do :
58430 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
58431 if test "x$ac_cv_func__frexpf" = xyes; then :
58432 cat >>confdefs.h <<_ACEOF
58433 #define HAVE__FREXPF 1
58434 _ACEOF
58435
58436 fi
58437 done
58438
58439 fi
58440 fi
58441
58442
58443
58444
58445
58446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
58447 $as_echo_n "checking for hypotf declaration... " >&6; }
58448 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
58449 if ${glibcxx_cv_func_hypotf_use+:} false; then :
58450 $as_echo_n "(cached) " >&6
58451 else
58452
58453
58454 ac_ext=cpp
58455 ac_cpp='$CXXCPP $CPPFLAGS'
58456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58459
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58462 #include <math.h>
58463 int
58464 main ()
58465 {
58466 hypotf(0, 0);
58467 ;
58468 return 0;
58469 }
58470 _ACEOF
58471 if ac_fn_cxx_try_compile "$LINENO"; then :
58472 glibcxx_cv_func_hypotf_use=yes
58473 else
58474 glibcxx_cv_func_hypotf_use=no
58475 fi
58476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58477 ac_ext=c
58478 ac_cpp='$CPP $CPPFLAGS'
58479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58482
58483
58484 fi
58485
58486 fi
58487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
58488 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
58489
58490 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
58491 for ac_func in hypotf
58492 do :
58493 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
58494 if test "x$ac_cv_func_hypotf" = xyes; then :
58495 cat >>confdefs.h <<_ACEOF
58496 #define HAVE_HYPOTF 1
58497 _ACEOF
58498
58499 fi
58500 done
58501
58502 else
58503
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
58505 $as_echo_n "checking for _hypotf declaration... " >&6; }
58506 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58507 if ${glibcxx_cv_func__hypotf_use+:} false; then :
58508 $as_echo_n "(cached) " >&6
58509 else
58510
58511
58512 ac_ext=cpp
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58517
58518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h. */
58520 #include <math.h>
58521 int
58522 main ()
58523 {
58524 _hypotf(0, 0);
58525 ;
58526 return 0;
58527 }
58528 _ACEOF
58529 if ac_fn_cxx_try_compile "$LINENO"; then :
58530 glibcxx_cv_func__hypotf_use=yes
58531 else
58532 glibcxx_cv_func__hypotf_use=no
58533 fi
58534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58535 ac_ext=c
58536 ac_cpp='$CPP $CPPFLAGS'
58537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58540
58541
58542 fi
58543
58544 fi
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
58546 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
58547
58548 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58549 for ac_func in _hypotf
58550 do :
58551 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
58552 if test "x$ac_cv_func__hypotf" = xyes; then :
58553 cat >>confdefs.h <<_ACEOF
58554 #define HAVE__HYPOTF 1
58555 _ACEOF
58556
58557 fi
58558 done
58559
58560 fi
58561 fi
58562
58563
58564
58565
58566
58567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
58568 $as_echo_n "checking for ldexpf declaration... " >&6; }
58569 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58570 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
58571 $as_echo_n "(cached) " >&6
58572 else
58573
58574
58575 ac_ext=cpp
58576 ac_cpp='$CXXCPP $CPPFLAGS'
58577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58580
58581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58582 /* end confdefs.h. */
58583 #include <math.h>
58584 int
58585 main ()
58586 {
58587 ldexpf(0, 0);
58588 ;
58589 return 0;
58590 }
58591 _ACEOF
58592 if ac_fn_cxx_try_compile "$LINENO"; then :
58593 glibcxx_cv_func_ldexpf_use=yes
58594 else
58595 glibcxx_cv_func_ldexpf_use=no
58596 fi
58597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58598 ac_ext=c
58599 ac_cpp='$CPP $CPPFLAGS'
58600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58603
58604
58605 fi
58606
58607 fi
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
58609 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
58610
58611 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58612 for ac_func in ldexpf
58613 do :
58614 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
58615 if test "x$ac_cv_func_ldexpf" = xyes; then :
58616 cat >>confdefs.h <<_ACEOF
58617 #define HAVE_LDEXPF 1
58618 _ACEOF
58619
58620 fi
58621 done
58622
58623 else
58624
58625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
58626 $as_echo_n "checking for _ldexpf declaration... " >&6; }
58627 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58628 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
58629 $as_echo_n "(cached) " >&6
58630 else
58631
58632
58633 ac_ext=cpp
58634 ac_cpp='$CXXCPP $CPPFLAGS'
58635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58638
58639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h. */
58641 #include <math.h>
58642 int
58643 main ()
58644 {
58645 _ldexpf(0, 0);
58646 ;
58647 return 0;
58648 }
58649 _ACEOF
58650 if ac_fn_cxx_try_compile "$LINENO"; then :
58651 glibcxx_cv_func__ldexpf_use=yes
58652 else
58653 glibcxx_cv_func__ldexpf_use=no
58654 fi
58655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58656 ac_ext=c
58657 ac_cpp='$CPP $CPPFLAGS'
58658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58661
58662
58663 fi
58664
58665 fi
58666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
58667 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
58668
58669 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58670 for ac_func in _ldexpf
58671 do :
58672 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
58673 if test "x$ac_cv_func__ldexpf" = xyes; then :
58674 cat >>confdefs.h <<_ACEOF
58675 #define HAVE__LDEXPF 1
58676 _ACEOF
58677
58678 fi
58679 done
58680
58681 fi
58682 fi
58683
58684
58685
58686
58687
58688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
58689 $as_echo_n "checking for logf declaration... " >&6; }
58690 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58691 if ${glibcxx_cv_func_logf_use+:} false; then :
58692 $as_echo_n "(cached) " >&6
58693 else
58694
58695
58696 ac_ext=cpp
58697 ac_cpp='$CXXCPP $CPPFLAGS'
58698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58701
58702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58703 /* end confdefs.h. */
58704 #include <math.h>
58705 #ifdef HAVE_IEEEFP_H
58706 #include <ieeefp.h>
58707 #endif
58708
58709 int
58710 main ()
58711 {
58712 logf(0);
58713 ;
58714 return 0;
58715 }
58716 _ACEOF
58717 if ac_fn_cxx_try_compile "$LINENO"; then :
58718 glibcxx_cv_func_logf_use=yes
58719 else
58720 glibcxx_cv_func_logf_use=no
58721 fi
58722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58723 ac_ext=c
58724 ac_cpp='$CPP $CPPFLAGS'
58725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58728
58729
58730 fi
58731
58732 fi
58733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
58734 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
58735
58736 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58737 for ac_func in logf
58738 do :
58739 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
58740 if test "x$ac_cv_func_logf" = xyes; then :
58741 cat >>confdefs.h <<_ACEOF
58742 #define HAVE_LOGF 1
58743 _ACEOF
58744
58745 fi
58746 done
58747
58748 else
58749
58750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
58751 $as_echo_n "checking for _logf declaration... " >&6; }
58752 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58753 if ${glibcxx_cv_func__logf_use+:} false; then :
58754 $as_echo_n "(cached) " >&6
58755 else
58756
58757
58758 ac_ext=cpp
58759 ac_cpp='$CXXCPP $CPPFLAGS'
58760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58763
58764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58765 /* end confdefs.h. */
58766 #include <math.h>
58767 #ifdef HAVE_IEEEFP_H
58768 #include <ieeefp.h>
58769 #endif
58770
58771 int
58772 main ()
58773 {
58774 _logf(0);
58775 ;
58776 return 0;
58777 }
58778 _ACEOF
58779 if ac_fn_cxx_try_compile "$LINENO"; then :
58780 glibcxx_cv_func__logf_use=yes
58781 else
58782 glibcxx_cv_func__logf_use=no
58783 fi
58784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58785 ac_ext=c
58786 ac_cpp='$CPP $CPPFLAGS'
58787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58790
58791
58792 fi
58793
58794 fi
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
58796 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
58797
58798 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58799 for ac_func in _logf
58800 do :
58801 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
58802 if test "x$ac_cv_func__logf" = xyes; then :
58803 cat >>confdefs.h <<_ACEOF
58804 #define HAVE__LOGF 1
58805 _ACEOF
58806
58807 fi
58808 done
58809
58810 fi
58811 fi
58812
58813
58814
58815
58816
58817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
58818 $as_echo_n "checking for log10f declaration... " >&6; }
58819 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58820 if ${glibcxx_cv_func_log10f_use+:} false; then :
58821 $as_echo_n "(cached) " >&6
58822 else
58823
58824
58825 ac_ext=cpp
58826 ac_cpp='$CXXCPP $CPPFLAGS'
58827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58830
58831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58832 /* end confdefs.h. */
58833 #include <math.h>
58834 #ifdef HAVE_IEEEFP_H
58835 #include <ieeefp.h>
58836 #endif
58837
58838 int
58839 main ()
58840 {
58841 log10f(0);
58842 ;
58843 return 0;
58844 }
58845 _ACEOF
58846 if ac_fn_cxx_try_compile "$LINENO"; then :
58847 glibcxx_cv_func_log10f_use=yes
58848 else
58849 glibcxx_cv_func_log10f_use=no
58850 fi
58851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58852 ac_ext=c
58853 ac_cpp='$CPP $CPPFLAGS'
58854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58857
58858
58859 fi
58860
58861 fi
58862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
58863 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
58864
58865 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
58866 for ac_func in log10f
58867 do :
58868 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
58869 if test "x$ac_cv_func_log10f" = xyes; then :
58870 cat >>confdefs.h <<_ACEOF
58871 #define HAVE_LOG10F 1
58872 _ACEOF
58873
58874 fi
58875 done
58876
58877 else
58878
58879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
58880 $as_echo_n "checking for _log10f declaration... " >&6; }
58881 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
58882 if ${glibcxx_cv_func__log10f_use+:} false; then :
58883 $as_echo_n "(cached) " >&6
58884 else
58885
58886
58887 ac_ext=cpp
58888 ac_cpp='$CXXCPP $CPPFLAGS'
58889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58892
58893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58894 /* end confdefs.h. */
58895 #include <math.h>
58896 #ifdef HAVE_IEEEFP_H
58897 #include <ieeefp.h>
58898 #endif
58899
58900 int
58901 main ()
58902 {
58903 _log10f(0);
58904 ;
58905 return 0;
58906 }
58907 _ACEOF
58908 if ac_fn_cxx_try_compile "$LINENO"; then :
58909 glibcxx_cv_func__log10f_use=yes
58910 else
58911 glibcxx_cv_func__log10f_use=no
58912 fi
58913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58914 ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919
58920
58921 fi
58922
58923 fi
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
58925 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
58926
58927 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
58928 for ac_func in _log10f
58929 do :
58930 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
58931 if test "x$ac_cv_func__log10f" = xyes; then :
58932 cat >>confdefs.h <<_ACEOF
58933 #define HAVE__LOG10F 1
58934 _ACEOF
58935
58936 fi
58937 done
58938
58939 fi
58940 fi
58941
58942
58943
58944
58945
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
58947 $as_echo_n "checking for modff declaration... " >&6; }
58948 if test x${glibcxx_cv_func_modff_use+set} != xset; then
58949 if ${glibcxx_cv_func_modff_use+:} false; then :
58950 $as_echo_n "(cached) " >&6
58951 else
58952
58953
58954 ac_ext=cpp
58955 ac_cpp='$CXXCPP $CPPFLAGS'
58956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58959
58960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58961 /* end confdefs.h. */
58962 #include <math.h>
58963 int
58964 main ()
58965 {
58966 modff(0, 0);
58967 ;
58968 return 0;
58969 }
58970 _ACEOF
58971 if ac_fn_cxx_try_compile "$LINENO"; then :
58972 glibcxx_cv_func_modff_use=yes
58973 else
58974 glibcxx_cv_func_modff_use=no
58975 fi
58976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58977 ac_ext=c
58978 ac_cpp='$CPP $CPPFLAGS'
58979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58982
58983
58984 fi
58985
58986 fi
58987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
58988 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
58989
58990 if test x$glibcxx_cv_func_modff_use = x"yes"; then
58991 for ac_func in modff
58992 do :
58993 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
58994 if test "x$ac_cv_func_modff" = xyes; then :
58995 cat >>confdefs.h <<_ACEOF
58996 #define HAVE_MODFF 1
58997 _ACEOF
58998
58999 fi
59000 done
59001
59002 else
59003
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59005 $as_echo_n "checking for _modff declaration... " >&6; }
59006 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59007 if ${glibcxx_cv_func__modff_use+:} false; then :
59008 $as_echo_n "(cached) " >&6
59009 else
59010
59011
59012 ac_ext=cpp
59013 ac_cpp='$CXXCPP $CPPFLAGS'
59014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59017
59018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59019 /* end confdefs.h. */
59020 #include <math.h>
59021 int
59022 main ()
59023 {
59024 _modff(0, 0);
59025 ;
59026 return 0;
59027 }
59028 _ACEOF
59029 if ac_fn_cxx_try_compile "$LINENO"; then :
59030 glibcxx_cv_func__modff_use=yes
59031 else
59032 glibcxx_cv_func__modff_use=no
59033 fi
59034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59035 ac_ext=c
59036 ac_cpp='$CPP $CPPFLAGS'
59037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59040
59041
59042 fi
59043
59044 fi
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
59046 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
59047
59048 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59049 for ac_func in _modff
59050 do :
59051 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
59052 if test "x$ac_cv_func__modff" = xyes; then :
59053 cat >>confdefs.h <<_ACEOF
59054 #define HAVE__MODFF 1
59055 _ACEOF
59056
59057 fi
59058 done
59059
59060 fi
59061 fi
59062
59063
59064
59065
59066
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
59068 $as_echo_n "checking for modf declaration... " >&6; }
59069 if test x${glibcxx_cv_func_modf_use+set} != xset; then
59070 if ${glibcxx_cv_func_modf_use+:} false; then :
59071 $as_echo_n "(cached) " >&6
59072 else
59073
59074
59075 ac_ext=cpp
59076 ac_cpp='$CXXCPP $CPPFLAGS'
59077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59080
59081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59082 /* end confdefs.h. */
59083 #include <math.h>
59084 int
59085 main ()
59086 {
59087 modf(0, 0);
59088 ;
59089 return 0;
59090 }
59091 _ACEOF
59092 if ac_fn_cxx_try_compile "$LINENO"; then :
59093 glibcxx_cv_func_modf_use=yes
59094 else
59095 glibcxx_cv_func_modf_use=no
59096 fi
59097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59098 ac_ext=c
59099 ac_cpp='$CPP $CPPFLAGS'
59100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59103
59104
59105 fi
59106
59107 fi
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
59109 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
59110
59111 if test x$glibcxx_cv_func_modf_use = x"yes"; then
59112 for ac_func in modf
59113 do :
59114 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
59115 if test "x$ac_cv_func_modf" = xyes; then :
59116 cat >>confdefs.h <<_ACEOF
59117 #define HAVE_MODF 1
59118 _ACEOF
59119
59120 fi
59121 done
59122
59123 else
59124
59125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
59126 $as_echo_n "checking for _modf declaration... " >&6; }
59127 if test x${glibcxx_cv_func__modf_use+set} != xset; then
59128 if ${glibcxx_cv_func__modf_use+:} false; then :
59129 $as_echo_n "(cached) " >&6
59130 else
59131
59132
59133 ac_ext=cpp
59134 ac_cpp='$CXXCPP $CPPFLAGS'
59135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59138
59139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59140 /* end confdefs.h. */
59141 #include <math.h>
59142 int
59143 main ()
59144 {
59145 _modf(0, 0);
59146 ;
59147 return 0;
59148 }
59149 _ACEOF
59150 if ac_fn_cxx_try_compile "$LINENO"; then :
59151 glibcxx_cv_func__modf_use=yes
59152 else
59153 glibcxx_cv_func__modf_use=no
59154 fi
59155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59156 ac_ext=c
59157 ac_cpp='$CPP $CPPFLAGS'
59158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59161
59162
59163 fi
59164
59165 fi
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
59167 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
59168
59169 if test x$glibcxx_cv_func__modf_use = x"yes"; then
59170 for ac_func in _modf
59171 do :
59172 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
59173 if test "x$ac_cv_func__modf" = xyes; then :
59174 cat >>confdefs.h <<_ACEOF
59175 #define HAVE__MODF 1
59176 _ACEOF
59177
59178 fi
59179 done
59180
59181 fi
59182 fi
59183
59184
59185
59186
59187
59188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
59189 $as_echo_n "checking for powf declaration... " >&6; }
59190 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59191 if ${glibcxx_cv_func_powf_use+:} false; then :
59192 $as_echo_n "(cached) " >&6
59193 else
59194
59195
59196 ac_ext=cpp
59197 ac_cpp='$CXXCPP $CPPFLAGS'
59198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59201
59202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59203 /* end confdefs.h. */
59204 #include <math.h>
59205 int
59206 main ()
59207 {
59208 powf(0, 0);
59209 ;
59210 return 0;
59211 }
59212 _ACEOF
59213 if ac_fn_cxx_try_compile "$LINENO"; then :
59214 glibcxx_cv_func_powf_use=yes
59215 else
59216 glibcxx_cv_func_powf_use=no
59217 fi
59218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59219 ac_ext=c
59220 ac_cpp='$CPP $CPPFLAGS'
59221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59224
59225
59226 fi
59227
59228 fi
59229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
59230 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
59231
59232 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59233 for ac_func in powf
59234 do :
59235 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
59236 if test "x$ac_cv_func_powf" = xyes; then :
59237 cat >>confdefs.h <<_ACEOF
59238 #define HAVE_POWF 1
59239 _ACEOF
59240
59241 fi
59242 done
59243
59244 else
59245
59246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
59247 $as_echo_n "checking for _powf declaration... " >&6; }
59248 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59249 if ${glibcxx_cv_func__powf_use+:} false; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59252
59253
59254 ac_ext=cpp
59255 ac_cpp='$CXXCPP $CPPFLAGS'
59256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59259
59260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59261 /* end confdefs.h. */
59262 #include <math.h>
59263 int
59264 main ()
59265 {
59266 _powf(0, 0);
59267 ;
59268 return 0;
59269 }
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__powf_use=yes
59273 else
59274 glibcxx_cv_func__powf_use=no
59275 fi
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59282
59283
59284 fi
59285
59286 fi
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
59288 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
59289
59290 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59291 for ac_func in _powf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
59294 if test "x$ac_cv_func__powf" = xyes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__POWF 1
59297 _ACEOF
59298
59299 fi
59300 done
59301
59302 fi
59303 fi
59304
59305
59306
59307
59308
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
59310 $as_echo_n "checking for sqrtf declaration... " >&6; }
59311 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
59312 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59315
59316
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59329
59330 int
59331 main ()
59332 {
59333 sqrtf(0);
59334 ;
59335 return 0;
59336 }
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_sqrtf_use=yes
59340 else
59341 glibcxx_cv_func_sqrtf_use=no
59342 fi
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351 fi
59352
59353 fi
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
59355 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
59356
59357 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
59358 for ac_func in sqrtf
59359 do :
59360 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
59361 if test "x$ac_cv_func_sqrtf" = xyes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_SQRTF 1
59364 _ACEOF
59365
59366 fi
59367 done
59368
59369 else
59370
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
59372 $as_echo_n "checking for _sqrtf declaration... " >&6; }
59373 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
59374 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59377
59378
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 #ifdef HAVE_IEEEFP_H
59389 #include <ieeefp.h>
59390 #endif
59391
59392 int
59393 main ()
59394 {
59395 _sqrtf(0);
59396 ;
59397 return 0;
59398 }
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401 glibcxx_cv_func__sqrtf_use=yes
59402 else
59403 glibcxx_cv_func__sqrtf_use=no
59404 fi
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406 ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59411
59412
59413 fi
59414
59415 fi
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
59417 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
59418
59419 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
59420 for ac_func in _sqrtf
59421 do :
59422 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
59423 if test "x$ac_cv_func__sqrtf" = xyes; then :
59424 cat >>confdefs.h <<_ACEOF
59425 #define HAVE__SQRTF 1
59426 _ACEOF
59427
59428 fi
59429 done
59430
59431 fi
59432 fi
59433
59434
59435
59436
59437
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
59439 $as_echo_n "checking for sincosf declaration... " >&6; }
59440 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
59441 if ${glibcxx_cv_func_sincosf_use+:} false; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59444
59445
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59455 int
59456 main ()
59457 {
59458 sincosf(0, 0, 0);
59459 ;
59460 return 0;
59461 }
59462 _ACEOF
59463 if ac_fn_cxx_try_compile "$LINENO"; then :
59464 glibcxx_cv_func_sincosf_use=yes
59465 else
59466 glibcxx_cv_func_sincosf_use=no
59467 fi
59468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59469 ac_ext=c
59470 ac_cpp='$CPP $CPPFLAGS'
59471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59474
59475
59476 fi
59477
59478 fi
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
59480 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
59481
59482 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
59483 for ac_func in sincosf
59484 do :
59485 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
59486 if test "x$ac_cv_func_sincosf" = xyes; then :
59487 cat >>confdefs.h <<_ACEOF
59488 #define HAVE_SINCOSF 1
59489 _ACEOF
59490
59491 fi
59492 done
59493
59494 else
59495
59496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
59497 $as_echo_n "checking for _sincosf declaration... " >&6; }
59498 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
59499 if ${glibcxx_cv_func__sincosf_use+:} false; then :
59500 $as_echo_n "(cached) " >&6
59501 else
59502
59503
59504 ac_ext=cpp
59505 ac_cpp='$CXXCPP $CPPFLAGS'
59506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59509
59510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59511 /* end confdefs.h. */
59512 #include <math.h>
59513 int
59514 main ()
59515 {
59516 _sincosf(0, 0, 0);
59517 ;
59518 return 0;
59519 }
59520 _ACEOF
59521 if ac_fn_cxx_try_compile "$LINENO"; then :
59522 glibcxx_cv_func__sincosf_use=yes
59523 else
59524 glibcxx_cv_func__sincosf_use=no
59525 fi
59526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59527 ac_ext=c
59528 ac_cpp='$CPP $CPPFLAGS'
59529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59532
59533
59534 fi
59535
59536 fi
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
59538 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
59539
59540 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
59541 for ac_func in _sincosf
59542 do :
59543 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
59544 if test "x$ac_cv_func__sincosf" = xyes; then :
59545 cat >>confdefs.h <<_ACEOF
59546 #define HAVE__SINCOSF 1
59547 _ACEOF
59548
59549 fi
59550 done
59551
59552 fi
59553 fi
59554
59555
59556
59557
59558
59559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
59560 $as_echo_n "checking for finitef declaration... " >&6; }
59561 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
59562 if ${glibcxx_cv_func_finitef_use+:} false; then :
59563 $as_echo_n "(cached) " >&6
59564 else
59565
59566
59567 ac_ext=cpp
59568 ac_cpp='$CXXCPP $CPPFLAGS'
59569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59572
59573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59574 /* end confdefs.h. */
59575 #include <math.h>
59576 #ifdef HAVE_IEEEFP_H
59577 #include <ieeefp.h>
59578 #endif
59579
59580 int
59581 main ()
59582 {
59583 finitef(0);
59584 ;
59585 return 0;
59586 }
59587 _ACEOF
59588 if ac_fn_cxx_try_compile "$LINENO"; then :
59589 glibcxx_cv_func_finitef_use=yes
59590 else
59591 glibcxx_cv_func_finitef_use=no
59592 fi
59593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59594 ac_ext=c
59595 ac_cpp='$CPP $CPPFLAGS'
59596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59599
59600
59601 fi
59602
59603 fi
59604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
59605 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
59606
59607 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
59608 for ac_func in finitef
59609 do :
59610 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
59611 if test "x$ac_cv_func_finitef" = xyes; then :
59612 cat >>confdefs.h <<_ACEOF
59613 #define HAVE_FINITEF 1
59614 _ACEOF
59615
59616 fi
59617 done
59618
59619 else
59620
59621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
59622 $as_echo_n "checking for _finitef declaration... " >&6; }
59623 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
59624 if ${glibcxx_cv_func__finitef_use+:} false; then :
59625 $as_echo_n "(cached) " >&6
59626 else
59627
59628
59629 ac_ext=cpp
59630 ac_cpp='$CXXCPP $CPPFLAGS'
59631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59634
59635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59636 /* end confdefs.h. */
59637 #include <math.h>
59638 #ifdef HAVE_IEEEFP_H
59639 #include <ieeefp.h>
59640 #endif
59641
59642 int
59643 main ()
59644 {
59645 _finitef(0);
59646 ;
59647 return 0;
59648 }
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651 glibcxx_cv_func__finitef_use=yes
59652 else
59653 glibcxx_cv_func__finitef_use=no
59654 fi
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656 ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59661
59662
59663 fi
59664
59665 fi
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
59667 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
59668
59669 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
59670 for ac_func in _finitef
59671 do :
59672 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
59673 if test "x$ac_cv_func__finitef" = xyes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE__FINITEF 1
59676 _ACEOF
59677
59678 fi
59679 done
59680
59681 fi
59682 fi
59683
59684
59685
59686
59687
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
59689 $as_echo_n "checking for long double trig functions... " >&6; }
59690 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
59691 $as_echo_n "(cached) " >&6
59692 else
59693
59694
59695 ac_ext=cpp
59696 ac_cpp='$CXXCPP $CPPFLAGS'
59697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59700
59701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59702 /* end confdefs.h. */
59703 #include <math.h>
59704 int
59705 main ()
59706 {
59707 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
59708 ;
59709 return 0;
59710 }
59711 _ACEOF
59712 if ac_fn_cxx_try_compile "$LINENO"; then :
59713 glibcxx_cv_func_long_double_trig_use=yes
59714 else
59715 glibcxx_cv_func_long_double_trig_use=no
59716 fi
59717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59718 ac_ext=c
59719 ac_cpp='$CPP $CPPFLAGS'
59720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59723
59724 fi
59725
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
59727 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
59728 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
59729 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
59730 do :
59731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59734 cat >>confdefs.h <<_ACEOF
59735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59736 _ACEOF
59737
59738 fi
59739 done
59740
59741 else
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
59743 $as_echo_n "checking for _long double trig functions... " >&6; }
59744 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
59745 $as_echo_n "(cached) " >&6
59746 else
59747
59748
59749 ac_ext=cpp
59750 ac_cpp='$CXXCPP $CPPFLAGS'
59751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59754
59755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59756 /* end confdefs.h. */
59757 #include <math.h>
59758 int
59759 main ()
59760 {
59761 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
59762 ;
59763 return 0;
59764 }
59765 _ACEOF
59766 if ac_fn_cxx_try_compile "$LINENO"; then :
59767 glibcxx_cv_func__long_double_trig_use=yes
59768 else
59769 glibcxx_cv_func__long_double_trig_use=no
59770 fi
59771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59772 ac_ext=c
59773 ac_cpp='$CPP $CPPFLAGS'
59774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59777
59778 fi
59779
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
59781 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
59782 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
59783 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
59784 do :
59785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59788 cat >>confdefs.h <<_ACEOF
59789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59790 _ACEOF
59791
59792 fi
59793 done
59794
59795 fi
59796 fi
59797
59798
59799
59800
59801
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
59803 $as_echo_n "checking for long double round functions... " >&6; }
59804 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
59805 $as_echo_n "(cached) " >&6
59806 else
59807
59808
59809 ac_ext=cpp
59810 ac_cpp='$CXXCPP $CPPFLAGS'
59811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59814
59815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59816 /* end confdefs.h. */
59817 #include <math.h>
59818 int
59819 main ()
59820 {
59821 ceill (0); floorl (0);
59822 ;
59823 return 0;
59824 }
59825 _ACEOF
59826 if ac_fn_cxx_try_compile "$LINENO"; then :
59827 glibcxx_cv_func_long_double_round_use=yes
59828 else
59829 glibcxx_cv_func_long_double_round_use=no
59830 fi
59831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59832 ac_ext=c
59833 ac_cpp='$CPP $CPPFLAGS'
59834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59837
59838 fi
59839
59840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
59841 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
59842 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
59843 for ac_func in ceill floorl
59844 do :
59845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59847 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59848 cat >>confdefs.h <<_ACEOF
59849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59850 _ACEOF
59851
59852 fi
59853 done
59854
59855 else
59856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
59857 $as_echo_n "checking for _long double round functions... " >&6; }
59858 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
59859 $as_echo_n "(cached) " >&6
59860 else
59861
59862
59863 ac_ext=cpp
59864 ac_cpp='$CXXCPP $CPPFLAGS'
59865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59868
59869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59870 /* end confdefs.h. */
59871 #include <math.h>
59872 int
59873 main ()
59874 {
59875 _ceill (0); _floorl (0);
59876 ;
59877 return 0;
59878 }
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func__long_double_round_use=yes
59882 else
59883 glibcxx_cv_func__long_double_round_use=no
59884 fi
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59886 ac_ext=c
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891
59892 fi
59893
59894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
59895 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
59896 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
59897 for ac_func in _ceill _floorl
59898 do :
59899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59902 cat >>confdefs.h <<_ACEOF
59903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59904 _ACEOF
59905
59906 fi
59907 done
59908
59909 fi
59910 fi
59911
59912
59913
59914
59915
59916
59917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
59918 $as_echo_n "checking for isnanl declaration... " >&6; }
59919 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
59920 if ${glibcxx_cv_func_isnanl_use+:} false; then :
59921 $as_echo_n "(cached) " >&6
59922 else
59923
59924
59925 ac_ext=cpp
59926 ac_cpp='$CXXCPP $CPPFLAGS'
59927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59930
59931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59932 /* end confdefs.h. */
59933 #include <math.h>
59934 #ifdef HAVE_IEEEFP_H
59935 #include <ieeefp.h>
59936 #endif
59937
59938 int
59939 main ()
59940 {
59941 isnanl(0);
59942 ;
59943 return 0;
59944 }
59945 _ACEOF
59946 if ac_fn_cxx_try_compile "$LINENO"; then :
59947 glibcxx_cv_func_isnanl_use=yes
59948 else
59949 glibcxx_cv_func_isnanl_use=no
59950 fi
59951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59952 ac_ext=c
59953 ac_cpp='$CPP $CPPFLAGS'
59954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59957
59958
59959 fi
59960
59961 fi
59962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
59963 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
59964
59965 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
59966 for ac_func in isnanl
59967 do :
59968 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
59969 if test "x$ac_cv_func_isnanl" = xyes; then :
59970 cat >>confdefs.h <<_ACEOF
59971 #define HAVE_ISNANL 1
59972 _ACEOF
59973
59974 fi
59975 done
59976
59977 else
59978
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
59980 $as_echo_n "checking for _isnanl declaration... " >&6; }
59981 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
59982 if ${glibcxx_cv_func__isnanl_use+:} false; then :
59983 $as_echo_n "(cached) " >&6
59984 else
59985
59986
59987 ac_ext=cpp
59988 ac_cpp='$CXXCPP $CPPFLAGS'
59989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59992
59993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59994 /* end confdefs.h. */
59995 #include <math.h>
59996 #ifdef HAVE_IEEEFP_H
59997 #include <ieeefp.h>
59998 #endif
59999
60000 int
60001 main ()
60002 {
60003 _isnanl(0);
60004 ;
60005 return 0;
60006 }
60007 _ACEOF
60008 if ac_fn_cxx_try_compile "$LINENO"; then :
60009 glibcxx_cv_func__isnanl_use=yes
60010 else
60011 glibcxx_cv_func__isnanl_use=no
60012 fi
60013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60014 ac_ext=c
60015 ac_cpp='$CPP $CPPFLAGS'
60016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60019
60020
60021 fi
60022
60023 fi
60024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60025 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60026
60027 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
60028 for ac_func in _isnanl
60029 do :
60030 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
60031 if test "x$ac_cv_func__isnanl" = xyes; then :
60032 cat >>confdefs.h <<_ACEOF
60033 #define HAVE__ISNANL 1
60034 _ACEOF
60035
60036 fi
60037 done
60038
60039 fi
60040 fi
60041
60042
60043
60044
60045
60046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
60047 $as_echo_n "checking for isinfl declaration... " >&6; }
60048 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
60049 if ${glibcxx_cv_func_isinfl_use+:} false; then :
60050 $as_echo_n "(cached) " >&6
60051 else
60052
60053
60054 ac_ext=cpp
60055 ac_cpp='$CXXCPP $CPPFLAGS'
60056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60059
60060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60061 /* end confdefs.h. */
60062 #include <math.h>
60063 #ifdef HAVE_IEEEFP_H
60064 #include <ieeefp.h>
60065 #endif
60066
60067 int
60068 main ()
60069 {
60070 isinfl(0);
60071 ;
60072 return 0;
60073 }
60074 _ACEOF
60075 if ac_fn_cxx_try_compile "$LINENO"; then :
60076 glibcxx_cv_func_isinfl_use=yes
60077 else
60078 glibcxx_cv_func_isinfl_use=no
60079 fi
60080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60081 ac_ext=c
60082 ac_cpp='$CPP $CPPFLAGS'
60083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60086
60087
60088 fi
60089
60090 fi
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
60092 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
60093
60094 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
60095 for ac_func in isinfl
60096 do :
60097 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
60098 if test "x$ac_cv_func_isinfl" = xyes; then :
60099 cat >>confdefs.h <<_ACEOF
60100 #define HAVE_ISINFL 1
60101 _ACEOF
60102
60103 fi
60104 done
60105
60106 else
60107
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
60109 $as_echo_n "checking for _isinfl declaration... " >&6; }
60110 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
60111 if ${glibcxx_cv_func__isinfl_use+:} false; then :
60112 $as_echo_n "(cached) " >&6
60113 else
60114
60115
60116 ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60124 #include <math.h>
60125 #ifdef HAVE_IEEEFP_H
60126 #include <ieeefp.h>
60127 #endif
60128
60129 int
60130 main ()
60131 {
60132 _isinfl(0);
60133 ;
60134 return 0;
60135 }
60136 _ACEOF
60137 if ac_fn_cxx_try_compile "$LINENO"; then :
60138 glibcxx_cv_func__isinfl_use=yes
60139 else
60140 glibcxx_cv_func__isinfl_use=no
60141 fi
60142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60143 ac_ext=c
60144 ac_cpp='$CPP $CPPFLAGS'
60145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60148
60149
60150 fi
60151
60152 fi
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
60154 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
60155
60156 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
60157 for ac_func in _isinfl
60158 do :
60159 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
60160 if test "x$ac_cv_func__isinfl" = xyes; then :
60161 cat >>confdefs.h <<_ACEOF
60162 #define HAVE__ISINFL 1
60163 _ACEOF
60164
60165 fi
60166 done
60167
60168 fi
60169 fi
60170
60171
60172
60173
60174
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
60176 $as_echo_n "checking for atan2l declaration... " >&6; }
60177 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
60178 if ${glibcxx_cv_func_atan2l_use+:} false; then :
60179 $as_echo_n "(cached) " >&6
60180 else
60181
60182
60183 ac_ext=cpp
60184 ac_cpp='$CXXCPP $CPPFLAGS'
60185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60188
60189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60190 /* end confdefs.h. */
60191 #include <math.h>
60192 int
60193 main ()
60194 {
60195 atan2l(0, 0);
60196 ;
60197 return 0;
60198 }
60199 _ACEOF
60200 if ac_fn_cxx_try_compile "$LINENO"; then :
60201 glibcxx_cv_func_atan2l_use=yes
60202 else
60203 glibcxx_cv_func_atan2l_use=no
60204 fi
60205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60206 ac_ext=c
60207 ac_cpp='$CPP $CPPFLAGS'
60208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60211
60212
60213 fi
60214
60215 fi
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
60217 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
60218
60219 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
60220 for ac_func in atan2l
60221 do :
60222 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
60223 if test "x$ac_cv_func_atan2l" = xyes; then :
60224 cat >>confdefs.h <<_ACEOF
60225 #define HAVE_ATAN2L 1
60226 _ACEOF
60227
60228 fi
60229 done
60230
60231 else
60232
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
60234 $as_echo_n "checking for _atan2l declaration... " >&6; }
60235 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
60236 if ${glibcxx_cv_func__atan2l_use+:} false; then :
60237 $as_echo_n "(cached) " >&6
60238 else
60239
60240
60241 ac_ext=cpp
60242 ac_cpp='$CXXCPP $CPPFLAGS'
60243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60246
60247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60248 /* end confdefs.h. */
60249 #include <math.h>
60250 int
60251 main ()
60252 {
60253 _atan2l(0, 0);
60254 ;
60255 return 0;
60256 }
60257 _ACEOF
60258 if ac_fn_cxx_try_compile "$LINENO"; then :
60259 glibcxx_cv_func__atan2l_use=yes
60260 else
60261 glibcxx_cv_func__atan2l_use=no
60262 fi
60263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60264 ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60269
60270
60271 fi
60272
60273 fi
60274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
60275 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
60276
60277 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
60278 for ac_func in _atan2l
60279 do :
60280 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
60281 if test "x$ac_cv_func__atan2l" = xyes; then :
60282 cat >>confdefs.h <<_ACEOF
60283 #define HAVE__ATAN2L 1
60284 _ACEOF
60285
60286 fi
60287 done
60288
60289 fi
60290 fi
60291
60292
60293
60294
60295
60296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
60297 $as_echo_n "checking for expl declaration... " >&6; }
60298 if test x${glibcxx_cv_func_expl_use+set} != xset; then
60299 if ${glibcxx_cv_func_expl_use+:} false; then :
60300 $as_echo_n "(cached) " >&6
60301 else
60302
60303
60304 ac_ext=cpp
60305 ac_cpp='$CXXCPP $CPPFLAGS'
60306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60309
60310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60311 /* end confdefs.h. */
60312 #include <math.h>
60313 #ifdef HAVE_IEEEFP_H
60314 #include <ieeefp.h>
60315 #endif
60316
60317 int
60318 main ()
60319 {
60320 expl(0);
60321 ;
60322 return 0;
60323 }
60324 _ACEOF
60325 if ac_fn_cxx_try_compile "$LINENO"; then :
60326 glibcxx_cv_func_expl_use=yes
60327 else
60328 glibcxx_cv_func_expl_use=no
60329 fi
60330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60331 ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60336
60337
60338 fi
60339
60340 fi
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
60342 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
60343
60344 if test x$glibcxx_cv_func_expl_use = x"yes"; then
60345 for ac_func in expl
60346 do :
60347 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
60348 if test "x$ac_cv_func_expl" = xyes; then :
60349 cat >>confdefs.h <<_ACEOF
60350 #define HAVE_EXPL 1
60351 _ACEOF
60352
60353 fi
60354 done
60355
60356 else
60357
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
60359 $as_echo_n "checking for _expl declaration... " >&6; }
60360 if test x${glibcxx_cv_func__expl_use+set} != xset; then
60361 if ${glibcxx_cv_func__expl_use+:} false; then :
60362 $as_echo_n "(cached) " >&6
60363 else
60364
60365
60366 ac_ext=cpp
60367 ac_cpp='$CXXCPP $CPPFLAGS'
60368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60371
60372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60373 /* end confdefs.h. */
60374 #include <math.h>
60375 #ifdef HAVE_IEEEFP_H
60376 #include <ieeefp.h>
60377 #endif
60378
60379 int
60380 main ()
60381 {
60382 _expl(0);
60383 ;
60384 return 0;
60385 }
60386 _ACEOF
60387 if ac_fn_cxx_try_compile "$LINENO"; then :
60388 glibcxx_cv_func__expl_use=yes
60389 else
60390 glibcxx_cv_func__expl_use=no
60391 fi
60392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60393 ac_ext=c
60394 ac_cpp='$CPP $CPPFLAGS'
60395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60398
60399
60400 fi
60401
60402 fi
60403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
60404 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
60405
60406 if test x$glibcxx_cv_func__expl_use = x"yes"; then
60407 for ac_func in _expl
60408 do :
60409 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
60410 if test "x$ac_cv_func__expl" = xyes; then :
60411 cat >>confdefs.h <<_ACEOF
60412 #define HAVE__EXPL 1
60413 _ACEOF
60414
60415 fi
60416 done
60417
60418 fi
60419 fi
60420
60421
60422
60423
60424
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
60426 $as_echo_n "checking for fabsl declaration... " >&6; }
60427 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
60428 if ${glibcxx_cv_func_fabsl_use+:} false; then :
60429 $as_echo_n "(cached) " >&6
60430 else
60431
60432
60433 ac_ext=cpp
60434 ac_cpp='$CXXCPP $CPPFLAGS'
60435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60438
60439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60440 /* end confdefs.h. */
60441 #include <math.h>
60442 #ifdef HAVE_IEEEFP_H
60443 #include <ieeefp.h>
60444 #endif
60445
60446 int
60447 main ()
60448 {
60449 fabsl(0);
60450 ;
60451 return 0;
60452 }
60453 _ACEOF
60454 if ac_fn_cxx_try_compile "$LINENO"; then :
60455 glibcxx_cv_func_fabsl_use=yes
60456 else
60457 glibcxx_cv_func_fabsl_use=no
60458 fi
60459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60460 ac_ext=c
60461 ac_cpp='$CPP $CPPFLAGS'
60462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60465
60466
60467 fi
60468
60469 fi
60470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
60471 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
60472
60473 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
60474 for ac_func in fabsl
60475 do :
60476 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
60477 if test "x$ac_cv_func_fabsl" = xyes; then :
60478 cat >>confdefs.h <<_ACEOF
60479 #define HAVE_FABSL 1
60480 _ACEOF
60481
60482 fi
60483 done
60484
60485 else
60486
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
60488 $as_echo_n "checking for _fabsl declaration... " >&6; }
60489 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
60490 if ${glibcxx_cv_func__fabsl_use+:} false; then :
60491 $as_echo_n "(cached) " >&6
60492 else
60493
60494
60495 ac_ext=cpp
60496 ac_cpp='$CXXCPP $CPPFLAGS'
60497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60500
60501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60502 /* end confdefs.h. */
60503 #include <math.h>
60504 #ifdef HAVE_IEEEFP_H
60505 #include <ieeefp.h>
60506 #endif
60507
60508 int
60509 main ()
60510 {
60511 _fabsl(0);
60512 ;
60513 return 0;
60514 }
60515 _ACEOF
60516 if ac_fn_cxx_try_compile "$LINENO"; then :
60517 glibcxx_cv_func__fabsl_use=yes
60518 else
60519 glibcxx_cv_func__fabsl_use=no
60520 fi
60521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60522 ac_ext=c
60523 ac_cpp='$CPP $CPPFLAGS'
60524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60527
60528
60529 fi
60530
60531 fi
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
60533 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
60534
60535 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
60536 for ac_func in _fabsl
60537 do :
60538 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
60539 if test "x$ac_cv_func__fabsl" = xyes; then :
60540 cat >>confdefs.h <<_ACEOF
60541 #define HAVE__FABSL 1
60542 _ACEOF
60543
60544 fi
60545 done
60546
60547 fi
60548 fi
60549
60550
60551
60552
60553
60554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
60555 $as_echo_n "checking for fmodl declaration... " >&6; }
60556 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
60557 if ${glibcxx_cv_func_fmodl_use+:} false; then :
60558 $as_echo_n "(cached) " >&6
60559 else
60560
60561
60562 ac_ext=cpp
60563 ac_cpp='$CXXCPP $CPPFLAGS'
60564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60567
60568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60569 /* end confdefs.h. */
60570 #include <math.h>
60571 int
60572 main ()
60573 {
60574 fmodl(0, 0);
60575 ;
60576 return 0;
60577 }
60578 _ACEOF
60579 if ac_fn_cxx_try_compile "$LINENO"; then :
60580 glibcxx_cv_func_fmodl_use=yes
60581 else
60582 glibcxx_cv_func_fmodl_use=no
60583 fi
60584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60585 ac_ext=c
60586 ac_cpp='$CPP $CPPFLAGS'
60587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60590
60591
60592 fi
60593
60594 fi
60595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
60596 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
60597
60598 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
60599 for ac_func in fmodl
60600 do :
60601 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
60602 if test "x$ac_cv_func_fmodl" = xyes; then :
60603 cat >>confdefs.h <<_ACEOF
60604 #define HAVE_FMODL 1
60605 _ACEOF
60606
60607 fi
60608 done
60609
60610 else
60611
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
60613 $as_echo_n "checking for _fmodl declaration... " >&6; }
60614 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
60615 if ${glibcxx_cv_func__fmodl_use+:} false; then :
60616 $as_echo_n "(cached) " >&6
60617 else
60618
60619
60620 ac_ext=cpp
60621 ac_cpp='$CXXCPP $CPPFLAGS'
60622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60625
60626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60627 /* end confdefs.h. */
60628 #include <math.h>
60629 int
60630 main ()
60631 {
60632 _fmodl(0, 0);
60633 ;
60634 return 0;
60635 }
60636 _ACEOF
60637 if ac_fn_cxx_try_compile "$LINENO"; then :
60638 glibcxx_cv_func__fmodl_use=yes
60639 else
60640 glibcxx_cv_func__fmodl_use=no
60641 fi
60642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60643 ac_ext=c
60644 ac_cpp='$CPP $CPPFLAGS'
60645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60648
60649
60650 fi
60651
60652 fi
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
60654 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
60655
60656 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
60657 for ac_func in _fmodl
60658 do :
60659 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
60660 if test "x$ac_cv_func__fmodl" = xyes; then :
60661 cat >>confdefs.h <<_ACEOF
60662 #define HAVE__FMODL 1
60663 _ACEOF
60664
60665 fi
60666 done
60667
60668 fi
60669 fi
60670
60671
60672
60673
60674
60675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
60676 $as_echo_n "checking for frexpl declaration... " >&6; }
60677 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
60678 if ${glibcxx_cv_func_frexpl_use+:} false; then :
60679 $as_echo_n "(cached) " >&6
60680 else
60681
60682
60683 ac_ext=cpp
60684 ac_cpp='$CXXCPP $CPPFLAGS'
60685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60688
60689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60690 /* end confdefs.h. */
60691 #include <math.h>
60692 int
60693 main ()
60694 {
60695 frexpl(0, 0);
60696 ;
60697 return 0;
60698 }
60699 _ACEOF
60700 if ac_fn_cxx_try_compile "$LINENO"; then :
60701 glibcxx_cv_func_frexpl_use=yes
60702 else
60703 glibcxx_cv_func_frexpl_use=no
60704 fi
60705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60706 ac_ext=c
60707 ac_cpp='$CPP $CPPFLAGS'
60708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60711
60712
60713 fi
60714
60715 fi
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
60717 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
60718
60719 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
60720 for ac_func in frexpl
60721 do :
60722 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
60723 if test "x$ac_cv_func_frexpl" = xyes; then :
60724 cat >>confdefs.h <<_ACEOF
60725 #define HAVE_FREXPL 1
60726 _ACEOF
60727
60728 fi
60729 done
60730
60731 else
60732
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
60734 $as_echo_n "checking for _frexpl declaration... " >&6; }
60735 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
60736 if ${glibcxx_cv_func__frexpl_use+:} false; then :
60737 $as_echo_n "(cached) " >&6
60738 else
60739
60740
60741 ac_ext=cpp
60742 ac_cpp='$CXXCPP $CPPFLAGS'
60743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60746
60747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60748 /* end confdefs.h. */
60749 #include <math.h>
60750 int
60751 main ()
60752 {
60753 _frexpl(0, 0);
60754 ;
60755 return 0;
60756 }
60757 _ACEOF
60758 if ac_fn_cxx_try_compile "$LINENO"; then :
60759 glibcxx_cv_func__frexpl_use=yes
60760 else
60761 glibcxx_cv_func__frexpl_use=no
60762 fi
60763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60764 ac_ext=c
60765 ac_cpp='$CPP $CPPFLAGS'
60766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60769
60770
60771 fi
60772
60773 fi
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
60775 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
60776
60777 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
60778 for ac_func in _frexpl
60779 do :
60780 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
60781 if test "x$ac_cv_func__frexpl" = xyes; then :
60782 cat >>confdefs.h <<_ACEOF
60783 #define HAVE__FREXPL 1
60784 _ACEOF
60785
60786 fi
60787 done
60788
60789 fi
60790 fi
60791
60792
60793
60794
60795
60796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
60797 $as_echo_n "checking for hypotl declaration... " >&6; }
60798 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
60799 if ${glibcxx_cv_func_hypotl_use+:} false; then :
60800 $as_echo_n "(cached) " >&6
60801 else
60802
60803
60804 ac_ext=cpp
60805 ac_cpp='$CXXCPP $CPPFLAGS'
60806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60809
60810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60811 /* end confdefs.h. */
60812 #include <math.h>
60813 int
60814 main ()
60815 {
60816 hypotl(0, 0);
60817 ;
60818 return 0;
60819 }
60820 _ACEOF
60821 if ac_fn_cxx_try_compile "$LINENO"; then :
60822 glibcxx_cv_func_hypotl_use=yes
60823 else
60824 glibcxx_cv_func_hypotl_use=no
60825 fi
60826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60827 ac_ext=c
60828 ac_cpp='$CPP $CPPFLAGS'
60829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60832
60833
60834 fi
60835
60836 fi
60837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
60838 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
60839
60840 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
60841 for ac_func in hypotl
60842 do :
60843 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
60844 if test "x$ac_cv_func_hypotl" = xyes; then :
60845 cat >>confdefs.h <<_ACEOF
60846 #define HAVE_HYPOTL 1
60847 _ACEOF
60848
60849 fi
60850 done
60851
60852 else
60853
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
60855 $as_echo_n "checking for _hypotl declaration... " >&6; }
60856 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
60857 if ${glibcxx_cv_func__hypotl_use+:} false; then :
60858 $as_echo_n "(cached) " >&6
60859 else
60860
60861
60862 ac_ext=cpp
60863 ac_cpp='$CXXCPP $CPPFLAGS'
60864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60867
60868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60869 /* end confdefs.h. */
60870 #include <math.h>
60871 int
60872 main ()
60873 {
60874 _hypotl(0, 0);
60875 ;
60876 return 0;
60877 }
60878 _ACEOF
60879 if ac_fn_cxx_try_compile "$LINENO"; then :
60880 glibcxx_cv_func__hypotl_use=yes
60881 else
60882 glibcxx_cv_func__hypotl_use=no
60883 fi
60884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60885 ac_ext=c
60886 ac_cpp='$CPP $CPPFLAGS'
60887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60890
60891
60892 fi
60893
60894 fi
60895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
60896 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
60897
60898 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
60899 for ac_func in _hypotl
60900 do :
60901 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
60902 if test "x$ac_cv_func__hypotl" = xyes; then :
60903 cat >>confdefs.h <<_ACEOF
60904 #define HAVE__HYPOTL 1
60905 _ACEOF
60906
60907 fi
60908 done
60909
60910 fi
60911 fi
60912
60913
60914
60915
60916
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
60918 $as_echo_n "checking for ldexpl declaration... " >&6; }
60919 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
60920 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
60921 $as_echo_n "(cached) " >&6
60922 else
60923
60924
60925 ac_ext=cpp
60926 ac_cpp='$CXXCPP $CPPFLAGS'
60927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60930
60931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60932 /* end confdefs.h. */
60933 #include <math.h>
60934 int
60935 main ()
60936 {
60937 ldexpl(0, 0);
60938 ;
60939 return 0;
60940 }
60941 _ACEOF
60942 if ac_fn_cxx_try_compile "$LINENO"; then :
60943 glibcxx_cv_func_ldexpl_use=yes
60944 else
60945 glibcxx_cv_func_ldexpl_use=no
60946 fi
60947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60948 ac_ext=c
60949 ac_cpp='$CPP $CPPFLAGS'
60950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60953
60954
60955 fi
60956
60957 fi
60958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
60959 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
60960
60961 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
60962 for ac_func in ldexpl
60963 do :
60964 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
60965 if test "x$ac_cv_func_ldexpl" = xyes; then :
60966 cat >>confdefs.h <<_ACEOF
60967 #define HAVE_LDEXPL 1
60968 _ACEOF
60969
60970 fi
60971 done
60972
60973 else
60974
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
60976 $as_echo_n "checking for _ldexpl declaration... " >&6; }
60977 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
60978 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
60979 $as_echo_n "(cached) " >&6
60980 else
60981
60982
60983 ac_ext=cpp
60984 ac_cpp='$CXXCPP $CPPFLAGS'
60985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60988
60989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60990 /* end confdefs.h. */
60991 #include <math.h>
60992 int
60993 main ()
60994 {
60995 _ldexpl(0, 0);
60996 ;
60997 return 0;
60998 }
60999 _ACEOF
61000 if ac_fn_cxx_try_compile "$LINENO"; then :
61001 glibcxx_cv_func__ldexpl_use=yes
61002 else
61003 glibcxx_cv_func__ldexpl_use=no
61004 fi
61005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61006 ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61011
61012
61013 fi
61014
61015 fi
61016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61017 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61018
61019 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61020 for ac_func in _ldexpl
61021 do :
61022 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61023 if test "x$ac_cv_func__ldexpl" = xyes; then :
61024 cat >>confdefs.h <<_ACEOF
61025 #define HAVE__LDEXPL 1
61026 _ACEOF
61027
61028 fi
61029 done
61030
61031 fi
61032 fi
61033
61034
61035
61036
61037
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
61039 $as_echo_n "checking for logl declaration... " >&6; }
61040 if test x${glibcxx_cv_func_logl_use+set} != xset; then
61041 if ${glibcxx_cv_func_logl_use+:} false; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61044
61045
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61051
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61055 #ifdef HAVE_IEEEFP_H
61056 #include <ieeefp.h>
61057 #endif
61058
61059 int
61060 main ()
61061 {
61062 logl(0);
61063 ;
61064 return 0;
61065 }
61066 _ACEOF
61067 if ac_fn_cxx_try_compile "$LINENO"; then :
61068 glibcxx_cv_func_logl_use=yes
61069 else
61070 glibcxx_cv_func_logl_use=no
61071 fi
61072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61073 ac_ext=c
61074 ac_cpp='$CPP $CPPFLAGS'
61075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61078
61079
61080 fi
61081
61082 fi
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
61084 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
61085
61086 if test x$glibcxx_cv_func_logl_use = x"yes"; then
61087 for ac_func in logl
61088 do :
61089 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
61090 if test "x$ac_cv_func_logl" = xyes; then :
61091 cat >>confdefs.h <<_ACEOF
61092 #define HAVE_LOGL 1
61093 _ACEOF
61094
61095 fi
61096 done
61097
61098 else
61099
61100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
61101 $as_echo_n "checking for _logl declaration... " >&6; }
61102 if test x${glibcxx_cv_func__logl_use+set} != xset; then
61103 if ${glibcxx_cv_func__logl_use+:} false; then :
61104 $as_echo_n "(cached) " >&6
61105 else
61106
61107
61108 ac_ext=cpp
61109 ac_cpp='$CXXCPP $CPPFLAGS'
61110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61113
61114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61115 /* end confdefs.h. */
61116 #include <math.h>
61117 #ifdef HAVE_IEEEFP_H
61118 #include <ieeefp.h>
61119 #endif
61120
61121 int
61122 main ()
61123 {
61124 _logl(0);
61125 ;
61126 return 0;
61127 }
61128 _ACEOF
61129 if ac_fn_cxx_try_compile "$LINENO"; then :
61130 glibcxx_cv_func__logl_use=yes
61131 else
61132 glibcxx_cv_func__logl_use=no
61133 fi
61134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61140
61141
61142 fi
61143
61144 fi
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
61146 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
61147
61148 if test x$glibcxx_cv_func__logl_use = x"yes"; then
61149 for ac_func in _logl
61150 do :
61151 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
61152 if test "x$ac_cv_func__logl" = xyes; then :
61153 cat >>confdefs.h <<_ACEOF
61154 #define HAVE__LOGL 1
61155 _ACEOF
61156
61157 fi
61158 done
61159
61160 fi
61161 fi
61162
61163
61164
61165
61166
61167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
61168 $as_echo_n "checking for log10l declaration... " >&6; }
61169 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
61170 if ${glibcxx_cv_func_log10l_use+:} false; then :
61171 $as_echo_n "(cached) " >&6
61172 else
61173
61174
61175 ac_ext=cpp
61176 ac_cpp='$CXXCPP $CPPFLAGS'
61177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61180
61181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61182 /* end confdefs.h. */
61183 #include <math.h>
61184 #ifdef HAVE_IEEEFP_H
61185 #include <ieeefp.h>
61186 #endif
61187
61188 int
61189 main ()
61190 {
61191 log10l(0);
61192 ;
61193 return 0;
61194 }
61195 _ACEOF
61196 if ac_fn_cxx_try_compile "$LINENO"; then :
61197 glibcxx_cv_func_log10l_use=yes
61198 else
61199 glibcxx_cv_func_log10l_use=no
61200 fi
61201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61202 ac_ext=c
61203 ac_cpp='$CPP $CPPFLAGS'
61204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61207
61208
61209 fi
61210
61211 fi
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
61213 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
61214
61215 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
61216 for ac_func in log10l
61217 do :
61218 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
61219 if test "x$ac_cv_func_log10l" = xyes; then :
61220 cat >>confdefs.h <<_ACEOF
61221 #define HAVE_LOG10L 1
61222 _ACEOF
61223
61224 fi
61225 done
61226
61227 else
61228
61229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
61230 $as_echo_n "checking for _log10l declaration... " >&6; }
61231 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
61232 if ${glibcxx_cv_func__log10l_use+:} false; then :
61233 $as_echo_n "(cached) " >&6
61234 else
61235
61236
61237 ac_ext=cpp
61238 ac_cpp='$CXXCPP $CPPFLAGS'
61239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61242
61243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61244 /* end confdefs.h. */
61245 #include <math.h>
61246 #ifdef HAVE_IEEEFP_H
61247 #include <ieeefp.h>
61248 #endif
61249
61250 int
61251 main ()
61252 {
61253 _log10l(0);
61254 ;
61255 return 0;
61256 }
61257 _ACEOF
61258 if ac_fn_cxx_try_compile "$LINENO"; then :
61259 glibcxx_cv_func__log10l_use=yes
61260 else
61261 glibcxx_cv_func__log10l_use=no
61262 fi
61263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61264 ac_ext=c
61265 ac_cpp='$CPP $CPPFLAGS'
61266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61269
61270
61271 fi
61272
61273 fi
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
61275 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
61276
61277 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
61278 for ac_func in _log10l
61279 do :
61280 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
61281 if test "x$ac_cv_func__log10l" = xyes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define HAVE__LOG10L 1
61284 _ACEOF
61285
61286 fi
61287 done
61288
61289 fi
61290 fi
61291
61292
61293
61294
61295
61296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
61297 $as_echo_n "checking for modfl declaration... " >&6; }
61298 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
61299 if ${glibcxx_cv_func_modfl_use+:} false; then :
61300 $as_echo_n "(cached) " >&6
61301 else
61302
61303
61304 ac_ext=cpp
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61309
61310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61311 /* end confdefs.h. */
61312 #include <math.h>
61313 int
61314 main ()
61315 {
61316 modfl(0, 0);
61317 ;
61318 return 0;
61319 }
61320 _ACEOF
61321 if ac_fn_cxx_try_compile "$LINENO"; then :
61322 glibcxx_cv_func_modfl_use=yes
61323 else
61324 glibcxx_cv_func_modfl_use=no
61325 fi
61326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61327 ac_ext=c
61328 ac_cpp='$CPP $CPPFLAGS'
61329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61332
61333
61334 fi
61335
61336 fi
61337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
61338 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
61339
61340 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
61341 for ac_func in modfl
61342 do :
61343 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
61344 if test "x$ac_cv_func_modfl" = xyes; then :
61345 cat >>confdefs.h <<_ACEOF
61346 #define HAVE_MODFL 1
61347 _ACEOF
61348
61349 fi
61350 done
61351
61352 else
61353
61354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
61355 $as_echo_n "checking for _modfl declaration... " >&6; }
61356 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
61357 if ${glibcxx_cv_func__modfl_use+:} false; then :
61358 $as_echo_n "(cached) " >&6
61359 else
61360
61361
61362 ac_ext=cpp
61363 ac_cpp='$CXXCPP $CPPFLAGS'
61364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61367
61368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61369 /* end confdefs.h. */
61370 #include <math.h>
61371 int
61372 main ()
61373 {
61374 _modfl(0, 0);
61375 ;
61376 return 0;
61377 }
61378 _ACEOF
61379 if ac_fn_cxx_try_compile "$LINENO"; then :
61380 glibcxx_cv_func__modfl_use=yes
61381 else
61382 glibcxx_cv_func__modfl_use=no
61383 fi
61384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61385 ac_ext=c
61386 ac_cpp='$CPP $CPPFLAGS'
61387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61390
61391
61392 fi
61393
61394 fi
61395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
61396 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
61397
61398 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
61399 for ac_func in _modfl
61400 do :
61401 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
61402 if test "x$ac_cv_func__modfl" = xyes; then :
61403 cat >>confdefs.h <<_ACEOF
61404 #define HAVE__MODFL 1
61405 _ACEOF
61406
61407 fi
61408 done
61409
61410 fi
61411 fi
61412
61413
61414
61415
61416
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
61418 $as_echo_n "checking for powl declaration... " >&6; }
61419 if test x${glibcxx_cv_func_powl_use+set} != xset; then
61420 if ${glibcxx_cv_func_powl_use+:} false; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61423
61424
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61430
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61434 int
61435 main ()
61436 {
61437 powl(0, 0);
61438 ;
61439 return 0;
61440 }
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443 glibcxx_cv_func_powl_use=yes
61444 else
61445 glibcxx_cv_func_powl_use=no
61446 fi
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448 ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453
61454
61455 fi
61456
61457 fi
61458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
61459 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
61460
61461 if test x$glibcxx_cv_func_powl_use = x"yes"; then
61462 for ac_func in powl
61463 do :
61464 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
61465 if test "x$ac_cv_func_powl" = xyes; then :
61466 cat >>confdefs.h <<_ACEOF
61467 #define HAVE_POWL 1
61468 _ACEOF
61469
61470 fi
61471 done
61472
61473 else
61474
61475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
61476 $as_echo_n "checking for _powl declaration... " >&6; }
61477 if test x${glibcxx_cv_func__powl_use+set} != xset; then
61478 if ${glibcxx_cv_func__powl_use+:} false; then :
61479 $as_echo_n "(cached) " >&6
61480 else
61481
61482
61483 ac_ext=cpp
61484 ac_cpp='$CXXCPP $CPPFLAGS'
61485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61488
61489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61490 /* end confdefs.h. */
61491 #include <math.h>
61492 int
61493 main ()
61494 {
61495 _powl(0, 0);
61496 ;
61497 return 0;
61498 }
61499 _ACEOF
61500 if ac_fn_cxx_try_compile "$LINENO"; then :
61501 glibcxx_cv_func__powl_use=yes
61502 else
61503 glibcxx_cv_func__powl_use=no
61504 fi
61505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61506 ac_ext=c
61507 ac_cpp='$CPP $CPPFLAGS'
61508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61511
61512
61513 fi
61514
61515 fi
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
61517 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
61518
61519 if test x$glibcxx_cv_func__powl_use = x"yes"; then
61520 for ac_func in _powl
61521 do :
61522 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
61523 if test "x$ac_cv_func__powl" = xyes; then :
61524 cat >>confdefs.h <<_ACEOF
61525 #define HAVE__POWL 1
61526 _ACEOF
61527
61528 fi
61529 done
61530
61531 fi
61532 fi
61533
61534
61535
61536
61537
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
61539 $as_echo_n "checking for sqrtl declaration... " >&6; }
61540 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
61541 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
61542 $as_echo_n "(cached) " >&6
61543 else
61544
61545
61546 ac_ext=cpp
61547 ac_cpp='$CXXCPP $CPPFLAGS'
61548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61551
61552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61553 /* end confdefs.h. */
61554 #include <math.h>
61555 #ifdef HAVE_IEEEFP_H
61556 #include <ieeefp.h>
61557 #endif
61558
61559 int
61560 main ()
61561 {
61562 sqrtl(0);
61563 ;
61564 return 0;
61565 }
61566 _ACEOF
61567 if ac_fn_cxx_try_compile "$LINENO"; then :
61568 glibcxx_cv_func_sqrtl_use=yes
61569 else
61570 glibcxx_cv_func_sqrtl_use=no
61571 fi
61572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61578
61579
61580 fi
61581
61582 fi
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
61584 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
61585
61586 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
61587 for ac_func in sqrtl
61588 do :
61589 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
61590 if test "x$ac_cv_func_sqrtl" = xyes; then :
61591 cat >>confdefs.h <<_ACEOF
61592 #define HAVE_SQRTL 1
61593 _ACEOF
61594
61595 fi
61596 done
61597
61598 else
61599
61600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
61601 $as_echo_n "checking for _sqrtl declaration... " >&6; }
61602 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
61603 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
61604 $as_echo_n "(cached) " >&6
61605 else
61606
61607
61608 ac_ext=cpp
61609 ac_cpp='$CXXCPP $CPPFLAGS'
61610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61613
61614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61615 /* end confdefs.h. */
61616 #include <math.h>
61617 #ifdef HAVE_IEEEFP_H
61618 #include <ieeefp.h>
61619 #endif
61620
61621 int
61622 main ()
61623 {
61624 _sqrtl(0);
61625 ;
61626 return 0;
61627 }
61628 _ACEOF
61629 if ac_fn_cxx_try_compile "$LINENO"; then :
61630 glibcxx_cv_func__sqrtl_use=yes
61631 else
61632 glibcxx_cv_func__sqrtl_use=no
61633 fi
61634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61640
61641
61642 fi
61643
61644 fi
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
61646 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
61647
61648 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
61649 for ac_func in _sqrtl
61650 do :
61651 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
61652 if test "x$ac_cv_func__sqrtl" = xyes; then :
61653 cat >>confdefs.h <<_ACEOF
61654 #define HAVE__SQRTL 1
61655 _ACEOF
61656
61657 fi
61658 done
61659
61660 fi
61661 fi
61662
61663
61664
61665
61666
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
61668 $as_echo_n "checking for sincosl declaration... " >&6; }
61669 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
61670 if ${glibcxx_cv_func_sincosl_use+:} false; then :
61671 $as_echo_n "(cached) " >&6
61672 else
61673
61674
61675 ac_ext=cpp
61676 ac_cpp='$CXXCPP $CPPFLAGS'
61677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61680
61681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61682 /* end confdefs.h. */
61683 #include <math.h>
61684 int
61685 main ()
61686 {
61687 sincosl(0, 0, 0);
61688 ;
61689 return 0;
61690 }
61691 _ACEOF
61692 if ac_fn_cxx_try_compile "$LINENO"; then :
61693 glibcxx_cv_func_sincosl_use=yes
61694 else
61695 glibcxx_cv_func_sincosl_use=no
61696 fi
61697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61698 ac_ext=c
61699 ac_cpp='$CPP $CPPFLAGS'
61700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61703
61704
61705 fi
61706
61707 fi
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
61709 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
61710
61711 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
61712 for ac_func in sincosl
61713 do :
61714 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
61715 if test "x$ac_cv_func_sincosl" = xyes; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define HAVE_SINCOSL 1
61718 _ACEOF
61719
61720 fi
61721 done
61722
61723 else
61724
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
61726 $as_echo_n "checking for _sincosl declaration... " >&6; }
61727 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
61728 if ${glibcxx_cv_func__sincosl_use+:} false; then :
61729 $as_echo_n "(cached) " >&6
61730 else
61731
61732
61733 ac_ext=cpp
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61738
61739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61740 /* end confdefs.h. */
61741 #include <math.h>
61742 int
61743 main ()
61744 {
61745 _sincosl(0, 0, 0);
61746 ;
61747 return 0;
61748 }
61749 _ACEOF
61750 if ac_fn_cxx_try_compile "$LINENO"; then :
61751 glibcxx_cv_func__sincosl_use=yes
61752 else
61753 glibcxx_cv_func__sincosl_use=no
61754 fi
61755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61756 ac_ext=c
61757 ac_cpp='$CPP $CPPFLAGS'
61758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61761
61762
61763 fi
61764
61765 fi
61766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
61767 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
61768
61769 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
61770 for ac_func in _sincosl
61771 do :
61772 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
61773 if test "x$ac_cv_func__sincosl" = xyes; then :
61774 cat >>confdefs.h <<_ACEOF
61775 #define HAVE__SINCOSL 1
61776 _ACEOF
61777
61778 fi
61779 done
61780
61781 fi
61782 fi
61783
61784
61785
61786
61787
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
61789 $as_echo_n "checking for finitel declaration... " >&6; }
61790 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61791 if ${glibcxx_cv_func_finitel_use+:} false; then :
61792 $as_echo_n "(cached) " >&6
61793 else
61794
61795
61796 ac_ext=cpp
61797 ac_cpp='$CXXCPP $CPPFLAGS'
61798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61801
61802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61803 /* end confdefs.h. */
61804 #include <math.h>
61805 #ifdef HAVE_IEEEFP_H
61806 #include <ieeefp.h>
61807 #endif
61808
61809 int
61810 main ()
61811 {
61812 finitel(0);
61813 ;
61814 return 0;
61815 }
61816 _ACEOF
61817 if ac_fn_cxx_try_compile "$LINENO"; then :
61818 glibcxx_cv_func_finitel_use=yes
61819 else
61820 glibcxx_cv_func_finitel_use=no
61821 fi
61822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61823 ac_ext=c
61824 ac_cpp='$CPP $CPPFLAGS'
61825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61828
61829
61830 fi
61831
61832 fi
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
61834 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
61835
61836 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61837 for ac_func in finitel
61838 do :
61839 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
61840 if test "x$ac_cv_func_finitel" = xyes; then :
61841 cat >>confdefs.h <<_ACEOF
61842 #define HAVE_FINITEL 1
61843 _ACEOF
61844
61845 fi
61846 done
61847
61848 else
61849
61850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
61851 $as_echo_n "checking for _finitel declaration... " >&6; }
61852 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61853 if ${glibcxx_cv_func__finitel_use+:} false; then :
61854 $as_echo_n "(cached) " >&6
61855 else
61856
61857
61858 ac_ext=cpp
61859 ac_cpp='$CXXCPP $CPPFLAGS'
61860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61863
61864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61865 /* end confdefs.h. */
61866 #include <math.h>
61867 #ifdef HAVE_IEEEFP_H
61868 #include <ieeefp.h>
61869 #endif
61870
61871 int
61872 main ()
61873 {
61874 _finitel(0);
61875 ;
61876 return 0;
61877 }
61878 _ACEOF
61879 if ac_fn_cxx_try_compile "$LINENO"; then :
61880 glibcxx_cv_func__finitel_use=yes
61881 else
61882 glibcxx_cv_func__finitel_use=no
61883 fi
61884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61885 ac_ext=c
61886 ac_cpp='$CPP $CPPFLAGS'
61887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61890
61891
61892 fi
61893
61894 fi
61895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
61896 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
61897
61898 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61899 for ac_func in _finitel
61900 do :
61901 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
61902 if test "x$ac_cv_func__finitel" = xyes; then :
61903 cat >>confdefs.h <<_ACEOF
61904 #define HAVE__FINITEL 1
61905 _ACEOF
61906
61907 fi
61908 done
61909
61910 fi
61911 fi
61912
61913
61914
61915
61916 LIBS="$ac_save_LIBS"
61917 CXXFLAGS="$ac_save_CXXFLAGS"
61918
61919
61920 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61921 ac_save_CXXFLAGS="$CXXFLAGS"
61922 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61923
61924
61925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
61926 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
61927 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
61928 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
61929 $as_echo_n "(cached) " >&6
61930 else
61931
61932
61933 ac_ext=cpp
61934 ac_cpp='$CXXCPP $CPPFLAGS'
61935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61938
61939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61940 /* end confdefs.h. */
61941 #include <stdlib.h>
61942 int
61943 main ()
61944 {
61945 at_quick_exit(0);
61946 ;
61947 return 0;
61948 }
61949 _ACEOF
61950 if ac_fn_cxx_try_compile "$LINENO"; then :
61951 glibcxx_cv_func_at_quick_exit_use=yes
61952 else
61953 glibcxx_cv_func_at_quick_exit_use=no
61954 fi
61955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61956 ac_ext=c
61957 ac_cpp='$CPP $CPPFLAGS'
61958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61961
61962
61963 fi
61964
61965 fi
61966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
61967 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
61968 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
61969 for ac_func in at_quick_exit
61970 do :
61971 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
61972 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
61973 cat >>confdefs.h <<_ACEOF
61974 #define HAVE_AT_QUICK_EXIT 1
61975 _ACEOF
61976
61977 fi
61978 done
61979
61980 fi
61981
61982
61983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
61984 $as_echo_n "checking for quick_exit declaration... " >&6; }
61985 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
61986 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
61987 $as_echo_n "(cached) " >&6
61988 else
61989
61990
61991 ac_ext=cpp
61992 ac_cpp='$CXXCPP $CPPFLAGS'
61993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61996
61997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61998 /* end confdefs.h. */
61999 #include <stdlib.h>
62000 int
62001 main ()
62002 {
62003 quick_exit(0);
62004 ;
62005 return 0;
62006 }
62007 _ACEOF
62008 if ac_fn_cxx_try_compile "$LINENO"; then :
62009 glibcxx_cv_func_quick_exit_use=yes
62010 else
62011 glibcxx_cv_func_quick_exit_use=no
62012 fi
62013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62014 ac_ext=c
62015 ac_cpp='$CPP $CPPFLAGS'
62016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62019
62020
62021 fi
62022
62023 fi
62024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
62025 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
62026 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
62027 for ac_func in quick_exit
62028 do :
62029 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
62030 if test "x$ac_cv_func_quick_exit" = xyes; then :
62031 cat >>confdefs.h <<_ACEOF
62032 #define HAVE_QUICK_EXIT 1
62033 _ACEOF
62034
62035 fi
62036 done
62037
62038 fi
62039
62040
62041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62042 $as_echo_n "checking for strtold declaration... " >&6; }
62043 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62044 if ${glibcxx_cv_func_strtold_use+:} false; then :
62045 $as_echo_n "(cached) " >&6
62046 else
62047
62048
62049 ac_ext=cpp
62050 ac_cpp='$CXXCPP $CPPFLAGS'
62051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62054
62055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62056 /* end confdefs.h. */
62057 #include <stdlib.h>
62058 int
62059 main ()
62060 {
62061 strtold(0, 0);
62062 ;
62063 return 0;
62064 }
62065 _ACEOF
62066 if ac_fn_cxx_try_compile "$LINENO"; then :
62067 glibcxx_cv_func_strtold_use=yes
62068 else
62069 glibcxx_cv_func_strtold_use=no
62070 fi
62071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62072 ac_ext=c
62073 ac_cpp='$CPP $CPPFLAGS'
62074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62077
62078
62079 fi
62080
62081 fi
62082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62083 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62084 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62085 for ac_func in strtold
62086 do :
62087 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62088 if test "x$ac_cv_func_strtold" = xyes; then :
62089 cat >>confdefs.h <<_ACEOF
62090 #define HAVE_STRTOLD 1
62091 _ACEOF
62092
62093 fi
62094 done
62095
62096 fi
62097
62098
62099
62100
62101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62102 $as_echo_n "checking for strtof declaration... " >&6; }
62103 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62104 if ${glibcxx_cv_func_strtof_use+:} false; then :
62105 $as_echo_n "(cached) " >&6
62106 else
62107
62108
62109 ac_ext=cpp
62110 ac_cpp='$CXXCPP $CPPFLAGS'
62111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62114
62115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62116 /* end confdefs.h. */
62117 #include <stdlib.h>
62118 int
62119 main ()
62120 {
62121 strtof(0, 0);
62122 ;
62123 return 0;
62124 }
62125 _ACEOF
62126 if ac_fn_cxx_try_compile "$LINENO"; then :
62127 glibcxx_cv_func_strtof_use=yes
62128 else
62129 glibcxx_cv_func_strtof_use=no
62130 fi
62131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62132 ac_ext=c
62133 ac_cpp='$CPP $CPPFLAGS'
62134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62137
62138
62139 fi
62140
62141 fi
62142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62143 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
62144 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62145 for ac_func in strtof
62146 do :
62147 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
62148 if test "x$ac_cv_func_strtof" = xyes; then :
62149 cat >>confdefs.h <<_ACEOF
62150 #define HAVE_STRTOF 1
62151 _ACEOF
62152
62153 fi
62154 done
62155
62156 fi
62157
62158
62159
62160
62161 CXXFLAGS="$ac_save_CXXFLAGS"
62162
62163 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62164 do :
62165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62168 cat >>confdefs.h <<_ACEOF
62169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62170 _ACEOF
62171
62172 fi
62173 done
62174
62175 for ac_func in _wfopen
62176 do :
62177 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
62178 if test "x$ac_cv_func__wfopen" = xyes; then :
62179 cat >>confdefs.h <<_ACEOF
62180 #define HAVE__WFOPEN 1
62181 _ACEOF
62182
62183 fi
62184 done
62185
62186
62187
62188 # Check whether --enable-tls was given.
62189 if test "${enable_tls+set}" = set; then :
62190 enableval=$enable_tls;
62191 case "$enableval" in
62192 yes|no) ;;
62193 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
62194 esac
62195
62196 else
62197 enable_tls=yes
62198 fi
62199
62200
62201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
62202 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
62203 if ${gcc_cv_have_tls+:} false; then :
62204 $as_echo_n "(cached) " >&6
62205 else
62206
62207 if test "$cross_compiling" = yes; then :
62208 if test x$gcc_no_link = xyes; then
62209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62210 fi
62211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62212 /* end confdefs.h. */
62213 __thread int a; int b; int main() { return a = b; }
62214 _ACEOF
62215 if ac_fn_c_try_link "$LINENO"; then :
62216 chktls_save_LDFLAGS="$LDFLAGS"
62217 case $host in
62218 *-*-linux* | -*-uclinuxfdpic*)
62219 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
62220 ;;
62221 esac
62222 chktls_save_CFLAGS="$CFLAGS"
62223 CFLAGS="-fPIC $CFLAGS"
62224 if test x$gcc_no_link = xyes; then
62225 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62226 fi
62227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62228 /* end confdefs.h. */
62229 int f() { return 0; }
62230 _ACEOF
62231 if ac_fn_c_try_link "$LINENO"; then :
62232 if test x$gcc_no_link = xyes; then
62233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62234 fi
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 __thread int a; int b; int f() { return a = b; }
62238 _ACEOF
62239 if ac_fn_c_try_link "$LINENO"; then :
62240 gcc_cv_have_tls=yes
62241 else
62242 gcc_cv_have_tls=no
62243 fi
62244 rm -f core conftest.err conftest.$ac_objext \
62245 conftest$ac_exeext conftest.$ac_ext
62246 else
62247 gcc_cv_have_tls=yes
62248 fi
62249 rm -f core conftest.err conftest.$ac_objext \
62250 conftest$ac_exeext conftest.$ac_ext
62251 CFLAGS="$chktls_save_CFLAGS"
62252 LDFLAGS="$chktls_save_LDFLAGS"
62253 else
62254 gcc_cv_have_tls=no
62255 fi
62256 rm -f core conftest.err conftest.$ac_objext \
62257 conftest$ac_exeext conftest.$ac_ext
62258
62259
62260 else
62261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62262 /* end confdefs.h. */
62263 __thread int a; int b; int main() { return a = b; }
62264 _ACEOF
62265 if ac_fn_c_try_run "$LINENO"; then :
62266 chktls_save_LDFLAGS="$LDFLAGS"
62267 LDFLAGS="-static $LDFLAGS"
62268 if test x$gcc_no_link = xyes; then
62269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62270 fi
62271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62272 /* end confdefs.h. */
62273 int main() { return 0; }
62274 _ACEOF
62275 if ac_fn_c_try_link "$LINENO"; then :
62276 if test "$cross_compiling" = yes; then :
62277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62279 as_fn_error $? "cannot run test program while cross compiling
62280 See \`config.log' for more details" "$LINENO" 5; }
62281 else
62282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62283 /* end confdefs.h. */
62284 __thread int a; int b; int main() { return a = b; }
62285 _ACEOF
62286 if ac_fn_c_try_run "$LINENO"; then :
62287 gcc_cv_have_tls=yes
62288 else
62289 gcc_cv_have_tls=no
62290 fi
62291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62292 conftest.$ac_objext conftest.beam conftest.$ac_ext
62293 fi
62294
62295 else
62296 gcc_cv_have_tls=yes
62297 fi
62298 rm -f core conftest.err conftest.$ac_objext \
62299 conftest$ac_exeext conftest.$ac_ext
62300 LDFLAGS="$chktls_save_LDFLAGS"
62301 if test $gcc_cv_have_tls = yes; then
62302 chktls_save_CFLAGS="$CFLAGS"
62303 thread_CFLAGS=failed
62304 for flag in '' '-pthread' '-lpthread'; do
62305 CFLAGS="$flag $chktls_save_CFLAGS"
62306 if test x$gcc_no_link = xyes; then
62307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62308 fi
62309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62310 /* end confdefs.h. */
62311 #include <pthread.h>
62312 void *g(void *d) { return NULL; }
62313 int
62314 main ()
62315 {
62316 pthread_t t; pthread_create(&t,NULL,g,NULL);
62317 ;
62318 return 0;
62319 }
62320 _ACEOF
62321 if ac_fn_c_try_link "$LINENO"; then :
62322 thread_CFLAGS="$flag"
62323 fi
62324 rm -f core conftest.err conftest.$ac_objext \
62325 conftest$ac_exeext conftest.$ac_ext
62326 if test "X$thread_CFLAGS" != Xfailed; then
62327 break
62328 fi
62329 done
62330 CFLAGS="$chktls_save_CFLAGS"
62331 if test "X$thread_CFLAGS" != Xfailed; then
62332 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
62333 if test "$cross_compiling" = yes; then :
62334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62336 as_fn_error $? "cannot run test program while cross compiling
62337 See \`config.log' for more details" "$LINENO" 5; }
62338 else
62339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62340 /* end confdefs.h. */
62341 #include <pthread.h>
62342 __thread int a;
62343 static int *volatile a_in_other_thread;
62344 static void *
62345 thread_func (void *arg)
62346 {
62347 a_in_other_thread = &a;
62348 return (void *)0;
62349 }
62350 int
62351 main ()
62352 {
62353 pthread_t thread;
62354 void *thread_retval;
62355 int *volatile a_in_main_thread;
62356 a_in_main_thread = &a;
62357 if (pthread_create (&thread, (pthread_attr_t *)0,
62358 thread_func, (void *)0))
62359 return 0;
62360 if (pthread_join (thread, &thread_retval))
62361 return 0;
62362 return (a_in_other_thread == a_in_main_thread);
62363 ;
62364 return 0;
62365 }
62366 _ACEOF
62367 if ac_fn_c_try_run "$LINENO"; then :
62368 gcc_cv_have_tls=yes
62369 else
62370 gcc_cv_have_tls=no
62371 fi
62372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62373 conftest.$ac_objext conftest.beam conftest.$ac_ext
62374 fi
62375
62376 CFLAGS="$chktls_save_CFLAGS"
62377 fi
62378 fi
62379 else
62380 gcc_cv_have_tls=no
62381 fi
62382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62383 conftest.$ac_objext conftest.beam conftest.$ac_ext
62384 fi
62385
62386 fi
62387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
62388 $as_echo "$gcc_cv_have_tls" >&6; }
62389 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
62390
62391 $as_echo "#define HAVE_TLS 1" >>confdefs.h
62392
62393 fi
62394 ;;
62395 *-netbsd* | *-openbsd*)
62396 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62397
62398
62399 # If we're not using GNU ld, then there's no point in even trying these
62400 # tests. Check for that first. We should have already tested for gld
62401 # by now (in libtool), but require it now just to be safe...
62402 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62403 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62404
62405
62406
62407 # The name set by libtool depends on the version of libtool. Shame on us
62408 # for depending on an impl detail, but c'est la vie. Older versions used
62409 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62410 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62411 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62412 # set (hence we're using an older libtool), then set it.
62413 if test x${with_gnu_ld+set} != xset; then
62414 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62415 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62416 with_gnu_ld=no
62417 else
62418 with_gnu_ld=$ac_cv_prog_gnu_ld
62419 fi
62420 fi
62421
62422 # Start by getting the version number. I think the libtool test already
62423 # does some of this, but throws away the result.
62424 glibcxx_ld_is_gold=no
62425 glibcxx_ld_is_mold=no
62426 if test x"$with_gnu_ld" = x"yes"; then
62427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62428 $as_echo_n "checking for ld version... " >&6; }
62429
62430 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62431 glibcxx_ld_is_gold=yes
62432 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62433 glibcxx_ld_is_mold=yes
62434 fi
62435 ldver=`$LD --version 2>/dev/null |
62436 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62437
62438 glibcxx_gnu_ld_version=`echo $ldver | \
62439 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62441 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62442 fi
62443
62444 # Set --gc-sections.
62445 glibcxx_have_gc_sections=no
62446 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62447 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62448 glibcxx_have_gc_sections=yes
62449 fi
62450 else
62451 glibcxx_gcsections_min_ld=21602
62452 if test x"$with_gnu_ld" = x"yes" &&
62453 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62454 glibcxx_have_gc_sections=yes
62455 fi
62456 fi
62457 if test "$glibcxx_have_gc_sections" = "yes"; then
62458 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62459 # NB: This flag only works reliably after 2.16.1. Configure tests
62460 # for this are difficult, so hard wire a value that should work.
62461
62462 ac_test_CFLAGS="${CFLAGS+set}"
62463 ac_save_CFLAGS="$CFLAGS"
62464 CFLAGS='-Wl,--gc-sections'
62465
62466 # Check for -Wl,--gc-sections
62467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62468 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62469 if test x$gcc_no_link = xyes; then
62470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62471 fi
62472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62473 /* end confdefs.h. */
62474 int one(void) { return 1; }
62475 int two(void) { return 2; }
62476
62477 int
62478 main ()
62479 {
62480 two();
62481 ;
62482 return 0;
62483 }
62484 _ACEOF
62485 if ac_fn_c_try_link "$LINENO"; then :
62486 ac_gcsections=yes
62487 else
62488 ac_gcsections=no
62489 fi
62490 rm -f core conftest.err conftest.$ac_objext \
62491 conftest$ac_exeext conftest.$ac_ext
62492 if test "$ac_gcsections" = "yes"; then
62493 rm -f conftest.c
62494 touch conftest.c
62495 if $CC -c conftest.c; then
62496 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62497 grep "Warning: gc-sections option ignored" > /dev/null; then
62498 ac_gcsections=no
62499 fi
62500 fi
62501 rm -f conftest.c conftest.o conftest
62502 fi
62503 if test "$ac_gcsections" = "yes"; then
62504 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62505 fi
62506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62507 $as_echo "$ac_gcsections" >&6; }
62508
62509 if test "$ac_test_CFLAGS" = set; then
62510 CFLAGS="$ac_save_CFLAGS"
62511 else
62512 # this is the suspicious part
62513 CFLAGS=''
62514 fi
62515 fi
62516
62517 # Set -z,relro.
62518 # Note this is only for shared objects.
62519 ac_ld_relro=no
62520 if test x"$with_gnu_ld" = x"yes"; then
62521 # cygwin and mingw uses PE, which has no ELF relro support,
62522 # multi target ld may confuse configure machinery
62523 case "$host" in
62524 *-*-cygwin*)
62525 ;;
62526 *-*-mingw*)
62527 ;;
62528 *)
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62530 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62531 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62532 if test -n "$cxx_z_relo"; then
62533 OPT_LDFLAGS="-Wl,-z,relro"
62534 ac_ld_relro=yes
62535 fi
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62537 $as_echo "$ac_ld_relro" >&6; }
62538 esac
62539 fi
62540
62541 # Set linker optimization flags.
62542 if test x"$with_gnu_ld" = x"yes"; then
62543 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62544 fi
62545
62546
62547
62548
62549 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62550
62551 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62552
62553 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62554
62555 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62556
62557 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62558
62559 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62560
62561 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62562
62563 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62564
62565 if test x"long_double_math_on_this_cpu" = x"yes"; then
62566 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62567
62568 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62569
62570 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62571
62572 fi
62573 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62574 do :
62575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62578 cat >>confdefs.h <<_ACEOF
62579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62580 _ACEOF
62581
62582 fi
62583 done
62584
62585 for ac_func in timespec_get
62586 do :
62587 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
62588 if test "x$ac_cv_func_timespec_get" = xyes; then :
62589 cat >>confdefs.h <<_ACEOF
62590 #define HAVE_TIMESPEC_GET 1
62591 _ACEOF
62592
62593 fi
62594 done
62595
62596 for ac_func in sockatmark
62597 do :
62598 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
62599 if test "x$ac_cv_func_sockatmark" = xyes; then :
62600 cat >>confdefs.h <<_ACEOF
62601 #define HAVE_SOCKATMARK 1
62602 _ACEOF
62603
62604 fi
62605 done
62606
62607 ;;
62608 *-qnx6.1* | *-qnx6.2*)
62609 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62610
62611
62612 # If we're not using GNU ld, then there's no point in even trying these
62613 # tests. Check for that first. We should have already tested for gld
62614 # by now (in libtool), but require it now just to be safe...
62615 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62616 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62617
62618
62619
62620 # The name set by libtool depends on the version of libtool. Shame on us
62621 # for depending on an impl detail, but c'est la vie. Older versions used
62622 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62623 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62624 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62625 # set (hence we're using an older libtool), then set it.
62626 if test x${with_gnu_ld+set} != xset; then
62627 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62628 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62629 with_gnu_ld=no
62630 else
62631 with_gnu_ld=$ac_cv_prog_gnu_ld
62632 fi
62633 fi
62634
62635 # Start by getting the version number. I think the libtool test already
62636 # does some of this, but throws away the result.
62637 glibcxx_ld_is_gold=no
62638 glibcxx_ld_is_mold=no
62639 if test x"$with_gnu_ld" = x"yes"; then
62640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62641 $as_echo_n "checking for ld version... " >&6; }
62642
62643 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62644 glibcxx_ld_is_gold=yes
62645 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62646 glibcxx_ld_is_mold=yes
62647 fi
62648 ldver=`$LD --version 2>/dev/null |
62649 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62650
62651 glibcxx_gnu_ld_version=`echo $ldver | \
62652 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62654 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62655 fi
62656
62657 # Set --gc-sections.
62658 glibcxx_have_gc_sections=no
62659 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62660 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62661 glibcxx_have_gc_sections=yes
62662 fi
62663 else
62664 glibcxx_gcsections_min_ld=21602
62665 if test x"$with_gnu_ld" = x"yes" &&
62666 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62667 glibcxx_have_gc_sections=yes
62668 fi
62669 fi
62670 if test "$glibcxx_have_gc_sections" = "yes"; then
62671 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62672 # NB: This flag only works reliably after 2.16.1. Configure tests
62673 # for this are difficult, so hard wire a value that should work.
62674
62675 ac_test_CFLAGS="${CFLAGS+set}"
62676 ac_save_CFLAGS="$CFLAGS"
62677 CFLAGS='-Wl,--gc-sections'
62678
62679 # Check for -Wl,--gc-sections
62680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62681 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62682 if test x$gcc_no_link = xyes; then
62683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62684 fi
62685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62686 /* end confdefs.h. */
62687 int one(void) { return 1; }
62688 int two(void) { return 2; }
62689
62690 int
62691 main ()
62692 {
62693 two();
62694 ;
62695 return 0;
62696 }
62697 _ACEOF
62698 if ac_fn_c_try_link "$LINENO"; then :
62699 ac_gcsections=yes
62700 else
62701 ac_gcsections=no
62702 fi
62703 rm -f core conftest.err conftest.$ac_objext \
62704 conftest$ac_exeext conftest.$ac_ext
62705 if test "$ac_gcsections" = "yes"; then
62706 rm -f conftest.c
62707 touch conftest.c
62708 if $CC -c conftest.c; then
62709 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62710 grep "Warning: gc-sections option ignored" > /dev/null; then
62711 ac_gcsections=no
62712 fi
62713 fi
62714 rm -f conftest.c conftest.o conftest
62715 fi
62716 if test "$ac_gcsections" = "yes"; then
62717 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62718 fi
62719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62720 $as_echo "$ac_gcsections" >&6; }
62721
62722 if test "$ac_test_CFLAGS" = set; then
62723 CFLAGS="$ac_save_CFLAGS"
62724 else
62725 # this is the suspicious part
62726 CFLAGS=''
62727 fi
62728 fi
62729
62730 # Set -z,relro.
62731 # Note this is only for shared objects.
62732 ac_ld_relro=no
62733 if test x"$with_gnu_ld" = x"yes"; then
62734 # cygwin and mingw uses PE, which has no ELF relro support,
62735 # multi target ld may confuse configure machinery
62736 case "$host" in
62737 *-*-cygwin*)
62738 ;;
62739 *-*-mingw*)
62740 ;;
62741 *)
62742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62743 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62744 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62745 if test -n "$cxx_z_relo"; then
62746 OPT_LDFLAGS="-Wl,-z,relro"
62747 ac_ld_relro=yes
62748 fi
62749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62750 $as_echo "$ac_ld_relro" >&6; }
62751 esac
62752 fi
62753
62754 # Set linker optimization flags.
62755 if test x"$with_gnu_ld" = x"yes"; then
62756 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62757 fi
62758
62759
62760
62761
62762 $as_echo "#define HAVE_COSF 1" >>confdefs.h
62763
62764 $as_echo "#define HAVE_COSL 1" >>confdefs.h
62765
62766 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
62767
62768 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
62769
62770 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
62771
62772 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
62773
62774 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
62775
62776 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
62777
62778 $as_echo "#define HAVE_SINF 1" >>confdefs.h
62779
62780 $as_echo "#define HAVE_SINL 1" >>confdefs.h
62781
62782 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
62783
62784 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
62785
62786 ;;
62787 *-tpf)
62788 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62789 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
62790
62791 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62792
62793 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62794
62795 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62796
62797 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62798
62799 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62800
62801 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62802
62803 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62804
62805 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62806
62807 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
62808
62809 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
62810
62811 if test x"long_double_math_on_this_cpu" = x"yes"; then
62812 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62813
62814 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
62815
62816 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62817
62818 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62819
62820 fi
62821 ;;
62822 *-*vms*)
62823 # Check for available headers.
62824 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
62825
62826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62827 ac_save_CXXFLAGS="$CXXFLAGS"
62828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62829
62830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
62831 $as_echo_n "checking for sin in -lm... " >&6; }
62832 if ${ac_cv_lib_m_sin+:} false; then :
62833 $as_echo_n "(cached) " >&6
62834 else
62835 ac_check_lib_save_LIBS=$LIBS
62836 LIBS="-lm $LIBS"
62837 if test x$gcc_no_link = xyes; then
62838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62839 fi
62840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62841 /* end confdefs.h. */
62842
62843 /* Override any GCC internal prototype to avoid an error.
62844 Use char because int might match the return type of a GCC
62845 builtin and then its argument prototype would still apply. */
62846 #ifdef __cplusplus
62847 extern "C"
62848 #endif
62849 char sin ();
62850 int
62851 main ()
62852 {
62853 return sin ();
62854 ;
62855 return 0;
62856 }
62857 _ACEOF
62858 if ac_fn_c_try_link "$LINENO"; then :
62859 ac_cv_lib_m_sin=yes
62860 else
62861 ac_cv_lib_m_sin=no
62862 fi
62863 rm -f core conftest.err conftest.$ac_objext \
62864 conftest$ac_exeext conftest.$ac_ext
62865 LIBS=$ac_check_lib_save_LIBS
62866 fi
62867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
62868 $as_echo "$ac_cv_lib_m_sin" >&6; }
62869 if test "x$ac_cv_lib_m_sin" = xyes; then :
62870 libm="-lm"
62871 fi
62872
62873 ac_save_LIBS="$LIBS"
62874 LIBS="$LIBS $libm"
62875
62876
62877
62878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
62879 $as_echo_n "checking for isinf declaration... " >&6; }
62880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
62881 if ${glibcxx_cv_func_isinf_use+:} false; then :
62882 $as_echo_n "(cached) " >&6
62883 else
62884
62885
62886 ac_ext=cpp
62887 ac_cpp='$CXXCPP $CPPFLAGS'
62888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62891
62892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62893 /* end confdefs.h. */
62894 #include <math.h>
62895 #ifdef HAVE_IEEEFP_H
62896 #include <ieeefp.h>
62897 #endif
62898
62899 int
62900 main ()
62901 {
62902 isinf(0);
62903 ;
62904 return 0;
62905 }
62906 _ACEOF
62907 if ac_fn_cxx_try_compile "$LINENO"; then :
62908 glibcxx_cv_func_isinf_use=yes
62909 else
62910 glibcxx_cv_func_isinf_use=no
62911 fi
62912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62913 ac_ext=c
62914 ac_cpp='$CPP $CPPFLAGS'
62915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62918
62919
62920 fi
62921
62922 fi
62923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
62924 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
62925
62926 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
62927 for ac_func in isinf
62928 do :
62929 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
62930 if test "x$ac_cv_func_isinf" = xyes; then :
62931 cat >>confdefs.h <<_ACEOF
62932 #define HAVE_ISINF 1
62933 _ACEOF
62934
62935 fi
62936 done
62937
62938 else
62939
62940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
62941 $as_echo_n "checking for _isinf declaration... " >&6; }
62942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
62943 if ${glibcxx_cv_func__isinf_use+:} false; then :
62944 $as_echo_n "(cached) " >&6
62945 else
62946
62947
62948 ac_ext=cpp
62949 ac_cpp='$CXXCPP $CPPFLAGS'
62950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62953
62954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62955 /* end confdefs.h. */
62956 #include <math.h>
62957 #ifdef HAVE_IEEEFP_H
62958 #include <ieeefp.h>
62959 #endif
62960
62961 int
62962 main ()
62963 {
62964 _isinf(0);
62965 ;
62966 return 0;
62967 }
62968 _ACEOF
62969 if ac_fn_cxx_try_compile "$LINENO"; then :
62970 glibcxx_cv_func__isinf_use=yes
62971 else
62972 glibcxx_cv_func__isinf_use=no
62973 fi
62974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62975 ac_ext=c
62976 ac_cpp='$CPP $CPPFLAGS'
62977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62980
62981
62982 fi
62983
62984 fi
62985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
62986 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
62987
62988 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
62989 for ac_func in _isinf
62990 do :
62991 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
62992 if test "x$ac_cv_func__isinf" = xyes; then :
62993 cat >>confdefs.h <<_ACEOF
62994 #define HAVE__ISINF 1
62995 _ACEOF
62996
62997 fi
62998 done
62999
63000 fi
63001 fi
63002
63003
63004
63005
63006
63007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
63008 $as_echo_n "checking for isnan declaration... " >&6; }
63009 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63010 if ${glibcxx_cv_func_isnan_use+:} false; then :
63011 $as_echo_n "(cached) " >&6
63012 else
63013
63014
63015 ac_ext=cpp
63016 ac_cpp='$CXXCPP $CPPFLAGS'
63017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63020
63021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63022 /* end confdefs.h. */
63023 #include <math.h>
63024 #ifdef HAVE_IEEEFP_H
63025 #include <ieeefp.h>
63026 #endif
63027
63028 int
63029 main ()
63030 {
63031 isnan(0);
63032 ;
63033 return 0;
63034 }
63035 _ACEOF
63036 if ac_fn_cxx_try_compile "$LINENO"; then :
63037 glibcxx_cv_func_isnan_use=yes
63038 else
63039 glibcxx_cv_func_isnan_use=no
63040 fi
63041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63042 ac_ext=c
63043 ac_cpp='$CPP $CPPFLAGS'
63044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63047
63048
63049 fi
63050
63051 fi
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
63053 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
63054
63055 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
63056 for ac_func in isnan
63057 do :
63058 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
63059 if test "x$ac_cv_func_isnan" = xyes; then :
63060 cat >>confdefs.h <<_ACEOF
63061 #define HAVE_ISNAN 1
63062 _ACEOF
63063
63064 fi
63065 done
63066
63067 else
63068
63069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
63070 $as_echo_n "checking for _isnan declaration... " >&6; }
63071 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
63072 if ${glibcxx_cv_func__isnan_use+:} false; then :
63073 $as_echo_n "(cached) " >&6
63074 else
63075
63076
63077 ac_ext=cpp
63078 ac_cpp='$CXXCPP $CPPFLAGS'
63079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63082
63083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63084 /* end confdefs.h. */
63085 #include <math.h>
63086 #ifdef HAVE_IEEEFP_H
63087 #include <ieeefp.h>
63088 #endif
63089
63090 int
63091 main ()
63092 {
63093 _isnan(0);
63094 ;
63095 return 0;
63096 }
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func__isnan_use=yes
63100 else
63101 glibcxx_cv_func__isnan_use=no
63102 fi
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63109
63110
63111 fi
63112
63113 fi
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
63115 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
63116
63117 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
63118 for ac_func in _isnan
63119 do :
63120 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
63121 if test "x$ac_cv_func__isnan" = xyes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE__ISNAN 1
63124 _ACEOF
63125
63126 fi
63127 done
63128
63129 fi
63130 fi
63131
63132
63133
63134
63135
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
63137 $as_echo_n "checking for finite declaration... " >&6; }
63138 if test x${glibcxx_cv_func_finite_use+set} != xset; then
63139 if ${glibcxx_cv_func_finite_use+:} false; then :
63140 $as_echo_n "(cached) " >&6
63141 else
63142
63143
63144 ac_ext=cpp
63145 ac_cpp='$CXXCPP $CPPFLAGS'
63146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63149
63150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63151 /* end confdefs.h. */
63152 #include <math.h>
63153 #ifdef HAVE_IEEEFP_H
63154 #include <ieeefp.h>
63155 #endif
63156
63157 int
63158 main ()
63159 {
63160 finite(0);
63161 ;
63162 return 0;
63163 }
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166 glibcxx_cv_func_finite_use=yes
63167 else
63168 glibcxx_cv_func_finite_use=no
63169 fi
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171 ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63176
63177
63178 fi
63179
63180 fi
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
63182 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
63183
63184 if test x$glibcxx_cv_func_finite_use = x"yes"; then
63185 for ac_func in finite
63186 do :
63187 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
63188 if test "x$ac_cv_func_finite" = xyes; then :
63189 cat >>confdefs.h <<_ACEOF
63190 #define HAVE_FINITE 1
63191 _ACEOF
63192
63193 fi
63194 done
63195
63196 else
63197
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
63199 $as_echo_n "checking for _finite declaration... " >&6; }
63200 if test x${glibcxx_cv_func__finite_use+set} != xset; then
63201 if ${glibcxx_cv_func__finite_use+:} false; then :
63202 $as_echo_n "(cached) " >&6
63203 else
63204
63205
63206 ac_ext=cpp
63207 ac_cpp='$CXXCPP $CPPFLAGS'
63208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63211
63212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63213 /* end confdefs.h. */
63214 #include <math.h>
63215 #ifdef HAVE_IEEEFP_H
63216 #include <ieeefp.h>
63217 #endif
63218
63219 int
63220 main ()
63221 {
63222 _finite(0);
63223 ;
63224 return 0;
63225 }
63226 _ACEOF
63227 if ac_fn_cxx_try_compile "$LINENO"; then :
63228 glibcxx_cv_func__finite_use=yes
63229 else
63230 glibcxx_cv_func__finite_use=no
63231 fi
63232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63233 ac_ext=c
63234 ac_cpp='$CPP $CPPFLAGS'
63235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63238
63239
63240 fi
63241
63242 fi
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
63244 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
63245
63246 if test x$glibcxx_cv_func__finite_use = x"yes"; then
63247 for ac_func in _finite
63248 do :
63249 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
63250 if test "x$ac_cv_func__finite" = xyes; then :
63251 cat >>confdefs.h <<_ACEOF
63252 #define HAVE__FINITE 1
63253 _ACEOF
63254
63255 fi
63256 done
63257
63258 fi
63259 fi
63260
63261
63262
63263
63264
63265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
63266 $as_echo_n "checking for sincos declaration... " >&6; }
63267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63268 if ${glibcxx_cv_func_sincos_use+:} false; then :
63269 $as_echo_n "(cached) " >&6
63270 else
63271
63272
63273 ac_ext=cpp
63274 ac_cpp='$CXXCPP $CPPFLAGS'
63275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63278
63279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63280 /* end confdefs.h. */
63281 #include <math.h>
63282 int
63283 main ()
63284 {
63285 sincos(0, 0, 0);
63286 ;
63287 return 0;
63288 }
63289 _ACEOF
63290 if ac_fn_cxx_try_compile "$LINENO"; then :
63291 glibcxx_cv_func_sincos_use=yes
63292 else
63293 glibcxx_cv_func_sincos_use=no
63294 fi
63295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63296 ac_ext=c
63297 ac_cpp='$CPP $CPPFLAGS'
63298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63301
63302
63303 fi
63304
63305 fi
63306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
63307 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
63308
63309 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63310 for ac_func in sincos
63311 do :
63312 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
63313 if test "x$ac_cv_func_sincos" = xyes; then :
63314 cat >>confdefs.h <<_ACEOF
63315 #define HAVE_SINCOS 1
63316 _ACEOF
63317
63318 fi
63319 done
63320
63321 else
63322
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
63324 $as_echo_n "checking for _sincos declaration... " >&6; }
63325 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63326 if ${glibcxx_cv_func__sincos_use+:} false; then :
63327 $as_echo_n "(cached) " >&6
63328 else
63329
63330
63331 ac_ext=cpp
63332 ac_cpp='$CXXCPP $CPPFLAGS'
63333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63336
63337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63338 /* end confdefs.h. */
63339 #include <math.h>
63340 int
63341 main ()
63342 {
63343 _sincos(0, 0, 0);
63344 ;
63345 return 0;
63346 }
63347 _ACEOF
63348 if ac_fn_cxx_try_compile "$LINENO"; then :
63349 glibcxx_cv_func__sincos_use=yes
63350 else
63351 glibcxx_cv_func__sincos_use=no
63352 fi
63353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63359
63360
63361 fi
63362
63363 fi
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
63365 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
63366
63367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63368 for ac_func in _sincos
63369 do :
63370 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
63371 if test "x$ac_cv_func__sincos" = xyes; then :
63372 cat >>confdefs.h <<_ACEOF
63373 #define HAVE__SINCOS 1
63374 _ACEOF
63375
63376 fi
63377 done
63378
63379 fi
63380 fi
63381
63382
63383
63384
63385
63386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
63387 $as_echo_n "checking for fpclass declaration... " >&6; }
63388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63389 if ${glibcxx_cv_func_fpclass_use+:} false; then :
63390 $as_echo_n "(cached) " >&6
63391 else
63392
63393
63394 ac_ext=cpp
63395 ac_cpp='$CXXCPP $CPPFLAGS'
63396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63399
63400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63401 /* end confdefs.h. */
63402 #include <math.h>
63403 #ifdef HAVE_IEEEFP_H
63404 #include <ieeefp.h>
63405 #endif
63406
63407 int
63408 main ()
63409 {
63410 fpclass(0);
63411 ;
63412 return 0;
63413 }
63414 _ACEOF
63415 if ac_fn_cxx_try_compile "$LINENO"; then :
63416 glibcxx_cv_func_fpclass_use=yes
63417 else
63418 glibcxx_cv_func_fpclass_use=no
63419 fi
63420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63421 ac_ext=c
63422 ac_cpp='$CPP $CPPFLAGS'
63423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63426
63427
63428 fi
63429
63430 fi
63431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
63432 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
63433
63434 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63435 for ac_func in fpclass
63436 do :
63437 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
63438 if test "x$ac_cv_func_fpclass" = xyes; then :
63439 cat >>confdefs.h <<_ACEOF
63440 #define HAVE_FPCLASS 1
63441 _ACEOF
63442
63443 fi
63444 done
63445
63446 else
63447
63448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
63449 $as_echo_n "checking for _fpclass declaration... " >&6; }
63450 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63451 if ${glibcxx_cv_func__fpclass_use+:} false; then :
63452 $as_echo_n "(cached) " >&6
63453 else
63454
63455
63456 ac_ext=cpp
63457 ac_cpp='$CXXCPP $CPPFLAGS'
63458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63461
63462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63463 /* end confdefs.h. */
63464 #include <math.h>
63465 #ifdef HAVE_IEEEFP_H
63466 #include <ieeefp.h>
63467 #endif
63468
63469 int
63470 main ()
63471 {
63472 _fpclass(0);
63473 ;
63474 return 0;
63475 }
63476 _ACEOF
63477 if ac_fn_cxx_try_compile "$LINENO"; then :
63478 glibcxx_cv_func__fpclass_use=yes
63479 else
63480 glibcxx_cv_func__fpclass_use=no
63481 fi
63482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63483 ac_ext=c
63484 ac_cpp='$CPP $CPPFLAGS'
63485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63488
63489
63490 fi
63491
63492 fi
63493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
63494 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
63495
63496 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63497 for ac_func in _fpclass
63498 do :
63499 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
63500 if test "x$ac_cv_func__fpclass" = xyes; then :
63501 cat >>confdefs.h <<_ACEOF
63502 #define HAVE__FPCLASS 1
63503 _ACEOF
63504
63505 fi
63506 done
63507
63508 fi
63509 fi
63510
63511
63512
63513
63514
63515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
63516 $as_echo_n "checking for qfpclass declaration... " >&6; }
63517 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63518 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
63519 $as_echo_n "(cached) " >&6
63520 else
63521
63522
63523 ac_ext=cpp
63524 ac_cpp='$CXXCPP $CPPFLAGS'
63525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63528
63529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63530 /* end confdefs.h. */
63531 #include <math.h>
63532 #ifdef HAVE_IEEEFP_H
63533 #include <ieeefp.h>
63534 #endif
63535
63536 int
63537 main ()
63538 {
63539 qfpclass(0);
63540 ;
63541 return 0;
63542 }
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545 glibcxx_cv_func_qfpclass_use=yes
63546 else
63547 glibcxx_cv_func_qfpclass_use=no
63548 fi
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550 ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63555
63556
63557 fi
63558
63559 fi
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
63561 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
63562
63563 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63564 for ac_func in qfpclass
63565 do :
63566 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
63567 if test "x$ac_cv_func_qfpclass" = xyes; then :
63568 cat >>confdefs.h <<_ACEOF
63569 #define HAVE_QFPCLASS 1
63570 _ACEOF
63571
63572 fi
63573 done
63574
63575 else
63576
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
63578 $as_echo_n "checking for _qfpclass declaration... " >&6; }
63579 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
63580 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
63581 $as_echo_n "(cached) " >&6
63582 else
63583
63584
63585 ac_ext=cpp
63586 ac_cpp='$CXXCPP $CPPFLAGS'
63587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63590
63591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63592 /* end confdefs.h. */
63593 #include <math.h>
63594 #ifdef HAVE_IEEEFP_H
63595 #include <ieeefp.h>
63596 #endif
63597
63598 int
63599 main ()
63600 {
63601 _qfpclass(0);
63602 ;
63603 return 0;
63604 }
63605 _ACEOF
63606 if ac_fn_cxx_try_compile "$LINENO"; then :
63607 glibcxx_cv_func__qfpclass_use=yes
63608 else
63609 glibcxx_cv_func__qfpclass_use=no
63610 fi
63611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63612 ac_ext=c
63613 ac_cpp='$CPP $CPPFLAGS'
63614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63617
63618
63619 fi
63620
63621 fi
63622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
63623 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
63624
63625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
63626 for ac_func in _qfpclass
63627 do :
63628 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
63629 if test "x$ac_cv_func__qfpclass" = xyes; then :
63630 cat >>confdefs.h <<_ACEOF
63631 #define HAVE__QFPCLASS 1
63632 _ACEOF
63633
63634 fi
63635 done
63636
63637 fi
63638 fi
63639
63640
63641
63642
63643
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
63645 $as_echo_n "checking for hypot declaration... " >&6; }
63646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
63647 if ${glibcxx_cv_func_hypot_use+:} false; then :
63648 $as_echo_n "(cached) " >&6
63649 else
63650
63651
63652 ac_ext=cpp
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63657
63658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63659 /* end confdefs.h. */
63660 #include <math.h>
63661 int
63662 main ()
63663 {
63664 hypot(0, 0);
63665 ;
63666 return 0;
63667 }
63668 _ACEOF
63669 if ac_fn_cxx_try_compile "$LINENO"; then :
63670 glibcxx_cv_func_hypot_use=yes
63671 else
63672 glibcxx_cv_func_hypot_use=no
63673 fi
63674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63680
63681
63682 fi
63683
63684 fi
63685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
63686 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
63687
63688 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
63689 for ac_func in hypot
63690 do :
63691 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
63692 if test "x$ac_cv_func_hypot" = xyes; then :
63693 cat >>confdefs.h <<_ACEOF
63694 #define HAVE_HYPOT 1
63695 _ACEOF
63696
63697 fi
63698 done
63699
63700 else
63701
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
63703 $as_echo_n "checking for _hypot declaration... " >&6; }
63704 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
63705 if ${glibcxx_cv_func__hypot_use+:} false; then :
63706 $as_echo_n "(cached) " >&6
63707 else
63708
63709
63710 ac_ext=cpp
63711 ac_cpp='$CXXCPP $CPPFLAGS'
63712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63715
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h. */
63718 #include <math.h>
63719 int
63720 main ()
63721 {
63722 _hypot(0, 0);
63723 ;
63724 return 0;
63725 }
63726 _ACEOF
63727 if ac_fn_cxx_try_compile "$LINENO"; then :
63728 glibcxx_cv_func__hypot_use=yes
63729 else
63730 glibcxx_cv_func__hypot_use=no
63731 fi
63732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63733 ac_ext=c
63734 ac_cpp='$CPP $CPPFLAGS'
63735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63738
63739
63740 fi
63741
63742 fi
63743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
63744 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
63745
63746 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
63747 for ac_func in _hypot
63748 do :
63749 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
63750 if test "x$ac_cv_func__hypot" = xyes; then :
63751 cat >>confdefs.h <<_ACEOF
63752 #define HAVE__HYPOT 1
63753 _ACEOF
63754
63755 fi
63756 done
63757
63758 fi
63759 fi
63760
63761
63762
63763
63764
63765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
63766 $as_echo_n "checking for float trig functions... " >&6; }
63767 if ${glibcxx_cv_func_float_trig_use+:} false; then :
63768 $as_echo_n "(cached) " >&6
63769 else
63770
63771
63772 ac_ext=cpp
63773 ac_cpp='$CXXCPP $CPPFLAGS'
63774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63777
63778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63779 /* end confdefs.h. */
63780 #include <math.h>
63781 int
63782 main ()
63783 {
63784 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
63785 ;
63786 return 0;
63787 }
63788 _ACEOF
63789 if ac_fn_cxx_try_compile "$LINENO"; then :
63790 glibcxx_cv_func_float_trig_use=yes
63791 else
63792 glibcxx_cv_func_float_trig_use=no
63793 fi
63794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63795 ac_ext=c
63796 ac_cpp='$CPP $CPPFLAGS'
63797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63800
63801 fi
63802
63803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
63804 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
63805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
63806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
63807 do :
63808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63811 cat >>confdefs.h <<_ACEOF
63812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63813 _ACEOF
63814
63815 fi
63816 done
63817
63818 else
63819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
63820 $as_echo_n "checking for _float trig functions... " >&6; }
63821 if ${glibcxx_cv_func__float_trig_use+:} false; then :
63822 $as_echo_n "(cached) " >&6
63823 else
63824
63825
63826 ac_ext=cpp
63827 ac_cpp='$CXXCPP $CPPFLAGS'
63828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63831
63832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63833 /* end confdefs.h. */
63834 #include <math.h>
63835 int
63836 main ()
63837 {
63838 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
63839 ;
63840 return 0;
63841 }
63842 _ACEOF
63843 if ac_fn_cxx_try_compile "$LINENO"; then :
63844 glibcxx_cv_func__float_trig_use=yes
63845 else
63846 glibcxx_cv_func__float_trig_use=no
63847 fi
63848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63849 ac_ext=c
63850 ac_cpp='$CPP $CPPFLAGS'
63851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63854
63855 fi
63856
63857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
63858 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
63859 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
63860 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
63861 do :
63862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63865 cat >>confdefs.h <<_ACEOF
63866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63867 _ACEOF
63868
63869 fi
63870 done
63871
63872 fi
63873 fi
63874
63875
63876
63877
63878
63879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
63880 $as_echo_n "checking for float round functions... " >&6; }
63881 if ${glibcxx_cv_func_float_round_use+:} false; then :
63882 $as_echo_n "(cached) " >&6
63883 else
63884
63885
63886 ac_ext=cpp
63887 ac_cpp='$CXXCPP $CPPFLAGS'
63888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63891
63892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63893 /* end confdefs.h. */
63894 #include <math.h>
63895 int
63896 main ()
63897 {
63898 ceilf (0); floorf (0);
63899 ;
63900 return 0;
63901 }
63902 _ACEOF
63903 if ac_fn_cxx_try_compile "$LINENO"; then :
63904 glibcxx_cv_func_float_round_use=yes
63905 else
63906 glibcxx_cv_func_float_round_use=no
63907 fi
63908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63909 ac_ext=c
63910 ac_cpp='$CPP $CPPFLAGS'
63911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63914
63915 fi
63916
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
63918 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
63919 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
63920 for ac_func in ceilf floorf
63921 do :
63922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63925 cat >>confdefs.h <<_ACEOF
63926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63927 _ACEOF
63928
63929 fi
63930 done
63931
63932 else
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
63934 $as_echo_n "checking for _float round functions... " >&6; }
63935 if ${glibcxx_cv_func__float_round_use+:} false; then :
63936 $as_echo_n "(cached) " >&6
63937 else
63938
63939
63940 ac_ext=cpp
63941 ac_cpp='$CXXCPP $CPPFLAGS'
63942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63945
63946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63947 /* end confdefs.h. */
63948 #include <math.h>
63949 int
63950 main ()
63951 {
63952 _ceilf (0); _floorf (0);
63953 ;
63954 return 0;
63955 }
63956 _ACEOF
63957 if ac_fn_cxx_try_compile "$LINENO"; then :
63958 glibcxx_cv_func__float_round_use=yes
63959 else
63960 glibcxx_cv_func__float_round_use=no
63961 fi
63962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63963 ac_ext=c
63964 ac_cpp='$CPP $CPPFLAGS'
63965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63968
63969 fi
63970
63971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
63972 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
63973 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
63974 for ac_func in _ceilf _floorf
63975 do :
63976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63979 cat >>confdefs.h <<_ACEOF
63980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63981 _ACEOF
63982
63983 fi
63984 done
63985
63986 fi
63987 fi
63988
63989
63990
63991
63992
63993
63994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
63995 $as_echo_n "checking for expf declaration... " >&6; }
63996 if test x${glibcxx_cv_func_expf_use+set} != xset; then
63997 if ${glibcxx_cv_func_expf_use+:} false; then :
63998 $as_echo_n "(cached) " >&6
63999 else
64000
64001
64002 ac_ext=cpp
64003 ac_cpp='$CXXCPP $CPPFLAGS'
64004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64007
64008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64009 /* end confdefs.h. */
64010 #include <math.h>
64011 #ifdef HAVE_IEEEFP_H
64012 #include <ieeefp.h>
64013 #endif
64014
64015 int
64016 main ()
64017 {
64018 expf(0);
64019 ;
64020 return 0;
64021 }
64022 _ACEOF
64023 if ac_fn_cxx_try_compile "$LINENO"; then :
64024 glibcxx_cv_func_expf_use=yes
64025 else
64026 glibcxx_cv_func_expf_use=no
64027 fi
64028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64029 ac_ext=c
64030 ac_cpp='$CPP $CPPFLAGS'
64031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64034
64035
64036 fi
64037
64038 fi
64039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
64040 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
64041
64042 if test x$glibcxx_cv_func_expf_use = x"yes"; then
64043 for ac_func in expf
64044 do :
64045 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
64046 if test "x$ac_cv_func_expf" = xyes; then :
64047 cat >>confdefs.h <<_ACEOF
64048 #define HAVE_EXPF 1
64049 _ACEOF
64050
64051 fi
64052 done
64053
64054 else
64055
64056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
64057 $as_echo_n "checking for _expf declaration... " >&6; }
64058 if test x${glibcxx_cv_func__expf_use+set} != xset; then
64059 if ${glibcxx_cv_func__expf_use+:} false; then :
64060 $as_echo_n "(cached) " >&6
64061 else
64062
64063
64064 ac_ext=cpp
64065 ac_cpp='$CXXCPP $CPPFLAGS'
64066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64069
64070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64071 /* end confdefs.h. */
64072 #include <math.h>
64073 #ifdef HAVE_IEEEFP_H
64074 #include <ieeefp.h>
64075 #endif
64076
64077 int
64078 main ()
64079 {
64080 _expf(0);
64081 ;
64082 return 0;
64083 }
64084 _ACEOF
64085 if ac_fn_cxx_try_compile "$LINENO"; then :
64086 glibcxx_cv_func__expf_use=yes
64087 else
64088 glibcxx_cv_func__expf_use=no
64089 fi
64090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64091 ac_ext=c
64092 ac_cpp='$CPP $CPPFLAGS'
64093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64096
64097
64098 fi
64099
64100 fi
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
64102 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
64103
64104 if test x$glibcxx_cv_func__expf_use = x"yes"; then
64105 for ac_func in _expf
64106 do :
64107 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
64108 if test "x$ac_cv_func__expf" = xyes; then :
64109 cat >>confdefs.h <<_ACEOF
64110 #define HAVE__EXPF 1
64111 _ACEOF
64112
64113 fi
64114 done
64115
64116 fi
64117 fi
64118
64119
64120
64121
64122
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
64124 $as_echo_n "checking for isnanf declaration... " >&6; }
64125 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
64126 if ${glibcxx_cv_func_isnanf_use+:} false; then :
64127 $as_echo_n "(cached) " >&6
64128 else
64129
64130
64131 ac_ext=cpp
64132 ac_cpp='$CXXCPP $CPPFLAGS'
64133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64136
64137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64138 /* end confdefs.h. */
64139 #include <math.h>
64140 #ifdef HAVE_IEEEFP_H
64141 #include <ieeefp.h>
64142 #endif
64143
64144 int
64145 main ()
64146 {
64147 isnanf(0);
64148 ;
64149 return 0;
64150 }
64151 _ACEOF
64152 if ac_fn_cxx_try_compile "$LINENO"; then :
64153 glibcxx_cv_func_isnanf_use=yes
64154 else
64155 glibcxx_cv_func_isnanf_use=no
64156 fi
64157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64158 ac_ext=c
64159 ac_cpp='$CPP $CPPFLAGS'
64160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64163
64164
64165 fi
64166
64167 fi
64168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
64169 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
64170
64171 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
64172 for ac_func in isnanf
64173 do :
64174 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
64175 if test "x$ac_cv_func_isnanf" = xyes; then :
64176 cat >>confdefs.h <<_ACEOF
64177 #define HAVE_ISNANF 1
64178 _ACEOF
64179
64180 fi
64181 done
64182
64183 else
64184
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
64186 $as_echo_n "checking for _isnanf declaration... " >&6; }
64187 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
64188 if ${glibcxx_cv_func__isnanf_use+:} false; then :
64189 $as_echo_n "(cached) " >&6
64190 else
64191
64192
64193 ac_ext=cpp
64194 ac_cpp='$CXXCPP $CPPFLAGS'
64195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64198
64199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64200 /* end confdefs.h. */
64201 #include <math.h>
64202 #ifdef HAVE_IEEEFP_H
64203 #include <ieeefp.h>
64204 #endif
64205
64206 int
64207 main ()
64208 {
64209 _isnanf(0);
64210 ;
64211 return 0;
64212 }
64213 _ACEOF
64214 if ac_fn_cxx_try_compile "$LINENO"; then :
64215 glibcxx_cv_func__isnanf_use=yes
64216 else
64217 glibcxx_cv_func__isnanf_use=no
64218 fi
64219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64220 ac_ext=c
64221 ac_cpp='$CPP $CPPFLAGS'
64222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64225
64226
64227 fi
64228
64229 fi
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
64231 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
64232
64233 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
64234 for ac_func in _isnanf
64235 do :
64236 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
64237 if test "x$ac_cv_func__isnanf" = xyes; then :
64238 cat >>confdefs.h <<_ACEOF
64239 #define HAVE__ISNANF 1
64240 _ACEOF
64241
64242 fi
64243 done
64244
64245 fi
64246 fi
64247
64248
64249
64250
64251
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
64253 $as_echo_n "checking for isinff declaration... " >&6; }
64254 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
64255 if ${glibcxx_cv_func_isinff_use+:} false; then :
64256 $as_echo_n "(cached) " >&6
64257 else
64258
64259
64260 ac_ext=cpp
64261 ac_cpp='$CXXCPP $CPPFLAGS'
64262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64265
64266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64267 /* end confdefs.h. */
64268 #include <math.h>
64269 #ifdef HAVE_IEEEFP_H
64270 #include <ieeefp.h>
64271 #endif
64272
64273 int
64274 main ()
64275 {
64276 isinff(0);
64277 ;
64278 return 0;
64279 }
64280 _ACEOF
64281 if ac_fn_cxx_try_compile "$LINENO"; then :
64282 glibcxx_cv_func_isinff_use=yes
64283 else
64284 glibcxx_cv_func_isinff_use=no
64285 fi
64286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64287 ac_ext=c
64288 ac_cpp='$CPP $CPPFLAGS'
64289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64292
64293
64294 fi
64295
64296 fi
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
64298 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
64299
64300 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
64301 for ac_func in isinff
64302 do :
64303 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
64304 if test "x$ac_cv_func_isinff" = xyes; then :
64305 cat >>confdefs.h <<_ACEOF
64306 #define HAVE_ISINFF 1
64307 _ACEOF
64308
64309 fi
64310 done
64311
64312 else
64313
64314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
64315 $as_echo_n "checking for _isinff declaration... " >&6; }
64316 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
64317 if ${glibcxx_cv_func__isinff_use+:} false; then :
64318 $as_echo_n "(cached) " >&6
64319 else
64320
64321
64322 ac_ext=cpp
64323 ac_cpp='$CXXCPP $CPPFLAGS'
64324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64327
64328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64329 /* end confdefs.h. */
64330 #include <math.h>
64331 #ifdef HAVE_IEEEFP_H
64332 #include <ieeefp.h>
64333 #endif
64334
64335 int
64336 main ()
64337 {
64338 _isinff(0);
64339 ;
64340 return 0;
64341 }
64342 _ACEOF
64343 if ac_fn_cxx_try_compile "$LINENO"; then :
64344 glibcxx_cv_func__isinff_use=yes
64345 else
64346 glibcxx_cv_func__isinff_use=no
64347 fi
64348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64349 ac_ext=c
64350 ac_cpp='$CPP $CPPFLAGS'
64351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64354
64355
64356 fi
64357
64358 fi
64359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
64360 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
64361
64362 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
64363 for ac_func in _isinff
64364 do :
64365 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
64366 if test "x$ac_cv_func__isinff" = xyes; then :
64367 cat >>confdefs.h <<_ACEOF
64368 #define HAVE__ISINFF 1
64369 _ACEOF
64370
64371 fi
64372 done
64373
64374 fi
64375 fi
64376
64377
64378
64379
64380
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
64382 $as_echo_n "checking for atan2f declaration... " >&6; }
64383 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64384 if ${glibcxx_cv_func_atan2f_use+:} false; then :
64385 $as_echo_n "(cached) " >&6
64386 else
64387
64388
64389 ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64394
64395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h. */
64397 #include <math.h>
64398 int
64399 main ()
64400 {
64401 atan2f(0, 0);
64402 ;
64403 return 0;
64404 }
64405 _ACEOF
64406 if ac_fn_cxx_try_compile "$LINENO"; then :
64407 glibcxx_cv_func_atan2f_use=yes
64408 else
64409 glibcxx_cv_func_atan2f_use=no
64410 fi
64411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64412 ac_ext=c
64413 ac_cpp='$CPP $CPPFLAGS'
64414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64417
64418
64419 fi
64420
64421 fi
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
64423 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
64424
64425 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64426 for ac_func in atan2f
64427 do :
64428 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
64429 if test "x$ac_cv_func_atan2f" = xyes; then :
64430 cat >>confdefs.h <<_ACEOF
64431 #define HAVE_ATAN2F 1
64432 _ACEOF
64433
64434 fi
64435 done
64436
64437 else
64438
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
64440 $as_echo_n "checking for _atan2f declaration... " >&6; }
64441 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64442 if ${glibcxx_cv_func__atan2f_use+:} false; then :
64443 $as_echo_n "(cached) " >&6
64444 else
64445
64446
64447 ac_ext=cpp
64448 ac_cpp='$CXXCPP $CPPFLAGS'
64449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64452
64453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64454 /* end confdefs.h. */
64455 #include <math.h>
64456 int
64457 main ()
64458 {
64459 _atan2f(0, 0);
64460 ;
64461 return 0;
64462 }
64463 _ACEOF
64464 if ac_fn_cxx_try_compile "$LINENO"; then :
64465 glibcxx_cv_func__atan2f_use=yes
64466 else
64467 glibcxx_cv_func__atan2f_use=no
64468 fi
64469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64470 ac_ext=c
64471 ac_cpp='$CPP $CPPFLAGS'
64472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64475
64476
64477 fi
64478
64479 fi
64480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
64481 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
64482
64483 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64484 for ac_func in _atan2f
64485 do :
64486 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
64487 if test "x$ac_cv_func__atan2f" = xyes; then :
64488 cat >>confdefs.h <<_ACEOF
64489 #define HAVE__ATAN2F 1
64490 _ACEOF
64491
64492 fi
64493 done
64494
64495 fi
64496 fi
64497
64498
64499
64500
64501
64502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
64503 $as_echo_n "checking for fabsf declaration... " >&6; }
64504 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64505 if ${glibcxx_cv_func_fabsf_use+:} false; then :
64506 $as_echo_n "(cached) " >&6
64507 else
64508
64509
64510 ac_ext=cpp
64511 ac_cpp='$CXXCPP $CPPFLAGS'
64512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64515
64516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64517 /* end confdefs.h. */
64518 #include <math.h>
64519 #ifdef HAVE_IEEEFP_H
64520 #include <ieeefp.h>
64521 #endif
64522
64523 int
64524 main ()
64525 {
64526 fabsf(0);
64527 ;
64528 return 0;
64529 }
64530 _ACEOF
64531 if ac_fn_cxx_try_compile "$LINENO"; then :
64532 glibcxx_cv_func_fabsf_use=yes
64533 else
64534 glibcxx_cv_func_fabsf_use=no
64535 fi
64536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64537 ac_ext=c
64538 ac_cpp='$CPP $CPPFLAGS'
64539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64542
64543
64544 fi
64545
64546 fi
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
64548 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
64549
64550 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64551 for ac_func in fabsf
64552 do :
64553 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
64554 if test "x$ac_cv_func_fabsf" = xyes; then :
64555 cat >>confdefs.h <<_ACEOF
64556 #define HAVE_FABSF 1
64557 _ACEOF
64558
64559 fi
64560 done
64561
64562 else
64563
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
64565 $as_echo_n "checking for _fabsf declaration... " >&6; }
64566 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64567 if ${glibcxx_cv_func__fabsf_use+:} false; then :
64568 $as_echo_n "(cached) " >&6
64569 else
64570
64571
64572 ac_ext=cpp
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64577
64578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64579 /* end confdefs.h. */
64580 #include <math.h>
64581 #ifdef HAVE_IEEEFP_H
64582 #include <ieeefp.h>
64583 #endif
64584
64585 int
64586 main ()
64587 {
64588 _fabsf(0);
64589 ;
64590 return 0;
64591 }
64592 _ACEOF
64593 if ac_fn_cxx_try_compile "$LINENO"; then :
64594 glibcxx_cv_func__fabsf_use=yes
64595 else
64596 glibcxx_cv_func__fabsf_use=no
64597 fi
64598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64599 ac_ext=c
64600 ac_cpp='$CPP $CPPFLAGS'
64601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64604
64605
64606 fi
64607
64608 fi
64609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
64610 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
64611
64612 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64613 for ac_func in _fabsf
64614 do :
64615 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
64616 if test "x$ac_cv_func__fabsf" = xyes; then :
64617 cat >>confdefs.h <<_ACEOF
64618 #define HAVE__FABSF 1
64619 _ACEOF
64620
64621 fi
64622 done
64623
64624 fi
64625 fi
64626
64627
64628
64629
64630
64631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
64632 $as_echo_n "checking for fmodf declaration... " >&6; }
64633 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64634 if ${glibcxx_cv_func_fmodf_use+:} false; then :
64635 $as_echo_n "(cached) " >&6
64636 else
64637
64638
64639 ac_ext=cpp
64640 ac_cpp='$CXXCPP $CPPFLAGS'
64641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64644
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <math.h>
64648 int
64649 main ()
64650 {
64651 fmodf(0, 0);
64652 ;
64653 return 0;
64654 }
64655 _ACEOF
64656 if ac_fn_cxx_try_compile "$LINENO"; then :
64657 glibcxx_cv_func_fmodf_use=yes
64658 else
64659 glibcxx_cv_func_fmodf_use=no
64660 fi
64661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64662 ac_ext=c
64663 ac_cpp='$CPP $CPPFLAGS'
64664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64667
64668
64669 fi
64670
64671 fi
64672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
64673 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
64674
64675 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64676 for ac_func in fmodf
64677 do :
64678 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
64679 if test "x$ac_cv_func_fmodf" = xyes; then :
64680 cat >>confdefs.h <<_ACEOF
64681 #define HAVE_FMODF 1
64682 _ACEOF
64683
64684 fi
64685 done
64686
64687 else
64688
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
64690 $as_echo_n "checking for _fmodf declaration... " >&6; }
64691 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
64692 if ${glibcxx_cv_func__fmodf_use+:} false; then :
64693 $as_echo_n "(cached) " >&6
64694 else
64695
64696
64697 ac_ext=cpp
64698 ac_cpp='$CXXCPP $CPPFLAGS'
64699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64702
64703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64704 /* end confdefs.h. */
64705 #include <math.h>
64706 int
64707 main ()
64708 {
64709 _fmodf(0, 0);
64710 ;
64711 return 0;
64712 }
64713 _ACEOF
64714 if ac_fn_cxx_try_compile "$LINENO"; then :
64715 glibcxx_cv_func__fmodf_use=yes
64716 else
64717 glibcxx_cv_func__fmodf_use=no
64718 fi
64719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64720 ac_ext=c
64721 ac_cpp='$CPP $CPPFLAGS'
64722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64725
64726
64727 fi
64728
64729 fi
64730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
64731 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
64732
64733 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
64734 for ac_func in _fmodf
64735 do :
64736 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
64737 if test "x$ac_cv_func__fmodf" = xyes; then :
64738 cat >>confdefs.h <<_ACEOF
64739 #define HAVE__FMODF 1
64740 _ACEOF
64741
64742 fi
64743 done
64744
64745 fi
64746 fi
64747
64748
64749
64750
64751
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
64753 $as_echo_n "checking for frexpf declaration... " >&6; }
64754 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
64755 if ${glibcxx_cv_func_frexpf_use+:} false; then :
64756 $as_echo_n "(cached) " >&6
64757 else
64758
64759
64760 ac_ext=cpp
64761 ac_cpp='$CXXCPP $CPPFLAGS'
64762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64765
64766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64767 /* end confdefs.h. */
64768 #include <math.h>
64769 int
64770 main ()
64771 {
64772 frexpf(0, 0);
64773 ;
64774 return 0;
64775 }
64776 _ACEOF
64777 if ac_fn_cxx_try_compile "$LINENO"; then :
64778 glibcxx_cv_func_frexpf_use=yes
64779 else
64780 glibcxx_cv_func_frexpf_use=no
64781 fi
64782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64783 ac_ext=c
64784 ac_cpp='$CPP $CPPFLAGS'
64785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64788
64789
64790 fi
64791
64792 fi
64793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
64794 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
64795
64796 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
64797 for ac_func in frexpf
64798 do :
64799 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
64800 if test "x$ac_cv_func_frexpf" = xyes; then :
64801 cat >>confdefs.h <<_ACEOF
64802 #define HAVE_FREXPF 1
64803 _ACEOF
64804
64805 fi
64806 done
64807
64808 else
64809
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
64811 $as_echo_n "checking for _frexpf declaration... " >&6; }
64812 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
64813 if ${glibcxx_cv_func__frexpf_use+:} false; then :
64814 $as_echo_n "(cached) " >&6
64815 else
64816
64817
64818 ac_ext=cpp
64819 ac_cpp='$CXXCPP $CPPFLAGS'
64820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64823
64824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64825 /* end confdefs.h. */
64826 #include <math.h>
64827 int
64828 main ()
64829 {
64830 _frexpf(0, 0);
64831 ;
64832 return 0;
64833 }
64834 _ACEOF
64835 if ac_fn_cxx_try_compile "$LINENO"; then :
64836 glibcxx_cv_func__frexpf_use=yes
64837 else
64838 glibcxx_cv_func__frexpf_use=no
64839 fi
64840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64841 ac_ext=c
64842 ac_cpp='$CPP $CPPFLAGS'
64843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64846
64847
64848 fi
64849
64850 fi
64851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
64852 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
64853
64854 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
64855 for ac_func in _frexpf
64856 do :
64857 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
64858 if test "x$ac_cv_func__frexpf" = xyes; then :
64859 cat >>confdefs.h <<_ACEOF
64860 #define HAVE__FREXPF 1
64861 _ACEOF
64862
64863 fi
64864 done
64865
64866 fi
64867 fi
64868
64869
64870
64871
64872
64873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
64874 $as_echo_n "checking for hypotf declaration... " >&6; }
64875 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
64876 if ${glibcxx_cv_func_hypotf_use+:} false; then :
64877 $as_echo_n "(cached) " >&6
64878 else
64879
64880
64881 ac_ext=cpp
64882 ac_cpp='$CXXCPP $CPPFLAGS'
64883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64886
64887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64888 /* end confdefs.h. */
64889 #include <math.h>
64890 int
64891 main ()
64892 {
64893 hypotf(0, 0);
64894 ;
64895 return 0;
64896 }
64897 _ACEOF
64898 if ac_fn_cxx_try_compile "$LINENO"; then :
64899 glibcxx_cv_func_hypotf_use=yes
64900 else
64901 glibcxx_cv_func_hypotf_use=no
64902 fi
64903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64904 ac_ext=c
64905 ac_cpp='$CPP $CPPFLAGS'
64906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64909
64910
64911 fi
64912
64913 fi
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
64915 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
64916
64917 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
64918 for ac_func in hypotf
64919 do :
64920 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
64921 if test "x$ac_cv_func_hypotf" = xyes; then :
64922 cat >>confdefs.h <<_ACEOF
64923 #define HAVE_HYPOTF 1
64924 _ACEOF
64925
64926 fi
64927 done
64928
64929 else
64930
64931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
64932 $as_echo_n "checking for _hypotf declaration... " >&6; }
64933 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
64934 if ${glibcxx_cv_func__hypotf_use+:} false; then :
64935 $as_echo_n "(cached) " >&6
64936 else
64937
64938
64939 ac_ext=cpp
64940 ac_cpp='$CXXCPP $CPPFLAGS'
64941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64944
64945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64946 /* end confdefs.h. */
64947 #include <math.h>
64948 int
64949 main ()
64950 {
64951 _hypotf(0, 0);
64952 ;
64953 return 0;
64954 }
64955 _ACEOF
64956 if ac_fn_cxx_try_compile "$LINENO"; then :
64957 glibcxx_cv_func__hypotf_use=yes
64958 else
64959 glibcxx_cv_func__hypotf_use=no
64960 fi
64961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64962 ac_ext=c
64963 ac_cpp='$CPP $CPPFLAGS'
64964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64967
64968
64969 fi
64970
64971 fi
64972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
64973 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
64974
64975 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
64976 for ac_func in _hypotf
64977 do :
64978 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
64979 if test "x$ac_cv_func__hypotf" = xyes; then :
64980 cat >>confdefs.h <<_ACEOF
64981 #define HAVE__HYPOTF 1
64982 _ACEOF
64983
64984 fi
64985 done
64986
64987 fi
64988 fi
64989
64990
64991
64992
64993
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
64995 $as_echo_n "checking for ldexpf declaration... " >&6; }
64996 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
64997 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
64998 $as_echo_n "(cached) " >&6
64999 else
65000
65001
65002 ac_ext=cpp
65003 ac_cpp='$CXXCPP $CPPFLAGS'
65004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65007
65008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65009 /* end confdefs.h. */
65010 #include <math.h>
65011 int
65012 main ()
65013 {
65014 ldexpf(0, 0);
65015 ;
65016 return 0;
65017 }
65018 _ACEOF
65019 if ac_fn_cxx_try_compile "$LINENO"; then :
65020 glibcxx_cv_func_ldexpf_use=yes
65021 else
65022 glibcxx_cv_func_ldexpf_use=no
65023 fi
65024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65025 ac_ext=c
65026 ac_cpp='$CPP $CPPFLAGS'
65027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65030
65031
65032 fi
65033
65034 fi
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
65036 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
65037
65038 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
65039 for ac_func in ldexpf
65040 do :
65041 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
65042 if test "x$ac_cv_func_ldexpf" = xyes; then :
65043 cat >>confdefs.h <<_ACEOF
65044 #define HAVE_LDEXPF 1
65045 _ACEOF
65046
65047 fi
65048 done
65049
65050 else
65051
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
65053 $as_echo_n "checking for _ldexpf declaration... " >&6; }
65054 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
65055 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
65056 $as_echo_n "(cached) " >&6
65057 else
65058
65059
65060 ac_ext=cpp
65061 ac_cpp='$CXXCPP $CPPFLAGS'
65062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65065
65066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65067 /* end confdefs.h. */
65068 #include <math.h>
65069 int
65070 main ()
65071 {
65072 _ldexpf(0, 0);
65073 ;
65074 return 0;
65075 }
65076 _ACEOF
65077 if ac_fn_cxx_try_compile "$LINENO"; then :
65078 glibcxx_cv_func__ldexpf_use=yes
65079 else
65080 glibcxx_cv_func__ldexpf_use=no
65081 fi
65082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65083 ac_ext=c
65084 ac_cpp='$CPP $CPPFLAGS'
65085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65088
65089
65090 fi
65091
65092 fi
65093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
65094 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
65095
65096 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
65097 for ac_func in _ldexpf
65098 do :
65099 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
65100 if test "x$ac_cv_func__ldexpf" = xyes; then :
65101 cat >>confdefs.h <<_ACEOF
65102 #define HAVE__LDEXPF 1
65103 _ACEOF
65104
65105 fi
65106 done
65107
65108 fi
65109 fi
65110
65111
65112
65113
65114
65115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
65116 $as_echo_n "checking for logf declaration... " >&6; }
65117 if test x${glibcxx_cv_func_logf_use+set} != xset; then
65118 if ${glibcxx_cv_func_logf_use+:} false; then :
65119 $as_echo_n "(cached) " >&6
65120 else
65121
65122
65123 ac_ext=cpp
65124 ac_cpp='$CXXCPP $CPPFLAGS'
65125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65128
65129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65130 /* end confdefs.h. */
65131 #include <math.h>
65132 #ifdef HAVE_IEEEFP_H
65133 #include <ieeefp.h>
65134 #endif
65135
65136 int
65137 main ()
65138 {
65139 logf(0);
65140 ;
65141 return 0;
65142 }
65143 _ACEOF
65144 if ac_fn_cxx_try_compile "$LINENO"; then :
65145 glibcxx_cv_func_logf_use=yes
65146 else
65147 glibcxx_cv_func_logf_use=no
65148 fi
65149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65150 ac_ext=c
65151 ac_cpp='$CPP $CPPFLAGS'
65152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65155
65156
65157 fi
65158
65159 fi
65160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
65161 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
65162
65163 if test x$glibcxx_cv_func_logf_use = x"yes"; then
65164 for ac_func in logf
65165 do :
65166 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
65167 if test "x$ac_cv_func_logf" = xyes; then :
65168 cat >>confdefs.h <<_ACEOF
65169 #define HAVE_LOGF 1
65170 _ACEOF
65171
65172 fi
65173 done
65174
65175 else
65176
65177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
65178 $as_echo_n "checking for _logf declaration... " >&6; }
65179 if test x${glibcxx_cv_func__logf_use+set} != xset; then
65180 if ${glibcxx_cv_func__logf_use+:} false; then :
65181 $as_echo_n "(cached) " >&6
65182 else
65183
65184
65185 ac_ext=cpp
65186 ac_cpp='$CXXCPP $CPPFLAGS'
65187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65190
65191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65192 /* end confdefs.h. */
65193 #include <math.h>
65194 #ifdef HAVE_IEEEFP_H
65195 #include <ieeefp.h>
65196 #endif
65197
65198 int
65199 main ()
65200 {
65201 _logf(0);
65202 ;
65203 return 0;
65204 }
65205 _ACEOF
65206 if ac_fn_cxx_try_compile "$LINENO"; then :
65207 glibcxx_cv_func__logf_use=yes
65208 else
65209 glibcxx_cv_func__logf_use=no
65210 fi
65211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65212 ac_ext=c
65213 ac_cpp='$CPP $CPPFLAGS'
65214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65217
65218
65219 fi
65220
65221 fi
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
65223 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
65224
65225 if test x$glibcxx_cv_func__logf_use = x"yes"; then
65226 for ac_func in _logf
65227 do :
65228 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
65229 if test "x$ac_cv_func__logf" = xyes; then :
65230 cat >>confdefs.h <<_ACEOF
65231 #define HAVE__LOGF 1
65232 _ACEOF
65233
65234 fi
65235 done
65236
65237 fi
65238 fi
65239
65240
65241
65242
65243
65244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
65245 $as_echo_n "checking for log10f declaration... " >&6; }
65246 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
65247 if ${glibcxx_cv_func_log10f_use+:} false; then :
65248 $as_echo_n "(cached) " >&6
65249 else
65250
65251
65252 ac_ext=cpp
65253 ac_cpp='$CXXCPP $CPPFLAGS'
65254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65257
65258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65259 /* end confdefs.h. */
65260 #include <math.h>
65261 #ifdef HAVE_IEEEFP_H
65262 #include <ieeefp.h>
65263 #endif
65264
65265 int
65266 main ()
65267 {
65268 log10f(0);
65269 ;
65270 return 0;
65271 }
65272 _ACEOF
65273 if ac_fn_cxx_try_compile "$LINENO"; then :
65274 glibcxx_cv_func_log10f_use=yes
65275 else
65276 glibcxx_cv_func_log10f_use=no
65277 fi
65278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65279 ac_ext=c
65280 ac_cpp='$CPP $CPPFLAGS'
65281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65284
65285
65286 fi
65287
65288 fi
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
65290 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
65291
65292 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
65293 for ac_func in log10f
65294 do :
65295 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
65296 if test "x$ac_cv_func_log10f" = xyes; then :
65297 cat >>confdefs.h <<_ACEOF
65298 #define HAVE_LOG10F 1
65299 _ACEOF
65300
65301 fi
65302 done
65303
65304 else
65305
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
65307 $as_echo_n "checking for _log10f declaration... " >&6; }
65308 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
65309 if ${glibcxx_cv_func__log10f_use+:} false; then :
65310 $as_echo_n "(cached) " >&6
65311 else
65312
65313
65314 ac_ext=cpp
65315 ac_cpp='$CXXCPP $CPPFLAGS'
65316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65319
65320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65321 /* end confdefs.h. */
65322 #include <math.h>
65323 #ifdef HAVE_IEEEFP_H
65324 #include <ieeefp.h>
65325 #endif
65326
65327 int
65328 main ()
65329 {
65330 _log10f(0);
65331 ;
65332 return 0;
65333 }
65334 _ACEOF
65335 if ac_fn_cxx_try_compile "$LINENO"; then :
65336 glibcxx_cv_func__log10f_use=yes
65337 else
65338 glibcxx_cv_func__log10f_use=no
65339 fi
65340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65341 ac_ext=c
65342 ac_cpp='$CPP $CPPFLAGS'
65343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65346
65347
65348 fi
65349
65350 fi
65351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
65352 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
65353
65354 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
65355 for ac_func in _log10f
65356 do :
65357 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
65358 if test "x$ac_cv_func__log10f" = xyes; then :
65359 cat >>confdefs.h <<_ACEOF
65360 #define HAVE__LOG10F 1
65361 _ACEOF
65362
65363 fi
65364 done
65365
65366 fi
65367 fi
65368
65369
65370
65371
65372
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
65374 $as_echo_n "checking for modff declaration... " >&6; }
65375 if test x${glibcxx_cv_func_modff_use+set} != xset; then
65376 if ${glibcxx_cv_func_modff_use+:} false; then :
65377 $as_echo_n "(cached) " >&6
65378 else
65379
65380
65381 ac_ext=cpp
65382 ac_cpp='$CXXCPP $CPPFLAGS'
65383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65386
65387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65388 /* end confdefs.h. */
65389 #include <math.h>
65390 int
65391 main ()
65392 {
65393 modff(0, 0);
65394 ;
65395 return 0;
65396 }
65397 _ACEOF
65398 if ac_fn_cxx_try_compile "$LINENO"; then :
65399 glibcxx_cv_func_modff_use=yes
65400 else
65401 glibcxx_cv_func_modff_use=no
65402 fi
65403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65404 ac_ext=c
65405 ac_cpp='$CPP $CPPFLAGS'
65406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65409
65410
65411 fi
65412
65413 fi
65414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
65415 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
65416
65417 if test x$glibcxx_cv_func_modff_use = x"yes"; then
65418 for ac_func in modff
65419 do :
65420 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
65421 if test "x$ac_cv_func_modff" = xyes; then :
65422 cat >>confdefs.h <<_ACEOF
65423 #define HAVE_MODFF 1
65424 _ACEOF
65425
65426 fi
65427 done
65428
65429 else
65430
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
65432 $as_echo_n "checking for _modff declaration... " >&6; }
65433 if test x${glibcxx_cv_func__modff_use+set} != xset; then
65434 if ${glibcxx_cv_func__modff_use+:} false; then :
65435 $as_echo_n "(cached) " >&6
65436 else
65437
65438
65439 ac_ext=cpp
65440 ac_cpp='$CXXCPP $CPPFLAGS'
65441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65444
65445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65446 /* end confdefs.h. */
65447 #include <math.h>
65448 int
65449 main ()
65450 {
65451 _modff(0, 0);
65452 ;
65453 return 0;
65454 }
65455 _ACEOF
65456 if ac_fn_cxx_try_compile "$LINENO"; then :
65457 glibcxx_cv_func__modff_use=yes
65458 else
65459 glibcxx_cv_func__modff_use=no
65460 fi
65461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65462 ac_ext=c
65463 ac_cpp='$CPP $CPPFLAGS'
65464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65467
65468
65469 fi
65470
65471 fi
65472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
65473 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
65474
65475 if test x$glibcxx_cv_func__modff_use = x"yes"; then
65476 for ac_func in _modff
65477 do :
65478 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
65479 if test "x$ac_cv_func__modff" = xyes; then :
65480 cat >>confdefs.h <<_ACEOF
65481 #define HAVE__MODFF 1
65482 _ACEOF
65483
65484 fi
65485 done
65486
65487 fi
65488 fi
65489
65490
65491
65492
65493
65494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
65495 $as_echo_n "checking for modf declaration... " >&6; }
65496 if test x${glibcxx_cv_func_modf_use+set} != xset; then
65497 if ${glibcxx_cv_func_modf_use+:} false; then :
65498 $as_echo_n "(cached) " >&6
65499 else
65500
65501
65502 ac_ext=cpp
65503 ac_cpp='$CXXCPP $CPPFLAGS'
65504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65507
65508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65509 /* end confdefs.h. */
65510 #include <math.h>
65511 int
65512 main ()
65513 {
65514 modf(0, 0);
65515 ;
65516 return 0;
65517 }
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func_modf_use=yes
65521 else
65522 glibcxx_cv_func_modf_use=no
65523 fi
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65530
65531
65532 fi
65533
65534 fi
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
65536 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
65537
65538 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65539 for ac_func in modf
65540 do :
65541 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
65542 if test "x$ac_cv_func_modf" = xyes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE_MODF 1
65545 _ACEOF
65546
65547 fi
65548 done
65549
65550 else
65551
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
65553 $as_echo_n "checking for _modf declaration... " >&6; }
65554 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65555 if ${glibcxx_cv_func__modf_use+:} false; then :
65556 $as_echo_n "(cached) " >&6
65557 else
65558
65559
65560 ac_ext=cpp
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65565
65566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65567 /* end confdefs.h. */
65568 #include <math.h>
65569 int
65570 main ()
65571 {
65572 _modf(0, 0);
65573 ;
65574 return 0;
65575 }
65576 _ACEOF
65577 if ac_fn_cxx_try_compile "$LINENO"; then :
65578 glibcxx_cv_func__modf_use=yes
65579 else
65580 glibcxx_cv_func__modf_use=no
65581 fi
65582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65583 ac_ext=c
65584 ac_cpp='$CPP $CPPFLAGS'
65585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65588
65589
65590 fi
65591
65592 fi
65593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
65594 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
65595
65596 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65597 for ac_func in _modf
65598 do :
65599 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
65600 if test "x$ac_cv_func__modf" = xyes; then :
65601 cat >>confdefs.h <<_ACEOF
65602 #define HAVE__MODF 1
65603 _ACEOF
65604
65605 fi
65606 done
65607
65608 fi
65609 fi
65610
65611
65612
65613
65614
65615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
65616 $as_echo_n "checking for powf declaration... " >&6; }
65617 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65618 if ${glibcxx_cv_func_powf_use+:} false; then :
65619 $as_echo_n "(cached) " >&6
65620 else
65621
65622
65623 ac_ext=cpp
65624 ac_cpp='$CXXCPP $CPPFLAGS'
65625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65628
65629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65630 /* end confdefs.h. */
65631 #include <math.h>
65632 int
65633 main ()
65634 {
65635 powf(0, 0);
65636 ;
65637 return 0;
65638 }
65639 _ACEOF
65640 if ac_fn_cxx_try_compile "$LINENO"; then :
65641 glibcxx_cv_func_powf_use=yes
65642 else
65643 glibcxx_cv_func_powf_use=no
65644 fi
65645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65646 ac_ext=c
65647 ac_cpp='$CPP $CPPFLAGS'
65648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65651
65652
65653 fi
65654
65655 fi
65656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
65657 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
65658
65659 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65660 for ac_func in powf
65661 do :
65662 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
65663 if test "x$ac_cv_func_powf" = xyes; then :
65664 cat >>confdefs.h <<_ACEOF
65665 #define HAVE_POWF 1
65666 _ACEOF
65667
65668 fi
65669 done
65670
65671 else
65672
65673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
65674 $as_echo_n "checking for _powf declaration... " >&6; }
65675 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65676 if ${glibcxx_cv_func__powf_use+:} false; then :
65677 $as_echo_n "(cached) " >&6
65678 else
65679
65680
65681 ac_ext=cpp
65682 ac_cpp='$CXXCPP $CPPFLAGS'
65683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65686
65687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65688 /* end confdefs.h. */
65689 #include <math.h>
65690 int
65691 main ()
65692 {
65693 _powf(0, 0);
65694 ;
65695 return 0;
65696 }
65697 _ACEOF
65698 if ac_fn_cxx_try_compile "$LINENO"; then :
65699 glibcxx_cv_func__powf_use=yes
65700 else
65701 glibcxx_cv_func__powf_use=no
65702 fi
65703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65704 ac_ext=c
65705 ac_cpp='$CPP $CPPFLAGS'
65706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65709
65710
65711 fi
65712
65713 fi
65714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
65715 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
65716
65717 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65718 for ac_func in _powf
65719 do :
65720 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
65721 if test "x$ac_cv_func__powf" = xyes; then :
65722 cat >>confdefs.h <<_ACEOF
65723 #define HAVE__POWF 1
65724 _ACEOF
65725
65726 fi
65727 done
65728
65729 fi
65730 fi
65731
65732
65733
65734
65735
65736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
65737 $as_echo_n "checking for sqrtf declaration... " >&6; }
65738 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65739 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
65740 $as_echo_n "(cached) " >&6
65741 else
65742
65743
65744 ac_ext=cpp
65745 ac_cpp='$CXXCPP $CPPFLAGS'
65746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65749
65750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65751 /* end confdefs.h. */
65752 #include <math.h>
65753 #ifdef HAVE_IEEEFP_H
65754 #include <ieeefp.h>
65755 #endif
65756
65757 int
65758 main ()
65759 {
65760 sqrtf(0);
65761 ;
65762 return 0;
65763 }
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func_sqrtf_use=yes
65767 else
65768 glibcxx_cv_func_sqrtf_use=no
65769 fi
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65776
65777
65778 fi
65779
65780 fi
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
65782 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
65783
65784 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65785 for ac_func in sqrtf
65786 do :
65787 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
65788 if test "x$ac_cv_func_sqrtf" = xyes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE_SQRTF 1
65791 _ACEOF
65792
65793 fi
65794 done
65795
65796 else
65797
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
65799 $as_echo_n "checking for _sqrtf declaration... " >&6; }
65800 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
65801 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
65802 $as_echo_n "(cached) " >&6
65803 else
65804
65805
65806 ac_ext=cpp
65807 ac_cpp='$CXXCPP $CPPFLAGS'
65808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65811
65812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65813 /* end confdefs.h. */
65814 #include <math.h>
65815 #ifdef HAVE_IEEEFP_H
65816 #include <ieeefp.h>
65817 #endif
65818
65819 int
65820 main ()
65821 {
65822 _sqrtf(0);
65823 ;
65824 return 0;
65825 }
65826 _ACEOF
65827 if ac_fn_cxx_try_compile "$LINENO"; then :
65828 glibcxx_cv_func__sqrtf_use=yes
65829 else
65830 glibcxx_cv_func__sqrtf_use=no
65831 fi
65832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65833 ac_ext=c
65834 ac_cpp='$CPP $CPPFLAGS'
65835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65838
65839
65840 fi
65841
65842 fi
65843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
65844 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
65845
65846 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
65847 for ac_func in _sqrtf
65848 do :
65849 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
65850 if test "x$ac_cv_func__sqrtf" = xyes; then :
65851 cat >>confdefs.h <<_ACEOF
65852 #define HAVE__SQRTF 1
65853 _ACEOF
65854
65855 fi
65856 done
65857
65858 fi
65859 fi
65860
65861
65862
65863
65864
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
65866 $as_echo_n "checking for sincosf declaration... " >&6; }
65867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
65868 if ${glibcxx_cv_func_sincosf_use+:} false; then :
65869 $as_echo_n "(cached) " >&6
65870 else
65871
65872
65873 ac_ext=cpp
65874 ac_cpp='$CXXCPP $CPPFLAGS'
65875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65878
65879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65880 /* end confdefs.h. */
65881 #include <math.h>
65882 int
65883 main ()
65884 {
65885 sincosf(0, 0, 0);
65886 ;
65887 return 0;
65888 }
65889 _ACEOF
65890 if ac_fn_cxx_try_compile "$LINENO"; then :
65891 glibcxx_cv_func_sincosf_use=yes
65892 else
65893 glibcxx_cv_func_sincosf_use=no
65894 fi
65895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65896 ac_ext=c
65897 ac_cpp='$CPP $CPPFLAGS'
65898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65901
65902
65903 fi
65904
65905 fi
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
65907 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
65908
65909 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
65910 for ac_func in sincosf
65911 do :
65912 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
65913 if test "x$ac_cv_func_sincosf" = xyes; then :
65914 cat >>confdefs.h <<_ACEOF
65915 #define HAVE_SINCOSF 1
65916 _ACEOF
65917
65918 fi
65919 done
65920
65921 else
65922
65923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
65924 $as_echo_n "checking for _sincosf declaration... " >&6; }
65925 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
65926 if ${glibcxx_cv_func__sincosf_use+:} false; then :
65927 $as_echo_n "(cached) " >&6
65928 else
65929
65930
65931 ac_ext=cpp
65932 ac_cpp='$CXXCPP $CPPFLAGS'
65933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65936
65937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65938 /* end confdefs.h. */
65939 #include <math.h>
65940 int
65941 main ()
65942 {
65943 _sincosf(0, 0, 0);
65944 ;
65945 return 0;
65946 }
65947 _ACEOF
65948 if ac_fn_cxx_try_compile "$LINENO"; then :
65949 glibcxx_cv_func__sincosf_use=yes
65950 else
65951 glibcxx_cv_func__sincosf_use=no
65952 fi
65953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65954 ac_ext=c
65955 ac_cpp='$CPP $CPPFLAGS'
65956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65959
65960
65961 fi
65962
65963 fi
65964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
65965 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
65966
65967 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
65968 for ac_func in _sincosf
65969 do :
65970 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
65971 if test "x$ac_cv_func__sincosf" = xyes; then :
65972 cat >>confdefs.h <<_ACEOF
65973 #define HAVE__SINCOSF 1
65974 _ACEOF
65975
65976 fi
65977 done
65978
65979 fi
65980 fi
65981
65982
65983
65984
65985
65986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
65987 $as_echo_n "checking for finitef declaration... " >&6; }
65988 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
65989 if ${glibcxx_cv_func_finitef_use+:} false; then :
65990 $as_echo_n "(cached) " >&6
65991 else
65992
65993
65994 ac_ext=cpp
65995 ac_cpp='$CXXCPP $CPPFLAGS'
65996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65999
66000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66001 /* end confdefs.h. */
66002 #include <math.h>
66003 #ifdef HAVE_IEEEFP_H
66004 #include <ieeefp.h>
66005 #endif
66006
66007 int
66008 main ()
66009 {
66010 finitef(0);
66011 ;
66012 return 0;
66013 }
66014 _ACEOF
66015 if ac_fn_cxx_try_compile "$LINENO"; then :
66016 glibcxx_cv_func_finitef_use=yes
66017 else
66018 glibcxx_cv_func_finitef_use=no
66019 fi
66020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66021 ac_ext=c
66022 ac_cpp='$CPP $CPPFLAGS'
66023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66026
66027
66028 fi
66029
66030 fi
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
66032 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
66033
66034 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
66035 for ac_func in finitef
66036 do :
66037 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
66038 if test "x$ac_cv_func_finitef" = xyes; then :
66039 cat >>confdefs.h <<_ACEOF
66040 #define HAVE_FINITEF 1
66041 _ACEOF
66042
66043 fi
66044 done
66045
66046 else
66047
66048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
66049 $as_echo_n "checking for _finitef declaration... " >&6; }
66050 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
66051 if ${glibcxx_cv_func__finitef_use+:} false; then :
66052 $as_echo_n "(cached) " >&6
66053 else
66054
66055
66056 ac_ext=cpp
66057 ac_cpp='$CXXCPP $CPPFLAGS'
66058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66061
66062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66063 /* end confdefs.h. */
66064 #include <math.h>
66065 #ifdef HAVE_IEEEFP_H
66066 #include <ieeefp.h>
66067 #endif
66068
66069 int
66070 main ()
66071 {
66072 _finitef(0);
66073 ;
66074 return 0;
66075 }
66076 _ACEOF
66077 if ac_fn_cxx_try_compile "$LINENO"; then :
66078 glibcxx_cv_func__finitef_use=yes
66079 else
66080 glibcxx_cv_func__finitef_use=no
66081 fi
66082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66083 ac_ext=c
66084 ac_cpp='$CPP $CPPFLAGS'
66085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66088
66089
66090 fi
66091
66092 fi
66093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
66094 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
66095
66096 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
66097 for ac_func in _finitef
66098 do :
66099 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
66100 if test "x$ac_cv_func__finitef" = xyes; then :
66101 cat >>confdefs.h <<_ACEOF
66102 #define HAVE__FINITEF 1
66103 _ACEOF
66104
66105 fi
66106 done
66107
66108 fi
66109 fi
66110
66111
66112
66113
66114
66115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
66116 $as_echo_n "checking for long double trig functions... " >&6; }
66117 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
66118 $as_echo_n "(cached) " >&6
66119 else
66120
66121
66122 ac_ext=cpp
66123 ac_cpp='$CXXCPP $CPPFLAGS'
66124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66127
66128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66129 /* end confdefs.h. */
66130 #include <math.h>
66131 int
66132 main ()
66133 {
66134 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
66135 ;
66136 return 0;
66137 }
66138 _ACEOF
66139 if ac_fn_cxx_try_compile "$LINENO"; then :
66140 glibcxx_cv_func_long_double_trig_use=yes
66141 else
66142 glibcxx_cv_func_long_double_trig_use=no
66143 fi
66144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66145 ac_ext=c
66146 ac_cpp='$CPP $CPPFLAGS'
66147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66150
66151 fi
66152
66153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
66154 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
66155 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
66156 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
66157 do :
66158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66161 cat >>confdefs.h <<_ACEOF
66162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66163 _ACEOF
66164
66165 fi
66166 done
66167
66168 else
66169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
66170 $as_echo_n "checking for _long double trig functions... " >&6; }
66171 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
66172 $as_echo_n "(cached) " >&6
66173 else
66174
66175
66176 ac_ext=cpp
66177 ac_cpp='$CXXCPP $CPPFLAGS'
66178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66181
66182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66183 /* end confdefs.h. */
66184 #include <math.h>
66185 int
66186 main ()
66187 {
66188 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
66189 ;
66190 return 0;
66191 }
66192 _ACEOF
66193 if ac_fn_cxx_try_compile "$LINENO"; then :
66194 glibcxx_cv_func__long_double_trig_use=yes
66195 else
66196 glibcxx_cv_func__long_double_trig_use=no
66197 fi
66198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66199 ac_ext=c
66200 ac_cpp='$CPP $CPPFLAGS'
66201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66204
66205 fi
66206
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
66208 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
66209 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
66210 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
66211 do :
66212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66215 cat >>confdefs.h <<_ACEOF
66216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66217 _ACEOF
66218
66219 fi
66220 done
66221
66222 fi
66223 fi
66224
66225
66226
66227
66228
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
66230 $as_echo_n "checking for long double round functions... " >&6; }
66231 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
66232 $as_echo_n "(cached) " >&6
66233 else
66234
66235
66236 ac_ext=cpp
66237 ac_cpp='$CXXCPP $CPPFLAGS'
66238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66241
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 #include <math.h>
66245 int
66246 main ()
66247 {
66248 ceill (0); floorl (0);
66249 ;
66250 return 0;
66251 }
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 glibcxx_cv_func_long_double_round_use=yes
66255 else
66256 glibcxx_cv_func_long_double_round_use=no
66257 fi
66258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66259 ac_ext=c
66260 ac_cpp='$CPP $CPPFLAGS'
66261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66264
66265 fi
66266
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
66268 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
66269 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
66270 for ac_func in ceill floorl
66271 do :
66272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66275 cat >>confdefs.h <<_ACEOF
66276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66277 _ACEOF
66278
66279 fi
66280 done
66281
66282 else
66283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
66284 $as_echo_n "checking for _long double round functions... " >&6; }
66285 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
66286 $as_echo_n "(cached) " >&6
66287 else
66288
66289
66290 ac_ext=cpp
66291 ac_cpp='$CXXCPP $CPPFLAGS'
66292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66295
66296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66297 /* end confdefs.h. */
66298 #include <math.h>
66299 int
66300 main ()
66301 {
66302 _ceill (0); _floorl (0);
66303 ;
66304 return 0;
66305 }
66306 _ACEOF
66307 if ac_fn_cxx_try_compile "$LINENO"; then :
66308 glibcxx_cv_func__long_double_round_use=yes
66309 else
66310 glibcxx_cv_func__long_double_round_use=no
66311 fi
66312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66313 ac_ext=c
66314 ac_cpp='$CPP $CPPFLAGS'
66315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66318
66319 fi
66320
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
66322 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
66323 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
66324 for ac_func in _ceill _floorl
66325 do :
66326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66329 cat >>confdefs.h <<_ACEOF
66330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66331 _ACEOF
66332
66333 fi
66334 done
66335
66336 fi
66337 fi
66338
66339
66340
66341
66342
66343
66344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
66345 $as_echo_n "checking for isnanl declaration... " >&6; }
66346 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
66347 if ${glibcxx_cv_func_isnanl_use+:} false; then :
66348 $as_echo_n "(cached) " >&6
66349 else
66350
66351
66352 ac_ext=cpp
66353 ac_cpp='$CXXCPP $CPPFLAGS'
66354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66357
66358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66359 /* end confdefs.h. */
66360 #include <math.h>
66361 #ifdef HAVE_IEEEFP_H
66362 #include <ieeefp.h>
66363 #endif
66364
66365 int
66366 main ()
66367 {
66368 isnanl(0);
66369 ;
66370 return 0;
66371 }
66372 _ACEOF
66373 if ac_fn_cxx_try_compile "$LINENO"; then :
66374 glibcxx_cv_func_isnanl_use=yes
66375 else
66376 glibcxx_cv_func_isnanl_use=no
66377 fi
66378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66379 ac_ext=c
66380 ac_cpp='$CPP $CPPFLAGS'
66381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66384
66385
66386 fi
66387
66388 fi
66389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
66390 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
66391
66392 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
66393 for ac_func in isnanl
66394 do :
66395 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
66396 if test "x$ac_cv_func_isnanl" = xyes; then :
66397 cat >>confdefs.h <<_ACEOF
66398 #define HAVE_ISNANL 1
66399 _ACEOF
66400
66401 fi
66402 done
66403
66404 else
66405
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
66407 $as_echo_n "checking for _isnanl declaration... " >&6; }
66408 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
66409 if ${glibcxx_cv_func__isnanl_use+:} false; then :
66410 $as_echo_n "(cached) " >&6
66411 else
66412
66413
66414 ac_ext=cpp
66415 ac_cpp='$CXXCPP $CPPFLAGS'
66416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66419
66420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66421 /* end confdefs.h. */
66422 #include <math.h>
66423 #ifdef HAVE_IEEEFP_H
66424 #include <ieeefp.h>
66425 #endif
66426
66427 int
66428 main ()
66429 {
66430 _isnanl(0);
66431 ;
66432 return 0;
66433 }
66434 _ACEOF
66435 if ac_fn_cxx_try_compile "$LINENO"; then :
66436 glibcxx_cv_func__isnanl_use=yes
66437 else
66438 glibcxx_cv_func__isnanl_use=no
66439 fi
66440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66441 ac_ext=c
66442 ac_cpp='$CPP $CPPFLAGS'
66443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66446
66447
66448 fi
66449
66450 fi
66451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
66452 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
66453
66454 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
66455 for ac_func in _isnanl
66456 do :
66457 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
66458 if test "x$ac_cv_func__isnanl" = xyes; then :
66459 cat >>confdefs.h <<_ACEOF
66460 #define HAVE__ISNANL 1
66461 _ACEOF
66462
66463 fi
66464 done
66465
66466 fi
66467 fi
66468
66469
66470
66471
66472
66473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
66474 $as_echo_n "checking for isinfl declaration... " >&6; }
66475 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
66476 if ${glibcxx_cv_func_isinfl_use+:} false; then :
66477 $as_echo_n "(cached) " >&6
66478 else
66479
66480
66481 ac_ext=cpp
66482 ac_cpp='$CXXCPP $CPPFLAGS'
66483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66486
66487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66488 /* end confdefs.h. */
66489 #include <math.h>
66490 #ifdef HAVE_IEEEFP_H
66491 #include <ieeefp.h>
66492 #endif
66493
66494 int
66495 main ()
66496 {
66497 isinfl(0);
66498 ;
66499 return 0;
66500 }
66501 _ACEOF
66502 if ac_fn_cxx_try_compile "$LINENO"; then :
66503 glibcxx_cv_func_isinfl_use=yes
66504 else
66505 glibcxx_cv_func_isinfl_use=no
66506 fi
66507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66508 ac_ext=c
66509 ac_cpp='$CPP $CPPFLAGS'
66510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66513
66514
66515 fi
66516
66517 fi
66518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
66519 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
66520
66521 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66522 for ac_func in isinfl
66523 do :
66524 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
66525 if test "x$ac_cv_func_isinfl" = xyes; then :
66526 cat >>confdefs.h <<_ACEOF
66527 #define HAVE_ISINFL 1
66528 _ACEOF
66529
66530 fi
66531 done
66532
66533 else
66534
66535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
66536 $as_echo_n "checking for _isinfl declaration... " >&6; }
66537 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66538 if ${glibcxx_cv_func__isinfl_use+:} false; then :
66539 $as_echo_n "(cached) " >&6
66540 else
66541
66542
66543 ac_ext=cpp
66544 ac_cpp='$CXXCPP $CPPFLAGS'
66545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66548
66549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66550 /* end confdefs.h. */
66551 #include <math.h>
66552 #ifdef HAVE_IEEEFP_H
66553 #include <ieeefp.h>
66554 #endif
66555
66556 int
66557 main ()
66558 {
66559 _isinfl(0);
66560 ;
66561 return 0;
66562 }
66563 _ACEOF
66564 if ac_fn_cxx_try_compile "$LINENO"; then :
66565 glibcxx_cv_func__isinfl_use=yes
66566 else
66567 glibcxx_cv_func__isinfl_use=no
66568 fi
66569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66570 ac_ext=c
66571 ac_cpp='$CPP $CPPFLAGS'
66572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66575
66576
66577 fi
66578
66579 fi
66580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
66581 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
66582
66583 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66584 for ac_func in _isinfl
66585 do :
66586 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
66587 if test "x$ac_cv_func__isinfl" = xyes; then :
66588 cat >>confdefs.h <<_ACEOF
66589 #define HAVE__ISINFL 1
66590 _ACEOF
66591
66592 fi
66593 done
66594
66595 fi
66596 fi
66597
66598
66599
66600
66601
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66603 $as_echo_n "checking for atan2l declaration... " >&6; }
66604 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66605 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66606 $as_echo_n "(cached) " >&6
66607 else
66608
66609
66610 ac_ext=cpp
66611 ac_cpp='$CXXCPP $CPPFLAGS'
66612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66615
66616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66617 /* end confdefs.h. */
66618 #include <math.h>
66619 int
66620 main ()
66621 {
66622 atan2l(0, 0);
66623 ;
66624 return 0;
66625 }
66626 _ACEOF
66627 if ac_fn_cxx_try_compile "$LINENO"; then :
66628 glibcxx_cv_func_atan2l_use=yes
66629 else
66630 glibcxx_cv_func_atan2l_use=no
66631 fi
66632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66633 ac_ext=c
66634 ac_cpp='$CPP $CPPFLAGS'
66635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66638
66639
66640 fi
66641
66642 fi
66643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66644 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66645
66646 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66647 for ac_func in atan2l
66648 do :
66649 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
66650 if test "x$ac_cv_func_atan2l" = xyes; then :
66651 cat >>confdefs.h <<_ACEOF
66652 #define HAVE_ATAN2L 1
66653 _ACEOF
66654
66655 fi
66656 done
66657
66658 else
66659
66660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
66661 $as_echo_n "checking for _atan2l declaration... " >&6; }
66662 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66663 if ${glibcxx_cv_func__atan2l_use+:} false; then :
66664 $as_echo_n "(cached) " >&6
66665 else
66666
66667
66668 ac_ext=cpp
66669 ac_cpp='$CXXCPP $CPPFLAGS'
66670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66673
66674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66675 /* end confdefs.h. */
66676 #include <math.h>
66677 int
66678 main ()
66679 {
66680 _atan2l(0, 0);
66681 ;
66682 return 0;
66683 }
66684 _ACEOF
66685 if ac_fn_cxx_try_compile "$LINENO"; then :
66686 glibcxx_cv_func__atan2l_use=yes
66687 else
66688 glibcxx_cv_func__atan2l_use=no
66689 fi
66690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66691 ac_ext=c
66692 ac_cpp='$CPP $CPPFLAGS'
66693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66696
66697
66698 fi
66699
66700 fi
66701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
66702 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
66703
66704 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66705 for ac_func in _atan2l
66706 do :
66707 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
66708 if test "x$ac_cv_func__atan2l" = xyes; then :
66709 cat >>confdefs.h <<_ACEOF
66710 #define HAVE__ATAN2L 1
66711 _ACEOF
66712
66713 fi
66714 done
66715
66716 fi
66717 fi
66718
66719
66720
66721
66722
66723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
66724 $as_echo_n "checking for expl declaration... " >&6; }
66725 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66726 if ${glibcxx_cv_func_expl_use+:} false; then :
66727 $as_echo_n "(cached) " >&6
66728 else
66729
66730
66731 ac_ext=cpp
66732 ac_cpp='$CXXCPP $CPPFLAGS'
66733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66736
66737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66738 /* end confdefs.h. */
66739 #include <math.h>
66740 #ifdef HAVE_IEEEFP_H
66741 #include <ieeefp.h>
66742 #endif
66743
66744 int
66745 main ()
66746 {
66747 expl(0);
66748 ;
66749 return 0;
66750 }
66751 _ACEOF
66752 if ac_fn_cxx_try_compile "$LINENO"; then :
66753 glibcxx_cv_func_expl_use=yes
66754 else
66755 glibcxx_cv_func_expl_use=no
66756 fi
66757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66758 ac_ext=c
66759 ac_cpp='$CPP $CPPFLAGS'
66760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66763
66764
66765 fi
66766
66767 fi
66768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
66769 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
66770
66771 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66772 for ac_func in expl
66773 do :
66774 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
66775 if test "x$ac_cv_func_expl" = xyes; then :
66776 cat >>confdefs.h <<_ACEOF
66777 #define HAVE_EXPL 1
66778 _ACEOF
66779
66780 fi
66781 done
66782
66783 else
66784
66785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
66786 $as_echo_n "checking for _expl declaration... " >&6; }
66787 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66788 if ${glibcxx_cv_func__expl_use+:} false; then :
66789 $as_echo_n "(cached) " >&6
66790 else
66791
66792
66793 ac_ext=cpp
66794 ac_cpp='$CXXCPP $CPPFLAGS'
66795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66798
66799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66800 /* end confdefs.h. */
66801 #include <math.h>
66802 #ifdef HAVE_IEEEFP_H
66803 #include <ieeefp.h>
66804 #endif
66805
66806 int
66807 main ()
66808 {
66809 _expl(0);
66810 ;
66811 return 0;
66812 }
66813 _ACEOF
66814 if ac_fn_cxx_try_compile "$LINENO"; then :
66815 glibcxx_cv_func__expl_use=yes
66816 else
66817 glibcxx_cv_func__expl_use=no
66818 fi
66819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66820 ac_ext=c
66821 ac_cpp='$CPP $CPPFLAGS'
66822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66825
66826
66827 fi
66828
66829 fi
66830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
66831 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
66832
66833 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66834 for ac_func in _expl
66835 do :
66836 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
66837 if test "x$ac_cv_func__expl" = xyes; then :
66838 cat >>confdefs.h <<_ACEOF
66839 #define HAVE__EXPL 1
66840 _ACEOF
66841
66842 fi
66843 done
66844
66845 fi
66846 fi
66847
66848
66849
66850
66851
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
66853 $as_echo_n "checking for fabsl declaration... " >&6; }
66854 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66855 if ${glibcxx_cv_func_fabsl_use+:} false; then :
66856 $as_echo_n "(cached) " >&6
66857 else
66858
66859
66860 ac_ext=cpp
66861 ac_cpp='$CXXCPP $CPPFLAGS'
66862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865
66866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66867 /* end confdefs.h. */
66868 #include <math.h>
66869 #ifdef HAVE_IEEEFP_H
66870 #include <ieeefp.h>
66871 #endif
66872
66873 int
66874 main ()
66875 {
66876 fabsl(0);
66877 ;
66878 return 0;
66879 }
66880 _ACEOF
66881 if ac_fn_cxx_try_compile "$LINENO"; then :
66882 glibcxx_cv_func_fabsl_use=yes
66883 else
66884 glibcxx_cv_func_fabsl_use=no
66885 fi
66886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66887 ac_ext=c
66888 ac_cpp='$CPP $CPPFLAGS'
66889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66892
66893
66894 fi
66895
66896 fi
66897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
66898 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
66899
66900 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66901 for ac_func in fabsl
66902 do :
66903 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
66904 if test "x$ac_cv_func_fabsl" = xyes; then :
66905 cat >>confdefs.h <<_ACEOF
66906 #define HAVE_FABSL 1
66907 _ACEOF
66908
66909 fi
66910 done
66911
66912 else
66913
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
66915 $as_echo_n "checking for _fabsl declaration... " >&6; }
66916 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66917 if ${glibcxx_cv_func__fabsl_use+:} false; then :
66918 $as_echo_n "(cached) " >&6
66919 else
66920
66921
66922 ac_ext=cpp
66923 ac_cpp='$CXXCPP $CPPFLAGS'
66924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66927
66928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66929 /* end confdefs.h. */
66930 #include <math.h>
66931 #ifdef HAVE_IEEEFP_H
66932 #include <ieeefp.h>
66933 #endif
66934
66935 int
66936 main ()
66937 {
66938 _fabsl(0);
66939 ;
66940 return 0;
66941 }
66942 _ACEOF
66943 if ac_fn_cxx_try_compile "$LINENO"; then :
66944 glibcxx_cv_func__fabsl_use=yes
66945 else
66946 glibcxx_cv_func__fabsl_use=no
66947 fi
66948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66949 ac_ext=c
66950 ac_cpp='$CPP $CPPFLAGS'
66951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66954
66955
66956 fi
66957
66958 fi
66959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
66960 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
66961
66962 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66963 for ac_func in _fabsl
66964 do :
66965 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
66966 if test "x$ac_cv_func__fabsl" = xyes; then :
66967 cat >>confdefs.h <<_ACEOF
66968 #define HAVE__FABSL 1
66969 _ACEOF
66970
66971 fi
66972 done
66973
66974 fi
66975 fi
66976
66977
66978
66979
66980
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
66982 $as_echo_n "checking for fmodl declaration... " >&6; }
66983 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66984 if ${glibcxx_cv_func_fmodl_use+:} false; then :
66985 $as_echo_n "(cached) " >&6
66986 else
66987
66988
66989 ac_ext=cpp
66990 ac_cpp='$CXXCPP $CPPFLAGS'
66991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66994
66995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66996 /* end confdefs.h. */
66997 #include <math.h>
66998 int
66999 main ()
67000 {
67001 fmodl(0, 0);
67002 ;
67003 return 0;
67004 }
67005 _ACEOF
67006 if ac_fn_cxx_try_compile "$LINENO"; then :
67007 glibcxx_cv_func_fmodl_use=yes
67008 else
67009 glibcxx_cv_func_fmodl_use=no
67010 fi
67011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67012 ac_ext=c
67013 ac_cpp='$CPP $CPPFLAGS'
67014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67017
67018
67019 fi
67020
67021 fi
67022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67023 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67024
67025 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67026 for ac_func in fmodl
67027 do :
67028 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
67029 if test "x$ac_cv_func_fmodl" = xyes; then :
67030 cat >>confdefs.h <<_ACEOF
67031 #define HAVE_FMODL 1
67032 _ACEOF
67033
67034 fi
67035 done
67036
67037 else
67038
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
67040 $as_echo_n "checking for _fmodl declaration... " >&6; }
67041 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67042 if ${glibcxx_cv_func__fmodl_use+:} false; then :
67043 $as_echo_n "(cached) " >&6
67044 else
67045
67046
67047 ac_ext=cpp
67048 ac_cpp='$CXXCPP $CPPFLAGS'
67049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67052
67053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67054 /* end confdefs.h. */
67055 #include <math.h>
67056 int
67057 main ()
67058 {
67059 _fmodl(0, 0);
67060 ;
67061 return 0;
67062 }
67063 _ACEOF
67064 if ac_fn_cxx_try_compile "$LINENO"; then :
67065 glibcxx_cv_func__fmodl_use=yes
67066 else
67067 glibcxx_cv_func__fmodl_use=no
67068 fi
67069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67070 ac_ext=c
67071 ac_cpp='$CPP $CPPFLAGS'
67072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67075
67076
67077 fi
67078
67079 fi
67080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
67081 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
67082
67083 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67084 for ac_func in _fmodl
67085 do :
67086 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
67087 if test "x$ac_cv_func__fmodl" = xyes; then :
67088 cat >>confdefs.h <<_ACEOF
67089 #define HAVE__FMODL 1
67090 _ACEOF
67091
67092 fi
67093 done
67094
67095 fi
67096 fi
67097
67098
67099
67100
67101
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67103 $as_echo_n "checking for frexpl declaration... " >&6; }
67104 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67105 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67106 $as_echo_n "(cached) " >&6
67107 else
67108
67109
67110 ac_ext=cpp
67111 ac_cpp='$CXXCPP $CPPFLAGS'
67112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115
67116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67117 /* end confdefs.h. */
67118 #include <math.h>
67119 int
67120 main ()
67121 {
67122 frexpl(0, 0);
67123 ;
67124 return 0;
67125 }
67126 _ACEOF
67127 if ac_fn_cxx_try_compile "$LINENO"; then :
67128 glibcxx_cv_func_frexpl_use=yes
67129 else
67130 glibcxx_cv_func_frexpl_use=no
67131 fi
67132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67133 ac_ext=c
67134 ac_cpp='$CPP $CPPFLAGS'
67135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67138
67139
67140 fi
67141
67142 fi
67143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67144 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67145
67146 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67147 for ac_func in frexpl
67148 do :
67149 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
67150 if test "x$ac_cv_func_frexpl" = xyes; then :
67151 cat >>confdefs.h <<_ACEOF
67152 #define HAVE_FREXPL 1
67153 _ACEOF
67154
67155 fi
67156 done
67157
67158 else
67159
67160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
67161 $as_echo_n "checking for _frexpl declaration... " >&6; }
67162 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67163 if ${glibcxx_cv_func__frexpl_use+:} false; then :
67164 $as_echo_n "(cached) " >&6
67165 else
67166
67167
67168 ac_ext=cpp
67169 ac_cpp='$CXXCPP $CPPFLAGS'
67170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67173
67174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67175 /* end confdefs.h. */
67176 #include <math.h>
67177 int
67178 main ()
67179 {
67180 _frexpl(0, 0);
67181 ;
67182 return 0;
67183 }
67184 _ACEOF
67185 if ac_fn_cxx_try_compile "$LINENO"; then :
67186 glibcxx_cv_func__frexpl_use=yes
67187 else
67188 glibcxx_cv_func__frexpl_use=no
67189 fi
67190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67191 ac_ext=c
67192 ac_cpp='$CPP $CPPFLAGS'
67193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67196
67197
67198 fi
67199
67200 fi
67201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
67202 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
67203
67204 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67205 for ac_func in _frexpl
67206 do :
67207 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
67208 if test "x$ac_cv_func__frexpl" = xyes; then :
67209 cat >>confdefs.h <<_ACEOF
67210 #define HAVE__FREXPL 1
67211 _ACEOF
67212
67213 fi
67214 done
67215
67216 fi
67217 fi
67218
67219
67220
67221
67222
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67224 $as_echo_n "checking for hypotl declaration... " >&6; }
67225 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67226 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67227 $as_echo_n "(cached) " >&6
67228 else
67229
67230
67231 ac_ext=cpp
67232 ac_cpp='$CXXCPP $CPPFLAGS'
67233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236
67237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67238 /* end confdefs.h. */
67239 #include <math.h>
67240 int
67241 main ()
67242 {
67243 hypotl(0, 0);
67244 ;
67245 return 0;
67246 }
67247 _ACEOF
67248 if ac_fn_cxx_try_compile "$LINENO"; then :
67249 glibcxx_cv_func_hypotl_use=yes
67250 else
67251 glibcxx_cv_func_hypotl_use=no
67252 fi
67253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67254 ac_ext=c
67255 ac_cpp='$CPP $CPPFLAGS'
67256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67259
67260
67261 fi
67262
67263 fi
67264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67265 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67266
67267 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67268 for ac_func in hypotl
67269 do :
67270 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
67271 if test "x$ac_cv_func_hypotl" = xyes; then :
67272 cat >>confdefs.h <<_ACEOF
67273 #define HAVE_HYPOTL 1
67274 _ACEOF
67275
67276 fi
67277 done
67278
67279 else
67280
67281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
67282 $as_echo_n "checking for _hypotl declaration... " >&6; }
67283 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67284 if ${glibcxx_cv_func__hypotl_use+:} false; then :
67285 $as_echo_n "(cached) " >&6
67286 else
67287
67288
67289 ac_ext=cpp
67290 ac_cpp='$CXXCPP $CPPFLAGS'
67291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67294
67295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67296 /* end confdefs.h. */
67297 #include <math.h>
67298 int
67299 main ()
67300 {
67301 _hypotl(0, 0);
67302 ;
67303 return 0;
67304 }
67305 _ACEOF
67306 if ac_fn_cxx_try_compile "$LINENO"; then :
67307 glibcxx_cv_func__hypotl_use=yes
67308 else
67309 glibcxx_cv_func__hypotl_use=no
67310 fi
67311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67312 ac_ext=c
67313 ac_cpp='$CPP $CPPFLAGS'
67314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67317
67318
67319 fi
67320
67321 fi
67322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
67323 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
67324
67325 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67326 for ac_func in _hypotl
67327 do :
67328 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
67329 if test "x$ac_cv_func__hypotl" = xyes; then :
67330 cat >>confdefs.h <<_ACEOF
67331 #define HAVE__HYPOTL 1
67332 _ACEOF
67333
67334 fi
67335 done
67336
67337 fi
67338 fi
67339
67340
67341
67342
67343
67344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67345 $as_echo_n "checking for ldexpl declaration... " >&6; }
67346 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67347 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67348 $as_echo_n "(cached) " >&6
67349 else
67350
67351
67352 ac_ext=cpp
67353 ac_cpp='$CXXCPP $CPPFLAGS'
67354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67357
67358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67359 /* end confdefs.h. */
67360 #include <math.h>
67361 int
67362 main ()
67363 {
67364 ldexpl(0, 0);
67365 ;
67366 return 0;
67367 }
67368 _ACEOF
67369 if ac_fn_cxx_try_compile "$LINENO"; then :
67370 glibcxx_cv_func_ldexpl_use=yes
67371 else
67372 glibcxx_cv_func_ldexpl_use=no
67373 fi
67374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67375 ac_ext=c
67376 ac_cpp='$CPP $CPPFLAGS'
67377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67380
67381
67382 fi
67383
67384 fi
67385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67386 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67387
67388 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67389 for ac_func in ldexpl
67390 do :
67391 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
67392 if test "x$ac_cv_func_ldexpl" = xyes; then :
67393 cat >>confdefs.h <<_ACEOF
67394 #define HAVE_LDEXPL 1
67395 _ACEOF
67396
67397 fi
67398 done
67399
67400 else
67401
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
67403 $as_echo_n "checking for _ldexpl declaration... " >&6; }
67404 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67405 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
67406 $as_echo_n "(cached) " >&6
67407 else
67408
67409
67410 ac_ext=cpp
67411 ac_cpp='$CXXCPP $CPPFLAGS'
67412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67415
67416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67417 /* end confdefs.h. */
67418 #include <math.h>
67419 int
67420 main ()
67421 {
67422 _ldexpl(0, 0);
67423 ;
67424 return 0;
67425 }
67426 _ACEOF
67427 if ac_fn_cxx_try_compile "$LINENO"; then :
67428 glibcxx_cv_func__ldexpl_use=yes
67429 else
67430 glibcxx_cv_func__ldexpl_use=no
67431 fi
67432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67433 ac_ext=c
67434 ac_cpp='$CPP $CPPFLAGS'
67435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67438
67439
67440 fi
67441
67442 fi
67443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
67444 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
67445
67446 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67447 for ac_func in _ldexpl
67448 do :
67449 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
67450 if test "x$ac_cv_func__ldexpl" = xyes; then :
67451 cat >>confdefs.h <<_ACEOF
67452 #define HAVE__LDEXPL 1
67453 _ACEOF
67454
67455 fi
67456 done
67457
67458 fi
67459 fi
67460
67461
67462
67463
67464
67465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67466 $as_echo_n "checking for logl declaration... " >&6; }
67467 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67468 if ${glibcxx_cv_func_logl_use+:} false; then :
67469 $as_echo_n "(cached) " >&6
67470 else
67471
67472
67473 ac_ext=cpp
67474 ac_cpp='$CXXCPP $CPPFLAGS'
67475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67478
67479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67480 /* end confdefs.h. */
67481 #include <math.h>
67482 #ifdef HAVE_IEEEFP_H
67483 #include <ieeefp.h>
67484 #endif
67485
67486 int
67487 main ()
67488 {
67489 logl(0);
67490 ;
67491 return 0;
67492 }
67493 _ACEOF
67494 if ac_fn_cxx_try_compile "$LINENO"; then :
67495 glibcxx_cv_func_logl_use=yes
67496 else
67497 glibcxx_cv_func_logl_use=no
67498 fi
67499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67500 ac_ext=c
67501 ac_cpp='$CPP $CPPFLAGS'
67502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67505
67506
67507 fi
67508
67509 fi
67510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67511 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67512
67513 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67514 for ac_func in logl
67515 do :
67516 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
67517 if test "x$ac_cv_func_logl" = xyes; then :
67518 cat >>confdefs.h <<_ACEOF
67519 #define HAVE_LOGL 1
67520 _ACEOF
67521
67522 fi
67523 done
67524
67525 else
67526
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
67528 $as_echo_n "checking for _logl declaration... " >&6; }
67529 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67530 if ${glibcxx_cv_func__logl_use+:} false; then :
67531 $as_echo_n "(cached) " >&6
67532 else
67533
67534
67535 ac_ext=cpp
67536 ac_cpp='$CXXCPP $CPPFLAGS'
67537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67540
67541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67542 /* end confdefs.h. */
67543 #include <math.h>
67544 #ifdef HAVE_IEEEFP_H
67545 #include <ieeefp.h>
67546 #endif
67547
67548 int
67549 main ()
67550 {
67551 _logl(0);
67552 ;
67553 return 0;
67554 }
67555 _ACEOF
67556 if ac_fn_cxx_try_compile "$LINENO"; then :
67557 glibcxx_cv_func__logl_use=yes
67558 else
67559 glibcxx_cv_func__logl_use=no
67560 fi
67561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67562 ac_ext=c
67563 ac_cpp='$CPP $CPPFLAGS'
67564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67567
67568
67569 fi
67570
67571 fi
67572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
67573 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
67574
67575 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67576 for ac_func in _logl
67577 do :
67578 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
67579 if test "x$ac_cv_func__logl" = xyes; then :
67580 cat >>confdefs.h <<_ACEOF
67581 #define HAVE__LOGL 1
67582 _ACEOF
67583
67584 fi
67585 done
67586
67587 fi
67588 fi
67589
67590
67591
67592
67593
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67595 $as_echo_n "checking for log10l declaration... " >&6; }
67596 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67597 if ${glibcxx_cv_func_log10l_use+:} false; then :
67598 $as_echo_n "(cached) " >&6
67599 else
67600
67601
67602 ac_ext=cpp
67603 ac_cpp='$CXXCPP $CPPFLAGS'
67604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67607
67608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67609 /* end confdefs.h. */
67610 #include <math.h>
67611 #ifdef HAVE_IEEEFP_H
67612 #include <ieeefp.h>
67613 #endif
67614
67615 int
67616 main ()
67617 {
67618 log10l(0);
67619 ;
67620 return 0;
67621 }
67622 _ACEOF
67623 if ac_fn_cxx_try_compile "$LINENO"; then :
67624 glibcxx_cv_func_log10l_use=yes
67625 else
67626 glibcxx_cv_func_log10l_use=no
67627 fi
67628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67629 ac_ext=c
67630 ac_cpp='$CPP $CPPFLAGS'
67631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67634
67635
67636 fi
67637
67638 fi
67639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67640 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67641
67642 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67643 for ac_func in log10l
67644 do :
67645 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
67646 if test "x$ac_cv_func_log10l" = xyes; then :
67647 cat >>confdefs.h <<_ACEOF
67648 #define HAVE_LOG10L 1
67649 _ACEOF
67650
67651 fi
67652 done
67653
67654 else
67655
67656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
67657 $as_echo_n "checking for _log10l declaration... " >&6; }
67658 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67659 if ${glibcxx_cv_func__log10l_use+:} false; then :
67660 $as_echo_n "(cached) " >&6
67661 else
67662
67663
67664 ac_ext=cpp
67665 ac_cpp='$CXXCPP $CPPFLAGS'
67666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67669
67670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67671 /* end confdefs.h. */
67672 #include <math.h>
67673 #ifdef HAVE_IEEEFP_H
67674 #include <ieeefp.h>
67675 #endif
67676
67677 int
67678 main ()
67679 {
67680 _log10l(0);
67681 ;
67682 return 0;
67683 }
67684 _ACEOF
67685 if ac_fn_cxx_try_compile "$LINENO"; then :
67686 glibcxx_cv_func__log10l_use=yes
67687 else
67688 glibcxx_cv_func__log10l_use=no
67689 fi
67690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67691 ac_ext=c
67692 ac_cpp='$CPP $CPPFLAGS'
67693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67696
67697
67698 fi
67699
67700 fi
67701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
67702 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
67703
67704 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67705 for ac_func in _log10l
67706 do :
67707 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
67708 if test "x$ac_cv_func__log10l" = xyes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define HAVE__LOG10L 1
67711 _ACEOF
67712
67713 fi
67714 done
67715
67716 fi
67717 fi
67718
67719
67720
67721
67722
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67724 $as_echo_n "checking for modfl declaration... " >&6; }
67725 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67726 if ${glibcxx_cv_func_modfl_use+:} false; then :
67727 $as_echo_n "(cached) " >&6
67728 else
67729
67730
67731 ac_ext=cpp
67732 ac_cpp='$CXXCPP $CPPFLAGS'
67733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67736
67737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67738 /* end confdefs.h. */
67739 #include <math.h>
67740 int
67741 main ()
67742 {
67743 modfl(0, 0);
67744 ;
67745 return 0;
67746 }
67747 _ACEOF
67748 if ac_fn_cxx_try_compile "$LINENO"; then :
67749 glibcxx_cv_func_modfl_use=yes
67750 else
67751 glibcxx_cv_func_modfl_use=no
67752 fi
67753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67754 ac_ext=c
67755 ac_cpp='$CPP $CPPFLAGS'
67756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67759
67760
67761 fi
67762
67763 fi
67764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67765 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67766
67767 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67768 for ac_func in modfl
67769 do :
67770 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
67771 if test "x$ac_cv_func_modfl" = xyes; then :
67772 cat >>confdefs.h <<_ACEOF
67773 #define HAVE_MODFL 1
67774 _ACEOF
67775
67776 fi
67777 done
67778
67779 else
67780
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
67782 $as_echo_n "checking for _modfl declaration... " >&6; }
67783 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
67784 if ${glibcxx_cv_func__modfl_use+:} false; then :
67785 $as_echo_n "(cached) " >&6
67786 else
67787
67788
67789 ac_ext=cpp
67790 ac_cpp='$CXXCPP $CPPFLAGS'
67791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67794
67795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67796 /* end confdefs.h. */
67797 #include <math.h>
67798 int
67799 main ()
67800 {
67801 _modfl(0, 0);
67802 ;
67803 return 0;
67804 }
67805 _ACEOF
67806 if ac_fn_cxx_try_compile "$LINENO"; then :
67807 glibcxx_cv_func__modfl_use=yes
67808 else
67809 glibcxx_cv_func__modfl_use=no
67810 fi
67811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67812 ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817
67818
67819 fi
67820
67821 fi
67822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
67823 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
67824
67825 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
67826 for ac_func in _modfl
67827 do :
67828 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
67829 if test "x$ac_cv_func__modfl" = xyes; then :
67830 cat >>confdefs.h <<_ACEOF
67831 #define HAVE__MODFL 1
67832 _ACEOF
67833
67834 fi
67835 done
67836
67837 fi
67838 fi
67839
67840
67841
67842
67843
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67845 $as_echo_n "checking for powl declaration... " >&6; }
67846 if test x${glibcxx_cv_func_powl_use+set} != xset; then
67847 if ${glibcxx_cv_func_powl_use+:} false; then :
67848 $as_echo_n "(cached) " >&6
67849 else
67850
67851
67852 ac_ext=cpp
67853 ac_cpp='$CXXCPP $CPPFLAGS'
67854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67857
67858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67859 /* end confdefs.h. */
67860 #include <math.h>
67861 int
67862 main ()
67863 {
67864 powl(0, 0);
67865 ;
67866 return 0;
67867 }
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func_powl_use=yes
67871 else
67872 glibcxx_cv_func_powl_use=no
67873 fi
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67880
67881
67882 fi
67883
67884 fi
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67886 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67887
67888 if test x$glibcxx_cv_func_powl_use = x"yes"; then
67889 for ac_func in powl
67890 do :
67891 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
67892 if test "x$ac_cv_func_powl" = xyes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE_POWL 1
67895 _ACEOF
67896
67897 fi
67898 done
67899
67900 else
67901
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
67903 $as_echo_n "checking for _powl declaration... " >&6; }
67904 if test x${glibcxx_cv_func__powl_use+set} != xset; then
67905 if ${glibcxx_cv_func__powl_use+:} false; then :
67906 $as_echo_n "(cached) " >&6
67907 else
67908
67909
67910 ac_ext=cpp
67911 ac_cpp='$CXXCPP $CPPFLAGS'
67912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915
67916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67917 /* end confdefs.h. */
67918 #include <math.h>
67919 int
67920 main ()
67921 {
67922 _powl(0, 0);
67923 ;
67924 return 0;
67925 }
67926 _ACEOF
67927 if ac_fn_cxx_try_compile "$LINENO"; then :
67928 glibcxx_cv_func__powl_use=yes
67929 else
67930 glibcxx_cv_func__powl_use=no
67931 fi
67932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67933 ac_ext=c
67934 ac_cpp='$CPP $CPPFLAGS'
67935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67938
67939
67940 fi
67941
67942 fi
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
67944 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
67945
67946 if test x$glibcxx_cv_func__powl_use = x"yes"; then
67947 for ac_func in _powl
67948 do :
67949 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
67950 if test "x$ac_cv_func__powl" = xyes; then :
67951 cat >>confdefs.h <<_ACEOF
67952 #define HAVE__POWL 1
67953 _ACEOF
67954
67955 fi
67956 done
67957
67958 fi
67959 fi
67960
67961
67962
67963
67964
67965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67966 $as_echo_n "checking for sqrtl declaration... " >&6; }
67967 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
67968 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67969 $as_echo_n "(cached) " >&6
67970 else
67971
67972
67973 ac_ext=cpp
67974 ac_cpp='$CXXCPP $CPPFLAGS'
67975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67978
67979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67980 /* end confdefs.h. */
67981 #include <math.h>
67982 #ifdef HAVE_IEEEFP_H
67983 #include <ieeefp.h>
67984 #endif
67985
67986 int
67987 main ()
67988 {
67989 sqrtl(0);
67990 ;
67991 return 0;
67992 }
67993 _ACEOF
67994 if ac_fn_cxx_try_compile "$LINENO"; then :
67995 glibcxx_cv_func_sqrtl_use=yes
67996 else
67997 glibcxx_cv_func_sqrtl_use=no
67998 fi
67999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68000 ac_ext=c
68001 ac_cpp='$CPP $CPPFLAGS'
68002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68005
68006
68007 fi
68008
68009 fi
68010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
68011 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
68012
68013 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68014 for ac_func in sqrtl
68015 do :
68016 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
68017 if test "x$ac_cv_func_sqrtl" = xyes; then :
68018 cat >>confdefs.h <<_ACEOF
68019 #define HAVE_SQRTL 1
68020 _ACEOF
68021
68022 fi
68023 done
68024
68025 else
68026
68027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
68028 $as_echo_n "checking for _sqrtl declaration... " >&6; }
68029 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68030 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
68031 $as_echo_n "(cached) " >&6
68032 else
68033
68034
68035 ac_ext=cpp
68036 ac_cpp='$CXXCPP $CPPFLAGS'
68037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68040
68041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68042 /* end confdefs.h. */
68043 #include <math.h>
68044 #ifdef HAVE_IEEEFP_H
68045 #include <ieeefp.h>
68046 #endif
68047
68048 int
68049 main ()
68050 {
68051 _sqrtl(0);
68052 ;
68053 return 0;
68054 }
68055 _ACEOF
68056 if ac_fn_cxx_try_compile "$LINENO"; then :
68057 glibcxx_cv_func__sqrtl_use=yes
68058 else
68059 glibcxx_cv_func__sqrtl_use=no
68060 fi
68061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68062 ac_ext=c
68063 ac_cpp='$CPP $CPPFLAGS'
68064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68067
68068
68069 fi
68070
68071 fi
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
68073 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
68074
68075 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68076 for ac_func in _sqrtl
68077 do :
68078 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
68079 if test "x$ac_cv_func__sqrtl" = xyes; then :
68080 cat >>confdefs.h <<_ACEOF
68081 #define HAVE__SQRTL 1
68082 _ACEOF
68083
68084 fi
68085 done
68086
68087 fi
68088 fi
68089
68090
68091
68092
68093
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
68095 $as_echo_n "checking for sincosl declaration... " >&6; }
68096 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68097 if ${glibcxx_cv_func_sincosl_use+:} false; then :
68098 $as_echo_n "(cached) " >&6
68099 else
68100
68101
68102 ac_ext=cpp
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68107
68108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68109 /* end confdefs.h. */
68110 #include <math.h>
68111 int
68112 main ()
68113 {
68114 sincosl(0, 0, 0);
68115 ;
68116 return 0;
68117 }
68118 _ACEOF
68119 if ac_fn_cxx_try_compile "$LINENO"; then :
68120 glibcxx_cv_func_sincosl_use=yes
68121 else
68122 glibcxx_cv_func_sincosl_use=no
68123 fi
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68125 ac_ext=c
68126 ac_cpp='$CPP $CPPFLAGS'
68127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68130
68131
68132 fi
68133
68134 fi
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
68136 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
68137
68138 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
68139 for ac_func in sincosl
68140 do :
68141 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
68142 if test "x$ac_cv_func_sincosl" = xyes; then :
68143 cat >>confdefs.h <<_ACEOF
68144 #define HAVE_SINCOSL 1
68145 _ACEOF
68146
68147 fi
68148 done
68149
68150 else
68151
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
68153 $as_echo_n "checking for _sincosl declaration... " >&6; }
68154 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
68155 if ${glibcxx_cv_func__sincosl_use+:} false; then :
68156 $as_echo_n "(cached) " >&6
68157 else
68158
68159
68160 ac_ext=cpp
68161 ac_cpp='$CXXCPP $CPPFLAGS'
68162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68165
68166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68167 /* end confdefs.h. */
68168 #include <math.h>
68169 int
68170 main ()
68171 {
68172 _sincosl(0, 0, 0);
68173 ;
68174 return 0;
68175 }
68176 _ACEOF
68177 if ac_fn_cxx_try_compile "$LINENO"; then :
68178 glibcxx_cv_func__sincosl_use=yes
68179 else
68180 glibcxx_cv_func__sincosl_use=no
68181 fi
68182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68183 ac_ext=c
68184 ac_cpp='$CPP $CPPFLAGS'
68185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68188
68189
68190 fi
68191
68192 fi
68193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
68194 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
68195
68196 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
68197 for ac_func in _sincosl
68198 do :
68199 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
68200 if test "x$ac_cv_func__sincosl" = xyes; then :
68201 cat >>confdefs.h <<_ACEOF
68202 #define HAVE__SINCOSL 1
68203 _ACEOF
68204
68205 fi
68206 done
68207
68208 fi
68209 fi
68210
68211
68212
68213
68214
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
68216 $as_echo_n "checking for finitel declaration... " >&6; }
68217 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
68218 if ${glibcxx_cv_func_finitel_use+:} false; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68221
68222
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68228
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68232 #ifdef HAVE_IEEEFP_H
68233 #include <ieeefp.h>
68234 #endif
68235
68236 int
68237 main ()
68238 {
68239 finitel(0);
68240 ;
68241 return 0;
68242 }
68243 _ACEOF
68244 if ac_fn_cxx_try_compile "$LINENO"; then :
68245 glibcxx_cv_func_finitel_use=yes
68246 else
68247 glibcxx_cv_func_finitel_use=no
68248 fi
68249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68250 ac_ext=c
68251 ac_cpp='$CPP $CPPFLAGS'
68252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68255
68256
68257 fi
68258
68259 fi
68260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
68261 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
68262
68263 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
68264 for ac_func in finitel
68265 do :
68266 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
68267 if test "x$ac_cv_func_finitel" = xyes; then :
68268 cat >>confdefs.h <<_ACEOF
68269 #define HAVE_FINITEL 1
68270 _ACEOF
68271
68272 fi
68273 done
68274
68275 else
68276
68277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
68278 $as_echo_n "checking for _finitel declaration... " >&6; }
68279 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
68280 if ${glibcxx_cv_func__finitel_use+:} false; then :
68281 $as_echo_n "(cached) " >&6
68282 else
68283
68284
68285 ac_ext=cpp
68286 ac_cpp='$CXXCPP $CPPFLAGS'
68287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68290
68291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68292 /* end confdefs.h. */
68293 #include <math.h>
68294 #ifdef HAVE_IEEEFP_H
68295 #include <ieeefp.h>
68296 #endif
68297
68298 int
68299 main ()
68300 {
68301 _finitel(0);
68302 ;
68303 return 0;
68304 }
68305 _ACEOF
68306 if ac_fn_cxx_try_compile "$LINENO"; then :
68307 glibcxx_cv_func__finitel_use=yes
68308 else
68309 glibcxx_cv_func__finitel_use=no
68310 fi
68311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68312 ac_ext=c
68313 ac_cpp='$CPP $CPPFLAGS'
68314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68317
68318
68319 fi
68320
68321 fi
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
68323 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
68324
68325 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
68326 for ac_func in _finitel
68327 do :
68328 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
68329 if test "x$ac_cv_func__finitel" = xyes; then :
68330 cat >>confdefs.h <<_ACEOF
68331 #define HAVE__FINITEL 1
68332 _ACEOF
68333
68334 fi
68335 done
68336
68337 fi
68338 fi
68339
68340
68341
68342
68343 LIBS="$ac_save_LIBS"
68344 CXXFLAGS="$ac_save_CXXFLAGS"
68345
68346
68347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
68348 ac_save_CXXFLAGS="$CXXFLAGS"
68349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
68350
68351
68352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
68353 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
68354 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
68355 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
68356 $as_echo_n "(cached) " >&6
68357 else
68358
68359
68360 ac_ext=cpp
68361 ac_cpp='$CXXCPP $CPPFLAGS'
68362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68365
68366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68367 /* end confdefs.h. */
68368 #include <stdlib.h>
68369 int
68370 main ()
68371 {
68372 at_quick_exit(0);
68373 ;
68374 return 0;
68375 }
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func_at_quick_exit_use=yes
68379 else
68380 glibcxx_cv_func_at_quick_exit_use=no
68381 fi
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388
68389
68390 fi
68391
68392 fi
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
68394 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
68395 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
68396 for ac_func in at_quick_exit
68397 do :
68398 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
68399 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
68400 cat >>confdefs.h <<_ACEOF
68401 #define HAVE_AT_QUICK_EXIT 1
68402 _ACEOF
68403
68404 fi
68405 done
68406
68407 fi
68408
68409
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
68411 $as_echo_n "checking for quick_exit declaration... " >&6; }
68412 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
68413 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
68414 $as_echo_n "(cached) " >&6
68415 else
68416
68417
68418 ac_ext=cpp
68419 ac_cpp='$CXXCPP $CPPFLAGS'
68420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68423
68424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68425 /* end confdefs.h. */
68426 #include <stdlib.h>
68427 int
68428 main ()
68429 {
68430 quick_exit(0);
68431 ;
68432 return 0;
68433 }
68434 _ACEOF
68435 if ac_fn_cxx_try_compile "$LINENO"; then :
68436 glibcxx_cv_func_quick_exit_use=yes
68437 else
68438 glibcxx_cv_func_quick_exit_use=no
68439 fi
68440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68441 ac_ext=c
68442 ac_cpp='$CPP $CPPFLAGS'
68443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68446
68447
68448 fi
68449
68450 fi
68451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
68452 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
68453 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
68454 for ac_func in quick_exit
68455 do :
68456 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
68457 if test "x$ac_cv_func_quick_exit" = xyes; then :
68458 cat >>confdefs.h <<_ACEOF
68459 #define HAVE_QUICK_EXIT 1
68460 _ACEOF
68461
68462 fi
68463 done
68464
68465 fi
68466
68467
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
68469 $as_echo_n "checking for strtold declaration... " >&6; }
68470 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
68471 if ${glibcxx_cv_func_strtold_use+:} false; then :
68472 $as_echo_n "(cached) " >&6
68473 else
68474
68475
68476 ac_ext=cpp
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68481
68482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68483 /* end confdefs.h. */
68484 #include <stdlib.h>
68485 int
68486 main ()
68487 {
68488 strtold(0, 0);
68489 ;
68490 return 0;
68491 }
68492 _ACEOF
68493 if ac_fn_cxx_try_compile "$LINENO"; then :
68494 glibcxx_cv_func_strtold_use=yes
68495 else
68496 glibcxx_cv_func_strtold_use=no
68497 fi
68498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68499 ac_ext=c
68500 ac_cpp='$CPP $CPPFLAGS'
68501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68504
68505
68506 fi
68507
68508 fi
68509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
68510 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
68511 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
68512 for ac_func in strtold
68513 do :
68514 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
68515 if test "x$ac_cv_func_strtold" = xyes; then :
68516 cat >>confdefs.h <<_ACEOF
68517 #define HAVE_STRTOLD 1
68518 _ACEOF
68519
68520 fi
68521 done
68522
68523 fi
68524
68525
68526
68527
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
68529 $as_echo_n "checking for strtof declaration... " >&6; }
68530 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
68531 if ${glibcxx_cv_func_strtof_use+:} false; then :
68532 $as_echo_n "(cached) " >&6
68533 else
68534
68535
68536 ac_ext=cpp
68537 ac_cpp='$CXXCPP $CPPFLAGS'
68538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68541
68542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68543 /* end confdefs.h. */
68544 #include <stdlib.h>
68545 int
68546 main ()
68547 {
68548 strtof(0, 0);
68549 ;
68550 return 0;
68551 }
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func_strtof_use=yes
68555 else
68556 glibcxx_cv_func_strtof_use=no
68557 fi
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68564
68565
68566 fi
68567
68568 fi
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
68570 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
68571 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
68572 for ac_func in strtof
68573 do :
68574 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
68575 if test "x$ac_cv_func_strtof" = xyes; then :
68576 cat >>confdefs.h <<_ACEOF
68577 #define HAVE_STRTOF 1
68578 _ACEOF
68579
68580 fi
68581 done
68582
68583 fi
68584
68585
68586
68587
68588 CXXFLAGS="$ac_save_CXXFLAGS"
68589
68590 ;;
68591 *-vxworks*)
68592 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
68593
68594 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
68595
68596 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
68597
68598 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
68599
68600 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
68601
68602 $as_echo "#define HAVE_COSF 1" >>confdefs.h
68603
68604 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
68605
68606 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
68607
68608 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
68609
68610 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
68611
68612 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
68613
68614 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
68615
68616 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
68617
68618 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
68619
68620 $as_echo "#define HAVE_POWF 1" >>confdefs.h
68621
68622 $as_echo "#define HAVE_SINF 1" >>confdefs.h
68623
68624 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
68625
68626 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
68627
68628 $as_echo "#define HAVE_TANF 1" >>confdefs.h
68629
68630 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
68631
68632
68633
68634
68635
68636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
68637 $as_echo_n "checking for acosl declaration... " >&6; }
68638 if ${glibcxx_cv_func_acosl_use+:} false; then :
68639 $as_echo_n "(cached) " >&6
68640 else
68641
68642
68643 ac_ext=c
68644 ac_cpp='$CPP $CPPFLAGS'
68645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68648
68649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68650 /* end confdefs.h. */
68651
68652 #include <math.h>
68653 #ifdef HAVE_IEEEFP_H
68654 # include <ieeefp.h>
68655 #endif
68656 #undef acosl
68657
68658 int
68659 main ()
68660 {
68661
68662 void (*f)(void) = (void (*)(void))acosl;
68663
68664 ;
68665 return 0;
68666 }
68667 _ACEOF
68668 if ac_fn_c_try_compile "$LINENO"; then :
68669 glibcxx_cv_func_acosl_use=yes
68670
68671 else
68672 glibcxx_cv_func_acosl_use=no
68673 fi
68674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68675 fi
68676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
68677 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
68678 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
68679 cat >>confdefs.h <<_ACEOF
68680 #define HAVE_ACOSL 1
68681 _ACEOF
68682
68683 fi
68684
68685
68686
68687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
68688 $as_echo_n "checking for asinl declaration... " >&6; }
68689 if ${glibcxx_cv_func_asinl_use+:} false; then :
68690 $as_echo_n "(cached) " >&6
68691 else
68692
68693
68694 ac_ext=c
68695 ac_cpp='$CPP $CPPFLAGS'
68696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68699
68700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68701 /* end confdefs.h. */
68702
68703 #include <math.h>
68704 #ifdef HAVE_IEEEFP_H
68705 # include <ieeefp.h>
68706 #endif
68707 #undef asinl
68708
68709 int
68710 main ()
68711 {
68712
68713 void (*f)(void) = (void (*)(void))asinl;
68714
68715 ;
68716 return 0;
68717 }
68718 _ACEOF
68719 if ac_fn_c_try_compile "$LINENO"; then :
68720 glibcxx_cv_func_asinl_use=yes
68721
68722 else
68723 glibcxx_cv_func_asinl_use=no
68724 fi
68725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68726 fi
68727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
68728 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
68729 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
68730 cat >>confdefs.h <<_ACEOF
68731 #define HAVE_ASINL 1
68732 _ACEOF
68733
68734 fi
68735
68736
68737
68738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68739 $as_echo_n "checking for atan2l declaration... " >&6; }
68740 if ${glibcxx_cv_func_atan2l_use+:} false; then :
68741 $as_echo_n "(cached) " >&6
68742 else
68743
68744
68745 ac_ext=c
68746 ac_cpp='$CPP $CPPFLAGS'
68747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68750
68751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68752 /* end confdefs.h. */
68753
68754 #include <math.h>
68755 #ifdef HAVE_IEEEFP_H
68756 # include <ieeefp.h>
68757 #endif
68758 #undef atan2l
68759
68760 int
68761 main ()
68762 {
68763
68764 void (*f)(void) = (void (*)(void))atan2l;
68765
68766 ;
68767 return 0;
68768 }
68769 _ACEOF
68770 if ac_fn_c_try_compile "$LINENO"; then :
68771 glibcxx_cv_func_atan2l_use=yes
68772
68773 else
68774 glibcxx_cv_func_atan2l_use=no
68775 fi
68776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68777 fi
68778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68779 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68780 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
68781 cat >>confdefs.h <<_ACEOF
68782 #define HAVE_ATAN2L 1
68783 _ACEOF
68784
68785 fi
68786
68787
68788
68789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
68790 $as_echo_n "checking for atanl declaration... " >&6; }
68791 if ${glibcxx_cv_func_atanl_use+:} false; then :
68792 $as_echo_n "(cached) " >&6
68793 else
68794
68795
68796 ac_ext=c
68797 ac_cpp='$CPP $CPPFLAGS'
68798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68801
68802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68803 /* end confdefs.h. */
68804
68805 #include <math.h>
68806 #ifdef HAVE_IEEEFP_H
68807 # include <ieeefp.h>
68808 #endif
68809 #undef atanl
68810
68811 int
68812 main ()
68813 {
68814
68815 void (*f)(void) = (void (*)(void))atanl;
68816
68817 ;
68818 return 0;
68819 }
68820 _ACEOF
68821 if ac_fn_c_try_compile "$LINENO"; then :
68822 glibcxx_cv_func_atanl_use=yes
68823
68824 else
68825 glibcxx_cv_func_atanl_use=no
68826 fi
68827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68828 fi
68829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
68830 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
68831 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
68832 cat >>confdefs.h <<_ACEOF
68833 #define HAVE_ATANL 1
68834 _ACEOF
68835
68836 fi
68837
68838
68839
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
68841 $as_echo_n "checking for ceill declaration... " >&6; }
68842 if ${glibcxx_cv_func_ceill_use+:} false; then :
68843 $as_echo_n "(cached) " >&6
68844 else
68845
68846
68847 ac_ext=c
68848 ac_cpp='$CPP $CPPFLAGS'
68849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68852
68853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68854 /* end confdefs.h. */
68855
68856 #include <math.h>
68857 #ifdef HAVE_IEEEFP_H
68858 # include <ieeefp.h>
68859 #endif
68860 #undef ceill
68861
68862 int
68863 main ()
68864 {
68865
68866 void (*f)(void) = (void (*)(void))ceill;
68867
68868 ;
68869 return 0;
68870 }
68871 _ACEOF
68872 if ac_fn_c_try_compile "$LINENO"; then :
68873 glibcxx_cv_func_ceill_use=yes
68874
68875 else
68876 glibcxx_cv_func_ceill_use=no
68877 fi
68878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68879 fi
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
68881 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
68882 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
68883 cat >>confdefs.h <<_ACEOF
68884 #define HAVE_CEILL 1
68885 _ACEOF
68886
68887 fi
68888
68889
68890
68891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
68892 $as_echo_n "checking for cosl declaration... " >&6; }
68893 if ${glibcxx_cv_func_cosl_use+:} false; then :
68894 $as_echo_n "(cached) " >&6
68895 else
68896
68897
68898 ac_ext=c
68899 ac_cpp='$CPP $CPPFLAGS'
68900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68903
68904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68905 /* end confdefs.h. */
68906
68907 #include <math.h>
68908 #ifdef HAVE_IEEEFP_H
68909 # include <ieeefp.h>
68910 #endif
68911 #undef cosl
68912
68913 int
68914 main ()
68915 {
68916
68917 void (*f)(void) = (void (*)(void))cosl;
68918
68919 ;
68920 return 0;
68921 }
68922 _ACEOF
68923 if ac_fn_c_try_compile "$LINENO"; then :
68924 glibcxx_cv_func_cosl_use=yes
68925
68926 else
68927 glibcxx_cv_func_cosl_use=no
68928 fi
68929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68930 fi
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
68932 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
68933 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
68934 cat >>confdefs.h <<_ACEOF
68935 #define HAVE_COSL 1
68936 _ACEOF
68937
68938 fi
68939
68940
68941
68942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
68943 $as_echo_n "checking for coshl declaration... " >&6; }
68944 if ${glibcxx_cv_func_coshl_use+:} false; then :
68945 $as_echo_n "(cached) " >&6
68946 else
68947
68948
68949 ac_ext=c
68950 ac_cpp='$CPP $CPPFLAGS'
68951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68954
68955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68956 /* end confdefs.h. */
68957
68958 #include <math.h>
68959 #ifdef HAVE_IEEEFP_H
68960 # include <ieeefp.h>
68961 #endif
68962 #undef coshl
68963
68964 int
68965 main ()
68966 {
68967
68968 void (*f)(void) = (void (*)(void))coshl;
68969
68970 ;
68971 return 0;
68972 }
68973 _ACEOF
68974 if ac_fn_c_try_compile "$LINENO"; then :
68975 glibcxx_cv_func_coshl_use=yes
68976
68977 else
68978 glibcxx_cv_func_coshl_use=no
68979 fi
68980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68981 fi
68982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
68983 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
68984 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
68985 cat >>confdefs.h <<_ACEOF
68986 #define HAVE_COSHL 1
68987 _ACEOF
68988
68989 fi
68990
68991
68992
68993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68994 $as_echo_n "checking for expl declaration... " >&6; }
68995 if ${glibcxx_cv_func_expl_use+:} false; then :
68996 $as_echo_n "(cached) " >&6
68997 else
68998
68999
69000 ac_ext=c
69001 ac_cpp='$CPP $CPPFLAGS'
69002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69005
69006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69007 /* end confdefs.h. */
69008
69009 #include <math.h>
69010 #ifdef HAVE_IEEEFP_H
69011 # include <ieeefp.h>
69012 #endif
69013 #undef expl
69014
69015 int
69016 main ()
69017 {
69018
69019 void (*f)(void) = (void (*)(void))expl;
69020
69021 ;
69022 return 0;
69023 }
69024 _ACEOF
69025 if ac_fn_c_try_compile "$LINENO"; then :
69026 glibcxx_cv_func_expl_use=yes
69027
69028 else
69029 glibcxx_cv_func_expl_use=no
69030 fi
69031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69032 fi
69033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69034 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69035 if test "x$glibcxx_cv_func_expl_use" = xyes; then
69036 cat >>confdefs.h <<_ACEOF
69037 #define HAVE_EXPL 1
69038 _ACEOF
69039
69040 fi
69041
69042
69043
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69045 $as_echo_n "checking for fabsl declaration... " >&6; }
69046 if ${glibcxx_cv_func_fabsl_use+:} false; then :
69047 $as_echo_n "(cached) " >&6
69048 else
69049
69050
69051 ac_ext=c
69052 ac_cpp='$CPP $CPPFLAGS'
69053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69056
69057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69058 /* end confdefs.h. */
69059
69060 #include <math.h>
69061 #ifdef HAVE_IEEEFP_H
69062 # include <ieeefp.h>
69063 #endif
69064 #undef fabsl
69065
69066 int
69067 main ()
69068 {
69069
69070 void (*f)(void) = (void (*)(void))fabsl;
69071
69072 ;
69073 return 0;
69074 }
69075 _ACEOF
69076 if ac_fn_c_try_compile "$LINENO"; then :
69077 glibcxx_cv_func_fabsl_use=yes
69078
69079 else
69080 glibcxx_cv_func_fabsl_use=no
69081 fi
69082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69083 fi
69084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69085 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69086 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
69087 cat >>confdefs.h <<_ACEOF
69088 #define HAVE_FABSL 1
69089 _ACEOF
69090
69091 fi
69092
69093
69094
69095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
69096 $as_echo_n "checking for floorl declaration... " >&6; }
69097 if ${glibcxx_cv_func_floorl_use+:} false; then :
69098 $as_echo_n "(cached) " >&6
69099 else
69100
69101
69102 ac_ext=c
69103 ac_cpp='$CPP $CPPFLAGS'
69104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69107
69108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69109 /* end confdefs.h. */
69110
69111 #include <math.h>
69112 #ifdef HAVE_IEEEFP_H
69113 # include <ieeefp.h>
69114 #endif
69115 #undef floorl
69116
69117 int
69118 main ()
69119 {
69120
69121 void (*f)(void) = (void (*)(void))floorl;
69122
69123 ;
69124 return 0;
69125 }
69126 _ACEOF
69127 if ac_fn_c_try_compile "$LINENO"; then :
69128 glibcxx_cv_func_floorl_use=yes
69129
69130 else
69131 glibcxx_cv_func_floorl_use=no
69132 fi
69133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69134 fi
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
69136 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
69137 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
69138 cat >>confdefs.h <<_ACEOF
69139 #define HAVE_FLOORL 1
69140 _ACEOF
69141
69142 fi
69143
69144
69145
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69147 $as_echo_n "checking for fmodl declaration... " >&6; }
69148 if ${glibcxx_cv_func_fmodl_use+:} false; then :
69149 $as_echo_n "(cached) " >&6
69150 else
69151
69152
69153 ac_ext=c
69154 ac_cpp='$CPP $CPPFLAGS'
69155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69158
69159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69160 /* end confdefs.h. */
69161
69162 #include <math.h>
69163 #ifdef HAVE_IEEEFP_H
69164 # include <ieeefp.h>
69165 #endif
69166 #undef fmodl
69167
69168 int
69169 main ()
69170 {
69171
69172 void (*f)(void) = (void (*)(void))fmodl;
69173
69174 ;
69175 return 0;
69176 }
69177 _ACEOF
69178 if ac_fn_c_try_compile "$LINENO"; then :
69179 glibcxx_cv_func_fmodl_use=yes
69180
69181 else
69182 glibcxx_cv_func_fmodl_use=no
69183 fi
69184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69185 fi
69186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69187 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69188 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
69189 cat >>confdefs.h <<_ACEOF
69190 #define HAVE_FMODL 1
69191 _ACEOF
69192
69193 fi
69194
69195
69196
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69198 $as_echo_n "checking for frexpl declaration... " >&6; }
69199 if ${glibcxx_cv_func_frexpl_use+:} false; then :
69200 $as_echo_n "(cached) " >&6
69201 else
69202
69203
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69209
69210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69211 /* end confdefs.h. */
69212
69213 #include <math.h>
69214 #ifdef HAVE_IEEEFP_H
69215 # include <ieeefp.h>
69216 #endif
69217 #undef frexpl
69218
69219 int
69220 main ()
69221 {
69222
69223 void (*f)(void) = (void (*)(void))frexpl;
69224
69225 ;
69226 return 0;
69227 }
69228 _ACEOF
69229 if ac_fn_c_try_compile "$LINENO"; then :
69230 glibcxx_cv_func_frexpl_use=yes
69231
69232 else
69233 glibcxx_cv_func_frexpl_use=no
69234 fi
69235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69236 fi
69237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69239 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
69240 cat >>confdefs.h <<_ACEOF
69241 #define HAVE_FREXPL 1
69242 _ACEOF
69243
69244 fi
69245
69246
69247
69248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69249 $as_echo_n "checking for ldexpl declaration... " >&6; }
69250 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
69251 $as_echo_n "(cached) " >&6
69252 else
69253
69254
69255 ac_ext=c
69256 ac_cpp='$CPP $CPPFLAGS'
69257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69260
69261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69262 /* end confdefs.h. */
69263
69264 #include <math.h>
69265 #ifdef HAVE_IEEEFP_H
69266 # include <ieeefp.h>
69267 #endif
69268 #undef ldexpl
69269
69270 int
69271 main ()
69272 {
69273
69274 void (*f)(void) = (void (*)(void))ldexpl;
69275
69276 ;
69277 return 0;
69278 }
69279 _ACEOF
69280 if ac_fn_c_try_compile "$LINENO"; then :
69281 glibcxx_cv_func_ldexpl_use=yes
69282
69283 else
69284 glibcxx_cv_func_ldexpl_use=no
69285 fi
69286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69287 fi
69288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69289 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69290 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
69291 cat >>confdefs.h <<_ACEOF
69292 #define HAVE_LDEXPL 1
69293 _ACEOF
69294
69295 fi
69296
69297
69298
69299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69300 $as_echo_n "checking for log10l declaration... " >&6; }
69301 if ${glibcxx_cv_func_log10l_use+:} false; then :
69302 $as_echo_n "(cached) " >&6
69303 else
69304
69305
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311
69312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69313 /* end confdefs.h. */
69314
69315 #include <math.h>
69316 #ifdef HAVE_IEEEFP_H
69317 # include <ieeefp.h>
69318 #endif
69319 #undef log10l
69320
69321 int
69322 main ()
69323 {
69324
69325 void (*f)(void) = (void (*)(void))log10l;
69326
69327 ;
69328 return 0;
69329 }
69330 _ACEOF
69331 if ac_fn_c_try_compile "$LINENO"; then :
69332 glibcxx_cv_func_log10l_use=yes
69333
69334 else
69335 glibcxx_cv_func_log10l_use=no
69336 fi
69337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69338 fi
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69340 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69341 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
69342 cat >>confdefs.h <<_ACEOF
69343 #define HAVE_LOG10L 1
69344 _ACEOF
69345
69346 fi
69347
69348
69349
69350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69351 $as_echo_n "checking for logl declaration... " >&6; }
69352 if ${glibcxx_cv_func_logl_use+:} false; then :
69353 $as_echo_n "(cached) " >&6
69354 else
69355
69356
69357 ac_ext=c
69358 ac_cpp='$CPP $CPPFLAGS'
69359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69362
69363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69364 /* end confdefs.h. */
69365
69366 #include <math.h>
69367 #ifdef HAVE_IEEEFP_H
69368 # include <ieeefp.h>
69369 #endif
69370 #undef logl
69371
69372 int
69373 main ()
69374 {
69375
69376 void (*f)(void) = (void (*)(void))logl;
69377
69378 ;
69379 return 0;
69380 }
69381 _ACEOF
69382 if ac_fn_c_try_compile "$LINENO"; then :
69383 glibcxx_cv_func_logl_use=yes
69384
69385 else
69386 glibcxx_cv_func_logl_use=no
69387 fi
69388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69389 fi
69390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69391 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69392 if test "x$glibcxx_cv_func_logl_use" = xyes; then
69393 cat >>confdefs.h <<_ACEOF
69394 #define HAVE_LOGL 1
69395 _ACEOF
69396
69397 fi
69398
69399
69400
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69402 $as_echo_n "checking for modfl declaration... " >&6; }
69403 if ${glibcxx_cv_func_modfl_use+:} false; then :
69404 $as_echo_n "(cached) " >&6
69405 else
69406
69407
69408 ac_ext=c
69409 ac_cpp='$CPP $CPPFLAGS'
69410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69413
69414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69415 /* end confdefs.h. */
69416
69417 #include <math.h>
69418 #ifdef HAVE_IEEEFP_H
69419 # include <ieeefp.h>
69420 #endif
69421 #undef modfl
69422
69423 int
69424 main ()
69425 {
69426
69427 void (*f)(void) = (void (*)(void))modfl;
69428
69429 ;
69430 return 0;
69431 }
69432 _ACEOF
69433 if ac_fn_c_try_compile "$LINENO"; then :
69434 glibcxx_cv_func_modfl_use=yes
69435
69436 else
69437 glibcxx_cv_func_modfl_use=no
69438 fi
69439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69440 fi
69441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69442 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69443 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
69444 cat >>confdefs.h <<_ACEOF
69445 #define HAVE_MODFL 1
69446 _ACEOF
69447
69448 fi
69449
69450
69451
69452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69453 $as_echo_n "checking for powl declaration... " >&6; }
69454 if ${glibcxx_cv_func_powl_use+:} false; then :
69455 $as_echo_n "(cached) " >&6
69456 else
69457
69458
69459 ac_ext=c
69460 ac_cpp='$CPP $CPPFLAGS'
69461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69464
69465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69466 /* end confdefs.h. */
69467
69468 #include <math.h>
69469 #ifdef HAVE_IEEEFP_H
69470 # include <ieeefp.h>
69471 #endif
69472 #undef powl
69473
69474 int
69475 main ()
69476 {
69477
69478 void (*f)(void) = (void (*)(void))powl;
69479
69480 ;
69481 return 0;
69482 }
69483 _ACEOF
69484 if ac_fn_c_try_compile "$LINENO"; then :
69485 glibcxx_cv_func_powl_use=yes
69486
69487 else
69488 glibcxx_cv_func_powl_use=no
69489 fi
69490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69491 fi
69492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69493 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69494 if test "x$glibcxx_cv_func_powl_use" = xyes; then
69495 cat >>confdefs.h <<_ACEOF
69496 #define HAVE_POWL 1
69497 _ACEOF
69498
69499 fi
69500
69501
69502
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
69504 $as_echo_n "checking for sinl declaration... " >&6; }
69505 if ${glibcxx_cv_func_sinl_use+:} false; then :
69506 $as_echo_n "(cached) " >&6
69507 else
69508
69509
69510 ac_ext=c
69511 ac_cpp='$CPP $CPPFLAGS'
69512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69515
69516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69517 /* end confdefs.h. */
69518
69519 #include <math.h>
69520 #ifdef HAVE_IEEEFP_H
69521 # include <ieeefp.h>
69522 #endif
69523 #undef sinl
69524
69525 int
69526 main ()
69527 {
69528
69529 void (*f)(void) = (void (*)(void))sinl;
69530
69531 ;
69532 return 0;
69533 }
69534 _ACEOF
69535 if ac_fn_c_try_compile "$LINENO"; then :
69536 glibcxx_cv_func_sinl_use=yes
69537
69538 else
69539 glibcxx_cv_func_sinl_use=no
69540 fi
69541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69542 fi
69543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
69544 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
69545 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
69546 cat >>confdefs.h <<_ACEOF
69547 #define HAVE_SINL 1
69548 _ACEOF
69549
69550 fi
69551
69552
69553
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
69555 $as_echo_n "checking for sinhl declaration... " >&6; }
69556 if ${glibcxx_cv_func_sinhl_use+:} false; then :
69557 $as_echo_n "(cached) " >&6
69558 else
69559
69560
69561 ac_ext=c
69562 ac_cpp='$CPP $CPPFLAGS'
69563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69566
69567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69568 /* end confdefs.h. */
69569
69570 #include <math.h>
69571 #ifdef HAVE_IEEEFP_H
69572 # include <ieeefp.h>
69573 #endif
69574 #undef sinhl
69575
69576 int
69577 main ()
69578 {
69579
69580 void (*f)(void) = (void (*)(void))sinhl;
69581
69582 ;
69583 return 0;
69584 }
69585 _ACEOF
69586 if ac_fn_c_try_compile "$LINENO"; then :
69587 glibcxx_cv_func_sinhl_use=yes
69588
69589 else
69590 glibcxx_cv_func_sinhl_use=no
69591 fi
69592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69593 fi
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
69595 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
69596 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
69597 cat >>confdefs.h <<_ACEOF
69598 #define HAVE_SINHL 1
69599 _ACEOF
69600
69601 fi
69602
69603
69604
69605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69606 $as_echo_n "checking for sqrtl declaration... " >&6; }
69607 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
69608 $as_echo_n "(cached) " >&6
69609 else
69610
69611
69612 ac_ext=c
69613 ac_cpp='$CPP $CPPFLAGS'
69614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69617
69618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69619 /* end confdefs.h. */
69620
69621 #include <math.h>
69622 #ifdef HAVE_IEEEFP_H
69623 # include <ieeefp.h>
69624 #endif
69625 #undef sqrtl
69626
69627 int
69628 main ()
69629 {
69630
69631 void (*f)(void) = (void (*)(void))sqrtl;
69632
69633 ;
69634 return 0;
69635 }
69636 _ACEOF
69637 if ac_fn_c_try_compile "$LINENO"; then :
69638 glibcxx_cv_func_sqrtl_use=yes
69639
69640 else
69641 glibcxx_cv_func_sqrtl_use=no
69642 fi
69643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69644 fi
69645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69646 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69647 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
69648 cat >>confdefs.h <<_ACEOF
69649 #define HAVE_SQRTL 1
69650 _ACEOF
69651
69652 fi
69653
69654
69655
69656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
69657 $as_echo_n "checking for tanl declaration... " >&6; }
69658 if ${glibcxx_cv_func_tanl_use+:} false; then :
69659 $as_echo_n "(cached) " >&6
69660 else
69661
69662
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69668
69669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69670 /* end confdefs.h. */
69671
69672 #include <math.h>
69673 #ifdef HAVE_IEEEFP_H
69674 # include <ieeefp.h>
69675 #endif
69676 #undef tanl
69677
69678 int
69679 main ()
69680 {
69681
69682 void (*f)(void) = (void (*)(void))tanl;
69683
69684 ;
69685 return 0;
69686 }
69687 _ACEOF
69688 if ac_fn_c_try_compile "$LINENO"; then :
69689 glibcxx_cv_func_tanl_use=yes
69690
69691 else
69692 glibcxx_cv_func_tanl_use=no
69693 fi
69694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69695 fi
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
69697 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
69698 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
69699 cat >>confdefs.h <<_ACEOF
69700 #define HAVE_TANL 1
69701 _ACEOF
69702
69703 fi
69704
69705
69706
69707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
69708 $as_echo_n "checking for tanhl declaration... " >&6; }
69709 if ${glibcxx_cv_func_tanhl_use+:} false; then :
69710 $as_echo_n "(cached) " >&6
69711 else
69712
69713
69714 ac_ext=c
69715 ac_cpp='$CPP $CPPFLAGS'
69716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69719
69720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69721 /* end confdefs.h. */
69722
69723 #include <math.h>
69724 #ifdef HAVE_IEEEFP_H
69725 # include <ieeefp.h>
69726 #endif
69727 #undef tanhl
69728
69729 int
69730 main ()
69731 {
69732
69733 void (*f)(void) = (void (*)(void))tanhl;
69734
69735 ;
69736 return 0;
69737 }
69738 _ACEOF
69739 if ac_fn_c_try_compile "$LINENO"; then :
69740 glibcxx_cv_func_tanhl_use=yes
69741
69742 else
69743 glibcxx_cv_func_tanhl_use=no
69744 fi
69745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69746 fi
69747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
69748 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
69749 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
69750 cat >>confdefs.h <<_ACEOF
69751 #define HAVE_TANHL 1
69752 _ACEOF
69753
69754 fi
69755
69756
69757
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69759 $as_echo_n "checking for hypotl declaration... " >&6; }
69760 if ${glibcxx_cv_func_hypotl_use+:} false; then :
69761 $as_echo_n "(cached) " >&6
69762 else
69763
69764
69765 ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69770
69771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h. */
69773
69774 #include <math.h>
69775 #ifdef HAVE_IEEEFP_H
69776 # include <ieeefp.h>
69777 #endif
69778 #undef hypotl
69779
69780 int
69781 main ()
69782 {
69783
69784 void (*f)(void) = (void (*)(void))hypotl;
69785
69786 ;
69787 return 0;
69788 }
69789 _ACEOF
69790 if ac_fn_c_try_compile "$LINENO"; then :
69791 glibcxx_cv_func_hypotl_use=yes
69792
69793 else
69794 glibcxx_cv_func_hypotl_use=no
69795 fi
69796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69797 fi
69798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69799 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69800 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
69801 cat >>confdefs.h <<_ACEOF
69802 #define HAVE_HYPOTL 1
69803 _ACEOF
69804
69805 fi
69806
69807
69808
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69810 $as_echo_n "checking for ldexpf declaration... " >&6; }
69811 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69812 $as_echo_n "(cached) " >&6
69813 else
69814
69815
69816 ac_ext=c
69817 ac_cpp='$CPP $CPPFLAGS'
69818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69821
69822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69823 /* end confdefs.h. */
69824
69825 #include <math.h>
69826 #ifdef HAVE_IEEEFP_H
69827 # include <ieeefp.h>
69828 #endif
69829 #undef ldexpf
69830
69831 int
69832 main ()
69833 {
69834
69835 void (*f)(void) = (void (*)(void))ldexpf;
69836
69837 ;
69838 return 0;
69839 }
69840 _ACEOF
69841 if ac_fn_c_try_compile "$LINENO"; then :
69842 glibcxx_cv_func_ldexpf_use=yes
69843
69844 else
69845 glibcxx_cv_func_ldexpf_use=no
69846 fi
69847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69848 fi
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69850 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69851 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
69852 cat >>confdefs.h <<_ACEOF
69853 #define HAVE_LDEXPF 1
69854 _ACEOF
69855
69856 fi
69857
69858
69859
69860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69861 $as_echo_n "checking for modff declaration... " >&6; }
69862 if ${glibcxx_cv_func_modff_use+:} false; then :
69863 $as_echo_n "(cached) " >&6
69864 else
69865
69866
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69872
69873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69874 /* end confdefs.h. */
69875
69876 #include <math.h>
69877 #ifdef HAVE_IEEEFP_H
69878 # include <ieeefp.h>
69879 #endif
69880 #undef modff
69881
69882 int
69883 main ()
69884 {
69885
69886 void (*f)(void) = (void (*)(void))modff;
69887
69888 ;
69889 return 0;
69890 }
69891 _ACEOF
69892 if ac_fn_c_try_compile "$LINENO"; then :
69893 glibcxx_cv_func_modff_use=yes
69894
69895 else
69896 glibcxx_cv_func_modff_use=no
69897 fi
69898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69899 fi
69900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69901 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69902 if test "x$glibcxx_cv_func_modff_use" = xyes; then
69903 cat >>confdefs.h <<_ACEOF
69904 #define HAVE_MODFF 1
69905 _ACEOF
69906
69907 fi
69908
69909
69910
69911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69912 $as_echo_n "checking for hypotf declaration... " >&6; }
69913 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69914 $as_echo_n "(cached) " >&6
69915 else
69916
69917
69918 ac_ext=c
69919 ac_cpp='$CPP $CPPFLAGS'
69920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69923
69924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69925 /* end confdefs.h. */
69926
69927 #include <math.h>
69928 #ifdef HAVE_IEEEFP_H
69929 # include <ieeefp.h>
69930 #endif
69931 #undef hypotf
69932
69933 int
69934 main ()
69935 {
69936
69937 void (*f)(void) = (void (*)(void))hypotf;
69938
69939 ;
69940 return 0;
69941 }
69942 _ACEOF
69943 if ac_fn_c_try_compile "$LINENO"; then :
69944 glibcxx_cv_func_hypotf_use=yes
69945
69946 else
69947 glibcxx_cv_func_hypotf_use=no
69948 fi
69949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69950 fi
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69952 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69953 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
69954 cat >>confdefs.h <<_ACEOF
69955 #define HAVE_HYPOTF 1
69956 _ACEOF
69957
69958 fi
69959
69960
69961
69962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69963 $as_echo_n "checking for frexpf declaration... " >&6; }
69964 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69965 $as_echo_n "(cached) " >&6
69966 else
69967
69968
69969 ac_ext=c
69970 ac_cpp='$CPP $CPPFLAGS'
69971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69974
69975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69976 /* end confdefs.h. */
69977
69978 #include <math.h>
69979 #ifdef HAVE_IEEEFP_H
69980 # include <ieeefp.h>
69981 #endif
69982 #undef frexpf
69983
69984 int
69985 main ()
69986 {
69987
69988 void (*f)(void) = (void (*)(void))frexpf;
69989
69990 ;
69991 return 0;
69992 }
69993 _ACEOF
69994 if ac_fn_c_try_compile "$LINENO"; then :
69995 glibcxx_cv_func_frexpf_use=yes
69996
69997 else
69998 glibcxx_cv_func_frexpf_use=no
69999 fi
70000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70001 fi
70002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
70003 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
70004 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
70005 cat >>confdefs.h <<_ACEOF
70006 #define HAVE_FREXPF 1
70007 _ACEOF
70008
70009 fi
70010
70011
70012
70013 ;;
70014 *)
70015 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
70016 ;;
70017 esac
70018
70019 fi
70020
70021 # At some point, we should differentiate between architectures
70022 # like x86, which have long double versions, and alpha/powerpc/etc.,
70023 # which don't. For the time being, punt.
70024 if test x"long_double_math_on_this_cpu" = x"yes"; then
70025 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70026
70027 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70028
70029 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70030
70031 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70032
70033 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70034
70035 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70036
70037 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70038
70039 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70040
70041 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70042
70043 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70044
70045 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70046
70047 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70048
70049 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70050
70051 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70052
70053 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70054
70055 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70056
70057 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70058
70059 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70060
70061 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70062
70063 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70064
70065 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70066
70067 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70068
70069 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70070
70071 fi
70072 fi
70073
70074 # Check for _Unwind_GetIPInfo.
70075
70076
70077 # Check whether --with-system-libunwind was given.
70078 if test "${with_system_libunwind+set}" = set; then :
70079 withval=$with_system_libunwind;
70080 fi
70081
70082 # If system-libunwind was not specifically set, pick a default setting.
70083 if test x$with_system_libunwind = x; then
70084 case ${target} in
70085 ia64-*-hpux*) with_system_libunwind=yes ;;
70086 *) with_system_libunwind=no ;;
70087 esac
70088 fi
70089 # Based on system-libunwind and target, do we have ipinfo?
70090 if test x$with_system_libunwind = xyes; then
70091 case ${target} in
70092 ia64-*-*) have_unwind_getipinfo=no ;;
70093 *) have_unwind_getipinfo=yes ;;
70094 esac
70095 else
70096 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70097
70098 case ${target} in
70099 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70100 *) have_unwind_getipinfo=yes ;;
70101 esac
70102
70103 fi
70104
70105 if test x$have_unwind_getipinfo = xyes; then
70106
70107 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70108
70109 fi
70110
70111
70112 # Check whether --enable-linux-futex was given.
70113 if test "${enable_linux_futex+set}" = set; then :
70114 enableval=$enable_linux_futex;
70115 case "$enableval" in
70116 yes|no|default) ;;
70117 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70118 esac
70119
70120 else
70121 enable_linux_futex=default
70122 fi
70123
70124
70125 case "$target" in
70126 *-linux* | *-uclinux*)
70127 case "$enable_linux_futex" in
70128 default)
70129 # If headers don't have gettid/futex syscalls definition, then
70130 # default to no, otherwise there will be compile time failures.
70131 # Otherwise, default to yes. If we don't detect we are
70132 # compiled/linked against NPTL and not cross-compiling, check
70133 # if programs are run by default against NPTL and if not, issue
70134 # a warning.
70135 enable_linux_futex=no
70136 if test x$gcc_no_link = xyes; then
70137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70138 fi
70139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70140 /* end confdefs.h. */
70141 #include <sys/syscall.h>
70142 #include <unistd.h>
70143 int lk;
70144 int
70145 main ()
70146 {
70147 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70148 ;
70149 return 0;
70150 }
70151 _ACEOF
70152 if ac_fn_c_try_link "$LINENO"; then :
70153 save_LIBS="$LIBS"
70154 LIBS="-lpthread $LIBS"
70155 if test x$gcc_no_link = xyes; then
70156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70157 fi
70158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70159 /* end confdefs.h. */
70160 #ifndef _GNU_SOURCE
70161 #define _GNU_SOURCE 1
70162 #endif
70163 #include <pthread.h>
70164 pthread_t th; void *status;
70165 int
70166 main ()
70167 {
70168 pthread_tryjoin_np (th, &status);
70169 ;
70170 return 0;
70171 }
70172 _ACEOF
70173 if ac_fn_c_try_link "$LINENO"; then :
70174 enable_linux_futex=yes
70175 else
70176 if test x$cross_compiling = xno; then
70177 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70178 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70180 If so, please configure with --disable-linux-futex" >&5
70181 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70182 If so, please configure with --disable-linux-futex" >&2;}
70183 fi
70184 fi
70185 enable_linux_futex=yes
70186 fi
70187 rm -f core conftest.err conftest.$ac_objext \
70188 conftest$ac_exeext conftest.$ac_ext
70189 LIBS="$save_LIBS"
70190 fi
70191 rm -f core conftest.err conftest.$ac_objext \
70192 conftest$ac_exeext conftest.$ac_ext
70193 ;;
70194 yes)
70195 if test x$gcc_no_link = xyes; then
70196 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70197 fi
70198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70199 /* end confdefs.h. */
70200 #include <sys/syscall.h>
70201 #include <unistd.h>
70202 int lk;
70203 int
70204 main ()
70205 {
70206 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70207 ;
70208 return 0;
70209 }
70210 _ACEOF
70211 if ac_fn_c_try_link "$LINENO"; then :
70212
70213 else
70214 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70215 fi
70216 rm -f core conftest.err conftest.$ac_objext \
70217 conftest$ac_exeext conftest.$ac_ext
70218 ;;
70219 esac
70220 ;;
70221 *)
70222 enable_linux_futex=no
70223 ;;
70224 esac
70225 if test x$enable_linux_futex = xyes; then
70226
70227 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70228
70229 fi
70230
70231
70232
70233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70234 $as_echo_n "checking for GNU c++filt... " >&6; }
70235 if ${ac_cv_path_CXXFILT+:} false; then :
70236 $as_echo_n "(cached) " >&6
70237 else
70238 if test -z "$CXXFILT"; then
70239 ac_path_CXXFILT_found=false
70240 # Loop through the user's path and test for each of PROGNAME-LIST
70241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70242 for as_dir in $PATH
70243 do
70244 IFS=$as_save_IFS
70245 test -z "$as_dir" && as_dir=.
70246 for ac_prog in c++filt gc++filt; do
70247 for ac_exec_ext in '' $ac_executable_extensions; do
70248 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70249 as_fn_executable_p "$ac_path_CXXFILT" || continue
70250 # Check for GNU $ac_path_CXXFILT
70251 case `"$ac_path_CXXFILT" --version 2>&1` in
70252 *GNU*)
70253 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70254 esac
70255
70256 $ac_path_CXXFILT_found && break 3
70257 done
70258 done
70259 done
70260 IFS=$as_save_IFS
70261 if test -z "$ac_cv_path_CXXFILT"; then
70262 :
70263 fi
70264 else
70265 ac_cv_path_CXXFILT=$CXXFILT
70266 fi
70267
70268 fi
70269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70270 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70271 CXXFILT=$ac_cv_path_CXXFILT
70272
70273
70274
70275 # Check whether --enable-symvers was given.
70276 if test "${enable_symvers+set}" = set; then :
70277 enableval=$enable_symvers;
70278 case "$enableval" in
70279 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70280 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70281 esac
70282
70283 else
70284 enable_symvers=yes
70285 fi
70286
70287
70288
70289 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70290 # don't know enough about $LD to do tricks...
70291
70292 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70293 # with extern "C++" in version scripts.
70294
70295
70296 # Turn a 'yes' into a suitable default.
70297 if test x$enable_symvers = xyes ; then
70298 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70299 enable_symvers=no
70300 else
70301 if test $with_gnu_ld = yes ; then
70302 case ${target_os} in
70303 hpux*)
70304 enable_symvers=no ;;
70305 *)
70306 enable_symvers=gnu ;;
70307 esac
70308 else
70309 case ${target_os} in
70310 darwin*)
70311 enable_symvers=darwin ;;
70312 # Sun symbol versioning exists since Solaris 2.5.
70313 solaris2.[5-9]* | solaris2.1[0-9]*)
70314 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70315 # version scripts, so disable symbol versioning if none can be
70316 # found.
70317 if test -z "$ac_cv_path_CXXFILT"; then
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70319 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70321 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70323 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70324 enable_symvers=no
70325 else
70326 enable_symvers=sun
70327 fi
70328 ;;
70329 *)
70330 enable_symvers=no ;;
70331 esac
70332 fi
70333 fi
70334 fi
70335
70336 # Check to see if 'darwin' or 'darwin-export' can win.
70337 if test x$enable_symvers = xdarwin-export ; then
70338 enable_symvers=darwin
70339 fi
70340
70341 # Check if 'sun' was requested on non-Solaris 2 platforms.
70342 if test x$enable_symvers = xsun ; then
70343 case ${target_os} in
70344 solaris2*)
70345 # All fine.
70346 ;;
70347 *)
70348 # Unlikely to work.
70349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70350 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70352 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70354 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70355 enable_symvers=no
70356 ;;
70357 esac
70358 fi
70359
70360 # Check to see if 'gnu' can win.
70361 if test $enable_symvers = gnu ||
70362 test $enable_symvers = gnu-versioned-namespace ||
70363 test $enable_symvers = sun; then
70364 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70366 $as_echo_n "checking for shared libgcc... " >&6; }
70367 ac_save_CFLAGS="$CFLAGS"
70368 CFLAGS=' -lgcc_s'
70369 if test x$gcc_no_link = xyes; then
70370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70371 fi
70372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70373 /* end confdefs.h. */
70374
70375 int
70376 main ()
70377 {
70378 return 0;
70379 ;
70380 return 0;
70381 }
70382 _ACEOF
70383 if ac_fn_c_try_link "$LINENO"; then :
70384 glibcxx_shared_libgcc=yes
70385 else
70386 glibcxx_shared_libgcc=no
70387 fi
70388 rm -f core conftest.err conftest.$ac_objext \
70389 conftest$ac_exeext conftest.$ac_ext
70390 CFLAGS="$ac_save_CFLAGS"
70391 if test $glibcxx_shared_libgcc = no; then
70392 cat > conftest.c <<EOF
70393 int main (void) { return 0; }
70394 EOF
70395 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70396 -shared -shared-libgcc -o conftest.so \
70397 conftest.c -v 2>&1 >/dev/null \
70398 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70399 rm -f conftest.c conftest.so
70400 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70401 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70402 if test x$gcc_no_link = xyes; then
70403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70404 fi
70405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70406 /* end confdefs.h. */
70407
70408 int
70409 main ()
70410 {
70411 return 0;
70412 ;
70413 return 0;
70414 }
70415 _ACEOF
70416 if ac_fn_c_try_link "$LINENO"; then :
70417 glibcxx_shared_libgcc=yes
70418 fi
70419 rm -f core conftest.err conftest.$ac_objext \
70420 conftest$ac_exeext conftest.$ac_ext
70421 CFLAGS="$ac_save_CFLAGS"
70422 fi
70423 fi
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70425 $as_echo "$glibcxx_shared_libgcc" >&6; }
70426
70427 # For GNU ld, we need at least this version. The format is described in
70428 # GLIBCXX_CHECK_LINKER_FEATURES above.
70429 glibcxx_min_gnu_ld_version=21400
70430
70431 # If no shared libgcc, can't win.
70432 if test $glibcxx_shared_libgcc != yes; then
70433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70434 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70436 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70438 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70439 enable_symvers=no
70440 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70441 : All interesting versions of Sun ld support sun style symbol versioning.
70442 elif test $with_gnu_ld != yes ; then
70443 # just fail for now
70444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70445 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70447 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70449 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70450 enable_symvers=no
70451 elif test $glibcxx_ld_is_gold = yes ; then
70452 : All versions of gold support symbol versioning.
70453 elif test $glibcxx_ld_is_mold = yes ; then
70454 : All versions of mold support symbol versioning.
70455 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70456 # The right tools, the right setup, but too old. Fallbacks?
70457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70458 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70460 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70462 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70464 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70467 enable_symvers=no
70468 fi
70469 fi
70470
70471 # For libtool versioning info, format is CURRENT:REVISION:AGE
70472 libtool_VERSION=6:33:0
70473
70474 # Everything parsed; figure out what files and settings to use.
70475 case $enable_symvers in
70476 no)
70477 SYMVER_FILE=config/abi/pre/none.ver
70478 ;;
70479 gnu)
70480 SYMVER_FILE=config/abi/pre/gnu.ver
70481
70482 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70483
70484 ;;
70485 gnu-versioned-namespace)
70486 libtool_VERSION=8:0:0
70487 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70488
70489 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70490
70491 ;;
70492 darwin)
70493 SYMVER_FILE=config/abi/pre/gnu.ver
70494
70495 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70496
70497 ;;
70498 sun)
70499 SYMVER_FILE=config/abi/pre/gnu.ver
70500
70501 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70502
70503 ;;
70504 esac
70505
70506 if test x$enable_symvers != xno ; then
70507
70508 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70509
70510 fi
70511
70512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70513 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70514 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
70515 $as_echo_n "(cached) " >&6
70516 else
70517
70518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70519 /* end confdefs.h. */
70520 void foo (void); __asm (".symver foo, bar@SYMVER");
70521 int
70522 main ()
70523 {
70524
70525 ;
70526 return 0;
70527 }
70528 _ACEOF
70529 if ac_fn_c_try_compile "$LINENO"; then :
70530 glibcxx_cv_have_as_symver_directive=yes
70531 else
70532 glibcxx_cv_have_as_symver_directive=no
70533 fi
70534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70535 fi
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70537 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70538 if test $glibcxx_cv_have_as_symver_directive = yes; then
70539
70540 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70541
70542 fi
70543
70544
70545
70546
70547
70548
70549
70550
70551 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70552 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70553
70554 if test $enable_symvers != no ; then
70555 case ${target_os} in
70556 # The Solaris 2 runtime linker doesn't support the GNU extension of
70557 # binding the same symbol to different versions
70558 solaris2*)
70559 ;;
70560 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70561 *)
70562
70563 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70564
70565 ;;
70566 esac
70567 fi
70568
70569 # Now, set up compatibility support, if any.
70570 # In addition, need this to deal with std::size_t mangling in
70571 # src/compatibility.cc. In a perfect world, could use
70572 # typeid(std::size_t).name()[0] to do direct substitution.
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70574 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70575 ac_save_CFLAGS="$CFLAGS"
70576 CFLAGS="-Werror"
70577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70578 /* end confdefs.h. */
70579
70580 int
70581 main ()
70582 {
70583 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70584 ;
70585 return 0;
70586 }
70587 _ACEOF
70588 if ac_fn_c_try_compile "$LINENO"; then :
70589 glibcxx_size_t_is_i=yes
70590 else
70591 glibcxx_size_t_is_i=no
70592 fi
70593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70594 CFLAGS=$ac_save_CFLAGS
70595 if test "$glibcxx_size_t_is_i" = yes; then
70596
70597 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70598
70599 fi
70600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70601 $as_echo "$glibcxx_size_t_is_i" >&6; }
70602
70603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70604 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70605 ac_save_CFLAGS="$CFLAGS"
70606 CFLAGS="-Werror"
70607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70608 /* end confdefs.h. */
70609
70610 int
70611 main ()
70612 {
70613 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70614 ;
70615 return 0;
70616 }
70617 _ACEOF
70618 if ac_fn_c_try_compile "$LINENO"; then :
70619 glibcxx_ptrdiff_t_is_i=yes
70620 else
70621 glibcxx_ptrdiff_t_is_i=no
70622 fi
70623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70624 CFLAGS=$ac_save_CFLAGS
70625 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70626
70627 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70628
70629 fi
70630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70631 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70632
70633
70634
70635
70636 # Check whether --enable-libstdcxx-visibility was given.
70637 if test "${enable_libstdcxx_visibility+set}" = set; then :
70638 enableval=$enable_libstdcxx_visibility;
70639 case "$enableval" in
70640 yes|no) ;;
70641 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70642 esac
70643
70644 else
70645 enable_libstdcxx_visibility=yes
70646 fi
70647
70648
70649
70650 if test x$enable_libstdcxx_visibility = xyes ; then
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70652 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70653 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
70654 $as_echo_n "(cached) " >&6
70655 else
70656
70657 save_CFLAGS="$CFLAGS"
70658 CFLAGS="$CFLAGS -Werror"
70659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70660 /* end confdefs.h. */
70661 void __attribute__((visibility("hidden"))) foo(void) { }
70662 int
70663 main ()
70664 {
70665
70666 ;
70667 return 0;
70668 }
70669 _ACEOF
70670 if ac_fn_c_try_compile "$LINENO"; then :
70671 glibcxx_cv_have_attribute_visibility=yes
70672 else
70673 glibcxx_cv_have_attribute_visibility=no
70674 fi
70675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70676 CFLAGS="$save_CFLAGS"
70677 fi
70678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70679 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70680 if test $glibcxx_cv_have_attribute_visibility = no; then
70681 enable_libstdcxx_visibility=no
70682 fi
70683 fi
70684
70685
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70687 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70688
70689
70690
70691 # Check whether --enable-libstdcxx-dual-abi was given.
70692 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
70693 enableval=$enable_libstdcxx_dual_abi;
70694 case "$enableval" in
70695 yes|no) ;;
70696 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
70697 esac
70698
70699 else
70700 enable_libstdcxx_dual_abi=yes
70701 fi
70702
70703
70704 if test x$enable_symvers = xgnu-versioned-namespace; then
70705 # gnu-versioned-namespace is incompatible with the dual ABI.
70706 enable_libstdcxx_dual_abi="no"
70707 fi
70708 if test x"$enable_libstdcxx_dual_abi" != xyes; then
70709 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
70710 $as_echo "$as_me: dual ABI is disabled" >&6;}
70711 default_libstdcxx_abi="gcc4-compatible"
70712 fi
70713
70714
70715
70716 if test x$enable_libstdcxx_dual_abi = xyes; then
70717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
70718 $as_echo_n "checking for default std::string ABI to use... " >&6; }
70719
70720 # Check whether --with-default-libstdcxx-abi was given.
70721 if test "${with_default_libstdcxx_abi+set}" = set; then :
70722 withval=$with_default_libstdcxx_abi; case "$withval" in
70723 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
70724 new|cxx11) default_libstdcxx_abi="new" ;;
70725 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
70726 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
70727 esac
70728
70729 else
70730 default_libstdcxx_abi="new"
70731 fi
70732
70733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
70734 $as_echo "${default_libstdcxx_abi}" >&6; }
70735 fi
70736 if test $default_libstdcxx_abi = "new"; then
70737 glibcxx_cxx11_abi=1
70738 glibcxx_cxx98_abi=0
70739 else
70740 glibcxx_cxx11_abi=0
70741 glibcxx_cxx98_abi=1
70742 fi
70743
70744
70745
70746
70747 ac_ldbl_compat=no
70748 ac_ldbl_alt128_compat=no
70749 ac_ldbl_ieee128_default=no
70750 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
70751 LONG_DOUBLE_128_FLAGS=
70752 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
70753 case "$target" in
70754 powerpc*-*-linux* | \
70755 sparc*-*-linux* | \
70756 s390*-*-linux* | \
70757 alpha*-*-linux*)
70758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70759 /* end confdefs.h. */
70760
70761 int
70762 main ()
70763 {
70764
70765 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70766 #error no need for long double compatibility
70767 #endif
70768
70769 ;
70770 return 0;
70771 }
70772 _ACEOF
70773 if ac_fn_c_try_compile "$LINENO"; then :
70774 ac_ldbl_compat=yes
70775 else
70776 ac_ldbl_compat=no
70777 fi
70778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70779 if test "$ac_ldbl_compat" = yes; then
70780
70781 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70782
70783 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70784 case "$target" in
70785 powerpc*-*-linux*)
70786 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
70787 # Check for IEEE128 support in libm:
70788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
70789 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
70790 if ${ac_cv_lib_m___frexpieee128+:} false; then :
70791 $as_echo_n "(cached) " >&6
70792 else
70793 ac_check_lib_save_LIBS=$LIBS
70794 LIBS="-lm $LIBS"
70795 if test x$gcc_no_link = xyes; then
70796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70797 fi
70798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70799 /* end confdefs.h. */
70800
70801 /* Override any GCC internal prototype to avoid an error.
70802 Use char because int might match the return type of a GCC
70803 builtin and then its argument prototype would still apply. */
70804 #ifdef __cplusplus
70805 extern "C"
70806 #endif
70807 char __frexpieee128 ();
70808 int
70809 main ()
70810 {
70811 return __frexpieee128 ();
70812 ;
70813 return 0;
70814 }
70815 _ACEOF
70816 if ac_fn_c_try_link "$LINENO"; then :
70817 ac_cv_lib_m___frexpieee128=yes
70818 else
70819 ac_cv_lib_m___frexpieee128=no
70820 fi
70821 rm -f core conftest.err conftest.$ac_objext \
70822 conftest$ac_exeext conftest.$ac_ext
70823 LIBS=$ac_check_lib_save_LIBS
70824 fi
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
70826 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
70827 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
70828 ac_ldbl_ieee128_in_libc=yes
70829 else
70830 ac_ldbl_ieee128_in_libc=no
70831 fi
70832
70833 if test $ac_ldbl_ieee128_in_libc = yes; then
70834 # Determine which long double format is the compiler's default:
70835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70836 /* end confdefs.h. */
70837
70838 int
70839 main ()
70840 {
70841
70842 #ifndef __LONG_DOUBLE_IEEE128__
70843 #error compiler defaults to ibm128
70844 #endif
70845
70846 ;
70847 return 0;
70848 }
70849 _ACEOF
70850 if ac_fn_c_try_compile "$LINENO"; then :
70851 ac_ldbl_ieee128_default=yes
70852 else
70853 ac_ldbl_ieee128_default=no
70854 fi
70855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70856 # Library objects should use default long double format.
70857 if test "$ac_ldbl_ieee128_default" = yes; then
70858 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70859 # Except for the ones that explicitly use these flags:
70860 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
70861 else
70862 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70863 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
70864 fi
70865
70866 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
70867
70868 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
70869 ac_ldbl_alt128_compat=yes
70870 else
70871 ac_ldbl_alt128_compat=no
70872 fi
70873 ;;
70874 esac
70875 fi
70876 esac
70877
70878
70879
70880
70881
70882
70883 # Check if assembler supports disabling hardware capability support.
70884
70885 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
70886
70887 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
70888 # with a different meaning.
70889 case ${target_os} in
70890 solaris2*)
70891 ac_save_CFLAGS="$CFLAGS"
70892 CFLAGS="$CFLAGS -Wa,-nH"
70893
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70895 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898
70899 int
70900 main ()
70901 {
70902 return 0;
70903 ;
70904 return 0;
70905 }
70906 _ACEOF
70907 if ac_fn_c_try_compile "$LINENO"; then :
70908 ac_hwcap_flags=yes
70909 else
70910 ac_hwcap_flags=no
70911 fi
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 if test "$ac_hwcap_flags" = "yes"; then
70914 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
70915 fi
70916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70917 $as_echo "$ac_hwcap_flags" >&6; }
70918
70919 CFLAGS="$ac_save_CFLAGS"
70920 ;;
70921 esac
70922
70923
70924
70925
70926 # Check if assembler supports rdrand opcode.
70927
70928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70929 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70930 if ${ac_cv_x86_rdrand+:} false; then :
70931 $as_echo_n "(cached) " >&6
70932 else
70933
70934 ac_cv_x86_rdrand=no
70935 case "$target" in
70936 i?86-*-* | \
70937 x86_64-*-*)
70938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70939 /* end confdefs.h. */
70940
70941 int
70942 main ()
70943 {
70944 asm("rdrand %eax");
70945 ;
70946 return 0;
70947 }
70948 _ACEOF
70949 if ac_fn_c_try_compile "$LINENO"; then :
70950 ac_cv_x86_rdrand=yes
70951 else
70952 ac_cv_x86_rdrand=no
70953 fi
70954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70955 esac
70956
70957 fi
70958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70959 $as_echo "$ac_cv_x86_rdrand" >&6; }
70960 if test $ac_cv_x86_rdrand = yes; then
70961
70962 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70963
70964 fi
70965
70966 # Check if assembler supports rdseed opcode.
70967
70968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
70969 $as_echo_n "checking for rdseed support in assembler... " >&6; }
70970 if ${ac_cv_x86_rdseed+:} false; then :
70971 $as_echo_n "(cached) " >&6
70972 else
70973
70974 ac_cv_x86_rdseed=no
70975 case "$target" in
70976 i?86-*-* | \
70977 x86_64-*-*)
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70980
70981 int
70982 main ()
70983 {
70984 asm("rdseed %eax");
70985 ;
70986 return 0;
70987 }
70988 _ACEOF
70989 if ac_fn_c_try_compile "$LINENO"; then :
70990 ac_cv_x86_rdseed=yes
70991 else
70992 ac_cv_x86_rdseed=no
70993 fi
70994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70995 esac
70996
70997 fi
70998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
70999 $as_echo "$ac_cv_x86_rdseed" >&6; }
71000 if test $ac_cv_x86_rdseed = yes; then
71001
71002 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
71003
71004 fi
71005
71006
71007 # Check for other random number APIs
71008
71009
71010
71011 ac_ext=cpp
71012 ac_cpp='$CXXCPP $CPPFLAGS'
71013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71016
71017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
71018 $as_echo_n "checking for getentropy... " >&6; }
71019 if ${glibcxx_cv_getentropy+:} false; then :
71020 $as_echo_n "(cached) " >&6
71021 else
71022
71023 if test x$gcc_no_link = xyes; then
71024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71025 /* end confdefs.h. */
71026 #include <unistd.h>
71027 int
71028 main ()
71029 {
71030 unsigned i;
71031 ::getentropy(&i, sizeof(i));
71032 ;
71033 return 0;
71034 }
71035 _ACEOF
71036 if ac_fn_cxx_try_compile "$LINENO"; then :
71037 glibcxx_cv_getentropy=yes
71038 else
71039 glibcxx_cv_getentropy=no
71040 fi
71041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71042 else
71043 if test x$gcc_no_link = xyes; then
71044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71045 fi
71046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71047 /* end confdefs.h. */
71048 #include <unistd.h>
71049 int
71050 main ()
71051 {
71052 unsigned i;
71053 ::getentropy(&i, sizeof(i));
71054 ;
71055 return 0;
71056 }
71057 _ACEOF
71058 if ac_fn_cxx_try_link "$LINENO"; then :
71059 glibcxx_cv_getentropy=yes
71060 else
71061 glibcxx_cv_getentropy=no
71062 fi
71063 rm -f core conftest.err conftest.$ac_objext \
71064 conftest$ac_exeext conftest.$ac_ext
71065 fi
71066
71067 fi
71068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
71069 $as_echo "$glibcxx_cv_getentropy" >&6; }
71070
71071 if test $glibcxx_cv_getentropy = yes; then
71072
71073 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
71074
71075 fi
71076 ac_ext=c
71077 ac_cpp='$CPP $CPPFLAGS'
71078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71081
71082
71083
71084
71085
71086 ac_ext=cpp
71087 ac_cpp='$CXXCPP $CPPFLAGS'
71088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71091
71092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
71093 $as_echo_n "checking for arc4random... " >&6; }
71094 if ${glibcxx_cv_arc4random+:} false; then :
71095 $as_echo_n "(cached) " >&6
71096 else
71097
71098 if test x$gcc_no_link = xyes; then
71099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71100 /* end confdefs.h. */
71101 #include <stdlib.h>
71102 int
71103 main ()
71104 {
71105 unsigned i = ::arc4random();
71106 ;
71107 return 0;
71108 }
71109 _ACEOF
71110 if ac_fn_cxx_try_compile "$LINENO"; then :
71111 glibcxx_cv_arc4random=yes
71112 else
71113 glibcxx_cv_arc4random=no
71114 fi
71115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71116 else
71117 if test x$gcc_no_link = xyes; then
71118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71119 fi
71120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71121 /* end confdefs.h. */
71122 #include <stdlib.h>
71123 int
71124 main ()
71125 {
71126 unsigned i = ::arc4random();
71127 ;
71128 return 0;
71129 }
71130 _ACEOF
71131 if ac_fn_cxx_try_link "$LINENO"; then :
71132 glibcxx_cv_arc4random=yes
71133 else
71134 glibcxx_cv_arc4random=no
71135 fi
71136 rm -f core conftest.err conftest.$ac_objext \
71137 conftest$ac_exeext conftest.$ac_ext
71138 fi
71139
71140 fi
71141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
71142 $as_echo "$glibcxx_cv_arc4random" >&6; }
71143
71144 if test $glibcxx_cv_arc4random = yes; then
71145
71146 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
71147
71148 fi
71149 ac_ext=c
71150 ac_cpp='$CPP $CPPFLAGS'
71151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71154
71155
71156
71157 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71158
71159 # Do checks for resource limit functions.
71160
71161
71162 ac_ext=cpp
71163 ac_cpp='$CXXCPP $CPPFLAGS'
71164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71167
71168 setrlimit_have_headers=yes
71169 for ac_header in unistd.h sys/time.h sys/resource.h
71170 do :
71171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71172 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71174 cat >>confdefs.h <<_ACEOF
71175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71176 _ACEOF
71177
71178 else
71179 setrlimit_have_headers=no
71180 fi
71181
71182 done
71183
71184 # If don't have the headers, then we can't run the tests now, and we
71185 # won't be seeing any of these during testsuite compilation.
71186 if test $setrlimit_have_headers = yes; then
71187 # Can't do these in a loop, else the resulting syntax is wrong.
71188
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71190 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71192 /* end confdefs.h. */
71193 #include <unistd.h>
71194 #include <sys/time.h>
71195 #include <sys/resource.h>
71196
71197 int
71198 main ()
71199 {
71200 int f = RLIMIT_DATA ;
71201 ;
71202 return 0;
71203 }
71204 _ACEOF
71205 if ac_fn_cxx_try_compile "$LINENO"; then :
71206 glibcxx_mresult=1
71207 else
71208 glibcxx_mresult=0
71209 fi
71210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71211
71212 cat >>confdefs.h <<_ACEOF
71213 #define HAVE_LIMIT_DATA $glibcxx_mresult
71214 _ACEOF
71215
71216 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71218 $as_echo "$res" >&6; }
71219
71220
71221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71222 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71224 /* end confdefs.h. */
71225 #include <unistd.h>
71226 #include <sys/time.h>
71227 #include <sys/resource.h>
71228
71229 int
71230 main ()
71231 {
71232 int f = RLIMIT_RSS ;
71233 ;
71234 return 0;
71235 }
71236 _ACEOF
71237 if ac_fn_cxx_try_compile "$LINENO"; then :
71238 glibcxx_mresult=1
71239 else
71240 glibcxx_mresult=0
71241 fi
71242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71243
71244 cat >>confdefs.h <<_ACEOF
71245 #define HAVE_LIMIT_RSS $glibcxx_mresult
71246 _ACEOF
71247
71248 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71250 $as_echo "$res" >&6; }
71251
71252
71253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
71254 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
71255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71256 /* end confdefs.h. */
71257 #include <unistd.h>
71258 #include <sys/time.h>
71259 #include <sys/resource.h>
71260
71261 int
71262 main ()
71263 {
71264 int f = RLIMIT_VMEM ;
71265 ;
71266 return 0;
71267 }
71268 _ACEOF
71269 if ac_fn_cxx_try_compile "$LINENO"; then :
71270 glibcxx_mresult=1
71271 else
71272 glibcxx_mresult=0
71273 fi
71274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71275
71276 cat >>confdefs.h <<_ACEOF
71277 #define HAVE_LIMIT_VMEM $glibcxx_mresult
71278 _ACEOF
71279
71280 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71282 $as_echo "$res" >&6; }
71283
71284
71285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
71286 $as_echo_n "checking for RLIMIT_AS... " >&6; }
71287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71288 /* end confdefs.h. */
71289 #include <unistd.h>
71290 #include <sys/time.h>
71291 #include <sys/resource.h>
71292
71293 int
71294 main ()
71295 {
71296 int f = RLIMIT_AS ;
71297 ;
71298 return 0;
71299 }
71300 _ACEOF
71301 if ac_fn_cxx_try_compile "$LINENO"; then :
71302 glibcxx_mresult=1
71303 else
71304 glibcxx_mresult=0
71305 fi
71306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71307
71308 cat >>confdefs.h <<_ACEOF
71309 #define HAVE_LIMIT_AS $glibcxx_mresult
71310 _ACEOF
71311
71312 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71314 $as_echo "$res" >&6; }
71315
71316
71317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71318 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71320 /* end confdefs.h. */
71321 #include <unistd.h>
71322 #include <sys/time.h>
71323 #include <sys/resource.h>
71324
71325 int
71326 main ()
71327 {
71328 int f = RLIMIT_FSIZE ;
71329 ;
71330 return 0;
71331 }
71332 _ACEOF
71333 if ac_fn_cxx_try_compile "$LINENO"; then :
71334 glibcxx_mresult=1
71335 else
71336 glibcxx_mresult=0
71337 fi
71338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71339
71340 cat >>confdefs.h <<_ACEOF
71341 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71342 _ACEOF
71343
71344 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71346 $as_echo "$res" >&6; }
71347
71348
71349 # Check for rlimit, setrlimit.
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71351 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71352 if ${glibcxx_cv_setrlimit+:} false; then :
71353 $as_echo_n "(cached) " >&6
71354 else
71355
71356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71357 /* end confdefs.h. */
71358 #include <unistd.h>
71359 #include <sys/time.h>
71360 #include <sys/resource.h>
71361
71362 int
71363 main ()
71364 {
71365 struct rlimit r;
71366 setrlimit(0, &r);
71367 ;
71368 return 0;
71369 }
71370 _ACEOF
71371 if ac_fn_cxx_try_compile "$LINENO"; then :
71372 glibcxx_cv_setrlimit=yes
71373 else
71374 glibcxx_cv_setrlimit=no
71375 fi
71376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71377
71378 fi
71379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
71380 $as_echo "$glibcxx_cv_setrlimit" >&6; }
71381
71382 if test $glibcxx_cv_setrlimit = yes; then
71383
71384 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71385
71386 fi
71387 fi
71388 ac_ext=c
71389 ac_cpp='$CPP $CPPFLAGS'
71390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71393
71394
71395
71396 if $GLIBCXX_IS_NATIVE ; then
71397 # Look for setenv, so that extended locale tests can be performed.
71398
71399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71400 $as_echo_n "checking for setenv declaration... " >&6; }
71401 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71402 if ${glibcxx_cv_func_setenv_use+:} false; then :
71403 $as_echo_n "(cached) " >&6
71404 else
71405
71406
71407 ac_ext=cpp
71408 ac_cpp='$CXXCPP $CPPFLAGS'
71409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71412
71413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71414 /* end confdefs.h. */
71415 #include <stdlib.h>
71416 int
71417 main ()
71418 {
71419 setenv(0, 0, 0);
71420 ;
71421 return 0;
71422 }
71423 _ACEOF
71424 if ac_fn_cxx_try_compile "$LINENO"; then :
71425 glibcxx_cv_func_setenv_use=yes
71426 else
71427 glibcxx_cv_func_setenv_use=no
71428 fi
71429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71430 ac_ext=c
71431 ac_cpp='$CPP $CPPFLAGS'
71432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71435
71436
71437 fi
71438
71439 fi
71440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71441 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71442 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71443 for ac_func in setenv
71444 do :
71445 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71446 if test "x$ac_cv_func_setenv" = xyes; then :
71447 cat >>confdefs.h <<_ACEOF
71448 #define HAVE_SETENV 1
71449 _ACEOF
71450
71451 fi
71452 done
71453
71454 fi
71455
71456 fi
71457
71458 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71459 test $enable_symvers != no; then
71460 case "$host" in
71461 *-*-cygwin*)
71462 enable_abi_check=no ;;
71463 *)
71464 enable_abi_check=yes ;;
71465 esac
71466 else
71467 # Only build this as native, since automake does not understand
71468 # CXX_FOR_BUILD.
71469 enable_abi_check=no
71470 fi
71471
71472 # Export file names for ABI checking.
71473 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71474
71475 baseline_subdir_switch="$abi_baseline_subdir_switch"
71476
71477
71478
71479 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71480
71481 # Check whether --enable-libstdcxx-threads was given.
71482 if test "${enable_libstdcxx_threads+set}" = set; then :
71483 enableval=$enable_libstdcxx_threads;
71484 case "$enableval" in
71485 yes|no) ;;
71486 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71487 esac
71488
71489 else
71490 enable_libstdcxx_threads=auto
71491 fi
71492
71493
71494
71495 if test x$enable_libstdcxx_threads = xauto ||
71496 test x$enable_libstdcxx_threads = xyes; then
71497
71498
71499 ac_ext=cpp
71500 ac_cpp='$CXXCPP $CPPFLAGS'
71501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71504
71505
71506 ac_save_CXXFLAGS="$CXXFLAGS"
71507 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71508 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71509
71510 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71511 case $target_thread_file in
71512 posix)
71513 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71514 ;;
71515 win32)
71516 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
71517 # The support of condition variables is disabled by default in
71518 # the Win32 gthreads library, so enable it on explicit request.
71519 if test x$enable_libstdcxx_threads = xyes; then
71520 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
71521 fi
71522 ;;
71523 esac
71524
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71526 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71527
71528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71529 /* end confdefs.h. */
71530 #include <unistd.h>
71531 int
71532 main ()
71533 {
71534
71535 // In case of POSIX threads check _POSIX_TIMEOUTS.
71536 #if (defined(_PTHREADS) \
71537 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71538 #error
71539 // In case of Win32 threads there is no support.
71540 #elif defined(_WIN32_THREADS)
71541 #error
71542 #endif
71543
71544 ;
71545 return 0;
71546 }
71547 _ACEOF
71548 if ac_fn_cxx_try_compile "$LINENO"; then :
71549 ac_gthread_use_mutex_timedlock=1
71550 else
71551 ac_gthread_use_mutex_timedlock=0
71552 fi
71553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71554
71555
71556 cat >>confdefs.h <<_ACEOF
71557 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71558 _ACEOF
71559
71560
71561 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71562 else res_mutex_timedlock=no ; fi
71563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71564 $as_echo "$res_mutex_timedlock" >&6; }
71565
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71567 $as_echo_n "checking for gthreads library... " >&6; }
71568
71569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71570 /* end confdefs.h. */
71571 #include "gthr.h"
71572 int
71573 main ()
71574 {
71575
71576 #ifndef __GTHREADS_CXX0X
71577 #error
71578 #endif
71579
71580 ;
71581 return 0;
71582 }
71583 _ACEOF
71584 if ac_fn_cxx_try_compile "$LINENO"; then :
71585 ac_has_gthreads=yes
71586 else
71587 ac_has_gthreads=no
71588 fi
71589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71590 else
71591 ac_has_gthreads=no
71592 fi
71593
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71595 $as_echo "$ac_has_gthreads" >&6; }
71596
71597 if test x"$ac_has_gthreads" = x"yes"; then
71598
71599 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71600
71601
71602 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
71603 # but only do so if we're using pthread in the gthread library.
71604 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
71605 # but the pthread library is not there by default and the gthread library
71606 # does not use it.
71607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71608 /* end confdefs.h. */
71609 #include "gthr.h"
71610 int
71611 main ()
71612 {
71613
71614 #if (!defined(_PTHREADS))
71615 #error
71616 #endif
71617
71618 ;
71619 return 0;
71620 }
71621 _ACEOF
71622 if ac_fn_cxx_try_compile "$LINENO"; then :
71623 ac_gthread_use_pthreads=yes
71624 else
71625 ac_gthread_use_pthreads=no
71626 fi
71627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71628 if test x"$ac_gthread_use_pthreads" = x"yes"; then
71629 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
71630 "
71631 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
71632
71633 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
71634
71635 fi
71636
71637 fi
71638
71639 # See above for the rationale.
71640 if test $target_thread_file = win32; then
71641 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
71642 fi
71643 fi
71644
71645 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
71646 if test "x$ac_cv_header_semaphore_h" = xyes; then :
71647
71648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
71649 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
71650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71651 /* end confdefs.h. */
71652
71653 #include <unistd.h>
71654 #include <semaphore.h>
71655 #include <limits.h>
71656
71657 int
71658 main ()
71659 {
71660
71661 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
71662 # error "POSIX Timeouts option not supported"
71663 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
71664 # error "POSIX Semaphores option not supported"
71665 #else
71666 #if defined SEM_VALUE_MAX
71667 constexpr int sem_value_max = SEM_VALUE_MAX;
71668 #elif defined _POSIX_SEM_VALUE_MAX
71669 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
71670 #else
71671 # error "SEM_VALUE_MAX not available"
71672 #endif
71673 sem_t sem;
71674 sem_init(&sem, 0, sem_value_max);
71675 struct timespec ts = { 0 };
71676 sem_timedwait(&sem, &ts);
71677 #endif
71678
71679 ;
71680 return 0;
71681 }
71682 _ACEOF
71683 if ac_fn_cxx_try_compile "$LINENO"; then :
71684 ac_have_posix_semaphore=yes
71685 else
71686 ac_have_posix_semaphore=no
71687 fi
71688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71689 else
71690 ac_have_posix_semaphore=no
71691 fi
71692
71693
71694
71695 if test $ac_have_posix_semaphore = yes ; then
71696
71697 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
71698
71699 fi
71700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
71701 $as_echo "$ac_have_posix_semaphore" >&6; }
71702
71703 CXXFLAGS="$ac_save_CXXFLAGS"
71704 ac_ext=c
71705 ac_cpp='$CPP $CPPFLAGS'
71706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71709
71710
71711
71712 # For Filesystem TS.
71713 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
71714 do :
71715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71718 cat >>confdefs.h <<_ACEOF
71719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71720 _ACEOF
71721
71722 fi
71723
71724 done
71725
71726
71727 # Check whether --enable-libstdcxx-filesystem-ts was given.
71728 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
71729 enableval=$enable_libstdcxx_filesystem_ts;
71730 case "$enableval" in
71731 yes|no|auto) ;;
71732 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
71733 esac
71734
71735 else
71736 enable_libstdcxx_filesystem_ts=auto
71737 fi
71738
71739
71740
71741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
71742 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
71743 if test x"$ac_cv_header_dirent_h" != x"yes"; then
71744 enable_libstdcxx_filesystem_ts=no
71745 fi
71746 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
71747 case "${target_os}" in
71748 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
71749 enable_libstdcxx_filesystem_ts=yes
71750 ;;
71751 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
71752 enable_libstdcxx_filesystem_ts=yes
71753 ;;
71754 rtems*)
71755 enable_libstdcxx_filesystem_ts=yes
71756 ;;
71757 solaris*)
71758 enable_libstdcxx_filesystem_ts=yes
71759 ;;
71760 mingw*)
71761 enable_libstdcxx_filesystem_ts=yes
71762 ;;
71763 *)
71764 enable_libstdcxx_filesystem_ts=no
71765 ;;
71766 esac
71767 fi
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
71769 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
71770
71771
71772
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71778
71779 ac_save_CXXFLAGS="$CXXFLAGS"
71780 CXXFLAGS="$CXXFLAGS -fno-exceptions"
71781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
71782 $as_echo_n "checking for struct dirent.d_type... " >&6; }
71783 if ${glibcxx_cv_dirent_d_type+:} false; then :
71784 $as_echo_n "(cached) " >&6
71785 else
71786 if test x$gcc_no_link = xyes; then
71787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71788 /* end confdefs.h. */
71789 #include <dirent.h>
71790 int
71791 main ()
71792 {
71793
71794 struct dirent d;
71795 if (sizeof d.d_type) return 0;
71796
71797 ;
71798 return 0;
71799 }
71800 _ACEOF
71801 if ac_fn_cxx_try_compile "$LINENO"; then :
71802 glibcxx_cv_dirent_d_type=yes
71803 else
71804 glibcxx_cv_dirent_d_type=no
71805 fi
71806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71807 else
71808 if test x$gcc_no_link = xyes; then
71809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71810 fi
71811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71812 /* end confdefs.h. */
71813 #include <dirent.h>
71814 int
71815 main ()
71816 {
71817
71818 struct dirent d;
71819 if (sizeof d.d_type) return 0;
71820
71821 ;
71822 return 0;
71823 }
71824 _ACEOF
71825 if ac_fn_cxx_try_link "$LINENO"; then :
71826 glibcxx_cv_dirent_d_type=yes
71827 else
71828 glibcxx_cv_dirent_d_type=no
71829 fi
71830 rm -f core conftest.err conftest.$ac_objext \
71831 conftest$ac_exeext conftest.$ac_ext
71832 fi
71833
71834 fi
71835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
71836 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
71837 if test $glibcxx_cv_dirent_d_type = yes; then
71838
71839 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
71840
71841 fi
71842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
71843 $as_echo_n "checking for realpath... " >&6; }
71844 if ${glibcxx_cv_realpath+:} false; then :
71845 $as_echo_n "(cached) " >&6
71846 else
71847 if test x$gcc_no_link = xyes; then
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71850
71851 #include <limits.h>
71852 #include <stdlib.h>
71853 #include <unistd.h>
71854
71855 int
71856 main ()
71857 {
71858
71859 #if _XOPEN_VERSION < 500
71860 #error
71861 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
71862 char *tmp = realpath((const char*)NULL, (char*)NULL);
71863 #else
71864 #error
71865 #endif
71866
71867 ;
71868 return 0;
71869 }
71870 _ACEOF
71871 if ac_fn_cxx_try_compile "$LINENO"; then :
71872 glibcxx_cv_realpath=yes
71873 else
71874 glibcxx_cv_realpath=no
71875 fi
71876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71877 else
71878 if test x$gcc_no_link = xyes; then
71879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71880 fi
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71883
71884 #include <limits.h>
71885 #include <stdlib.h>
71886 #include <unistd.h>
71887
71888 int
71889 main ()
71890 {
71891
71892 #if _XOPEN_VERSION < 500
71893 #error
71894 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
71895 char *tmp = realpath((const char*)NULL, (char*)NULL);
71896 #else
71897 #error
71898 #endif
71899
71900 ;
71901 return 0;
71902 }
71903 _ACEOF
71904 if ac_fn_cxx_try_link "$LINENO"; then :
71905 glibcxx_cv_realpath=yes
71906 else
71907 glibcxx_cv_realpath=no
71908 fi
71909 rm -f core conftest.err conftest.$ac_objext \
71910 conftest$ac_exeext conftest.$ac_ext
71911 fi
71912
71913 fi
71914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
71915 $as_echo "$glibcxx_cv_realpath" >&6; }
71916 if test $glibcxx_cv_realpath = yes; then
71917
71918 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
71919
71920 fi
71921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
71922 $as_echo_n "checking for utimensat... " >&6; }
71923 if ${glibcxx_cv_utimensat+:} false; then :
71924 $as_echo_n "(cached) " >&6
71925 else
71926 if test x$gcc_no_link = xyes; then
71927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71928 /* end confdefs.h. */
71929
71930 #include <fcntl.h>
71931 #include <sys/stat.h>
71932
71933 int
71934 main ()
71935 {
71936
71937 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
71938 int i = utimensat(AT_FDCWD, "path", ts, 0);
71939
71940 ;
71941 return 0;
71942 }
71943 _ACEOF
71944 if ac_fn_cxx_try_compile "$LINENO"; then :
71945 glibcxx_cv_utimensat=yes
71946 else
71947 glibcxx_cv_utimensat=no
71948 fi
71949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71950 else
71951 if test x$gcc_no_link = xyes; then
71952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71953 fi
71954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71955 /* end confdefs.h. */
71956
71957 #include <fcntl.h>
71958 #include <sys/stat.h>
71959
71960 int
71961 main ()
71962 {
71963
71964 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
71965 int i = utimensat(AT_FDCWD, "path", ts, 0);
71966
71967 ;
71968 return 0;
71969 }
71970 _ACEOF
71971 if ac_fn_cxx_try_link "$LINENO"; then :
71972 glibcxx_cv_utimensat=yes
71973 else
71974 glibcxx_cv_utimensat=no
71975 fi
71976 rm -f core conftest.err conftest.$ac_objext \
71977 conftest$ac_exeext conftest.$ac_ext
71978 fi
71979
71980 fi
71981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
71982 $as_echo "$glibcxx_cv_utimensat" >&6; }
71983 if test $glibcxx_cv_utimensat = yes; then
71984
71985 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
71986
71987 fi
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
71989 $as_echo_n "checking for utime... " >&6; }
71990 if ${glibcxx_cv_utime+:} false; then :
71991 $as_echo_n "(cached) " >&6
71992 else
71993 if test x$gcc_no_link = xyes; then
71994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71995 /* end confdefs.h. */
71996
71997 #include <utime.h>
71998
71999 int
72000 main ()
72001 {
72002
72003 struct utimbuf t = { 1, 1 };
72004 int i = utime("path", &t);
72005
72006 ;
72007 return 0;
72008 }
72009 _ACEOF
72010 if ac_fn_cxx_try_compile "$LINENO"; then :
72011 glibcxx_cv_utime=yes
72012 else
72013 glibcxx_cv_utime=no
72014 fi
72015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72016 else
72017 if test x$gcc_no_link = xyes; then
72018 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72019 fi
72020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72021 /* end confdefs.h. */
72022
72023 #include <utime.h>
72024
72025 int
72026 main ()
72027 {
72028
72029 struct utimbuf t = { 1, 1 };
72030 int i = utime("path", &t);
72031
72032 ;
72033 return 0;
72034 }
72035 _ACEOF
72036 if ac_fn_cxx_try_link "$LINENO"; then :
72037 glibcxx_cv_utime=yes
72038 else
72039 glibcxx_cv_utime=no
72040 fi
72041 rm -f core conftest.err conftest.$ac_objext \
72042 conftest$ac_exeext conftest.$ac_ext
72043 fi
72044
72045 fi
72046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
72047 $as_echo "$glibcxx_cv_utime" >&6; }
72048 if test $glibcxx_cv_utime = yes; then
72049
72050 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
72051
72052 fi
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
72054 $as_echo_n "checking for lstat... " >&6; }
72055 if ${glibcxx_cv_lstat+:} false; then :
72056 $as_echo_n "(cached) " >&6
72057 else
72058 if test x$gcc_no_link = xyes; then
72059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72060 /* end confdefs.h. */
72061 #include <sys/stat.h>
72062 int
72063 main ()
72064 {
72065
72066 struct stat st;
72067 int i = lstat("path", &st);
72068
72069 ;
72070 return 0;
72071 }
72072 _ACEOF
72073 if ac_fn_cxx_try_compile "$LINENO"; then :
72074 glibcxx_cv_lstat=yes
72075 else
72076 glibcxx_cv_lstat=no
72077 fi
72078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72079 else
72080 if test x$gcc_no_link = xyes; then
72081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72082 fi
72083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72084 /* end confdefs.h. */
72085 #include <sys/stat.h>
72086 int
72087 main ()
72088 {
72089
72090 struct stat st;
72091 int i = lstat("path", &st);
72092
72093 ;
72094 return 0;
72095 }
72096 _ACEOF
72097 if ac_fn_cxx_try_link "$LINENO"; then :
72098 glibcxx_cv_lstat=yes
72099 else
72100 glibcxx_cv_lstat=no
72101 fi
72102 rm -f core conftest.err conftest.$ac_objext \
72103 conftest$ac_exeext conftest.$ac_ext
72104 fi
72105
72106 fi
72107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
72108 $as_echo "$glibcxx_cv_lstat" >&6; }
72109 if test $glibcxx_cv_lstat = yes; then
72110
72111 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
72112
72113 fi
72114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
72115 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
72116 if ${glibcxx_cv_st_mtim+:} false; then :
72117 $as_echo_n "(cached) " >&6
72118 else
72119 if test x$gcc_no_link = xyes; then
72120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72121 /* end confdefs.h. */
72122 #include <sys/stat.h>
72123 int
72124 main ()
72125 {
72126
72127 struct stat st;
72128 return st.st_mtim.tv_nsec;
72129
72130 ;
72131 return 0;
72132 }
72133 _ACEOF
72134 if ac_fn_cxx_try_compile "$LINENO"; then :
72135 glibcxx_cv_st_mtim=yes
72136 else
72137 glibcxx_cv_st_mtim=no
72138 fi
72139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72140 else
72141 if test x$gcc_no_link = xyes; then
72142 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72143 fi
72144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72145 /* end confdefs.h. */
72146 #include <sys/stat.h>
72147 int
72148 main ()
72149 {
72150
72151 struct stat st;
72152 return st.st_mtim.tv_nsec;
72153
72154 ;
72155 return 0;
72156 }
72157 _ACEOF
72158 if ac_fn_cxx_try_link "$LINENO"; then :
72159 glibcxx_cv_st_mtim=yes
72160 else
72161 glibcxx_cv_st_mtim=no
72162 fi
72163 rm -f core conftest.err conftest.$ac_objext \
72164 conftest$ac_exeext conftest.$ac_ext
72165 fi
72166
72167 fi
72168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
72169 $as_echo "$glibcxx_cv_st_mtim" >&6; }
72170 if test $glibcxx_cv_st_mtim = yes; then
72171
72172 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
72173
72174 fi
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
72176 $as_echo_n "checking for fchmod... " >&6; }
72177 if ${glibcxx_cv_fchmod+:} false; then :
72178 $as_echo_n "(cached) " >&6
72179 else
72180 if test x$gcc_no_link = xyes; then
72181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72182 /* end confdefs.h. */
72183 #include <sys/stat.h>
72184 int
72185 main ()
72186 {
72187 fchmod(1, S_IWUSR);
72188 ;
72189 return 0;
72190 }
72191 _ACEOF
72192 if ac_fn_cxx_try_compile "$LINENO"; then :
72193 glibcxx_cv_fchmod=yes
72194 else
72195 glibcxx_cv_fchmod=no
72196 fi
72197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72198 else
72199 if test x$gcc_no_link = xyes; then
72200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72201 fi
72202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72203 /* end confdefs.h. */
72204 #include <sys/stat.h>
72205 int
72206 main ()
72207 {
72208 fchmod(1, S_IWUSR);
72209 ;
72210 return 0;
72211 }
72212 _ACEOF
72213 if ac_fn_cxx_try_link "$LINENO"; then :
72214 glibcxx_cv_fchmod=yes
72215 else
72216 glibcxx_cv_fchmod=no
72217 fi
72218 rm -f core conftest.err conftest.$ac_objext \
72219 conftest$ac_exeext conftest.$ac_ext
72220 fi
72221
72222 fi
72223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
72224 $as_echo "$glibcxx_cv_fchmod" >&6; }
72225 if test $glibcxx_cv_fchmod = yes; then
72226
72227 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
72228
72229 fi
72230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
72231 $as_echo_n "checking for fchmodat... " >&6; }
72232 if ${glibcxx_cv_fchmodat+:} false; then :
72233 $as_echo_n "(cached) " >&6
72234 else
72235 if test x$gcc_no_link = xyes; then
72236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72237 /* end confdefs.h. */
72238
72239 #include <fcntl.h>
72240 #include <sys/stat.h>
72241
72242 int
72243 main ()
72244 {
72245 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72246 ;
72247 return 0;
72248 }
72249 _ACEOF
72250 if ac_fn_cxx_try_compile "$LINENO"; then :
72251 glibcxx_cv_fchmodat=yes
72252 else
72253 glibcxx_cv_fchmodat=no
72254 fi
72255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72256 else
72257 if test x$gcc_no_link = xyes; then
72258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72259 fi
72260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72261 /* end confdefs.h. */
72262
72263 #include <fcntl.h>
72264 #include <sys/stat.h>
72265
72266 int
72267 main ()
72268 {
72269 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72270 ;
72271 return 0;
72272 }
72273 _ACEOF
72274 if ac_fn_cxx_try_link "$LINENO"; then :
72275 glibcxx_cv_fchmodat=yes
72276 else
72277 glibcxx_cv_fchmodat=no
72278 fi
72279 rm -f core conftest.err conftest.$ac_objext \
72280 conftest$ac_exeext conftest.$ac_ext
72281 fi
72282
72283 fi
72284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
72285 $as_echo "$glibcxx_cv_fchmodat" >&6; }
72286 if test $glibcxx_cv_fchmodat = yes; then
72287
72288 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
72289
72290 fi
72291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
72292 $as_echo_n "checking for link... " >&6; }
72293 if ${glibcxx_cv_link+:} false; then :
72294 $as_echo_n "(cached) " >&6
72295 else
72296 if test x$gcc_no_link = xyes; then
72297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72298 /* end confdefs.h. */
72299 #include <unistd.h>
72300 int
72301 main ()
72302 {
72303 link("", "");
72304 ;
72305 return 0;
72306 }
72307 _ACEOF
72308 if ac_fn_cxx_try_compile "$LINENO"; then :
72309 glibcxx_cv_link=yes
72310 else
72311 glibcxx_cv_link=no
72312 fi
72313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72314 else
72315 if test x$gcc_no_link = xyes; then
72316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72317 fi
72318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72319 /* end confdefs.h. */
72320 #include <unistd.h>
72321 int
72322 main ()
72323 {
72324 link("", "");
72325 ;
72326 return 0;
72327 }
72328 _ACEOF
72329 if ac_fn_cxx_try_link "$LINENO"; then :
72330 glibcxx_cv_link=yes
72331 else
72332 glibcxx_cv_link=no
72333 fi
72334 rm -f core conftest.err conftest.$ac_objext \
72335 conftest$ac_exeext conftest.$ac_ext
72336 fi
72337
72338 fi
72339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
72340 $as_echo "$glibcxx_cv_link" >&6; }
72341 if test $glibcxx_cv_link = yes; then
72342
72343 $as_echo "#define HAVE_LINK 1" >>confdefs.h
72344
72345 fi
72346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek" >&5
72347 $as_echo_n "checking for lseek... " >&6; }
72348 if ${glibcxx_cv_lseek+:} false; then :
72349 $as_echo_n "(cached) " >&6
72350 else
72351 if test x$gcc_no_link = xyes; then
72352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72353 /* end confdefs.h. */
72354 #include <unistd.h>
72355 int
72356 main ()
72357 {
72358 lseek(1, 0, SEEK_SET);
72359 ;
72360 return 0;
72361 }
72362 _ACEOF
72363 if ac_fn_cxx_try_compile "$LINENO"; then :
72364 glibcxx_cv_lseek=yes
72365 else
72366 glibcxx_cv_lseek=no
72367 fi
72368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72369 else
72370 if test x$gcc_no_link = xyes; then
72371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72372 fi
72373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72374 /* end confdefs.h. */
72375 #include <unistd.h>
72376 int
72377 main ()
72378 {
72379 lseek(1, 0, SEEK_SET);
72380 ;
72381 return 0;
72382 }
72383 _ACEOF
72384 if ac_fn_cxx_try_link "$LINENO"; then :
72385 glibcxx_cv_lseek=yes
72386 else
72387 glibcxx_cv_lseek=no
72388 fi
72389 rm -f core conftest.err conftest.$ac_objext \
72390 conftest$ac_exeext conftest.$ac_ext
72391 fi
72392
72393 fi
72394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lseek" >&5
72395 $as_echo "$glibcxx_cv_lseek" >&6; }
72396 if test $glibcxx_cv_lseek = yes; then
72397
72398 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
72399
72400 fi
72401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
72402 $as_echo_n "checking for readlink... " >&6; }
72403 if ${glibcxx_cv_readlink+:} false; then :
72404 $as_echo_n "(cached) " >&6
72405 else
72406 if test x$gcc_no_link = xyes; then
72407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72408 /* end confdefs.h. */
72409 #include <unistd.h>
72410 int
72411 main ()
72412 {
72413 char buf[32]; readlink("", buf, sizeof(buf));
72414 ;
72415 return 0;
72416 }
72417 _ACEOF
72418 if ac_fn_cxx_try_compile "$LINENO"; then :
72419 glibcxx_cv_readlink=yes
72420 else
72421 glibcxx_cv_readlink=no
72422 fi
72423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72424 else
72425 if test x$gcc_no_link = xyes; then
72426 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72427 fi
72428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72429 /* end confdefs.h. */
72430 #include <unistd.h>
72431 int
72432 main ()
72433 {
72434 char buf[32]; readlink("", buf, sizeof(buf));
72435 ;
72436 return 0;
72437 }
72438 _ACEOF
72439 if ac_fn_cxx_try_link "$LINENO"; then :
72440 glibcxx_cv_readlink=yes
72441 else
72442 glibcxx_cv_readlink=no
72443 fi
72444 rm -f core conftest.err conftest.$ac_objext \
72445 conftest$ac_exeext conftest.$ac_ext
72446 fi
72447
72448 fi
72449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
72450 $as_echo "$glibcxx_cv_readlink" >&6; }
72451 if test $glibcxx_cv_readlink = yes; then
72452
72453 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
72454
72455 fi
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
72457 $as_echo_n "checking for symlink... " >&6; }
72458 if ${glibcxx_cv_symlink+:} false; then :
72459 $as_echo_n "(cached) " >&6
72460 else
72461 if test x$gcc_no_link = xyes; then
72462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72463 /* end confdefs.h. */
72464 #include <unistd.h>
72465 int
72466 main ()
72467 {
72468 symlink("", "");
72469 ;
72470 return 0;
72471 }
72472 _ACEOF
72473 if ac_fn_cxx_try_compile "$LINENO"; then :
72474 glibcxx_cv_symlink=yes
72475 else
72476 glibcxx_cv_symlink=no
72477 fi
72478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72479 else
72480 if test x$gcc_no_link = xyes; then
72481 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72482 fi
72483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484 /* end confdefs.h. */
72485 #include <unistd.h>
72486 int
72487 main ()
72488 {
72489 symlink("", "");
72490 ;
72491 return 0;
72492 }
72493 _ACEOF
72494 if ac_fn_cxx_try_link "$LINENO"; then :
72495 glibcxx_cv_symlink=yes
72496 else
72497 glibcxx_cv_symlink=no
72498 fi
72499 rm -f core conftest.err conftest.$ac_objext \
72500 conftest$ac_exeext conftest.$ac_ext
72501 fi
72502
72503 fi
72504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
72505 $as_echo "$glibcxx_cv_symlink" >&6; }
72506 if test $glibcxx_cv_symlink = yes; then
72507
72508 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
72509
72510 fi
72511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
72512 $as_echo_n "checking for truncate... " >&6; }
72513 if ${glibcxx_cv_truncate+:} false; then :
72514 $as_echo_n "(cached) " >&6
72515 else
72516 if test x$gcc_no_link = xyes; then
72517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72518 /* end confdefs.h. */
72519 #include <unistd.h>
72520 int
72521 main ()
72522 {
72523 truncate("", 99);
72524 ;
72525 return 0;
72526 }
72527 _ACEOF
72528 if ac_fn_cxx_try_compile "$LINENO"; then :
72529 glibcxx_cv_truncate=yes
72530 else
72531 glibcxx_cv_truncate=no
72532 fi
72533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72534 else
72535 if test x$gcc_no_link = xyes; then
72536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72537 fi
72538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72539 /* end confdefs.h. */
72540 #include <unistd.h>
72541 int
72542 main ()
72543 {
72544 truncate("", 99);
72545 ;
72546 return 0;
72547 }
72548 _ACEOF
72549 if ac_fn_cxx_try_link "$LINENO"; then :
72550 glibcxx_cv_truncate=yes
72551 else
72552 glibcxx_cv_truncate=no
72553 fi
72554 rm -f core conftest.err conftest.$ac_objext \
72555 conftest$ac_exeext conftest.$ac_ext
72556 fi
72557
72558 fi
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
72560 $as_echo "$glibcxx_cv_truncate" >&6; }
72561 if test $glibcxx_cv_truncate = yes; then
72562
72563 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
72564
72565 fi
72566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5
72567 $as_echo_n "checking for copy_file_range that can copy files... " >&6; }
72568 if ${glibcxx_cv_copy_file_range+:} false; then :
72569 $as_echo_n "(cached) " >&6
72570 else
72571 case "${target_os}" in
72572 linux*)
72573 if test x$gcc_no_link = xyes; then
72574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72575 /* end confdefs.h. */
72576 #include <unistd.h>
72577 int
72578 main ()
72579 {
72580 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72581 ;
72582 return 0;
72583 }
72584 _ACEOF
72585 if ac_fn_cxx_try_compile "$LINENO"; then :
72586 glibcxx_cv_copy_file_range=yes
72587 else
72588 glibcxx_cv_copy_file_range=no
72589 fi
72590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72591 else
72592 if test x$gcc_no_link = xyes; then
72593 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72594 fi
72595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72596 /* end confdefs.h. */
72597 #include <unistd.h>
72598 int
72599 main ()
72600 {
72601 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72602 ;
72603 return 0;
72604 }
72605 _ACEOF
72606 if ac_fn_cxx_try_link "$LINENO"; then :
72607 glibcxx_cv_copy_file_range=yes
72608 else
72609 glibcxx_cv_copy_file_range=no
72610 fi
72611 rm -f core conftest.err conftest.$ac_objext \
72612 conftest$ac_exeext conftest.$ac_ext
72613 fi
72614 ;;
72615 *)
72616 glibcxx_cv_copy_file_range=no
72617 ;;
72618 esac
72619
72620 fi
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5
72622 $as_echo "$glibcxx_cv_copy_file_range" >&6; }
72623 if test $glibcxx_cv_copy_file_range = yes; then
72624
72625 $as_echo "#define _GLIBCXX_USE_COPY_FILE_RANGE 1" >>confdefs.h
72626
72627 fi
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
72629 $as_echo_n "checking for sendfile that can copy files... " >&6; }
72630 if ${glibcxx_cv_sendfile+:} false; then :
72631 $as_echo_n "(cached) " >&6
72632 else
72633 case "${target_os}" in
72634 gnu* | linux* | solaris* | uclinux*)
72635 if test x$gcc_no_link = xyes; then
72636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72637 /* end confdefs.h. */
72638 #include <sys/sendfile.h>
72639 int
72640 main ()
72641 {
72642 sendfile(1, 2, (off_t*)0, sizeof 1);
72643 ;
72644 return 0;
72645 }
72646 _ACEOF
72647 if ac_fn_cxx_try_compile "$LINENO"; then :
72648 glibcxx_cv_sendfile=yes
72649 else
72650 glibcxx_cv_sendfile=no
72651 fi
72652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72653 else
72654 if test x$gcc_no_link = xyes; then
72655 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72656 fi
72657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72658 /* end confdefs.h. */
72659 #include <sys/sendfile.h>
72660 int
72661 main ()
72662 {
72663 sendfile(1, 2, (off_t*)0, sizeof 1);
72664 ;
72665 return 0;
72666 }
72667 _ACEOF
72668 if ac_fn_cxx_try_link "$LINENO"; then :
72669 glibcxx_cv_sendfile=yes
72670 else
72671 glibcxx_cv_sendfile=no
72672 fi
72673 rm -f core conftest.err conftest.$ac_objext \
72674 conftest$ac_exeext conftest.$ac_ext
72675 fi
72676 ;;
72677 *)
72678 glibcxx_cv_sendfile=no
72679 ;;
72680 esac
72681
72682 fi
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
72684 $as_echo "$glibcxx_cv_sendfile" >&6; }
72685 if test $glibcxx_cv_sendfile = yes && test $glibcxx_cv_lseek = yes; then
72686
72687 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
72688
72689 fi
72690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
72691 $as_echo_n "checking for fdopendir... " >&6; }
72692 if ${glibcxx_cv_fdopendir+:} false; then :
72693 $as_echo_n "(cached) " >&6
72694 else
72695 if test x$gcc_no_link = xyes; then
72696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72697 /* end confdefs.h. */
72698 #include <dirent.h>
72699 int
72700 main ()
72701 {
72702 ::DIR* dir = ::fdopendir(1);
72703 ;
72704 return 0;
72705 }
72706 _ACEOF
72707 if ac_fn_cxx_try_compile "$LINENO"; then :
72708 glibcxx_cv_fdopendir=yes
72709 else
72710 glibcxx_cv_fdopendir=no
72711 fi
72712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72713 else
72714 if test x$gcc_no_link = xyes; then
72715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72716 fi
72717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72718 /* end confdefs.h. */
72719 #include <dirent.h>
72720 int
72721 main ()
72722 {
72723 ::DIR* dir = ::fdopendir(1);
72724 ;
72725 return 0;
72726 }
72727 _ACEOF
72728 if ac_fn_cxx_try_link "$LINENO"; then :
72729 glibcxx_cv_fdopendir=yes
72730 else
72731 glibcxx_cv_fdopendir=no
72732 fi
72733 rm -f core conftest.err conftest.$ac_objext \
72734 conftest$ac_exeext conftest.$ac_ext
72735 fi
72736
72737 fi
72738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
72739 $as_echo "$glibcxx_cv_fdopendir" >&6; }
72740 if test $glibcxx_cv_fdopendir = yes; then
72741
72742 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
72743
72744 fi
72745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
72746 $as_echo_n "checking for dirfd... " >&6; }
72747 if ${glibcxx_cv_dirfd+:} false; then :
72748 $as_echo_n "(cached) " >&6
72749 else
72750 if test x$gcc_no_link = xyes; then
72751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72752 /* end confdefs.h. */
72753 #include <dirent.h>
72754 int
72755 main ()
72756 {
72757 int fd = ::dirfd((::DIR*)0);
72758 ;
72759 return 0;
72760 }
72761 _ACEOF
72762 if ac_fn_cxx_try_compile "$LINENO"; then :
72763 glibcxx_cv_dirfd=yes
72764 else
72765 glibcxx_cv_dirfd=no
72766 fi
72767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72768 else
72769 if test x$gcc_no_link = xyes; then
72770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72771 fi
72772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72773 /* end confdefs.h. */
72774 #include <dirent.h>
72775 int
72776 main ()
72777 {
72778 int fd = ::dirfd((::DIR*)0);
72779 ;
72780 return 0;
72781 }
72782 _ACEOF
72783 if ac_fn_cxx_try_link "$LINENO"; then :
72784 glibcxx_cv_dirfd=yes
72785 else
72786 glibcxx_cv_dirfd=no
72787 fi
72788 rm -f core conftest.err conftest.$ac_objext \
72789 conftest$ac_exeext conftest.$ac_ext
72790 fi
72791
72792 fi
72793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
72794 $as_echo "$glibcxx_cv_dirfd" >&6; }
72795 if test $glibcxx_cv_dirfd = yes; then
72796
72797 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
72798
72799 fi
72800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
72801 $as_echo_n "checking for openat... " >&6; }
72802 if ${glibcxx_cv_openat+:} false; then :
72803 $as_echo_n "(cached) " >&6
72804 else
72805 if test x$gcc_no_link = xyes; then
72806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72807 /* end confdefs.h. */
72808 #include <fcntl.h>
72809 int
72810 main ()
72811 {
72812 int fd = ::openat(AT_FDCWD, "", 0);
72813 ;
72814 return 0;
72815 }
72816 _ACEOF
72817 if ac_fn_cxx_try_compile "$LINENO"; then :
72818 glibcxx_cv_openat=yes
72819 else
72820 glibcxx_cv_openat=no
72821 fi
72822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72823 else
72824 if test x$gcc_no_link = xyes; then
72825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72826 fi
72827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72828 /* end confdefs.h. */
72829 #include <fcntl.h>
72830 int
72831 main ()
72832 {
72833 int fd = ::openat(AT_FDCWD, "", 0);
72834 ;
72835 return 0;
72836 }
72837 _ACEOF
72838 if ac_fn_cxx_try_link "$LINENO"; then :
72839 glibcxx_cv_openat=yes
72840 else
72841 glibcxx_cv_openat=no
72842 fi
72843 rm -f core conftest.err conftest.$ac_objext \
72844 conftest$ac_exeext conftest.$ac_ext
72845 fi
72846
72847 fi
72848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
72849 $as_echo "$glibcxx_cv_openat" >&6; }
72850 if test $glibcxx_cv_openat = yes; then
72851
72852 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
72853
72854 fi
72855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
72856 $as_echo_n "checking for unlinkat... " >&6; }
72857 if ${glibcxx_cv_unlinkat+:} false; then :
72858 $as_echo_n "(cached) " >&6
72859 else
72860 if test x$gcc_no_link = xyes; then
72861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72862 /* end confdefs.h. */
72863 #include <fcntl.h>
72864 #include <unistd.h>
72865 int
72866 main ()
72867 {
72868 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
72869 ;
72870 return 0;
72871 }
72872 _ACEOF
72873 if ac_fn_cxx_try_compile "$LINENO"; then :
72874 glibcxx_cv_unlinkat=yes
72875 else
72876 glibcxx_cv_unlinkat=no
72877 fi
72878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72879 else
72880 if test x$gcc_no_link = xyes; then
72881 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72882 fi
72883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72884 /* end confdefs.h. */
72885 #include <fcntl.h>
72886 #include <unistd.h>
72887 int
72888 main ()
72889 {
72890 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
72891 ;
72892 return 0;
72893 }
72894 _ACEOF
72895 if ac_fn_cxx_try_link "$LINENO"; then :
72896 glibcxx_cv_unlinkat=yes
72897 else
72898 glibcxx_cv_unlinkat=no
72899 fi
72900 rm -f core conftest.err conftest.$ac_objext \
72901 conftest$ac_exeext conftest.$ac_ext
72902 fi
72903
72904 fi
72905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
72906 $as_echo "$glibcxx_cv_unlinkat" >&6; }
72907 if test $glibcxx_cv_unlinkat = yes; then
72908
72909 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
72910
72911 fi
72912 CXXFLAGS="$ac_save_CXXFLAGS"
72913 ac_ext=c
72914 ac_cpp='$CPP $CPPFLAGS'
72915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72918
72919
72920
72921
72922 # Check whether --enable-libstdcxx-backtrace was given.
72923 if test "${enable_libstdcxx_backtrace+set}" = set; then :
72924 enableval=$enable_libstdcxx_backtrace;
72925 case "$enableval" in
72926 yes|no|auto) ;;
72927 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
72928 esac
72929
72930 else
72931 enable_libstdcxx_backtrace=auto
72932 fi
72933
72934
72935
72936 # Most of this is adapted from libsanitizer/configure.ac
72937
72938 BACKTRACE_CPPFLAGS=
72939
72940 # libbacktrace only needs atomics for int, which we've already tested
72941 if test "$glibcxx_cv_atomic_int" = "yes"; then
72942 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
72943 fi
72944
72945 # Test for __sync support.
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
72947 $as_echo_n "checking __sync extensions... " >&6; }
72948 if ${glibcxx_cv_sys_sync+:} false; then :
72949 $as_echo_n "(cached) " >&6
72950 else
72951 if test x$gcc_no_link = xyes; then
72952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72953 /* end confdefs.h. */
72954 int i;
72955 int
72956 main ()
72957 {
72958 __sync_bool_compare_and_swap (&i, i, i);
72959 __sync_lock_test_and_set (&i, 1);
72960 __sync_lock_release (&i);
72961 ;
72962 return 0;
72963 }
72964 _ACEOF
72965 if ac_fn_c_try_compile "$LINENO"; then :
72966 glibcxx_cv_sys_sync=yes
72967 else
72968 glibcxx_cv_sys_sync=no
72969 fi
72970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72971 else
72972 if test x$gcc_no_link = xyes; then
72973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72974 fi
72975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72976 /* end confdefs.h. */
72977 int i;
72978 int
72979 main ()
72980 {
72981 __sync_bool_compare_and_swap (&i, i, i);
72982 __sync_lock_test_and_set (&i, 1);
72983 __sync_lock_release (&i);
72984 ;
72985 return 0;
72986 }
72987 _ACEOF
72988 if ac_fn_c_try_link "$LINENO"; then :
72989 glibcxx_cv_sys_sync=yes
72990 else
72991 glibcxx_cv_sys_sync=no
72992 fi
72993 rm -f core conftest.err conftest.$ac_objext \
72994 conftest$ac_exeext conftest.$ac_ext
72995 fi
72996
72997 fi
72998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
72999 $as_echo "$glibcxx_cv_sys_sync" >&6; }
73000 if test "$glibcxx_cv_sys_sync" = "yes"; then
73001 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
73002 fi
73003
73004 # Check for dl_iterate_phdr.
73005 for ac_header in link.h
73006 do :
73007 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
73008 if test "x$ac_cv_header_link_h" = xyes; then :
73009 cat >>confdefs.h <<_ACEOF
73010 #define HAVE_LINK_H 1
73011 _ACEOF
73012
73013 fi
73014
73015 done
73016
73017 if test "$ac_cv_header_link_h" = "no"; then
73018 have_dl_iterate_phdr=no
73019 else
73020 # When built as a GCC target library, we can't do a link test.
73021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73022 /* end confdefs.h. */
73023 #include <link.h>
73024
73025 _ACEOF
73026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
73027 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
73028 have_dl_iterate_phdr=yes
73029 else
73030 have_dl_iterate_phdr=no
73031 fi
73032 rm -f conftest*
73033
73034 fi
73035 if test "$have_dl_iterate_phdr" = "yes"; then
73036 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
73037 fi
73038 for ac_header in windows.h
73039 do :
73040 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
73041 if test "x$ac_cv_header_windows_h" = xyes; then :
73042 cat >>confdefs.h <<_ACEOF
73043 #define HAVE_WINDOWS_H 1
73044 _ACEOF
73045
73046 fi
73047
73048 done
73049
73050
73051 # Check for the fcntl function.
73052 if test -n "${with_target_subdir}"; then
73053 case "${host}" in
73054 *-*-mingw*) have_fcntl=no ;;
73055 *) have_fcntl=yes ;;
73056 esac
73057 else
73058 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
73059 if test "x$ac_cv_func_fcntl" = xyes; then :
73060 have_fcntl=yes
73061 else
73062 have_fcntl=no
73063 fi
73064
73065 fi
73066 if test "$have_fcntl" = "yes"; then
73067 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
73068 fi
73069
73070 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
73071 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
73072 ac_have_decl=1
73073 else
73074 ac_have_decl=0
73075 fi
73076
73077 cat >>confdefs.h <<_ACEOF
73078 #define HAVE_DECL_STRNLEN $ac_have_decl
73079 _ACEOF
73080
73081
73082 # Check for getexecname function.
73083 if test -n "${with_target_subdir}"; then
73084 case "${host}" in
73085 *-*-solaris2*) have_getexecname=yes ;;
73086 *) have_getexecname=no ;;
73087 esac
73088 else
73089 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
73090 if test "x$ac_cv_func_getexecname" = xyes; then :
73091 have_getexecname=yes
73092 else
73093 have_getexecname=no
73094 fi
73095
73096 fi
73097 if test "$have_getexecname" = "yes"; then
73098 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
73099 fi
73100
73101 # The library needs to be able to read the executable itself. Compile
73102 # a file to determine the executable format. The awk script
73103 # filetype.awk prints out the file type.
73104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
73105 $as_echo_n "checking output filetype... " >&6; }
73106 if ${glibcxx_cv_sys_filetype+:} false; then :
73107 $as_echo_n "(cached) " >&6
73108 else
73109 filetype=
73110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73111 /* end confdefs.h. */
73112 int i;
73113 int
73114 main ()
73115 {
73116 int j;
73117 ;
73118 return 0;
73119 }
73120 _ACEOF
73121 if ac_fn_c_try_compile "$LINENO"; then :
73122 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
73123 else
73124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73126 as_fn_error $? "compiler failed
73127 See \`config.log' for more details" "$LINENO" 5; }
73128 fi
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 glibcxx_cv_sys_filetype=$filetype
73131 fi
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
73133 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
73134
73135 # Match the file type to decide what files to compile.
73136 FORMAT_FILE=
73137 case "$glibcxx_cv_sys_filetype" in
73138 elf*) FORMAT_FILE="elf.lo" ;;
73139 pecoff*) FORMAT_FILE="pecoff.lo" ;;
73140 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
73141 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
73142 FORMAT_FILE="unknown.lo"
73143 enable_libstdcxx_backtrace=no
73144 ;;
73145 esac
73146
73147
73148 # ELF defines.
73149 elfsize=
73150 case "$glibcxx_cv_sys_filetype" in
73151 elf32) elfsize=32 ;;
73152 elf64) elfsize=64 ;;
73153 esac
73154 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
73155
73156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
73157 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
73158 if test "$enable_libstdcxx_backtrace" = "auto"; then
73159 case "$host" in
73160 avr-*-*) enable_libstdcxx_backtrace=no ;;
73161 *) enable_libstdcxx_backtrace="$is_hosted" ;;
73162 esac
73163 fi
73164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
73165 $as_echo "$enable_libstdcxx_backtrace" >&6; }
73166 if test "$enable_libstdcxx_backtrace" = "yes"; then
73167 BACKTRACE_SUPPORTED=1
73168
73169 for ac_header in sys/mman.h
73170 do :
73171 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
73172 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
73173 cat >>confdefs.h <<_ACEOF
73174 #define HAVE_SYS_MMAN_H 1
73175 _ACEOF
73176
73177 fi
73178
73179 done
73180
73181 case "${host}" in
73182 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
73183 have_mmap=no ;;
73184 *-*-*)
73185 have_mmap="$ac_cv_header_sys_mman_h" ;;
73186 esac
73187
73188 if test "$have_mmap" = "no"; then
73189 VIEW_FILE=read.lo
73190 ALLOC_FILE=alloc.lo
73191 else
73192 VIEW_FILE=mmapio.lo
73193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73194 /* end confdefs.h. */
73195
73196 #include <sys/mman.h>
73197 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
73198 #error no MAP_ANONYMOUS
73199 #endif
73200
73201 _ACEOF
73202 if ac_fn_c_try_cpp "$LINENO"; then :
73203 ALLOC_FILE=mmap.lo
73204 else
73205 ALLOC_FILE=alloc.lo
73206 fi
73207 rm -f conftest.err conftest.i conftest.$ac_ext
73208 fi
73209
73210
73211
73212 BACKTRACE_USES_MALLOC=0
73213 if test "$ALLOC_FILE" = "alloc.lo"; then
73214 BACKTRACE_USES_MALLOC=1
73215 fi
73216
73217 if test "$ac_has_gthreads" = "yes"; then
73218 BACKTRACE_SUPPORTS_THREADS=1
73219 else
73220 BACKTRACE_SUPPORTS_THREADS=0
73221 fi
73222
73223
73224
73225
73226
73227 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
73228
73229 else
73230 BACKTRACE_SUPPORTED=0
73231 BACKTRACE_USES_MALLOC=0
73232 BACKTRACE_SUPPORTS_THREADS=0
73233 fi
73234
73235
73236
73237 # For Networking TS.
73238 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
73239 do :
73240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
73241 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
73242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73243 cat >>confdefs.h <<_ACEOF
73244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73245 _ACEOF
73246
73247 fi
73248
73249 done
73250
73251 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
73252 "
73253 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
73254
73255 fi
73256
73257 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
73258 "
73259 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
73260
73261 fi
73262
73263 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
73264 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
73265 "
73266 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
73267
73268 fi
73269
73270 fi
73271
73272 # For Transactional Memory TS
73273
73274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
73275 $as_echo_n "checking how size_t is mangled... " >&6; }
73276 if ${glibcxx_cv_size_t_mangling+:} false; then :
73277 $as_echo_n "(cached) " >&6
73278 else
73279
73280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73281 /* end confdefs.h. */
73282
73283 int
73284 main ()
73285 {
73286 extern __SIZE_TYPE__ x; extern unsigned long x;
73287 ;
73288 return 0;
73289 }
73290 _ACEOF
73291 if ac_fn_c_try_compile "$LINENO"; then :
73292 glibcxx_cv_size_t_mangling=m
73293 else
73294
73295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73296 /* end confdefs.h. */
73297
73298 int
73299 main ()
73300 {
73301 extern __SIZE_TYPE__ x; extern unsigned int x;
73302 ;
73303 return 0;
73304 }
73305 _ACEOF
73306 if ac_fn_c_try_compile "$LINENO"; then :
73307 glibcxx_cv_size_t_mangling=j
73308 else
73309
73310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73311 /* end confdefs.h. */
73312
73313 int
73314 main ()
73315 {
73316 extern __SIZE_TYPE__ x; extern unsigned long long x;
73317 ;
73318 return 0;
73319 }
73320 _ACEOF
73321 if ac_fn_c_try_compile "$LINENO"; then :
73322 glibcxx_cv_size_t_mangling=y
73323 else
73324
73325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73326 /* end confdefs.h. */
73327
73328 int
73329 main ()
73330 {
73331 extern __SIZE_TYPE__ x; extern unsigned short x;
73332 ;
73333 return 0;
73334 }
73335 _ACEOF
73336 if ac_fn_c_try_compile "$LINENO"; then :
73337 glibcxx_cv_size_t_mangling=t
73338 else
73339
73340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73341 /* end confdefs.h. */
73342
73343 int
73344 main ()
73345 {
73346 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
73347 ;
73348 return 0;
73349 }
73350 _ACEOF
73351 if ac_fn_c_try_compile "$LINENO"; then :
73352 glibcxx_cv_size_t_mangling=u6uint20
73353 else
73354 glibcxx_cv_size_t_mangling=x
73355 fi
73356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73357
73358 fi
73359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73360
73361 fi
73362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73363
73364 fi
73365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73366
73367 fi
73368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73369
73370 fi
73371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
73372 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
73373 if test $glibcxx_cv_size_t_mangling = x; then
73374 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
73375 fi
73376
73377 cat >>confdefs.h <<_ACEOF
73378 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
73379 _ACEOF
73380
73381
73382
73383 # Check which release added std::exception_ptr for the target
73384
73385 if test $enable_symvers != no; then
73386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
73387 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
73388 case ${target} in
73389 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
73390 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
73391 ac_exception_ptr_since_gcc46=yes
73392 ;;
73393 *)
73394 # If the value of this macro changes then we will need to hardcode
73395 # yes/no here for additional targets based on the original value.
73396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73397 /* end confdefs.h. */
73398
73399 int
73400 main ()
73401 {
73402
73403 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
73404 # error atomic int not always lock free
73405 #endif
73406
73407 ;
73408 return 0;
73409 }
73410 _ACEOF
73411 if ac_fn_c_try_compile "$LINENO"; then :
73412 ac_exception_ptr_since_gcc46=yes
73413 else
73414 ac_exception_ptr_since_gcc46=no
73415 fi
73416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73417 ;;
73418 esac
73419 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
73420
73421 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
73422
73423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
73424 $as_echo "4.6.0" >&6; }
73425 else
73426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
73427 $as_echo "7.1.0" >&6; }
73428 fi
73429 fi
73430
73431
73432 # For libsupc++/eh_alloc.cc defaults.
73433
73434 eh_pool_static=
73435 eh_pool_nobjs=
73436 # Check whether --enable-libstdcxx-static-eh-pool was given.
73437 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
73438 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
73439 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
73440 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
73441 $as_echo "$as_me: EH pool using static buffer" >&6;}
73442 fi
73443 fi
73444
73445
73446
73447 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
73448 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
73449 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
73450 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
73451 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
73452 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
73453 else
73454 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
73455 fi
73456 fi
73457
73458
73459 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
73460
73461
73462
73463 # For src/c++20/tzdb.cc defaults.
73464
73465
73466 # Check whether --with-libstdcxx-zoneinfo was given.
73467 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
73468 withval=$with_libstdcxx_zoneinfo;
73469 else
73470 with_libstdcxx_zoneinfo=yes
73471 fi
73472
73473
73474 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
73475 # Pick a default when no specific path is set.
73476 case "$target_os" in
73477 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
73478 # Not all distros ship tzdata.zi in this dir.
73479 zoneinfo_dir="/usr/share/zoneinfo"
73480 ;;
73481 aix*)
73482 # Binary tzfile files are in /usr/share/lib/zoneinfo
73483 # but tzdata.zi is not present there.
73484 zoneinfo_dir=none
73485 ;;
73486 darwin2*)
73487 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
73488 # but tzdata.zi is not present there.
73489 zoneinfo_dir=none
73490 ;;
73491 *)
73492 # Binary tzfile files are commonly found in /usr/share/zoneinfo
73493 # but tzdata.zi is not present there.
73494 zoneinfo_dir=none
73495 ;;
73496 esac
73497
73498 if ac_fn_c_compute_int "$LINENO" "__INTPTR_WIDTH__ >= 32" "glibcxx_cv_at_least_32bit" ""; then :
73499
73500 fi
73501
73502 if test "$glibcxx_cv_at_least_32bit" -ne 0; then
73503 # Also embed a copy of the tzdata.zi file as a static string.
73504 embed_zoneinfo=yes
73505 else
73506 # The embedded data is too large for 16-bit targets.
73507 embed_zoneinfo=no
73508 fi
73509 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
73510 # Disable tzdb support completely.
73511 zoneinfo_dir=none
73512 embed_zoneinfo=no
73513 else
73514 case "${with_libstdcxx_zoneinfo}" in
73515 static)
73516 # Do not attempt to read from disk, always use embedded data.
73517 zoneinfo_dir=none
73518 embed_zoneinfo=yes
73519 ;;
73520 static,* | *,static)
73521 # Try to read from disk, use embedded data as fallback.
73522 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
73523 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
73524 embed_zoneinfo=yes
73525 ;;
73526 *)
73527 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
73528 embed_zoneinfo=no
73529 ;;
73530 esac
73531 fi
73532 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
73533 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
73534 if test "x${zoneinfo_dir}" != xnone; then
73535
73536 cat >>confdefs.h <<_ACEOF
73537 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
73538 _ACEOF
73539
73540 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
73541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
73542 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
73543 fi
73544 fi
73545
73546 if test "x${embed_zoneinfo}" = xyes; then
73547 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
73548 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
73549
73550 cat >>confdefs.h <<_ACEOF
73551 #define _GLIBCXX_STATIC_TZDATA 1
73552 _ACEOF
73553
73554 fi
73555
73556
73557 # For src/c++11/shared_ptr.cc alignment.
73558
73559
73560 ac_ext=cpp
73561 ac_cpp='$CXXCPP $CPPFLAGS'
73562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73565
73566
73567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
73568 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
73569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73570 /* end confdefs.h. */
73571
73572 int
73573 main ()
73574 {
73575 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
73576 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
73577
73578 ;
73579 return 0;
73580 }
73581 _ACEOF
73582 if ac_fn_cxx_try_compile "$LINENO"; then :
73583 ac_alignas_cacheline=yes
73584 else
73585 ac_alignas_cacheline=no
73586 fi
73587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73588 if test "$ac_alignas_cacheline" = yes; then
73589
73590 cat >>confdefs.h <<_ACEOF
73591 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
73592 _ACEOF
73593
73594 fi
73595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
73596 $as_echo "$ac_alignas_cacheline" >&6; }
73597
73598 ac_ext=c
73599 ac_cpp='$CPP $CPPFLAGS'
73600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73603
73604
73605
73606 # For using init_priority in ios_init.cc
73607
73608
73609 ac_ext=cpp
73610 ac_cpp='$CXXCPP $CPPFLAGS'
73611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73614
73615
73616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_priority attribute is supported" >&5
73617 $as_echo_n "checking whether init_priority attribute is supported... " >&6; }
73618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73619 /* end confdefs.h. */
73620
73621 int
73622 main ()
73623 {
73624
73625 #if ! __has_attribute(init_priority)
73626 #error init_priority not supported
73627 #endif
73628
73629 ;
73630 return 0;
73631 }
73632 _ACEOF
73633 if ac_fn_cxx_try_compile "$LINENO"; then :
73634 ac_init_priority=yes
73635 else
73636 ac_init_priority=no
73637 fi
73638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73639 if test "$ac_init_priority" = yes; then
73640
73641 cat >>confdefs.h <<_ACEOF
73642 #define _GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE 1
73643 _ACEOF
73644
73645 fi
73646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_init_priority" >&5
73647 $as_echo "$ac_init_priority" >&6; }
73648
73649 ac_ext=c
73650 ac_cpp='$CPP $CPPFLAGS'
73651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73654
73655
73656
73657 # Define documentation rules conditionally.
73658
73659 # See if makeinfo has been installed and is modern enough
73660 # that we can use it.
73661
73662 # Extract the first word of "makeinfo", so it can be a program name with args.
73663 set dummy makeinfo; ac_word=$2
73664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73665 $as_echo_n "checking for $ac_word... " >&6; }
73666 if ${ac_cv_prog_MAKEINFO+:} false; then :
73667 $as_echo_n "(cached) " >&6
73668 else
73669 if test -n "$MAKEINFO"; then
73670 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
73671 else
73672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73673 for as_dir in $PATH
73674 do
73675 IFS=$as_save_IFS
73676 test -z "$as_dir" && as_dir=.
73677 for ac_exec_ext in '' $ac_executable_extensions; do
73678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73679 ac_cv_prog_MAKEINFO="makeinfo"
73680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73681 break 2
73682 fi
73683 done
73684 done
73685 IFS=$as_save_IFS
73686
73687 fi
73688 fi
73689 MAKEINFO=$ac_cv_prog_MAKEINFO
73690 if test -n "$MAKEINFO"; then
73691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
73692 $as_echo "$MAKEINFO" >&6; }
73693 else
73694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73695 $as_echo "no" >&6; }
73696 fi
73697
73698
73699 if test -n "$MAKEINFO"; then
73700 # Found it, now check the version.
73701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
73702 $as_echo_n "checking for modern makeinfo... " >&6; }
73703 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
73704 $as_echo_n "(cached) " >&6
73705 else
73706 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
73707 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
73708
73709 case $ac_prog_version in
73710 '') gcc_cv_prog_makeinfo_modern=no;;
73711 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
73712 *) gcc_cv_prog_makeinfo_modern=no;;
73713 esac
73714
73715 fi
73716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
73717 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
73718 else
73719 gcc_cv_prog_makeinfo_modern=no
73720 fi
73721 if test $gcc_cv_prog_makeinfo_modern = no; then
73722 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
73723 fi
73724
73725 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
73726 BUILD_INFO_TRUE=
73727 BUILD_INFO_FALSE='#'
73728 else
73729 BUILD_INFO_TRUE='#'
73730 BUILD_INFO_FALSE=
73731 fi
73732
73733
73734 # Check for doxygen
73735 # Extract the first word of "doxygen", so it can be a program name with args.
73736 set dummy doxygen; ac_word=$2
73737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73738 $as_echo_n "checking for $ac_word... " >&6; }
73739 if ${ac_cv_prog_DOXYGEN+:} false; then :
73740 $as_echo_n "(cached) " >&6
73741 else
73742 if test -n "$DOXYGEN"; then
73743 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
73744 else
73745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73746 for as_dir in $PATH
73747 do
73748 IFS=$as_save_IFS
73749 test -z "$as_dir" && as_dir=.
73750 for ac_exec_ext in '' $ac_executable_extensions; do
73751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73752 ac_cv_prog_DOXYGEN="yes"
73753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73754 break 2
73755 fi
73756 done
73757 done
73758 IFS=$as_save_IFS
73759
73760 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
73761 fi
73762 fi
73763 DOXYGEN=$ac_cv_prog_DOXYGEN
73764 if test -n "$DOXYGEN"; then
73765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
73766 $as_echo "$DOXYGEN" >&6; }
73767 else
73768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73769 $as_echo "no" >&6; }
73770 fi
73771
73772
73773 # Extract the first word of "dot", so it can be a program name with args.
73774 set dummy dot; ac_word=$2
73775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73776 $as_echo_n "checking for $ac_word... " >&6; }
73777 if ${ac_cv_prog_DOT+:} false; then :
73778 $as_echo_n "(cached) " >&6
73779 else
73780 if test -n "$DOT"; then
73781 ac_cv_prog_DOT="$DOT" # Let the user override the test.
73782 else
73783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73784 for as_dir in $PATH
73785 do
73786 IFS=$as_save_IFS
73787 test -z "$as_dir" && as_dir=.
73788 for ac_exec_ext in '' $ac_executable_extensions; do
73789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73790 ac_cv_prog_DOT="yes"
73791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73792 break 2
73793 fi
73794 done
73795 done
73796 IFS=$as_save_IFS
73797
73798 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
73799 fi
73800 fi
73801 DOT=$ac_cv_prog_DOT
73802 if test -n "$DOT"; then
73803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
73804 $as_echo "$DOT" >&6; }
73805 else
73806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73807 $as_echo "no" >&6; }
73808 fi
73809
73810
73811
73812 # Check for docbook
73813 # Extract the first word of "xmlcatalog", so it can be a program name with args.
73814 set dummy xmlcatalog; ac_word=$2
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73816 $as_echo_n "checking for $ac_word... " >&6; }
73817 if ${ac_cv_prog_XMLCATALOG+:} false; then :
73818 $as_echo_n "(cached) " >&6
73819 else
73820 if test -n "$XMLCATALOG"; then
73821 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
73822 else
73823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73824 for as_dir in $PATH
73825 do
73826 IFS=$as_save_IFS
73827 test -z "$as_dir" && as_dir=.
73828 for ac_exec_ext in '' $ac_executable_extensions; do
73829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73830 ac_cv_prog_XMLCATALOG="yes"
73831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73832 break 2
73833 fi
73834 done
73835 done
73836 IFS=$as_save_IFS
73837
73838 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
73839 fi
73840 fi
73841 XMLCATALOG=$ac_cv_prog_XMLCATALOG
73842 if test -n "$XMLCATALOG"; then
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
73844 $as_echo "$XMLCATALOG" >&6; }
73845 else
73846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73847 $as_echo "no" >&6; }
73848 fi
73849
73850
73851 # Extract the first word of "xsltproc", so it can be a program name with args.
73852 set dummy xsltproc; ac_word=$2
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73854 $as_echo_n "checking for $ac_word... " >&6; }
73855 if ${ac_cv_prog_XSLTPROC+:} false; then :
73856 $as_echo_n "(cached) " >&6
73857 else
73858 if test -n "$XSLTPROC"; then
73859 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
73860 else
73861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73862 for as_dir in $PATH
73863 do
73864 IFS=$as_save_IFS
73865 test -z "$as_dir" && as_dir=.
73866 for ac_exec_ext in '' $ac_executable_extensions; do
73867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73868 ac_cv_prog_XSLTPROC="yes"
73869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73870 break 2
73871 fi
73872 done
73873 done
73874 IFS=$as_save_IFS
73875
73876 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
73877 fi
73878 fi
73879 XSLTPROC=$ac_cv_prog_XSLTPROC
73880 if test -n "$XSLTPROC"; then
73881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
73882 $as_echo "$XSLTPROC" >&6; }
73883 else
73884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73885 $as_echo "no" >&6; }
73886 fi
73887
73888
73889 # Extract the first word of "xmllint", so it can be a program name with args.
73890 set dummy xmllint; ac_word=$2
73891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73892 $as_echo_n "checking for $ac_word... " >&6; }
73893 if ${ac_cv_prog_XMLLINT+:} false; then :
73894 $as_echo_n "(cached) " >&6
73895 else
73896 if test -n "$XMLLINT"; then
73897 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
73898 else
73899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73900 for as_dir in $PATH
73901 do
73902 IFS=$as_save_IFS
73903 test -z "$as_dir" && as_dir=.
73904 for ac_exec_ext in '' $ac_executable_extensions; do
73905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73906 ac_cv_prog_XMLLINT="yes"
73907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73908 break 2
73909 fi
73910 done
73911 done
73912 IFS=$as_save_IFS
73913
73914 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
73915 fi
73916 fi
73917 XMLLINT=$ac_cv_prog_XMLLINT
73918 if test -n "$XMLLINT"; then
73919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
73920 $as_echo "$XMLLINT" >&6; }
73921 else
73922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73923 $as_echo "no" >&6; }
73924 fi
73925
73926
73927
73928
73929 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
73930
73931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
73932 $as_echo_n "checking for local stylesheet directory... " >&6; }
73933 glibcxx_local_stylesheets=no
73934 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
73935 then
73936 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
73937 glibcxx_local_stylesheets=yes
73938 else
73939 for dir in \
73940 /usr/share/sgml/docbook/xsl-ns-stylesheets \
73941 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
73942 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
73943 /usr/share/xml/docbook/stylesheet/nwalsh/current
73944 do
73945 if test -d $dir; then
73946 glibcxx_local_stylesheets=yes
73947 XSL_STYLE_DIR=$dir
73948 break
73949 fi
73950 done
73951 fi
73952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
73953 $as_echo "$glibcxx_local_stylesheets" >&6; }
73954
73955 if test x"$glibcxx_local_stylesheets" = x"yes"; then
73956
73957 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
73958 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
73959
73960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
73961 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
73962 glibcxx_stylesheets=no
73963 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
73964 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
73965 glibcxx_stylesheets=yes
73966 fi
73967 fi
73968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
73969 $as_echo "$glibcxx_stylesheets" >&6; }
73970
73971 else
73972 glibcxx_stylesheets=no
73973 fi
73974
73975 # Check for epub3 dependencies.
73976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
73977 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
73978 glibcxx_epub_stylesheets=no
73979 if test x"$glibcxx_local_stylesheets" = x"yes"; then
73980 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
73981 glibcxx_epub_stylesheets=yes
73982 fi
73983 fi
73984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
73985 $as_echo "$glibcxx_epub_stylesheets" >&6; }
73986 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
73987 BUILD_EPUB_TRUE=
73988 BUILD_EPUB_FALSE='#'
73989 else
73990 BUILD_EPUB_TRUE='#'
73991 BUILD_EPUB_FALSE=
73992 fi
73993
73994
73995
73996
73997 # Check for xml/html dependencies.
73998 if test $ac_cv_prog_DOXYGEN = "yes" &&
73999 test $ac_cv_prog_DOT = "yes" &&
74000 test $ac_cv_prog_XSLTPROC = "yes" &&
74001 test $ac_cv_prog_XMLLINT = "yes" &&
74002 test $glibcxx_stylesheets = "yes"; then
74003 BUILD_XML_TRUE=
74004 BUILD_XML_FALSE='#'
74005 else
74006 BUILD_XML_TRUE='#'
74007 BUILD_XML_FALSE=
74008 fi
74009
74010
74011 if test $ac_cv_prog_DOXYGEN = "yes" &&
74012 test $ac_cv_prog_DOT = "yes" &&
74013 test $ac_cv_prog_XSLTPROC = "yes" &&
74014 test $ac_cv_prog_XMLLINT = "yes" &&
74015 test $glibcxx_stylesheets = "yes"; then
74016 BUILD_HTML_TRUE=
74017 BUILD_HTML_FALSE='#'
74018 else
74019 BUILD_HTML_TRUE='#'
74020 BUILD_HTML_FALSE=
74021 fi
74022
74023
74024 # Check for man dependencies.
74025 if test $ac_cv_prog_DOXYGEN = "yes" &&
74026 test $ac_cv_prog_DOT = "yes"; then
74027 BUILD_MAN_TRUE=
74028 BUILD_MAN_FALSE='#'
74029 else
74030 BUILD_MAN_TRUE='#'
74031 BUILD_MAN_FALSE=
74032 fi
74033
74034
74035 # Check for pdf dependencies.
74036 # Extract the first word of "dblatex", so it can be a program name with args.
74037 set dummy dblatex; ac_word=$2
74038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74039 $as_echo_n "checking for $ac_word... " >&6; }
74040 if ${ac_cv_prog_DBLATEX+:} false; then :
74041 $as_echo_n "(cached) " >&6
74042 else
74043 if test -n "$DBLATEX"; then
74044 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
74045 else
74046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74047 for as_dir in $PATH
74048 do
74049 IFS=$as_save_IFS
74050 test -z "$as_dir" && as_dir=.
74051 for ac_exec_ext in '' $ac_executable_extensions; do
74052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74053 ac_cv_prog_DBLATEX="yes"
74054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74055 break 2
74056 fi
74057 done
74058 done
74059 IFS=$as_save_IFS
74060
74061 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
74062 fi
74063 fi
74064 DBLATEX=$ac_cv_prog_DBLATEX
74065 if test -n "$DBLATEX"; then
74066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
74067 $as_echo "$DBLATEX" >&6; }
74068 else
74069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74070 $as_echo "no" >&6; }
74071 fi
74072
74073
74074 # Extract the first word of "pdflatex", so it can be a program name with args.
74075 set dummy pdflatex; ac_word=$2
74076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74077 $as_echo_n "checking for $ac_word... " >&6; }
74078 if ${ac_cv_prog_PDFLATEX+:} false; then :
74079 $as_echo_n "(cached) " >&6
74080 else
74081 if test -n "$PDFLATEX"; then
74082 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
74083 else
74084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74085 for as_dir in $PATH
74086 do
74087 IFS=$as_save_IFS
74088 test -z "$as_dir" && as_dir=.
74089 for ac_exec_ext in '' $ac_executable_extensions; do
74090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74091 ac_cv_prog_PDFLATEX="yes"
74092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74093 break 2
74094 fi
74095 done
74096 done
74097 IFS=$as_save_IFS
74098
74099 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
74100 fi
74101 fi
74102 PDFLATEX=$ac_cv_prog_PDFLATEX
74103 if test -n "$PDFLATEX"; then
74104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
74105 $as_echo "$PDFLATEX" >&6; }
74106 else
74107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74108 $as_echo "no" >&6; }
74109 fi
74110
74111
74112 if test $ac_cv_prog_DOXYGEN = "yes" &&
74113 test $ac_cv_prog_DOT = "yes" &&
74114 test $ac_cv_prog_XSLTPROC = "yes" &&
74115 test $ac_cv_prog_XMLLINT = "yes" &&
74116 test $ac_cv_prog_DBLATEX = "yes" &&
74117 test $ac_cv_prog_PDFLATEX = "yes"; then
74118 BUILD_PDF_TRUE=
74119 BUILD_PDF_FALSE='#'
74120 else
74121 BUILD_PDF_TRUE='#'
74122 BUILD_PDF_FALSE=
74123 fi
74124
74125
74126 case "$build" in
74127 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
74128 * ) glibcxx_include_dir_notparallel=no ;;
74129 esac
74130 if test $glibcxx_include_dir_notparallel = "yes"; then
74131 INCLUDE_DIR_NOTPARALLEL_TRUE=
74132 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
74133 else
74134 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
74135 INCLUDE_DIR_NOTPARALLEL_FALSE=
74136 fi
74137
74138
74139 # Propagate the target-specific source directories through the build chain.
74140 ATOMICITY_SRCDIR=config/${atomicity_dir}
74141 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
74142 ATOMIC_FLAGS=${atomic_flags}
74143 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
74144 OS_INC_SRCDIR=config/${os_include_dir}
74145 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
74146 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
74147 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
74148 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
74149
74150
74151
74152
74153
74154
74155
74156
74157
74158
74159 # Conditionalize the makefile for this target machine.
74160 tmake_file_=
74161 for f in ${tmake_file}
74162 do
74163 if test -f ${srcdir}/config/$f
74164 then
74165 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
74166 fi
74167 done
74168 tmake_file="${tmake_file_}"
74169
74170
74171 # Add CET specific flags if Intel CET is enabled.
74172 # Check whether --enable-cet was given.
74173 if test "${enable_cet+set}" = set; then :
74174 enableval=$enable_cet;
74175 case "$enableval" in
74176 yes|no|auto) ;;
74177 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
74178 esac
74179
74180 else
74181 enable_cet=auto
74182 fi
74183
74184
74185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
74186 $as_echo_n "checking for CET support... " >&6; }
74187
74188 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
74189 case "$host" in
74190 i[34567]86-*-linux* | x86_64-*-linux*)
74191 case "$enable_cet" in
74192 auto)
74193 # Check if target supports multi-byte NOPs
74194 # and if compiler and assembler support CET insn.
74195 cet_save_CFLAGS="$CFLAGS"
74196 CFLAGS="$CFLAGS -fcf-protection"
74197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74198 /* end confdefs.h. */
74199
74200 int
74201 main ()
74202 {
74203
74204 #if !defined(__SSE2__)
74205 #error target does not support multi-byte NOPs
74206 #else
74207 asm ("setssbsy");
74208 #endif
74209
74210 ;
74211 return 0;
74212 }
74213 _ACEOF
74214 if ac_fn_c_try_compile "$LINENO"; then :
74215 enable_cet=yes
74216 else
74217 enable_cet=no
74218 fi
74219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74220 CFLAGS="$cet_save_CFLAGS"
74221 ;;
74222 yes)
74223 # Check if assembler supports CET.
74224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74225 /* end confdefs.h. */
74226
74227 int
74228 main ()
74229 {
74230 asm ("setssbsy");
74231 ;
74232 return 0;
74233 }
74234 _ACEOF
74235 if ac_fn_c_try_compile "$LINENO"; then :
74236
74237 else
74238 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
74239 fi
74240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74241 ;;
74242 esac
74243 ;;
74244 *)
74245 enable_cet=no
74246 ;;
74247 esac
74248 if test x$enable_cet = xyes; then
74249 CET_FLAGS="-fcf-protection -mshstk"
74250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
74251 $as_echo "yes" >&6; }
74252 else
74253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74254 $as_echo "no" >&6; }
74255 fi
74256
74257 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
74258 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
74259
74260
74261
74262 # Determine cross-compile flags and AM_CONDITIONALs.
74263 #AC_SUBST(GLIBCXX_IS_NATIVE)
74264 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
74265 if test $is_hosted = yes; then
74266 GLIBCXX_HOSTED_TRUE=
74267 GLIBCXX_HOSTED_FALSE='#'
74268 else
74269 GLIBCXX_HOSTED_TRUE='#'
74270 GLIBCXX_HOSTED_FALSE=
74271 fi
74272
74273
74274 if test $enable_libstdcxx_pch = yes; then
74275 GLIBCXX_BUILD_PCH_TRUE=
74276 GLIBCXX_BUILD_PCH_FALSE='#'
74277 else
74278 GLIBCXX_BUILD_PCH_TRUE='#'
74279 GLIBCXX_BUILD_PCH_FALSE=
74280 fi
74281
74282
74283 if test $enable_float128 = yes; then
74284 ENABLE_FLOAT128_TRUE=
74285 ENABLE_FLOAT128_FALSE='#'
74286 else
74287 ENABLE_FLOAT128_TRUE='#'
74288 ENABLE_FLOAT128_FALSE=
74289 fi
74290
74291
74292 if test $enable_libstdcxx_allocator_flag = new; then
74293 ENABLE_ALLOCATOR_NEW_TRUE=
74294 ENABLE_ALLOCATOR_NEW_FALSE='#'
74295 else
74296 ENABLE_ALLOCATOR_NEW_TRUE='#'
74297 ENABLE_ALLOCATOR_NEW_FALSE=
74298 fi
74299
74300
74301 if test $enable_cheaders = c; then
74302 GLIBCXX_C_HEADERS_C_TRUE=
74303 GLIBCXX_C_HEADERS_C_FALSE='#'
74304 else
74305 GLIBCXX_C_HEADERS_C_TRUE='#'
74306 GLIBCXX_C_HEADERS_C_FALSE=
74307 fi
74308
74309
74310 if test $enable_cheaders = c_std; then
74311 GLIBCXX_C_HEADERS_C_STD_TRUE=
74312 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
74313 else
74314 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
74315 GLIBCXX_C_HEADERS_C_STD_FALSE=
74316 fi
74317
74318
74319 if test $enable_cheaders = c_global; then
74320 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
74321 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
74322 else
74323 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
74324 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
74325 fi
74326
74327
74328 if test $c_compatibility = yes; then
74329 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
74330 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
74331 else
74332 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
74333 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
74334 fi
74335
74336
74337 if test $enable_libstdcxx_debug = yes; then
74338 GLIBCXX_BUILD_DEBUG_TRUE=
74339 GLIBCXX_BUILD_DEBUG_FALSE='#'
74340 else
74341 GLIBCXX_BUILD_DEBUG_TRUE='#'
74342 GLIBCXX_BUILD_DEBUG_FALSE=
74343 fi
74344
74345
74346 if test $enable_extern_template = yes; then
74347 ENABLE_EXTERN_TEMPLATE_TRUE=
74348 ENABLE_EXTERN_TEMPLATE_FALSE='#'
74349 else
74350 ENABLE_EXTERN_TEMPLATE_TRUE='#'
74351 ENABLE_EXTERN_TEMPLATE_FALSE=
74352 fi
74353
74354
74355 if test $python_mod_dir != no; then
74356 ENABLE_PYTHONDIR_TRUE=
74357 ENABLE_PYTHONDIR_FALSE='#'
74358 else
74359 ENABLE_PYTHONDIR_TRUE='#'
74360 ENABLE_PYTHONDIR_FALSE=
74361 fi
74362
74363
74364 if test $enable_werror = yes; then
74365 ENABLE_WERROR_TRUE=
74366 ENABLE_WERROR_FALSE='#'
74367 else
74368 ENABLE_WERROR_TRUE='#'
74369 ENABLE_WERROR_FALSE=
74370 fi
74371
74372
74373 if test $enable_vtable_verify = yes; then
74374 ENABLE_VTABLE_VERIFY_TRUE=
74375 ENABLE_VTABLE_VERIFY_FALSE='#'
74376 else
74377 ENABLE_VTABLE_VERIFY_TRUE='#'
74378 ENABLE_VTABLE_VERIFY_FALSE=
74379 fi
74380
74381
74382 if test $enable_symvers != no; then
74383 ENABLE_SYMVERS_TRUE=
74384 ENABLE_SYMVERS_FALSE='#'
74385 else
74386 ENABLE_SYMVERS_TRUE='#'
74387 ENABLE_SYMVERS_FALSE=
74388 fi
74389
74390
74391 if test $enable_symvers = gnu; then
74392 ENABLE_SYMVERS_GNU_TRUE=
74393 ENABLE_SYMVERS_GNU_FALSE='#'
74394 else
74395 ENABLE_SYMVERS_GNU_TRUE='#'
74396 ENABLE_SYMVERS_GNU_FALSE=
74397 fi
74398
74399
74400 if test $enable_symvers = gnu-versioned-namespace; then
74401 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
74402 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
74403 else
74404 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
74405 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
74406 fi
74407
74408
74409 if test $enable_symvers = darwin; then
74410 ENABLE_SYMVERS_DARWIN_TRUE=
74411 ENABLE_SYMVERS_DARWIN_FALSE='#'
74412 else
74413 ENABLE_SYMVERS_DARWIN_TRUE='#'
74414 ENABLE_SYMVERS_DARWIN_FALSE=
74415 fi
74416
74417
74418 if test $enable_symvers = sun; then
74419 ENABLE_SYMVERS_SUN_TRUE=
74420 ENABLE_SYMVERS_SUN_FALSE='#'
74421 else
74422 ENABLE_SYMVERS_SUN_TRUE='#'
74423 ENABLE_SYMVERS_SUN_FALSE=
74424 fi
74425
74426
74427 if test $enable_libstdcxx_visibility = yes; then
74428 ENABLE_VISIBILITY_TRUE=
74429 ENABLE_VISIBILITY_FALSE='#'
74430 else
74431 ENABLE_VISIBILITY_TRUE='#'
74432 ENABLE_VISIBILITY_FALSE=
74433 fi
74434
74435
74436 if test $enable_libstdcxx_dual_abi = yes; then
74437 ENABLE_DUAL_ABI_TRUE=
74438 ENABLE_DUAL_ABI_FALSE='#'
74439 else
74440 ENABLE_DUAL_ABI_TRUE='#'
74441 ENABLE_DUAL_ABI_FALSE=
74442 fi
74443
74444
74445 if test $glibcxx_cxx11_abi = 1; then
74446 ENABLE_CXX11_ABI_TRUE=
74447 ENABLE_CXX11_ABI_FALSE='#'
74448 else
74449 ENABLE_CXX11_ABI_TRUE='#'
74450 ENABLE_CXX11_ABI_FALSE=
74451 fi
74452
74453
74454 if test $ac_ldbl_compat = yes; then
74455 GLIBCXX_LDBL_COMPAT_TRUE=
74456 GLIBCXX_LDBL_COMPAT_FALSE='#'
74457 else
74458 GLIBCXX_LDBL_COMPAT_TRUE='#'
74459 GLIBCXX_LDBL_COMPAT_FALSE=
74460 fi
74461
74462
74463 if test $ac_ldbl_alt128_compat = yes; then
74464 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
74465 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
74466 else
74467 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
74468 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
74469 fi
74470
74471
74472 if test $enable_libstdcxx_filesystem_ts = yes; then
74473 ENABLE_FILESYSTEM_TS_TRUE=
74474 ENABLE_FILESYSTEM_TS_FALSE='#'
74475 else
74476 ENABLE_FILESYSTEM_TS_TRUE='#'
74477 ENABLE_FILESYSTEM_TS_FALSE=
74478 fi
74479
74480
74481 if test "$enable_libstdcxx_backtrace" = yes; then
74482 ENABLE_BACKTRACE_TRUE=
74483 ENABLE_BACKTRACE_FALSE='#'
74484 else
74485 ENABLE_BACKTRACE_TRUE='#'
74486 ENABLE_BACKTRACE_FALSE=
74487 fi
74488
74489
74490 if test "${embed_zoneinfo}" = yes; then
74491 USE_STATIC_TZDATA_TRUE=
74492 USE_STATIC_TZDATA_FALSE='#'
74493 else
74494 USE_STATIC_TZDATA_TRUE='#'
74495 USE_STATIC_TZDATA_FALSE=
74496 fi
74497
74498
74499
74500
74501 cat >confcache <<\_ACEOF
74502 # This file is a shell script that caches the results of configure
74503 # tests run on this system so they can be shared between configure
74504 # scripts and configure runs, see configure's option --config-cache.
74505 # It is not useful on other systems. If it contains results you don't
74506 # want to keep, you may remove or edit it.
74507 #
74508 # config.status only pays attention to the cache file if you give it
74509 # the --recheck option to rerun configure.
74510 #
74511 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74512 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74513 # following values.
74514
74515 _ACEOF
74516
74517 # The following way of writing the cache mishandles newlines in values,
74518 # but we know of no workaround that is simple, portable, and efficient.
74519 # So, we kill variables containing newlines.
74520 # Ultrix sh set writes to stderr and can't be redirected directly,
74521 # and sets the high bit in the cache file unless we assign to the vars.
74522 (
74523 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74524 eval ac_val=\$$ac_var
74525 case $ac_val in #(
74526 *${as_nl}*)
74527 case $ac_var in #(
74528 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74529 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74530 esac
74531 case $ac_var in #(
74532 _ | IFS | as_nl) ;; #(
74533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74534 *) { eval $ac_var=; unset $ac_var;} ;;
74535 esac ;;
74536 esac
74537 done
74538
74539 (set) 2>&1 |
74540 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74541 *${as_nl}ac_space=\ *)
74542 # `set' does not quote correctly, so add quotes: double-quote
74543 # substitution turns \\\\ into \\, and sed turns \\ into \.
74544 sed -n \
74545 "s/'/'\\\\''/g;
74546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74547 ;; #(
74548 *)
74549 # `set' quotes correctly as required by POSIX, so do not add quotes.
74550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74551 ;;
74552 esac |
74553 sort
74554 ) |
74555 sed '
74556 /^ac_cv_env_/b end
74557 t clear
74558 :clear
74559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74560 t end
74561 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74562 :end' >>confcache
74563 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74564 if test -w "$cache_file"; then
74565 if test "x$cache_file" != "x/dev/null"; then
74566 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74567 $as_echo "$as_me: updating cache $cache_file" >&6;}
74568 if test ! -f "$cache_file" || test -h "$cache_file"; then
74569 cat confcache >"$cache_file"
74570 else
74571 case $cache_file in #(
74572 */* | ?:*)
74573 mv -f confcache "$cache_file"$$ &&
74574 mv -f "$cache_file"$$ "$cache_file" ;; #(
74575 *)
74576 mv -f confcache "$cache_file" ;;
74577 esac
74578 fi
74579 fi
74580 else
74581 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
74582 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
74583 fi
74584 fi
74585 rm -f confcache
74586
74587 if test ${multilib} = yes; then
74588 multilib_arg="--enable-multilib"
74589 else
74590 multilib_arg=
74591 fi
74592
74593 # Export all the install information.
74594
74595 glibcxx_toolexecdir=no
74596 glibcxx_toolexeclibdir=no
74597 glibcxx_prefixdir=$prefix
74598
74599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
74600 $as_echo_n "checking for gxx-include-dir... " >&6; }
74601
74602 # Check whether --with-gxx-include-dir was given.
74603 if test "${with_gxx_include_dir+set}" = set; then :
74604 withval=$with_gxx_include_dir; case "$withval" in
74605 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
74606 no) gxx_include_dir=no ;;
74607 *) gxx_include_dir=$withval ;;
74608 esac
74609 else
74610 gxx_include_dir=no
74611 fi
74612
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
74614 $as_echo "$gxx_include_dir" >&6; }
74615
74616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
74617 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
74618 # Check whether --enable-version-specific-runtime-libs was given.
74619 if test "${enable_version_specific_runtime_libs+set}" = set; then :
74620 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
74621 yes) version_specific_libs=yes ;;
74622 no) version_specific_libs=no ;;
74623 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
74624 esac
74625 else
74626 version_specific_libs=no
74627 fi
74628
74629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
74630 $as_echo "$version_specific_libs" >&6; }
74631
74632
74633 # Check whether --with-toolexeclibdir was given.
74634 if test "${with_toolexeclibdir+set}" = set; then :
74635 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
74636 /)
74637 ;;
74638 */)
74639 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
74640 ;;
74641 esac
74642 else
74643 with_toolexeclibdir=no
74644 fi
74645
74646
74647
74648 # Default case for install directory for include files.
74649 if test $version_specific_libs = no && test $gxx_include_dir = no; then
74650 gxx_include_dir='include/c++/${gcc_version}'
74651 if test -n "$with_cross_host" &&
74652 test x"$with_cross_host" != x"no"; then
74653 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
74654 else
74655 gxx_include_dir='${prefix}/'"$gxx_include_dir"
74656 fi
74657 fi
74658
74659 # Version-specific runtime libs processing.
74660 if test $version_specific_libs = yes; then
74661 # Need the gcc compiler version to know where to install libraries
74662 # and header files if --enable-version-specific-runtime-libs option
74663 # is selected. FIXME: these variables are misnamed, there are
74664 # no executables installed in _toolexecdir or _toolexeclibdir.
74665 if test x"$gxx_include_dir" = x"no"; then
74666 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
74667 fi
74668 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
74669 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
74670 fi
74671
74672 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
74673 # Install a library built with a cross compiler in tooldir, not libdir.
74674 if test x"$glibcxx_toolexecdir" = x"no"; then
74675 if test -n "$with_cross_host" &&
74676 test x"$with_cross_host" != x"no"; then
74677 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
74678 case ${with_toolexeclibdir} in
74679 no)
74680 glibcxx_toolexeclibdir='${toolexecdir}/lib'
74681 ;;
74682 *)
74683 glibcxx_toolexeclibdir=${with_toolexeclibdir}
74684 ;;
74685 esac
74686 else
74687 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
74688 glibcxx_toolexeclibdir='${libdir}'
74689 fi
74690 multi_os_directory=`$CXX -print-multi-os-directory`
74691 case $multi_os_directory in
74692 .) ;; # Avoid trailing /.
74693 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
74694 esac
74695 fi
74696
74697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
74698 $as_echo_n "checking for install location... " >&6; }
74699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
74700 $as_echo "$gxx_include_dir" >&6; }
74701
74702
74703
74704
74705
74706
74707
74708 # Export all the include and flag information to Makefiles.
74709
74710 # Used for every C++ compile we perform.
74711 GLIBCXX_INCLUDES="\
74712 -I$glibcxx_builddir/include/$host_alias \
74713 -I$glibcxx_builddir/include \
74714 -I$glibcxx_srcdir/libsupc++"
74715
74716 # For Canadian crosses, pick this up too.
74717 if test $CANADIAN = yes; then
74718 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
74719 fi
74720
74721 # Stuff in the actual top level. Currently only used by libsupc++ to
74722 # get unwind* headers from the libgcc dir.
74723 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
74724 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
74725
74726 # Now, export this to all the little Makefiles....
74727
74728
74729
74730
74731
74732
74733 # Optimization flags that are probably a good idea for thrill-seekers. Just
74734 # uncomment the lines below and make, everything else is ready to go...
74735 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
74736 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
74737
74738
74739 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
74740
74741
74742
74743 # Determine what GCC version number to use in filesystem paths.
74744
74745 get_gcc_base_ver="cat"
74746
74747 # Check whether --with-gcc-major-version-only was given.
74748 if test "${with_gcc_major_version_only+set}" = set; then :
74749 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
74750 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
74751 fi
74752
74753 fi
74754
74755
74756
74757
74758 ac_config_files="$ac_config_files Makefile"
74759
74760 ac_config_files="$ac_config_files scripts/testsuite_flags"
74761
74762 ac_config_files="$ac_config_files scripts/extract_symvers"
74763
74764 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
74765
74766 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
74767
74768
74769 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
74770 # that multilib installs will end up installed in the correct place.
74771 # The testsuite needs it for multilib-aware ABI baseline files.
74772 # To work around this not being passed down from config-ml.in ->
74773 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
74774 # append it here. Only modify Makefiles that have just been created.
74775 #
74776 # Also, get rid of this simulated-VPATH thing that automake does.
74777 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/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
74778
74779
74780 ac_config_commands="$ac_config_commands generate-headers"
74781
74782
74783 cat >confcache <<\_ACEOF
74784 # This file is a shell script that caches the results of configure
74785 # tests run on this system so they can be shared between configure
74786 # scripts and configure runs, see configure's option --config-cache.
74787 # It is not useful on other systems. If it contains results you don't
74788 # want to keep, you may remove or edit it.
74789 #
74790 # config.status only pays attention to the cache file if you give it
74791 # the --recheck option to rerun configure.
74792 #
74793 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74795 # following values.
74796
74797 _ACEOF
74798
74799 # The following way of writing the cache mishandles newlines in values,
74800 # but we know of no workaround that is simple, portable, and efficient.
74801 # So, we kill variables containing newlines.
74802 # Ultrix sh set writes to stderr and can't be redirected directly,
74803 # and sets the high bit in the cache file unless we assign to the vars.
74804 (
74805 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74806 eval ac_val=\$$ac_var
74807 case $ac_val in #(
74808 *${as_nl}*)
74809 case $ac_var in #(
74810 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74811 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74812 esac
74813 case $ac_var in #(
74814 _ | IFS | as_nl) ;; #(
74815 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74816 *) { eval $ac_var=; unset $ac_var;} ;;
74817 esac ;;
74818 esac
74819 done
74820
74821 (set) 2>&1 |
74822 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74823 *${as_nl}ac_space=\ *)
74824 # `set' does not quote correctly, so add quotes: double-quote
74825 # substitution turns \\\\ into \\, and sed turns \\ into \.
74826 sed -n \
74827 "s/'/'\\\\''/g;
74828 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74829 ;; #(
74830 *)
74831 # `set' quotes correctly as required by POSIX, so do not add quotes.
74832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74833 ;;
74834 esac |
74835 sort
74836 ) |
74837 sed '
74838 /^ac_cv_env_/b end
74839 t clear
74840 :clear
74841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74842 t end
74843 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74844 :end' >>confcache
74845 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74846 if test -w "$cache_file"; then
74847 if test "x$cache_file" != "x/dev/null"; then
74848 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74849 $as_echo "$as_me: updating cache $cache_file" >&6;}
74850 if test ! -f "$cache_file" || test -h "$cache_file"; then
74851 cat confcache >"$cache_file"
74852 else
74853 case $cache_file in #(
74854 */* | ?:*)
74855 mv -f confcache "$cache_file"$$ &&
74856 mv -f "$cache_file"$$ "$cache_file" ;; #(
74857 *)
74858 mv -f confcache "$cache_file" ;;
74859 esac
74860 fi
74861 fi
74862 else
74863 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
74864 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
74865 fi
74866 fi
74867 rm -f confcache
74868
74869 test "x$prefix" = xNONE && prefix=$ac_default_prefix
74870 # Let make expand exec_prefix.
74871 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
74872
74873 DEFS=-DHAVE_CONFIG_H
74874
74875 ac_libobjs=
74876 ac_ltlibobjs=
74877 U=
74878 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
74879 # 1. Remove the extension, and $U if already installed.
74880 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
74881 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
74882 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
74883 # will be set to the directory where LIBOBJS objects are built.
74884 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
74885 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
74886 done
74887 LIBOBJS=$ac_libobjs
74888
74889 LTLIBOBJS=$ac_ltlibobjs
74890
74891
74892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
74893 $as_echo_n "checking that generated files are newer than configure... " >&6; }
74894 if test -n "$am_sleep_pid"; then
74895 # Hide warnings about reused PIDs.
74896 wait $am_sleep_pid 2>/dev/null
74897 fi
74898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
74899 $as_echo "done" >&6; }
74900 if test -n "$EXEEXT"; then
74901 am__EXEEXT_TRUE=
74902 am__EXEEXT_FALSE='#'
74903 else
74904 am__EXEEXT_TRUE='#'
74905 am__EXEEXT_FALSE=
74906 fi
74907
74908 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
74909 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
74910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74911 fi
74912 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
74913 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
74914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74915 fi
74916 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
74917 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
74918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74919 fi
74920 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
74921 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
74922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74923 fi
74924 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
74925 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
74926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74927 fi
74928 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
74929 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
74930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74931 fi
74932 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
74933 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
74934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74935 fi
74936 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
74937 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
74938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74939 fi
74940 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
74941 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
74942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74943 fi
74944 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
74945 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
74946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74947 fi
74948 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
74949 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
74950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74951 fi
74952 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
74953 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
74954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74955 fi
74956 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
74957 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
74958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74959 fi
74960 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
74961 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
74962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74963 fi
74964 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
74965 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
74966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74967 fi
74968 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
74969 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
74970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74971 fi
74972 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
74973 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
74974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74975 fi
74976 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
74977 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
74978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74979 fi
74980 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
74981 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
74982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74983 fi
74984 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
74985 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
74986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74987 fi
74988 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
74989 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
74990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74991 fi
74992 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
74993 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
74994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74995 fi
74996 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
74997 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
74998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74999 fi
75000 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
75001 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
75002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75003 fi
75004 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
75005 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
75006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75007 fi
75008 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
75009 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
75010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75011 fi
75012 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
75013 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
75014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75015 fi
75016 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
75017 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
75018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75019 fi
75020 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
75021 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
75022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75023 fi
75024 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
75025 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
75026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75027 fi
75028 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
75029 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
75030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75031 fi
75032 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
75033 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
75034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75035 fi
75036 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
75037 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
75038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75039 fi
75040 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
75041 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
75042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75043 fi
75044 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
75045 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
75046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75047 fi
75048
75049 : "${CONFIG_STATUS=./config.status}"
75050 ac_write_fail=0
75051 ac_clean_files_save=$ac_clean_files
75052 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
75053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
75054 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
75055 as_write_fail=0
75056 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
75057 #! $SHELL
75058 # Generated by $as_me.
75059 # Run this file to recreate the current configuration.
75060 # Compiler output produced by configure, useful for debugging
75061 # configure, is in config.log if it exists.
75062
75063 debug=false
75064 ac_cs_recheck=false
75065 ac_cs_silent=false
75066
75067 SHELL=\${CONFIG_SHELL-$SHELL}
75068 export SHELL
75069 _ASEOF
75070 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
75071 ## -------------------- ##
75072 ## M4sh Initialization. ##
75073 ## -------------------- ##
75074
75075 # Be more Bourne compatible
75076 DUALCASE=1; export DUALCASE # for MKS sh
75077 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
75078 emulate sh
75079 NULLCMD=:
75080 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
75081 # is contrary to our usage. Disable this feature.
75082 alias -g '${1+"$@"}'='"$@"'
75083 setopt NO_GLOB_SUBST
75084 else
75085 case `(set -o) 2>/dev/null` in #(
75086 *posix*) :
75087 set -o posix ;; #(
75088 *) :
75089 ;;
75090 esac
75091 fi
75092
75093
75094 as_nl='
75095 '
75096 export as_nl
75097 # Printing a long string crashes Solaris 7 /usr/bin/printf.
75098 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
75099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
75100 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
75101 # Prefer a ksh shell builtin over an external printf program on Solaris,
75102 # but without wasting forks for bash or zsh.
75103 if test -z "$BASH_VERSION$ZSH_VERSION" \
75104 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
75105 as_echo='print -r --'
75106 as_echo_n='print -rn --'
75107 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
75108 as_echo='printf %s\n'
75109 as_echo_n='printf %s'
75110 else
75111 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
75112 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
75113 as_echo_n='/usr/ucb/echo -n'
75114 else
75115 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
75116 as_echo_n_body='eval
75117 arg=$1;
75118 case $arg in #(
75119 *"$as_nl"*)
75120 expr "X$arg" : "X\\(.*\\)$as_nl";
75121 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
75122 esac;
75123 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
75124 '
75125 export as_echo_n_body
75126 as_echo_n='sh -c $as_echo_n_body as_echo'
75127 fi
75128 export as_echo_body
75129 as_echo='sh -c $as_echo_body as_echo'
75130 fi
75131
75132 # The user is always right.
75133 if test "${PATH_SEPARATOR+set}" != set; then
75134 PATH_SEPARATOR=:
75135 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75136 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
75137 PATH_SEPARATOR=';'
75138 }
75139 fi
75140
75141
75142 # IFS
75143 # We need space, tab and new line, in precisely that order. Quoting is
75144 # there to prevent editors from complaining about space-tab.
75145 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
75146 # splitting by setting IFS to empty value.)
75147 IFS=" "" $as_nl"
75148
75149 # Find who we are. Look in the path if we contain no directory separator.
75150 as_myself=
75151 case $0 in #((
75152 *[\\/]* ) as_myself=$0 ;;
75153 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75154 for as_dir in $PATH
75155 do
75156 IFS=$as_save_IFS
75157 test -z "$as_dir" && as_dir=.
75158 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75159 done
75160 IFS=$as_save_IFS
75161
75162 ;;
75163 esac
75164 # We did not find ourselves, most probably we were run as `sh COMMAND'
75165 # in which case we are not to be found in the path.
75166 if test "x$as_myself" = x; then
75167 as_myself=$0
75168 fi
75169 if test ! -f "$as_myself"; then
75170 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
75171 exit 1
75172 fi
75173
75174 # Unset variables that we do not need and which cause bugs (e.g. in
75175 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
75176 # suppresses any "Segmentation fault" message there. '((' could
75177 # trigger a bug in pdksh 5.2.14.
75178 for as_var in BASH_ENV ENV MAIL MAILPATH
75179 do eval test x\${$as_var+set} = xset \
75180 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
75181 done
75182 PS1='$ '
75183 PS2='> '
75184 PS4='+ '
75185
75186 # NLS nuisances.
75187 LC_ALL=C
75188 export LC_ALL
75189 LANGUAGE=C
75190 export LANGUAGE
75191
75192 # CDPATH.
75193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75194
75195
75196 # as_fn_error STATUS ERROR [LINENO LOG_FD]
75197 # ----------------------------------------
75198 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
75199 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
75200 # script with STATUS, using 1 if that was 0.
75201 as_fn_error ()
75202 {
75203 as_status=$1; test $as_status -eq 0 && as_status=1
75204 if test "$4"; then
75205 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
75206 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
75207 fi
75208 $as_echo "$as_me: error: $2" >&2
75209 as_fn_exit $as_status
75210 } # as_fn_error
75211
75212
75213 # as_fn_set_status STATUS
75214 # -----------------------
75215 # Set $? to STATUS, without forking.
75216 as_fn_set_status ()
75217 {
75218 return $1
75219 } # as_fn_set_status
75220
75221 # as_fn_exit STATUS
75222 # -----------------
75223 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
75224 as_fn_exit ()
75225 {
75226 set +e
75227 as_fn_set_status $1
75228 exit $1
75229 } # as_fn_exit
75230
75231 # as_fn_unset VAR
75232 # ---------------
75233 # Portably unset VAR.
75234 as_fn_unset ()
75235 {
75236 { eval $1=; unset $1;}
75237 }
75238 as_unset=as_fn_unset
75239 # as_fn_append VAR VALUE
75240 # ----------------------
75241 # Append the text in VALUE to the end of the definition contained in VAR. Take
75242 # advantage of any shell optimizations that allow amortized linear growth over
75243 # repeated appends, instead of the typical quadratic growth present in naive
75244 # implementations.
75245 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
75246 eval 'as_fn_append ()
75247 {
75248 eval $1+=\$2
75249 }'
75250 else
75251 as_fn_append ()
75252 {
75253 eval $1=\$$1\$2
75254 }
75255 fi # as_fn_append
75256
75257 # as_fn_arith ARG...
75258 # ------------------
75259 # Perform arithmetic evaluation on the ARGs, and store the result in the
75260 # global $as_val. Take advantage of shells that can avoid forks. The arguments
75261 # must be portable across $(()) and expr.
75262 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
75263 eval 'as_fn_arith ()
75264 {
75265 as_val=$(( $* ))
75266 }'
75267 else
75268 as_fn_arith ()
75269 {
75270 as_val=`expr "$@" || test $? -eq 1`
75271 }
75272 fi # as_fn_arith
75273
75274
75275 if expr a : '\(a\)' >/dev/null 2>&1 &&
75276 test "X`expr 00001 : '.*\(...\)'`" = X001; then
75277 as_expr=expr
75278 else
75279 as_expr=false
75280 fi
75281
75282 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
75283 as_basename=basename
75284 else
75285 as_basename=false
75286 fi
75287
75288 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
75289 as_dirname=dirname
75290 else
75291 as_dirname=false
75292 fi
75293
75294 as_me=`$as_basename -- "$0" ||
75295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75296 X"$0" : 'X\(//\)$' \| \
75297 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
75298 $as_echo X/"$0" |
75299 sed '/^.*\/\([^/][^/]*\)\/*$/{
75300 s//\1/
75301 q
75302 }
75303 /^X\/\(\/\/\)$/{
75304 s//\1/
75305 q
75306 }
75307 /^X\/\(\/\).*/{
75308 s//\1/
75309 q
75310 }
75311 s/.*/./; q'`
75312
75313 # Avoid depending upon Character Ranges.
75314 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
75315 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
75316 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
75317 as_cr_digits='0123456789'
75318 as_cr_alnum=$as_cr_Letters$as_cr_digits
75319
75320 ECHO_C= ECHO_N= ECHO_T=
75321 case `echo -n x` in #(((((
75322 -n*)
75323 case `echo 'xy\c'` in
75324 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
75325 xy) ECHO_C='\c';;
75326 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
75327 ECHO_T=' ';;
75328 esac;;
75329 *)
75330 ECHO_N='-n';;
75331 esac
75332
75333 rm -f conf$$ conf$$.exe conf$$.file
75334 if test -d conf$$.dir; then
75335 rm -f conf$$.dir/conf$$.file
75336 else
75337 rm -f conf$$.dir
75338 mkdir conf$$.dir 2>/dev/null
75339 fi
75340 if (echo >conf$$.file) 2>/dev/null; then
75341 if ln -s conf$$.file conf$$ 2>/dev/null; then
75342 as_ln_s='ln -s'
75343 # ... but there are two gotchas:
75344 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
75345 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
75346 # In both cases, we have to default to `cp -pR'.
75347 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
75348 as_ln_s='cp -pR'
75349 elif ln conf$$.file conf$$ 2>/dev/null; then
75350 as_ln_s=ln
75351 else
75352 as_ln_s='cp -pR'
75353 fi
75354 else
75355 as_ln_s='cp -pR'
75356 fi
75357 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
75358 rmdir conf$$.dir 2>/dev/null
75359
75360
75361 # as_fn_mkdir_p
75362 # -------------
75363 # Create "$as_dir" as a directory, including parents if necessary.
75364 as_fn_mkdir_p ()
75365 {
75366
75367 case $as_dir in #(
75368 -*) as_dir=./$as_dir;;
75369 esac
75370 test -d "$as_dir" || eval $as_mkdir_p || {
75371 as_dirs=
75372 while :; do
75373 case $as_dir in #(
75374 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
75375 *) as_qdir=$as_dir;;
75376 esac
75377 as_dirs="'$as_qdir' $as_dirs"
75378 as_dir=`$as_dirname -- "$as_dir" ||
75379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75380 X"$as_dir" : 'X\(//\)[^/]' \| \
75381 X"$as_dir" : 'X\(//\)$' \| \
75382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
75383 $as_echo X"$as_dir" |
75384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75385 s//\1/
75386 q
75387 }
75388 /^X\(\/\/\)[^/].*/{
75389 s//\1/
75390 q
75391 }
75392 /^X\(\/\/\)$/{
75393 s//\1/
75394 q
75395 }
75396 /^X\(\/\).*/{
75397 s//\1/
75398 q
75399 }
75400 s/.*/./; q'`
75401 test -d "$as_dir" && break
75402 done
75403 test -z "$as_dirs" || eval "mkdir $as_dirs"
75404 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
75405
75406
75407 } # as_fn_mkdir_p
75408 if mkdir -p . 2>/dev/null; then
75409 as_mkdir_p='mkdir -p "$as_dir"'
75410 else
75411 test -d ./-p && rmdir ./-p
75412 as_mkdir_p=false
75413 fi
75414
75415
75416 # as_fn_executable_p FILE
75417 # -----------------------
75418 # Test if FILE is an executable regular file.
75419 as_fn_executable_p ()
75420 {
75421 test -f "$1" && test -x "$1"
75422 } # as_fn_executable_p
75423 as_test_x='test -x'
75424 as_executable_p=as_fn_executable_p
75425
75426 # Sed expression to map a string onto a valid CPP name.
75427 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
75428
75429 # Sed expression to map a string onto a valid variable name.
75430 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
75431
75432
75433 exec 6>&1
75434 ## ----------------------------------- ##
75435 ## Main body of $CONFIG_STATUS script. ##
75436 ## ----------------------------------- ##
75437 _ASEOF
75438 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
75439
75440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75441 # Save the log message, to keep $0 and so on meaningful, and to
75442 # report actual input values of CONFIG_FILES etc. instead of their
75443 # values after options handling.
75444 ac_log="
75445 This file was extended by package-unused $as_me version-unused, which was
75446 generated by GNU Autoconf 2.69. Invocation command line was
75447
75448 CONFIG_FILES = $CONFIG_FILES
75449 CONFIG_HEADERS = $CONFIG_HEADERS
75450 CONFIG_LINKS = $CONFIG_LINKS
75451 CONFIG_COMMANDS = $CONFIG_COMMANDS
75452 $ $0 $@
75453
75454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
75455 "
75456
75457 _ACEOF
75458
75459 case $ac_config_files in *"
75460 "*) set x $ac_config_files; shift; ac_config_files=$*;;
75461 esac
75462
75463 case $ac_config_headers in *"
75464 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
75465 esac
75466
75467
75468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75469 # Files that config.status was made for.
75470 config_files="$ac_config_files"
75471 config_headers="$ac_config_headers"
75472 config_commands="$ac_config_commands"
75473
75474 _ACEOF
75475
75476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75477 ac_cs_usage="\
75478 \`$as_me' instantiates files and other configuration actions
75479 from templates according to the current configuration. Unless the files
75480 and actions are specified as TAGs, all are instantiated by default.
75481
75482 Usage: $0 [OPTION]... [TAG]...
75483
75484 -h, --help print this help, then exit
75485 -V, --version print version number and configuration settings, then exit
75486 --config print configuration, then exit
75487 -q, --quiet, --silent
75488 do not print progress messages
75489 -d, --debug don't remove temporary files
75490 --recheck update $as_me by reconfiguring in the same conditions
75491 --file=FILE[:TEMPLATE]
75492 instantiate the configuration file FILE
75493 --header=FILE[:TEMPLATE]
75494 instantiate the configuration header FILE
75495
75496 Configuration files:
75497 $config_files
75498
75499 Configuration headers:
75500 $config_headers
75501
75502 Configuration commands:
75503 $config_commands
75504
75505 Report bugs to the package provider."
75506
75507 _ACEOF
75508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75509 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
75510 ac_cs_version="\\
75511 package-unused config.status version-unused
75512 configured by $0, generated by GNU Autoconf 2.69,
75513 with options \\"\$ac_cs_config\\"
75514
75515 Copyright (C) 2012 Free Software Foundation, Inc.
75516 This config.status script is free software; the Free Software Foundation
75517 gives unlimited permission to copy, distribute and modify it."
75518
75519 ac_pwd='$ac_pwd'
75520 srcdir='$srcdir'
75521 INSTALL='$INSTALL'
75522 MKDIR_P='$MKDIR_P'
75523 AWK='$AWK'
75524 test -n "\$AWK" || AWK=awk
75525 _ACEOF
75526
75527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75528 # The default lists apply if the user does not specify any file.
75529 ac_need_defaults=:
75530 while test $# != 0
75531 do
75532 case $1 in
75533 --*=?*)
75534 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75535 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
75536 ac_shift=:
75537 ;;
75538 --*=)
75539 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75540 ac_optarg=
75541 ac_shift=:
75542 ;;
75543 *)
75544 ac_option=$1
75545 ac_optarg=$2
75546 ac_shift=shift
75547 ;;
75548 esac
75549
75550 case $ac_option in
75551 # Handling of the options.
75552 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
75553 ac_cs_recheck=: ;;
75554 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
75555 $as_echo "$ac_cs_version"; exit ;;
75556 --config | --confi | --conf | --con | --co | --c )
75557 $as_echo "$ac_cs_config"; exit ;;
75558 --debug | --debu | --deb | --de | --d | -d )
75559 debug=: ;;
75560 --file | --fil | --fi | --f )
75561 $ac_shift
75562 case $ac_optarg in
75563 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75564 '') as_fn_error $? "missing file argument" ;;
75565 esac
75566 as_fn_append CONFIG_FILES " '$ac_optarg'"
75567 ac_need_defaults=false;;
75568 --header | --heade | --head | --hea )
75569 $ac_shift
75570 case $ac_optarg in
75571 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75572 esac
75573 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
75574 ac_need_defaults=false;;
75575 --he | --h)
75576 # Conflict between --help and --header
75577 as_fn_error $? "ambiguous option: \`$1'
75578 Try \`$0 --help' for more information.";;
75579 --help | --hel | -h )
75580 $as_echo "$ac_cs_usage"; exit ;;
75581 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
75582 | -silent | --silent | --silen | --sile | --sil | --si | --s)
75583 ac_cs_silent=: ;;
75584
75585 # This is an error.
75586 -*) as_fn_error $? "unrecognized option: \`$1'
75587 Try \`$0 --help' for more information." ;;
75588
75589 *) as_fn_append ac_config_targets " $1"
75590 ac_need_defaults=false ;;
75591
75592 esac
75593 shift
75594 done
75595
75596 ac_configure_extra_args=
75597
75598 if $ac_cs_silent; then
75599 exec 6>/dev/null
75600 ac_configure_extra_args="$ac_configure_extra_args --silent"
75601 fi
75602
75603 _ACEOF
75604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75605 if \$ac_cs_recheck; then
75606 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
75607 shift
75608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
75609 CONFIG_SHELL='$SHELL'
75610 export CONFIG_SHELL
75611 exec "\$@"
75612 fi
75613
75614 _ACEOF
75615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75616 exec 5>>config.log
75617 {
75618 echo
75619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
75620 ## Running $as_me. ##
75621 _ASBOX
75622 $as_echo "$ac_log"
75623 } >&5
75624
75625 _ACEOF
75626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75627 #
75628 # INIT-COMMANDS
75629 #
75630
75631 srcdir="$srcdir"
75632 host="$host"
75633 target="$target"
75634 with_multisubdir="$with_multisubdir"
75635 with_multisrctop="$with_multisrctop"
75636 with_target_subdir="$with_target_subdir"
75637 ac_configure_args="${multilib_arg} ${ac_configure_args}"
75638 multi_basedir="$multi_basedir"
75639 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
75640 CC="$CC"
75641 CXX="$CXX"
75642 GFORTRAN="$GFORTRAN"
75643 GDC="$GDC"
75644
75645
75646 # The HP-UX ksh and POSIX shell print the target directory to stdout
75647 # if CDPATH is set.
75648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75649
75650 sed_quote_subst='$sed_quote_subst'
75651 double_quote_subst='$double_quote_subst'
75652 delay_variable_subst='$delay_variable_subst'
75653 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
75654 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
75655 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
75656 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
75657 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
75658 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
75659 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
75660 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
75661 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
75662 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
75663 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
75664 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
75665 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
75666 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
75667 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
75668 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
75669 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
75670 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
75671 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
75672 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
75673 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
75674 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
75675 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
75676 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
75677 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
75678 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
75679 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
75680 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
75681 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
75682 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
75683 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
75684 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
75685 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
75686 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
75687 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
75688 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
75689 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
75690 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
75691 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
75692 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
75693 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
75694 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
75695 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
75696 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
75697 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
75698 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
75699 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
75700 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
75701 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"`'
75702 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
75703 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
75704 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
75705 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
75706 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
75707 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
75708 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
75709 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
75710 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
75711 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
75712 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
75713 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
75714 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
75715 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
75716 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
75717 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
75718 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
75719 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
75720 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
75721 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
75722 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
75723 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
75724 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
75725 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
75726 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
75727 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
75728 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
75729 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
75730 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
75731 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
75732 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
75733 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
75734 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
75735 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
75736 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
75737 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
75738 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
75739 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
75740 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
75741 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
75742 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
75743 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
75744 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
75745 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
75746 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
75747 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
75748 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
75749 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
75750 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
75751 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
75752 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
75753 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
75754 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
75755 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
75756 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
75757 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
75758 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
75759 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
75760 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
75761 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
75762 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
75763 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
75764 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
75765 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
75766 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
75767 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
75768 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
75769 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
75770 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
75771 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
75772 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
75773 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
75774 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
75775 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
75776 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
75777 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
75778 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
75779 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
75780 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
75781 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75782 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75783 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
75784 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
75785 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
75786 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
75787 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
75788 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
75789 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
75790 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
75791 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
75792 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75793 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75794 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
75795 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75796 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75797 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75798 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75799 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75800 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75801 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
75802 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
75803 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
75804 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75805 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
75806 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
75807 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
75808 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
75809 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
75810 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
75811 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
75812 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
75813 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
75814 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
75815 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
75816 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75817 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
75818 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
75819 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75820 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
75821 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
75822 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
75823 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
75824 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
75825 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
75826 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
75827 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
75828
75829 LTCC='$LTCC'
75830 LTCFLAGS='$LTCFLAGS'
75831 compiler='$compiler_DEFAULT'
75832
75833 # A function that is used when there is no print builtin or printf.
75834 func_fallback_echo ()
75835 {
75836 eval 'cat <<_LTECHO_EOF
75837 \$1
75838 _LTECHO_EOF'
75839 }
75840
75841 # Quote evaled strings.
75842 for var in SHELL \
75843 ECHO \
75844 SED \
75845 GREP \
75846 EGREP \
75847 FGREP \
75848 LD \
75849 NM \
75850 LN_S \
75851 lt_SP2NL \
75852 lt_NL2SP \
75853 reload_flag \
75854 OBJDUMP \
75855 deplibs_check_method \
75856 file_magic_cmd \
75857 AR \
75858 AR_FLAGS \
75859 STRIP \
75860 RANLIB \
75861 CC \
75862 CFLAGS \
75863 compiler \
75864 lt_cv_sys_global_symbol_pipe \
75865 lt_cv_sys_global_symbol_to_cdecl \
75866 lt_cv_sys_global_symbol_to_c_name_address \
75867 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
75868 lt_prog_compiler_no_builtin_flag \
75869 lt_prog_compiler_wl \
75870 lt_prog_compiler_pic \
75871 lt_prog_compiler_static \
75872 lt_cv_prog_compiler_c_o \
75873 need_locks \
75874 DSYMUTIL \
75875 NMEDIT \
75876 LIPO \
75877 OTOOL \
75878 OTOOL64 \
75879 shrext_cmds \
75880 export_dynamic_flag_spec \
75881 whole_archive_flag_spec \
75882 compiler_needs_object \
75883 with_gnu_ld \
75884 allow_undefined_flag \
75885 no_undefined_flag \
75886 hardcode_libdir_flag_spec \
75887 hardcode_libdir_flag_spec_ld \
75888 hardcode_libdir_separator \
75889 fix_srcfile_path \
75890 exclude_expsyms \
75891 include_expsyms \
75892 file_list_spec \
75893 variables_saved_for_relink \
75894 libname_spec \
75895 library_names_spec \
75896 soname_spec \
75897 install_override_mode \
75898 finish_eval \
75899 old_striplib \
75900 striplib \
75901 compiler_lib_search_dirs \
75902 predep_objects \
75903 postdep_objects \
75904 predeps \
75905 postdeps \
75906 compiler_lib_search_path \
75907 LD_CXX \
75908 reload_flag_CXX \
75909 compiler_CXX \
75910 lt_prog_compiler_no_builtin_flag_CXX \
75911 lt_prog_compiler_wl_CXX \
75912 lt_prog_compiler_pic_CXX \
75913 lt_prog_compiler_static_CXX \
75914 lt_cv_prog_compiler_c_o_CXX \
75915 export_dynamic_flag_spec_CXX \
75916 whole_archive_flag_spec_CXX \
75917 compiler_needs_object_CXX \
75918 with_gnu_ld_CXX \
75919 allow_undefined_flag_CXX \
75920 no_undefined_flag_CXX \
75921 hardcode_libdir_flag_spec_CXX \
75922 hardcode_libdir_flag_spec_ld_CXX \
75923 hardcode_libdir_separator_CXX \
75924 fix_srcfile_path_CXX \
75925 exclude_expsyms_CXX \
75926 include_expsyms_CXX \
75927 file_list_spec_CXX \
75928 compiler_lib_search_dirs_CXX \
75929 predep_objects_CXX \
75930 postdep_objects_CXX \
75931 predeps_CXX \
75932 postdeps_CXX \
75933 compiler_lib_search_path_CXX; do
75934 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
75935 *[\\\\\\\`\\"\\\$]*)
75936 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
75937 ;;
75938 *)
75939 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
75940 ;;
75941 esac
75942 done
75943
75944 # Double-quote double-evaled strings.
75945 for var in reload_cmds \
75946 old_postinstall_cmds \
75947 old_postuninstall_cmds \
75948 old_archive_cmds \
75949 extract_expsyms_cmds \
75950 old_archive_from_new_cmds \
75951 old_archive_from_expsyms_cmds \
75952 archive_cmds \
75953 archive_expsym_cmds \
75954 module_cmds \
75955 module_expsym_cmds \
75956 export_symbols_cmds \
75957 prelink_cmds \
75958 postinstall_cmds \
75959 postuninstall_cmds \
75960 finish_cmds \
75961 sys_lib_search_path_spec \
75962 sys_lib_dlsearch_path_spec \
75963 reload_cmds_CXX \
75964 old_archive_cmds_CXX \
75965 old_archive_from_new_cmds_CXX \
75966 old_archive_from_expsyms_cmds_CXX \
75967 archive_cmds_CXX \
75968 archive_expsym_cmds_CXX \
75969 module_cmds_CXX \
75970 module_expsym_cmds_CXX \
75971 export_symbols_cmds_CXX \
75972 prelink_cmds_CXX; do
75973 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
75974 *[\\\\\\\`\\"\\\$]*)
75975 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
75976 ;;
75977 *)
75978 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
75979 ;;
75980 esac
75981 done
75982
75983 ac_aux_dir='$ac_aux_dir'
75984 xsi_shell='$xsi_shell'
75985 lt_shell_append='$lt_shell_append'
75986
75987 # See if we are running on zsh, and set the options which allow our
75988 # commands through without removal of \ escapes INIT.
75989 if test -n "\${ZSH_VERSION+set}" ; then
75990 setopt NO_GLOB_SUBST
75991 fi
75992
75993
75994 PACKAGE='$PACKAGE'
75995 VERSION='$VERSION'
75996 TIMESTAMP='$TIMESTAMP'
75997 RM='$RM'
75998 ofile='$ofile'
75999
76000
76001
76002
76003
76004
76005 _ACEOF
76006
76007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76008
76009 # Handling of arguments.
76010 for ac_config_target in $ac_config_targets
76011 do
76012 case $ac_config_target in
76013 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
76014 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
76015 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
76016 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
76017 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
76018 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
76019 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
76020 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
76021 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
76022 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
76023 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
76024 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
76025 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
76026 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
76027 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
76028 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
76029 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
76030 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
76031 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
76032 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
76033 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
76034 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
76035 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
76036
76037 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
76038 esac
76039 done
76040
76041
76042 # If the user did not use the arguments to specify the items to instantiate,
76043 # then the envvar interface is used. Set only those that are not.
76044 # We use the long form for the default assignment because of an extremely
76045 # bizarre bug on SunOS 4.1.3.
76046 if $ac_need_defaults; then
76047 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
76048 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
76049 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
76050 fi
76051
76052 # Have a temporary directory for convenience. Make it in the build tree
76053 # simply because there is no reason against having it here, and in addition,
76054 # creating and moving files from /tmp can sometimes cause problems.
76055 # Hook for its removal unless debugging.
76056 # Note that there is a small window in which the directory will not be cleaned:
76057 # after its creation but before its name has been assigned to `$tmp'.
76058 $debug ||
76059 {
76060 tmp= ac_tmp=
76061 trap 'exit_status=$?
76062 : "${ac_tmp:=$tmp}"
76063 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
76064 ' 0
76065 trap 'as_fn_exit 1' 1 2 13 15
76066 }
76067 # Create a (secure) tmp directory for tmp files.
76068
76069 {
76070 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
76071 test -d "$tmp"
76072 } ||
76073 {
76074 tmp=./conf$$-$RANDOM
76075 (umask 077 && mkdir "$tmp")
76076 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
76077 ac_tmp=$tmp
76078
76079 # Set up the scripts for CONFIG_FILES section.
76080 # No need to generate them if there are no CONFIG_FILES.
76081 # This happens for instance with `./config.status config.h'.
76082 if test -n "$CONFIG_FILES"; then
76083
76084
76085 ac_cr=`echo X | tr X '\015'`
76086 # On cygwin, bash can eat \r inside `` if the user requested igncr.
76087 # But we know of no other shell where ac_cr would be empty at this
76088 # point, so we can use a bashism as a fallback.
76089 if test "x$ac_cr" = x; then
76090 eval ac_cr=\$\'\\r\'
76091 fi
76092 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
76093 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
76094 ac_cs_awk_cr='\\r'
76095 else
76096 ac_cs_awk_cr=$ac_cr
76097 fi
76098
76099 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
76100 _ACEOF
76101
76102
76103 {
76104 echo "cat >conf$$subs.awk <<_ACEOF" &&
76105 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
76106 echo "_ACEOF"
76107 } >conf$$subs.sh ||
76108 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76109 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
76110 ac_delim='%!_!# '
76111 for ac_last_try in false false false false false :; do
76112 . ./conf$$subs.sh ||
76113 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76114
76115 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
76116 if test $ac_delim_n = $ac_delim_num; then
76117 break
76118 elif $ac_last_try; then
76119 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76120 else
76121 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76122 fi
76123 done
76124 rm -f conf$$subs.sh
76125
76126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76127 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
76128 _ACEOF
76129 sed -n '
76130 h
76131 s/^/S["/; s/!.*/"]=/
76132 p
76133 g
76134 s/^[^!]*!//
76135 :repl
76136 t repl
76137 s/'"$ac_delim"'$//
76138 t delim
76139 :nl
76140 h
76141 s/\(.\{148\}\)..*/\1/
76142 t more1
76143 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
76144 p
76145 n
76146 b repl
76147 :more1
76148 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76149 p
76150 g
76151 s/.\{148\}//
76152 t nl
76153 :delim
76154 h
76155 s/\(.\{148\}\)..*/\1/
76156 t more2
76157 s/["\\]/\\&/g; s/^/"/; s/$/"/
76158 p
76159 b
76160 :more2
76161 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76162 p
76163 g
76164 s/.\{148\}//
76165 t delim
76166 ' <conf$$subs.awk | sed '
76167 /^[^""]/{
76168 N
76169 s/\n//
76170 }
76171 ' >>$CONFIG_STATUS || ac_write_fail=1
76172 rm -f conf$$subs.awk
76173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76174 _ACAWK
76175 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
76176 for (key in S) S_is_set[key] = 1
76177 FS = "\a"
76178
76179 }
76180 {
76181 line = $ 0
76182 nfields = split(line, field, "@")
76183 substed = 0
76184 len = length(field[1])
76185 for (i = 2; i < nfields; i++) {
76186 key = field[i]
76187 keylen = length(key)
76188 if (S_is_set[key]) {
76189 value = S[key]
76190 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
76191 len += length(value) + length(field[++i])
76192 substed = 1
76193 } else
76194 len += 1 + keylen
76195 }
76196
76197 print line
76198 }
76199
76200 _ACAWK
76201 _ACEOF
76202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76203 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
76204 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
76205 else
76206 cat
76207 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
76208 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
76209 _ACEOF
76210
76211 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
76212 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
76213 # trailing colons and then remove the whole line if VPATH becomes empty
76214 # (actually we leave an empty line to preserve line numbers).
76215 if test "x$srcdir" = x.; then
76216 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
76217 h
76218 s///
76219 s/^/:/
76220 s/[ ]*$/:/
76221 s/:\$(srcdir):/:/g
76222 s/:\${srcdir}:/:/g
76223 s/:@srcdir@:/:/g
76224 s/^:*//
76225 s/:*$//
76226 x
76227 s/\(=[ ]*\).*/\1/
76228 G
76229 s/\n//
76230 s/^[^=]*=[ ]*$//
76231 }'
76232 fi
76233
76234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76235 fi # test -n "$CONFIG_FILES"
76236
76237 # Set up the scripts for CONFIG_HEADERS section.
76238 # No need to generate them if there are no CONFIG_HEADERS.
76239 # This happens for instance with `./config.status Makefile'.
76240 if test -n "$CONFIG_HEADERS"; then
76241 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
76242 BEGIN {
76243 _ACEOF
76244
76245 # Transform confdefs.h into an awk script `defines.awk', embedded as
76246 # here-document in config.status, that substitutes the proper values into
76247 # config.h.in to produce config.h.
76248
76249 # Create a delimiter string that does not exist in confdefs.h, to ease
76250 # handling of long lines.
76251 ac_delim='%!_!# '
76252 for ac_last_try in false false :; do
76253 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
76254 if test -z "$ac_tt"; then
76255 break
76256 elif $ac_last_try; then
76257 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
76258 else
76259 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76260 fi
76261 done
76262
76263 # For the awk script, D is an array of macro values keyed by name,
76264 # likewise P contains macro parameters if any. Preserve backslash
76265 # newline sequences.
76266
76267 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
76268 sed -n '
76269 s/.\{148\}/&'"$ac_delim"'/g
76270 t rset
76271 :rset
76272 s/^[ ]*#[ ]*define[ ][ ]*/ /
76273 t def
76274 d
76275 :def
76276 s/\\$//
76277 t bsnl
76278 s/["\\]/\\&/g
76279 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76280 D["\1"]=" \3"/p
76281 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
76282 d
76283 :bsnl
76284 s/["\\]/\\&/g
76285 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76286 D["\1"]=" \3\\\\\\n"\\/p
76287 t cont
76288 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
76289 t cont
76290 d
76291 :cont
76292 n
76293 s/.\{148\}/&'"$ac_delim"'/g
76294 t clear
76295 :clear
76296 s/\\$//
76297 t bsnlc
76298 s/["\\]/\\&/g; s/^/"/; s/$/"/p
76299 d
76300 :bsnlc
76301 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
76302 b cont
76303 ' <confdefs.h | sed '
76304 s/'"$ac_delim"'/"\\\
76305 "/g' >>$CONFIG_STATUS || ac_write_fail=1
76306
76307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76308 for (key in D) D_is_set[key] = 1
76309 FS = "\a"
76310 }
76311 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
76312 line = \$ 0
76313 split(line, arg, " ")
76314 if (arg[1] == "#") {
76315 defundef = arg[2]
76316 mac1 = arg[3]
76317 } else {
76318 defundef = substr(arg[1], 2)
76319 mac1 = arg[2]
76320 }
76321 split(mac1, mac2, "(") #)
76322 macro = mac2[1]
76323 prefix = substr(line, 1, index(line, defundef) - 1)
76324 if (D_is_set[macro]) {
76325 # Preserve the white space surrounding the "#".
76326 print prefix "define", macro P[macro] D[macro]
76327 next
76328 } else {
76329 # Replace #undef with comments. This is necessary, for example,
76330 # in the case of _POSIX_SOURCE, which is predefined and required
76331 # on some systems where configure will not decide to define it.
76332 if (defundef == "undef") {
76333 print "/*", prefix defundef, macro, "*/"
76334 next
76335 }
76336 }
76337 }
76338 { print }
76339 _ACAWK
76340 _ACEOF
76341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76342 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
76343 fi # test -n "$CONFIG_HEADERS"
76344
76345
76346 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
76347 shift
76348 for ac_tag
76349 do
76350 case $ac_tag in
76351 :[FHLC]) ac_mode=$ac_tag; continue;;
76352 esac
76353 case $ac_mode$ac_tag in
76354 :[FHL]*:*);;
76355 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
76356 :[FH]-) ac_tag=-:-;;
76357 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
76358 esac
76359 ac_save_IFS=$IFS
76360 IFS=:
76361 set x $ac_tag
76362 IFS=$ac_save_IFS
76363 shift
76364 ac_file=$1
76365 shift
76366
76367 case $ac_mode in
76368 :L) ac_source=$1;;
76369 :[FH])
76370 ac_file_inputs=
76371 for ac_f
76372 do
76373 case $ac_f in
76374 -) ac_f="$ac_tmp/stdin";;
76375 *) # Look for the file first in the build tree, then in the source tree
76376 # (if the path is not absolute). The absolute path cannot be DOS-style,
76377 # because $ac_f cannot contain `:'.
76378 test -f "$ac_f" ||
76379 case $ac_f in
76380 [\\/$]*) false;;
76381 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
76382 esac ||
76383 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
76384 esac
76385 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
76386 as_fn_append ac_file_inputs " '$ac_f'"
76387 done
76388
76389 # Let's still pretend it is `configure' which instantiates (i.e., don't
76390 # use $as_me), people would be surprised to read:
76391 # /* config.h. Generated by config.status. */
76392 configure_input='Generated from '`
76393 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
76394 `' by configure.'
76395 if test x"$ac_file" != x-; then
76396 configure_input="$ac_file. $configure_input"
76397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
76398 $as_echo "$as_me: creating $ac_file" >&6;}
76399 fi
76400 # Neutralize special characters interpreted by sed in replacement strings.
76401 case $configure_input in #(
76402 *\&* | *\|* | *\\* )
76403 ac_sed_conf_input=`$as_echo "$configure_input" |
76404 sed 's/[\\\\&|]/\\\\&/g'`;; #(
76405 *) ac_sed_conf_input=$configure_input;;
76406 esac
76407
76408 case $ac_tag in
76409 *:-:* | *:-) cat >"$ac_tmp/stdin" \
76410 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
76411 esac
76412 ;;
76413 esac
76414
76415 ac_dir=`$as_dirname -- "$ac_file" ||
76416 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76417 X"$ac_file" : 'X\(//\)[^/]' \| \
76418 X"$ac_file" : 'X\(//\)$' \| \
76419 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
76420 $as_echo X"$ac_file" |
76421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76422 s//\1/
76423 q
76424 }
76425 /^X\(\/\/\)[^/].*/{
76426 s//\1/
76427 q
76428 }
76429 /^X\(\/\/\)$/{
76430 s//\1/
76431 q
76432 }
76433 /^X\(\/\).*/{
76434 s//\1/
76435 q
76436 }
76437 s/.*/./; q'`
76438 as_dir="$ac_dir"; as_fn_mkdir_p
76439 ac_builddir=.
76440
76441 case "$ac_dir" in
76442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
76443 *)
76444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
76445 # A ".." for each directory in $ac_dir_suffix.
76446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
76447 case $ac_top_builddir_sub in
76448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
76449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
76450 esac ;;
76451 esac
76452 ac_abs_top_builddir=$ac_pwd
76453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
76454 # for backward compatibility:
76455 ac_top_builddir=$ac_top_build_prefix
76456
76457 case $srcdir in
76458 .) # We are building in place.
76459 ac_srcdir=.
76460 ac_top_srcdir=$ac_top_builddir_sub
76461 ac_abs_top_srcdir=$ac_pwd ;;
76462 [\\/]* | ?:[\\/]* ) # Absolute name.
76463 ac_srcdir=$srcdir$ac_dir_suffix;
76464 ac_top_srcdir=$srcdir
76465 ac_abs_top_srcdir=$srcdir ;;
76466 *) # Relative name.
76467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
76468 ac_top_srcdir=$ac_top_build_prefix$srcdir
76469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
76470 esac
76471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
76472
76473
76474 case $ac_mode in
76475 :F)
76476 #
76477 # CONFIG_FILE
76478 #
76479
76480 case $INSTALL in
76481 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
76482 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
76483 esac
76484 ac_MKDIR_P=$MKDIR_P
76485 case $MKDIR_P in
76486 [\\/$]* | ?:[\\/]* ) ;;
76487 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
76488 esac
76489 _ACEOF
76490
76491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76492 # If the template does not know about datarootdir, expand it.
76493 # FIXME: This hack should be removed a few years after 2.60.
76494 ac_datarootdir_hack=; ac_datarootdir_seen=
76495 ac_sed_dataroot='
76496 /datarootdir/ {
76497 p
76498 q
76499 }
76500 /@datadir@/p
76501 /@docdir@/p
76502 /@infodir@/p
76503 /@localedir@/p
76504 /@mandir@/p'
76505 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
76506 *datarootdir*) ac_datarootdir_seen=yes;;
76507 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
76508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
76509 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
76510 _ACEOF
76511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76512 ac_datarootdir_hack='
76513 s&@datadir@&$datadir&g
76514 s&@docdir@&$docdir&g
76515 s&@infodir@&$infodir&g
76516 s&@localedir@&$localedir&g
76517 s&@mandir@&$mandir&g
76518 s&\\\${datarootdir}&$datarootdir&g' ;;
76519 esac
76520 _ACEOF
76521
76522 # Neutralize VPATH when `$srcdir' = `.'.
76523 # Shell code in configure.ac might set extrasub.
76524 # FIXME: do we really want to maintain this feature?
76525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76526 ac_sed_extra="$ac_vpsub
76527 $extrasub
76528 _ACEOF
76529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76530 :t
76531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
76532 s|@configure_input@|$ac_sed_conf_input|;t t
76533 s&@top_builddir@&$ac_top_builddir_sub&;t t
76534 s&@top_build_prefix@&$ac_top_build_prefix&;t t
76535 s&@srcdir@&$ac_srcdir&;t t
76536 s&@abs_srcdir@&$ac_abs_srcdir&;t t
76537 s&@top_srcdir@&$ac_top_srcdir&;t t
76538 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
76539 s&@builddir@&$ac_builddir&;t t
76540 s&@abs_builddir@&$ac_abs_builddir&;t t
76541 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
76542 s&@INSTALL@&$ac_INSTALL&;t t
76543 s&@MKDIR_P@&$ac_MKDIR_P&;t t
76544 $ac_datarootdir_hack
76545 "
76546 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
76547 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76548
76549 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
76550 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
76551 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
76552 "$ac_tmp/out"`; test -z "$ac_out"; } &&
76553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76554 which seems to be undefined. Please make sure it is defined" >&5
76555 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76556 which seems to be undefined. Please make sure it is defined" >&2;}
76557
76558 rm -f "$ac_tmp/stdin"
76559 case $ac_file in
76560 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
76561 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
76562 esac \
76563 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76564 ;;
76565 :H)
76566 #
76567 # CONFIG_HEADER
76568 #
76569 if test x"$ac_file" != x-; then
76570 {
76571 $as_echo "/* $configure_input */" \
76572 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
76573 } >"$ac_tmp/config.h" \
76574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76575 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
76577 $as_echo "$as_me: $ac_file is unchanged" >&6;}
76578 else
76579 rm -f "$ac_file"
76580 mv "$ac_tmp/config.h" "$ac_file" \
76581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76582 fi
76583 else
76584 $as_echo "/* $configure_input */" \
76585 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
76586 || as_fn_error $? "could not create -" "$LINENO" 5
76587 fi
76588 # Compute "$ac_file"'s index in $config_headers.
76589 _am_arg="$ac_file"
76590 _am_stamp_count=1
76591 for _am_header in $config_headers :; do
76592 case $_am_header in
76593 $_am_arg | $_am_arg:* )
76594 break ;;
76595 * )
76596 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
76597 esac
76598 done
76599 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
76600 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76601 X"$_am_arg" : 'X\(//\)[^/]' \| \
76602 X"$_am_arg" : 'X\(//\)$' \| \
76603 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
76604 $as_echo X"$_am_arg" |
76605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76606 s//\1/
76607 q
76608 }
76609 /^X\(\/\/\)[^/].*/{
76610 s//\1/
76611 q
76612 }
76613 /^X\(\/\/\)$/{
76614 s//\1/
76615 q
76616 }
76617 /^X\(\/\).*/{
76618 s//\1/
76619 q
76620 }
76621 s/.*/./; q'`/stamp-h$_am_stamp_count
76622 ;;
76623
76624 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
76625 $as_echo "$as_me: executing $ac_file commands" >&6;}
76626 ;;
76627 esac
76628
76629
76630 case $ac_file$ac_mode in
76631 "default-1":C)
76632 # Only add multilib support code if we just rebuilt the top-level
76633 # Makefile.
76634 case " $CONFIG_FILES " in
76635 *" Makefile "*)
76636 ac_file=Makefile . ${multi_basedir}/config-ml.in
76637 ;;
76638 esac ;;
76639 "libtool":C)
76640
76641 # See if we are running on zsh, and set the options which allow our
76642 # commands through without removal of \ escapes.
76643 if test -n "${ZSH_VERSION+set}" ; then
76644 setopt NO_GLOB_SUBST
76645 fi
76646
76647 cfgfile="${ofile}T"
76648 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
76649 $RM "$cfgfile"
76650
76651 cat <<_LT_EOF >> "$cfgfile"
76652 #! $SHELL
76653
76654 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
76655 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
76656 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
76657 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
76658 #
76659 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
76660 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
76661 # Written by Gordon Matzigkeit, 1996
76662 #
76663 # This file is part of GNU Libtool.
76664 #
76665 # GNU Libtool is free software; you can redistribute it and/or
76666 # modify it under the terms of the GNU General Public License as
76667 # published by the Free Software Foundation; either version 2 of
76668 # the License, or (at your option) any later version.
76669 #
76670 # As a special exception to the GNU General Public License,
76671 # if you distribute this file as part of a program or library that
76672 # is built using GNU Libtool, you may include this file under the
76673 # same distribution terms that you use for the rest of that program.
76674 #
76675 # GNU Libtool is distributed in the hope that it will be useful,
76676 # but WITHOUT ANY WARRANTY; without even the implied warranty of
76677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76678 # GNU General Public License for more details.
76679 #
76680 # You should have received a copy of the GNU General Public License
76681 # along with GNU Libtool; see the file COPYING. If not, a copy
76682 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
76683 # obtained by writing to the Free Software Foundation, Inc.,
76684 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
76685
76686
76687 # The names of the tagged configurations supported by this script.
76688 available_tags="CXX "
76689
76690 # ### BEGIN LIBTOOL CONFIG
76691
76692 # Which release of libtool.m4 was used?
76693 macro_version=$macro_version
76694 macro_revision=$macro_revision
76695
76696 # Whether or not to build shared libraries.
76697 build_libtool_libs=$enable_shared
76698
76699 # Whether or not to build static libraries.
76700 build_old_libs=$enable_static
76701
76702 # What type of objects to build.
76703 pic_mode=$pic_mode
76704
76705 # Whether or not to optimize for fast installation.
76706 fast_install=$enable_fast_install
76707
76708 # Shell to use when invoking shell scripts.
76709 SHELL=$lt_SHELL
76710
76711 # An echo program that protects backslashes.
76712 ECHO=$lt_ECHO
76713
76714 # The host system.
76715 host_alias=$host_alias
76716 host=$host
76717 host_os=$host_os
76718
76719 # The build system.
76720 build_alias=$build_alias
76721 build=$build
76722 build_os=$build_os
76723
76724 # A sed program that does not truncate output.
76725 SED=$lt_SED
76726
76727 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
76728 Xsed="\$SED -e 1s/^X//"
76729
76730 # A grep program that handles long lines.
76731 GREP=$lt_GREP
76732
76733 # An ERE matcher.
76734 EGREP=$lt_EGREP
76735
76736 # A literal string matcher.
76737 FGREP=$lt_FGREP
76738
76739 # A BSD- or MS-compatible name lister.
76740 NM=$lt_NM
76741
76742 # Whether we need soft or hard links.
76743 LN_S=$lt_LN_S
76744
76745 # What is the maximum length of a command?
76746 max_cmd_len=$max_cmd_len
76747
76748 # Object file suffix (normally "o").
76749 objext=$ac_objext
76750
76751 # Executable file suffix (normally "").
76752 exeext=$exeext
76753
76754 # whether the shell understands "unset".
76755 lt_unset=$lt_unset
76756
76757 # turn spaces into newlines.
76758 SP2NL=$lt_lt_SP2NL
76759
76760 # turn newlines into spaces.
76761 NL2SP=$lt_lt_NL2SP
76762
76763 # An object symbol dumper.
76764 OBJDUMP=$lt_OBJDUMP
76765
76766 # Method to check whether dependent libraries are shared objects.
76767 deplibs_check_method=$lt_deplibs_check_method
76768
76769 # Command to use when deplibs_check_method == "file_magic".
76770 file_magic_cmd=$lt_file_magic_cmd
76771
76772 # The archiver.
76773 AR=$lt_AR
76774 AR_FLAGS=$lt_AR_FLAGS
76775
76776 # A symbol stripping program.
76777 STRIP=$lt_STRIP
76778
76779 # Commands used to install an old-style archive.
76780 RANLIB=$lt_RANLIB
76781 old_postinstall_cmds=$lt_old_postinstall_cmds
76782 old_postuninstall_cmds=$lt_old_postuninstall_cmds
76783
76784 # Whether to use a lock for old archive extraction.
76785 lock_old_archive_extraction=$lock_old_archive_extraction
76786
76787 # A C compiler.
76788 LTCC=$lt_CC
76789
76790 # LTCC compiler flags.
76791 LTCFLAGS=$lt_CFLAGS
76792
76793 # Take the output of nm and produce a listing of raw symbols and C names.
76794 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
76795
76796 # Transform the output of nm in a proper C declaration.
76797 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
76798
76799 # Transform the output of nm in a C name address pair.
76800 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
76801
76802 # Transform the output of nm in a C name address pair when lib prefix is needed.
76803 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
76804
76805 # The name of the directory that contains temporary libtool files.
76806 objdir=$objdir
76807
76808 # Used to examine libraries when file_magic_cmd begins with "file".
76809 MAGIC_CMD=$MAGIC_CMD
76810
76811 # Must we lock files when doing compilation?
76812 need_locks=$lt_need_locks
76813
76814 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
76815 DSYMUTIL=$lt_DSYMUTIL
76816
76817 # Tool to change global to local symbols on Mac OS X.
76818 NMEDIT=$lt_NMEDIT
76819
76820 # Tool to manipulate fat objects and archives on Mac OS X.
76821 LIPO=$lt_LIPO
76822
76823 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
76824 OTOOL=$lt_OTOOL
76825
76826 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
76827 OTOOL64=$lt_OTOOL64
76828
76829 # Old archive suffix (normally "a").
76830 libext=$libext
76831
76832 # Shared library suffix (normally ".so").
76833 shrext_cmds=$lt_shrext_cmds
76834
76835 # The commands to extract the exported symbol list from a shared archive.
76836 extract_expsyms_cmds=$lt_extract_expsyms_cmds
76837
76838 # Variables whose values should be saved in libtool wrapper scripts and
76839 # restored at link time.
76840 variables_saved_for_relink=$lt_variables_saved_for_relink
76841
76842 # Do we need the "lib" prefix for modules?
76843 need_lib_prefix=$need_lib_prefix
76844
76845 # Do we need a version for libraries?
76846 need_version=$need_version
76847
76848 # Library versioning type.
76849 version_type=$version_type
76850
76851 # Shared library runtime path variable.
76852 runpath_var=$runpath_var
76853
76854 # Shared library path variable.
76855 shlibpath_var=$shlibpath_var
76856
76857 # Is shlibpath searched before the hard-coded library search path?
76858 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
76859
76860 # Format of library name prefix.
76861 libname_spec=$lt_libname_spec
76862
76863 # List of archive names. First name is the real one, the rest are links.
76864 # The last name is the one that the linker finds with -lNAME
76865 library_names_spec=$lt_library_names_spec
76866
76867 # The coded name of the library, if different from the real name.
76868 soname_spec=$lt_soname_spec
76869
76870 # Permission mode override for installation of shared libraries.
76871 install_override_mode=$lt_install_override_mode
76872
76873 # Command to use after installation of a shared archive.
76874 postinstall_cmds=$lt_postinstall_cmds
76875
76876 # Command to use after uninstallation of a shared archive.
76877 postuninstall_cmds=$lt_postuninstall_cmds
76878
76879 # Commands used to finish a libtool library installation in a directory.
76880 finish_cmds=$lt_finish_cmds
76881
76882 # As "finish_cmds", except a single script fragment to be evaled but
76883 # not shown.
76884 finish_eval=$lt_finish_eval
76885
76886 # Whether we should hardcode library paths into libraries.
76887 hardcode_into_libs=$hardcode_into_libs
76888
76889 # Compile-time system search path for libraries.
76890 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
76891
76892 # Run-time system search path for libraries.
76893 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
76894
76895 # Whether dlopen is supported.
76896 dlopen_support=$enable_dlopen
76897
76898 # Whether dlopen of programs is supported.
76899 dlopen_self=$enable_dlopen_self
76900
76901 # Whether dlopen of statically linked programs is supported.
76902 dlopen_self_static=$enable_dlopen_self_static
76903
76904 # Commands to strip libraries.
76905 old_striplib=$lt_old_striplib
76906 striplib=$lt_striplib
76907
76908
76909 # The linker used to build libraries.
76910 LD=$lt_LD
76911
76912 # How to create reloadable object files.
76913 reload_flag=$lt_reload_flag
76914 reload_cmds=$lt_reload_cmds
76915
76916 # Commands used to build an old-style archive.
76917 old_archive_cmds=$lt_old_archive_cmds
76918
76919 # A language specific compiler.
76920 CC=$lt_compiler
76921
76922 # Is the compiler the GNU compiler?
76923 with_gcc=$GCC
76924
76925 # Compiler flag to turn off builtin functions.
76926 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
76927
76928 # How to pass a linker flag through the compiler.
76929 wl=$lt_lt_prog_compiler_wl
76930
76931 # Additional compiler flags for building library objects.
76932 pic_flag=$lt_lt_prog_compiler_pic
76933
76934 # Compiler flag to prevent dynamic linking.
76935 link_static_flag=$lt_lt_prog_compiler_static
76936
76937 # Does compiler simultaneously support -c and -o options?
76938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
76939
76940 # Whether or not to add -lc for building shared libraries.
76941 build_libtool_need_lc=$archive_cmds_need_lc
76942
76943 # Whether or not to disallow shared libs when runtime libs are static.
76944 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
76945
76946 # Compiler flag to allow reflexive dlopens.
76947 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
76948
76949 # Compiler flag to generate shared objects directly from archives.
76950 whole_archive_flag_spec=$lt_whole_archive_flag_spec
76951
76952 # Whether the compiler copes with passing no objects directly.
76953 compiler_needs_object=$lt_compiler_needs_object
76954
76955 # Create an old-style archive from a shared archive.
76956 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
76957
76958 # Create a temporary old-style archive to link instead of a shared archive.
76959 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
76960
76961 # Commands used to build a shared archive.
76962 archive_cmds=$lt_archive_cmds
76963 archive_expsym_cmds=$lt_archive_expsym_cmds
76964
76965 # Commands used to build a loadable module if different from building
76966 # a shared archive.
76967 module_cmds=$lt_module_cmds
76968 module_expsym_cmds=$lt_module_expsym_cmds
76969
76970 # Whether we are building with GNU ld or not.
76971 with_gnu_ld=$lt_with_gnu_ld
76972
76973 # Flag that allows shared libraries with undefined symbols to be built.
76974 allow_undefined_flag=$lt_allow_undefined_flag
76975
76976 # Flag that enforces no undefined symbols.
76977 no_undefined_flag=$lt_no_undefined_flag
76978
76979 # Flag to hardcode \$libdir into a binary during linking.
76980 # This must work even if \$libdir does not exist
76981 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
76982
76983 # If ld is used when linking, flag to hardcode \$libdir into a binary
76984 # during linking. This must work even if \$libdir does not exist.
76985 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
76986
76987 # Whether we need a single "-rpath" flag with a separated argument.
76988 hardcode_libdir_separator=$lt_hardcode_libdir_separator
76989
76990 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76991 # DIR into the resulting binary.
76992 hardcode_direct=$hardcode_direct
76993
76994 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76995 # DIR into the resulting binary and the resulting library dependency is
76996 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
76997 # library is relocated.
76998 hardcode_direct_absolute=$hardcode_direct_absolute
76999
77000 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
77001 # into the resulting binary.
77002 hardcode_minus_L=$hardcode_minus_L
77003
77004 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77005 # into the resulting binary.
77006 hardcode_shlibpath_var=$hardcode_shlibpath_var
77007
77008 # Set to "yes" if building a shared library automatically hardcodes DIR
77009 # into the library and all subsequent libraries and executables linked
77010 # against it.
77011 hardcode_automatic=$hardcode_automatic
77012
77013 # Set to yes if linker adds runtime paths of dependent libraries
77014 # to runtime path list.
77015 inherit_rpath=$inherit_rpath
77016
77017 # Whether libtool must link a program against all its dependency libraries.
77018 link_all_deplibs=$link_all_deplibs
77019
77020 # Fix the shell variable \$srcfile for the compiler.
77021 fix_srcfile_path=$lt_fix_srcfile_path
77022
77023 # Set to "yes" if exported symbols are required.
77024 always_export_symbols=$always_export_symbols
77025
77026 # The commands to list exported symbols.
77027 export_symbols_cmds=$lt_export_symbols_cmds
77028
77029 # Symbols that should not be listed in the preloaded symbols.
77030 exclude_expsyms=$lt_exclude_expsyms
77031
77032 # Symbols that must always be exported.
77033 include_expsyms=$lt_include_expsyms
77034
77035 # Commands necessary for linking programs (against libraries) with templates.
77036 prelink_cmds=$lt_prelink_cmds
77037
77038 # Specify filename containing input files.
77039 file_list_spec=$lt_file_list_spec
77040
77041 # How to hardcode a shared library path into an executable.
77042 hardcode_action=$hardcode_action
77043
77044 # The directories searched by this compiler when creating a shared library.
77045 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
77046
77047 # Dependencies to place before and after the objects being linked to
77048 # create a shared library.
77049 predep_objects=$lt_predep_objects
77050 postdep_objects=$lt_postdep_objects
77051 predeps=$lt_predeps
77052 postdeps=$lt_postdeps
77053
77054 # The library search path used internally by the compiler when linking
77055 # a shared library.
77056 compiler_lib_search_path=$lt_compiler_lib_search_path
77057
77058 # ### END LIBTOOL CONFIG
77059
77060 _LT_EOF
77061
77062 case $host_os in
77063 aix3*)
77064 cat <<\_LT_EOF >> "$cfgfile"
77065 # AIX sometimes has problems with the GCC collect2 program. For some
77066 # reason, if we set the COLLECT_NAMES environment variable, the problems
77067 # vanish in a puff of smoke.
77068 if test "X${COLLECT_NAMES+set}" != Xset; then
77069 COLLECT_NAMES=
77070 export COLLECT_NAMES
77071 fi
77072 _LT_EOF
77073 ;;
77074 esac
77075
77076
77077 ltmain="$ac_aux_dir/ltmain.sh"
77078
77079
77080 # We use sed instead of cat because bash on DJGPP gets confused if
77081 # if finds mixed CR/LF and LF-only lines. Since sed operates in
77082 # text mode, it properly converts lines to CR/LF. This bash problem
77083 # is reportedly fixed, but why not run on old versions too?
77084 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
77085 || (rm -f "$cfgfile"; exit 1)
77086
77087 case $xsi_shell in
77088 yes)
77089 cat << \_LT_EOF >> "$cfgfile"
77090
77091 # func_dirname file append nondir_replacement
77092 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77093 # otherwise set result to NONDIR_REPLACEMENT.
77094 func_dirname ()
77095 {
77096 case ${1} in
77097 */*) func_dirname_result="${1%/*}${2}" ;;
77098 * ) func_dirname_result="${3}" ;;
77099 esac
77100 }
77101
77102 # func_basename file
77103 func_basename ()
77104 {
77105 func_basename_result="${1##*/}"
77106 }
77107
77108 # func_dirname_and_basename file append nondir_replacement
77109 # perform func_basename and func_dirname in a single function
77110 # call:
77111 # dirname: Compute the dirname of FILE. If nonempty,
77112 # add APPEND to the result, otherwise set result
77113 # to NONDIR_REPLACEMENT.
77114 # value returned in "$func_dirname_result"
77115 # basename: Compute filename of FILE.
77116 # value retuned in "$func_basename_result"
77117 # Implementation must be kept synchronized with func_dirname
77118 # and func_basename. For efficiency, we do not delegate to
77119 # those functions but instead duplicate the functionality here.
77120 func_dirname_and_basename ()
77121 {
77122 case ${1} in
77123 */*) func_dirname_result="${1%/*}${2}" ;;
77124 * ) func_dirname_result="${3}" ;;
77125 esac
77126 func_basename_result="${1##*/}"
77127 }
77128
77129 # func_stripname prefix suffix name
77130 # strip PREFIX and SUFFIX off of NAME.
77131 # PREFIX and SUFFIX must not contain globbing or regex special
77132 # characters, hashes, percent signs, but SUFFIX may contain a leading
77133 # dot (in which case that matches only a dot).
77134 func_stripname ()
77135 {
77136 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
77137 # positional parameters, so assign one to ordinary parameter first.
77138 func_stripname_result=${3}
77139 func_stripname_result=${func_stripname_result#"${1}"}
77140 func_stripname_result=${func_stripname_result%"${2}"}
77141 }
77142
77143 # func_opt_split
77144 func_opt_split ()
77145 {
77146 func_opt_split_opt=${1%%=*}
77147 func_opt_split_arg=${1#*=}
77148 }
77149
77150 # func_lo2o object
77151 func_lo2o ()
77152 {
77153 case ${1} in
77154 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
77155 *) func_lo2o_result=${1} ;;
77156 esac
77157 }
77158
77159 # func_xform libobj-or-source
77160 func_xform ()
77161 {
77162 func_xform_result=${1%.*}.lo
77163 }
77164
77165 # func_arith arithmetic-term...
77166 func_arith ()
77167 {
77168 func_arith_result=$(( $* ))
77169 }
77170
77171 # func_len string
77172 # STRING may not start with a hyphen.
77173 func_len ()
77174 {
77175 func_len_result=${#1}
77176 }
77177
77178 _LT_EOF
77179 ;;
77180 *) # Bourne compatible functions.
77181 cat << \_LT_EOF >> "$cfgfile"
77182
77183 # func_dirname file append nondir_replacement
77184 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77185 # otherwise set result to NONDIR_REPLACEMENT.
77186 func_dirname ()
77187 {
77188 # Extract subdirectory from the argument.
77189 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
77190 if test "X$func_dirname_result" = "X${1}"; then
77191 func_dirname_result="${3}"
77192 else
77193 func_dirname_result="$func_dirname_result${2}"
77194 fi
77195 }
77196
77197 # func_basename file
77198 func_basename ()
77199 {
77200 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
77201 }
77202
77203
77204 # func_stripname prefix suffix name
77205 # strip PREFIX and SUFFIX off of NAME.
77206 # PREFIX and SUFFIX must not contain globbing or regex special
77207 # characters, hashes, percent signs, but SUFFIX may contain a leading
77208 # dot (in which case that matches only a dot).
77209 # func_strip_suffix prefix name
77210 func_stripname ()
77211 {
77212 case ${2} in
77213 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
77214 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
77215 esac
77216 }
77217
77218 # sed scripts:
77219 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
77220 my_sed_long_arg='1s/^-[^=]*=//'
77221
77222 # func_opt_split
77223 func_opt_split ()
77224 {
77225 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
77226 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
77227 }
77228
77229 # func_lo2o object
77230 func_lo2o ()
77231 {
77232 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
77233 }
77234
77235 # func_xform libobj-or-source
77236 func_xform ()
77237 {
77238 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
77239 }
77240
77241 # func_arith arithmetic-term...
77242 func_arith ()
77243 {
77244 func_arith_result=`expr "$@"`
77245 }
77246
77247 # func_len string
77248 # STRING may not start with a hyphen.
77249 func_len ()
77250 {
77251 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
77252 }
77253
77254 _LT_EOF
77255 esac
77256
77257 case $lt_shell_append in
77258 yes)
77259 cat << \_LT_EOF >> "$cfgfile"
77260
77261 # func_append var value
77262 # Append VALUE to the end of shell variable VAR.
77263 func_append ()
77264 {
77265 eval "$1+=\$2"
77266 }
77267 _LT_EOF
77268 ;;
77269 *)
77270 cat << \_LT_EOF >> "$cfgfile"
77271
77272 # func_append var value
77273 # Append VALUE to the end of shell variable VAR.
77274 func_append ()
77275 {
77276 eval "$1=\$$1\$2"
77277 }
77278
77279 _LT_EOF
77280 ;;
77281 esac
77282
77283
77284 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
77285 || (rm -f "$cfgfile"; exit 1)
77286
77287 mv -f "$cfgfile" "$ofile" ||
77288 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
77289 chmod +x "$ofile"
77290
77291
77292 cat <<_LT_EOF >> "$ofile"
77293
77294 # ### BEGIN LIBTOOL TAG CONFIG: CXX
77295
77296 # The linker used to build libraries.
77297 LD=$lt_LD_CXX
77298
77299 # How to create reloadable object files.
77300 reload_flag=$lt_reload_flag_CXX
77301 reload_cmds=$lt_reload_cmds_CXX
77302
77303 # Commands used to build an old-style archive.
77304 old_archive_cmds=$lt_old_archive_cmds_CXX
77305
77306 # A language specific compiler.
77307 CC=$lt_compiler_CXX
77308
77309 # Is the compiler the GNU compiler?
77310 with_gcc=$GCC_CXX
77311
77312 # Compiler flag to turn off builtin functions.
77313 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
77314
77315 # How to pass a linker flag through the compiler.
77316 wl=$lt_lt_prog_compiler_wl_CXX
77317
77318 # Additional compiler flags for building library objects.
77319 pic_flag=$lt_lt_prog_compiler_pic_CXX
77320
77321 # Compiler flag to prevent dynamic linking.
77322 link_static_flag=$lt_lt_prog_compiler_static_CXX
77323
77324 # Does compiler simultaneously support -c and -o options?
77325 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
77326
77327 # Whether or not to add -lc for building shared libraries.
77328 build_libtool_need_lc=$archive_cmds_need_lc_CXX
77329
77330 # Whether or not to disallow shared libs when runtime libs are static.
77331 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
77332
77333 # Compiler flag to allow reflexive dlopens.
77334 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
77335
77336 # Compiler flag to generate shared objects directly from archives.
77337 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
77338
77339 # Whether the compiler copes with passing no objects directly.
77340 compiler_needs_object=$lt_compiler_needs_object_CXX
77341
77342 # Create an old-style archive from a shared archive.
77343 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
77344
77345 # Create a temporary old-style archive to link instead of a shared archive.
77346 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
77347
77348 # Commands used to build a shared archive.
77349 archive_cmds=$lt_archive_cmds_CXX
77350 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
77351
77352 # Commands used to build a loadable module if different from building
77353 # a shared archive.
77354 module_cmds=$lt_module_cmds_CXX
77355 module_expsym_cmds=$lt_module_expsym_cmds_CXX
77356
77357 # Whether we are building with GNU ld or not.
77358 with_gnu_ld=$lt_with_gnu_ld_CXX
77359
77360 # Flag that allows shared libraries with undefined symbols to be built.
77361 allow_undefined_flag=$lt_allow_undefined_flag_CXX
77362
77363 # Flag that enforces no undefined symbols.
77364 no_undefined_flag=$lt_no_undefined_flag_CXX
77365
77366 # Flag to hardcode \$libdir into a binary during linking.
77367 # This must work even if \$libdir does not exist
77368 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
77369
77370 # If ld is used when linking, flag to hardcode \$libdir into a binary
77371 # during linking. This must work even if \$libdir does not exist.
77372 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
77373
77374 # Whether we need a single "-rpath" flag with a separated argument.
77375 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
77376
77377 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77378 # DIR into the resulting binary.
77379 hardcode_direct=$hardcode_direct_CXX
77380
77381 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77382 # DIR into the resulting binary and the resulting library dependency is
77383 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
77384 # library is relocated.
77385 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
77386
77387 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
77388 # into the resulting binary.
77389 hardcode_minus_L=$hardcode_minus_L_CXX
77390
77391 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77392 # into the resulting binary.
77393 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
77394
77395 # Set to "yes" if building a shared library automatically hardcodes DIR
77396 # into the library and all subsequent libraries and executables linked
77397 # against it.
77398 hardcode_automatic=$hardcode_automatic_CXX
77399
77400 # Set to yes if linker adds runtime paths of dependent libraries
77401 # to runtime path list.
77402 inherit_rpath=$inherit_rpath_CXX
77403
77404 # Whether libtool must link a program against all its dependency libraries.
77405 link_all_deplibs=$link_all_deplibs_CXX
77406
77407 # Fix the shell variable \$srcfile for the compiler.
77408 fix_srcfile_path=$lt_fix_srcfile_path_CXX
77409
77410 # Set to "yes" if exported symbols are required.
77411 always_export_symbols=$always_export_symbols_CXX
77412
77413 # The commands to list exported symbols.
77414 export_symbols_cmds=$lt_export_symbols_cmds_CXX
77415
77416 # Symbols that should not be listed in the preloaded symbols.
77417 exclude_expsyms=$lt_exclude_expsyms_CXX
77418
77419 # Symbols that must always be exported.
77420 include_expsyms=$lt_include_expsyms_CXX
77421
77422 # Commands necessary for linking programs (against libraries) with templates.
77423 prelink_cmds=$lt_prelink_cmds_CXX
77424
77425 # Specify filename containing input files.
77426 file_list_spec=$lt_file_list_spec_CXX
77427
77428 # How to hardcode a shared library path into an executable.
77429 hardcode_action=$hardcode_action_CXX
77430
77431 # The directories searched by this compiler when creating a shared library.
77432 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
77433
77434 # Dependencies to place before and after the objects being linked to
77435 # create a shared library.
77436 predep_objects=$lt_predep_objects_CXX
77437 postdep_objects=$lt_postdep_objects_CXX
77438 predeps=$lt_predeps_CXX
77439 postdeps=$lt_postdeps_CXX
77440
77441 # The library search path used internally by the compiler when linking
77442 # a shared library.
77443 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
77444
77445 # ### END LIBTOOL TAG CONFIG: CXX
77446 _LT_EOF
77447
77448 ;;
77449 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
77450 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
77451 "include/Makefile":F) cat > vpsed$$ << \_EOF
77452 s!`test -f '$<' || echo '$(srcdir)/'`!!
77453 _EOF
77454 sed -f vpsed$$ $ac_file > tmp$$
77455 mv tmp$$ $ac_file
77456 rm vpsed$$
77457 echo 'MULTISUBDIR =' >> $ac_file
77458 ml_norecursion=yes
77459 . ${multi_basedir}/config-ml.in
77460 { ml_norecursion=; unset ml_norecursion;}
77461 ;;
77462 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
77463 s!`test -f '$<' || echo '$(srcdir)/'`!!
77464 _EOF
77465 sed -f vpsed$$ $ac_file > tmp$$
77466 mv tmp$$ $ac_file
77467 rm vpsed$$
77468 echo 'MULTISUBDIR =' >> $ac_file
77469 ml_norecursion=yes
77470 . ${multi_basedir}/config-ml.in
77471 { ml_norecursion=; unset ml_norecursion;}
77472 ;;
77473 "src/Makefile":F) cat > vpsed$$ << \_EOF
77474 s!`test -f '$<' || echo '$(srcdir)/'`!!
77475 _EOF
77476 sed -f vpsed$$ $ac_file > tmp$$
77477 mv tmp$$ $ac_file
77478 rm vpsed$$
77479 echo 'MULTISUBDIR =' >> $ac_file
77480 ml_norecursion=yes
77481 . ${multi_basedir}/config-ml.in
77482 { ml_norecursion=; unset ml_norecursion;}
77483 ;;
77484 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
77485 s!`test -f '$<' || echo '$(srcdir)/'`!!
77486 _EOF
77487 sed -f vpsed$$ $ac_file > tmp$$
77488 mv tmp$$ $ac_file
77489 rm vpsed$$
77490 echo 'MULTISUBDIR =' >> $ac_file
77491 ml_norecursion=yes
77492 . ${multi_basedir}/config-ml.in
77493 { ml_norecursion=; unset ml_norecursion;}
77494 ;;
77495 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
77496 s!`test -f '$<' || echo '$(srcdir)/'`!!
77497 _EOF
77498 sed -f vpsed$$ $ac_file > tmp$$
77499 mv tmp$$ $ac_file
77500 rm vpsed$$
77501 echo 'MULTISUBDIR =' >> $ac_file
77502 ml_norecursion=yes
77503 . ${multi_basedir}/config-ml.in
77504 { ml_norecursion=; unset ml_norecursion;}
77505 ;;
77506 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
77507 s!`test -f '$<' || echo '$(srcdir)/'`!!
77508 _EOF
77509 sed -f vpsed$$ $ac_file > tmp$$
77510 mv tmp$$ $ac_file
77511 rm vpsed$$
77512 echo 'MULTISUBDIR =' >> $ac_file
77513 ml_norecursion=yes
77514 . ${multi_basedir}/config-ml.in
77515 { ml_norecursion=; unset ml_norecursion;}
77516 ;;
77517 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
77518 s!`test -f '$<' || echo '$(srcdir)/'`!!
77519 _EOF
77520 sed -f vpsed$$ $ac_file > tmp$$
77521 mv tmp$$ $ac_file
77522 rm vpsed$$
77523 echo 'MULTISUBDIR =' >> $ac_file
77524 ml_norecursion=yes
77525 . ${multi_basedir}/config-ml.in
77526 { ml_norecursion=; unset ml_norecursion;}
77527 ;;
77528 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
77529 s!`test -f '$<' || echo '$(srcdir)/'`!!
77530 _EOF
77531 sed -f vpsed$$ $ac_file > tmp$$
77532 mv tmp$$ $ac_file
77533 rm vpsed$$
77534 echo 'MULTISUBDIR =' >> $ac_file
77535 ml_norecursion=yes
77536 . ${multi_basedir}/config-ml.in
77537 { ml_norecursion=; unset ml_norecursion;}
77538 ;;
77539 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
77540 s!`test -f '$<' || echo '$(srcdir)/'`!!
77541 _EOF
77542 sed -f vpsed$$ $ac_file > tmp$$
77543 mv tmp$$ $ac_file
77544 rm vpsed$$
77545 echo 'MULTISUBDIR =' >> $ac_file
77546 ml_norecursion=yes
77547 . ${multi_basedir}/config-ml.in
77548 { ml_norecursion=; unset ml_norecursion;}
77549 ;;
77550 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
77551 s!`test -f '$<' || echo '$(srcdir)/'`!!
77552 _EOF
77553 sed -f vpsed$$ $ac_file > tmp$$
77554 mv tmp$$ $ac_file
77555 rm vpsed$$
77556 echo 'MULTISUBDIR =' >> $ac_file
77557 ml_norecursion=yes
77558 . ${multi_basedir}/config-ml.in
77559 { ml_norecursion=; unset ml_norecursion;}
77560 ;;
77561 "doc/Makefile":F) cat > vpsed$$ << \_EOF
77562 s!`test -f '$<' || echo '$(srcdir)/'`!!
77563 _EOF
77564 sed -f vpsed$$ $ac_file > tmp$$
77565 mv tmp$$ $ac_file
77566 rm vpsed$$
77567 echo 'MULTISUBDIR =' >> $ac_file
77568 ml_norecursion=yes
77569 . ${multi_basedir}/config-ml.in
77570 { ml_norecursion=; unset ml_norecursion;}
77571 ;;
77572 "po/Makefile":F) cat > vpsed$$ << \_EOF
77573 s!`test -f '$<' || echo '$(srcdir)/'`!!
77574 _EOF
77575 sed -f vpsed$$ $ac_file > tmp$$
77576 mv tmp$$ $ac_file
77577 rm vpsed$$
77578 echo 'MULTISUBDIR =' >> $ac_file
77579 ml_norecursion=yes
77580 . ${multi_basedir}/config-ml.in
77581 { ml_norecursion=; unset ml_norecursion;}
77582 ;;
77583 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
77584 s!`test -f '$<' || echo '$(srcdir)/'`!!
77585 _EOF
77586 sed -f vpsed$$ $ac_file > tmp$$
77587 mv tmp$$ $ac_file
77588 rm vpsed$$
77589 echo 'MULTISUBDIR =' >> $ac_file
77590 ml_norecursion=yes
77591 . ${multi_basedir}/config-ml.in
77592 { ml_norecursion=; unset ml_norecursion;}
77593 ;;
77594 "python/Makefile":F) cat > vpsed$$ << \_EOF
77595 s!`test -f '$<' || echo '$(srcdir)/'`!!
77596 _EOF
77597 sed -f vpsed$$ $ac_file > tmp$$
77598 mv tmp$$ $ac_file
77599 rm vpsed$$
77600 echo 'MULTISUBDIR =' >> $ac_file
77601 ml_norecursion=yes
77602 . ${multi_basedir}/config-ml.in
77603 { ml_norecursion=; unset ml_norecursion;}
77604 ;;
77605 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
77606
77607 esac
77608 done # for ac_tag
77609
77610
77611 as_fn_exit 0
77612 _ACEOF
77613 ac_clean_files=$ac_clean_files_save
77614
77615 test $ac_write_fail = 0 ||
77616 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
77617
77618
77619 # configure is writing to config.log, and then calls config.status.
77620 # config.status does its own redirection, appending to config.log.
77621 # Unfortunately, on DOS this fails, as config.log is still kept open
77622 # by configure, so config.status won't be able to write to it; its
77623 # output is simply discarded. So we exec the FD to /dev/null,
77624 # effectively closing config.log, so it can be properly (re)opened and
77625 # appended to by config.status. When coming back to configure, we
77626 # need to make the FD available again.
77627 if test "$no_create" != yes; then
77628 ac_cs_success=:
77629 ac_config_status_args=
77630 test "$silent" = yes &&
77631 ac_config_status_args="$ac_config_status_args --quiet"
77632 exec 5>/dev/null
77633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
77634 exec 5>>config.log
77635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
77636 # would make configure fail if this is the last instruction.
77637 $ac_cs_success || as_fn_exit 1
77638 fi
77639 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
77640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
77641 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
77642 fi
77643