]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/configure
c++: Better module initializer code
[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 ENABLE_BACKTRACE_FALSE
679 ENABLE_BACKTRACE_TRUE
680 BACKTRACE_SUPPORTS_THREADS
681 BACKTRACE_USES_MALLOC
682 BACKTRACE_SUPPORTED
683 BACKTRACE_CPPFLAGS
684 ALLOC_FILE
685 VIEW_FILE
686 FORMAT_FILE
687 ENABLE_FILESYSTEM_TS_FALSE
688 ENABLE_FILESYSTEM_TS_TRUE
689 baseline_subdir_switch
690 baseline_dir
691 HWCAP_CFLAGS
692 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
693 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
694 GLIBCXX_LDBL_COMPAT_FALSE
695 GLIBCXX_LDBL_COMPAT_TRUE
696 LONG_DOUBLE_ALT128_COMPAT_FLAGS
697 LONG_DOUBLE_128_FLAGS
698 LONG_DOUBLE_COMPAT_FLAGS
699 ENABLE_CXX11_ABI_FALSE
700 ENABLE_CXX11_ABI_TRUE
701 glibcxx_cxx98_abi
702 ENABLE_DUAL_ABI_FALSE
703 ENABLE_DUAL_ABI_TRUE
704 ENABLE_VISIBILITY_FALSE
705 ENABLE_VISIBILITY_TRUE
706 libtool_VERSION
707 ENABLE_SYMVERS_SUN_FALSE
708 ENABLE_SYMVERS_SUN_TRUE
709 ENABLE_SYMVERS_DARWIN_FALSE
710 ENABLE_SYMVERS_DARWIN_TRUE
711 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
712 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
713 ENABLE_SYMVERS_GNU_FALSE
714 ENABLE_SYMVERS_GNU_TRUE
715 ENABLE_SYMVERS_FALSE
716 ENABLE_SYMVERS_TRUE
717 port_specific_symbol_files
718 SYMVER_FILE
719 CXXFILT
720 LTLIBICONV
721 LIBICONV
722 OPT_LDFLAGS
723 SECTION_LDFLAGS
724 GLIBCXX_LIBS
725 ENABLE_VTABLE_VERIFY_FALSE
726 ENABLE_VTABLE_VERIFY_TRUE
727 VTV_CYGMIN_FALSE
728 VTV_CYGMIN_TRUE
729 VTV_CXXLINKFLAGS
730 VTV_PCH_CXXFLAGS
731 VTV_CXXFLAGS
732 ENABLE_WERROR_FALSE
733 ENABLE_WERROR_TRUE
734 ENABLE_PYTHONDIR_FALSE
735 ENABLE_PYTHONDIR_TRUE
736 python_mod_dir
737 ENABLE_EXTERN_TEMPLATE_FALSE
738 ENABLE_EXTERN_TEMPLATE_TRUE
739 EXTRA_CXX_FLAGS
740 GLIBCXX_BUILD_DEBUG_FALSE
741 GLIBCXX_BUILD_DEBUG_TRUE
742 DEBUG_FLAGS
743 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
744 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
745 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
746 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
747 GLIBCXX_C_HEADERS_C_STD_FALSE
748 GLIBCXX_C_HEADERS_C_STD_TRUE
749 GLIBCXX_C_HEADERS_C_FALSE
750 GLIBCXX_C_HEADERS_C_TRUE
751 C_INCLUDE_DIR
752 ALLOCATOR_NAME
753 ALLOCATOR_H
754 ENABLE_ALLOCATOR_NEW_FALSE
755 ENABLE_ALLOCATOR_NEW_TRUE
756 CLOCALE_INTERNAL_H
757 CLOCALE_CC
758 CTIME_CC
759 CTIME_H
760 CNUMERIC_CC
761 CMONEY_CC
762 CMESSAGES_CC
763 CCTYPE_CC
764 CCOLLATE_CC
765 CCODECVT_CC
766 CMESSAGES_H
767 CLOCALE_H
768 USE_NLS
769 glibcxx_localedir
770 glibcxx_POFILES
771 glibcxx_MOFILES
772 check_msgfmt
773 BASIC_FILE_CC
774 BASIC_FILE_H
775 CSTDIO_H
776 SECTION_FLAGS
777 ENABLE_FLOAT128_FALSE
778 ENABLE_FLOAT128_TRUE
779 thread_header
780 glibcxx_PCHFLAGS
781 GLIBCXX_BUILD_PCH_FALSE
782 GLIBCXX_BUILD_PCH_TRUE
783 FREESTANDING_FLAGS
784 GLIBCXX_HOSTED_FALSE
785 GLIBCXX_HOSTED_TRUE
786 glibcxx_compiler_shared_flag
787 glibcxx_compiler_pic_flag
788 glibcxx_lt_pic_flag
789 enable_static
790 enable_shared
791 lt_host_flags
792 CXXCPP
793 OTOOL64
794 OTOOL
795 LIPO
796 NMEDIT
797 DSYMUTIL
798 OBJDUMP
799 NM
800 ac_ct_DUMPBIN
801 DUMPBIN
802 LD
803 FGREP
804 SED
805 LIBTOOL
806 EGREP
807 GREP
808 CPP
809 MAINT
810 MAINTAINER_MODE_FALSE
811 MAINTAINER_MODE_TRUE
812 RANLIB
813 AR
814 AS
815 LN_S
816 toplevel_srcdir
817 toplevel_builddir
818 glibcxx_srcdir
819 glibcxx_builddir
820 ac_ct_CXX
821 CXXFLAGS
822 CXX
823 OBJEXT
824 EXEEXT
825 ac_ct_CC
826 CPPFLAGS
827 LDFLAGS
828 CFLAGS
829 CC
830 AM_BACKSLASH
831 AM_DEFAULT_VERBOSITY
832 AM_DEFAULT_V
833 AM_V
834 am__untar
835 am__tar
836 AMTAR
837 am__leading_dot
838 SET_MAKE
839 AWK
840 mkdir_p
841 MKDIR_P
842 INSTALL_STRIP_PROGRAM
843 STRIP
844 install_sh
845 MAKEINFO
846 AUTOHEADER
847 AUTOMAKE
848 AUTOCONF
849 ACLOCAL
850 VERSION
851 PACKAGE
852 CYGPATH_W
853 am__isrc
854 INSTALL_DATA
855 INSTALL_SCRIPT
856 INSTALL_PROGRAM
857 target_os
858 target_vendor
859 target_cpu
860 target
861 host_os
862 host_vendor
863 host_cpu
864 host
865 build_os
866 build_vendor
867 build_cpu
868 build
869 multi_basedir
870 target_alias
871 host_alias
872 build_alias
873 LIBS
874 ECHO_T
875 ECHO_N
876 ECHO_C
877 DEFS
878 mandir
879 localedir
880 libdir
881 psdir
882 pdfdir
883 dvidir
884 htmldir
885 infodir
886 docdir
887 oldincludedir
888 includedir
889 localstatedir
890 sharedstatedir
891 sysconfdir
892 datadir
893 datarootdir
894 libexecdir
895 sbindir
896 bindir
897 program_transform_name
898 prefix
899 exec_prefix
900 PACKAGE_URL
901 PACKAGE_BUGREPORT
902 PACKAGE_STRING
903 PACKAGE_VERSION
904 PACKAGE_TARNAME
905 PACKAGE_NAME
906 PATH_SEPARATOR
907 SHELL'
908 ac_subst_files=''
909 ac_user_opts='
910 enable_option_checking
911 enable_multilib
912 enable_silent_rules
913 enable_largefile
914 with_target_subdir
915 with_cross_host
916 with_newlib
917 enable_maintainer_mode
918 enable_shared
919 enable_static
920 with_pic
921 enable_fast_install
922 with_gnu_ld
923 enable_libtool_lock
924 enable_hosted_libstdcxx
925 enable_libstdcxx_verbose
926 enable_libstdcxx_pch
927 with_libstdcxx_lock_policy
928 enable_cstdio
929 enable_clocale
930 enable_nls
931 enable_libstdcxx_allocator
932 enable_cheaders_obsolete
933 enable_cheaders
934 enable_long_long
935 enable_wchar_t
936 enable_c99
937 enable_concept_checks
938 enable_libstdcxx_debug_flags
939 enable_libstdcxx_debug
940 enable_cxx_flags
941 enable_fully_dynamic_string
942 enable_extern_template
943 with_python_dir
944 enable_werror
945 enable_vtable_verify
946 enable_libstdcxx_time
947 enable_tls
948 enable_rpath
949 with_libiconv_prefix
950 with_libiconv_type
951 with_system_libunwind
952 enable_linux_futex
953 enable_symvers
954 enable_libstdcxx_visibility
955 enable_libstdcxx_dual_abi
956 with_default_libstdcxx_abi
957 enable_libstdcxx_threads
958 enable_libstdcxx_filesystem_ts
959 enable_libstdcxx_backtrace
960 enable_cet
961 with_gxx_include_dir
962 enable_version_specific_runtime_libs
963 with_toolexeclibdir
964 with_gcc_major_version_only
965 '
966 ac_precious_vars='build_alias
967 host_alias
968 target_alias
969 CC
970 CFLAGS
971 LDFLAGS
972 LIBS
973 CPPFLAGS
974 CXX
975 CXXFLAGS
976 CCC
977 CPP
978 CXXCPP
979 CXXFILT'
980
981
982 # Initialize some variables set by options.
983 ac_init_help=
984 ac_init_version=false
985 ac_unrecognized_opts=
986 ac_unrecognized_sep=
987 # The variables have the same names as the options, with
988 # dashes changed to underlines.
989 cache_file=/dev/null
990 exec_prefix=NONE
991 no_create=
992 no_recursion=
993 prefix=NONE
994 program_prefix=NONE
995 program_suffix=NONE
996 program_transform_name=s,x,x,
997 silent=
998 site=
999 srcdir=
1000 verbose=
1001 x_includes=NONE
1002 x_libraries=NONE
1003
1004 # Installation directory options.
1005 # These are left unexpanded so users can "make install exec_prefix=/foo"
1006 # and all the variables that are supposed to be based on exec_prefix
1007 # by default will actually change.
1008 # Use braces instead of parens because sh, perl, etc. also accept them.
1009 # (The list follows the same order as the GNU Coding Standards.)
1010 bindir='${exec_prefix}/bin'
1011 sbindir='${exec_prefix}/sbin'
1012 libexecdir='${exec_prefix}/libexec'
1013 datarootdir='${prefix}/share'
1014 datadir='${datarootdir}'
1015 sysconfdir='${prefix}/etc'
1016 sharedstatedir='${prefix}/com'
1017 localstatedir='${prefix}/var'
1018 includedir='${prefix}/include'
1019 oldincludedir='/usr/include'
1020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1021 infodir='${datarootdir}/info'
1022 htmldir='${docdir}'
1023 dvidir='${docdir}'
1024 pdfdir='${docdir}'
1025 psdir='${docdir}'
1026 libdir='${exec_prefix}/lib'
1027 localedir='${datarootdir}/locale'
1028 mandir='${datarootdir}/man'
1029
1030 ac_prev=
1031 ac_dashdash=
1032 for ac_option
1033 do
1034 # If the previous option needs an argument, assign it.
1035 if test -n "$ac_prev"; then
1036 eval $ac_prev=\$ac_option
1037 ac_prev=
1038 continue
1039 fi
1040
1041 case $ac_option in
1042 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043 *=) ac_optarg= ;;
1044 *) ac_optarg=yes ;;
1045 esac
1046
1047 # Accept the important Cygnus configure options, so we can diagnose typos.
1048
1049 case $ac_dashdash$ac_option in
1050 --)
1051 ac_dashdash=yes ;;
1052
1053 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1054 ac_prev=bindir ;;
1055 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1056 bindir=$ac_optarg ;;
1057
1058 -build | --build | --buil | --bui | --bu)
1059 ac_prev=build_alias ;;
1060 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1061 build_alias=$ac_optarg ;;
1062
1063 -cache-file | --cache-file | --cache-fil | --cache-fi \
1064 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1065 ac_prev=cache_file ;;
1066 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1067 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1068 cache_file=$ac_optarg ;;
1069
1070 --config-cache | -C)
1071 cache_file=config.cache ;;
1072
1073 -datadir | --datadir | --datadi | --datad)
1074 ac_prev=datadir ;;
1075 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1076 datadir=$ac_optarg ;;
1077
1078 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1079 | --dataroo | --dataro | --datar)
1080 ac_prev=datarootdir ;;
1081 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1082 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1083 datarootdir=$ac_optarg ;;
1084
1085 -disable-* | --disable-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1093 *"
1094 "enable_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval enable_$ac_useropt=no ;;
1100
1101 -docdir | --docdir | --docdi | --doc | --do)
1102 ac_prev=docdir ;;
1103 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1104 docdir=$ac_optarg ;;
1105
1106 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107 ac_prev=dvidir ;;
1108 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1109 dvidir=$ac_optarg ;;
1110
1111 -enable-* | --enable-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid feature name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1119 *"
1120 "enable_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval enable_$ac_useropt=\$ac_optarg ;;
1126
1127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1129 | --exec | --exe | --ex)
1130 ac_prev=exec_prefix ;;
1131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1133 | --exec=* | --exe=* | --ex=*)
1134 exec_prefix=$ac_optarg ;;
1135
1136 -gas | --gas | --ga | --g)
1137 # Obsolete; use --with-gas.
1138 with_gas=yes ;;
1139
1140 -help | --help | --hel | --he | -h)
1141 ac_init_help=long ;;
1142 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1143 ac_init_help=recursive ;;
1144 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1145 ac_init_help=short ;;
1146
1147 -host | --host | --hos | --ho)
1148 ac_prev=host_alias ;;
1149 -host=* | --host=* | --hos=* | --ho=*)
1150 host_alias=$ac_optarg ;;
1151
1152 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153 ac_prev=htmldir ;;
1154 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155 | --ht=*)
1156 htmldir=$ac_optarg ;;
1157
1158 -includedir | --includedir | --includedi | --included | --include \
1159 | --includ | --inclu | --incl | --inc)
1160 ac_prev=includedir ;;
1161 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1162 | --includ=* | --inclu=* | --incl=* | --inc=*)
1163 includedir=$ac_optarg ;;
1164
1165 -infodir | --infodir | --infodi | --infod | --info | --inf)
1166 ac_prev=infodir ;;
1167 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168 infodir=$ac_optarg ;;
1169
1170 -libdir | --libdir | --libdi | --libd)
1171 ac_prev=libdir ;;
1172 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1173 libdir=$ac_optarg ;;
1174
1175 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1176 | --libexe | --libex | --libe)
1177 ac_prev=libexecdir ;;
1178 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1179 | --libexe=* | --libex=* | --libe=*)
1180 libexecdir=$ac_optarg ;;
1181
1182 -localedir | --localedir | --localedi | --localed | --locale)
1183 ac_prev=localedir ;;
1184 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1185 localedir=$ac_optarg ;;
1186
1187 -localstatedir | --localstatedir | --localstatedi | --localstated \
1188 | --localstate | --localstat | --localsta | --localst | --locals)
1189 ac_prev=localstatedir ;;
1190 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1191 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1192 localstatedir=$ac_optarg ;;
1193
1194 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195 ac_prev=mandir ;;
1196 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1197 mandir=$ac_optarg ;;
1198
1199 -nfp | --nfp | --nf)
1200 # Obsolete; use --without-fp.
1201 with_fp=no ;;
1202
1203 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1204 | --no-cr | --no-c | -n)
1205 no_create=yes ;;
1206
1207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209 no_recursion=yes ;;
1210
1211 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1212 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1213 | --oldin | --oldi | --old | --ol | --o)
1214 ac_prev=oldincludedir ;;
1215 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1216 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1217 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1218 oldincludedir=$ac_optarg ;;
1219
1220 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221 ac_prev=prefix ;;
1222 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1223 prefix=$ac_optarg ;;
1224
1225 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1226 | --program-pre | --program-pr | --program-p)
1227 ac_prev=program_prefix ;;
1228 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1229 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1230 program_prefix=$ac_optarg ;;
1231
1232 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1233 | --program-suf | --program-su | --program-s)
1234 ac_prev=program_suffix ;;
1235 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1236 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1237 program_suffix=$ac_optarg ;;
1238
1239 -program-transform-name | --program-transform-name \
1240 | --program-transform-nam | --program-transform-na \
1241 | --program-transform-n | --program-transform- \
1242 | --program-transform | --program-transfor \
1243 | --program-transfo | --program-transf \
1244 | --program-trans | --program-tran \
1245 | --progr-tra | --program-tr | --program-t)
1246 ac_prev=program_transform_name ;;
1247 -program-transform-name=* | --program-transform-name=* \
1248 | --program-transform-nam=* | --program-transform-na=* \
1249 | --program-transform-n=* | --program-transform-=* \
1250 | --program-transform=* | --program-transfor=* \
1251 | --program-transfo=* | --program-transf=* \
1252 | --program-trans=* | --program-tran=* \
1253 | --progr-tra=* | --program-tr=* | --program-t=*)
1254 program_transform_name=$ac_optarg ;;
1255
1256 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257 ac_prev=pdfdir ;;
1258 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259 pdfdir=$ac_optarg ;;
1260
1261 -psdir | --psdir | --psdi | --psd | --ps)
1262 ac_prev=psdir ;;
1263 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264 psdir=$ac_optarg ;;
1265
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1268 silent=yes ;;
1269
1270 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271 ac_prev=sbindir ;;
1272 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1273 | --sbi=* | --sb=*)
1274 sbindir=$ac_optarg ;;
1275
1276 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1277 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1278 | --sharedst | --shareds | --shared | --share | --shar \
1279 | --sha | --sh)
1280 ac_prev=sharedstatedir ;;
1281 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1282 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1283 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1284 | --sha=* | --sh=*)
1285 sharedstatedir=$ac_optarg ;;
1286
1287 -site | --site | --sit)
1288 ac_prev=site ;;
1289 -site=* | --site=* | --sit=*)
1290 site=$ac_optarg ;;
1291
1292 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293 ac_prev=srcdir ;;
1294 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1295 srcdir=$ac_optarg ;;
1296
1297 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1298 | --syscon | --sysco | --sysc | --sys | --sy)
1299 ac_prev=sysconfdir ;;
1300 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1301 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1302 sysconfdir=$ac_optarg ;;
1303
1304 -target | --target | --targe | --targ | --tar | --ta | --t)
1305 ac_prev=target_alias ;;
1306 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1307 target_alias=$ac_optarg ;;
1308
1309 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310 verbose=yes ;;
1311
1312 -version | --version | --versio | --versi | --vers | -V)
1313 ac_init_version=: ;;
1314
1315 -with-* | --with-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1323 *"
1324 "with_$ac_useropt"
1325 "*) ;;
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1328 esac
1329 eval with_$ac_useropt=\$ac_optarg ;;
1330
1331 -without-* | --without-*)
1332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335 as_fn_error $? "invalid package name: $ac_useropt"
1336 ac_useropt_orig=$ac_useropt
1337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1339 *"
1340 "with_$ac_useropt"
1341 "*) ;;
1342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343 ac_unrecognized_sep=', ';;
1344 esac
1345 eval with_$ac_useropt=no ;;
1346
1347 --x)
1348 # Obsolete; use --with-x.
1349 with_x=yes ;;
1350
1351 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1352 | --x-incl | --x-inc | --x-in | --x-i)
1353 ac_prev=x_includes ;;
1354 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1355 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1356 x_includes=$ac_optarg ;;
1357
1358 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1359 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360 ac_prev=x_libraries ;;
1361 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1362 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1363 x_libraries=$ac_optarg ;;
1364
1365 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1366 Try \`$0 --help' for more information"
1367 ;;
1368
1369 *=*)
1370 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371 # Reject names that are not valid shell variable names.
1372 case $ac_envvar in #(
1373 '' | [0-9]* | *[!_$as_cr_alnum]* )
1374 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1375 esac
1376 eval $ac_envvar=\$ac_optarg
1377 export $ac_envvar ;;
1378
1379 *)
1380 # FIXME: should be removed in autoconf 3.0.
1381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1385 ;;
1386
1387 esac
1388 done
1389
1390 if test -n "$ac_prev"; then
1391 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1392 as_fn_error $? "missing argument to $ac_option"
1393 fi
1394
1395 if test -n "$ac_unrecognized_opts"; then
1396 case $enable_option_checking in
1397 no) ;;
1398 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1399 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400 esac
1401 fi
1402
1403 # Check all directory arguments for consistency.
1404 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405 datadir sysconfdir sharedstatedir localstatedir includedir \
1406 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407 libdir localedir mandir
1408 do
1409 eval ac_val=\$$ac_var
1410 # Remove trailing slashes.
1411 case $ac_val in
1412 */ )
1413 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414 eval $ac_var=\$ac_val;;
1415 esac
1416 # Be sure to have absolute directory names.
1417 case $ac_val in
1418 [\\/$]* | ?:[\\/]* ) continue;;
1419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420 esac
1421 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1422 done
1423
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1427 build=$build_alias
1428 host=$host_alias
1429 target=$target_alias
1430
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433 if test "x$build_alias" = x; then
1434 cross_compiling=maybe
1435 elif test "x$build_alias" != "x$host_alias"; then
1436 cross_compiling=yes
1437 fi
1438 fi
1439
1440 ac_tool_prefix=
1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1442
1443 test "$silent" = yes && exec 6>/dev/null
1444
1445
1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di=`ls -di .` &&
1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 as_fn_error $? "working directory cannot be determined"
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 as_fn_error $? "pwd does not report name of working directory"
1452
1453
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1465 s//\1/
1466 q
1467 }
1468 /^X\(\/\/\)[^/].*/{
1469 s//\1/
1470 q
1471 }
1472 /^X\(\/\/\)$/{
1473 s//\1/
1474 q
1475 }
1476 /^X\(\/\).*/{
1477 s//\1/
1478 q
1479 }
1480 s/.*/./; q'`
1481 srcdir=$ac_confdir
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1483 srcdir=..
1484 fi
1485 else
1486 ac_srcdir_defaulted=no
1487 fi
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1490 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1491 fi
1492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 ac_abs_confdir=`(
1494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1495 pwd)`
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1498 srcdir=.
1499 fi
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1503 case $srcdir in
1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 esac
1506 for ac_var in $ac_precious_vars; do
1507 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_${ac_var}_value=\$${ac_var}
1509 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1511 done
1512
1513 #
1514 # Report the --help message.
1515 #
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1519 cat <<_ACEOF
1520 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1521
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1523
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1526
1527 Defaults for the options are specified in brackets.
1528
1529 Configuration:
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking ...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1539
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1544 [PREFIX]
1545
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1550
1551 For better control, use the options below.
1552
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1573 _ACEOF
1574
1575 cat <<\_ACEOF
1576
1577 Program names:
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1581
1582 System types:
1583 --build=BUILD configure for building on BUILD [guessed]
1584 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1585 --target=TARGET configure for building compilers for TARGET [HOST]
1586 _ACEOF
1587 fi
1588
1589 if test -n "$ac_init_help"; then
1590 case $ac_init_help in
1591 short | recursive ) echo "Configuration of package-unused version-unused:";;
1592 esac
1593 cat <<\_ACEOF
1594
1595 Optional Features:
1596 --disable-option-checking ignore unrecognized --enable/--with options
1597 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1598 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1599 --enable-multilib build many library versions (default)
1600 --enable-silent-rules less verbose build output (undo: "make V=1")
1601 --disable-silent-rules verbose build output (undo: "make V=0")
1602 --disable-largefile omit support for large files
1603 --enable-maintainer-mode
1604 enable make rules and dependencies not useful (and
1605 sometimes confusing) to the casual installer
1606 --enable-shared[=PKGS] build shared libraries [default=yes]
1607 --enable-static[=PKGS] build static libraries [default=yes]
1608 --enable-fast-install[=PKGS]
1609 optimize for fast installation [default=yes]
1610 --disable-libtool-lock avoid locking (might break parallel builds)
1611 --disable-hosted-libstdcxx
1612 only build freestanding C++ runtime support
1613 --disable-libstdcxx-verbose
1614 disable termination messages to standard error
1615 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1616 [default=$is_hosted]
1617 --enable-cstdio[=PACKAGE]
1618 use target-specific I/O package [default=stdio]
1619 --enable-clocale[=MODEL]
1620 use MODEL for target locale package [default=auto]
1621 --enable-nls use Native Language Support (default)
1622 --enable-libstdcxx-allocator[=KIND]
1623 use KIND for target std::allocator base
1624 [default=auto]
1625 --enable-cheaders-obsolete
1626 allow use of obsolete "C" headers for g++
1627 [default=no]
1628 --enable-cheaders[=KIND]
1629 construct "C" headers for g++ [default=$c_model]
1630 --enable-long-long enable template specializations for 'long long'
1631 [default=yes]
1632 --enable-wchar_t enable template specializations for 'wchar_t'
1633 [default=yes]
1634 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1635 --enable-concept-checks use Boost-derived template checks [default=no]
1636 --enable-libstdcxx-debug-flags=FLAGS
1637 pass compiler FLAGS when building debug library
1638 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1639 --enable-libstdcxx-debug
1640 build extra debug library [default=no]
1641 --enable-cxx-flags=FLAGS
1642 pass compiler FLAGS when building library [default=]
1643 --enable-fully-dynamic-string
1644 do not put empty strings in per-process static
1645 memory [default=no]
1646 --enable-extern-template
1647 enable extern template [default=yes]
1648 --enable-werror turns on -Werror [default=no]
1649 --enable-vtable-verify enable vtable verify [default=no]
1650 --enable-libstdcxx-time[=KIND]
1651 use KIND for check type [default=auto]
1652 --enable-tls Use thread-local storage [default=yes]
1653 --disable-rpath do not hardcode runtime library paths
1654 --enable-linux-futex use the Linux futex system call [default=default]
1655 --enable-symvers[=STYLE]
1656 enables symbol versioning of the shared library
1657 [default=yes]
1658 --enable-libstdcxx-visibility
1659 enables visibility safe usage [default=yes]
1660 --enable-libstdcxx-dual-abi
1661 support two versions of std::string [default=yes]
1662 --enable-libstdcxx-threads
1663 enable C++11 threads support [default=auto]
1664 --enable-libstdcxx-filesystem-ts
1665 turns on ISO/IEC TS 18822 support [default=auto]
1666 --enable-libstdcxx-backtrace
1667 turns on libbacktrace support [default=auto]
1668 --enable-cet enable Intel CET in target libraries [default=auto]
1669 --enable-version-specific-runtime-libs
1670 Specify that runtime libraries should be installed
1671 in a compiler-specific directory
1672
1673 Optional Packages:
1674 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1675 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1676 --with-target-subdir=SUBDIR
1677 configuring in a subdirectory
1678 --with-cross-host=HOST configuring with a cross compiler
1679 --with-newlib assume newlib as a system C library
1680 --with-pic try to use only PIC/non-PIC objects [default=use
1681 both]
1682 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1683 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1684 synchronization policy for shared_ptr reference
1685 counting [default=auto]
1686 --with-python-dir the location to install Python modules. This path is
1687 relative starting from the prefix.
1688 --with-gnu-ld assume the C compiler uses GNU ld default=no
1689 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1690 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1691 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1692 --with-system-libunwind use installed libunwind
1693 --with-default-libstdcxx-abi
1694 set the std::string ABI to use by default
1695 --with-gxx-include-dir=DIR
1696 installation directory for include files
1697 --with-toolexeclibdir=DIR
1698 install libraries built with a cross compiler within
1699 DIR
1700 --with-gcc-major-version-only
1701 use only GCC major number in filesystem paths
1702
1703 Some influential environment variables:
1704 CC C compiler command
1705 CFLAGS C compiler flags
1706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1707 nonstandard directory <lib dir>
1708 LIBS libraries to pass to the linker, e.g. -l<library>
1709 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1710 you have headers in a nonstandard directory <include dir>
1711 CXX C++ compiler command
1712 CXXFLAGS C++ compiler flags
1713 CPP C preprocessor
1714 CXXCPP C++ preprocessor
1715 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1716 `c++filt', `gc++filt' on PATH.
1717
1718 Use these variables to override the choices made by `configure' or to help
1719 it to find libraries and programs with nonstandard names/locations.
1720
1721 Report bugs to the package provider.
1722 _ACEOF
1723 ac_status=$?
1724 fi
1725
1726 if test "$ac_init_help" = "recursive"; then
1727 # If there are subdirs, report their specific --help.
1728 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1729 test -d "$ac_dir" ||
1730 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1731 continue
1732 ac_builddir=.
1733
1734 case "$ac_dir" in
1735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1736 *)
1737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1738 # A ".." for each directory in $ac_dir_suffix.
1739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1740 case $ac_top_builddir_sub in
1741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1743 esac ;;
1744 esac
1745 ac_abs_top_builddir=$ac_pwd
1746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1747 # for backward compatibility:
1748 ac_top_builddir=$ac_top_build_prefix
1749
1750 case $srcdir in
1751 .) # We are building in place.
1752 ac_srcdir=.
1753 ac_top_srcdir=$ac_top_builddir_sub
1754 ac_abs_top_srcdir=$ac_pwd ;;
1755 [\\/]* | ?:[\\/]* ) # Absolute name.
1756 ac_srcdir=$srcdir$ac_dir_suffix;
1757 ac_top_srcdir=$srcdir
1758 ac_abs_top_srcdir=$srcdir ;;
1759 *) # Relative name.
1760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1761 ac_top_srcdir=$ac_top_build_prefix$srcdir
1762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1763 esac
1764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1765
1766 cd "$ac_dir" || { ac_status=$?; continue; }
1767 # Check for guested configure.
1768 if test -f "$ac_srcdir/configure.gnu"; then
1769 echo &&
1770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1771 elif test -f "$ac_srcdir/configure"; then
1772 echo &&
1773 $SHELL "$ac_srcdir/configure" --help=recursive
1774 else
1775 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1776 fi || ac_status=$?
1777 cd "$ac_pwd" || { ac_status=$?; break; }
1778 done
1779 fi
1780
1781 test -n "$ac_init_help" && exit $ac_status
1782 if $ac_init_version; then
1783 cat <<\_ACEOF
1784 package-unused configure version-unused
1785 generated by GNU Autoconf 2.69
1786
1787 Copyright (C) 2012 Free Software Foundation, Inc.
1788 This configure script is free software; the Free Software Foundation
1789 gives unlimited permission to copy, distribute and modify it.
1790 _ACEOF
1791 exit
1792 fi
1793
1794 ## ------------------------ ##
1795 ## Autoconf initialization. ##
1796 ## ------------------------ ##
1797
1798 # ac_fn_c_try_compile LINENO
1799 # --------------------------
1800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_compile ()
1802 {
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext
1805 if { { ac_try="$ac_compile"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_compile") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1818 fi
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest.$ac_objext; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1828
1829 ac_retval=1
1830 fi
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status $ac_retval
1833
1834 } # ac_fn_c_try_compile
1835
1836 # ac_fn_cxx_try_compile LINENO
1837 # ----------------------------
1838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_compile ()
1840 {
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext
1843 if { { ac_try="$ac_compile"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_compile") 2>conftest.err
1851 ac_status=$?
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1856 fi
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest.$ac_objext; then :
1862 ac_retval=0
1863 else
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1866
1867 ac_retval=1
1868 fi
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1871
1872 } # ac_fn_cxx_try_compile
1873
1874 # ac_fn_c_try_cpp LINENO
1875 # ----------------------
1876 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1877 ac_fn_c_try_cpp ()
1878 {
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if { { ac_try="$ac_cpp conftest.$ac_ext"
1881 case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1888 ac_status=$?
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1893 fi
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } > conftest.i && {
1896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1897 test ! -s conftest.err
1898 }; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1903
1904 ac_retval=1
1905 fi
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1908
1909 } # ac_fn_c_try_cpp
1910
1911 # ac_fn_c_try_link LINENO
1912 # -----------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_c_try_link ()
1915 {
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 rm -f conftest.$ac_objext conftest$ac_exeext
1918 if { { ac_try="$ac_link"
1919 case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>conftest.err
1926 ac_status=$?
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1931 fi
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_c_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest$ac_exeext && {
1937 test "$cross_compiling" = yes ||
1938 test -x conftest$ac_exeext
1939 }; then :
1940 ac_retval=0
1941 else
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1944
1945 ac_retval=1
1946 fi
1947 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1948 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1949 # interfere with the next link command; also delete a directory that is
1950 # left behind by Apple's compiler. We do this before executing the actions.
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status $ac_retval
1954
1955 } # ac_fn_c_try_link
1956
1957 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1958 # -------------------------------------------------------
1959 # Tests whether HEADER exists and can be compiled using the include files in
1960 # INCLUDES, setting the cache variable VAR accordingly.
1961 ac_fn_c_check_header_compile ()
1962 {
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 $4
1972 #include <$2>
1973 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 eval "$3=yes"
1976 else
1977 eval "$3=no"
1978 fi
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 fi
1981 eval ac_res=\$$3
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985
1986 } # ac_fn_c_check_header_compile
1987
1988 # ac_fn_c_try_run LINENO
1989 # ----------------------
1990 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1991 # that executables *can* be run.
1992 ac_fn_c_try_run ()
1993 {
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 if { { ac_try="$ac_link"
1996 case "(($ac_try" in
1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
1999 esac
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_link") 2>&5
2003 ac_status=$?
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2006 { { case "(($ac_try" in
2007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2009 esac
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_try") 2>&5
2013 ac_status=$?
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; }; }; then :
2016 ac_retval=0
2017 else
2018 $as_echo "$as_me: program exited with status $ac_status" >&5
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2021
2022 ac_retval=$ac_status
2023 fi
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status $ac_retval
2027
2028 } # ac_fn_c_try_run
2029
2030 # ac_fn_c_check_func LINENO FUNC VAR
2031 # ----------------------------------
2032 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2033 ac_fn_c_check_func ()
2034 {
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \${$3+:} false; then :
2039 $as_echo_n "(cached) " >&6
2040 else
2041 if test x$gcc_no_link = xyes; then
2042 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2043 fi
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2048 #define $2 innocuous_$2
2049
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char $2 (); below.
2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2053 <limits.h> exists even on freestanding compilers. */
2054
2055 #ifdef __STDC__
2056 # include <limits.h>
2057 #else
2058 # include <assert.h>
2059 #endif
2060
2061 #undef $2
2062
2063 /* Override any GCC internal prototype to avoid an error.
2064 Use char because int might match the return type of a GCC
2065 builtin and then its argument prototype would still apply. */
2066 #ifdef __cplusplus
2067 extern "C"
2068 #endif
2069 char $2 ();
2070 /* The GNU C library defines this for functions which it implements
2071 to always fail with ENOSYS. Some functions are actually named
2072 something starting with __ and the normal name is an alias. */
2073 #if defined __stub_$2 || defined __stub___$2
2074 choke me
2075 #endif
2076
2077 int
2078 main ()
2079 {
2080 return $2 ();
2081 ;
2082 return 0;
2083 }
2084 _ACEOF
2085 if ac_fn_c_try_link "$LINENO"; then :
2086 eval "$3=yes"
2087 else
2088 eval "$3=no"
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext \
2091 conftest$ac_exeext conftest.$ac_ext
2092 fi
2093 eval ac_res=\$$3
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097
2098 } # ac_fn_c_check_func
2099
2100 # ac_fn_cxx_try_cpp LINENO
2101 # ------------------------
2102 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2103 ac_fn_cxx_try_cpp ()
2104 {
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 if { { ac_try="$ac_cpp conftest.$ac_ext"
2107 case "(($ac_try" in
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2110 esac
2111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2112 $as_echo "$ac_try_echo"; } >&5
2113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2114 ac_status=$?
2115 if test -s conftest.err; then
2116 grep -v '^ *+' conftest.err >conftest.er1
2117 cat conftest.er1 >&5
2118 mv -f conftest.er1 conftest.err
2119 fi
2120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2121 test $ac_status = 0; } > conftest.i && {
2122 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2123 test ! -s conftest.err
2124 }; then :
2125 ac_retval=0
2126 else
2127 $as_echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2129
2130 ac_retval=1
2131 fi
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 as_fn_set_status $ac_retval
2134
2135 } # ac_fn_cxx_try_cpp
2136
2137 # ac_fn_cxx_try_link LINENO
2138 # -------------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
2140 ac_fn_cxx_try_link ()
2141 {
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest$ac_exeext
2144 if { { ac_try="$ac_link"
2145 case "(($ac_try" in
2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2148 esac
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>conftest.err
2152 ac_status=$?
2153 if test -s conftest.err; then
2154 grep -v '^ *+' conftest.err >conftest.er1
2155 cat conftest.er1 >&5
2156 mv -f conftest.er1 conftest.err
2157 fi
2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159 test $ac_status = 0; } && {
2160 test -z "$ac_cxx_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest$ac_exeext && {
2163 test "$cross_compiling" = yes ||
2164 test -x conftest$ac_exeext
2165 }; then :
2166 ac_retval=0
2167 else
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2170
2171 ac_retval=1
2172 fi
2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175 # interfere with the next link command; also delete a directory that is
2176 # left behind by Apple's compiler. We do this before executing the actions.
2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 as_fn_set_status $ac_retval
2180
2181 } # ac_fn_cxx_try_link
2182
2183 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # -------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_c_check_header_mongrel ()
2189 {
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if eval \${$3+:} false; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if eval \${$3+:} false; then :
2195 $as_echo_n "(cached) " >&6
2196 fi
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 $4
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2213 fi
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2217
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_c_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2229 fi
2230 rm -f conftest.err conftest.i conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2233
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 ;;
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2253 ;;
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if eval \${$3+:} false; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2261 fi
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2265 fi
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2267
2268 } # ac_fn_c_check_header_mongrel
2269
2270 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2271 # ---------------------------------------------------------
2272 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2273 # the include files in INCLUDES and setting the cache variable VAR
2274 # accordingly.
2275 ac_fn_cxx_check_header_mongrel ()
2276 {
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if eval \${$3+:} false; then :
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \${$3+:} false; then :
2282 $as_echo_n "(cached) " >&6
2283 fi
2284 eval ac_res=\$$3
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2286 $as_echo "$ac_res" >&6; }
2287 else
2288 # Is the header compilable?
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2290 $as_echo_n "checking $2 usability... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2293 $4
2294 #include <$2>
2295 _ACEOF
2296 if ac_fn_cxx_try_compile "$LINENO"; then :
2297 ac_header_compiler=yes
2298 else
2299 ac_header_compiler=no
2300 fi
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2303 $as_echo "$ac_header_compiler" >&6; }
2304
2305 # Is the header present?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2307 $as_echo_n "checking $2 presence... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 #include <$2>
2311 _ACEOF
2312 if ac_fn_cxx_try_cpp "$LINENO"; then :
2313 ac_header_preproc=yes
2314 else
2315 ac_header_preproc=no
2316 fi
2317 rm -f conftest.err conftest.i conftest.$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2319 $as_echo "$ac_header_preproc" >&6; }
2320
2321 # So? What about this header?
2322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2323 yes:no: )
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2325 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2327 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2328 ;;
2329 no:yes:* )
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2331 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2333 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2335 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2337 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2339 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2340 ;;
2341 esac
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2343 $as_echo_n "checking for $2... " >&6; }
2344 if eval \${$3+:} false; then :
2345 $as_echo_n "(cached) " >&6
2346 else
2347 eval "$3=\$ac_header_compiler"
2348 fi
2349 eval ac_res=\$$3
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2352 fi
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354
2355 } # ac_fn_cxx_check_header_mongrel
2356
2357 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2358 # --------------------------------------------
2359 # Tries to find the compile-time value of EXPR in a program that includes
2360 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2361 # computed
2362 ac_fn_c_compute_int ()
2363 {
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 if test "$cross_compiling" = yes; then
2366 # Depending upon the size, compute the lo and hi bounds.
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2369 $4
2370 int
2371 main ()
2372 {
2373 static int test_array [1 - 2 * !(($2) >= 0)];
2374 test_array [0] = 0;
2375 return test_array [0];
2376
2377 ;
2378 return 0;
2379 }
2380 _ACEOF
2381 if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_lo=0 ac_mid=0
2383 while :; do
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) <= $ac_mid)];
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_hi=$ac_mid; break
2400 else
2401 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2402 if test $ac_lo -le $ac_mid; then
2403 ac_lo= ac_hi=
2404 break
2405 fi
2406 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2407 fi
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 done
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2413 $4
2414 int
2415 main ()
2416 {
2417 static int test_array [1 - 2 * !(($2) < 0)];
2418 test_array [0] = 0;
2419 return test_array [0];
2420
2421 ;
2422 return 0;
2423 }
2424 _ACEOF
2425 if ac_fn_c_try_compile "$LINENO"; then :
2426 ac_hi=-1 ac_mid=-1
2427 while :; do
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2430 $4
2431 int
2432 main ()
2433 {
2434 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2435 test_array [0] = 0;
2436 return test_array [0];
2437
2438 ;
2439 return 0;
2440 }
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_lo=$ac_mid; break
2444 else
2445 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2446 if test $ac_mid -le $ac_hi; then
2447 ac_lo= ac_hi=
2448 break
2449 fi
2450 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2451 fi
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 else
2455 ac_lo= ac_hi=
2456 fi
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 fi
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 # Binary search between lo and hi bounds.
2461 while test "x$ac_lo" != "x$ac_hi"; do
2462 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2465 $4
2466 int
2467 main ()
2468 {
2469 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2470 test_array [0] = 0;
2471 return test_array [0];
2472
2473 ;
2474 return 0;
2475 }
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 ac_hi=$ac_mid
2479 else
2480 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2481 fi
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 done
2484 case $ac_lo in #((
2485 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2486 '') ac_retval=1 ;;
2487 esac
2488 else
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2491 $4
2492 static long int longval () { return $2; }
2493 static unsigned long int ulongval () { return $2; }
2494 #include <stdio.h>
2495 #include <stdlib.h>
2496 int
2497 main ()
2498 {
2499
2500 FILE *f = fopen ("conftest.val", "w");
2501 if (! f)
2502 return 1;
2503 if (($2) < 0)
2504 {
2505 long int i = longval ();
2506 if (i != ($2))
2507 return 1;
2508 fprintf (f, "%ld", i);
2509 }
2510 else
2511 {
2512 unsigned long int i = ulongval ();
2513 if (i != ($2))
2514 return 1;
2515 fprintf (f, "%lu", i);
2516 }
2517 /* Do not output a trailing newline, as this causes \r\n confusion
2518 on some platforms. */
2519 return ferror (f) || fclose (f) != 0;
2520
2521 ;
2522 return 0;
2523 }
2524 _ACEOF
2525 if ac_fn_c_try_run "$LINENO"; then :
2526 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2527 else
2528 ac_retval=1
2529 fi
2530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2531 conftest.$ac_objext conftest.beam conftest.$ac_ext
2532 rm -f conftest.val
2533
2534 fi
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2537
2538 } # ac_fn_c_compute_int
2539
2540 # ac_fn_cxx_check_func LINENO FUNC VAR
2541 # ------------------------------------
2542 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2543 ac_fn_cxx_check_func ()
2544 {
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \${$3+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test x$gcc_no_link = xyes; then
2552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2553 fi
2554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2556 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2558 #define $2 innocuous_$2
2559
2560 /* System header to define __stub macros and hopefully few prototypes,
2561 which can conflict with char $2 (); below.
2562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2563 <limits.h> exists even on freestanding compilers. */
2564
2565 #ifdef __STDC__
2566 # include <limits.h>
2567 #else
2568 # include <assert.h>
2569 #endif
2570
2571 #undef $2
2572
2573 /* Override any GCC internal prototype to avoid an error.
2574 Use char because int might match the return type of a GCC
2575 builtin and then its argument prototype would still apply. */
2576 #ifdef __cplusplus
2577 extern "C"
2578 #endif
2579 char $2 ();
2580 /* The GNU C library defines this for functions which it implements
2581 to always fail with ENOSYS. Some functions are actually named
2582 something starting with __ and the normal name is an alias. */
2583 #if defined __stub_$2 || defined __stub___$2
2584 choke me
2585 #endif
2586
2587 int
2588 main ()
2589 {
2590 return $2 ();
2591 ;
2592 return 0;
2593 }
2594 _ACEOF
2595 if ac_fn_cxx_try_link "$LINENO"; then :
2596 eval "$3=yes"
2597 else
2598 eval "$3=no"
2599 fi
2600 rm -f core conftest.err conftest.$ac_objext \
2601 conftest$ac_exeext conftest.$ac_ext
2602 fi
2603 eval ac_res=\$$3
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607
2608 } # ac_fn_cxx_check_func
2609
2610 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2611 # -------------------------------------------
2612 # Tests whether TYPE exists after having included INCLUDES, setting cache
2613 # variable VAR accordingly.
2614 ac_fn_c_check_type ()
2615 {
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 eval "$3=no"
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2625 $4
2626 int
2627 main ()
2628 {
2629 if (sizeof ($2))
2630 return 0;
2631 ;
2632 return 0;
2633 }
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2638 $4
2639 int
2640 main ()
2641 {
2642 if (sizeof (($2)))
2643 return 0;
2644 ;
2645 return 0;
2646 }
2647 _ACEOF
2648 if ac_fn_c_try_compile "$LINENO"; then :
2649
2650 else
2651 eval "$3=yes"
2652 fi
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 fi
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2656 fi
2657 eval ac_res=\$$3
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2661
2662 } # ac_fn_c_check_type
2663
2664 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2665 # ---------------------------------------------
2666 # Tests whether TYPE exists after having included INCLUDES, setting cache
2667 # variable VAR accordingly.
2668 ac_fn_cxx_check_type ()
2669 {
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if eval \${$3+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 eval "$3=no"
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2679 $4
2680 int
2681 main ()
2682 {
2683 if (sizeof ($2))
2684 return 0;
2685 ;
2686 return 0;
2687 }
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2692 $4
2693 int
2694 main ()
2695 {
2696 if (sizeof (($2)))
2697 return 0;
2698 ;
2699 return 0;
2700 }
2701 _ACEOF
2702 if ac_fn_cxx_try_compile "$LINENO"; then :
2703
2704 else
2705 eval "$3=yes"
2706 fi
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2708 fi
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710 fi
2711 eval ac_res=\$$3
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715
2716 } # ac_fn_cxx_check_type
2717
2718 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2719 # ---------------------------------------------
2720 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2721 # accordingly.
2722 ac_fn_c_check_decl ()
2723 {
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 as_decl_name=`echo $2|sed 's/ *(.*//'`
2726 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2728 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2729 if eval \${$3+:} false; then :
2730 $as_echo_n "(cached) " >&6
2731 else
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2734 $4
2735 int
2736 main ()
2737 {
2738 #ifndef $as_decl_name
2739 #ifdef __cplusplus
2740 (void) $as_decl_use;
2741 #else
2742 (void) $as_decl_name;
2743 #endif
2744 #endif
2745
2746 ;
2747 return 0;
2748 }
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2751 eval "$3=yes"
2752 else
2753 eval "$3=no"
2754 fi
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 fi
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761
2762 } # ac_fn_c_check_decl
2763 cat >config.log <<_ACEOF
2764 This file contains any messages produced by compilers while
2765 running configure, to aid debugging if configure makes a mistake.
2766
2767 It was created by package-unused $as_me version-unused, which was
2768 generated by GNU Autoconf 2.69. Invocation command line was
2769
2770 $ $0 $@
2771
2772 _ACEOF
2773 exec 5>>config.log
2774 {
2775 cat <<_ASUNAME
2776 ## --------- ##
2777 ## Platform. ##
2778 ## --------- ##
2779
2780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2785
2786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2788
2789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2796
2797 _ASUNAME
2798
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2801 do
2802 IFS=$as_save_IFS
2803 test -z "$as_dir" && as_dir=.
2804 $as_echo "PATH: $as_dir"
2805 done
2806 IFS=$as_save_IFS
2807
2808 } >&5
2809
2810 cat >&5 <<_ACEOF
2811
2812
2813 ## ----------- ##
2814 ## Core tests. ##
2815 ## ----------- ##
2816
2817 _ACEOF
2818
2819
2820 # Keep a trace of the command line.
2821 # Strip out --no-create and --no-recursion so they do not pile up.
2822 # Strip out --silent because we don't want to record it for future runs.
2823 # Also quote any args containing shell meta-characters.
2824 # Make two passes to allow for proper duplicate-argument suppression.
2825 ac_configure_args=
2826 ac_configure_args0=
2827 ac_configure_args1=
2828 ac_must_keep_next=false
2829 for ac_pass in 1 2
2830 do
2831 for ac_arg
2832 do
2833 case $ac_arg in
2834 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2836 | -silent | --silent | --silen | --sile | --sil)
2837 continue ;;
2838 *\'*)
2839 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2840 esac
2841 case $ac_pass in
2842 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2843 2)
2844 as_fn_append ac_configure_args1 " '$ac_arg'"
2845 if test $ac_must_keep_next = true; then
2846 ac_must_keep_next=false # Got value, back to normal.
2847 else
2848 case $ac_arg in
2849 *=* | --config-cache | -C | -disable-* | --disable-* \
2850 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2851 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2852 | -with-* | --with-* | -without-* | --without-* | --x)
2853 case "$ac_configure_args0 " in
2854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2855 esac
2856 ;;
2857 -* ) ac_must_keep_next=true ;;
2858 esac
2859 fi
2860 as_fn_append ac_configure_args " '$ac_arg'"
2861 ;;
2862 esac
2863 done
2864 done
2865 { ac_configure_args0=; unset ac_configure_args0;}
2866 { ac_configure_args1=; unset ac_configure_args1;}
2867
2868 # When interrupted or exit'd, cleanup temporary files, and complete
2869 # config.log. We remove comments because anyway the quotes in there
2870 # would cause problems or look ugly.
2871 # WARNING: Use '\'' to represent an apostrophe within the trap.
2872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2873 trap 'exit_status=$?
2874 # Save into config.log some information that might help in debugging.
2875 {
2876 echo
2877
2878 $as_echo "## ---------------- ##
2879 ## Cache variables. ##
2880 ## ---------------- ##"
2881 echo
2882 # The following way of writing the cache mishandles newlines in values,
2883 (
2884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2895 *) { eval $ac_var=; unset $ac_var;} ;;
2896 esac ;;
2897 esac
2898 done
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 sed -n \
2903 "s/'\''/'\''\\\\'\'''\''/g;
2904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2905 ;; #(
2906 *)
2907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2908 ;;
2909 esac |
2910 sort
2911 )
2912 echo
2913
2914 $as_echo "## ----------------- ##
2915 ## Output variables. ##
2916 ## ----------------- ##"
2917 echo
2918 for ac_var in $ac_subst_vars
2919 do
2920 eval ac_val=\$$ac_var
2921 case $ac_val in
2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2923 esac
2924 $as_echo "$ac_var='\''$ac_val'\''"
2925 done | sort
2926 echo
2927
2928 if test -n "$ac_subst_files"; then
2929 $as_echo "## ------------------- ##
2930 ## File substitutions. ##
2931 ## ------------------- ##"
2932 echo
2933 for ac_var in $ac_subst_files
2934 do
2935 eval ac_val=\$$ac_var
2936 case $ac_val in
2937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2938 esac
2939 $as_echo "$ac_var='\''$ac_val'\''"
2940 done | sort
2941 echo
2942 fi
2943
2944 if test -s confdefs.h; then
2945 $as_echo "## ----------- ##
2946 ## confdefs.h. ##
2947 ## ----------- ##"
2948 echo
2949 cat confdefs.h
2950 echo
2951 fi
2952 test "$ac_signal" != 0 &&
2953 $as_echo "$as_me: caught signal $ac_signal"
2954 $as_echo "$as_me: exit $exit_status"
2955 } >&5
2956 rm -f core *.core core.conftest.* &&
2957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2958 exit $exit_status
2959 ' 0
2960 for ac_signal in 1 2 13 15; do
2961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2962 done
2963 ac_signal=0
2964
2965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2966 rm -f -r conftest* confdefs.h
2967
2968 $as_echo "/* confdefs.h */" > confdefs.h
2969
2970 # Predefined preprocessor variables.
2971
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_NAME "$PACKAGE_NAME"
2974 _ACEOF
2975
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2978 _ACEOF
2979
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2982 _ACEOF
2983
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_STRING "$PACKAGE_STRING"
2986 _ACEOF
2987
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2990 _ACEOF
2991
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_URL "$PACKAGE_URL"
2994 _ACEOF
2995
2996
2997 # Let the site file select an alternate cache file if it wants to.
2998 # Prefer an explicitly selected file to automatically selected ones.
2999 ac_site_file1=NONE
3000 ac_site_file2=NONE
3001 if test -n "$CONFIG_SITE"; then
3002 # We do not want a PATH search for config.site.
3003 case $CONFIG_SITE in #((
3004 -*) ac_site_file1=./$CONFIG_SITE;;
3005 */*) ac_site_file1=$CONFIG_SITE;;
3006 *) ac_site_file1=./$CONFIG_SITE;;
3007 esac
3008 elif test "x$prefix" != xNONE; then
3009 ac_site_file1=$prefix/share/config.site
3010 ac_site_file2=$prefix/etc/config.site
3011 else
3012 ac_site_file1=$ac_default_prefix/share/config.site
3013 ac_site_file2=$ac_default_prefix/etc/config.site
3014 fi
3015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3016 do
3017 test "x$ac_site_file" = xNONE && continue
3018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3021 sed 's/^/| /' "$ac_site_file" >&5
3022 . "$ac_site_file" \
3023 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error $? "failed to load site script $ac_site_file
3026 See \`config.log' for more details" "$LINENO" 5; }
3027 fi
3028 done
3029
3030 if test -r "$cache_file"; then
3031 # Some versions of bash will fail to source /dev/null (special files
3032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3033 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3035 $as_echo "$as_me: loading cache $cache_file" >&6;}
3036 case $cache_file in
3037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3038 *) . "./$cache_file";;
3039 esac
3040 fi
3041 else
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3043 $as_echo "$as_me: creating cache $cache_file" >&6;}
3044 >$cache_file
3045 fi
3046
3047 # Check that the precious variables saved in the cache have kept the same
3048 # value.
3049 ac_cache_corrupted=false
3050 for ac_var in $ac_precious_vars; do
3051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3052 eval ac_new_set=\$ac_env_${ac_var}_set
3053 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3054 eval ac_new_val=\$ac_env_${ac_var}_value
3055 case $ac_old_set,$ac_new_set in
3056 set,)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3059 ac_cache_corrupted=: ;;
3060 ,set)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3064 ,);;
3065 *)
3066 if test "x$ac_old_val" != "x$ac_new_val"; then
3067 # differences in whitespace do not lead to failure.
3068 ac_old_val_w=`echo x $ac_old_val`
3069 ac_new_val_w=`echo x $ac_new_val`
3070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3073 ac_cache_corrupted=:
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3077 eval $ac_var=\$ac_old_val
3078 fi
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3083 fi;;
3084 esac
3085 # Pass precious variables to config.status.
3086 if test "$ac_new_set" = set; then
3087 case $ac_new_val in
3088 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 *) ac_arg=$ac_var=$ac_new_val ;;
3090 esac
3091 case " $ac_configure_args " in
3092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3093 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3094 esac
3095 fi
3096 done
3097 if $ac_cache_corrupted; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3103 fi
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3107
3108 ac_ext=c
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113
3114
3115
3116
3117
3118
3119 ac_config_headers="$ac_config_headers config.h"
3120
3121
3122 # This works around the fact that libtool configuration may change LD
3123 # for this particular configuration, but some shells, instead of
3124 # keeping the changes in LD private, export them just because LD is
3125 # exported. Only used at the end of this file.
3126 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3127
3128 # Find the rest of the source tree framework.
3129 # Default to --enable-multilib
3130 # Check whether --enable-multilib was given.
3131 if test "${enable_multilib+set}" = set; then :
3132 enableval=$enable_multilib; case "$enableval" in
3133 yes) multilib=yes ;;
3134 no) multilib=no ;;
3135 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3136 esac
3137 else
3138 multilib=yes
3139 fi
3140
3141
3142 # We may get other options which we leave undocumented:
3143 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3144 # See config-ml.in if you want the gory details.
3145
3146 if test "$srcdir" = "."; then
3147 if test "$with_target_subdir" != "."; then
3148 multi_basedir="$srcdir/$with_multisrctop../.."
3149 else
3150 multi_basedir="$srcdir/$with_multisrctop.."
3151 fi
3152 else
3153 multi_basedir="$srcdir/.."
3154 fi
3155
3156
3157 # Even if the default multilib is not a cross compilation,
3158 # it may be that some of the other multilibs are.
3159 if test $cross_compiling = no && test $multilib = yes \
3160 && test "x${with_multisubdir}" != x ; then
3161 cross_compiling=maybe
3162 fi
3163
3164 ac_config_commands="$ac_config_commands default-1"
3165
3166
3167 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3168 #
3169 # You will slowly go insane if you do not grok the following fact: when
3170 # building v3 as part of the compiler, the top-level /target/ becomes the
3171 # library's /host/. configure then causes --target to default to --host,
3172 # exactly like any other package using autoconf. Therefore, 'target' and
3173 # 'host' will always be the same. This makes sense both for native and
3174 # cross compilers, just think about it for a little while. :-)
3175 #
3176 # Also, if v3 is being configured as part of a cross compiler, the top-level
3177 # configure script will pass the "real" host as $with_cross_host.
3178 #
3179 # Do not delete or change the following two lines. For why, see
3180 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3181 ac_aux_dir=
3182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3183 if test -f "$ac_dir/install-sh"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/install-sh -c"
3186 break
3187 elif test -f "$ac_dir/install.sh"; then
3188 ac_aux_dir=$ac_dir
3189 ac_install_sh="$ac_aux_dir/install.sh -c"
3190 break
3191 elif test -f "$ac_dir/shtool"; then
3192 ac_aux_dir=$ac_dir
3193 ac_install_sh="$ac_aux_dir/shtool install -c"
3194 break
3195 fi
3196 done
3197 if test -z "$ac_aux_dir"; then
3198 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3199 fi
3200
3201 # These three variables are undocumented and unsupported,
3202 # and are intended to be withdrawn in a future Autoconf release.
3203 # They can cause serious problems if a builder's source tree is in a directory
3204 # whose full name contains unusual characters.
3205 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3206 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3207 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3208
3209
3210 # Make sure we can run config.sub.
3211 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3212 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3213
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3215 $as_echo_n "checking build system type... " >&6; }
3216 if ${ac_cv_build+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 ac_build_alias=$build_alias
3220 test "x$ac_build_alias" = x &&
3221 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3222 test "x$ac_build_alias" = x &&
3223 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3224 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3225 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3226
3227 fi
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3229 $as_echo "$ac_cv_build" >&6; }
3230 case $ac_cv_build in
3231 *-*-*) ;;
3232 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3233 esac
3234 build=$ac_cv_build
3235 ac_save_IFS=$IFS; IFS='-'
3236 set x $ac_cv_build
3237 shift
3238 build_cpu=$1
3239 build_vendor=$2
3240 shift; shift
3241 # Remember, the first character of IFS is used to create $*,
3242 # except with old shells:
3243 build_os=$*
3244 IFS=$ac_save_IFS
3245 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3246
3247
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3249 $as_echo_n "checking host system type... " >&6; }
3250 if ${ac_cv_host+:} false; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 if test "x$host_alias" = x; then
3254 ac_cv_host=$ac_cv_build
3255 else
3256 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3258 fi
3259
3260 fi
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3262 $as_echo "$ac_cv_host" >&6; }
3263 case $ac_cv_host in
3264 *-*-*) ;;
3265 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3266 esac
3267 host=$ac_cv_host
3268 ac_save_IFS=$IFS; IFS='-'
3269 set x $ac_cv_host
3270 shift
3271 host_cpu=$1
3272 host_vendor=$2
3273 shift; shift
3274 # Remember, the first character of IFS is used to create $*,
3275 # except with old shells:
3276 host_os=$*
3277 IFS=$ac_save_IFS
3278 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3279
3280
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3282 $as_echo_n "checking target system type... " >&6; }
3283 if ${ac_cv_target+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 if test "x$target_alias" = x; then
3287 ac_cv_target=$ac_cv_host
3288 else
3289 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3291 fi
3292
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3295 $as_echo "$ac_cv_target" >&6; }
3296 case $ac_cv_target in
3297 *-*-*) ;;
3298 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3299 esac
3300 target=$ac_cv_target
3301 ac_save_IFS=$IFS; IFS='-'
3302 set x $ac_cv_target
3303 shift
3304 target_cpu=$1
3305 target_vendor=$2
3306 shift; shift
3307 # Remember, the first character of IFS is used to create $*,
3308 # except with old shells:
3309 target_os=$*
3310 IFS=$ac_save_IFS
3311 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3312
3313
3314 # The aliases save the names the user supplied, while $host etc.
3315 # will get canonicalized.
3316 test -n "$target_alias" &&
3317 test "$program_prefix$program_suffix$program_transform_name" = \
3318 NONENONEs,x,x, &&
3319 program_prefix=${target_alias}-
3320
3321 target_alias=${target_alias-$host_alias}
3322
3323 # Handy for debugging:
3324 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3325
3326 if test "$build" != "$host"; then
3327 # We are being configured with some form of cross compiler.
3328 GLIBCXX_IS_NATIVE=false
3329 case "$host","$target" in
3330 # Darwin crosses can use the host system's libraries and headers,
3331 # because of the fat library support. Of course, it must be the
3332 # same version of Darwin on both sides. Allow the user to
3333 # just say --target=foo-darwin without a version number to mean
3334 # "the version on this system".
3335 *-*-darwin*,*-*-darwin*)
3336 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3337 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3338 if test $hostos = $targetos -o $targetos = darwin ; then
3339 GLIBCXX_IS_NATIVE=true
3340 fi
3341 ;;
3342
3343 *)
3344
3345 ;;
3346 esac
3347 else
3348 GLIBCXX_IS_NATIVE=true
3349 fi
3350
3351 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3352 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3353 # 1.x: minimum required version
3354 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3355 # of other PACKAGE_* variables will, however, and there's nothing
3356 # we can do about that; they come from AC_INIT).
3357 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3358 # file in the top srcdir, etc, etc), so stop complaining.
3359 # no-dependencies: turns off auto dependency generation (just for now)
3360 # no-dist: we don't want 'dist' and related rules.
3361 # -Wall: turns on all automake warnings...
3362 # -Wno-portability: ...except this one, since GNU make is now required.
3363 am__api_version='1.15'
3364
3365 # Find a good install program. We prefer a C program (faster),
3366 # so one script is as good as another. But avoid the broken or
3367 # incompatible versions:
3368 # SysV /etc/install, /usr/sbin/install
3369 # SunOS /usr/etc/install
3370 # IRIX /sbin/install
3371 # AIX /bin/install
3372 # AmigaOS /C/install, which installs bootblocks on floppy discs
3373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3376 # OS/2's system install, which has a completely different semantic
3377 # ./install, which can be erroneously created by make from ./install.sh.
3378 # Reject install programs that cannot install multiple files.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3380 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3381 if test -z "$INSTALL"; then
3382 if ${ac_cv_path_install+:} false; then :
3383 $as_echo_n "(cached) " >&6
3384 else
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH
3387 do
3388 IFS=$as_save_IFS
3389 test -z "$as_dir" && as_dir=.
3390 # Account for people who put trailing slashes in PATH elements.
3391 case $as_dir/ in #((
3392 ./ | .// | /[cC]/* | \
3393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3394 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3395 /usr/ucb/* ) ;;
3396 *)
3397 # OSF1 and SCO ODT 3.0 have their own names for install.
3398 # Don't use installbsd from OSF since it installs stuff as root
3399 # by default.
3400 for ac_prog in ginstall scoinst install; do
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3403 if test $ac_prog = install &&
3404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3405 # AIX install. It has an incompatible calling convention.
3406 :
3407 elif test $ac_prog = install &&
3408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409 # program-specific install script used by HP pwplus--don't use.
3410 :
3411 else
3412 rm -rf conftest.one conftest.two conftest.dir
3413 echo one > conftest.one
3414 echo two > conftest.two
3415 mkdir conftest.dir
3416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3417 test -s conftest.one && test -s conftest.two &&
3418 test -s conftest.dir/conftest.one &&
3419 test -s conftest.dir/conftest.two
3420 then
3421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3422 break 3
3423 fi
3424 fi
3425 fi
3426 done
3427 done
3428 ;;
3429 esac
3430
3431 done
3432 IFS=$as_save_IFS
3433
3434 rm -rf conftest.one conftest.two conftest.dir
3435
3436 fi
3437 if test "${ac_cv_path_install+set}" = set; then
3438 INSTALL=$ac_cv_path_install
3439 else
3440 # As a last resort, use the slow shell script. Don't cache a
3441 # value for INSTALL within a source directory, because that will
3442 # break other packages using the cache if that directory is
3443 # removed, or if the value is a relative name.
3444 INSTALL=$ac_install_sh
3445 fi
3446 fi
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3448 $as_echo "$INSTALL" >&6; }
3449
3450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3451 # It thinks the first close brace ends the variable substitution.
3452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3453
3454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3455
3456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3457
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3459 $as_echo_n "checking whether build environment is sane... " >&6; }
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name. Accept space and tab only in the latter.
3462 am_lf='
3463 '
3464 case `pwd` in
3465 *[\\\"\#\$\&\'\`$am_lf]*)
3466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3467 esac
3468 case $srcdir in
3469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3470 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3471 esac
3472
3473 # Do 'set' in a subshell so we don't clobber the current shell's
3474 # arguments. Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3477 # directory).
3478 if (
3479 am_has_slept=no
3480 for am_try in 1 2; do
3481 echo "timestamp, slept: $am_has_slept" > conftest.file
3482 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3483 if test "$*" = "X"; then
3484 # -L didn't work.
3485 set X `ls -t "$srcdir/configure" conftest.file`
3486 fi
3487 if test "$*" != "X $srcdir/configure conftest.file" \
3488 && test "$*" != "X conftest.file $srcdir/configure"; then
3489
3490 # If neither matched, then we have a broken ls. This can happen
3491 # if, for instance, CONFIG_SHELL is bash and it inherits a
3492 # broken ls alias from the environment. This has actually
3493 # happened. Such a system could not be considered "sane".
3494 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3495 alias in your environment" "$LINENO" 5
3496 fi
3497 if test "$2" = conftest.file || test $am_try -eq 2; then
3498 break
3499 fi
3500 # Just in case.
3501 sleep 1
3502 am_has_slept=yes
3503 done
3504 test "$2" = conftest.file
3505 )
3506 then
3507 # Ok.
3508 :
3509 else
3510 as_fn_error $? "newly created file is older than distributed files!
3511 Check your system clock" "$LINENO" 5
3512 fi
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3515 # If we didn't sleep, we still need to ensure time stamps of config.status and
3516 # generated files are strictly newer.
3517 am_sleep_pid=
3518 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3519 ( sleep 1 ) &
3520 am_sleep_pid=$!
3521 fi
3522
3523 rm -f conftest.file
3524
3525 test "$program_prefix" != NONE &&
3526 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3527 # Use a double $ so make ignores it.
3528 test "$program_suffix" != NONE &&
3529 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3530 # Double any \ or $.
3531 # By default was `s,x,x', remove it if useless.
3532 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3533 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3534
3535 # Expand $ac_aux_dir to an absolute path.
3536 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3537
3538 if test x"${MISSING+set}" != xset; then
3539 case $am_aux_dir in
3540 *\ * | *\ *)
3541 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3542 *)
3543 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3544 esac
3545 fi
3546 # Use eval to expand $SHELL
3547 if eval "$MISSING --is-lightweight"; then
3548 am_missing_run="$MISSING "
3549 else
3550 am_missing_run=
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3552 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3553 fi
3554
3555 if test x"${install_sh+set}" != xset; then
3556 case $am_aux_dir in
3557 *\ * | *\ *)
3558 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3559 *)
3560 install_sh="\${SHELL} $am_aux_dir/install-sh"
3561 esac
3562 fi
3563
3564 # Installed binaries are usually stripped using 'strip' when the user
3565 # run "make install-strip". However 'strip' might not be the right
3566 # tool to use in cross-compilation environments, therefore Automake
3567 # will honor the 'STRIP' environment variable to overrule this program.
3568 if test "$cross_compiling" != no; then
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}strip; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_STRIP+:} false; then :
3575 $as_echo_n "(cached) " >&6
3576 else
3577 if test -n "$STRIP"; then
3578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3582 do
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3590 fi
3591 done
3592 done
3593 IFS=$as_save_IFS
3594
3595 fi
3596 fi
3597 STRIP=$ac_cv_prog_STRIP
3598 if test -n "$STRIP"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3600 $as_echo "$STRIP" >&6; }
3601 else
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3604 fi
3605
3606
3607 fi
3608 if test -z "$ac_cv_prog_STRIP"; then
3609 ac_ct_STRIP=$STRIP
3610 # Extract the first word of "strip", so it can be a program name with args.
3611 set dummy strip; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -n "$ac_ct_STRIP"; then
3618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3622 do
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_STRIP="strip"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3630 fi
3631 done
3632 done
3633 IFS=$as_save_IFS
3634
3635 fi
3636 fi
3637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3638 if test -n "$ac_ct_STRIP"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3640 $as_echo "$ac_ct_STRIP" >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3644 fi
3645
3646 if test "x$ac_ct_STRIP" = x; then
3647 STRIP=":"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned=yes ;;
3654 esac
3655 STRIP=$ac_ct_STRIP
3656 fi
3657 else
3658 STRIP="$ac_cv_prog_STRIP"
3659 fi
3660
3661 fi
3662 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3663
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3666 if test -z "$MKDIR_P"; then
3667 if ${ac_cv_path_mkdir+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3672 do
3673 IFS=$as_save_IFS
3674 test -z "$as_dir" && as_dir=.
3675 for ac_prog in mkdir gmkdir; do
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3679 'mkdir (GNU coreutils) '* | \
3680 'mkdir (coreutils) '* | \
3681 'mkdir (fileutils) '4.1*)
3682 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3683 break 3;;
3684 esac
3685 done
3686 done
3687 done
3688 IFS=$as_save_IFS
3689
3690 fi
3691
3692 test -d ./--version && rmdir ./--version
3693 if test "${ac_cv_path_mkdir+set}" = set; then
3694 MKDIR_P="$ac_cv_path_mkdir -p"
3695 else
3696 # As a last resort, use the slow shell script. Don't cache a
3697 # value for MKDIR_P within a source directory, because that will
3698 # break other packages using the cache if that directory is
3699 # removed, or if the value is a relative name.
3700 MKDIR_P="$ac_install_sh -d"
3701 fi
3702 fi
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3704 $as_echo "$MKDIR_P" >&6; }
3705
3706 for ac_prog in gawk mawk nawk awk
3707 do
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy $ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_AWK+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$AWK"; then
3716 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3720 do
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_AWK="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3728 fi
3729 done
3730 done
3731 IFS=$as_save_IFS
3732
3733 fi
3734 fi
3735 AWK=$ac_cv_prog_AWK
3736 if test -n "$AWK"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3738 $as_echo "$AWK" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 fi
3743
3744
3745 test -n "$AWK" && break
3746 done
3747
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3749 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3750 set x ${MAKE-make}
3751 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3752 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 cat >conftest.make <<\_ACEOF
3756 SHELL = /bin/sh
3757 all:
3758 @echo '@@@%%%=$(MAKE)=@@@%%%'
3759 _ACEOF
3760 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3761 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3762 *@@@%%%=?*=@@@%%%*)
3763 eval ac_cv_prog_make_${ac_make}_set=yes;;
3764 *)
3765 eval ac_cv_prog_make_${ac_make}_set=no;;
3766 esac
3767 rm -f conftest.make
3768 fi
3769 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771 $as_echo "yes" >&6; }
3772 SET_MAKE=
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 SET_MAKE="MAKE=${MAKE-make}"
3777 fi
3778
3779 rm -rf .tst 2>/dev/null
3780 mkdir .tst 2>/dev/null
3781 if test -d .tst; then
3782 am__leading_dot=.
3783 else
3784 am__leading_dot=_
3785 fi
3786 rmdir .tst 2>/dev/null
3787
3788 # Check whether --enable-silent-rules was given.
3789 if test "${enable_silent_rules+set}" = set; then :
3790 enableval=$enable_silent_rules;
3791 fi
3792
3793 case $enable_silent_rules in # (((
3794 yes) AM_DEFAULT_VERBOSITY=0;;
3795 no) AM_DEFAULT_VERBOSITY=1;;
3796 *) AM_DEFAULT_VERBOSITY=1;;
3797 esac
3798 am_make=${MAKE-make}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3800 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3801 if ${am_cv_make_support_nested_variables+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if $as_echo 'TRUE=$(BAR$(V))
3805 BAR0=false
3806 BAR1=true
3807 V=1
3808 am__doit:
3809 @$(TRUE)
3810 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3811 am_cv_make_support_nested_variables=yes
3812 else
3813 am_cv_make_support_nested_variables=no
3814 fi
3815 fi
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3817 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3818 if test $am_cv_make_support_nested_variables = yes; then
3819 AM_V='$(V)'
3820 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3821 else
3822 AM_V=$AM_DEFAULT_VERBOSITY
3823 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3824 fi
3825 AM_BACKSLASH='\'
3826
3827 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3828 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3829 # is not polluted with repeated "-I."
3830 am__isrc=' -I$(srcdir)'
3831 # test to see if srcdir already configured
3832 if test -f $srcdir/config.status; then
3833 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3834 fi
3835 fi
3836
3837 # test whether we have cygpath
3838 if test -z "$CYGPATH_W"; then
3839 if (cygpath --version) >/dev/null 2>/dev/null; then
3840 CYGPATH_W='cygpath -w'
3841 else
3842 CYGPATH_W=echo
3843 fi
3844 fi
3845
3846
3847 # Define the identity of the package.
3848 PACKAGE='libstdc++'
3849 VERSION='version-unused'
3850
3851
3852 # Some tools Automake needs.
3853
3854 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3855
3856
3857 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3858
3859
3860 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3861
3862
3863 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3864
3865
3866 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3867
3868 # For better backward compatibility. To be removed once Automake 1.9.x
3869 # dies out for good. For more background, see:
3870 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3871 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3872 mkdir_p='$(MKDIR_P)'
3873
3874 # We need awk for the "check" target (and possibly the TAP driver). The
3875 # system "awk" is bad on some platforms.
3876 # Always define AMTAR for backward compatibility. Yes, it's still used
3877 # in the wild :-( We should find a proper way to deprecate it ...
3878 AMTAR='$${TAR-tar}'
3879
3880
3881 # We'll loop over all known methods to create a tar archive until one works.
3882 _am_tools='gnutar pax cpio none'
3883
3884 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3885
3886
3887
3888
3889
3890
3891 # POSIX will say in a future version that running "rm -f" with no argument
3892 # is OK; and we want to be able to make that assumption in our Makefile
3893 # recipes. So use an aggressive probe to check that the usage we want is
3894 # actually supported "in the wild" to an acceptable degree.
3895 # See automake bug#10828.
3896 # To make any issue more visible, cause the running configure to be aborted
3897 # by default if the 'rm' program in use doesn't match our expectations; the
3898 # user can still override this though.
3899 if rm -f && rm -fr && rm -rf; then : OK; else
3900 cat >&2 <<'END'
3901 Oops!
3902
3903 Your 'rm' program seems unable to run without file operands specified
3904 on the command line, even when the '-f' option is present. This is contrary
3905 to the behaviour of most rm programs out there, and not conforming with
3906 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3907
3908 Please tell bug-automake@gnu.org about your system, including the value
3909 of your $PATH and any error possibly output before this message. This
3910 can help us improve future automake versions.
3911
3912 END
3913 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3914 echo 'Configuration will proceed anyway, since you have set the' >&2
3915 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3916 echo >&2
3917 else
3918 cat >&2 <<'END'
3919 Aborting the configuration process, to ensure you take notice of the issue.
3920
3921 You can download and install GNU coreutils to get an 'rm' implementation
3922 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3923
3924 If you want to complete the configuration process using your problematic
3925 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3926 to "yes", and re-run configure.
3927
3928 END
3929 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3930 fi
3931 fi
3932
3933
3934
3935
3936 # -fno-builtin must be present here so that a non-conflicting form of
3937 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3938
3939 save_CXXFLAGS="$CXXFLAGS"
3940 CXXFLAGS="$CXXFLAGS -fno-builtin"
3941 ac_ext=c
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3959 do
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3967 fi
3968 done
3969 done
3970 IFS=$as_save_IFS
3971
3972 fi
3973 fi
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3981 fi
3982
3983
3984 fi
3985 if test -z "$ac_cv_prog_CC"; then
3986 ac_ct_CC=$CC
3987 # Extract the first word of "gcc", so it can be a program name with args.
3988 set dummy gcc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$ac_ct_CC"; then
3995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
3999 do
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_CC="gcc"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4007 fi
4008 done
4009 done
4010 IFS=$as_save_IFS
4011
4012 fi
4013 fi
4014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4015 if test -n "$ac_ct_CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4017 $as_echo "$ac_ct_CC" >&6; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4021 fi
4022
4023 if test "x$ac_ct_CC" = x; then
4024 CC=""
4025 else
4026 case $cross_compiling:$ac_tool_warned in
4027 yes:)
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned=yes ;;
4031 esac
4032 CC=$ac_ct_CC
4033 fi
4034 else
4035 CC="$ac_cv_prog_CC"
4036 fi
4037
4038 if test -z "$CC"; then
4039 if test -n "$ac_tool_prefix"; then
4040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4041 set dummy ${ac_tool_prefix}cc; ac_word=$2
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4043 $as_echo_n "checking for $ac_word... " >&6; }
4044 if ${ac_cv_prog_CC+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -n "$CC"; then
4048 ac_cv_prog_CC="$CC" # Let the user override the test.
4049 else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4052 do
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_CC="${ac_tool_prefix}cc"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 break 2
4060 fi
4061 done
4062 done
4063 IFS=$as_save_IFS
4064
4065 fi
4066 fi
4067 CC=$ac_cv_prog_CC
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4074 fi
4075
4076
4077 fi
4078 fi
4079 if test -z "$CC"; then
4080 # Extract the first word of "cc", so it can be a program name with args.
4081 set dummy cc; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4089 else
4090 ac_prog_rejected=no
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4093 do
4094 IFS=$as_save_IFS
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4098 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4099 ac_prog_rejected=yes
4100 continue
4101 fi
4102 ac_cv_prog_CC="cc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 break 2
4105 fi
4106 done
4107 done
4108 IFS=$as_save_IFS
4109
4110 if test $ac_prog_rejected = yes; then
4111 # We found a bogon in the path, so make sure we never use it.
4112 set dummy $ac_cv_prog_CC
4113 shift
4114 if test $# != 0; then
4115 # We chose a different compiler from the bogus one.
4116 # However, it has the same basename, so the bogon will be chosen
4117 # first if we set CC to just the basename; use the full file name.
4118 shift
4119 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4120 fi
4121 fi
4122 fi
4123 fi
4124 CC=$ac_cv_prog_CC
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4127 $as_echo "$CC" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4131 fi
4132
4133
4134 fi
4135 if test -z "$CC"; then
4136 if test -n "$ac_tool_prefix"; then
4137 for ac_prog in cl.exe
4138 do
4139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_CC+:} false; then :
4144 $as_echo_n "(cached) " >&6
4145 else
4146 if test -n "$CC"; then
4147 ac_cv_prog_CC="$CC" # Let the user override the test.
4148 else
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 for as_dir in $PATH
4151 do
4152 IFS=$as_save_IFS
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4159 fi
4160 done
4161 done
4162 IFS=$as_save_IFS
4163
4164 fi
4165 fi
4166 CC=$ac_cv_prog_CC
4167 if test -n "$CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169 $as_echo "$CC" >&6; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4173 fi
4174
4175
4176 test -n "$CC" && break
4177 done
4178 fi
4179 if test -z "$CC"; then
4180 ac_ct_CC=$CC
4181 for ac_prog in cl.exe
4182 do
4183 # Extract the first word of "$ac_prog", so it can be a program name with args.
4184 set dummy $ac_prog; ac_word=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4188 $as_echo_n "(cached) " >&6
4189 else
4190 if test -n "$ac_ct_CC"; then
4191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4192 else
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4195 do
4196 IFS=$as_save_IFS
4197 test -z "$as_dir" && as_dir=.
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_CC="$ac_prog"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 break 2
4203 fi
4204 done
4205 done
4206 IFS=$as_save_IFS
4207
4208 fi
4209 fi
4210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4211 if test -n "$ac_ct_CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4213 $as_echo "$ac_ct_CC" >&6; }
4214 else
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4217 fi
4218
4219
4220 test -n "$ac_ct_CC" && break
4221 done
4222
4223 if test "x$ac_ct_CC" = x; then
4224 CC=""
4225 else
4226 case $cross_compiling:$ac_tool_warned in
4227 yes:)
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4230 ac_tool_warned=yes ;;
4231 esac
4232 CC=$ac_ct_CC
4233 fi
4234 fi
4235
4236 fi
4237
4238
4239 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "no acceptable C compiler found in \$PATH
4242 See \`config.log' for more details" "$LINENO" 5; }
4243
4244 # Provide some information about the compiler.
4245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4246 set X $ac_compile
4247 ac_compiler=$2
4248 for ac_option in --version -v -V -qversion; do
4249 { { ac_try="$ac_compiler $ac_option >&5"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4257 ac_status=$?
4258 if test -s conftest.err; then
4259 sed '10a\
4260 ... rest of stderr output deleted ...
4261 10q' conftest.err >conftest.er1
4262 cat conftest.er1 >&5
4263 fi
4264 rm -f conftest.er1 conftest.err
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }
4267 done
4268
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271 #include <stdio.h>
4272 int
4273 main ()
4274 {
4275 printf ("hello world\n");
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 # FIXME: Cleanup?
4281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4282 (eval $ac_link) 2>&5
4283 ac_status=$?
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 gcc_no_link=no
4287 else
4288 gcc_no_link=yes
4289 fi
4290 if test x$gcc_no_link = xyes; then
4291 # Setting cross_compile will disable run tests; it will
4292 # also disable AC_CHECK_FILE but that's generally
4293 # correct if we can't link.
4294 cross_compiling=yes
4295 EXEEXT=
4296 else
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299
4300 int
4301 main ()
4302 {
4303
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 ac_clean_files_save=$ac_clean_files
4309 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4310 # Try to create an executable without -o first, disregard a.out.
4311 # It will help us diagnose broken compilers, and finding out an intuition
4312 # of exeext.
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4314 $as_echo_n "checking whether the C compiler works... " >&6; }
4315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4316
4317 # The possible output files:
4318 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4319
4320 ac_rmfiles=
4321 for ac_file in $ac_files
4322 do
4323 case $ac_file in
4324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4325 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4326 esac
4327 done
4328 rm -f $ac_rmfiles
4329
4330 if { { ac_try="$ac_link_default"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_link_default") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; then :
4341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4343 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4344 # so that the user can short-circuit this test for compilers unknown to
4345 # Autoconf.
4346 for ac_file in $ac_files ''
4347 do
4348 test -f "$ac_file" || continue
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4351 ;;
4352 [ab].out )
4353 # We found the default executable, but exeext='' is most
4354 # certainly right.
4355 break;;
4356 *.* )
4357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4358 then :; else
4359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4360 fi
4361 # We set ac_cv_exeext here because the later test for it is not
4362 # safe: cross compilers may not add the suffix if given an `-o'
4363 # argument, so we may need to know it at that point already.
4364 # Even if this section looks crufty: it has the advantage of
4365 # actually working.
4366 break;;
4367 * )
4368 break;;
4369 esac
4370 done
4371 test "$ac_cv_exeext" = no && ac_cv_exeext=
4372
4373 else
4374 ac_file=''
4375 fi
4376 if test -z "$ac_file"; then :
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4381
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4384 as_fn_error 77 "C compiler cannot create executables
4385 See \`config.log' for more details" "$LINENO" 5; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4388 $as_echo "yes" >&6; }
4389 fi
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4391 $as_echo_n "checking for C compiler default output file name... " >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4393 $as_echo "$ac_file" >&6; }
4394 ac_exeext=$ac_cv_exeext
4395
4396 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4397 ac_clean_files=$ac_clean_files_save
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4399 $as_echo_n "checking for suffix of executables... " >&6; }
4400 if { { ac_try="$ac_link"
4401 case "(($ac_try" in
4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4404 esac
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_link") 2>&5
4408 ac_status=$?
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }; then :
4411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4413 # work properly (i.e., refer to `conftest.exe'), while it won't with
4414 # `rm'.
4415 for ac_file in conftest.exe conftest conftest.*; do
4416 test -f "$ac_file" || continue
4417 case $ac_file in
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 break;;
4421 * ) break;;
4422 esac
4423 done
4424 else
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4428 See \`config.log' for more details" "$LINENO" 5; }
4429 fi
4430 rm -f conftest conftest$ac_cv_exeext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4432 $as_echo "$ac_cv_exeext" >&6; }
4433
4434 rm -f conftest.$ac_ext
4435 EXEEXT=$ac_cv_exeext
4436 ac_exeext=$EXEEXT
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdio.h>
4440 int
4441 main ()
4442 {
4443 FILE *f = fopen ("conftest.out", "w");
4444 return ferror (f) || fclose (f) != 0;
4445
4446 ;
4447 return 0;
4448 }
4449 _ACEOF
4450 ac_clean_files="$ac_clean_files conftest.out"
4451 # Check that the compiler produces executables we can run. If not, either
4452 # the compiler is broken, or we cross compile.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4454 $as_echo_n "checking whether we are cross compiling... " >&6; }
4455 if test "$cross_compiling" != yes; then
4456 { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 if { ac_try='./conftest$ac_cv_exeext'
4468 { { case "(($ac_try" in
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_try") 2>&5
4475 ac_status=$?
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; }; then
4478 cross_compiling=no
4479 else
4480 if test "$cross_compiling" = maybe; then
4481 cross_compiling=yes
4482 else
4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error $? "cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details" "$LINENO" 5; }
4488 fi
4489 fi
4490 fi
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4492 $as_echo "$cross_compiling" >&6; }
4493
4494 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4495 ac_clean_files=$ac_clean_files_save
4496 fi
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4498 $as_echo_n "checking for suffix of object files... " >&6; }
4499 if ${ac_cv_objext+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4504
4505 int
4506 main ()
4507 {
4508
4509 ;
4510 return 0;
4511 }
4512 _ACEOF
4513 rm -f conftest.o conftest.obj
4514 if { { ac_try="$ac_compile"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compile") 2>&5
4522 ac_status=$?
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }; then :
4525 for ac_file in conftest.o conftest.obj conftest.*; do
4526 test -f "$ac_file" || continue;
4527 case $ac_file in
4528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4530 break;;
4531 esac
4532 done
4533 else
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4536
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "cannot compute suffix of object files: cannot compile
4540 See \`config.log' for more details" "$LINENO" 5; }
4541 fi
4542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4543 fi
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4545 $as_echo "$ac_cv_objext" >&6; }
4546 OBJEXT=$ac_cv_objext
4547 ac_objext=$OBJEXT
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4550 if ${ac_cv_c_compiler_gnu+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4555
4556 int
4557 main ()
4558 {
4559 #ifndef __GNUC__
4560 choke me
4561 #endif
4562
4563 ;
4564 return 0;
4565 }
4566 _ACEOF
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 ac_compiler_gnu=yes
4569 else
4570 ac_compiler_gnu=no
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4574
4575 fi
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4578 if test $ac_compiler_gnu = yes; then
4579 GCC=yes
4580 else
4581 GCC=
4582 fi
4583 ac_test_CFLAGS=${CFLAGS+set}
4584 ac_save_CFLAGS=$CFLAGS
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4587 if ${ac_cv_prog_cc_g+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 ac_save_c_werror_flag=$ac_c_werror_flag
4591 ac_c_werror_flag=yes
4592 ac_cv_prog_cc_g=no
4593 CFLAGS="-g"
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4596
4597 int
4598 main ()
4599 {
4600
4601 ;
4602 return 0;
4603 }
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_g=yes
4607 else
4608 CFLAGS=""
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4611
4612 int
4613 main ()
4614 {
4615
4616 ;
4617 return 0;
4618 }
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4621
4622 else
4623 ac_c_werror_flag=$ac_save_c_werror_flag
4624 CFLAGS="-g"
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627
4628 int
4629 main ()
4630 {
4631
4632 ;
4633 return 0;
4634 }
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_cv_prog_cc_g=yes
4638 fi
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 fi
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 fi
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 ac_c_werror_flag=$ac_save_c_werror_flag
4645 fi
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4647 $as_echo "$ac_cv_prog_cc_g" >&6; }
4648 if test "$ac_test_CFLAGS" = set; then
4649 CFLAGS=$ac_save_CFLAGS
4650 elif test $ac_cv_prog_cc_g = yes; then
4651 if test "$GCC" = yes; then
4652 CFLAGS="-g -O2"
4653 else
4654 CFLAGS="-g"
4655 fi
4656 else
4657 if test "$GCC" = yes; then
4658 CFLAGS="-O2"
4659 else
4660 CFLAGS=
4661 fi
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4665 if ${ac_cv_prog_cc_c89+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_cv_prog_cc_c89=no
4669 ac_save_CC=$CC
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672 #include <stdarg.h>
4673 #include <stdio.h>
4674 struct stat;
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4679 char **p;
4680 int i;
4681 {
4682 return p[i];
4683 }
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4685 {
4686 char *s;
4687 va_list v;
4688 va_start (v,p);
4689 s = g (p, va_arg (v,int));
4690 va_end (v);
4691 return s;
4692 }
4693
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4702
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4705 #define FOO(x) 'x'
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4707
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4712 int argc;
4713 char **argv;
4714 int
4715 main ()
4716 {
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4718 ;
4719 return 0;
4720 }
4721 _ACEOF
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4724 do
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4728 fi
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 done
4732 rm -f conftest.$ac_ext
4733 CC=$ac_save_CC
4734
4735 fi
4736 # AC_CACHE_VAL
4737 case "x$ac_cv_prog_cc_c89" in
4738 x)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4741 xno)
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4744 *)
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 esac
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4750
4751 fi
4752
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758
4759 ac_ext=c
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4766 if ${am_cv_prog_cc_c_o+:} false; then :
4767 $as_echo_n "(cached) " >&6
4768 else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4771
4772 int
4773 main ()
4774 {
4775
4776 ;
4777 return 0;
4778 }
4779 _ACEOF
4780 # Make sure it works both with $CC and with simple cc.
4781 # Following AC_PROG_CC_C_O, we do the test twice because some
4782 # compilers refuse to overwrite an existing .o file with -o,
4783 # though they will create one.
4784 am_cv_prog_cc_c_o=yes
4785 for am_i in 1 2; do
4786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4788 ac_status=$?
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } \
4791 && test -f conftest2.$ac_objext; then
4792 : OK
4793 else
4794 am_cv_prog_cc_c_o=no
4795 break
4796 fi
4797 done
4798 rm -f core conftest*
4799 unset am_i
4800 fi
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4803 if test "$am_cv_prog_cc_c_o" != yes; then
4804 # Losing compiler, so override with the script.
4805 # FIXME: It is wrong to rewrite CC.
4806 # But if we don't then we get into trouble of one sort or another.
4807 # A longer-term fix would be to have automake use am__CC in this case,
4808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4809 CC="$am_aux_dir/compile $CC"
4810 fi
4811 ac_ext=c
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4816
4817
4818 ac_ext=cpp
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4823 if test -z "$CXX"; then
4824 if test -n "$CCC"; then
4825 CXX=$CCC
4826 else
4827 if test -n "$ac_tool_prefix"; then
4828 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4829 do
4830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_CXX+:} false; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -n "$CXX"; then
4838 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4842 do
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 break 2
4850 fi
4851 done
4852 done
4853 IFS=$as_save_IFS
4854
4855 fi
4856 fi
4857 CXX=$ac_cv_prog_CXX
4858 if test -n "$CXX"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4860 $as_echo "$CXX" >&6; }
4861 else
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4864 fi
4865
4866
4867 test -n "$CXX" && break
4868 done
4869 fi
4870 if test -z "$CXX"; then
4871 ac_ct_CXX=$CXX
4872 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4873 do
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$ac_ct_CXX"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4886 do
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CXX="$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4894 fi
4895 done
4896 done
4897 IFS=$as_save_IFS
4898
4899 fi
4900 fi
4901 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4902 if test -n "$ac_ct_CXX"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4904 $as_echo "$ac_ct_CXX" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 fi
4909
4910
4911 test -n "$ac_ct_CXX" && break
4912 done
4913
4914 if test "x$ac_ct_CXX" = x; then
4915 CXX="g++"
4916 else
4917 case $cross_compiling:$ac_tool_warned in
4918 yes:)
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4922 esac
4923 CXX=$ac_ct_CXX
4924 fi
4925 fi
4926
4927 fi
4928 fi
4929 # Provide some information about the compiler.
4930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4931 set X $ac_compile
4932 ac_compiler=$2
4933 for ac_option in --version -v -V -qversion; do
4934 { { ac_try="$ac_compiler $ac_option >&5"
4935 case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938 esac
4939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940 $as_echo "$ac_try_echo"; } >&5
4941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4942 ac_status=$?
4943 if test -s conftest.err; then
4944 sed '10a\
4945 ... rest of stderr output deleted ...
4946 10q' conftest.err >conftest.er1
4947 cat conftest.er1 >&5
4948 fi
4949 rm -f conftest.er1 conftest.err
4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951 test $ac_status = 0; }
4952 done
4953
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4955 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4956 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4961
4962 int
4963 main ()
4964 {
4965 #ifndef __GNUC__
4966 choke me
4967 #endif
4968
4969 ;
4970 return 0;
4971 }
4972 _ACEOF
4973 if ac_fn_cxx_try_compile "$LINENO"; then :
4974 ac_compiler_gnu=yes
4975 else
4976 ac_compiler_gnu=no
4977 fi
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4980
4981 fi
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4983 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4984 if test $ac_compiler_gnu = yes; then
4985 GXX=yes
4986 else
4987 GXX=
4988 fi
4989 ac_test_CXXFLAGS=${CXXFLAGS+set}
4990 ac_save_CXXFLAGS=$CXXFLAGS
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4992 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4993 if ${ac_cv_prog_cxx_g+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4997 ac_cxx_werror_flag=yes
4998 ac_cv_prog_cxx_g=no
4999 CXXFLAGS="-g"
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5002
5003 int
5004 main ()
5005 {
5006
5007 ;
5008 return 0;
5009 }
5010 _ACEOF
5011 if ac_fn_cxx_try_compile "$LINENO"; then :
5012 ac_cv_prog_cxx_g=yes
5013 else
5014 CXXFLAGS=""
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5017
5018 int
5019 main ()
5020 {
5021
5022 ;
5023 return 0;
5024 }
5025 _ACEOF
5026 if ac_fn_cxx_try_compile "$LINENO"; then :
5027
5028 else
5029 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5030 CXXFLAGS="-g"
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5033
5034 int
5035 main ()
5036 {
5037
5038 ;
5039 return 0;
5040 }
5041 _ACEOF
5042 if ac_fn_cxx_try_compile "$LINENO"; then :
5043 ac_cv_prog_cxx_g=yes
5044 fi
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 fi
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 fi
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5051 fi
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5053 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5054 if test "$ac_test_CXXFLAGS" = set; then
5055 CXXFLAGS=$ac_save_CXXFLAGS
5056 elif test $ac_cv_prog_cxx_g = yes; then
5057 if test "$GXX" = yes; then
5058 CXXFLAGS="-g -O2"
5059 else
5060 CXXFLAGS="-g"
5061 fi
5062 else
5063 if test "$GXX" = yes; then
5064 CXXFLAGS="-O2"
5065 else
5066 CXXFLAGS=
5067 fi
5068 fi
5069 ac_ext=c
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074
5075 CXXFLAGS="$save_CXXFLAGS"
5076
5077
5078 # Check whether --enable-largefile was given.
5079 if test "${enable_largefile+set}" = set; then :
5080 enableval=$enable_largefile;
5081 fi
5082
5083 if test "$enable_largefile" != no; then
5084
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5086 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5087 if ${ac_cv_sys_largefile_CC+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 ac_cv_sys_largefile_CC=no
5091 if test "$GCC" != yes; then
5092 ac_save_CC=$CC
5093 while :; do
5094 # IRIX 6.2 and later do not support large files by default,
5095 # so use the C compiler's -n32 option if that helps.
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/types.h>
5099 /* Check that off_t can represent 2**63 - 1 correctly.
5100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5101 since some C++ compilers masquerading as C compilers
5102 incorrectly reject 9223372036854775807. */
5103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5105 && LARGE_OFF_T % 2147483647 == 1)
5106 ? 1 : -1];
5107 int
5108 main ()
5109 {
5110
5111 ;
5112 return 0;
5113 }
5114 _ACEOF
5115 if ac_fn_c_try_compile "$LINENO"; then :
5116 break
5117 fi
5118 rm -f core conftest.err conftest.$ac_objext
5119 CC="$CC -n32"
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 ac_cv_sys_largefile_CC=' -n32'; break
5122 fi
5123 rm -f core conftest.err conftest.$ac_objext
5124 break
5125 done
5126 CC=$ac_save_CC
5127 rm -f conftest.$ac_ext
5128 fi
5129 fi
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5131 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5132 if test "$ac_cv_sys_largefile_CC" != no; then
5133 CC=$CC$ac_cv_sys_largefile_CC
5134 fi
5135
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5137 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5138 if ${ac_cv_sys_file_offset_bits+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 while :; do
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #include <sys/types.h>
5145 /* Check that off_t can represent 2**63 - 1 correctly.
5146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5147 since some C++ compilers masquerading as C compilers
5148 incorrectly reject 9223372036854775807. */
5149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5151 && LARGE_OFF_T % 2147483647 == 1)
5152 ? 1 : -1];
5153 int
5154 main ()
5155 {
5156
5157 ;
5158 return 0;
5159 }
5160 _ACEOF
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162 ac_cv_sys_file_offset_bits=no; break
5163 fi
5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #define _FILE_OFFSET_BITS 64
5168 #include <sys/types.h>
5169 /* Check that off_t can represent 2**63 - 1 correctly.
5170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5171 since some C++ compilers masquerading as C compilers
5172 incorrectly reject 9223372036854775807. */
5173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5175 && LARGE_OFF_T % 2147483647 == 1)
5176 ? 1 : -1];
5177 int
5178 main ()
5179 {
5180
5181 ;
5182 return 0;
5183 }
5184 _ACEOF
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 ac_cv_sys_file_offset_bits=64; break
5187 fi
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 ac_cv_sys_file_offset_bits=unknown
5190 break
5191 done
5192 fi
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5194 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5195 case $ac_cv_sys_file_offset_bits in #(
5196 no | unknown) ;;
5197 *)
5198 cat >>confdefs.h <<_ACEOF
5199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5200 _ACEOF
5201 ;;
5202 esac
5203 rm -rf conftest*
5204 if test $ac_cv_sys_file_offset_bits = unknown; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5206 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5207 if ${ac_cv_sys_large_files+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 while :; do
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 #include <sys/types.h>
5214 /* Check that off_t can represent 2**63 - 1 correctly.
5215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5216 since some C++ compilers masquerading as C compilers
5217 incorrectly reject 9223372036854775807. */
5218 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5220 && LARGE_OFF_T % 2147483647 == 1)
5221 ? 1 : -1];
5222 int
5223 main ()
5224 {
5225
5226 ;
5227 return 0;
5228 }
5229 _ACEOF
5230 if ac_fn_c_try_compile "$LINENO"; then :
5231 ac_cv_sys_large_files=no; break
5232 fi
5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #define _LARGE_FILES 1
5237 #include <sys/types.h>
5238 /* Check that off_t can represent 2**63 - 1 correctly.
5239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5240 since some C++ compilers masquerading as C compilers
5241 incorrectly reject 9223372036854775807. */
5242 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5244 && LARGE_OFF_T % 2147483647 == 1)
5245 ? 1 : -1];
5246 int
5247 main ()
5248 {
5249
5250 ;
5251 return 0;
5252 }
5253 _ACEOF
5254 if ac_fn_c_try_compile "$LINENO"; then :
5255 ac_cv_sys_large_files=1; break
5256 fi
5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5258 ac_cv_sys_large_files=unknown
5259 break
5260 done
5261 fi
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5263 $as_echo "$ac_cv_sys_large_files" >&6; }
5264 case $ac_cv_sys_large_files in #(
5265 no | unknown) ;;
5266 *)
5267 cat >>confdefs.h <<_ACEOF
5268 #define _LARGE_FILES $ac_cv_sys_large_files
5269 _ACEOF
5270 ;;
5271 esac
5272 rm -rf conftest*
5273 fi
5274
5275
5276 fi
5277
5278
5279 # Runs configure.host, and assorted other critical bits. Sets
5280 # up critical shell variables.
5281 ac_ext=c
5282 ac_cpp='$CPP $CPPFLAGS'
5283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5287 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5288 # On Suns, sometimes $CPP names a directory.
5289 if test -n "$CPP" && test -d "$CPP"; then
5290 CPP=
5291 fi
5292 if test -z "$CPP"; then
5293 if ${ac_cv_prog_CPP+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 # Double quotes because CPP needs to be expanded
5297 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5298 do
5299 ac_preproc_ok=false
5300 for ac_c_preproc_warn_flag in '' yes
5301 do
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5310 #ifdef __STDC__
5311 # include <limits.h>
5312 #else
5313 # include <assert.h>
5314 #endif
5315 Syntax error
5316 _ACEOF
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5318
5319 else
5320 # Broken: fails on valid input.
5321 continue
5322 fi
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5324
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5330 _ACEOF
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5333 continue
5334 else
5335 # Passes both tests.
5336 ac_preproc_ok=:
5337 break
5338 fi
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5340
5341 done
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.$ac_ext
5344 if $ac_preproc_ok; then :
5345 break
5346 fi
5347
5348 done
5349 ac_cv_prog_CPP=$CPP
5350
5351 fi
5352 CPP=$ac_cv_prog_CPP
5353 else
5354 ac_cv_prog_CPP=$CPP
5355 fi
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5357 $as_echo "$CPP" >&6; }
5358 ac_preproc_ok=false
5359 for ac_c_preproc_warn_flag in '' yes
5360 do
5361 # Use a header file that comes with gcc, so configuring glibc
5362 # with a fresh cross-compiler works.
5363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5364 # <limits.h> exists even on freestanding compilers.
5365 # On the NeXT, cc -E runs the code through the compiler's parser,
5366 # not just through cpp. "Syntax error" is here to catch this case.
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #ifdef __STDC__
5370 # include <limits.h>
5371 #else
5372 # include <assert.h>
5373 #endif
5374 Syntax error
5375 _ACEOF
5376 if ac_fn_c_try_cpp "$LINENO"; then :
5377
5378 else
5379 # Broken: fails on valid input.
5380 continue
5381 fi
5382 rm -f conftest.err conftest.i conftest.$ac_ext
5383
5384 # OK, works on sane cases. Now check whether nonexistent headers
5385 # can be detected and how.
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5388 #include <ac_nonexistent.h>
5389 _ACEOF
5390 if ac_fn_c_try_cpp "$LINENO"; then :
5391 # Broken: success on invalid input.
5392 continue
5393 else
5394 # Passes both tests.
5395 ac_preproc_ok=:
5396 break
5397 fi
5398 rm -f conftest.err conftest.i conftest.$ac_ext
5399
5400 done
5401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5402 rm -f conftest.i conftest.err conftest.$ac_ext
5403 if $ac_preproc_ok; then :
5404
5405 else
5406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5408 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5409 See \`config.log' for more details" "$LINENO" 5; }
5410 fi
5411
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5417
5418
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5420 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5421 if ${ac_cv_path_GREP+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -z "$GREP"; then
5425 ac_path_GREP_found=false
5426 # Loop through the user's path and test for each of PROGNAME-LIST
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5429 do
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_prog in grep ggrep; do
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5435 as_fn_executable_p "$ac_path_GREP" || continue
5436 # Check for GNU ac_path_GREP and select it if it is found.
5437 # Check for GNU $ac_path_GREP
5438 case `"$ac_path_GREP" --version 2>&1` in
5439 *GNU*)
5440 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5441 *)
5442 ac_count=0
5443 $as_echo_n 0123456789 >"conftest.in"
5444 while :
5445 do
5446 cat "conftest.in" "conftest.in" >"conftest.tmp"
5447 mv "conftest.tmp" "conftest.in"
5448 cp "conftest.in" "conftest.nl"
5449 $as_echo 'GREP' >> "conftest.nl"
5450 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5452 as_fn_arith $ac_count + 1 && ac_count=$as_val
5453 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5454 # Best one so far, save it but keep looking for a better one
5455 ac_cv_path_GREP="$ac_path_GREP"
5456 ac_path_GREP_max=$ac_count
5457 fi
5458 # 10*(2^10) chars as input seems more than enough
5459 test $ac_count -gt 10 && break
5460 done
5461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5462 esac
5463
5464 $ac_path_GREP_found && break 3
5465 done
5466 done
5467 done
5468 IFS=$as_save_IFS
5469 if test -z "$ac_cv_path_GREP"; then
5470 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5471 fi
5472 else
5473 ac_cv_path_GREP=$GREP
5474 fi
5475
5476 fi
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5478 $as_echo "$ac_cv_path_GREP" >&6; }
5479 GREP="$ac_cv_path_GREP"
5480
5481
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5483 $as_echo_n "checking for egrep... " >&6; }
5484 if ${ac_cv_path_EGREP+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5488 then ac_cv_path_EGREP="$GREP -E"
5489 else
5490 if test -z "$EGREP"; then
5491 ac_path_EGREP_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5495 do
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in egrep; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5501 as_fn_executable_p "$ac_path_EGREP" || continue
5502 # Check for GNU ac_path_EGREP and select it if it is found.
5503 # Check for GNU $ac_path_EGREP
5504 case `"$ac_path_EGREP" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5507 *)
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5511 do
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo 'EGREP' >> "conftest.nl"
5516 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_EGREP="$ac_path_EGREP"
5522 ac_path_EGREP_max=$ac_count
5523 fi
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5529
5530 $ac_path_EGREP_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_EGREP"; then
5536 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5537 fi
5538 else
5539 ac_cv_path_EGREP=$EGREP
5540 fi
5541
5542 fi
5543 fi
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5545 $as_echo "$ac_cv_path_EGREP" >&6; }
5546 EGREP="$ac_cv_path_EGREP"
5547
5548
5549
5550 # Keep these sync'd with the list in Makefile.am. The first provides an
5551 # expandable list at autoconf time; the second provides an expandable list
5552 # (i.e., shell variable) at configure time.
5553
5554 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python'
5555
5556 # These need to be absolute paths, yet at the same time need to
5557 # canonicalize only relative paths, because then amd will not unmount
5558 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5559 glibcxx_builddir=`${PWDCMD-pwd}`
5560 case $srcdir in
5561 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5562 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5563 esac
5564 toplevel_builddir=${glibcxx_builddir}/..
5565 toplevel_srcdir=${glibcxx_srcdir}/..
5566
5567
5568
5569
5570
5571 # We use these options to decide which functions to include. They are
5572 # set from the top level.
5573
5574 # Check whether --with-target-subdir was given.
5575 if test "${with_target_subdir+set}" = set; then :
5576 withval=$with_target_subdir;
5577 fi
5578
5579
5580
5581 # Check whether --with-cross-host was given.
5582 if test "${with_cross_host+set}" = set; then :
5583 withval=$with_cross_host;
5584 fi
5585
5586
5587
5588 # Check whether --with-newlib was given.
5589 if test "${with_newlib+set}" = set; then :
5590 withval=$with_newlib;
5591 fi
5592
5593
5594 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5595 # available). Uncomment the next line to force a particular method.
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5597 $as_echo_n "checking whether ln -s works... " >&6; }
5598 LN_S=$as_ln_s
5599 if test "$LN_S" = "ln -s"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5601 $as_echo "yes" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5604 $as_echo "no, using $LN_S" >&6; }
5605 fi
5606
5607 #LN_S='cp -p'
5608
5609 if test -n "$ac_tool_prefix"; then
5610 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5611 set dummy ${ac_tool_prefix}as; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_AS+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$AS"; then
5618 ac_cv_prog_AS="$AS" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5622 do
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_AS="${ac_tool_prefix}as"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5630 fi
5631 done
5632 done
5633 IFS=$as_save_IFS
5634
5635 fi
5636 fi
5637 AS=$ac_cv_prog_AS
5638 if test -n "$AS"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5640 $as_echo "$AS" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5644 fi
5645
5646
5647 fi
5648 if test -z "$ac_cv_prog_AS"; then
5649 ac_ct_AS=$AS
5650 # Extract the first word of "as", so it can be a program name with args.
5651 set dummy as; ac_word=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -n "$ac_ct_AS"; then
5658 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5662 do
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_ac_ct_AS="as"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 break 2
5670 fi
5671 done
5672 done
5673 IFS=$as_save_IFS
5674
5675 fi
5676 fi
5677 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5678 if test -n "$ac_ct_AS"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5680 $as_echo "$ac_ct_AS" >&6; }
5681 else
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5684 fi
5685
5686 if test "x$ac_ct_AS" = x; then
5687 AS=""
5688 else
5689 case $cross_compiling:$ac_tool_warned in
5690 yes:)
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5693 ac_tool_warned=yes ;;
5694 esac
5695 AS=$ac_ct_AS
5696 fi
5697 else
5698 AS="$ac_cv_prog_AS"
5699 fi
5700
5701 if test -n "$ac_tool_prefix"; then
5702 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5703 set dummy ${ac_tool_prefix}ar; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_AR+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -n "$AR"; then
5710 ac_cv_prog_AR="$AR" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5714 do
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_AR="${ac_tool_prefix}ar"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5722 fi
5723 done
5724 done
5725 IFS=$as_save_IFS
5726
5727 fi
5728 fi
5729 AR=$ac_cv_prog_AR
5730 if test -n "$AR"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5732 $as_echo "$AR" >&6; }
5733 else
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5736 fi
5737
5738
5739 fi
5740 if test -z "$ac_cv_prog_AR"; then
5741 ac_ct_AR=$AR
5742 # Extract the first word of "ar", so it can be a program name with args.
5743 set dummy ar; ac_word=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5747 $as_echo_n "(cached) " >&6
5748 else
5749 if test -n "$ac_ct_AR"; then
5750 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5751 else
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH
5754 do
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_ac_ct_AR="ar"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 break 2
5762 fi
5763 done
5764 done
5765 IFS=$as_save_IFS
5766
5767 fi
5768 fi
5769 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5770 if test -n "$ac_ct_AR"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5772 $as_echo "$ac_ct_AR" >&6; }
5773 else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5776 fi
5777
5778 if test "x$ac_ct_AR" = x; then
5779 AR=""
5780 else
5781 case $cross_compiling:$ac_tool_warned in
5782 yes:)
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5785 ac_tool_warned=yes ;;
5786 esac
5787 AR=$ac_ct_AR
5788 fi
5789 else
5790 AR="$ac_cv_prog_AR"
5791 fi
5792
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_RANLIB+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$RANLIB"; then
5802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5806 do
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5814 fi
5815 done
5816 done
5817 IFS=$as_save_IFS
5818
5819 fi
5820 fi
5821 RANLIB=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824 $as_echo "$RANLIB" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5828 fi
5829
5830
5831 fi
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5846 do
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5854 fi
5855 done
5856 done
5857 IFS=$as_save_IFS
5858
5859 fi
5860 fi
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864 $as_echo "$ac_ct_RANLIB" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5868 fi
5869
5870 if test "x$ac_ct_RANLIB" = x; then
5871 RANLIB="ranlib-not-found-in-path-error"
5872 else
5873 case $cross_compiling:$ac_tool_warned in
5874 yes:)
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned=yes ;;
5878 esac
5879 RANLIB=$ac_ct_RANLIB
5880 fi
5881 else
5882 RANLIB="$ac_cv_prog_RANLIB"
5883 fi
5884
5885
5886
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5888 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5889 # Check whether --enable-maintainer-mode was given.
5890 if test "${enable_maintainer_mode+set}" = set; then :
5891 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5892 else
5893 USE_MAINTAINER_MODE=no
5894 fi
5895
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5898 if test $USE_MAINTAINER_MODE = yes; then
5899 MAINTAINER_MODE_TRUE=
5900 MAINTAINER_MODE_FALSE='#'
5901 else
5902 MAINTAINER_MODE_TRUE='#'
5903 MAINTAINER_MODE_FALSE=
5904 fi
5905
5906 MAINT=$MAINTAINER_MODE_TRUE
5907
5908
5909
5910 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5911 # which are themselves conditionally expanded.
5912 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5913 ## other macros from doing the same. This should be automated.) -pme
5914
5915 # Check for C library flavor since GNU/Linux platforms use different
5916 # configuration directories depending on the C library in use.
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5919
5920 #include <stdio.h>
5921 #if __UCLIBC__
5922 _using_uclibc
5923 #endif
5924
5925 _ACEOF
5926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5927 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5928 uclibc=yes
5929 else
5930 uclibc=no
5931 fi
5932 rm -f conftest*
5933
5934
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5937
5938 #include <stdio.h>
5939 #if __BIONIC__
5940 _using_bionic
5941 #endif
5942
5943 _ACEOF
5944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5945 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5946 bionic=yes
5947 else
5948 bionic=no
5949 fi
5950 rm -f conftest*
5951
5952
5953 # Find platform-specific directories containing configuration info.
5954 # Also possibly modify flags used elsewhere, as needed by the platform.
5955
5956 . $glibcxx_srcdir/configure.host
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5958 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5960 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5961
5962
5963
5964 # Libtool setup.
5965 if test "x${with_newlib}" != "xyes" &&
5966 test "x${with_avrlibc}" != "xyes" &&
5967 test "x$with_headers" != "xno"; then
5968 enable_dlopen=yes
5969
5970
5971
5972 fi
5973 case `pwd` in
5974 *\ * | *\ *)
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5976 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5977 esac
5978
5979
5980
5981 macro_version='2.2.7a'
5982 macro_revision='1.3134'
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996 ltmain="$ac_aux_dir/ltmain.sh"
5997
5998 # Backslashify metacharacters that are still active within
5999 # double-quoted strings.
6000 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6001
6002 # Same as above, but do not quote variable references.
6003 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6004
6005 # Sed substitution to delay expansion of an escaped shell variable in a
6006 # double_quote_subst'ed string.
6007 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6008
6009 # Sed substitution to delay expansion of an escaped single quote.
6010 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6011
6012 # Sed substitution to avoid accidental globbing in evaled expressions
6013 no_glob_subst='s/\*/\\\*/g'
6014
6015 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6016 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6018
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6020 $as_echo_n "checking how to print strings... " >&6; }
6021 # Test print first, because it will be a builtin if present.
6022 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6023 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6024 ECHO='print -r --'
6025 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6026 ECHO='printf %s\n'
6027 else
6028 # Use this function as a fallback that always works.
6029 func_fallback_echo ()
6030 {
6031 eval 'cat <<_LTECHO_EOF
6032 $1
6033 _LTECHO_EOF'
6034 }
6035 ECHO='func_fallback_echo'
6036 fi
6037
6038 # func_echo_all arg...
6039 # Invoke $ECHO with all args, space-separated.
6040 func_echo_all ()
6041 {
6042 $ECHO ""
6043 }
6044
6045 case "$ECHO" in
6046 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6047 $as_echo "printf" >&6; } ;;
6048 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6049 $as_echo "print -r" >&6; } ;;
6050 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6051 $as_echo "cat" >&6; } ;;
6052 esac
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6068 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6069 if ${ac_cv_path_SED+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6073 for ac_i in 1 2 3 4 5 6 7; do
6074 ac_script="$ac_script$as_nl$ac_script"
6075 done
6076 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6077 { ac_script=; unset ac_script;}
6078 if test -z "$SED"; then
6079 ac_path_SED_found=false
6080 # Loop through the user's path and test for each of PROGNAME-LIST
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6083 do
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_prog in sed gsed; do
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6089 as_fn_executable_p "$ac_path_SED" || continue
6090 # Check for GNU ac_path_SED and select it if it is found.
6091 # Check for GNU $ac_path_SED
6092 case `"$ac_path_SED" --version 2>&1` in
6093 *GNU*)
6094 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6095 *)
6096 ac_count=0
6097 $as_echo_n 0123456789 >"conftest.in"
6098 while :
6099 do
6100 cat "conftest.in" "conftest.in" >"conftest.tmp"
6101 mv "conftest.tmp" "conftest.in"
6102 cp "conftest.in" "conftest.nl"
6103 $as_echo '' >> "conftest.nl"
6104 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6105 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6106 as_fn_arith $ac_count + 1 && ac_count=$as_val
6107 if test $ac_count -gt ${ac_path_SED_max-0}; then
6108 # Best one so far, save it but keep looking for a better one
6109 ac_cv_path_SED="$ac_path_SED"
6110 ac_path_SED_max=$ac_count
6111 fi
6112 # 10*(2^10) chars as input seems more than enough
6113 test $ac_count -gt 10 && break
6114 done
6115 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6116 esac
6117
6118 $ac_path_SED_found && break 3
6119 done
6120 done
6121 done
6122 IFS=$as_save_IFS
6123 if test -z "$ac_cv_path_SED"; then
6124 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6125 fi
6126 else
6127 ac_cv_path_SED=$SED
6128 fi
6129
6130 fi
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6132 $as_echo "$ac_cv_path_SED" >&6; }
6133 SED="$ac_cv_path_SED"
6134 rm -f conftest.sed
6135
6136 test -z "$SED" && SED=sed
6137 Xsed="$SED -e 1s/^X//"
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6150 $as_echo_n "checking for fgrep... " >&6; }
6151 if ${ac_cv_path_FGREP+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6155 then ac_cv_path_FGREP="$GREP -F"
6156 else
6157 if test -z "$FGREP"; then
6158 ac_path_FGREP_found=false
6159 # Loop through the user's path and test for each of PROGNAME-LIST
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6162 do
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_prog in fgrep; do
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6168 as_fn_executable_p "$ac_path_FGREP" || continue
6169 # Check for GNU ac_path_FGREP and select it if it is found.
6170 # Check for GNU $ac_path_FGREP
6171 case `"$ac_path_FGREP" --version 2>&1` in
6172 *GNU*)
6173 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6174 *)
6175 ac_count=0
6176 $as_echo_n 0123456789 >"conftest.in"
6177 while :
6178 do
6179 cat "conftest.in" "conftest.in" >"conftest.tmp"
6180 mv "conftest.tmp" "conftest.in"
6181 cp "conftest.in" "conftest.nl"
6182 $as_echo 'FGREP' >> "conftest.nl"
6183 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6185 as_fn_arith $ac_count + 1 && ac_count=$as_val
6186 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6187 # Best one so far, save it but keep looking for a better one
6188 ac_cv_path_FGREP="$ac_path_FGREP"
6189 ac_path_FGREP_max=$ac_count
6190 fi
6191 # 10*(2^10) chars as input seems more than enough
6192 test $ac_count -gt 10 && break
6193 done
6194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6195 esac
6196
6197 $ac_path_FGREP_found && break 3
6198 done
6199 done
6200 done
6201 IFS=$as_save_IFS
6202 if test -z "$ac_cv_path_FGREP"; then
6203 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6204 fi
6205 else
6206 ac_cv_path_FGREP=$FGREP
6207 fi
6208
6209 fi
6210 fi
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6212 $as_echo "$ac_cv_path_FGREP" >&6; }
6213 FGREP="$ac_cv_path_FGREP"
6214
6215
6216 test -z "$GREP" && GREP=grep
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236 # Check whether --with-gnu-ld was given.
6237 if test "${with_gnu_ld+set}" = set; then :
6238 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6239 else
6240 with_gnu_ld=no
6241 fi
6242
6243 ac_prog=ld
6244 if test "$GCC" = yes; then
6245 # Check if gcc -print-prog-name=ld gives a path.
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6247 $as_echo_n "checking for ld used by $CC... " >&6; }
6248 case $host in
6249 *-*-mingw*)
6250 # gcc leaves a trailing carriage return which upsets mingw
6251 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6252 *)
6253 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6254 esac
6255 case $ac_prog in
6256 # Accept absolute paths.
6257 [\\/]* | ?:[\\/]*)
6258 re_direlt='/[^/][^/]*/\.\./'
6259 # Canonicalize the pathname of ld
6260 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6261 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6262 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6263 done
6264 test -z "$LD" && LD="$ac_prog"
6265 ;;
6266 "")
6267 # If it fails, then pretend we aren't using GCC.
6268 ac_prog=ld
6269 ;;
6270 *)
6271 # If it is relative, then search for the first ld in PATH.
6272 with_gnu_ld=unknown
6273 ;;
6274 esac
6275 elif test "$with_gnu_ld" = yes; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6277 $as_echo_n "checking for GNU ld... " >&6; }
6278 else
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6280 $as_echo_n "checking for non-GNU ld... " >&6; }
6281 fi
6282 if ${lt_cv_path_LD+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -z "$LD"; then
6286 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6287 for ac_dir in $PATH; do
6288 IFS="$lt_save_ifs"
6289 test -z "$ac_dir" && ac_dir=.
6290 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6291 lt_cv_path_LD="$ac_dir/$ac_prog"
6292 # Check to see if the program is GNU ld. I'd rather use --version,
6293 # but apparently some variants of GNU ld only accept -v.
6294 # Break only if it was the GNU/non-GNU ld that we prefer.
6295 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6296 *GNU* | *'with BFD'*)
6297 test "$with_gnu_ld" != no && break
6298 ;;
6299 *)
6300 test "$with_gnu_ld" != yes && break
6301 ;;
6302 esac
6303 fi
6304 done
6305 IFS="$lt_save_ifs"
6306 else
6307 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6308 fi
6309 fi
6310
6311 LD="$lt_cv_path_LD"
6312 if test -n "$LD"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6314 $as_echo "$LD" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6318 fi
6319 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6321 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6322 if ${lt_cv_prog_gnu_ld+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6326 case `$LD -v 2>&1 </dev/null` in
6327 *GNU* | *'with BFD'*)
6328 lt_cv_prog_gnu_ld=yes
6329 ;;
6330 *)
6331 lt_cv_prog_gnu_ld=no
6332 ;;
6333 esac
6334 fi
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6336 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6337 with_gnu_ld=$lt_cv_prog_gnu_ld
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6348 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6349 if ${lt_cv_path_NM+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test -n "$NM"; then
6353 # Let the user override the test.
6354 lt_cv_path_NM="$NM"
6355 else
6356 lt_nm_to_check="${ac_tool_prefix}nm"
6357 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6358 lt_nm_to_check="$lt_nm_to_check nm"
6359 fi
6360 for lt_tmp_nm in $lt_nm_to_check; do
6361 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6362 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6363 IFS="$lt_save_ifs"
6364 test -z "$ac_dir" && ac_dir=.
6365 tmp_nm="$ac_dir/$lt_tmp_nm"
6366 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6367 # Check to see if the nm accepts a BSD-compat flag.
6368 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6369 # nm: unknown option "B" ignored
6370 # Tru64's nm complains that /dev/null is an invalid object file
6371 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6372 */dev/null* | *'Invalid file or object type'*)
6373 lt_cv_path_NM="$tmp_nm -B"
6374 break
6375 ;;
6376 *)
6377 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6378 */dev/null*)
6379 lt_cv_path_NM="$tmp_nm -p"
6380 break
6381 ;;
6382 *)
6383 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6384 continue # so that we can try to find one that supports BSD flags
6385 ;;
6386 esac
6387 ;;
6388 esac
6389 fi
6390 done
6391 IFS="$lt_save_ifs"
6392 done
6393 : ${lt_cv_path_NM=no}
6394 fi
6395 fi
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6397 $as_echo "$lt_cv_path_NM" >&6; }
6398 if test "$lt_cv_path_NM" != "no"; then
6399 NM="$lt_cv_path_NM"
6400 else
6401 # Didn't find any BSD compatible name lister, look for dumpbin.
6402 if test -n "$DUMPBIN"; then :
6403 # Let the user override the test.
6404 else
6405 if test -n "$ac_tool_prefix"; then
6406 for ac_prog in dumpbin "link -dump"
6407 do
6408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_DUMPBIN+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$DUMPBIN"; then
6416 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6420 do
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6428 fi
6429 done
6430 done
6431 IFS=$as_save_IFS
6432
6433 fi
6434 fi
6435 DUMPBIN=$ac_cv_prog_DUMPBIN
6436 if test -n "$DUMPBIN"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6438 $as_echo "$DUMPBIN" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6442 fi
6443
6444
6445 test -n "$DUMPBIN" && break
6446 done
6447 fi
6448 if test -z "$DUMPBIN"; then
6449 ac_ct_DUMPBIN=$DUMPBIN
6450 for ac_prog in dumpbin "link -dump"
6451 do
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6457 $as_echo_n "(cached) " >&6
6458 else
6459 if test -n "$ac_ct_DUMPBIN"; then
6460 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6464 do
6465 IFS=$as_save_IFS
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 break 2
6472 fi
6473 done
6474 done
6475 IFS=$as_save_IFS
6476
6477 fi
6478 fi
6479 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6480 if test -n "$ac_ct_DUMPBIN"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6482 $as_echo "$ac_ct_DUMPBIN" >&6; }
6483 else
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6486 fi
6487
6488
6489 test -n "$ac_ct_DUMPBIN" && break
6490 done
6491
6492 if test "x$ac_ct_DUMPBIN" = x; then
6493 DUMPBIN=":"
6494 else
6495 case $cross_compiling:$ac_tool_warned in
6496 yes:)
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499 ac_tool_warned=yes ;;
6500 esac
6501 DUMPBIN=$ac_ct_DUMPBIN
6502 fi
6503 fi
6504
6505 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6506 *COFF*)
6507 DUMPBIN="$DUMPBIN -symbols"
6508 ;;
6509 *)
6510 DUMPBIN=:
6511 ;;
6512 esac
6513 fi
6514
6515 if test "$DUMPBIN" != ":"; then
6516 NM="$DUMPBIN"
6517 fi
6518 fi
6519 test -z "$NM" && NM=nm
6520
6521
6522
6523
6524
6525
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6527 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6528 if ${lt_cv_nm_interface+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 lt_cv_nm_interface="BSD nm"
6532 echo "int some_variable = 0;" > conftest.$ac_ext
6533 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6534 (eval "$ac_compile" 2>conftest.err)
6535 cat conftest.err >&5
6536 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6537 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6538 cat conftest.err >&5
6539 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6540 cat conftest.out >&5
6541 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6542 lt_cv_nm_interface="MS dumpbin"
6543 fi
6544 rm -f conftest*
6545 fi
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6547 $as_echo "$lt_cv_nm_interface" >&6; }
6548
6549 # find the maximum length of command line arguments
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6551 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6552 if ${lt_cv_sys_max_cmd_len+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 i=0
6556 teststring="ABCD"
6557
6558 case $build_os in
6559 msdosdjgpp*)
6560 # On DJGPP, this test can blow up pretty badly due to problems in libc
6561 # (any single argument exceeding 2000 bytes causes a buffer overrun
6562 # during glob expansion). Even if it were fixed, the result of this
6563 # check would be larger than it should be.
6564 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6565 ;;
6566
6567 gnu*)
6568 # Under GNU Hurd, this test is not required because there is
6569 # no limit to the length of command line arguments.
6570 # Libtool will interpret -1 as no limit whatsoever
6571 lt_cv_sys_max_cmd_len=-1;
6572 ;;
6573
6574 cygwin* | mingw* | cegcc*)
6575 # On Win9x/ME, this test blows up -- it succeeds, but takes
6576 # about 5 minutes as the teststring grows exponentially.
6577 # Worse, since 9x/ME are not pre-emptively multitasking,
6578 # you end up with a "frozen" computer, even though with patience
6579 # the test eventually succeeds (with a max line length of 256k).
6580 # Instead, let's just punt: use the minimum linelength reported by
6581 # all of the supported platforms: 8192 (on NT/2K/XP).
6582 lt_cv_sys_max_cmd_len=8192;
6583 ;;
6584
6585 mint*)
6586 # On MiNT this can take a long time and run out of memory.
6587 lt_cv_sys_max_cmd_len=8192;
6588 ;;
6589
6590 amigaos*)
6591 # On AmigaOS with pdksh, this test takes hours, literally.
6592 # So we just punt and use a minimum line length of 8192.
6593 lt_cv_sys_max_cmd_len=8192;
6594 ;;
6595
6596 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6597 # This has been around since 386BSD, at least. Likely further.
6598 if test -x /sbin/sysctl; then
6599 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6600 elif test -x /usr/sbin/sysctl; then
6601 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6602 else
6603 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6604 fi
6605 # And add a safety zone
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6608 ;;
6609
6610 interix*)
6611 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6612 lt_cv_sys_max_cmd_len=196608
6613 ;;
6614
6615 osf*)
6616 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6617 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6618 # nice to cause kernel panics so lets avoid the loop below.
6619 # First set a reasonable default.
6620 lt_cv_sys_max_cmd_len=16384
6621 #
6622 if test -x /sbin/sysconfig; then
6623 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6624 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6625 esac
6626 fi
6627 ;;
6628 sco3.2v5*)
6629 lt_cv_sys_max_cmd_len=102400
6630 ;;
6631 sysv5* | sco5v6* | sysv4.2uw2*)
6632 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6633 if test -n "$kargmax"; then
6634 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6635 else
6636 lt_cv_sys_max_cmd_len=32768
6637 fi
6638 ;;
6639 *)
6640 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6641 if test -n "$lt_cv_sys_max_cmd_len"; then
6642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6644 else
6645 # Make teststring a little bigger before we do anything with it.
6646 # a 1K string should be a reasonable start.
6647 for i in 1 2 3 4 5 6 7 8 ; do
6648 teststring=$teststring$teststring
6649 done
6650 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6651 # If test is not a shell built-in, we'll probably end up computing a
6652 # maximum length that is only half of the actual maximum length, but
6653 # we can't tell.
6654 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6655 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6656 test $i != 17 # 1/2 MB should be enough
6657 do
6658 i=`expr $i + 1`
6659 teststring=$teststring$teststring
6660 done
6661 # Only check the string length outside the loop.
6662 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6663 teststring=
6664 # Add a significant safety factor because C++ compilers can tack on
6665 # massive amounts of additional arguments before passing them to the
6666 # linker. It appears as though 1/2 is a usable value.
6667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6668 fi
6669 ;;
6670 esac
6671
6672 fi
6673
6674 if test -n $lt_cv_sys_max_cmd_len ; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6676 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6679 $as_echo "none" >&6; }
6680 fi
6681 max_cmd_len=$lt_cv_sys_max_cmd_len
6682
6683
6684
6685
6686
6687
6688 : ${CP="cp -f"}
6689 : ${MV="mv -f"}
6690 : ${RM="rm -f"}
6691
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6693 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6694 # Try some XSI features
6695 xsi_shell=no
6696 ( _lt_dummy="a/b/c"
6697 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6698 = c,a/b,, \
6699 && eval 'test $(( 1 + 1 )) -eq 2 \
6700 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6701 && xsi_shell=yes
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6703 $as_echo "$xsi_shell" >&6; }
6704
6705
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6707 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6708 lt_shell_append=no
6709 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6710 >/dev/null 2>&1 \
6711 && lt_shell_append=yes
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6713 $as_echo "$lt_shell_append" >&6; }
6714
6715
6716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6717 lt_unset=unset
6718 else
6719 lt_unset=false
6720 fi
6721
6722
6723
6724
6725
6726 # test EBCDIC or ASCII
6727 case `echo X|tr X '\101'` in
6728 A) # ASCII based system
6729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6730 lt_SP2NL='tr \040 \012'
6731 lt_NL2SP='tr \015\012 \040\040'
6732 ;;
6733 *) # EBCDIC based system
6734 lt_SP2NL='tr \100 \n'
6735 lt_NL2SP='tr \r\n \100\100'
6736 ;;
6737 esac
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6748 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6749 if ${lt_cv_ld_reload_flag+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 lt_cv_ld_reload_flag='-r'
6753 fi
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6755 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6756 reload_flag=$lt_cv_ld_reload_flag
6757 case $reload_flag in
6758 "" | " "*) ;;
6759 *) reload_flag=" $reload_flag" ;;
6760 esac
6761 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6762 case $host_os in
6763 darwin*)
6764 if test "$GCC" = yes; then
6765 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6766 else
6767 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6768 fi
6769 ;;
6770 esac
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_OBJDUMP+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 if test -n "$OBJDUMP"; then
6789 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6793 do
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 break 2
6801 fi
6802 done
6803 done
6804 IFS=$as_save_IFS
6805
6806 fi
6807 fi
6808 OBJDUMP=$ac_cv_prog_OBJDUMP
6809 if test -n "$OBJDUMP"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6811 $as_echo "$OBJDUMP" >&6; }
6812 else
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6815 fi
6816
6817
6818 fi
6819 if test -z "$ac_cv_prog_OBJDUMP"; then
6820 ac_ct_OBJDUMP=$OBJDUMP
6821 # Extract the first word of "objdump", so it can be a program name with args.
6822 set dummy objdump; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 if test -n "$ac_ct_OBJDUMP"; then
6829 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6830 else
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 for as_dir in $PATH
6833 do
6834 IFS=$as_save_IFS
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 break 2
6841 fi
6842 done
6843 done
6844 IFS=$as_save_IFS
6845
6846 fi
6847 fi
6848 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6849 if test -n "$ac_ct_OBJDUMP"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6851 $as_echo "$ac_ct_OBJDUMP" >&6; }
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6855 fi
6856
6857 if test "x$ac_ct_OBJDUMP" = x; then
6858 OBJDUMP="false"
6859 else
6860 case $cross_compiling:$ac_tool_warned in
6861 yes:)
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6864 ac_tool_warned=yes ;;
6865 esac
6866 OBJDUMP=$ac_ct_OBJDUMP
6867 fi
6868 else
6869 OBJDUMP="$ac_cv_prog_OBJDUMP"
6870 fi
6871
6872 test -z "$OBJDUMP" && OBJDUMP=objdump
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6883 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6884 if ${lt_cv_deplibs_check_method+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 lt_cv_file_magic_cmd='$MAGIC_CMD'
6888 lt_cv_file_magic_test_file=
6889 lt_cv_deplibs_check_method='unknown'
6890 # Need to set the preceding variable on all platforms that support
6891 # interlibrary dependencies.
6892 # 'none' -- dependencies not supported.
6893 # `unknown' -- same as none, but documents that we really don't know.
6894 # 'pass_all' -- all dependencies passed with no checks.
6895 # 'test_compile' -- check by making test program.
6896 # 'file_magic [[regex]]' -- check by looking for files in library path
6897 # which responds to the $file_magic_cmd with a given extended regex.
6898 # If you have `file' or equivalent on your system and you're not sure
6899 # whether `pass_all' will *always* work, you probably want this one.
6900
6901 case $host_os in
6902 aix[4-9]*)
6903 lt_cv_deplibs_check_method=pass_all
6904 ;;
6905
6906 beos*)
6907 lt_cv_deplibs_check_method=pass_all
6908 ;;
6909
6910 bsdi[45]*)
6911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6912 lt_cv_file_magic_cmd='/usr/bin/file -L'
6913 lt_cv_file_magic_test_file=/shlib/libc.so
6914 ;;
6915
6916 cygwin*)
6917 # func_win32_libid is a shell function defined in ltmain.sh
6918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6919 lt_cv_file_magic_cmd='func_win32_libid'
6920 ;;
6921
6922 mingw* | pw32*)
6923 # Base MSYS/MinGW do not provide the 'file' command needed by
6924 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6925 # unless we find 'file', for example because we are cross-compiling.
6926 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6927 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6928 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6929 lt_cv_file_magic_cmd='func_win32_libid'
6930 else
6931 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6932 lt_cv_file_magic_cmd='$OBJDUMP -f'
6933 fi
6934 ;;
6935
6936 cegcc*)
6937 # use the weaker test based on 'objdump'. See mingw*.
6938 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6939 lt_cv_file_magic_cmd='$OBJDUMP -f'
6940 ;;
6941
6942 darwin* | rhapsody*)
6943 lt_cv_deplibs_check_method=pass_all
6944 ;;
6945
6946 freebsd* | dragonfly*)
6947 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6948 case $host_cpu in
6949 i*86 )
6950 # Not sure whether the presence of OpenBSD here was a mistake.
6951 # Let's accept both of them until this is cleared up.
6952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6953 lt_cv_file_magic_cmd=/usr/bin/file
6954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6955 ;;
6956 esac
6957 else
6958 lt_cv_deplibs_check_method=pass_all
6959 fi
6960 ;;
6961
6962 gnu*)
6963 lt_cv_deplibs_check_method=pass_all
6964 ;;
6965
6966 haiku*)
6967 lt_cv_deplibs_check_method=pass_all
6968 ;;
6969
6970 hpux10.20* | hpux11*)
6971 lt_cv_file_magic_cmd=/usr/bin/file
6972 case $host_cpu in
6973 ia64*)
6974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6976 ;;
6977 hppa*64*)
6978 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]'
6979 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6980 ;;
6981 *)
6982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6983 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6984 ;;
6985 esac
6986 ;;
6987
6988 interix[3-9]*)
6989 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6991 ;;
6992
6993 irix5* | irix6* | nonstopux*)
6994 case $LD in
6995 *-32|*"-32 ") libmagic=32-bit;;
6996 *-n32|*"-n32 ") libmagic=N32;;
6997 *-64|*"-64 ") libmagic=64-bit;;
6998 *) libmagic=never-match;;
6999 esac
7000 lt_cv_deplibs_check_method=pass_all
7001 ;;
7002
7003 # This must be Linux ELF.
7004 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7005 lt_cv_deplibs_check_method=pass_all
7006 ;;
7007
7008 netbsd*)
7009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7011 else
7012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7013 fi
7014 ;;
7015
7016 newos6*)
7017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7018 lt_cv_file_magic_cmd=/usr/bin/file
7019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7020 ;;
7021
7022 *nto* | *qnx*)
7023 lt_cv_deplibs_check_method=pass_all
7024 ;;
7025
7026 openbsd*)
7027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7029 else
7030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7031 fi
7032 ;;
7033
7034 osf3* | osf4* | osf5*)
7035 lt_cv_deplibs_check_method=pass_all
7036 ;;
7037
7038 rdos*)
7039 lt_cv_deplibs_check_method=pass_all
7040 ;;
7041
7042 solaris*)
7043 lt_cv_deplibs_check_method=pass_all
7044 ;;
7045
7046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7047 lt_cv_deplibs_check_method=pass_all
7048 ;;
7049
7050 sysv4 | sysv4.3*)
7051 case $host_vendor in
7052 motorola)
7053 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]'
7054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7055 ;;
7056 ncr)
7057 lt_cv_deplibs_check_method=pass_all
7058 ;;
7059 sequent)
7060 lt_cv_file_magic_cmd='/bin/file'
7061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7062 ;;
7063 sni)
7064 lt_cv_file_magic_cmd='/bin/file'
7065 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7066 lt_cv_file_magic_test_file=/lib/libc.so
7067 ;;
7068 siemens)
7069 lt_cv_deplibs_check_method=pass_all
7070 ;;
7071 pc)
7072 lt_cv_deplibs_check_method=pass_all
7073 ;;
7074 esac
7075 ;;
7076
7077 tpf*)
7078 lt_cv_deplibs_check_method=pass_all
7079 ;;
7080 esac
7081
7082 fi
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7084 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7085 file_magic_cmd=$lt_cv_file_magic_cmd
7086 deplibs_check_method=$lt_cv_deplibs_check_method
7087 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}ar; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_AR+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 if test -n "$AR"; then
7109 ac_cv_prog_AR="$AR" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7113 do
7114 IFS=$as_save_IFS
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_AR="${ac_tool_prefix}ar"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 break 2
7121 fi
7122 done
7123 done
7124 IFS=$as_save_IFS
7125
7126 fi
7127 fi
7128 AR=$ac_cv_prog_AR
7129 if test -n "$AR"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7131 $as_echo "$AR" >&6; }
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7135 fi
7136
7137
7138 fi
7139 if test -z "$ac_cv_prog_AR"; then
7140 ac_ct_AR=$AR
7141 # Extract the first word of "ar", so it can be a program name with args.
7142 set dummy ar; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 if test -n "$ac_ct_AR"; then
7149 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7153 do
7154 IFS=$as_save_IFS
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_AR="ar"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 break 2
7161 fi
7162 done
7163 done
7164 IFS=$as_save_IFS
7165
7166 fi
7167 fi
7168 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7169 if test -n "$ac_ct_AR"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7171 $as_echo "$ac_ct_AR" >&6; }
7172 else
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7175 fi
7176
7177 if test "x$ac_ct_AR" = x; then
7178 AR="false"
7179 else
7180 case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186 AR=$ac_ct_AR
7187 fi
7188 else
7189 AR="$ac_cv_prog_AR"
7190 fi
7191
7192 test -z "$AR" && AR=ar
7193 test -z "$AR_FLAGS" && AR_FLAGS=cru
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}strip; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_STRIP+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$STRIP"; then
7214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7218 do
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7226 fi
7227 done
7228 done
7229 IFS=$as_save_IFS
7230
7231 fi
7232 fi
7233 STRIP=$ac_cv_prog_STRIP
7234 if test -n "$STRIP"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7236 $as_echo "$STRIP" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7240 fi
7241
7242
7243 fi
7244 if test -z "$ac_cv_prog_STRIP"; then
7245 ac_ct_STRIP=$STRIP
7246 # Extract the first word of "strip", so it can be a program name with args.
7247 set dummy strip; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$ac_ct_STRIP"; then
7254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7258 do
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_STRIP="strip"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7266 fi
7267 done
7268 done
7269 IFS=$as_save_IFS
7270
7271 fi
7272 fi
7273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7274 if test -n "$ac_ct_STRIP"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7276 $as_echo "$ac_ct_STRIP" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7280 fi
7281
7282 if test "x$ac_ct_STRIP" = x; then
7283 STRIP=":"
7284 else
7285 case $cross_compiling:$ac_tool_warned in
7286 yes:)
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7290 esac
7291 STRIP=$ac_ct_STRIP
7292 fi
7293 else
7294 STRIP="$ac_cv_prog_STRIP"
7295 fi
7296
7297 test -z "$STRIP" && STRIP=:
7298
7299
7300
7301
7302
7303
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_RANLIB+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$RANLIB"; then
7313 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7317 do
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7325 fi
7326 done
7327 done
7328 IFS=$as_save_IFS
7329
7330 fi
7331 fi
7332 RANLIB=$ac_cv_prog_RANLIB
7333 if test -n "$RANLIB"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7335 $as_echo "$RANLIB" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7339 fi
7340
7341
7342 fi
7343 if test -z "$ac_cv_prog_RANLIB"; then
7344 ac_ct_RANLIB=$RANLIB
7345 # Extract the first word of "ranlib", so it can be a program name with args.
7346 set dummy ranlib; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_RANLIB"; then
7353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7357 do
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_RANLIB="ranlib"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7365 fi
7366 done
7367 done
7368 IFS=$as_save_IFS
7369
7370 fi
7371 fi
7372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7373 if test -n "$ac_ct_RANLIB"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7375 $as_echo "$ac_ct_RANLIB" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7379 fi
7380
7381 if test "x$ac_ct_RANLIB" = x; then
7382 RANLIB=":"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 RANLIB=$ac_ct_RANLIB
7391 fi
7392 else
7393 RANLIB="$ac_cv_prog_RANLIB"
7394 fi
7395
7396 test -z "$RANLIB" && RANLIB=:
7397
7398
7399
7400
7401
7402
7403 # Determine commands to create old-style static archives.
7404 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7405 old_postinstall_cmds='chmod 644 $oldlib'
7406 old_postuninstall_cmds=
7407
7408 if test -n "$RANLIB"; then
7409 case $host_os in
7410 openbsd*)
7411 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7412 ;;
7413 *)
7414 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7415 ;;
7416 esac
7417 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7418 fi
7419
7420 case $host_os in
7421 darwin*)
7422 lock_old_archive_extraction=yes ;;
7423 *)
7424 lock_old_archive_extraction=no ;;
7425 esac
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
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 # If no C compiler was specified, use CC.
7466 LTCC=${LTCC-"$CC"}
7467
7468 # If no C compiler flags were specified, use CFLAGS.
7469 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7470
7471 # Allow CC to be a program name with arguments.
7472 compiler=$CC
7473
7474
7475 # Check for command to grab the raw symbol name followed by C symbol from nm.
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7477 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7478 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7481
7482 # These are sane defaults that work on at least a few old systems.
7483 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7484
7485 # Character class describing NM global symbol codes.
7486 symcode='[BCDEGRST]'
7487
7488 # Regexp to match symbols that can be accessed directly from C.
7489 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7490
7491 # Define system-specific variables.
7492 case $host_os in
7493 aix*)
7494 symcode='[BCDT]'
7495 ;;
7496 cygwin* | mingw* | pw32* | cegcc*)
7497 symcode='[ABCDGISTW]'
7498 ;;
7499 hpux*)
7500 if test "$host_cpu" = ia64; then
7501 symcode='[ABCDEGRST]'
7502 fi
7503 ;;
7504 irix* | nonstopux*)
7505 symcode='[BCDEGRST]'
7506 ;;
7507 osf*)
7508 symcode='[BCDEGQRST]'
7509 ;;
7510 solaris*)
7511 symcode='[BDRT]'
7512 ;;
7513 sco3.2v5*)
7514 symcode='[DT]'
7515 ;;
7516 sysv4.2uw2*)
7517 symcode='[DT]'
7518 ;;
7519 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7520 symcode='[ABDT]'
7521 ;;
7522 sysv4)
7523 symcode='[DFNSTU]'
7524 ;;
7525 esac
7526
7527 # If we're using GNU nm, then use its standard symbol codes.
7528 case `$NM -V 2>&1` in
7529 *GNU* | *'with BFD'*)
7530 symcode='[ABCDGIRSTW]' ;;
7531 esac
7532
7533 # Transform an extracted symbol line into a proper C declaration.
7534 # Some systems (esp. on ia64) link data and code symbols differently,
7535 # so use this general approach.
7536 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7537
7538 # Transform an extracted symbol line into symbol name and symbol address
7539 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7540 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'"
7541
7542 # Handle CRLF in mingw tool chain
7543 opt_cr=
7544 case $build_os in
7545 mingw*)
7546 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7547 ;;
7548 esac
7549
7550 # Try without a prefix underscore, then with it.
7551 for ac_symprfx in "" "_"; do
7552
7553 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7554 symxfrm="\\1 $ac_symprfx\\2 \\2"
7555
7556 # Write the raw and C identifiers.
7557 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7558 # Fake it for dumpbin and say T for any non-static function
7559 # and D for any global variable.
7560 # Also find C++ and __fastcall symbols from MSVC++,
7561 # which start with @ or ?.
7562 lt_cv_sys_global_symbol_pipe="$AWK '"\
7563 " {last_section=section; section=\$ 3};"\
7564 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7565 " \$ 0!~/External *\|/{next};"\
7566 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7567 " {if(hide[section]) next};"\
7568 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7569 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7570 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7571 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7572 " ' prfx=^$ac_symprfx"
7573 else
7574 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7575 fi
7576
7577 # Check to see that the pipe works correctly.
7578 pipe_works=no
7579
7580 rm -f conftest*
7581 cat > conftest.$ac_ext <<_LT_EOF
7582 #ifdef __cplusplus
7583 extern "C" {
7584 #endif
7585 char nm_test_var;
7586 void nm_test_func(void);
7587 void nm_test_func(void){}
7588 #ifdef __cplusplus
7589 }
7590 #endif
7591 int main(){nm_test_var='a';nm_test_func();return(0);}
7592 _LT_EOF
7593
7594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595 (eval $ac_compile) 2>&5
7596 ac_status=$?
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; }; then
7599 # Now try to grab the symbols.
7600 nlist=conftest.nm
7601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7602 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7603 ac_status=$?
7604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605 test $ac_status = 0; } && test -s "$nlist"; then
7606 # Try sorting and uniquifying the output.
7607 if sort "$nlist" | uniq > "$nlist"T; then
7608 mv -f "$nlist"T "$nlist"
7609 else
7610 rm -f "$nlist"T
7611 fi
7612
7613 # Make sure that we snagged all the symbols we need.
7614 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7615 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7616 cat <<_LT_EOF > conftest.$ac_ext
7617 #ifdef __cplusplus
7618 extern "C" {
7619 #endif
7620
7621 _LT_EOF
7622 # Now generate the symbol file.
7623 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7624
7625 cat <<_LT_EOF >> conftest.$ac_ext
7626
7627 /* The mapping between symbol names and symbols. */
7628 const struct {
7629 const char *name;
7630 void *address;
7631 }
7632 lt__PROGRAM__LTX_preloaded_symbols[] =
7633 {
7634 { "@PROGRAM@", (void *) 0 },
7635 _LT_EOF
7636 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7637 cat <<\_LT_EOF >> conftest.$ac_ext
7638 {0, (void *) 0}
7639 };
7640
7641 /* This works around a problem in FreeBSD linker */
7642 #ifdef FREEBSD_WORKAROUND
7643 static const void *lt_preloaded_setup() {
7644 return lt__PROGRAM__LTX_preloaded_symbols;
7645 }
7646 #endif
7647
7648 #ifdef __cplusplus
7649 }
7650 #endif
7651 _LT_EOF
7652 # Now try linking the two files.
7653 mv conftest.$ac_objext conftstm.$ac_objext
7654 lt_save_LIBS="$LIBS"
7655 lt_save_CFLAGS="$CFLAGS"
7656 LIBS="conftstm.$ac_objext"
7657 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7659 (eval $ac_link) 2>&5
7660 ac_status=$?
7661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7662 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7663 pipe_works=yes
7664 fi
7665 LIBS="$lt_save_LIBS"
7666 CFLAGS="$lt_save_CFLAGS"
7667 else
7668 echo "cannot find nm_test_func in $nlist" >&5
7669 fi
7670 else
7671 echo "cannot find nm_test_var in $nlist" >&5
7672 fi
7673 else
7674 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7675 fi
7676 else
7677 echo "$progname: failed program was:" >&5
7678 cat conftest.$ac_ext >&5
7679 fi
7680 rm -rf conftest* conftst*
7681
7682 # Do not use the global_symbol_pipe unless it works.
7683 if test "$pipe_works" = yes; then
7684 break
7685 else
7686 lt_cv_sys_global_symbol_pipe=
7687 fi
7688 done
7689
7690 fi
7691
7692 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7693 lt_cv_sys_global_symbol_to_cdecl=
7694 fi
7695 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7697 $as_echo "failed" >&6; }
7698 else
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7700 $as_echo "ok" >&6; }
7701 fi
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724 # Check whether --enable-libtool-lock was given.
7725 if test "${enable_libtool_lock+set}" = set; then :
7726 enableval=$enable_libtool_lock;
7727 fi
7728
7729 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7730
7731 # Some flags need to be propagated to the compiler or linker for good
7732 # libtool support.
7733 case $host in
7734 ia64-*-hpux*)
7735 # Find out which ABI we are using.
7736 echo 'int i;' > conftest.$ac_ext
7737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7738 (eval $ac_compile) 2>&5
7739 ac_status=$?
7740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7741 test $ac_status = 0; }; then
7742 case `/usr/bin/file conftest.$ac_objext` in
7743 *ELF-32*)
7744 HPUX_IA64_MODE="32"
7745 ;;
7746 *ELF-64*)
7747 HPUX_IA64_MODE="64"
7748 ;;
7749 esac
7750 fi
7751 rm -rf conftest*
7752 ;;
7753 *-*-irix6*)
7754 # Find out which ABI we are using.
7755 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7757 (eval $ac_compile) 2>&5
7758 ac_status=$?
7759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7760 test $ac_status = 0; }; then
7761 if test "$lt_cv_prog_gnu_ld" = yes; then
7762 case `/usr/bin/file conftest.$ac_objext` in
7763 *32-bit*)
7764 LD="${LD-ld} -melf32bsmip"
7765 ;;
7766 *N32*)
7767 LD="${LD-ld} -melf32bmipn32"
7768 ;;
7769 *64-bit*)
7770 LD="${LD-ld} -melf64bmip"
7771 ;;
7772 esac
7773 else
7774 case `/usr/bin/file conftest.$ac_objext` in
7775 *32-bit*)
7776 LD="${LD-ld} -32"
7777 ;;
7778 *N32*)
7779 LD="${LD-ld} -n32"
7780 ;;
7781 *64-bit*)
7782 LD="${LD-ld} -64"
7783 ;;
7784 esac
7785 fi
7786 fi
7787 rm -rf conftest*
7788 ;;
7789
7790 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7791 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7792 # Find out which ABI we are using.
7793 echo 'int i;' > conftest.$ac_ext
7794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7795 (eval $ac_compile) 2>&5
7796 ac_status=$?
7797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7798 test $ac_status = 0; }; then
7799 case `/usr/bin/file conftest.o` in
7800 *32-bit*)
7801 case $host in
7802 x86_64-*kfreebsd*-gnu)
7803 LD="${LD-ld} -m elf_i386_fbsd"
7804 ;;
7805 x86_64-*linux*)
7806 case `/usr/bin/file conftest.o` in
7807 *x86-64*)
7808 LD="${LD-ld} -m elf32_x86_64"
7809 ;;
7810 *)
7811 LD="${LD-ld} -m elf_i386"
7812 ;;
7813 esac
7814 ;;
7815 powerpc64le-*linux*)
7816 LD="${LD-ld} -m elf32lppclinux"
7817 ;;
7818 powerpc64-*linux*)
7819 LD="${LD-ld} -m elf32ppclinux"
7820 ;;
7821 s390x-*linux*)
7822 LD="${LD-ld} -m elf_s390"
7823 ;;
7824 sparc64-*linux*)
7825 LD="${LD-ld} -m elf32_sparc"
7826 ;;
7827 esac
7828 ;;
7829 *64-bit*)
7830 case $host in
7831 x86_64-*kfreebsd*-gnu)
7832 LD="${LD-ld} -m elf_x86_64_fbsd"
7833 ;;
7834 x86_64-*linux*)
7835 LD="${LD-ld} -m elf_x86_64"
7836 ;;
7837 powerpcle-*linux*)
7838 LD="${LD-ld} -m elf64lppc"
7839 ;;
7840 powerpc-*linux*)
7841 LD="${LD-ld} -m elf64ppc"
7842 ;;
7843 s390*-*linux*|s390*-*tpf*)
7844 LD="${LD-ld} -m elf64_s390"
7845 ;;
7846 sparc*-*linux*)
7847 LD="${LD-ld} -m elf64_sparc"
7848 ;;
7849 esac
7850 ;;
7851 esac
7852 fi
7853 rm -rf conftest*
7854 ;;
7855
7856 *-*-sco3.2v5*)
7857 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7858 SAVE_CFLAGS="$CFLAGS"
7859 CFLAGS="$CFLAGS -belf"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7862 if ${lt_cv_cc_needs_belf+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 ac_ext=c
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7870
7871 if test x$gcc_no_link = xyes; then
7872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7873 fi
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876
7877 int
7878 main ()
7879 {
7880
7881 ;
7882 return 0;
7883 }
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"; then :
7886 lt_cv_cc_needs_belf=yes
7887 else
7888 lt_cv_cc_needs_belf=no
7889 fi
7890 rm -f core conftest.err conftest.$ac_objext \
7891 conftest$ac_exeext conftest.$ac_ext
7892 ac_ext=c
7893 ac_cpp='$CPP $CPPFLAGS'
7894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7897
7898 fi
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7903 CFLAGS="$SAVE_CFLAGS"
7904 fi
7905 ;;
7906 sparc*-*solaris*)
7907 # Find out which ABI we are using.
7908 echo 'int i;' > conftest.$ac_ext
7909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7910 (eval $ac_compile) 2>&5
7911 ac_status=$?
7912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7913 test $ac_status = 0; }; then
7914 case `/usr/bin/file conftest.o` in
7915 *64-bit*)
7916 case $lt_cv_prog_gnu_ld in
7917 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7918 *)
7919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7920 LD="${LD-ld} -64"
7921 fi
7922 ;;
7923 esac
7924 ;;
7925 esac
7926 fi
7927 rm -rf conftest*
7928 ;;
7929 esac
7930
7931 need_locks="$enable_libtool_lock"
7932
7933
7934 case $host_os in
7935 rhapsody* | darwin*)
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$DSYMUTIL"; then
7945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7949 do
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7957 fi
7958 done
7959 done
7960 IFS=$as_save_IFS
7961
7962 fi
7963 fi
7964 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7965 if test -n "$DSYMUTIL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7967 $as_echo "$DSYMUTIL" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7971 fi
7972
7973
7974 fi
7975 if test -z "$ac_cv_prog_DSYMUTIL"; then
7976 ac_ct_DSYMUTIL=$DSYMUTIL
7977 # Extract the first word of "dsymutil", so it can be a program name with args.
7978 set dummy dsymutil; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 if test -n "$ac_ct_DSYMUTIL"; then
7985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7989 do
7990 IFS=$as_save_IFS
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996 break 2
7997 fi
7998 done
7999 done
8000 IFS=$as_save_IFS
8001
8002 fi
8003 fi
8004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8005 if test -n "$ac_ct_DSYMUTIL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8007 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8008 else
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8011 fi
8012
8013 if test "x$ac_ct_DSYMUTIL" = x; then
8014 DSYMUTIL=":"
8015 else
8016 case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022 DSYMUTIL=$ac_ct_DSYMUTIL
8023 fi
8024 else
8025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8026 fi
8027
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_NMEDIT+:} false; then :
8034 $as_echo_n "(cached) " >&6
8035 else
8036 if test -n "$NMEDIT"; then
8037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8038 else
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 for as_dir in $PATH
8041 do
8042 IFS=$as_save_IFS
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 break 2
8049 fi
8050 done
8051 done
8052 IFS=$as_save_IFS
8053
8054 fi
8055 fi
8056 NMEDIT=$ac_cv_prog_NMEDIT
8057 if test -n "$NMEDIT"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8059 $as_echo "$NMEDIT" >&6; }
8060 else
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8063 fi
8064
8065
8066 fi
8067 if test -z "$ac_cv_prog_NMEDIT"; then
8068 ac_ct_NMEDIT=$NMEDIT
8069 # Extract the first word of "nmedit", so it can be a program name with args.
8070 set dummy nmedit; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 if test -n "$ac_ct_NMEDIT"; then
8077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8081 do
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8089 fi
8090 done
8091 done
8092 IFS=$as_save_IFS
8093
8094 fi
8095 fi
8096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8097 if test -n "$ac_ct_NMEDIT"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8099 $as_echo "$ac_ct_NMEDIT" >&6; }
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8103 fi
8104
8105 if test "x$ac_ct_NMEDIT" = x; then
8106 NMEDIT=":"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 NMEDIT=$ac_ct_NMEDIT
8115 fi
8116 else
8117 NMEDIT="$ac_cv_prog_NMEDIT"
8118 fi
8119
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_LIPO+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 if test -n "$LIPO"; then
8129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8133 do
8134 IFS=$as_save_IFS
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 break 2
8141 fi
8142 done
8143 done
8144 IFS=$as_save_IFS
8145
8146 fi
8147 fi
8148 LIPO=$ac_cv_prog_LIPO
8149 if test -n "$LIPO"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8151 $as_echo "$LIPO" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8155 fi
8156
8157
8158 fi
8159 if test -z "$ac_cv_prog_LIPO"; then
8160 ac_ct_LIPO=$LIPO
8161 # Extract the first word of "lipo", so it can be a program name with args.
8162 set dummy lipo; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 if test -n "$ac_ct_LIPO"; then
8169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8170 else
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8173 do
8174 IFS=$as_save_IFS
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_LIPO="lipo"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 break 2
8181 fi
8182 done
8183 done
8184 IFS=$as_save_IFS
8185
8186 fi
8187 fi
8188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8189 if test -n "$ac_ct_LIPO"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8191 $as_echo "$ac_ct_LIPO" >&6; }
8192 else
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8195 fi
8196
8197 if test "x$ac_ct_LIPO" = x; then
8198 LIPO=":"
8199 else
8200 case $cross_compiling:$ac_tool_warned in
8201 yes:)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8205 esac
8206 LIPO=$ac_ct_LIPO
8207 fi
8208 else
8209 LIPO="$ac_cv_prog_LIPO"
8210 fi
8211
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}otool; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_OTOOL+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 if test -n "$OTOOL"; then
8221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8225 do
8226 IFS=$as_save_IFS
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 break 2
8233 fi
8234 done
8235 done
8236 IFS=$as_save_IFS
8237
8238 fi
8239 fi
8240 OTOOL=$ac_cv_prog_OTOOL
8241 if test -n "$OTOOL"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8243 $as_echo "$OTOOL" >&6; }
8244 else
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8247 fi
8248
8249
8250 fi
8251 if test -z "$ac_cv_prog_OTOOL"; then
8252 ac_ct_OTOOL=$OTOOL
8253 # Extract the first word of "otool", so it can be a program name with args.
8254 set dummy otool; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 if test -n "$ac_ct_OTOOL"; then
8261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8265 do
8266 IFS=$as_save_IFS
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_OTOOL="otool"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 break 2
8273 fi
8274 done
8275 done
8276 IFS=$as_save_IFS
8277
8278 fi
8279 fi
8280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8281 if test -n "$ac_ct_OTOOL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8283 $as_echo "$ac_ct_OTOOL" >&6; }
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8287 fi
8288
8289 if test "x$ac_ct_OTOOL" = x; then
8290 OTOOL=":"
8291 else
8292 case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298 OTOOL=$ac_ct_OTOOL
8299 fi
8300 else
8301 OTOOL="$ac_cv_prog_OTOOL"
8302 fi
8303
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL64+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$OTOOL64"; then
8313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8317 do
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8325 fi
8326 done
8327 done
8328 IFS=$as_save_IFS
8329
8330 fi
8331 fi
8332 OTOOL64=$ac_cv_prog_OTOOL64
8333 if test -n "$OTOOL64"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8335 $as_echo "$OTOOL64" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8339 fi
8340
8341
8342 fi
8343 if test -z "$ac_cv_prog_OTOOL64"; then
8344 ac_ct_OTOOL64=$OTOOL64
8345 # Extract the first word of "otool64", so it can be a program name with args.
8346 set dummy otool64; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$ac_ct_OTOOL64"; then
8353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8357 do
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL64="otool64"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8365 fi
8366 done
8367 done
8368 IFS=$as_save_IFS
8369
8370 fi
8371 fi
8372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8373 if test -n "$ac_ct_OTOOL64"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8375 $as_echo "$ac_ct_OTOOL64" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8379 fi
8380
8381 if test "x$ac_ct_OTOOL64" = x; then
8382 OTOOL64=":"
8383 else
8384 case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390 OTOOL64=$ac_ct_OTOOL64
8391 fi
8392 else
8393 OTOOL64="$ac_cv_prog_OTOOL64"
8394 fi
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8423 $as_echo_n "checking for -single_module linker flag... " >&6; }
8424 if ${lt_cv_apple_cc_single_mod+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 lt_cv_apple_cc_single_mod=no
8428 if test -z "${LT_MULTI_MODULE}"; then
8429 # By default we will add the -single_module flag. You can override
8430 # by either setting the environment variable LT_MULTI_MODULE
8431 # non-empty at configure time, or by adding -multi_module to the
8432 # link flags.
8433 rm -rf libconftest.dylib*
8434 echo "int foo(void){return 1;}" > conftest.c
8435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8436 -dynamiclib -Wl,-single_module conftest.c" >&5
8437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8439 _lt_result=$?
8440 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8441 lt_cv_apple_cc_single_mod=yes
8442 else
8443 cat conftest.err >&5
8444 fi
8445 rm -rf libconftest.dylib*
8446 rm -f conftest.*
8447 fi
8448 fi
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8452 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8453 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 lt_cv_ld_exported_symbols_list=no
8457 save_LDFLAGS=$LDFLAGS
8458 echo "_main" > conftest.sym
8459 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8460 if test x$gcc_no_link = xyes; then
8461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8462 fi
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465
8466 int
8467 main ()
8468 {
8469
8470 ;
8471 return 0;
8472 }
8473 _ACEOF
8474 if ac_fn_c_try_link "$LINENO"; then :
8475 lt_cv_ld_exported_symbols_list=yes
8476 else
8477 lt_cv_ld_exported_symbols_list=no
8478 fi
8479 rm -f core conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LDFLAGS="$save_LDFLAGS"
8482
8483 fi
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8485 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8487 $as_echo_n "checking for -force_load linker flag... " >&6; }
8488 if ${lt_cv_ld_force_load+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_ld_force_load=no
8492 cat > conftest.c << _LT_EOF
8493 int forced_loaded() { return 2;}
8494 _LT_EOF
8495 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8496 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8497 echo "$AR cru libconftest.a conftest.o" >&5
8498 $AR cru libconftest.a conftest.o 2>&5
8499 cat > conftest.c << _LT_EOF
8500 int main() { return 0;}
8501 _LT_EOF
8502 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8503 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8504 _lt_result=$?
8505 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8506 lt_cv_ld_force_load=yes
8507 else
8508 cat conftest.err >&5
8509 fi
8510 rm -f conftest.err libconftest.a conftest conftest.c
8511 rm -rf conftest.dSYM
8512
8513 fi
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8515 $as_echo "$lt_cv_ld_force_load" >&6; }
8516 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8517 # build without first building modern cctools / linker.
8518 case $host_cpu-$host_os in
8519 *-rhapsody* | *-darwin1.[012])
8520 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8521 *-darwin1.*)
8522 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8523 *-darwin*)
8524 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8525 # deployment target is forced to an earlier version.
8526 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8527 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8528 ;;
8529 10.[012][,.]*)
8530 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8531 ;;
8532 *)
8533 ;;
8534 esac
8535 ;;
8536 esac
8537 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8538 _lt_dar_single_mod='$single_module'
8539 fi
8540 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8541 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8542 else
8543 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8544 fi
8545 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8546 _lt_dsymutil='~$DSYMUTIL $lib || :'
8547 else
8548 _lt_dsymutil=
8549 fi
8550 ;;
8551 esac
8552
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8554 $as_echo_n "checking for ANSI C header files... " >&6; }
8555 if ${ac_cv_header_stdc+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <stdlib.h>
8561 #include <stdarg.h>
8562 #include <string.h>
8563 #include <float.h>
8564
8565 int
8566 main ()
8567 {
8568
8569 ;
8570 return 0;
8571 }
8572 _ACEOF
8573 if ac_fn_c_try_compile "$LINENO"; then :
8574 ac_cv_header_stdc=yes
8575 else
8576 ac_cv_header_stdc=no
8577 fi
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8579
8580 if test $ac_cv_header_stdc = yes; then
8581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 #include <string.h>
8585
8586 _ACEOF
8587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8588 $EGREP "memchr" >/dev/null 2>&1; then :
8589
8590 else
8591 ac_cv_header_stdc=no
8592 fi
8593 rm -f conftest*
8594
8595 fi
8596
8597 if test $ac_cv_header_stdc = yes; then
8598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #include <stdlib.h>
8602
8603 _ACEOF
8604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8605 $EGREP "free" >/dev/null 2>&1; then :
8606
8607 else
8608 ac_cv_header_stdc=no
8609 fi
8610 rm -f conftest*
8611
8612 fi
8613
8614 if test $ac_cv_header_stdc = yes; then
8615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8616 if test "$cross_compiling" = yes; then :
8617 :
8618 else
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 #include <ctype.h>
8622 #include <stdlib.h>
8623 #if ((' ' & 0x0FF) == 0x020)
8624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8626 #else
8627 # define ISLOWER(c) \
8628 (('a' <= (c) && (c) <= 'i') \
8629 || ('j' <= (c) && (c) <= 'r') \
8630 || ('s' <= (c) && (c) <= 'z'))
8631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8632 #endif
8633
8634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8635 int
8636 main ()
8637 {
8638 int i;
8639 for (i = 0; i < 256; i++)
8640 if (XOR (islower (i), ISLOWER (i))
8641 || toupper (i) != TOUPPER (i))
8642 return 2;
8643 return 0;
8644 }
8645 _ACEOF
8646 if ac_fn_c_try_run "$LINENO"; then :
8647
8648 else
8649 ac_cv_header_stdc=no
8650 fi
8651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8652 conftest.$ac_objext conftest.beam conftest.$ac_ext
8653 fi
8654
8655 fi
8656 fi
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8658 $as_echo "$ac_cv_header_stdc" >&6; }
8659 if test $ac_cv_header_stdc = yes; then
8660
8661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8662
8663 fi
8664
8665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8666 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8667 inttypes.h stdint.h unistd.h
8668 do :
8669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8671 "
8672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8675 _ACEOF
8676
8677 fi
8678
8679 done
8680
8681
8682 for ac_header in dlfcn.h
8683 do :
8684 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8685 "
8686 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8687 cat >>confdefs.h <<_ACEOF
8688 #define HAVE_DLFCN_H 1
8689 _ACEOF
8690
8691 fi
8692
8693 done
8694
8695
8696
8697
8698
8699
8700 # Set options
8701
8702
8703
8704
8705 enable_win32_dll=no
8706
8707
8708 # Check whether --enable-shared was given.
8709 if test "${enable_shared+set}" = set; then :
8710 enableval=$enable_shared; p=${PACKAGE-default}
8711 case $enableval in
8712 yes) enable_shared=yes ;;
8713 no) enable_shared=no ;;
8714 *)
8715 enable_shared=no
8716 # Look at the argument we got. We use all the common list separators.
8717 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8718 for pkg in $enableval; do
8719 IFS="$lt_save_ifs"
8720 if test "X$pkg" = "X$p"; then
8721 enable_shared=yes
8722 fi
8723 done
8724 IFS="$lt_save_ifs"
8725 ;;
8726 esac
8727 else
8728 enable_shared=yes
8729 fi
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739 # Check whether --enable-static was given.
8740 if test "${enable_static+set}" = set; then :
8741 enableval=$enable_static; p=${PACKAGE-default}
8742 case $enableval in
8743 yes) enable_static=yes ;;
8744 no) enable_static=no ;;
8745 *)
8746 enable_static=no
8747 # Look at the argument we got. We use all the common list separators.
8748 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8749 for pkg in $enableval; do
8750 IFS="$lt_save_ifs"
8751 if test "X$pkg" = "X$p"; then
8752 enable_static=yes
8753 fi
8754 done
8755 IFS="$lt_save_ifs"
8756 ;;
8757 esac
8758 else
8759 enable_static=yes
8760 fi
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771 # Check whether --with-pic was given.
8772 if test "${with_pic+set}" = set; then :
8773 withval=$with_pic; pic_mode="$withval"
8774 else
8775 pic_mode=default
8776 fi
8777
8778
8779 test -z "$pic_mode" && pic_mode=default
8780
8781
8782
8783
8784
8785
8786
8787 # Check whether --enable-fast-install was given.
8788 if test "${enable_fast_install+set}" = set; then :
8789 enableval=$enable_fast_install; p=${PACKAGE-default}
8790 case $enableval in
8791 yes) enable_fast_install=yes ;;
8792 no) enable_fast_install=no ;;
8793 *)
8794 enable_fast_install=no
8795 # Look at the argument we got. We use all the common list separators.
8796 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8797 for pkg in $enableval; do
8798 IFS="$lt_save_ifs"
8799 if test "X$pkg" = "X$p"; then
8800 enable_fast_install=yes
8801 fi
8802 done
8803 IFS="$lt_save_ifs"
8804 ;;
8805 esac
8806 else
8807 enable_fast_install=yes
8808 fi
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820 # This can be used to rebuild libtool when needed
8821 LIBTOOL_DEPS="$ltmain"
8822
8823 # Always use our own libtool.
8824 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851 test -z "$LN_S" && LN_S="ln -s"
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866 if test -n "${ZSH_VERSION+set}" ; then
8867 setopt NO_GLOB_SUBST
8868 fi
8869
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8871 $as_echo_n "checking for objdir... " >&6; }
8872 if ${lt_cv_objdir+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 rm -f .libs 2>/dev/null
8876 mkdir .libs 2>/dev/null
8877 if test -d .libs; then
8878 lt_cv_objdir=.libs
8879 else
8880 # MS-DOS does not allow filenames that begin with a dot.
8881 lt_cv_objdir=_libs
8882 fi
8883 rmdir .libs 2>/dev/null
8884 fi
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8886 $as_echo "$lt_cv_objdir" >&6; }
8887 objdir=$lt_cv_objdir
8888
8889
8890
8891
8892
8893 cat >>confdefs.h <<_ACEOF
8894 #define LT_OBJDIR "$lt_cv_objdir/"
8895 _ACEOF
8896
8897
8898
8899
8900 case $host_os in
8901 aix3*)
8902 # AIX sometimes has problems with the GCC collect2 program. For some
8903 # reason, if we set the COLLECT_NAMES environment variable, the problems
8904 # vanish in a puff of smoke.
8905 if test "X${COLLECT_NAMES+set}" != Xset; then
8906 COLLECT_NAMES=
8907 export COLLECT_NAMES
8908 fi
8909 ;;
8910 esac
8911
8912 # Global variables:
8913 ofile=libtool
8914 can_build_shared=yes
8915
8916 # All known linkers require a `.a' archive for static linking (except MSVC,
8917 # which needs '.lib').
8918 libext=a
8919
8920 with_gnu_ld="$lt_cv_prog_gnu_ld"
8921
8922 old_CC="$CC"
8923 old_CFLAGS="$CFLAGS"
8924
8925 # Set sane defaults for various variables
8926 test -z "$CC" && CC=cc
8927 test -z "$LTCC" && LTCC=$CC
8928 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8929 test -z "$LD" && LD=ld
8930 test -z "$ac_objext" && ac_objext=o
8931
8932 for cc_temp in $compiler""; do
8933 case $cc_temp in
8934 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8935 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8936 \-*) ;;
8937 *) break;;
8938 esac
8939 done
8940 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8941
8942
8943 # Only perform the check for file, if the check method requires it
8944 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8945 case $deplibs_check_method in
8946 file_magic*)
8947 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8949 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8950 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 case $MAGIC_CMD in
8954 [\\/*] | ?:[\\/]*)
8955 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8956 ;;
8957 *)
8958 lt_save_MAGIC_CMD="$MAGIC_CMD"
8959 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8960 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8961 for ac_dir in $ac_dummy; do
8962 IFS="$lt_save_ifs"
8963 test -z "$ac_dir" && ac_dir=.
8964 if test -f $ac_dir/${ac_tool_prefix}file; then
8965 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8966 if test -n "$file_magic_test_file"; then
8967 case $deplibs_check_method in
8968 "file_magic "*)
8969 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8970 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8971 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8972 $EGREP "$file_magic_regex" > /dev/null; then
8973 :
8974 else
8975 cat <<_LT_EOF 1>&2
8976
8977 *** Warning: the command libtool uses to detect shared libraries,
8978 *** $file_magic_cmd, produces output that libtool cannot recognize.
8979 *** The result is that libtool may fail to recognize shared libraries
8980 *** as such. This will affect the creation of libtool libraries that
8981 *** depend on shared libraries, but programs linked with such libtool
8982 *** libraries will work regardless of this problem. Nevertheless, you
8983 *** may want to report the problem to your system manager and/or to
8984 *** bug-libtool@gnu.org
8985
8986 _LT_EOF
8987 fi ;;
8988 esac
8989 fi
8990 break
8991 fi
8992 done
8993 IFS="$lt_save_ifs"
8994 MAGIC_CMD="$lt_save_MAGIC_CMD"
8995 ;;
8996 esac
8997 fi
8998
8999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9000 if test -n "$MAGIC_CMD"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9002 $as_echo "$MAGIC_CMD" >&6; }
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9006 fi
9007
9008
9009
9010
9011
9012 if test -z "$lt_cv_path_MAGIC_CMD"; then
9013 if test -n "$ac_tool_prefix"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9015 $as_echo_n "checking for file... " >&6; }
9016 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 case $MAGIC_CMD in
9020 [\\/*] | ?:[\\/]*)
9021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9022 ;;
9023 *)
9024 lt_save_MAGIC_CMD="$MAGIC_CMD"
9025 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9026 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9027 for ac_dir in $ac_dummy; do
9028 IFS="$lt_save_ifs"
9029 test -z "$ac_dir" && ac_dir=.
9030 if test -f $ac_dir/file; then
9031 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9032 if test -n "$file_magic_test_file"; then
9033 case $deplibs_check_method in
9034 "file_magic "*)
9035 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9036 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9037 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9038 $EGREP "$file_magic_regex" > /dev/null; then
9039 :
9040 else
9041 cat <<_LT_EOF 1>&2
9042
9043 *** Warning: the command libtool uses to detect shared libraries,
9044 *** $file_magic_cmd, produces output that libtool cannot recognize.
9045 *** The result is that libtool may fail to recognize shared libraries
9046 *** as such. This will affect the creation of libtool libraries that
9047 *** depend on shared libraries, but programs linked with such libtool
9048 *** libraries will work regardless of this problem. Nevertheless, you
9049 *** may want to report the problem to your system manager and/or to
9050 *** bug-libtool@gnu.org
9051
9052 _LT_EOF
9053 fi ;;
9054 esac
9055 fi
9056 break
9057 fi
9058 done
9059 IFS="$lt_save_ifs"
9060 MAGIC_CMD="$lt_save_MAGIC_CMD"
9061 ;;
9062 esac
9063 fi
9064
9065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9066 if test -n "$MAGIC_CMD"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9068 $as_echo "$MAGIC_CMD" >&6; }
9069 else
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9071 $as_echo "no" >&6; }
9072 fi
9073
9074
9075 else
9076 MAGIC_CMD=:
9077 fi
9078 fi
9079
9080 fi
9081 ;;
9082 esac
9083
9084 # Use C for the default configuration in the libtool script
9085
9086 lt_save_CC="$CC"
9087 ac_ext=c
9088 ac_cpp='$CPP $CPPFLAGS'
9089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9092
9093
9094 # Source file extension for C test sources.
9095 ac_ext=c
9096
9097 # Object file extension for compiled C test sources.
9098 objext=o
9099 objext=$objext
9100
9101 # Code to be used in simple compile tests
9102 lt_simple_compile_test_code="int some_variable = 0;"
9103
9104 # Code to be used in simple link tests
9105 lt_simple_link_test_code='int main(){return(0);}'
9106
9107
9108
9109
9110
9111
9112
9113 # If no C compiler was specified, use CC.
9114 LTCC=${LTCC-"$CC"}
9115
9116 # If no C compiler flags were specified, use CFLAGS.
9117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9118
9119 # Allow CC to be a program name with arguments.
9120 compiler=$CC
9121
9122 # Save the default compiler, since it gets overwritten when the other
9123 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9124 compiler_DEFAULT=$CC
9125
9126 # save warnings/boilerplate of simple test code
9127 ac_outfile=conftest.$ac_objext
9128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9130 _lt_compiler_boilerplate=`cat conftest.err`
9131 $RM conftest*
9132
9133 ac_outfile=conftest.$ac_objext
9134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9136 _lt_linker_boilerplate=`cat conftest.err`
9137 $RM -r conftest*
9138
9139
9140 ## CAVEAT EMPTOR:
9141 ## There is no encapsulation within the following macros, do not change
9142 ## the running order or otherwise move them around unless you know exactly
9143 ## what you are doing...
9144 if test -n "$compiler"; then
9145
9146 lt_prog_compiler_no_builtin_flag=
9147
9148 if test "$GCC" = yes; then
9149 case $cc_basename in
9150 nvcc*)
9151 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9152 *)
9153 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9154 esac
9155
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9157 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9158 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 lt_cv_prog_compiler_rtti_exceptions=no
9162 ac_outfile=conftest.$ac_objext
9163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9164 lt_compiler_flag="-fno-rtti -fno-exceptions"
9165 # Insert the option either (1) after the last *FLAGS variable, or
9166 # (2) before a word containing "conftest.", or (3) at the end.
9167 # Note that $ac_compile itself does not contain backslashes and begins
9168 # with a dollar sign (not a hyphen), so the echo should work correctly.
9169 # The option is referenced via a variable to avoid confusing sed.
9170 lt_compile=`echo "$ac_compile" | $SED \
9171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9173 -e 's:$: $lt_compiler_flag:'`
9174 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9175 (eval "$lt_compile" 2>conftest.err)
9176 ac_status=$?
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 if (exit $ac_status) && test -s "$ac_outfile"; then
9180 # The compiler can only warn and ignore the option if not recognized
9181 # So say no if there are warnings other than the usual output.
9182 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9185 lt_cv_prog_compiler_rtti_exceptions=yes
9186 fi
9187 fi
9188 $RM conftest*
9189
9190 fi
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9192 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9193
9194 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9195 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9196 else
9197 :
9198 fi
9199
9200 fi
9201
9202
9203
9204
9205
9206
9207 lt_prog_compiler_wl=
9208 lt_prog_compiler_pic=
9209 lt_prog_compiler_static=
9210
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9213
9214 if test "$GCC" = yes; then
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_static='-static'
9217
9218 case $host_os in
9219 aix*)
9220 # All AIX code is PIC.
9221 if test "$host_cpu" = ia64; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static='-Bstatic'
9224 fi
9225 lt_prog_compiler_pic='-fPIC'
9226 ;;
9227
9228 amigaos*)
9229 case $host_cpu in
9230 powerpc)
9231 # see comment about AmigaOS4 .so support
9232 lt_prog_compiler_pic='-fPIC'
9233 ;;
9234 m68k)
9235 # FIXME: we need at least 68020 code to build shared libraries, but
9236 # adding the `-m68020' flag to GCC prevents building anything better,
9237 # like `-m68040'.
9238 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9239 ;;
9240 esac
9241 ;;
9242
9243 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9244 # PIC is the default for these OSes.
9245 ;;
9246
9247 mingw* | cygwin* | pw32* | os2* | cegcc*)
9248 # This hack is so that the source file can tell whether it is being
9249 # built for inclusion in a dll (and should export symbols for example).
9250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9251 # (--disable-auto-import) libraries
9252 lt_prog_compiler_pic='-DDLL_EXPORT'
9253 ;;
9254
9255 darwin* | rhapsody*)
9256 # PIC is the default on this platform
9257 # Common symbols not allowed in MH_DYLIB files
9258 lt_prog_compiler_pic='-fno-common'
9259 ;;
9260
9261 haiku*)
9262 # PIC is the default for Haiku.
9263 # The "-static" flag exists, but is broken.
9264 lt_prog_compiler_static=
9265 ;;
9266
9267 hpux*)
9268 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9269 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9270 # sets the default TLS model and affects inlining.
9271 case $host_cpu in
9272 hppa*64*)
9273 # +Z the default
9274 ;;
9275 *)
9276 lt_prog_compiler_pic='-fPIC'
9277 ;;
9278 esac
9279 ;;
9280
9281 interix[3-9]*)
9282 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9283 # Instead, we relocate shared libraries at runtime.
9284 ;;
9285
9286 msdosdjgpp*)
9287 # Just because we use GCC doesn't mean we suddenly get shared libraries
9288 # on systems that don't support them.
9289 lt_prog_compiler_can_build_shared=no
9290 enable_shared=no
9291 ;;
9292
9293 *nto* | *qnx*)
9294 # QNX uses GNU C++, but need to define -shared option too, otherwise
9295 # it will coredump.
9296 lt_prog_compiler_pic='-fPIC -shared'
9297 ;;
9298
9299 sysv4*MP*)
9300 if test -d /usr/nec; then
9301 lt_prog_compiler_pic=-Kconform_pic
9302 fi
9303 ;;
9304
9305 *)
9306 lt_prog_compiler_pic='-fPIC'
9307 ;;
9308 esac
9309
9310 case $cc_basename in
9311 nvcc*) # Cuda Compiler Driver 2.2
9312 lt_prog_compiler_wl='-Xlinker '
9313 lt_prog_compiler_pic='-Xcompiler -fPIC'
9314 ;;
9315 esac
9316 else
9317 # PORTME Check for flag to pass linker flags through the system compiler.
9318 case $host_os in
9319 aix*)
9320 lt_prog_compiler_wl='-Wl,'
9321 if test "$host_cpu" = ia64; then
9322 # AIX 5 now supports IA64 processor
9323 lt_prog_compiler_static='-Bstatic'
9324 else
9325 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9326 fi
9327 ;;
9328
9329 mingw* | cygwin* | pw32* | os2* | cegcc*)
9330 # This hack is so that the source file can tell whether it is being
9331 # built for inclusion in a dll (and should export symbols for example).
9332 lt_prog_compiler_pic='-DDLL_EXPORT'
9333 ;;
9334
9335 hpux9* | hpux10* | hpux11*)
9336 lt_prog_compiler_wl='-Wl,'
9337 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9338 # not for PA HP-UX.
9339 case $host_cpu in
9340 hppa*64*|ia64*)
9341 # +Z the default
9342 ;;
9343 *)
9344 lt_prog_compiler_pic='+Z'
9345 ;;
9346 esac
9347 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9348 lt_prog_compiler_static='${wl}-a ${wl}archive'
9349 ;;
9350
9351 irix5* | irix6* | nonstopux*)
9352 lt_prog_compiler_wl='-Wl,'
9353 # PIC (with -KPIC) is the default.
9354 lt_prog_compiler_static='-non_shared'
9355 ;;
9356
9357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9358 case $cc_basename in
9359 # old Intel for x86_64 which still supported -KPIC.
9360 ecc*)
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_pic='-KPIC'
9363 lt_prog_compiler_static='-static'
9364 ;;
9365 # icc used to be incompatible with GCC.
9366 # ICC 10 doesn't accept -KPIC any more.
9367 icc* | ifort*)
9368 lt_prog_compiler_wl='-Wl,'
9369 lt_prog_compiler_pic='-fPIC'
9370 lt_prog_compiler_static='-static'
9371 ;;
9372 # Lahey Fortran 8.1.
9373 lf95*)
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='--shared'
9376 lt_prog_compiler_static='--static'
9377 ;;
9378 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9379 # Portland Group compilers (*not* the Pentium gcc compiler,
9380 # which looks to be a dead project)
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-fpic'
9383 lt_prog_compiler_static='-Bstatic'
9384 ;;
9385 ccc*)
9386 lt_prog_compiler_wl='-Wl,'
9387 # All Alpha code is PIC.
9388 lt_prog_compiler_static='-non_shared'
9389 ;;
9390 xl* | bgxl* | bgf* | mpixl*)
9391 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9392 lt_prog_compiler_wl='-Wl,'
9393 lt_prog_compiler_pic='-qpic'
9394 lt_prog_compiler_static='-qstaticlink'
9395 ;;
9396 *)
9397 case `$CC -V 2>&1 | sed 5q` in
9398 *Sun\ F* | *Sun*Fortran*)
9399 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9400 lt_prog_compiler_pic='-KPIC'
9401 lt_prog_compiler_static='-Bstatic'
9402 lt_prog_compiler_wl=''
9403 ;;
9404 *Sun\ C*)
9405 # Sun C 5.9
9406 lt_prog_compiler_pic='-KPIC'
9407 lt_prog_compiler_static='-Bstatic'
9408 lt_prog_compiler_wl='-Wl,'
9409 ;;
9410 esac
9411 ;;
9412 esac
9413 ;;
9414
9415 newsos6)
9416 lt_prog_compiler_pic='-KPIC'
9417 lt_prog_compiler_static='-Bstatic'
9418 ;;
9419
9420 *nto* | *qnx*)
9421 # QNX uses GNU C++, but need to define -shared option too, otherwise
9422 # it will coredump.
9423 lt_prog_compiler_pic='-fPIC -shared'
9424 ;;
9425
9426 osf3* | osf4* | osf5*)
9427 lt_prog_compiler_wl='-Wl,'
9428 # All OSF/1 code is PIC.
9429 lt_prog_compiler_static='-non_shared'
9430 ;;
9431
9432 rdos*)
9433 lt_prog_compiler_static='-non_shared'
9434 ;;
9435
9436 solaris*)
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9439 case $cc_basename in
9440 f77* | f90* | f95*)
9441 lt_prog_compiler_wl='-Qoption ld ';;
9442 *)
9443 lt_prog_compiler_wl='-Wl,';;
9444 esac
9445 ;;
9446
9447 sunos4*)
9448 lt_prog_compiler_wl='-Qoption ld '
9449 lt_prog_compiler_pic='-PIC'
9450 lt_prog_compiler_static='-Bstatic'
9451 ;;
9452
9453 sysv4 | sysv4.2uw2* | sysv4.3*)
9454 lt_prog_compiler_wl='-Wl,'
9455 lt_prog_compiler_pic='-KPIC'
9456 lt_prog_compiler_static='-Bstatic'
9457 ;;
9458
9459 sysv4*MP*)
9460 if test -d /usr/nec ;then
9461 lt_prog_compiler_pic='-Kconform_pic'
9462 lt_prog_compiler_static='-Bstatic'
9463 fi
9464 ;;
9465
9466 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9467 lt_prog_compiler_wl='-Wl,'
9468 lt_prog_compiler_pic='-KPIC'
9469 lt_prog_compiler_static='-Bstatic'
9470 ;;
9471
9472 unicos*)
9473 lt_prog_compiler_wl='-Wl,'
9474 lt_prog_compiler_can_build_shared=no
9475 ;;
9476
9477 uts4*)
9478 lt_prog_compiler_pic='-pic'
9479 lt_prog_compiler_static='-Bstatic'
9480 ;;
9481
9482 *)
9483 lt_prog_compiler_can_build_shared=no
9484 ;;
9485 esac
9486 fi
9487
9488 case $host_os in
9489 # For platforms which do not support PIC, -DPIC is meaningless:
9490 *djgpp*)
9491 lt_prog_compiler_pic=
9492 ;;
9493 *)
9494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9495 ;;
9496 esac
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9498 $as_echo "$lt_prog_compiler_pic" >&6; }
9499
9500
9501
9502
9503
9504
9505 #
9506 # Check to make sure the PIC flag actually works.
9507 #
9508 if test -n "$lt_prog_compiler_pic"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9510 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9511 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 lt_cv_prog_compiler_pic_works=no
9515 ac_outfile=conftest.$ac_objext
9516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9517 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9518 # Insert the option either (1) after the last *FLAGS variable, or
9519 # (2) before a word containing "conftest.", or (3) at the end.
9520 # Note that $ac_compile itself does not contain backslashes and begins
9521 # with a dollar sign (not a hyphen), so the echo should work correctly.
9522 # The option is referenced via a variable to avoid confusing sed.
9523 lt_compile=`echo "$ac_compile" | $SED \
9524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9526 -e 's:$: $lt_compiler_flag:'`
9527 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9528 (eval "$lt_compile" 2>conftest.err)
9529 ac_status=$?
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 if (exit $ac_status) && test -s "$ac_outfile"; then
9533 # The compiler can only warn and ignore the option if not recognized
9534 # So say no if there are warnings other than the usual output.
9535 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9537 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9538 lt_cv_prog_compiler_pic_works=yes
9539 fi
9540 fi
9541 $RM conftest*
9542
9543 fi
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9545 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9546
9547 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9548 case $lt_prog_compiler_pic in
9549 "" | " "*) ;;
9550 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9551 esac
9552 else
9553 lt_prog_compiler_pic=
9554 lt_prog_compiler_can_build_shared=no
9555 fi
9556
9557 fi
9558
9559
9560
9561
9562
9563
9564 #
9565 # Check to make sure the static flag actually works.
9566 #
9567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9569 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9570 if ${lt_cv_prog_compiler_static_works+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 lt_cv_prog_compiler_static_works=no
9574 save_LDFLAGS="$LDFLAGS"
9575 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9578 # The linker can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 if test -s conftest.err; then
9581 # Append any errors to the config.log.
9582 cat conftest.err 1>&5
9583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9585 if diff conftest.exp conftest.er2 >/dev/null; then
9586 lt_cv_prog_compiler_static_works=yes
9587 fi
9588 else
9589 lt_cv_prog_compiler_static_works=yes
9590 fi
9591 fi
9592 $RM -r conftest*
9593 LDFLAGS="$save_LDFLAGS"
9594
9595 fi
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9597 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9598
9599 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9600 :
9601 else
9602 lt_prog_compiler_static=
9603 fi
9604
9605
9606
9607
9608
9609
9610
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9612 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9613 if ${lt_cv_prog_compiler_c_o+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 lt_cv_prog_compiler_c_o=no
9617 $RM -r conftest 2>/dev/null
9618 mkdir conftest
9619 cd conftest
9620 mkdir out
9621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9622
9623 lt_compiler_flag="-o out/conftest2.$ac_objext"
9624 # Insert the option either (1) after the last *FLAGS variable, or
9625 # (2) before a word containing "conftest.", or (3) at the end.
9626 # Note that $ac_compile itself does not contain backslashes and begins
9627 # with a dollar sign (not a hyphen), so the echo should work correctly.
9628 lt_compile=`echo "$ac_compile" | $SED \
9629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9631 -e 's:$: $lt_compiler_flag:'`
9632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9633 (eval "$lt_compile" 2>out/conftest.err)
9634 ac_status=$?
9635 cat out/conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9638 then
9639 # The compiler can only warn and ignore the option if not recognized
9640 # So say no if there are warnings
9641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9642 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9643 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9644 lt_cv_prog_compiler_c_o=yes
9645 fi
9646 fi
9647 chmod u+w . 2>&5
9648 $RM conftest*
9649 # SGI C++ compiler will create directory out/ii_files/ for
9650 # template instantiation
9651 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9652 $RM out/* && rmdir out
9653 cd ..
9654 $RM -r conftest
9655 $RM conftest*
9656
9657 fi
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9660
9661
9662
9663
9664
9665
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9668 if ${lt_cv_prog_compiler_c_o+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 lt_cv_prog_compiler_c_o=no
9672 $RM -r conftest 2>/dev/null
9673 mkdir conftest
9674 cd conftest
9675 mkdir out
9676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9677
9678 lt_compiler_flag="-o out/conftest2.$ac_objext"
9679 # Insert the option either (1) after the last *FLAGS variable, or
9680 # (2) before a word containing "conftest.", or (3) at the end.
9681 # Note that $ac_compile itself does not contain backslashes and begins
9682 # with a dollar sign (not a hyphen), so the echo should work correctly.
9683 lt_compile=`echo "$ac_compile" | $SED \
9684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9686 -e 's:$: $lt_compiler_flag:'`
9687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9688 (eval "$lt_compile" 2>out/conftest.err)
9689 ac_status=$?
9690 cat out/conftest.err >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9693 then
9694 # The compiler can only warn and ignore the option if not recognized
9695 # So say no if there are warnings
9696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9699 lt_cv_prog_compiler_c_o=yes
9700 fi
9701 fi
9702 chmod u+w . 2>&5
9703 $RM conftest*
9704 # SGI C++ compiler will create directory out/ii_files/ for
9705 # template instantiation
9706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9707 $RM out/* && rmdir out
9708 cd ..
9709 $RM -r conftest
9710 $RM conftest*
9711
9712 fi
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9715
9716
9717
9718
9719 hard_links="nottested"
9720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9721 # do not overwrite the value of need_locks provided by the user
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9723 $as_echo_n "checking if we can lock with hard links... " >&6; }
9724 hard_links=yes
9725 $RM conftest*
9726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9727 touch conftest.a
9728 ln conftest.a conftest.b 2>&5 || hard_links=no
9729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9731 $as_echo "$hard_links" >&6; }
9732 if test "$hard_links" = no; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9735 need_locks=warn
9736 fi
9737 else
9738 need_locks=no
9739 fi
9740
9741
9742
9743
9744
9745
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9747 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9748
9749 runpath_var=
9750 allow_undefined_flag=
9751 always_export_symbols=no
9752 archive_cmds=
9753 archive_expsym_cmds=
9754 compiler_needs_object=no
9755 enable_shared_with_static_runtimes=no
9756 export_dynamic_flag_spec=
9757 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9758 hardcode_automatic=no
9759 hardcode_direct=no
9760 hardcode_direct_absolute=no
9761 hardcode_libdir_flag_spec=
9762 hardcode_libdir_flag_spec_ld=
9763 hardcode_libdir_separator=
9764 hardcode_minus_L=no
9765 hardcode_shlibpath_var=unsupported
9766 inherit_rpath=no
9767 link_all_deplibs=unknown
9768 module_cmds=
9769 module_expsym_cmds=
9770 old_archive_from_new_cmds=
9771 old_archive_from_expsyms_cmds=
9772 thread_safe_flag_spec=
9773 whole_archive_flag_spec=
9774 # include_expsyms should be a list of space-separated symbols to be *always*
9775 # included in the symbol list
9776 include_expsyms=
9777 # exclude_expsyms can be an extended regexp of symbols to exclude
9778 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9779 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9780 # as well as any symbol that contains `d'.
9781 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9782 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9783 # platforms (ab)use it in PIC code, but their linkers get confused if
9784 # the symbol is explicitly referenced. Since portable code cannot
9785 # rely on this symbol name, it's probably fine to never include it in
9786 # preloaded symbol tables.
9787 # Exclude shared library initialization/finalization symbols.
9788 extract_expsyms_cmds=
9789
9790 case $host_os in
9791 cygwin* | mingw* | pw32* | cegcc*)
9792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9793 # When not using gcc, we currently assume that we are using
9794 # Microsoft Visual C++.
9795 if test "$GCC" != yes; then
9796 with_gnu_ld=no
9797 fi
9798 ;;
9799 interix*)
9800 # we just hope/assume this is gcc and not c89 (= MSVC++)
9801 with_gnu_ld=yes
9802 ;;
9803 openbsd*)
9804 with_gnu_ld=no
9805 ;;
9806 esac
9807
9808 ld_shlibs=yes
9809
9810 # On some targets, GNU ld is compatible enough with the native linker
9811 # that we're better off using the native interface for both.
9812 lt_use_gnu_ld_interface=no
9813 if test "$with_gnu_ld" = yes; then
9814 case $host_os in
9815 aix*)
9816 # The AIX port of GNU ld has always aspired to compatibility
9817 # with the native linker. However, as the warning in the GNU ld
9818 # block says, versions before 2.19.5* couldn't really create working
9819 # shared libraries, regardless of the interface used.
9820 case `$LD -v 2>&1` in
9821 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9822 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9823 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9824 *)
9825 lt_use_gnu_ld_interface=yes
9826 ;;
9827 esac
9828 ;;
9829 *)
9830 lt_use_gnu_ld_interface=yes
9831 ;;
9832 esac
9833 fi
9834
9835 if test "$lt_use_gnu_ld_interface" = yes; then
9836 # If archive_cmds runs LD, not CC, wlarc should be empty
9837 wlarc='${wl}'
9838
9839 # Set some defaults for GNU ld with shared library support. These
9840 # are reset later if shared libraries are not supported. Putting them
9841 # here allows them to be overridden if necessary.
9842 runpath_var=LD_RUN_PATH
9843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844 export_dynamic_flag_spec='${wl}--export-dynamic'
9845 # ancient GNU ld didn't support --whole-archive et. al.
9846 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9847 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9848 else
9849 whole_archive_flag_spec=
9850 fi
9851 supports_anon_versioning=no
9852 case `$LD -v 2>&1` in
9853 *GNU\ gold*) supports_anon_versioning=yes ;;
9854 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9855 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9856 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9857 *\ 2.11.*) ;; # other 2.11 versions
9858 *) supports_anon_versioning=yes ;;
9859 esac
9860
9861 # See if GNU ld supports shared libraries.
9862 case $host_os in
9863 aix[3-9]*)
9864 # On AIX/PPC, the GNU linker is very broken
9865 if test "$host_cpu" != ia64; then
9866 ld_shlibs=no
9867 cat <<_LT_EOF 1>&2
9868
9869 *** Warning: the GNU linker, at least up to release 2.19, is reported
9870 *** to be unable to reliably create shared libraries on AIX.
9871 *** Therefore, libtool is disabling shared libraries support. If you
9872 *** really care for shared libraries, you may want to install binutils
9873 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9874 *** You will then need to restart the configuration process.
9875
9876 _LT_EOF
9877 fi
9878 ;;
9879
9880 amigaos*)
9881 case $host_cpu in
9882 powerpc)
9883 # see comment about AmigaOS4 .so support
9884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885 archive_expsym_cmds=''
9886 ;;
9887 m68k)
9888 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)'
9889 hardcode_libdir_flag_spec='-L$libdir'
9890 hardcode_minus_L=yes
9891 ;;
9892 esac
9893 ;;
9894
9895 beos*)
9896 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897 allow_undefined_flag=unsupported
9898 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9899 # support --undefined. This deserves some investigation. FIXME
9900 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 else
9902 ld_shlibs=no
9903 fi
9904 ;;
9905
9906 cygwin* | mingw* | pw32* | cegcc*)
9907 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9908 # as there is no search path for DLLs.
9909 hardcode_libdir_flag_spec='-L$libdir'
9910 export_dynamic_flag_spec='${wl}--export-all-symbols'
9911 allow_undefined_flag=unsupported
9912 always_export_symbols=no
9913 enable_shared_with_static_runtimes=yes
9914 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9915
9916 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9918 # If the export-symbols file already is a .def file (1st line
9919 # is EXPORTS), use it as is; otherwise, prepend...
9920 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9921 cp $export_symbols $output_objdir/$soname.def;
9922 else
9923 echo EXPORTS > $output_objdir/$soname.def;
9924 cat $export_symbols >> $output_objdir/$soname.def;
9925 fi~
9926 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9927 else
9928 ld_shlibs=no
9929 fi
9930 ;;
9931
9932 haiku*)
9933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 link_all_deplibs=yes
9935 ;;
9936
9937 interix[3-9]*)
9938 hardcode_direct=no
9939 hardcode_shlibpath_var=no
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 export_dynamic_flag_spec='${wl}-E'
9942 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9943 # Instead, shared libraries are loaded at an image base (0x10000000 by
9944 # default) and relocated if they conflict, which is a slow very memory
9945 # consuming and fragmenting process. To avoid this, we pick a random,
9946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9947 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9949 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'
9950 ;;
9951
9952 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9953 tmp_diet=no
9954 if test "$host_os" = linux-dietlibc; then
9955 case $cc_basename in
9956 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9957 esac
9958 fi
9959 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9960 && test "$tmp_diet" = no
9961 then
9962 tmp_addflag=' $pic_flag'
9963 tmp_sharedflag='-shared'
9964 case $cc_basename,$host_cpu in
9965 pgcc*) # Portland Group C compiler
9966 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'
9967 tmp_addflag=' $pic_flag'
9968 ;;
9969 pgf77* | pgf90* | pgf95* | pgfortran*)
9970 # Portland Group f77 and f90 compilers
9971 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'
9972 tmp_addflag=' $pic_flag -Mnomain' ;;
9973 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9974 tmp_addflag=' -i_dynamic' ;;
9975 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9976 tmp_addflag=' -i_dynamic -nofor_main' ;;
9977 ifc* | ifort*) # Intel Fortran compiler
9978 tmp_addflag=' -nofor_main' ;;
9979 lf95*) # Lahey Fortran 8.1
9980 whole_archive_flag_spec=
9981 tmp_sharedflag='--shared' ;;
9982 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9983 tmp_sharedflag='-qmkshrobj'
9984 tmp_addflag= ;;
9985 nvcc*) # Cuda Compiler Driver 2.2
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 compiler_needs_object=yes
9988 ;;
9989 esac
9990 case `$CC -V 2>&1 | sed 5q` in
9991 *Sun\ C*) # Sun C 5.9
9992 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'
9993 compiler_needs_object=yes
9994 tmp_sharedflag='-G' ;;
9995 *Sun\ F*) # Sun Fortran 8.3
9996 tmp_sharedflag='-G' ;;
9997 esac
9998 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9999
10000 if test "x$supports_anon_versioning" = xyes; then
10001 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10002 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10003 echo "local: *; };" >> $output_objdir/$libname.ver~
10004 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10005 fi
10006
10007 case $cc_basename in
10008 xlf* | bgf* | bgxlf* | mpixlf*)
10009 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10010 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10011 hardcode_libdir_flag_spec=
10012 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10013 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10014 if test "x$supports_anon_versioning" = xyes; then
10015 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017 echo "local: *; };" >> $output_objdir/$libname.ver~
10018 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10019 fi
10020 ;;
10021 esac
10022 else
10023 ld_shlibs=no
10024 fi
10025 ;;
10026
10027 netbsd*)
10028 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10029 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10030 wlarc=
10031 else
10032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10034 fi
10035 ;;
10036
10037 solaris*)
10038 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10039 ld_shlibs=no
10040 cat <<_LT_EOF 1>&2
10041
10042 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10043 *** create shared libraries on Solaris systems. Therefore, libtool
10044 *** is disabling shared libraries support. We urge you to upgrade GNU
10045 *** binutils to release 2.9.1 or newer. Another option is to modify
10046 *** your PATH or compiler configuration so that the native linker is
10047 *** used, and then restart.
10048
10049 _LT_EOF
10050 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10052 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 else
10054 ld_shlibs=no
10055 fi
10056 ;;
10057
10058 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10059 case `$LD -v 2>&1` in
10060 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10061 ld_shlibs=no
10062 cat <<_LT_EOF 1>&2
10063
10064 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10065 *** reliably create shared libraries on SCO systems. Therefore, libtool
10066 *** is disabling shared libraries support. We urge you to upgrade GNU
10067 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10068 *** your PATH or compiler configuration so that the native linker is
10069 *** used, and then restart.
10070
10071 _LT_EOF
10072 ;;
10073 *)
10074 # For security reasons, it is highly recommended that you always
10075 # use absolute paths for naming shared libraries, and exclude the
10076 # DT_RUNPATH tag from executables and libraries. But doing so
10077 # requires that you compile everything twice, which is a pain.
10078 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10079 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10080 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10082 else
10083 ld_shlibs=no
10084 fi
10085 ;;
10086 esac
10087 ;;
10088
10089 sunos4*)
10090 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10091 wlarc=
10092 hardcode_direct=yes
10093 hardcode_shlibpath_var=no
10094 ;;
10095
10096 *)
10097 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10099 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10100 else
10101 ld_shlibs=no
10102 fi
10103 ;;
10104 esac
10105
10106 if test "$ld_shlibs" = no; then
10107 runpath_var=
10108 hardcode_libdir_flag_spec=
10109 export_dynamic_flag_spec=
10110 whole_archive_flag_spec=
10111 fi
10112 else
10113 # PORTME fill in a description of your system's linker (not GNU ld)
10114 case $host_os in
10115 aix3*)
10116 allow_undefined_flag=unsupported
10117 always_export_symbols=yes
10118 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'
10119 # Note: this linker hardcodes the directories in LIBPATH if there
10120 # are no directories specified by -L.
10121 hardcode_minus_L=yes
10122 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10123 # Neither direct hardcoding nor static linking is supported with a
10124 # broken collect2.
10125 hardcode_direct=unsupported
10126 fi
10127 ;;
10128
10129 aix[4-9]*)
10130 if test "$host_cpu" = ia64; then
10131 # On IA64, the linker does run time linking by default, so we don't
10132 # have to do anything special.
10133 aix_use_runtimelinking=no
10134 exp_sym_flag='-Bexport'
10135 no_entry_flag=""
10136 else
10137 # If we're using GNU nm, then we don't want the "-C" option.
10138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10139 # Also, AIX nm treats weak defined symbols like other global
10140 # defined symbols, whereas GNU nm marks them as "W".
10141 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10142 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'
10143 else
10144 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'
10145 fi
10146 aix_use_runtimelinking=no
10147
10148 # Test if we are trying to use run time linking or normal
10149 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10150 # need to do runtime linking.
10151 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10152 for ld_flag in $LDFLAGS; do
10153 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10154 aix_use_runtimelinking=yes
10155 break
10156 fi
10157 done
10158 ;;
10159 esac
10160
10161 exp_sym_flag='-bexport'
10162 no_entry_flag='-bnoentry'
10163 fi
10164
10165 # When large executables or shared objects are built, AIX ld can
10166 # have problems creating the table of contents. If linking a library
10167 # or program results in "error TOC overflow" add -mminimal-toc to
10168 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10169 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10170
10171 archive_cmds=''
10172 hardcode_direct=yes
10173 hardcode_direct_absolute=yes
10174 hardcode_libdir_separator=':'
10175 link_all_deplibs=yes
10176 file_list_spec='${wl}-f,'
10177
10178 if test "$GCC" = yes; then
10179 case $host_os in aix4.[012]|aix4.[012].*)
10180 # We only want to do this on AIX 4.2 and lower, the check
10181 # below for broken collect2 doesn't work under 4.3+
10182 collect2name=`${CC} -print-prog-name=collect2`
10183 if test -f "$collect2name" &&
10184 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10185 then
10186 # We have reworked collect2
10187 :
10188 else
10189 # We have old collect2
10190 hardcode_direct=unsupported
10191 # It fails to find uninstalled libraries when the uninstalled
10192 # path is not listed in the libpath. Setting hardcode_minus_L
10193 # to unsupported forces relinking
10194 hardcode_minus_L=yes
10195 hardcode_libdir_flag_spec='-L$libdir'
10196 hardcode_libdir_separator=
10197 fi
10198 ;;
10199 esac
10200 shared_flag='-shared'
10201 if test "$aix_use_runtimelinking" = yes; then
10202 shared_flag="$shared_flag "'${wl}-G'
10203 fi
10204 else
10205 # not using gcc
10206 if test "$host_cpu" = ia64; then
10207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10208 # chokes on -Wl,-G. The following line is correct:
10209 shared_flag='-G'
10210 else
10211 if test "$aix_use_runtimelinking" = yes; then
10212 shared_flag='${wl}-G'
10213 else
10214 shared_flag='${wl}-bM:SRE'
10215 fi
10216 fi
10217 fi
10218
10219 export_dynamic_flag_spec='${wl}-bexpall'
10220 # It seems that -bexpall does not export symbols beginning with
10221 # underscore (_), so it is better to generate a list of symbols to export.
10222 always_export_symbols=yes
10223 if test "$aix_use_runtimelinking" = yes; then
10224 # Warning - without using the other runtime loading flags (-brtl),
10225 # -berok will link without error, but may produce a broken library.
10226 allow_undefined_flag='-berok'
10227 # Determine the default libpath from the value encoded in an
10228 # empty executable.
10229 if test x$gcc_no_link = xyes; then
10230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10231 fi
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234
10235 int
10236 main ()
10237 {
10238
10239 ;
10240 return 0;
10241 }
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10244
10245 lt_aix_libpath_sed='
10246 /Import File Strings/,/^$/ {
10247 /^0/ {
10248 s/^0 *\(.*\)$/\1/
10249 p
10250 }
10251 }'
10252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10253 # Check for a 64-bit object if we didn't find anything.
10254 if test -z "$aix_libpath"; then
10255 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10256 fi
10257 fi
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10261
10262 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10263 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"
10264 else
10265 if test "$host_cpu" = ia64; then
10266 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10267 allow_undefined_flag="-z nodefs"
10268 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"
10269 else
10270 # Determine the default libpath from the value encoded in an
10271 # empty executable.
10272 if test x$gcc_no_link = xyes; then
10273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10274 fi
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277
10278 int
10279 main ()
10280 {
10281
10282 ;
10283 return 0;
10284 }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287
10288 lt_aix_libpath_sed='
10289 /Import File Strings/,/^$/ {
10290 /^0/ {
10291 s/^0 *\(.*\)$/\1/
10292 p
10293 }
10294 }'
10295 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10296 # Check for a 64-bit object if we didn't find anything.
10297 if test -z "$aix_libpath"; then
10298 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10299 fi
10300 fi
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10304
10305 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10306 # Warning - without using the other run time loading flags,
10307 # -berok will link without error, but may produce a broken library.
10308 no_undefined_flag=' ${wl}-bernotok'
10309 allow_undefined_flag=' ${wl}-berok'
10310 if test "$with_gnu_ld" = yes; then
10311 # We only use this code for GNU lds that support --whole-archive.
10312 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10313 else
10314 # Exported symbols can be pulled into shared objects from archives
10315 whole_archive_flag_spec='$convenience'
10316 fi
10317 archive_cmds_need_lc=yes
10318 # This is similar to how AIX traditionally builds its shared libraries.
10319 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'
10320 fi
10321 fi
10322 ;;
10323
10324 amigaos*)
10325 case $host_cpu in
10326 powerpc)
10327 # see comment about AmigaOS4 .so support
10328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10329 archive_expsym_cmds=''
10330 ;;
10331 m68k)
10332 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)'
10333 hardcode_libdir_flag_spec='-L$libdir'
10334 hardcode_minus_L=yes
10335 ;;
10336 esac
10337 ;;
10338
10339 bsdi[45]*)
10340 export_dynamic_flag_spec=-rdynamic
10341 ;;
10342
10343 cygwin* | mingw* | pw32* | cegcc*)
10344 # When not using gcc, we currently assume that we are using
10345 # Microsoft Visual C++.
10346 # hardcode_libdir_flag_spec is actually meaningless, as there is
10347 # no search path for DLLs.
10348 hardcode_libdir_flag_spec=' '
10349 allow_undefined_flag=unsupported
10350 # Tell ltmain to make .lib files, not .a files.
10351 libext=lib
10352 # Tell ltmain to make .dll files, not .so files.
10353 shrext_cmds=".dll"
10354 # FIXME: Setting linknames here is a bad hack.
10355 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10356 # The linker will automatically build a .lib file if we build a DLL.
10357 old_archive_from_new_cmds='true'
10358 # FIXME: Should let the user specify the lib program.
10359 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10360 fix_srcfile_path='`cygpath -w "$srcfile"`'
10361 enable_shared_with_static_runtimes=yes
10362 ;;
10363
10364 darwin* | rhapsody*)
10365
10366
10367 archive_cmds_need_lc=no
10368 hardcode_direct=no
10369 hardcode_automatic=yes
10370 hardcode_shlibpath_var=unsupported
10371 if test "$lt_cv_ld_force_load" = "yes"; then
10372 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\"`'
10373 else
10374 whole_archive_flag_spec=''
10375 fi
10376 link_all_deplibs=yes
10377 allow_undefined_flag="$_lt_dar_allow_undefined"
10378 case $cc_basename in
10379 ifort*) _lt_dar_can_shared=yes ;;
10380 *) _lt_dar_can_shared=$GCC ;;
10381 esac
10382 if test "$_lt_dar_can_shared" = "yes"; then
10383 output_verbose_link_cmd=func_echo_all
10384 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10385 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10386 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}"
10387 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}"
10388
10389 else
10390 ld_shlibs=no
10391 fi
10392
10393 ;;
10394
10395 dgux*)
10396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10397 hardcode_libdir_flag_spec='-L$libdir'
10398 hardcode_shlibpath_var=no
10399 ;;
10400
10401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10402 # support. Future versions do this automatically, but an explicit c++rt0.o
10403 # does not break anything, and helps significantly (at the cost of a little
10404 # extra space).
10405 freebsd2.2*)
10406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10407 hardcode_libdir_flag_spec='-R$libdir'
10408 hardcode_direct=yes
10409 hardcode_shlibpath_var=no
10410 ;;
10411
10412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10413 freebsd2.*)
10414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_direct=yes
10416 hardcode_minus_L=yes
10417 hardcode_shlibpath_var=no
10418 ;;
10419
10420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10421 freebsd* | dragonfly*)
10422 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec='-R$libdir'
10424 hardcode_direct=yes
10425 hardcode_shlibpath_var=no
10426 ;;
10427
10428 hpux9*)
10429 if test "$GCC" = yes; then
10430 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'
10431 else
10432 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'
10433 fi
10434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator=:
10436 hardcode_direct=yes
10437
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L=yes
10441 export_dynamic_flag_spec='${wl}-E'
10442 ;;
10443
10444 hpux10*)
10445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10446 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10447 else
10448 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10449 fi
10450 if test "$with_gnu_ld" = no; then
10451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10452 hardcode_libdir_flag_spec_ld='+b $libdir'
10453 hardcode_libdir_separator=:
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 export_dynamic_flag_spec='${wl}-E'
10457 # hardcode_minus_L: Not really in the search PATH,
10458 # but as the default location of the library.
10459 hardcode_minus_L=yes
10460 fi
10461 ;;
10462
10463 hpux11*)
10464 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10465 case $host_cpu in
10466 hppa*64*)
10467 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10468 ;;
10469 ia64*)
10470 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10471 ;;
10472 *)
10473 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10474 ;;
10475 esac
10476 else
10477 case $host_cpu in
10478 hppa*64*)
10479 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10480 ;;
10481 ia64*)
10482 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10483 ;;
10484 *)
10485
10486 # Older versions of the 11.00 compiler do not understand -b yet
10487 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10489 $as_echo_n "checking if $CC understands -b... " >&6; }
10490 if ${lt_cv_prog_compiler__b+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 lt_cv_prog_compiler__b=no
10494 save_LDFLAGS="$LDFLAGS"
10495 LDFLAGS="$LDFLAGS -b"
10496 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10498 # The linker can only warn and ignore the option if not recognized
10499 # So say no if there are warnings
10500 if test -s conftest.err; then
10501 # Append any errors to the config.log.
10502 cat conftest.err 1>&5
10503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10505 if diff conftest.exp conftest.er2 >/dev/null; then
10506 lt_cv_prog_compiler__b=yes
10507 fi
10508 else
10509 lt_cv_prog_compiler__b=yes
10510 fi
10511 fi
10512 $RM -r conftest*
10513 LDFLAGS="$save_LDFLAGS"
10514
10515 fi
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10517 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10518
10519 if test x"$lt_cv_prog_compiler__b" = xyes; then
10520 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10521 else
10522 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10523 fi
10524
10525 ;;
10526 esac
10527 fi
10528 if test "$with_gnu_ld" = no; then
10529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10530 hardcode_libdir_separator=:
10531
10532 case $host_cpu in
10533 hppa*64*|ia64*)
10534 hardcode_direct=no
10535 hardcode_shlibpath_var=no
10536 ;;
10537 *)
10538 hardcode_direct=yes
10539 hardcode_direct_absolute=yes
10540 export_dynamic_flag_spec='${wl}-E'
10541
10542 # hardcode_minus_L: Not really in the search PATH,
10543 # but as the default location of the library.
10544 hardcode_minus_L=yes
10545 ;;
10546 esac
10547 fi
10548 ;;
10549
10550 irix5* | irix6* | nonstopux*)
10551 if test "$GCC" = yes; then
10552 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'
10553 # Try to use the -exported_symbol ld option, if it does not
10554 # work, assume that -exports_file does not work either and
10555 # implicitly export all symbols.
10556 save_LDFLAGS="$LDFLAGS"
10557 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10558 if test x$gcc_no_link = xyes; then
10559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10560 fi
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int foo(void) {}
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 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'
10567
10568 fi
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LDFLAGS="$save_LDFLAGS"
10572 else
10573 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'
10574 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'
10575 fi
10576 archive_cmds_need_lc='no'
10577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10578 hardcode_libdir_separator=:
10579 inherit_rpath=yes
10580 link_all_deplibs=yes
10581 ;;
10582
10583 netbsd*)
10584 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10585 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10586 else
10587 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10588 fi
10589 hardcode_libdir_flag_spec='-R$libdir'
10590 hardcode_direct=yes
10591 hardcode_shlibpath_var=no
10592 ;;
10593
10594 newsos6)
10595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_direct=yes
10597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10598 hardcode_libdir_separator=:
10599 hardcode_shlibpath_var=no
10600 ;;
10601
10602 *nto* | *qnx*)
10603 ;;
10604
10605 openbsd*)
10606 if test -f /usr/libexec/ld.so; then
10607 hardcode_direct=yes
10608 hardcode_shlibpath_var=no
10609 hardcode_direct_absolute=yes
10610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10611 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10613 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10614 export_dynamic_flag_spec='${wl}-E'
10615 else
10616 case $host_os in
10617 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10619 hardcode_libdir_flag_spec='-R$libdir'
10620 ;;
10621 *)
10622 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10623 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10624 ;;
10625 esac
10626 fi
10627 else
10628 ld_shlibs=no
10629 fi
10630 ;;
10631
10632 os2*)
10633 hardcode_libdir_flag_spec='-L$libdir'
10634 hardcode_minus_L=yes
10635 allow_undefined_flag=unsupported
10636 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'
10637 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10638 ;;
10639
10640 osf3*)
10641 if test "$GCC" = yes; then
10642 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10643 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'
10644 else
10645 allow_undefined_flag=' -expect_unresolved \*'
10646 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'
10647 fi
10648 archive_cmds_need_lc='no'
10649 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10650 hardcode_libdir_separator=:
10651 ;;
10652
10653 osf4* | osf5*) # as osf3* with the addition of -msym flag
10654 if test "$GCC" = yes; then
10655 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10656 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'
10657 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10658 else
10659 allow_undefined_flag=' -expect_unresolved \*'
10660 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'
10661 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~
10662 $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'
10663
10664 # Both c and cxx compiler support -rpath directly
10665 hardcode_libdir_flag_spec='-rpath $libdir'
10666 fi
10667 archive_cmds_need_lc='no'
10668 hardcode_libdir_separator=:
10669 ;;
10670
10671 solaris*)
10672 no_undefined_flag=' -z defs'
10673 if test "$GCC" = yes; then
10674 wlarc='${wl}'
10675 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10677 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10678 else
10679 case `$CC -V 2>&1` in
10680 *"Compilers 5.0"*)
10681 wlarc=''
10682 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10683 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10684 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10685 ;;
10686 *)
10687 wlarc='${wl}'
10688 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10690 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10691 ;;
10692 esac
10693 fi
10694 hardcode_libdir_flag_spec='-R$libdir'
10695 hardcode_shlibpath_var=no
10696 case $host_os in
10697 solaris2.[0-5] | solaris2.[0-5].*) ;;
10698 *)
10699 # The compiler driver will combine and reorder linker options,
10700 # but understands `-z linker_flag'. GCC discards it without `$wl',
10701 # but is careful enough not to reorder.
10702 # Supported since Solaris 2.6 (maybe 2.5.1?)
10703 if test "$GCC" = yes; then
10704 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10705 else
10706 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10707 fi
10708 ;;
10709 esac
10710 link_all_deplibs=yes
10711 ;;
10712
10713 sunos4*)
10714 if test "x$host_vendor" = xsequent; then
10715 # Use $CC to link under sequent, because it throws in some extra .o
10716 # files that make .init and .fini sections work.
10717 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10718 else
10719 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10720 fi
10721 hardcode_libdir_flag_spec='-L$libdir'
10722 hardcode_direct=yes
10723 hardcode_minus_L=yes
10724 hardcode_shlibpath_var=no
10725 ;;
10726
10727 sysv4)
10728 case $host_vendor in
10729 sni)
10730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10731 hardcode_direct=yes # is this really true???
10732 ;;
10733 siemens)
10734 ## LD is ld it makes a PLAMLIB
10735 ## CC just makes a GrossModule.
10736 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10737 reload_cmds='$CC -r -o $output$reload_objs'
10738 hardcode_direct=no
10739 ;;
10740 motorola)
10741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10743 ;;
10744 esac
10745 runpath_var='LD_RUN_PATH'
10746 hardcode_shlibpath_var=no
10747 ;;
10748
10749 sysv4.3*)
10750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_shlibpath_var=no
10752 export_dynamic_flag_spec='-Bexport'
10753 ;;
10754
10755 sysv4*MP*)
10756 if test -d /usr/nec; then
10757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_shlibpath_var=no
10759 runpath_var=LD_RUN_PATH
10760 hardcode_runpath_var=yes
10761 ld_shlibs=yes
10762 fi
10763 ;;
10764
10765 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10766 no_undefined_flag='${wl}-z,text'
10767 archive_cmds_need_lc=no
10768 hardcode_shlibpath_var=no
10769 runpath_var='LD_RUN_PATH'
10770
10771 if test "$GCC" = yes; then
10772 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10773 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10774 else
10775 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 fi
10778 ;;
10779
10780 sysv5* | sco3.2v5* | sco5v6*)
10781 # Note: We can NOT use -z defs as we might desire, because we do not
10782 # link with -lc, and that would cause any symbols used from libc to
10783 # always be unresolved, which means just about no library would
10784 # ever link correctly. If we're not using GNU ld we use -z text
10785 # though, which does catch some bad symbols but isn't as heavy-handed
10786 # as -z defs.
10787 no_undefined_flag='${wl}-z,text'
10788 allow_undefined_flag='${wl}-z,nodefs'
10789 archive_cmds_need_lc=no
10790 hardcode_shlibpath_var=no
10791 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10792 hardcode_libdir_separator=':'
10793 link_all_deplibs=yes
10794 export_dynamic_flag_spec='${wl}-Bexport'
10795 runpath_var='LD_RUN_PATH'
10796
10797 if test "$GCC" = yes; then
10798 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10799 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10800 else
10801 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10803 fi
10804 ;;
10805
10806 uts4*)
10807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808 hardcode_libdir_flag_spec='-L$libdir'
10809 hardcode_shlibpath_var=no
10810 ;;
10811
10812 *)
10813 ld_shlibs=no
10814 ;;
10815 esac
10816
10817 if test x$host_vendor = xsni; then
10818 case $host in
10819 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10820 export_dynamic_flag_spec='${wl}-Blargedynsym'
10821 ;;
10822 esac
10823 fi
10824 fi
10825
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10827 $as_echo "$ld_shlibs" >&6; }
10828 test "$ld_shlibs" = no && can_build_shared=no
10829
10830 with_gnu_ld=$with_gnu_ld
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846 #
10847 # Do we need to explicitly link libc?
10848 #
10849 case "x$archive_cmds_need_lc" in
10850 x|xyes)
10851 # Assume -lc should be added
10852 archive_cmds_need_lc=yes
10853
10854 if test "$enable_shared" = yes && test "$GCC" = yes; then
10855 case $archive_cmds in
10856 *'~'*)
10857 # FIXME: we may have to deal with multi-command sequences.
10858 ;;
10859 '$CC '*)
10860 # Test whether the compiler implicitly links with -lc since on some
10861 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10862 # to ld, don't add -lc before -lgcc.
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10864 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10865 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10866 $as_echo_n "(cached) " >&6
10867 else
10868 $RM conftest*
10869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10870
10871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10872 (eval $ac_compile) 2>&5
10873 ac_status=$?
10874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10875 test $ac_status = 0; } 2>conftest.err; then
10876 soname=conftest
10877 lib=conftest
10878 libobjs=conftest.$ac_objext
10879 deplibs=
10880 wl=$lt_prog_compiler_wl
10881 pic_flag=$lt_prog_compiler_pic
10882 compiler_flags=-v
10883 linker_flags=-v
10884 verstring=
10885 output_objdir=.
10886 libname=conftest
10887 lt_save_allow_undefined_flag=$allow_undefined_flag
10888 allow_undefined_flag=
10889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10890 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10891 ac_status=$?
10892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10893 test $ac_status = 0; }
10894 then
10895 lt_cv_archive_cmds_need_lc=no
10896 else
10897 lt_cv_archive_cmds_need_lc=yes
10898 fi
10899 allow_undefined_flag=$lt_save_allow_undefined_flag
10900 else
10901 cat conftest.err 1>&5
10902 fi
10903 $RM conftest*
10904
10905 fi
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10907 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10908 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10909 ;;
10910 esac
10911 fi
10912 ;;
10913 esac
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11072 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11073
11074 if test "$GCC" = yes; then
11075 case $host_os in
11076 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11077 *) lt_awk_arg="/^libraries:/" ;;
11078 esac
11079 case $host_os in
11080 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11081 *) lt_sed_strip_eq="s,=/,/,g" ;;
11082 esac
11083 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11084 case $lt_search_path_spec in
11085 *\;*)
11086 # if the path contains ";" then we assume it to be the separator
11087 # otherwise default to the standard path separator (i.e. ":") - it is
11088 # assumed that no part of a normal pathname contains ";" but that should
11089 # okay in the real world where ";" in dirpaths is itself problematic.
11090 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11091 ;;
11092 *)
11093 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11094 ;;
11095 esac
11096 # Ok, now we have the path, separated by spaces, we can step through it
11097 # and add multilib dir if necessary.
11098 lt_tmp_lt_search_path_spec=
11099 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11100 for lt_sys_path in $lt_search_path_spec; do
11101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11102 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11103 else
11104 test -d "$lt_sys_path" && \
11105 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11106 fi
11107 done
11108 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11109 BEGIN {RS=" "; FS="/|\n";} {
11110 lt_foo="";
11111 lt_count=0;
11112 for (lt_i = NF; lt_i > 0; lt_i--) {
11113 if ($lt_i != "" && $lt_i != ".") {
11114 if ($lt_i == "..") {
11115 lt_count++;
11116 } else {
11117 if (lt_count == 0) {
11118 lt_foo="/" $lt_i lt_foo;
11119 } else {
11120 lt_count--;
11121 }
11122 }
11123 }
11124 }
11125 if (lt_foo != "") { lt_freq[lt_foo]++; }
11126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11127 }'`
11128 # AWK program above erroneously prepends '/' to C:/dos/paths
11129 # for these hosts.
11130 case $host_os in
11131 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11132 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11133 esac
11134 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11135 else
11136 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11137 fi
11138 library_names_spec=
11139 libname_spec='lib$name'
11140 soname_spec=
11141 shrext_cmds=".so"
11142 postinstall_cmds=
11143 postuninstall_cmds=
11144 finish_cmds=
11145 finish_eval=
11146 shlibpath_var=
11147 shlibpath_overrides_runpath=unknown
11148 version_type=none
11149 dynamic_linker="$host_os ld.so"
11150 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11151 need_lib_prefix=unknown
11152 hardcode_into_libs=no
11153
11154 # when you set need_version to no, make sure it does not cause -set_version
11155 # flags to be left without arguments
11156 need_version=unknown
11157
11158 case $host_os in
11159 aix3*)
11160 version_type=linux
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11162 shlibpath_var=LIBPATH
11163
11164 # AIX 3 has no versioning support, so we append a major version to the name.
11165 soname_spec='${libname}${release}${shared_ext}$major'
11166 ;;
11167
11168 aix[4-9]*)
11169 version_type=linux
11170 need_lib_prefix=no
11171 need_version=no
11172 hardcode_into_libs=yes
11173 if test "$host_cpu" = ia64; then
11174 # AIX 5 supports IA64
11175 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 else
11178 # With GCC up to 2.95.x, collect2 would create an import file
11179 # for dependence libraries. The import file would start with
11180 # the line `#! .'. This would cause the generated library to
11181 # depend on `.', always an invalid library. This was fixed in
11182 # development snapshots of GCC prior to 3.0.
11183 case $host_os in
11184 aix4 | aix4.[01] | aix4.[01].*)
11185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11186 echo ' yes '
11187 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11188 :
11189 else
11190 can_build_shared=no
11191 fi
11192 ;;
11193 esac
11194 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11195 # soname into executable. Probably we can add versioning support to
11196 # collect2, so additional links can be useful in future.
11197 if test "$aix_use_runtimelinking" = yes; then
11198 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11199 # instead of lib<name>.a to let people know that these are not
11200 # typical AIX shared libraries.
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 else
11203 # We preserve .a as extension for shared libraries through AIX4.2
11204 # and later when we are not doing run time linking.
11205 library_names_spec='${libname}${release}.a $libname.a'
11206 soname_spec='${libname}${release}${shared_ext}$major'
11207 fi
11208 shlibpath_var=LIBPATH
11209 fi
11210 ;;
11211
11212 amigaos*)
11213 case $host_cpu in
11214 powerpc)
11215 # Since July 2007 AmigaOS4 officially supports .so libraries.
11216 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218 ;;
11219 m68k)
11220 library_names_spec='$libname.ixlibrary $libname.a'
11221 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11222 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'
11223 ;;
11224 esac
11225 ;;
11226
11227 beos*)
11228 library_names_spec='${libname}${shared_ext}'
11229 dynamic_linker="$host_os ld.so"
11230 shlibpath_var=LIBRARY_PATH
11231 ;;
11232
11233 bsdi[45]*)
11234 version_type=linux
11235 need_version=no
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec='${libname}${release}${shared_ext}$major'
11238 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11241 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11242 # the default ld.so.conf also contains /usr/contrib/lib and
11243 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11244 # libtool to hard-code these into programs
11245 ;;
11246
11247 cygwin* | mingw* | pw32* | cegcc*)
11248 version_type=windows
11249 shrext_cmds=".dll"
11250 need_version=no
11251 need_lib_prefix=no
11252
11253 case $GCC,$host_os in
11254 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11255 library_names_spec='$libname.dll.a'
11256 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11257 postinstall_cmds='base_file=`basename \${file}`~
11258 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11259 dldir=$destdir/`dirname \$dlpath`~
11260 test -d \$dldir || mkdir -p \$dldir~
11261 $install_prog $dir/$dlname \$dldir/$dlname~
11262 chmod a+x \$dldir/$dlname~
11263 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11264 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11265 fi'
11266 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11267 dlpath=$dir/\$dldll~
11268 $RM \$dlpath'
11269 shlibpath_overrides_runpath=yes
11270
11271 case $host_os in
11272 cygwin*)
11273 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11274 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11275
11276 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11277 ;;
11278 mingw* | cegcc*)
11279 # MinGW DLLs use traditional 'lib' prefix
11280 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11281 ;;
11282 pw32*)
11283 # pw32 DLLs use 'pw' prefix rather than 'lib'
11284 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11285 ;;
11286 esac
11287 ;;
11288
11289 *)
11290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11291 ;;
11292 esac
11293 dynamic_linker='Win32 ld.exe'
11294 # FIXME: first we should search . and the directory the executable is in
11295 shlibpath_var=PATH
11296 ;;
11297
11298 darwin* | rhapsody*)
11299 dynamic_linker="$host_os dyld"
11300 version_type=darwin
11301 need_lib_prefix=no
11302 need_version=no
11303 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11304 soname_spec='${libname}${release}${major}$shared_ext'
11305 shlibpath_overrides_runpath=yes
11306 shlibpath_var=DYLD_LIBRARY_PATH
11307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11308
11309 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11311 ;;
11312
11313 dgux*)
11314 version_type=linux
11315 need_lib_prefix=no
11316 need_version=no
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11320 ;;
11321
11322 freebsd* | dragonfly*)
11323 # DragonFly does not have aout. When/if they implement a new
11324 # versioning mechanism, adjust this.
11325 if test -x /usr/bin/objformat; then
11326 objformat=`/usr/bin/objformat`
11327 else
11328 case $host_os in
11329 freebsd[23].*) objformat=aout ;;
11330 *) objformat=elf ;;
11331 esac
11332 fi
11333 version_type=freebsd-$objformat
11334 case $version_type in
11335 freebsd-elf*)
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11337 need_version=no
11338 need_lib_prefix=no
11339 ;;
11340 freebsd-*)
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11342 need_version=yes
11343 ;;
11344 esac
11345 shlibpath_var=LD_LIBRARY_PATH
11346 case $host_os in
11347 freebsd2.*)
11348 shlibpath_overrides_runpath=yes
11349 ;;
11350 freebsd3.[01]* | freebsdelf3.[01]*)
11351 shlibpath_overrides_runpath=yes
11352 hardcode_into_libs=yes
11353 ;;
11354 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11355 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11356 shlibpath_overrides_runpath=no
11357 hardcode_into_libs=yes
11358 ;;
11359 *) # from 4.6 on, and DragonFly
11360 shlibpath_overrides_runpath=yes
11361 hardcode_into_libs=yes
11362 ;;
11363 esac
11364 ;;
11365
11366 haiku*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 dynamic_linker="$host_os runtime_loader"
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 shlibpath_var=LIBRARY_PATH
11374 shlibpath_overrides_runpath=yes
11375 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11376 hardcode_into_libs=yes
11377 ;;
11378
11379 hpux9* | hpux10* | hpux11*)
11380 # Give a soname corresponding to the major version so that dld.sl refuses to
11381 # link against other versions.
11382 version_type=sunos
11383 need_lib_prefix=no
11384 need_version=no
11385 case $host_cpu in
11386 ia64*)
11387 shrext_cmds='.so'
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.so"
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 if test "X$HPUX_IA64_MODE" = X32; then
11395 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11396 else
11397 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11398 fi
11399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11400 ;;
11401 hppa*64*)
11402 shrext_cmds='.sl'
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.sl"
11405 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11411 ;;
11412 *)
11413 shrext_cmds='.sl'
11414 dynamic_linker="$host_os dld.sl"
11415 shlibpath_var=SHLIB_PATH
11416 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec='${libname}${release}${shared_ext}$major'
11419 ;;
11420 esac
11421 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11422 postinstall_cmds='chmod 555 $lib'
11423 # or fails outright, so override atomically:
11424 install_override_mode=555
11425 ;;
11426
11427 interix[3-9]*)
11428 version_type=linux
11429 need_lib_prefix=no
11430 need_version=no
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11432 soname_spec='${libname}${release}${shared_ext}$major'
11433 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11434 shlibpath_var=LD_LIBRARY_PATH
11435 shlibpath_overrides_runpath=no
11436 hardcode_into_libs=yes
11437 ;;
11438
11439 irix5* | irix6* | nonstopux*)
11440 case $host_os in
11441 nonstopux*) version_type=nonstopux ;;
11442 *)
11443 if test "$lt_cv_prog_gnu_ld" = yes; then
11444 version_type=linux
11445 else
11446 version_type=irix
11447 fi ;;
11448 esac
11449 need_lib_prefix=no
11450 need_version=no
11451 soname_spec='${libname}${release}${shared_ext}$major'
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11453 case $host_os in
11454 irix5* | nonstopux*)
11455 libsuff= shlibsuff=
11456 ;;
11457 *)
11458 case $LD in # libtool.m4 will add one of these switches to LD
11459 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11460 libsuff= shlibsuff= libmagic=32-bit;;
11461 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11462 libsuff=32 shlibsuff=N32 libmagic=N32;;
11463 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11464 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11465 *) libsuff= shlibsuff= libmagic=never-match;;
11466 esac
11467 ;;
11468 esac
11469 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11470 shlibpath_overrides_runpath=no
11471 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11472 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11473 hardcode_into_libs=yes
11474 ;;
11475
11476 # No shared lib support for Linux oldld, aout, or coff.
11477 linux*oldld* | linux*aout* | linux*coff*)
11478 dynamic_linker=no
11479 ;;
11480
11481 # This must be Linux ELF.
11482
11483 # uclinux* changes (here and below) have been submitted to the libtool
11484 # project, but have not yet been accepted: they are GCC-local changes
11485 # for the time being. (See
11486 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11488 version_type=linux
11489 need_lib_prefix=no
11490 need_version=no
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 shlibpath_overrides_runpath=no
11496
11497 # Some binutils ld are patched to set DT_RUNPATH
11498 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 lt_cv_shlibpath_overrides_runpath=no
11502 save_LDFLAGS=$LDFLAGS
11503 save_libdir=$libdir
11504 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11505 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11506 if test x$gcc_no_link = xyes; then
11507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11508 fi
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511
11512 int
11513 main ()
11514 {
11515
11516 ;
11517 return 0;
11518 }
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11522 lt_cv_shlibpath_overrides_runpath=yes
11523 fi
11524 fi
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LDFLAGS=$save_LDFLAGS
11528 libdir=$save_libdir
11529
11530 fi
11531
11532 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11533
11534 # This implies no fast_install, which is unacceptable.
11535 # Some rework will be needed to allow for fast_install
11536 # before this can be enabled.
11537 hardcode_into_libs=yes
11538
11539 # Append ld.so.conf contents to the search path
11540 if test -f /etc/ld.so.conf; then
11541 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' ' '`
11542 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11543 fi
11544
11545 # We used to test for /lib/ld.so.1 and disable shared libraries on
11546 # powerpc, because MkLinux only supported shared libraries with the
11547 # GNU dynamic linker. Since this was broken with cross compilers,
11548 # most powerpc-linux boxes support dynamic linking these days and
11549 # people can always --disable-shared, the test was removed, and we
11550 # assume the GNU/Linux dynamic linker is in use.
11551 dynamic_linker='GNU/Linux ld.so'
11552 ;;
11553
11554 netbsd*)
11555 version_type=sunos
11556 need_lib_prefix=no
11557 need_version=no
11558 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11561 dynamic_linker='NetBSD (a.out) ld.so'
11562 else
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 dynamic_linker='NetBSD ld.elf_so'
11566 fi
11567 shlibpath_var=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath=yes
11569 hardcode_into_libs=yes
11570 ;;
11571
11572 newsos6)
11573 version_type=linux
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=yes
11577 ;;
11578
11579 *nto* | *qnx*)
11580 version_type=qnx
11581 need_lib_prefix=no
11582 need_version=no
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 soname_spec='${libname}${release}${shared_ext}$major'
11585 shlibpath_var=LD_LIBRARY_PATH
11586 shlibpath_overrides_runpath=no
11587 hardcode_into_libs=yes
11588 dynamic_linker='ldqnx.so'
11589 ;;
11590
11591 openbsd*)
11592 version_type=sunos
11593 sys_lib_dlsearch_path_spec="/usr/lib"
11594 need_lib_prefix=no
11595 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11596 case $host_os in
11597 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11598 *) need_version=no ;;
11599 esac
11600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11602 shlibpath_var=LD_LIBRARY_PATH
11603 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11604 case $host_os in
11605 openbsd2.[89] | openbsd2.[89].*)
11606 shlibpath_overrides_runpath=no
11607 ;;
11608 *)
11609 shlibpath_overrides_runpath=yes
11610 ;;
11611 esac
11612 else
11613 shlibpath_overrides_runpath=yes
11614 fi
11615 ;;
11616
11617 os2*)
11618 libname_spec='$name'
11619 shrext_cmds=".dll"
11620 need_lib_prefix=no
11621 library_names_spec='$libname${shared_ext} $libname.a'
11622 dynamic_linker='OS/2 ld.exe'
11623 shlibpath_var=LIBPATH
11624 ;;
11625
11626 osf3* | osf4* | osf5*)
11627 version_type=osf
11628 need_lib_prefix=no
11629 need_version=no
11630 soname_spec='${libname}${release}${shared_ext}$major'
11631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11632 shlibpath_var=LD_LIBRARY_PATH
11633 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11634 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11635 ;;
11636
11637 rdos*)
11638 dynamic_linker=no
11639 ;;
11640
11641 solaris*)
11642 version_type=linux
11643 need_lib_prefix=no
11644 need_version=no
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=yes
11649 hardcode_into_libs=yes
11650 # ldd complains unless libraries are executable
11651 postinstall_cmds='chmod +x $lib'
11652 ;;
11653
11654 sunos4*)
11655 version_type=sunos
11656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11657 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11658 shlibpath_var=LD_LIBRARY_PATH
11659 shlibpath_overrides_runpath=yes
11660 if test "$with_gnu_ld" = yes; then
11661 need_lib_prefix=no
11662 fi
11663 need_version=yes
11664 ;;
11665
11666 sysv4 | sysv4.3*)
11667 version_type=linux
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 soname_spec='${libname}${release}${shared_ext}$major'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 case $host_vendor in
11672 sni)
11673 shlibpath_overrides_runpath=no
11674 need_lib_prefix=no
11675 runpath_var=LD_RUN_PATH
11676 ;;
11677 siemens)
11678 need_lib_prefix=no
11679 ;;
11680 motorola)
11681 need_lib_prefix=no
11682 need_version=no
11683 shlibpath_overrides_runpath=no
11684 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11685 ;;
11686 esac
11687 ;;
11688
11689 sysv4*MP*)
11690 if test -d /usr/nec ;then
11691 version_type=linux
11692 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11693 soname_spec='$libname${shared_ext}.$major'
11694 shlibpath_var=LD_LIBRARY_PATH
11695 fi
11696 ;;
11697
11698 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11699 version_type=freebsd-elf
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11703 soname_spec='${libname}${release}${shared_ext}$major'
11704 shlibpath_var=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath=yes
11706 hardcode_into_libs=yes
11707 if test "$with_gnu_ld" = yes; then
11708 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11709 else
11710 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11711 case $host_os in
11712 sco3.2v5*)
11713 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11714 ;;
11715 esac
11716 fi
11717 sys_lib_dlsearch_path_spec='/usr/lib'
11718 ;;
11719
11720 tpf*)
11721 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11722 version_type=linux
11723 need_lib_prefix=no
11724 need_version=no
11725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=no
11728 hardcode_into_libs=yes
11729 ;;
11730
11731 uts4*)
11732 version_type=linux
11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 soname_spec='${libname}${release}${shared_ext}$major'
11735 shlibpath_var=LD_LIBRARY_PATH
11736 ;;
11737
11738 *)
11739 dynamic_linker=no
11740 ;;
11741 esac
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11743 $as_echo "$dynamic_linker" >&6; }
11744 test "$dynamic_linker" = no && can_build_shared=no
11745
11746 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11747 if test "$GCC" = yes; then
11748 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11749 fi
11750
11751 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11752 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11753 fi
11754 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11755 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11756 fi
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11850 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11851 hardcode_action=
11852 if test -n "$hardcode_libdir_flag_spec" ||
11853 test -n "$runpath_var" ||
11854 test "X$hardcode_automatic" = "Xyes" ; then
11855
11856 # We can hardcode non-existent directories.
11857 if test "$hardcode_direct" != no &&
11858 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11859 # have to relink, otherwise we might link with an installed library
11860 # when we should be linking with a yet-to-be-installed one
11861 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11862 test "$hardcode_minus_L" != no; then
11863 # Linking always hardcodes the temporary library directory.
11864 hardcode_action=relink
11865 else
11866 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11867 hardcode_action=immediate
11868 fi
11869 else
11870 # We cannot hardcode anything, or else we can only hardcode existing
11871 # directories.
11872 hardcode_action=unsupported
11873 fi
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11875 $as_echo "$hardcode_action" >&6; }
11876
11877 if test "$hardcode_action" = relink ||
11878 test "$inherit_rpath" = yes; then
11879 # Fast installation is not supported
11880 enable_fast_install=no
11881 elif test "$shlibpath_overrides_runpath" = yes ||
11882 test "$enable_shared" = no; then
11883 # Fast installation is not necessary
11884 enable_fast_install=needless
11885 fi
11886
11887
11888
11889
11890
11891
11892 if test "x$enable_dlopen" != xyes; then
11893 enable_dlopen=unknown
11894 enable_dlopen_self=unknown
11895 enable_dlopen_self_static=unknown
11896 else
11897 lt_cv_dlopen=no
11898 lt_cv_dlopen_libs=
11899
11900 case $host_os in
11901 beos*)
11902 lt_cv_dlopen="load_add_on"
11903 lt_cv_dlopen_libs=
11904 lt_cv_dlopen_self=yes
11905 ;;
11906
11907 mingw* | pw32* | cegcc*)
11908 lt_cv_dlopen="LoadLibrary"
11909 lt_cv_dlopen_libs=
11910 ;;
11911
11912 cygwin*)
11913 lt_cv_dlopen="dlopen"
11914 lt_cv_dlopen_libs=
11915 ;;
11916
11917 darwin*)
11918 # if libdl is installed we need to link against it
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11920 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11921 if ${ac_cv_lib_dl_dlopen+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-ldl $LIBS"
11926 if test x$gcc_no_link = xyes; then
11927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11928 fi
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char dlopen ();
11939 int
11940 main ()
11941 {
11942 return dlopen ();
11943 ;
11944 return 0;
11945 }
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_dl_dlopen=yes
11949 else
11950 ac_cv_lib_dl_dlopen=no
11951 fi
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11955 fi
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11958 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11959 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11960 else
11961
11962 lt_cv_dlopen="dyld"
11963 lt_cv_dlopen_libs=
11964 lt_cv_dlopen_self=yes
11965
11966 fi
11967
11968 ;;
11969
11970 *)
11971 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11972 if test "x$ac_cv_func_shl_load" = xyes; then :
11973 lt_cv_dlopen="shl_load"
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11977 if ${ac_cv_lib_dld_shl_load+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-ldld $LIBS"
11982 if test x$gcc_no_link = xyes; then
11983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11984 fi
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11987
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char shl_load ();
11995 int
11996 main ()
11997 {
11998 return shl_load ();
11999 ;
12000 return 0;
12001 }
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_dld_shl_load=yes
12005 else
12006 ac_cv_lib_dld_shl_load=no
12007 fi
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12011 fi
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12013 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12014 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12015 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12016 else
12017 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12018 if test "x$ac_cv_func_dlopen" = xyes; then :
12019 lt_cv_dlopen="dlopen"
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12022 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12023 if ${ac_cv_lib_dl_dlopen+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_lib_save_LIBS=$LIBS
12027 LIBS="-ldl $LIBS"
12028 if test x$gcc_no_link = xyes; then
12029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12030 fi
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12033
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char dlopen ();
12041 int
12042 main ()
12043 {
12044 return dlopen ();
12045 ;
12046 return 0;
12047 }
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_dl_dlopen=yes
12051 else
12052 ac_cv_lib_dl_dlopen=no
12053 fi
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12057 fi
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12061 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12064 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12065 if ${ac_cv_lib_svld_dlopen+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-lsvld $LIBS"
12070 if test x$gcc_no_link = xyes; then
12071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12072 fi
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12075
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char dlopen ();
12083 int
12084 main ()
12085 {
12086 return dlopen ();
12087 ;
12088 return 0;
12089 }
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_svld_dlopen=yes
12093 else
12094 ac_cv_lib_svld_dlopen=no
12095 fi
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12099 fi
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12101 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12102 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12103 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12106 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12107 if ${ac_cv_lib_dld_dld_link+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-ldld $LIBS"
12112 if test x$gcc_no_link = xyes; then
12113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12114 fi
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12117
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char dld_link ();
12125 int
12126 main ()
12127 {
12128 return dld_link ();
12129 ;
12130 return 0;
12131 }
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_dld_dld_link=yes
12135 else
12136 ac_cv_lib_dld_dld_link=no
12137 fi
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12141 fi
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12143 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12144 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12145 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12146 fi
12147
12148
12149 fi
12150
12151
12152 fi
12153
12154
12155 fi
12156
12157
12158 fi
12159
12160
12161 fi
12162
12163 ;;
12164 esac
12165
12166 if test "x$lt_cv_dlopen" != xno; then
12167 enable_dlopen=yes
12168 else
12169 enable_dlopen=no
12170 fi
12171
12172 case $lt_cv_dlopen in
12173 dlopen)
12174 save_CPPFLAGS="$CPPFLAGS"
12175 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12176
12177 save_LDFLAGS="$LDFLAGS"
12178 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12179
12180 save_LIBS="$LIBS"
12181 LIBS="$lt_cv_dlopen_libs $LIBS"
12182
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12184 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12185 if ${lt_cv_dlopen_self+:} false; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 if test "$cross_compiling" = yes; then :
12189 lt_cv_dlopen_self=cross
12190 else
12191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12192 lt_status=$lt_dlunknown
12193 cat > conftest.$ac_ext <<_LT_EOF
12194 #line 12194 "configure"
12195 #include "confdefs.h"
12196
12197 #if HAVE_DLFCN_H
12198 #include <dlfcn.h>
12199 #endif
12200
12201 #include <stdio.h>
12202
12203 #ifdef RTLD_GLOBAL
12204 # define LT_DLGLOBAL RTLD_GLOBAL
12205 #else
12206 # ifdef DL_GLOBAL
12207 # define LT_DLGLOBAL DL_GLOBAL
12208 # else
12209 # define LT_DLGLOBAL 0
12210 # endif
12211 #endif
12212
12213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12214 find out it does not work in some platform. */
12215 #ifndef LT_DLLAZY_OR_NOW
12216 # ifdef RTLD_LAZY
12217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12218 # else
12219 # ifdef DL_LAZY
12220 # define LT_DLLAZY_OR_NOW DL_LAZY
12221 # else
12222 # ifdef RTLD_NOW
12223 # define LT_DLLAZY_OR_NOW RTLD_NOW
12224 # else
12225 # ifdef DL_NOW
12226 # define LT_DLLAZY_OR_NOW DL_NOW
12227 # else
12228 # define LT_DLLAZY_OR_NOW 0
12229 # endif
12230 # endif
12231 # endif
12232 # endif
12233 #endif
12234
12235 /* When -fvisbility=hidden is used, assume the code has been annotated
12236 correspondingly for the symbols needed. */
12237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12238 void fnord () __attribute__((visibility("default")));
12239 #endif
12240
12241 void fnord () { int i=42; }
12242 int main ()
12243 {
12244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12245 int status = $lt_dlunknown;
12246
12247 if (self)
12248 {
12249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12250 else
12251 {
12252 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12253 else puts (dlerror ());
12254 }
12255 /* dlclose (self); */
12256 }
12257 else
12258 puts (dlerror ());
12259
12260 return status;
12261 }
12262 _LT_EOF
12263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12264 (eval $ac_link) 2>&5
12265 ac_status=$?
12266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12267 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12268 (./conftest; exit; ) >&5 2>/dev/null
12269 lt_status=$?
12270 case x$lt_status in
12271 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12272 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12273 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12274 esac
12275 else :
12276 # compilation failed
12277 lt_cv_dlopen_self=no
12278 fi
12279 fi
12280 rm -fr conftest*
12281
12282
12283 fi
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12285 $as_echo "$lt_cv_dlopen_self" >&6; }
12286
12287 if test "x$lt_cv_dlopen_self" = xyes; then
12288 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12290 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12291 if ${lt_cv_dlopen_self_static+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 if test "$cross_compiling" = yes; then :
12295 lt_cv_dlopen_self_static=cross
12296 else
12297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12298 lt_status=$lt_dlunknown
12299 cat > conftest.$ac_ext <<_LT_EOF
12300 #line 12300 "configure"
12301 #include "confdefs.h"
12302
12303 #if HAVE_DLFCN_H
12304 #include <dlfcn.h>
12305 #endif
12306
12307 #include <stdio.h>
12308
12309 #ifdef RTLD_GLOBAL
12310 # define LT_DLGLOBAL RTLD_GLOBAL
12311 #else
12312 # ifdef DL_GLOBAL
12313 # define LT_DLGLOBAL DL_GLOBAL
12314 # else
12315 # define LT_DLGLOBAL 0
12316 # endif
12317 #endif
12318
12319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12320 find out it does not work in some platform. */
12321 #ifndef LT_DLLAZY_OR_NOW
12322 # ifdef RTLD_LAZY
12323 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12324 # else
12325 # ifdef DL_LAZY
12326 # define LT_DLLAZY_OR_NOW DL_LAZY
12327 # else
12328 # ifdef RTLD_NOW
12329 # define LT_DLLAZY_OR_NOW RTLD_NOW
12330 # else
12331 # ifdef DL_NOW
12332 # define LT_DLLAZY_OR_NOW DL_NOW
12333 # else
12334 # define LT_DLLAZY_OR_NOW 0
12335 # endif
12336 # endif
12337 # endif
12338 # endif
12339 #endif
12340
12341 /* When -fvisbility=hidden is used, assume the code has been annotated
12342 correspondingly for the symbols needed. */
12343 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12344 void fnord () __attribute__((visibility("default")));
12345 #endif
12346
12347 void fnord () { int i=42; }
12348 int main ()
12349 {
12350 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12351 int status = $lt_dlunknown;
12352
12353 if (self)
12354 {
12355 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12356 else
12357 {
12358 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12359 else puts (dlerror ());
12360 }
12361 /* dlclose (self); */
12362 }
12363 else
12364 puts (dlerror ());
12365
12366 return status;
12367 }
12368 _LT_EOF
12369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12370 (eval $ac_link) 2>&5
12371 ac_status=$?
12372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12373 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12374 (./conftest; exit; ) >&5 2>/dev/null
12375 lt_status=$?
12376 case x$lt_status in
12377 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12378 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12379 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12380 esac
12381 else :
12382 # compilation failed
12383 lt_cv_dlopen_self_static=no
12384 fi
12385 fi
12386 rm -fr conftest*
12387
12388
12389 fi
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12392 fi
12393
12394 CPPFLAGS="$save_CPPFLAGS"
12395 LDFLAGS="$save_LDFLAGS"
12396 LIBS="$save_LIBS"
12397 ;;
12398 esac
12399
12400 case $lt_cv_dlopen_self in
12401 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12402 *) enable_dlopen_self=unknown ;;
12403 esac
12404
12405 case $lt_cv_dlopen_self_static in
12406 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12407 *) enable_dlopen_self_static=unknown ;;
12408 esac
12409 fi
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427 striplib=
12428 old_striplib=
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12431 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12432 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12433 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12436 else
12437 # FIXME - insert some real tests, host_os isn't really good enough
12438 case $host_os in
12439 darwin*)
12440 if test -n "$STRIP" ; then
12441 striplib="$STRIP -x"
12442 old_striplib="$STRIP -S"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12444 $as_echo "yes" >&6; }
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12448 fi
12449 ;;
12450 *)
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452 $as_echo "no" >&6; }
12453 ;;
12454 esac
12455 fi
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468 # Report which library types will actually be built
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12472 $as_echo "$can_build_shared" >&6; }
12473
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12475 $as_echo_n "checking whether to build shared libraries... " >&6; }
12476 test "$can_build_shared" = "no" && enable_shared=no
12477
12478 # On AIX, shared libraries and static libraries use the same namespace, and
12479 # are all built from PIC.
12480 case $host_os in
12481 aix3*)
12482 test "$enable_shared" = yes && enable_static=no
12483 if test -n "$RANLIB"; then
12484 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12485 postinstall_cmds='$RANLIB $lib'
12486 fi
12487 ;;
12488
12489 aix[4-9]*)
12490 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12491 test "$enable_shared" = yes && enable_static=no
12492 fi
12493 ;;
12494 esac
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12496 $as_echo "$enable_shared" >&6; }
12497
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12499 $as_echo_n "checking whether to build static libraries... " >&6; }
12500 # Make sure either enable_shared or enable_static is yes.
12501 test "$enable_shared" = yes || enable_static=yes
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12503 $as_echo "$enable_static" >&6; }
12504
12505
12506
12507
12508 fi
12509 ac_ext=c
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12514
12515 CC="$lt_save_CC"
12516
12517 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12518 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12519 (test "X$CXX" != "Xg++"))) ; then
12520 ac_ext=cpp
12521 ac_cpp='$CXXCPP $CPPFLAGS'
12522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12526 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12527 if test -z "$CXXCPP"; then
12528 if ${ac_cv_prog_CXXCPP+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 # Double quotes because CXXCPP needs to be expanded
12532 for CXXCPP in "$CXX -E" "/lib/cpp"
12533 do
12534 ac_preproc_ok=false
12535 for ac_cxx_preproc_warn_flag in '' yes
12536 do
12537 # Use a header file that comes with gcc, so configuring glibc
12538 # with a fresh cross-compiler works.
12539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12540 # <limits.h> exists even on freestanding compilers.
12541 # On the NeXT, cc -E runs the code through the compiler's parser,
12542 # not just through cpp. "Syntax error" is here to catch this case.
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 #ifdef __STDC__
12546 # include <limits.h>
12547 #else
12548 # include <assert.h>
12549 #endif
12550 Syntax error
12551 _ACEOF
12552 if ac_fn_cxx_try_cpp "$LINENO"; then :
12553
12554 else
12555 # Broken: fails on valid input.
12556 continue
12557 fi
12558 rm -f conftest.err conftest.i conftest.$ac_ext
12559
12560 # OK, works on sane cases. Now check whether nonexistent headers
12561 # can be detected and how.
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12564 #include <ac_nonexistent.h>
12565 _ACEOF
12566 if ac_fn_cxx_try_cpp "$LINENO"; then :
12567 # Broken: success on invalid input.
12568 continue
12569 else
12570 # Passes both tests.
12571 ac_preproc_ok=:
12572 break
12573 fi
12574 rm -f conftest.err conftest.i conftest.$ac_ext
12575
12576 done
12577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12578 rm -f conftest.i conftest.err conftest.$ac_ext
12579 if $ac_preproc_ok; then :
12580 break
12581 fi
12582
12583 done
12584 ac_cv_prog_CXXCPP=$CXXCPP
12585
12586 fi
12587 CXXCPP=$ac_cv_prog_CXXCPP
12588 else
12589 ac_cv_prog_CXXCPP=$CXXCPP
12590 fi
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12592 $as_echo "$CXXCPP" >&6; }
12593 ac_preproc_ok=false
12594 for ac_cxx_preproc_warn_flag in '' yes
12595 do
12596 # Use a header file that comes with gcc, so configuring glibc
12597 # with a fresh cross-compiler works.
12598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599 # <limits.h> exists even on freestanding compilers.
12600 # On the NeXT, cc -E runs the code through the compiler's parser,
12601 # not just through cpp. "Syntax error" is here to catch this case.
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12604 #ifdef __STDC__
12605 # include <limits.h>
12606 #else
12607 # include <assert.h>
12608 #endif
12609 Syntax error
12610 _ACEOF
12611 if ac_fn_cxx_try_cpp "$LINENO"; then :
12612
12613 else
12614 # Broken: fails on valid input.
12615 continue
12616 fi
12617 rm -f conftest.err conftest.i conftest.$ac_ext
12618
12619 # OK, works on sane cases. Now check whether nonexistent headers
12620 # can be detected and how.
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 #include <ac_nonexistent.h>
12624 _ACEOF
12625 if ac_fn_cxx_try_cpp "$LINENO"; then :
12626 # Broken: success on invalid input.
12627 continue
12628 else
12629 # Passes both tests.
12630 ac_preproc_ok=:
12631 break
12632 fi
12633 rm -f conftest.err conftest.i conftest.$ac_ext
12634
12635 done
12636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12637 rm -f conftest.i conftest.err conftest.$ac_ext
12638 if $ac_preproc_ok; then :
12639
12640 else
12641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12643 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12644 See \`config.log' for more details" "$LINENO" 5; }
12645 fi
12646
12647 ac_ext=c
12648 ac_cpp='$CPP $CPPFLAGS'
12649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12652
12653 else
12654 _lt_caught_CXX_error=yes
12655 fi
12656
12657 ac_ext=cpp
12658 ac_cpp='$CXXCPP $CPPFLAGS'
12659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12662
12663 archive_cmds_need_lc_CXX=no
12664 allow_undefined_flag_CXX=
12665 always_export_symbols_CXX=no
12666 archive_expsym_cmds_CXX=
12667 compiler_needs_object_CXX=no
12668 export_dynamic_flag_spec_CXX=
12669 hardcode_direct_CXX=no
12670 hardcode_direct_absolute_CXX=no
12671 hardcode_libdir_flag_spec_CXX=
12672 hardcode_libdir_flag_spec_ld_CXX=
12673 hardcode_libdir_separator_CXX=
12674 hardcode_minus_L_CXX=no
12675 hardcode_shlibpath_var_CXX=unsupported
12676 hardcode_automatic_CXX=no
12677 inherit_rpath_CXX=no
12678 module_cmds_CXX=
12679 module_expsym_cmds_CXX=
12680 link_all_deplibs_CXX=unknown
12681 old_archive_cmds_CXX=$old_archive_cmds
12682 reload_flag_CXX=$reload_flag
12683 reload_cmds_CXX=$reload_cmds
12684 no_undefined_flag_CXX=
12685 whole_archive_flag_spec_CXX=
12686 enable_shared_with_static_runtimes_CXX=no
12687
12688 # Source file extension for C++ test sources.
12689 ac_ext=cpp
12690
12691 # Object file extension for compiled C++ test sources.
12692 objext=o
12693 objext_CXX=$objext
12694
12695 # No sense in running all these tests if we already determined that
12696 # the CXX compiler isn't working. Some variables (like enable_shared)
12697 # are currently assumed to apply to all compilers on this platform,
12698 # and will be corrupted by setting them based on a non-working compiler.
12699 if test "$_lt_caught_CXX_error" != yes; then
12700 # Code to be used in simple compile tests
12701 lt_simple_compile_test_code="int some_variable = 0;"
12702
12703 # Code to be used in simple link tests
12704 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12705
12706 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12707
12708
12709
12710
12711
12712
12713 # If no C compiler was specified, use CC.
12714 LTCC=${LTCC-"$CC"}
12715
12716 # If no C compiler flags were specified, use CFLAGS.
12717 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12718
12719 # Allow CC to be a program name with arguments.
12720 compiler=$CC
12721
12722
12723 # save warnings/boilerplate of simple test code
12724 ac_outfile=conftest.$ac_objext
12725 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12726 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12727 _lt_compiler_boilerplate=`cat conftest.err`
12728 $RM conftest*
12729
12730 ac_outfile=conftest.$ac_objext
12731 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12732 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12733 _lt_linker_boilerplate=`cat conftest.err`
12734 $RM -r conftest*
12735
12736
12737 # Allow CC to be a program name with arguments.
12738 lt_save_CC=$CC
12739 lt_save_LD=$LD
12740 lt_save_GCC=$GCC
12741 GCC=$GXX
12742 lt_save_with_gnu_ld=$with_gnu_ld
12743 lt_save_path_LD=$lt_cv_path_LD
12744 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12745 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12746 else
12747 $as_unset lt_cv_prog_gnu_ld
12748 fi
12749 if test -n "${lt_cv_path_LDCXX+set}"; then
12750 lt_cv_path_LD=$lt_cv_path_LDCXX
12751 else
12752 $as_unset lt_cv_path_LD
12753 fi
12754 test -z "${LDCXX+set}" || LD=$LDCXX
12755 CC=${CXX-"c++"}
12756 compiler=$CC
12757 compiler_CXX=$CC
12758 for cc_temp in $compiler""; do
12759 case $cc_temp in
12760 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12761 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12762 \-*) ;;
12763 *) break;;
12764 esac
12765 done
12766 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12767
12768
12769 if test -n "$compiler"; then
12770 # We don't want -fno-exception when compiling C++ code, so set the
12771 # no_builtin_flag separately
12772 if test "$GXX" = yes; then
12773 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12774 else
12775 lt_prog_compiler_no_builtin_flag_CXX=
12776 fi
12777
12778 if test "$GXX" = yes; then
12779 # Set up default GNU C++ configuration
12780
12781
12782
12783 # Check whether --with-gnu-ld was given.
12784 if test "${with_gnu_ld+set}" = set; then :
12785 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12786 else
12787 with_gnu_ld=no
12788 fi
12789
12790 ac_prog=ld
12791 if test "$GCC" = yes; then
12792 # Check if gcc -print-prog-name=ld gives a path.
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12794 $as_echo_n "checking for ld used by $CC... " >&6; }
12795 case $host in
12796 *-*-mingw*)
12797 # gcc leaves a trailing carriage return which upsets mingw
12798 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12799 *)
12800 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12801 esac
12802 case $ac_prog in
12803 # Accept absolute paths.
12804 [\\/]* | ?:[\\/]*)
12805 re_direlt='/[^/][^/]*/\.\./'
12806 # Canonicalize the pathname of ld
12807 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12808 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12809 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12810 done
12811 test -z "$LD" && LD="$ac_prog"
12812 ;;
12813 "")
12814 # If it fails, then pretend we aren't using GCC.
12815 ac_prog=ld
12816 ;;
12817 *)
12818 # If it is relative, then search for the first ld in PATH.
12819 with_gnu_ld=unknown
12820 ;;
12821 esac
12822 elif test "$with_gnu_ld" = yes; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12824 $as_echo_n "checking for GNU ld... " >&6; }
12825 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12827 $as_echo_n "checking for non-GNU ld... " >&6; }
12828 fi
12829 if ${lt_cv_path_LD+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 if test -z "$LD"; then
12833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12834 for ac_dir in $PATH; do
12835 IFS="$lt_save_ifs"
12836 test -z "$ac_dir" && ac_dir=.
12837 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12838 lt_cv_path_LD="$ac_dir/$ac_prog"
12839 # Check to see if the program is GNU ld. I'd rather use --version,
12840 # but apparently some variants of GNU ld only accept -v.
12841 # Break only if it was the GNU/non-GNU ld that we prefer.
12842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12843 *GNU* | *'with BFD'*)
12844 test "$with_gnu_ld" != no && break
12845 ;;
12846 *)
12847 test "$with_gnu_ld" != yes && break
12848 ;;
12849 esac
12850 fi
12851 done
12852 IFS="$lt_save_ifs"
12853 else
12854 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12855 fi
12856 fi
12857
12858 LD="$lt_cv_path_LD"
12859 if test -n "$LD"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12861 $as_echo "$LD" >&6; }
12862 else
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12865 fi
12866 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12869 if ${lt_cv_prog_gnu_ld+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12873 case `$LD -v 2>&1 </dev/null` in
12874 *GNU* | *'with BFD'*)
12875 lt_cv_prog_gnu_ld=yes
12876 ;;
12877 *)
12878 lt_cv_prog_gnu_ld=no
12879 ;;
12880 esac
12881 fi
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12884 with_gnu_ld=$lt_cv_prog_gnu_ld
12885
12886
12887
12888
12889
12890
12891
12892 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12893 # archiving commands below assume that GNU ld is being used.
12894 if test "$with_gnu_ld" = yes; then
12895 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896 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'
12897
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12900
12901 # If archive_cmds runs LD, not CC, wlarc should be empty
12902 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12903 # investigate it a little bit more. (MM)
12904 wlarc='${wl}'
12905
12906 # ancient GNU ld didn't support --whole-archive et. al.
12907 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12908 $GREP 'no-whole-archive' > /dev/null; then
12909 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12910 else
12911 whole_archive_flag_spec_CXX=
12912 fi
12913 else
12914 with_gnu_ld=no
12915 wlarc=
12916
12917 # A generic and very simple default shared library creation
12918 # command for GNU C++ for the case where it uses the native
12919 # linker, instead of GNU ld. If possible, this setting should
12920 # overridden to take advantage of the native linker features on
12921 # the platform it is being used on.
12922 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12923 fi
12924
12925 # Commands to make compiler produce verbose output that lists
12926 # what "hidden" libraries, object files and flags are used when
12927 # linking a shared library.
12928 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12929
12930 else
12931 GXX=no
12932 with_gnu_ld=no
12933 wlarc=
12934 fi
12935
12936 # PORTME: fill in a description of your system's C++ link characteristics
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12939 ld_shlibs_CXX=yes
12940 case $host_os in
12941 aix3*)
12942 # FIXME: insert proper C++ library support
12943 ld_shlibs_CXX=no
12944 ;;
12945 aix[4-9]*)
12946 if test "$host_cpu" = ia64; then
12947 # On IA64, the linker does run time linking by default, so we don't
12948 # have to do anything special.
12949 aix_use_runtimelinking=no
12950 exp_sym_flag='-Bexport'
12951 no_entry_flag=""
12952 else
12953 aix_use_runtimelinking=no
12954
12955 # Test if we are trying to use run time linking or normal
12956 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12957 # need to do runtime linking.
12958 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12959 for ld_flag in $LDFLAGS; do
12960 case $ld_flag in
12961 *-brtl*)
12962 aix_use_runtimelinking=yes
12963 break
12964 ;;
12965 esac
12966 done
12967 ;;
12968 esac
12969
12970 exp_sym_flag='-bexport'
12971 no_entry_flag='-bnoentry'
12972 fi
12973
12974 # When large executables or shared objects are built, AIX ld can
12975 # have problems creating the table of contents. If linking a library
12976 # or program results in "error TOC overflow" add -mminimal-toc to
12977 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12978 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12979
12980 archive_cmds_CXX=''
12981 hardcode_direct_CXX=yes
12982 hardcode_direct_absolute_CXX=yes
12983 hardcode_libdir_separator_CXX=':'
12984 link_all_deplibs_CXX=yes
12985 file_list_spec_CXX='${wl}-f,'
12986
12987 if test "$GXX" = yes; then
12988 case $host_os in aix4.[012]|aix4.[012].*)
12989 # We only want to do this on AIX 4.2 and lower, the check
12990 # below for broken collect2 doesn't work under 4.3+
12991 collect2name=`${CC} -print-prog-name=collect2`
12992 if test -f "$collect2name" &&
12993 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12994 then
12995 # We have reworked collect2
12996 :
12997 else
12998 # We have old collect2
12999 hardcode_direct_CXX=unsupported
13000 # It fails to find uninstalled libraries when the uninstalled
13001 # path is not listed in the libpath. Setting hardcode_minus_L
13002 # to unsupported forces relinking
13003 hardcode_minus_L_CXX=yes
13004 hardcode_libdir_flag_spec_CXX='-L$libdir'
13005 hardcode_libdir_separator_CXX=
13006 fi
13007 esac
13008 shared_flag='-shared'
13009 if test "$aix_use_runtimelinking" = yes; then
13010 shared_flag="$shared_flag "'${wl}-G'
13011 fi
13012 else
13013 # not using gcc
13014 if test "$host_cpu" = ia64; then
13015 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13016 # chokes on -Wl,-G. The following line is correct:
13017 shared_flag='-G'
13018 else
13019 if test "$aix_use_runtimelinking" = yes; then
13020 shared_flag='${wl}-G'
13021 else
13022 shared_flag='${wl}-bM:SRE'
13023 fi
13024 fi
13025 fi
13026
13027 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13028 # It seems that -bexpall does not export symbols beginning with
13029 # underscore (_), so it is better to generate a list of symbols to
13030 # export.
13031 always_export_symbols_CXX=yes
13032 if test "$aix_use_runtimelinking" = yes; then
13033 # Warning - without using the other runtime loading flags (-brtl),
13034 # -berok will link without error, but may produce a broken library.
13035 allow_undefined_flag_CXX='-berok'
13036 # Determine the default libpath from the value encoded in an empty
13037 # executable.
13038 if test x$gcc_no_link = xyes; then
13039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13040 fi
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13043
13044 int
13045 main ()
13046 {
13047
13048 ;
13049 return 0;
13050 }
13051 _ACEOF
13052 if ac_fn_cxx_try_link "$LINENO"; then :
13053
13054 lt_aix_libpath_sed='
13055 /Import File Strings/,/^$/ {
13056 /^0/ {
13057 s/^0 *\(.*\)$/\1/
13058 p
13059 }
13060 }'
13061 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13062 # Check for a 64-bit object if we didn't find anything.
13063 if test -z "$aix_libpath"; then
13064 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13065 fi
13066 fi
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13070
13071 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13072
13073 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"
13074 else
13075 if test "$host_cpu" = ia64; then
13076 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13077 allow_undefined_flag_CXX="-z nodefs"
13078 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"
13079 else
13080 # Determine the default libpath from the value encoded in an
13081 # empty executable.
13082 if test x$gcc_no_link = xyes; then
13083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13084 fi
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13087
13088 int
13089 main ()
13090 {
13091
13092 ;
13093 return 0;
13094 }
13095 _ACEOF
13096 if ac_fn_cxx_try_link "$LINENO"; then :
13097
13098 lt_aix_libpath_sed='
13099 /Import File Strings/,/^$/ {
13100 /^0/ {
13101 s/^0 *\(.*\)$/\1/
13102 p
13103 }
13104 }'
13105 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13106 # Check for a 64-bit object if we didn't find anything.
13107 if test -z "$aix_libpath"; then
13108 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13109 fi
13110 fi
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13114
13115 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13116 # Warning - without using the other run time loading flags,
13117 # -berok will link without error, but may produce a broken library.
13118 no_undefined_flag_CXX=' ${wl}-bernotok'
13119 allow_undefined_flag_CXX=' ${wl}-berok'
13120 if test "$with_gnu_ld" = yes; then
13121 # We only use this code for GNU lds that support --whole-archive.
13122 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13123 else
13124 # Exported symbols can be pulled into shared objects from archives
13125 whole_archive_flag_spec_CXX='$convenience'
13126 fi
13127 archive_cmds_need_lc_CXX=yes
13128 # This is similar to how AIX traditionally builds its shared
13129 # libraries.
13130 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'
13131 fi
13132 fi
13133 ;;
13134
13135 beos*)
13136 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13137 allow_undefined_flag_CXX=unsupported
13138 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13139 # support --undefined. This deserves some investigation. FIXME
13140 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13141 else
13142 ld_shlibs_CXX=no
13143 fi
13144 ;;
13145
13146 chorus*)
13147 case $cc_basename in
13148 *)
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13151 ;;
13152 esac
13153 ;;
13154
13155 cygwin* | mingw* | pw32* | cegcc*)
13156 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13157 # as there is no search path for DLLs.
13158 hardcode_libdir_flag_spec_CXX='-L$libdir'
13159 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13160 allow_undefined_flag_CXX=unsupported
13161 always_export_symbols_CXX=no
13162 enable_shared_with_static_runtimes_CXX=yes
13163
13164 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13165 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'
13166 # If the export-symbols file already is a .def file (1st line
13167 # is EXPORTS), use it as is; otherwise, prepend...
13168 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13169 cp $export_symbols $output_objdir/$soname.def;
13170 else
13171 echo EXPORTS > $output_objdir/$soname.def;
13172 cat $export_symbols >> $output_objdir/$soname.def;
13173 fi~
13174 $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'
13175 else
13176 ld_shlibs_CXX=no
13177 fi
13178 ;;
13179 darwin* | rhapsody*)
13180
13181
13182 archive_cmds_need_lc_CXX=no
13183 hardcode_direct_CXX=no
13184 hardcode_automatic_CXX=yes
13185 hardcode_shlibpath_var_CXX=unsupported
13186 if test "$lt_cv_ld_force_load" = "yes"; then
13187 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\"`'
13188 else
13189 whole_archive_flag_spec_CXX=''
13190 fi
13191 link_all_deplibs_CXX=yes
13192 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13193 case $cc_basename in
13194 ifort*) _lt_dar_can_shared=yes ;;
13195 *) _lt_dar_can_shared=$GCC ;;
13196 esac
13197 if test "$_lt_dar_can_shared" = "yes"; then
13198 output_verbose_link_cmd=func_echo_all
13199 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}"
13200 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13201 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}"
13202 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}"
13203 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13204 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}"
13205 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}"
13206 fi
13207
13208 else
13209 ld_shlibs_CXX=no
13210 fi
13211
13212 ;;
13213
13214 dgux*)
13215 case $cc_basename in
13216 ec++*)
13217 # FIXME: insert proper C++ library support
13218 ld_shlibs_CXX=no
13219 ;;
13220 ghcx*)
13221 # Green Hills C++ Compiler
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13224 ;;
13225 *)
13226 # FIXME: insert proper C++ library support
13227 ld_shlibs_CXX=no
13228 ;;
13229 esac
13230 ;;
13231
13232 freebsd2.*)
13233 # C++ shared libraries reported to be fairly broken before
13234 # switch to ELF
13235 ld_shlibs_CXX=no
13236 ;;
13237
13238 freebsd-elf*)
13239 archive_cmds_need_lc_CXX=no
13240 ;;
13241
13242 freebsd* | dragonfly*)
13243 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13244 # conventions
13245 ld_shlibs_CXX=yes
13246 ;;
13247
13248 gnu*)
13249 ;;
13250
13251 haiku*)
13252 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 link_all_deplibs_CXX=yes
13254 ;;
13255
13256 hpux9*)
13257 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13258 hardcode_libdir_separator_CXX=:
13259 export_dynamic_flag_spec_CXX='${wl}-E'
13260 hardcode_direct_CXX=yes
13261 hardcode_minus_L_CXX=yes # Not in the search PATH,
13262 # but as the default
13263 # location of the library.
13264
13265 case $cc_basename in
13266 CC*)
13267 # FIXME: insert proper C++ library support
13268 ld_shlibs_CXX=no
13269 ;;
13270 aCC*)
13271 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'
13272 # Commands to make compiler produce verbose output that lists
13273 # what "hidden" libraries, object files and flags are used when
13274 # linking a shared library.
13275 #
13276 # There doesn't appear to be a way to prevent this compiler from
13277 # explicitly linking system object files so we need to strip them
13278 # from the output so that they don't get included in the library
13279 # dependencies.
13280 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"'
13281 ;;
13282 *)
13283 if test "$GXX" = yes; then
13284 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'
13285 else
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13288 fi
13289 ;;
13290 esac
13291 ;;
13292
13293 hpux10*|hpux11*)
13294 if test $with_gnu_ld = no; then
13295 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13296 hardcode_libdir_separator_CXX=:
13297
13298 case $host_cpu in
13299 hppa*64*|ia64*)
13300 ;;
13301 *)
13302 export_dynamic_flag_spec_CXX='${wl}-E'
13303 ;;
13304 esac
13305 fi
13306 case $host_cpu in
13307 hppa*64*|ia64*)
13308 hardcode_direct_CXX=no
13309 hardcode_shlibpath_var_CXX=no
13310 ;;
13311 *)
13312 hardcode_direct_CXX=yes
13313 hardcode_direct_absolute_CXX=yes
13314 hardcode_minus_L_CXX=yes # Not in the search PATH,
13315 # but as the default
13316 # location of the library.
13317 ;;
13318 esac
13319
13320 case $cc_basename in
13321 CC*)
13322 # FIXME: insert proper C++ library support
13323 ld_shlibs_CXX=no
13324 ;;
13325 aCC*)
13326 case $host_cpu in
13327 hppa*64*)
13328 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13329 ;;
13330 ia64*)
13331 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13332 ;;
13333 *)
13334 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13335 ;;
13336 esac
13337 # Commands to make compiler produce verbose output that lists
13338 # what "hidden" libraries, object files and flags are used when
13339 # linking a shared library.
13340 #
13341 # There doesn't appear to be a way to prevent this compiler from
13342 # explicitly linking system object files so we need to strip them
13343 # from the output so that they don't get included in the library
13344 # dependencies.
13345 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"'
13346 ;;
13347 *)
13348 if test "$GXX" = yes; then
13349 if test $with_gnu_ld = no; then
13350 case $host_cpu in
13351 hppa*64*)
13352 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13353 ;;
13354 ia64*)
13355 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13356 ;;
13357 *)
13358 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'
13359 ;;
13360 esac
13361 fi
13362 else
13363 # FIXME: insert proper C++ library support
13364 ld_shlibs_CXX=no
13365 fi
13366 ;;
13367 esac
13368 ;;
13369
13370 interix[3-9]*)
13371 hardcode_direct_CXX=no
13372 hardcode_shlibpath_var_CXX=no
13373 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13374 export_dynamic_flag_spec_CXX='${wl}-E'
13375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13376 # Instead, shared libraries are loaded at an image base (0x10000000 by
13377 # default) and relocated if they conflict, which is a slow very memory
13378 # consuming and fragmenting process. To avoid this, we pick a random,
13379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13381 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'
13382 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'
13383 ;;
13384 irix5* | irix6*)
13385 case $cc_basename in
13386 CC*)
13387 # SGI C++
13388 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'
13389
13390 # Archives containing C++ object files must be created using
13391 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13392 # necessary to make sure instantiated templates are included
13393 # in the archive.
13394 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13395 ;;
13396 *)
13397 if test "$GXX" = yes; then
13398 if test "$with_gnu_ld" = no; then
13399 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'
13400 else
13401 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'
13402 fi
13403 fi
13404 link_all_deplibs_CXX=yes
13405 ;;
13406 esac
13407 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13408 hardcode_libdir_separator_CXX=:
13409 inherit_rpath_CXX=yes
13410 ;;
13411
13412 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13413 case $cc_basename in
13414 KCC*)
13415 # Kuck and Associates, Inc. (KAI) C++ Compiler
13416
13417 # KCC will only create a shared library if the output file
13418 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13419 # to its proper name (with version) after linking.
13420 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'
13421 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'
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13425 #
13426 # There doesn't appear to be a way to prevent this compiler from
13427 # explicitly linking system object files so we need to strip them
13428 # from the output so that they don't get included in the library
13429 # dependencies.
13430 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"'
13431
13432 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13433 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13434
13435 # Archives containing C++ object files must be created using
13436 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13437 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13438 ;;
13439 icpc* | ecpc* )
13440 # Intel C++
13441 with_gnu_ld=yes
13442 # version 8.0 and above of icpc choke on multiply defined symbols
13443 # if we add $predep_objects and $postdep_objects, however 7.1 and
13444 # earlier do not add the objects themselves.
13445 case `$CC -V 2>&1` in
13446 *"Version 7."*)
13447 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448 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'
13449 ;;
13450 *) # Version 8.0 or newer
13451 tmp_idyn=
13452 case $host_cpu in
13453 ia64*) tmp_idyn=' -i_dynamic';;
13454 esac
13455 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13456 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'
13457 ;;
13458 esac
13459 archive_cmds_need_lc_CXX=no
13460 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13461 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13463 ;;
13464 pgCC* | pgcpp*)
13465 # Portland Group C++ compiler
13466 case `$CC -V` in
13467 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13468 prelink_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13471 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13472 old_archive_cmds_CXX='tpldir=Template.dir~
13473 rm -rf $tpldir~
13474 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13475 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13476 $RANLIB $oldlib'
13477 archive_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13481 archive_expsym_cmds_CXX='tpldir=Template.dir~
13482 rm -rf $tpldir~
13483 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13484 $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'
13485 ;;
13486 *) # Version 6 and above use weak symbols
13487 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13488 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'
13489 ;;
13490 esac
13491
13492 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13493 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13494 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'
13495 ;;
13496 cxx*)
13497 # Compaq C++
13498 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13499 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'
13500
13501 runpath_var=LD_RUN_PATH
13502 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13503 hardcode_libdir_separator_CXX=:
13504
13505 # Commands to make compiler produce verbose output that lists
13506 # what "hidden" libraries, object files and flags are used when
13507 # linking a shared library.
13508 #
13509 # There doesn't appear to be a way to prevent this compiler from
13510 # explicitly linking system object files so we need to strip them
13511 # from the output so that they don't get included in the library
13512 # dependencies.
13513 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'
13514 ;;
13515 xl* | mpixl* | bgxl*)
13516 # IBM XL 8.0 on PPC, with GNU ld
13517 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13518 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13519 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13520 if test "x$supports_anon_versioning" = xyes; then
13521 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13522 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13523 echo "local: *; };" >> $output_objdir/$libname.ver~
13524 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13525 fi
13526 ;;
13527 *)
13528 case `$CC -V 2>&1 | sed 5q` in
13529 *Sun\ C*)
13530 # Sun C++ 5.9
13531 no_undefined_flag_CXX=' -zdefs'
13532 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 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'
13534 hardcode_libdir_flag_spec_CXX='-R$libdir'
13535 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'
13536 compiler_needs_object_CXX=yes
13537
13538 # Not sure whether something based on
13539 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13540 # would be better.
13541 output_verbose_link_cmd='func_echo_all'
13542
13543 # Archives containing C++ object files must be created using
13544 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13545 # necessary to make sure instantiated templates are included
13546 # in the archive.
13547 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13548 ;;
13549 esac
13550 ;;
13551 esac
13552 ;;
13553
13554 lynxos*)
13555 # FIXME: insert proper C++ library support
13556 ld_shlibs_CXX=no
13557 ;;
13558
13559 m88k*)
13560 # FIXME: insert proper C++ library support
13561 ld_shlibs_CXX=no
13562 ;;
13563
13564 mvs*)
13565 case $cc_basename in
13566 cxx*)
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13569 ;;
13570 *)
13571 # FIXME: insert proper C++ library support
13572 ld_shlibs_CXX=no
13573 ;;
13574 esac
13575 ;;
13576
13577 netbsd*)
13578 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13579 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13580 wlarc=
13581 hardcode_libdir_flag_spec_CXX='-R$libdir'
13582 hardcode_direct_CXX=yes
13583 hardcode_shlibpath_var_CXX=no
13584 fi
13585 # Workaround some broken pre-1.5 toolchains
13586 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13587 ;;
13588
13589 *nto* | *qnx*)
13590 ld_shlibs_CXX=yes
13591 ;;
13592
13593 openbsd2*)
13594 # C++ shared libraries are fairly broken
13595 ld_shlibs_CXX=no
13596 ;;
13597
13598 openbsd*)
13599 if test -f /usr/libexec/ld.so; then
13600 hardcode_direct_CXX=yes
13601 hardcode_shlibpath_var_CXX=no
13602 hardcode_direct_absolute_CXX=yes
13603 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13604 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13605 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13606 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13607 export_dynamic_flag_spec_CXX='${wl}-E'
13608 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13609 fi
13610 output_verbose_link_cmd=func_echo_all
13611 else
13612 ld_shlibs_CXX=no
13613 fi
13614 ;;
13615
13616 osf3* | osf4* | osf5*)
13617 case $cc_basename in
13618 KCC*)
13619 # Kuck and Associates, Inc. (KAI) C++ Compiler
13620
13621 # KCC will only create a shared library if the output file
13622 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13623 # to its proper name (with version) after linking.
13624 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'
13625
13626 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13627 hardcode_libdir_separator_CXX=:
13628
13629 # Archives containing C++ object files must be created using
13630 # the KAI C++ compiler.
13631 case $host in
13632 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13633 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13634 esac
13635 ;;
13636 RCC*)
13637 # Rational C++ 2.4.1
13638 # FIXME: insert proper C++ library support
13639 ld_shlibs_CXX=no
13640 ;;
13641 cxx*)
13642 case $host in
13643 osf3*)
13644 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13645 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'
13646 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13647 ;;
13648 *)
13649 allow_undefined_flag_CXX=' -expect_unresolved \*'
13650 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'
13651 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13652 echo "-hidden">> $lib.exp~
13653 $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~
13654 $RM $lib.exp'
13655 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13656 ;;
13657 esac
13658
13659 hardcode_libdir_separator_CXX=:
13660
13661 # Commands to make compiler produce verbose output that lists
13662 # what "hidden" libraries, object files and flags are used when
13663 # linking a shared library.
13664 #
13665 # There doesn't appear to be a way to prevent this compiler from
13666 # explicitly linking system object files so we need to strip them
13667 # from the output so that they don't get included in the library
13668 # dependencies.
13669 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"'
13670 ;;
13671 *)
13672 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13673 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13674 case $host in
13675 osf3*)
13676 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'
13677 ;;
13678 *)
13679 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'
13680 ;;
13681 esac
13682
13683 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13684 hardcode_libdir_separator_CXX=:
13685
13686 # Commands to make compiler produce verbose output that lists
13687 # what "hidden" libraries, object files and flags are used when
13688 # linking a shared library.
13689 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13690
13691 else
13692 # FIXME: insert proper C++ library support
13693 ld_shlibs_CXX=no
13694 fi
13695 ;;
13696 esac
13697 ;;
13698
13699 psos*)
13700 # FIXME: insert proper C++ library support
13701 ld_shlibs_CXX=no
13702 ;;
13703
13704 sunos4*)
13705 case $cc_basename in
13706 CC*)
13707 # Sun C++ 4.x
13708 # FIXME: insert proper C++ library support
13709 ld_shlibs_CXX=no
13710 ;;
13711 lcc*)
13712 # Lucid
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13715 ;;
13716 *)
13717 # FIXME: insert proper C++ library support
13718 ld_shlibs_CXX=no
13719 ;;
13720 esac
13721 ;;
13722
13723 solaris*)
13724 case $cc_basename in
13725 CC*)
13726 # Sun C++ 4.2, 5.x and Centerline C++
13727 archive_cmds_need_lc_CXX=yes
13728 no_undefined_flag_CXX=' -zdefs'
13729 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13730 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13731 $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'
13732
13733 hardcode_libdir_flag_spec_CXX='-R$libdir'
13734 hardcode_shlibpath_var_CXX=no
13735 case $host_os in
13736 solaris2.[0-5] | solaris2.[0-5].*) ;;
13737 *)
13738 # The compiler driver will combine and reorder linker options,
13739 # but understands `-z linker_flag'.
13740 # Supported since Solaris 2.6 (maybe 2.5.1?)
13741 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13742 ;;
13743 esac
13744 link_all_deplibs_CXX=yes
13745
13746 output_verbose_link_cmd='func_echo_all'
13747
13748 # Archives containing C++ object files must be created using
13749 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13750 # necessary to make sure instantiated templates are included
13751 # in the archive.
13752 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13753 ;;
13754 gcx*)
13755 # Green Hills C++ Compiler
13756 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13757
13758 # The C++ compiler must be used to create the archive.
13759 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13760 ;;
13761 *)
13762 # GNU C++ compiler with Solaris linker
13763 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13764 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13765 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13766 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13767 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13768 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13769
13770 # Commands to make compiler produce verbose output that lists
13771 # what "hidden" libraries, object files and flags are used when
13772 # linking a shared library.
13773 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13774 else
13775 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13776 # platform.
13777 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13778 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13779 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13780
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13784 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13785 fi
13786
13787 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13788 case $host_os in
13789 solaris2.[0-5] | solaris2.[0-5].*) ;;
13790 *)
13791 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13792 ;;
13793 esac
13794 fi
13795 ;;
13796 esac
13797 ;;
13798
13799 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13800 no_undefined_flag_CXX='${wl}-z,text'
13801 archive_cmds_need_lc_CXX=no
13802 hardcode_shlibpath_var_CXX=no
13803 runpath_var='LD_RUN_PATH'
13804
13805 case $cc_basename in
13806 CC*)
13807 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13809 ;;
13810 *)
13811 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13812 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13813 ;;
13814 esac
13815 ;;
13816
13817 sysv5* | sco3.2v5* | sco5v6*)
13818 # Note: We can NOT use -z defs as we might desire, because we do not
13819 # link with -lc, and that would cause any symbols used from libc to
13820 # always be unresolved, which means just about no library would
13821 # ever link correctly. If we're not using GNU ld we use -z text
13822 # though, which does catch some bad symbols but isn't as heavy-handed
13823 # as -z defs.
13824 no_undefined_flag_CXX='${wl}-z,text'
13825 allow_undefined_flag_CXX='${wl}-z,nodefs'
13826 archive_cmds_need_lc_CXX=no
13827 hardcode_shlibpath_var_CXX=no
13828 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13829 hardcode_libdir_separator_CXX=':'
13830 link_all_deplibs_CXX=yes
13831 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13832 runpath_var='LD_RUN_PATH'
13833
13834 case $cc_basename in
13835 CC*)
13836 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13837 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13839 '"$old_archive_cmds_CXX"
13840 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13841 '"$reload_cmds_CXX"
13842 ;;
13843 *)
13844 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13845 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13846 ;;
13847 esac
13848 ;;
13849
13850 tandem*)
13851 case $cc_basename in
13852 NCC*)
13853 # NonStop-UX NCC 3.20
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13856 ;;
13857 *)
13858 # FIXME: insert proper C++ library support
13859 ld_shlibs_CXX=no
13860 ;;
13861 esac
13862 ;;
13863
13864 vxworks*)
13865 # FIXME: insert proper C++ library support
13866 ld_shlibs_CXX=no
13867 ;;
13868
13869 *)
13870 # FIXME: insert proper C++ library support
13871 ld_shlibs_CXX=no
13872 ;;
13873 esac
13874
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13876 $as_echo "$ld_shlibs_CXX" >&6; }
13877 test "$ld_shlibs_CXX" = no && can_build_shared=no
13878
13879 GCC_CXX="$GXX"
13880 LD_CXX="$LD"
13881
13882 ## CAVEAT EMPTOR:
13883 ## There is no encapsulation within the following macros, do not change
13884 ## the running order or otherwise move them around unless you know exactly
13885 ## what you are doing...
13886 # Dependencies to place before and after the object being linked:
13887 predep_objects_CXX=
13888 postdep_objects_CXX=
13889 predeps_CXX=
13890 postdeps_CXX=
13891 compiler_lib_search_path_CXX=
13892
13893 cat > conftest.$ac_ext <<_LT_EOF
13894 class Foo
13895 {
13896 public:
13897 Foo (void) { a = 0; }
13898 private:
13899 int a;
13900 };
13901 _LT_EOF
13902
13903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13904 (eval $ac_compile) 2>&5
13905 ac_status=$?
13906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 test $ac_status = 0; }; then
13908 # Parse the compiler output and extract the necessary
13909 # objects, libraries and library flags.
13910
13911 # Sentinel used to keep track of whether or not we are before
13912 # the conftest object file.
13913 pre_test_object_deps_done=no
13914
13915 for p in `eval "$output_verbose_link_cmd"`; do
13916 case $p in
13917
13918 -L* | -R* | -l*)
13919 # Some compilers place space between "-{L,R}" and the path.
13920 # Remove the space.
13921 if test $p = "-L" ||
13922 test $p = "-R"; then
13923 prev=$p
13924 continue
13925 else
13926 prev=
13927 fi
13928
13929 if test "$pre_test_object_deps_done" = no; then
13930 case $p in
13931 -L* | -R*)
13932 # Internal compiler library paths should come after those
13933 # provided the user. The postdeps already come after the
13934 # user supplied libs so there is no need to process them.
13935 if test -z "$compiler_lib_search_path_CXX"; then
13936 compiler_lib_search_path_CXX="${prev}${p}"
13937 else
13938 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13939 fi
13940 ;;
13941 # The "-l" case would never come before the object being
13942 # linked, so don't bother handling this case.
13943 esac
13944 else
13945 if test -z "$postdeps_CXX"; then
13946 postdeps_CXX="${prev}${p}"
13947 else
13948 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13949 fi
13950 fi
13951 ;;
13952
13953 *.$objext)
13954 # This assumes that the test object file only shows up
13955 # once in the compiler output.
13956 if test "$p" = "conftest.$objext"; then
13957 pre_test_object_deps_done=yes
13958 continue
13959 fi
13960
13961 if test "$pre_test_object_deps_done" = no; then
13962 if test -z "$predep_objects_CXX"; then
13963 predep_objects_CXX="$p"
13964 else
13965 predep_objects_CXX="$predep_objects_CXX $p"
13966 fi
13967 else
13968 if test -z "$postdep_objects_CXX"; then
13969 postdep_objects_CXX="$p"
13970 else
13971 postdep_objects_CXX="$postdep_objects_CXX $p"
13972 fi
13973 fi
13974 ;;
13975
13976 *) ;; # Ignore the rest.
13977
13978 esac
13979 done
13980
13981 # Clean up.
13982 rm -f a.out a.exe
13983 else
13984 echo "libtool.m4: error: problem compiling CXX test program"
13985 fi
13986
13987 $RM -f confest.$objext
13988
13989 # PORTME: override above test on systems where it is broken
13990 case $host_os in
13991 interix[3-9]*)
13992 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13993 # hack all around it, let's just trust "g++" to DTRT.
13994 predep_objects_CXX=
13995 postdep_objects_CXX=
13996 postdeps_CXX=
13997 ;;
13998
13999 linux*)
14000 case `$CC -V 2>&1 | sed 5q` in
14001 *Sun\ C*)
14002 # Sun C++ 5.9
14003
14004 # The more standards-conforming stlport4 library is
14005 # incompatible with the Cstd library. Avoid specifying
14006 # it if it's in CXXFLAGS. Ignore libCrun as
14007 # -library=stlport4 depends on it.
14008 case " $CXX $CXXFLAGS " in
14009 *" -library=stlport4 "*)
14010 solaris_use_stlport4=yes
14011 ;;
14012 esac
14013
14014 if test "$solaris_use_stlport4" != yes; then
14015 postdeps_CXX='-library=Cstd -library=Crun'
14016 fi
14017 ;;
14018 esac
14019 ;;
14020
14021 solaris*)
14022 case $cc_basename in
14023 CC*)
14024 # The more standards-conforming stlport4 library is
14025 # incompatible with the Cstd library. Avoid specifying
14026 # it if it's in CXXFLAGS. Ignore libCrun as
14027 # -library=stlport4 depends on it.
14028 case " $CXX $CXXFLAGS " in
14029 *" -library=stlport4 "*)
14030 solaris_use_stlport4=yes
14031 ;;
14032 esac
14033
14034 # Adding this requires a known-good setup of shared libraries for
14035 # Sun compiler versions before 5.6, else PIC objects from an old
14036 # archive will be linked into the output, leading to subtle bugs.
14037 if test "$solaris_use_stlport4" != yes; then
14038 postdeps_CXX='-library=Cstd -library=Crun'
14039 fi
14040 ;;
14041 esac
14042 ;;
14043 esac
14044
14045
14046 case " $postdeps_CXX " in
14047 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14048 esac
14049 compiler_lib_search_dirs_CXX=
14050 if test -n "${compiler_lib_search_path_CXX}"; then
14051 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14052 fi
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084 lt_prog_compiler_wl_CXX=
14085 lt_prog_compiler_pic_CXX=
14086 lt_prog_compiler_static_CXX=
14087
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14089 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14090
14091 # C++ specific cases for pic, static, wl, etc.
14092 if test "$GXX" = yes; then
14093 lt_prog_compiler_wl_CXX='-Wl,'
14094 lt_prog_compiler_static_CXX='-static'
14095
14096 case $host_os in
14097 aix*)
14098 # All AIX code is PIC.
14099 if test "$host_cpu" = ia64; then
14100 # AIX 5 now supports IA64 processor
14101 lt_prog_compiler_static_CXX='-Bstatic'
14102 fi
14103 lt_prog_compiler_pic_CXX='-fPIC'
14104 ;;
14105
14106 amigaos*)
14107 case $host_cpu in
14108 powerpc)
14109 # see comment about AmigaOS4 .so support
14110 lt_prog_compiler_pic_CXX='-fPIC'
14111 ;;
14112 m68k)
14113 # FIXME: we need at least 68020 code to build shared libraries, but
14114 # adding the `-m68020' flag to GCC prevents building anything better,
14115 # like `-m68040'.
14116 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14117 ;;
14118 esac
14119 ;;
14120
14121 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14122 # PIC is the default for these OSes.
14123 ;;
14124 mingw* | cygwin* | os2* | pw32* | cegcc*)
14125 # This hack is so that the source file can tell whether it is being
14126 # built for inclusion in a dll (and should export symbols for example).
14127 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14128 # (--disable-auto-import) libraries
14129 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14130 ;;
14131 darwin* | rhapsody*)
14132 # PIC is the default on this platform
14133 # Common symbols not allowed in MH_DYLIB files
14134 lt_prog_compiler_pic_CXX='-fno-common'
14135 ;;
14136 *djgpp*)
14137 # DJGPP does not support shared libraries at all
14138 lt_prog_compiler_pic_CXX=
14139 ;;
14140 haiku*)
14141 # PIC is the default for Haiku.
14142 # The "-static" flag exists, but is broken.
14143 lt_prog_compiler_static_CXX=
14144 ;;
14145 interix[3-9]*)
14146 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14147 # Instead, we relocate shared libraries at runtime.
14148 ;;
14149 sysv4*MP*)
14150 if test -d /usr/nec; then
14151 lt_prog_compiler_pic_CXX=-Kconform_pic
14152 fi
14153 ;;
14154 hpux*)
14155 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14156 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14157 # sets the default TLS model and affects inlining.
14158 case $host_cpu in
14159 hppa*64*)
14160 ;;
14161 *)
14162 lt_prog_compiler_pic_CXX='-fPIC'
14163 ;;
14164 esac
14165 ;;
14166 *qnx* | *nto*)
14167 # QNX uses GNU C++, but need to define -shared option too, otherwise
14168 # it will coredump.
14169 lt_prog_compiler_pic_CXX='-fPIC -shared'
14170 ;;
14171 *)
14172 lt_prog_compiler_pic_CXX='-fPIC'
14173 ;;
14174 esac
14175 else
14176 case $host_os in
14177 aix[4-9]*)
14178 # All AIX code is PIC.
14179 if test "$host_cpu" = ia64; then
14180 # AIX 5 now supports IA64 processor
14181 lt_prog_compiler_static_CXX='-Bstatic'
14182 else
14183 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14184 fi
14185 ;;
14186 chorus*)
14187 case $cc_basename in
14188 cxch68*)
14189 # Green Hills C++ Compiler
14190 # _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"
14191 ;;
14192 esac
14193 ;;
14194 dgux*)
14195 case $cc_basename in
14196 ec++*)
14197 lt_prog_compiler_pic_CXX='-KPIC'
14198 ;;
14199 ghcx*)
14200 # Green Hills C++ Compiler
14201 lt_prog_compiler_pic_CXX='-pic'
14202 ;;
14203 *)
14204 ;;
14205 esac
14206 ;;
14207 freebsd* | dragonfly*)
14208 # FreeBSD uses GNU C++
14209 ;;
14210 hpux9* | hpux10* | hpux11*)
14211 case $cc_basename in
14212 CC*)
14213 lt_prog_compiler_wl_CXX='-Wl,'
14214 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14215 if test "$host_cpu" != ia64; then
14216 lt_prog_compiler_pic_CXX='+Z'
14217 fi
14218 ;;
14219 aCC*)
14220 lt_prog_compiler_wl_CXX='-Wl,'
14221 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14222 case $host_cpu in
14223 hppa*64*|ia64*)
14224 # +Z the default
14225 ;;
14226 *)
14227 lt_prog_compiler_pic_CXX='+Z'
14228 ;;
14229 esac
14230 ;;
14231 *)
14232 ;;
14233 esac
14234 ;;
14235 interix*)
14236 # This is c89, which is MS Visual C++ (no shared libs)
14237 # Anyone wants to do a port?
14238 ;;
14239 irix5* | irix6* | nonstopux*)
14240 case $cc_basename in
14241 CC*)
14242 lt_prog_compiler_wl_CXX='-Wl,'
14243 lt_prog_compiler_static_CXX='-non_shared'
14244 # CC pic flag -KPIC is the default.
14245 ;;
14246 *)
14247 ;;
14248 esac
14249 ;;
14250 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14251 case $cc_basename in
14252 KCC*)
14253 # KAI C++ Compiler
14254 lt_prog_compiler_wl_CXX='--backend -Wl,'
14255 lt_prog_compiler_pic_CXX='-fPIC'
14256 ;;
14257 ecpc* )
14258 # old Intel C++ for x86_64 which still supported -KPIC.
14259 lt_prog_compiler_wl_CXX='-Wl,'
14260 lt_prog_compiler_pic_CXX='-KPIC'
14261 lt_prog_compiler_static_CXX='-static'
14262 ;;
14263 icpc* )
14264 # Intel C++, used to be incompatible with GCC.
14265 # ICC 10 doesn't accept -KPIC any more.
14266 lt_prog_compiler_wl_CXX='-Wl,'
14267 lt_prog_compiler_pic_CXX='-fPIC'
14268 lt_prog_compiler_static_CXX='-static'
14269 ;;
14270 pgCC* | pgcpp*)
14271 # Portland Group C++ compiler
14272 lt_prog_compiler_wl_CXX='-Wl,'
14273 lt_prog_compiler_pic_CXX='-fpic'
14274 lt_prog_compiler_static_CXX='-Bstatic'
14275 ;;
14276 cxx*)
14277 # Compaq C++
14278 # Make sure the PIC flag is empty. It appears that all Alpha
14279 # Linux and Compaq Tru64 Unix objects are PIC.
14280 lt_prog_compiler_pic_CXX=
14281 lt_prog_compiler_static_CXX='-non_shared'
14282 ;;
14283 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14284 # IBM XL 8.0, 9.0 on PPC and BlueGene
14285 lt_prog_compiler_wl_CXX='-Wl,'
14286 lt_prog_compiler_pic_CXX='-qpic'
14287 lt_prog_compiler_static_CXX='-qstaticlink'
14288 ;;
14289 *)
14290 case `$CC -V 2>&1 | sed 5q` in
14291 *Sun\ C*)
14292 # Sun C++ 5.9
14293 lt_prog_compiler_pic_CXX='-KPIC'
14294 lt_prog_compiler_static_CXX='-Bstatic'
14295 lt_prog_compiler_wl_CXX='-Qoption ld '
14296 ;;
14297 esac
14298 ;;
14299 esac
14300 ;;
14301 lynxos*)
14302 ;;
14303 m88k*)
14304 ;;
14305 mvs*)
14306 case $cc_basename in
14307 cxx*)
14308 lt_prog_compiler_pic_CXX='-W c,exportall'
14309 ;;
14310 *)
14311 ;;
14312 esac
14313 ;;
14314 netbsd*)
14315 ;;
14316 *qnx* | *nto*)
14317 # QNX uses GNU C++, but need to define -shared option too, otherwise
14318 # it will coredump.
14319 lt_prog_compiler_pic_CXX='-fPIC -shared'
14320 ;;
14321 osf3* | osf4* | osf5*)
14322 case $cc_basename in
14323 KCC*)
14324 lt_prog_compiler_wl_CXX='--backend -Wl,'
14325 ;;
14326 RCC*)
14327 # Rational C++ 2.4.1
14328 lt_prog_compiler_pic_CXX='-pic'
14329 ;;
14330 cxx*)
14331 # Digital/Compaq C++
14332 lt_prog_compiler_wl_CXX='-Wl,'
14333 # Make sure the PIC flag is empty. It appears that all Alpha
14334 # Linux and Compaq Tru64 Unix objects are PIC.
14335 lt_prog_compiler_pic_CXX=
14336 lt_prog_compiler_static_CXX='-non_shared'
14337 ;;
14338 *)
14339 ;;
14340 esac
14341 ;;
14342 psos*)
14343 ;;
14344 solaris*)
14345 case $cc_basename in
14346 CC*)
14347 # Sun C++ 4.2, 5.x and Centerline C++
14348 lt_prog_compiler_pic_CXX='-KPIC'
14349 lt_prog_compiler_static_CXX='-Bstatic'
14350 lt_prog_compiler_wl_CXX='-Qoption ld '
14351 ;;
14352 gcx*)
14353 # Green Hills C++ Compiler
14354 lt_prog_compiler_pic_CXX='-PIC'
14355 ;;
14356 *)
14357 ;;
14358 esac
14359 ;;
14360 sunos4*)
14361 case $cc_basename in
14362 CC*)
14363 # Sun C++ 4.x
14364 lt_prog_compiler_pic_CXX='-pic'
14365 lt_prog_compiler_static_CXX='-Bstatic'
14366 ;;
14367 lcc*)
14368 # Lucid
14369 lt_prog_compiler_pic_CXX='-pic'
14370 ;;
14371 *)
14372 ;;
14373 esac
14374 ;;
14375 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14376 case $cc_basename in
14377 CC*)
14378 lt_prog_compiler_wl_CXX='-Wl,'
14379 lt_prog_compiler_pic_CXX='-KPIC'
14380 lt_prog_compiler_static_CXX='-Bstatic'
14381 ;;
14382 esac
14383 ;;
14384 tandem*)
14385 case $cc_basename in
14386 NCC*)
14387 # NonStop-UX NCC 3.20
14388 lt_prog_compiler_pic_CXX='-KPIC'
14389 ;;
14390 *)
14391 ;;
14392 esac
14393 ;;
14394 vxworks*)
14395 ;;
14396 *)
14397 lt_prog_compiler_can_build_shared_CXX=no
14398 ;;
14399 esac
14400 fi
14401
14402 case $host_os in
14403 # For platforms which do not support PIC, -DPIC is meaningless:
14404 *djgpp*)
14405 lt_prog_compiler_pic_CXX=
14406 ;;
14407 *)
14408 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14409 ;;
14410 esac
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14412 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14413
14414
14415
14416 #
14417 # Check to make sure the PIC flag actually works.
14418 #
14419 if test -n "$lt_prog_compiler_pic_CXX"; then
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14421 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14422 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 lt_cv_prog_compiler_pic_works_CXX=no
14426 ac_outfile=conftest.$ac_objext
14427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14428 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14429 # Insert the option either (1) after the last *FLAGS variable, or
14430 # (2) before a word containing "conftest.", or (3) at the end.
14431 # Note that $ac_compile itself does not contain backslashes and begins
14432 # with a dollar sign (not a hyphen), so the echo should work correctly.
14433 # The option is referenced via a variable to avoid confusing sed.
14434 lt_compile=`echo "$ac_compile" | $SED \
14435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14437 -e 's:$: $lt_compiler_flag:'`
14438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14439 (eval "$lt_compile" 2>conftest.err)
14440 ac_status=$?
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 if (exit $ac_status) && test -s "$ac_outfile"; then
14444 # The compiler can only warn and ignore the option if not recognized
14445 # So say no if there are warnings other than the usual output.
14446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14449 lt_cv_prog_compiler_pic_works_CXX=yes
14450 fi
14451 fi
14452 $RM conftest*
14453
14454 fi
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14456 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14457
14458 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14459 case $lt_prog_compiler_pic_CXX in
14460 "" | " "*) ;;
14461 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14462 esac
14463 else
14464 lt_prog_compiler_pic_CXX=
14465 lt_prog_compiler_can_build_shared_CXX=no
14466 fi
14467
14468 fi
14469
14470
14471
14472 #
14473 # Check to make sure the static flag actually works.
14474 #
14475 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14477 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14478 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_prog_compiler_static_works_CXX=no
14482 save_LDFLAGS="$LDFLAGS"
14483 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14484 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14485 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14486 # The linker can only warn and ignore the option if not recognized
14487 # So say no if there are warnings
14488 if test -s conftest.err; then
14489 # Append any errors to the config.log.
14490 cat conftest.err 1>&5
14491 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14493 if diff conftest.exp conftest.er2 >/dev/null; then
14494 lt_cv_prog_compiler_static_works_CXX=yes
14495 fi
14496 else
14497 lt_cv_prog_compiler_static_works_CXX=yes
14498 fi
14499 fi
14500 $RM -r conftest*
14501 LDFLAGS="$save_LDFLAGS"
14502
14503 fi
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14505 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14506
14507 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14508 :
14509 else
14510 lt_prog_compiler_static_CXX=
14511 fi
14512
14513
14514
14515
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14518 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 lt_cv_prog_compiler_c_o_CXX=no
14522 $RM -r conftest 2>/dev/null
14523 mkdir conftest
14524 cd conftest
14525 mkdir out
14526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14527
14528 lt_compiler_flag="-o out/conftest2.$ac_objext"
14529 # Insert the option either (1) after the last *FLAGS variable, or
14530 # (2) before a word containing "conftest.", or (3) at the end.
14531 # Note that $ac_compile itself does not contain backslashes and begins
14532 # with a dollar sign (not a hyphen), so the echo should work correctly.
14533 lt_compile=`echo "$ac_compile" | $SED \
14534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14536 -e 's:$: $lt_compiler_flag:'`
14537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14538 (eval "$lt_compile" 2>out/conftest.err)
14539 ac_status=$?
14540 cat out/conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14543 then
14544 # The compiler can only warn and ignore the option if not recognized
14545 # So say no if there are warnings
14546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14549 lt_cv_prog_compiler_c_o_CXX=yes
14550 fi
14551 fi
14552 chmod u+w . 2>&5
14553 $RM conftest*
14554 # SGI C++ compiler will create directory out/ii_files/ for
14555 # template instantiation
14556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14557 $RM out/* && rmdir out
14558 cd ..
14559 $RM -r conftest
14560 $RM conftest*
14561
14562 fi
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14564 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14565
14566
14567
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14569 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14570 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 lt_cv_prog_compiler_c_o_CXX=no
14574 $RM -r conftest 2>/dev/null
14575 mkdir conftest
14576 cd conftest
14577 mkdir out
14578 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14579
14580 lt_compiler_flag="-o out/conftest2.$ac_objext"
14581 # Insert the option either (1) after the last *FLAGS variable, or
14582 # (2) before a word containing "conftest.", or (3) at the end.
14583 # Note that $ac_compile itself does not contain backslashes and begins
14584 # with a dollar sign (not a hyphen), so the echo should work correctly.
14585 lt_compile=`echo "$ac_compile" | $SED \
14586 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14587 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14588 -e 's:$: $lt_compiler_flag:'`
14589 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14590 (eval "$lt_compile" 2>out/conftest.err)
14591 ac_status=$?
14592 cat out/conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14595 then
14596 # The compiler can only warn and ignore the option if not recognized
14597 # So say no if there are warnings
14598 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14599 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14600 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14601 lt_cv_prog_compiler_c_o_CXX=yes
14602 fi
14603 fi
14604 chmod u+w . 2>&5
14605 $RM conftest*
14606 # SGI C++ compiler will create directory out/ii_files/ for
14607 # template instantiation
14608 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14609 $RM out/* && rmdir out
14610 cd ..
14611 $RM -r conftest
14612 $RM conftest*
14613
14614 fi
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14616 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14617
14618
14619
14620
14621 hard_links="nottested"
14622 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14623 # do not overwrite the value of need_locks provided by the user
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14625 $as_echo_n "checking if we can lock with hard links... " >&6; }
14626 hard_links=yes
14627 $RM conftest*
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 touch conftest.a
14630 ln conftest.a conftest.b 2>&5 || hard_links=no
14631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14633 $as_echo "$hard_links" >&6; }
14634 if test "$hard_links" = no; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14636 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14637 need_locks=warn
14638 fi
14639 else
14640 need_locks=no
14641 fi
14642
14643
14644
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14647
14648 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14649 case $host_os in
14650 aix[4-9]*)
14651 # If we're using GNU nm, then we don't want the "-C" option.
14652 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14653 # Also, AIX nm treats weak defined symbols like other global defined
14654 # symbols, whereas GNU nm marks them as "W".
14655 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14656 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'
14657 else
14658 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'
14659 fi
14660 ;;
14661 pw32*)
14662 export_symbols_cmds_CXX="$ltdll_cmds"
14663 ;;
14664 cygwin* | mingw* | cegcc*)
14665 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'
14666 ;;
14667 *)
14668 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14669 ;;
14670 esac
14671 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14672
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14674 $as_echo "$ld_shlibs_CXX" >&6; }
14675 test "$ld_shlibs_CXX" = no && can_build_shared=no
14676
14677 with_gnu_ld_CXX=$with_gnu_ld
14678
14679
14680
14681
14682
14683
14684 #
14685 # Do we need to explicitly link libc?
14686 #
14687 case "x$archive_cmds_need_lc_CXX" in
14688 x|xyes)
14689 # Assume -lc should be added
14690 archive_cmds_need_lc_CXX=yes
14691
14692 if test "$enable_shared" = yes && test "$GCC" = yes; then
14693 case $archive_cmds_CXX in
14694 *'~'*)
14695 # FIXME: we may have to deal with multi-command sequences.
14696 ;;
14697 '$CC '*)
14698 # Test whether the compiler implicitly links with -lc since on some
14699 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14700 # to ld, don't add -lc before -lgcc.
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14702 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14703 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 $RM conftest*
14707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14708
14709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14710 (eval $ac_compile) 2>&5
14711 ac_status=$?
14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; } 2>conftest.err; then
14714 soname=conftest
14715 lib=conftest
14716 libobjs=conftest.$ac_objext
14717 deplibs=
14718 wl=$lt_prog_compiler_wl_CXX
14719 pic_flag=$lt_prog_compiler_pic_CXX
14720 compiler_flags=-v
14721 linker_flags=-v
14722 verstring=
14723 output_objdir=.
14724 libname=conftest
14725 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14726 allow_undefined_flag_CXX=
14727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14728 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14729 ac_status=$?
14730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731 test $ac_status = 0; }
14732 then
14733 lt_cv_archive_cmds_need_lc_CXX=no
14734 else
14735 lt_cv_archive_cmds_need_lc_CXX=yes
14736 fi
14737 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14738 else
14739 cat conftest.err 1>&5
14740 fi
14741 $RM conftest*
14742
14743 fi
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14745 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14746 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14747 ;;
14748 esac
14749 fi
14750 ;;
14751 esac
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14818
14819 library_names_spec=
14820 libname_spec='lib$name'
14821 soname_spec=
14822 shrext_cmds=".so"
14823 postinstall_cmds=
14824 postuninstall_cmds=
14825 finish_cmds=
14826 finish_eval=
14827 shlibpath_var=
14828 shlibpath_overrides_runpath=unknown
14829 version_type=none
14830 dynamic_linker="$host_os ld.so"
14831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14832 need_lib_prefix=unknown
14833 hardcode_into_libs=no
14834
14835 # when you set need_version to no, make sure it does not cause -set_version
14836 # flags to be left without arguments
14837 need_version=unknown
14838
14839 case $host_os in
14840 aix3*)
14841 version_type=linux
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14843 shlibpath_var=LIBPATH
14844
14845 # AIX 3 has no versioning support, so we append a major version to the name.
14846 soname_spec='${libname}${release}${shared_ext}$major'
14847 ;;
14848
14849 aix[4-9]*)
14850 version_type=linux
14851 need_lib_prefix=no
14852 need_version=no
14853 hardcode_into_libs=yes
14854 if test "$host_cpu" = ia64; then
14855 # AIX 5 supports IA64
14856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14857 shlibpath_var=LD_LIBRARY_PATH
14858 else
14859 # With GCC up to 2.95.x, collect2 would create an import file
14860 # for dependence libraries. The import file would start with
14861 # the line `#! .'. This would cause the generated library to
14862 # depend on `.', always an invalid library. This was fixed in
14863 # development snapshots of GCC prior to 3.0.
14864 case $host_os in
14865 aix4 | aix4.[01] | aix4.[01].*)
14866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14867 echo ' yes '
14868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14869 :
14870 else
14871 can_build_shared=no
14872 fi
14873 ;;
14874 esac
14875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14876 # soname into executable. Probably we can add versioning support to
14877 # collect2, so additional links can be useful in future.
14878 if test "$aix_use_runtimelinking" = yes; then
14879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14880 # instead of lib<name>.a to let people know that these are not
14881 # typical AIX shared libraries.
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 else
14884 # We preserve .a as extension for shared libraries through AIX4.2
14885 # and later when we are not doing run time linking.
14886 library_names_spec='${libname}${release}.a $libname.a'
14887 soname_spec='${libname}${release}${shared_ext}$major'
14888 fi
14889 shlibpath_var=LIBPATH
14890 fi
14891 ;;
14892
14893 amigaos*)
14894 case $host_cpu in
14895 powerpc)
14896 # Since July 2007 AmigaOS4 officially supports .so libraries.
14897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14899 ;;
14900 m68k)
14901 library_names_spec='$libname.ixlibrary $libname.a'
14902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14903 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'
14904 ;;
14905 esac
14906 ;;
14907
14908 beos*)
14909 library_names_spec='${libname}${shared_ext}'
14910 dynamic_linker="$host_os ld.so"
14911 shlibpath_var=LIBRARY_PATH
14912 ;;
14913
14914 bsdi[45]*)
14915 version_type=linux
14916 need_version=no
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 soname_spec='${libname}${release}${shared_ext}$major'
14919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14920 shlibpath_var=LD_LIBRARY_PATH
14921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14923 # the default ld.so.conf also contains /usr/contrib/lib and
14924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14925 # libtool to hard-code these into programs
14926 ;;
14927
14928 cygwin* | mingw* | pw32* | cegcc*)
14929 version_type=windows
14930 shrext_cmds=".dll"
14931 need_version=no
14932 need_lib_prefix=no
14933
14934 case $GCC,$host_os in
14935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14936 library_names_spec='$libname.dll.a'
14937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14938 postinstall_cmds='base_file=`basename \${file}`~
14939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14940 dldir=$destdir/`dirname \$dlpath`~
14941 test -d \$dldir || mkdir -p \$dldir~
14942 $install_prog $dir/$dlname \$dldir/$dlname~
14943 chmod a+x \$dldir/$dlname~
14944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14946 fi'
14947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14948 dlpath=$dir/\$dldll~
14949 $RM \$dlpath'
14950 shlibpath_overrides_runpath=yes
14951
14952 case $host_os in
14953 cygwin*)
14954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14956
14957 ;;
14958 mingw* | cegcc*)
14959 # MinGW DLLs use traditional 'lib' prefix
14960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14961 ;;
14962 pw32*)
14963 # pw32 DLLs use 'pw' prefix rather than 'lib'
14964 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14965 ;;
14966 esac
14967 ;;
14968
14969 *)
14970 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14971 ;;
14972 esac
14973 dynamic_linker='Win32 ld.exe'
14974 # FIXME: first we should search . and the directory the executable is in
14975 shlibpath_var=PATH
14976 ;;
14977
14978 darwin* | rhapsody*)
14979 dynamic_linker="$host_os dyld"
14980 version_type=darwin
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14984 soname_spec='${libname}${release}${major}$shared_ext'
14985 shlibpath_overrides_runpath=yes
14986 shlibpath_var=DYLD_LIBRARY_PATH
14987 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14988
14989 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14990 ;;
14991
14992 dgux*)
14993 version_type=linux
14994 need_lib_prefix=no
14995 need_version=no
14996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14997 soname_spec='${libname}${release}${shared_ext}$major'
14998 shlibpath_var=LD_LIBRARY_PATH
14999 ;;
15000
15001 freebsd* | dragonfly*)
15002 # DragonFly does not have aout. When/if they implement a new
15003 # versioning mechanism, adjust this.
15004 if test -x /usr/bin/objformat; then
15005 objformat=`/usr/bin/objformat`
15006 else
15007 case $host_os in
15008 freebsd[23].*) objformat=aout ;;
15009 *) objformat=elf ;;
15010 esac
15011 fi
15012 version_type=freebsd-$objformat
15013 case $version_type in
15014 freebsd-elf*)
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15016 need_version=no
15017 need_lib_prefix=no
15018 ;;
15019 freebsd-*)
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15021 need_version=yes
15022 ;;
15023 esac
15024 shlibpath_var=LD_LIBRARY_PATH
15025 case $host_os in
15026 freebsd2.*)
15027 shlibpath_overrides_runpath=yes
15028 ;;
15029 freebsd3.[01]* | freebsdelf3.[01]*)
15030 shlibpath_overrides_runpath=yes
15031 hardcode_into_libs=yes
15032 ;;
15033 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15034 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15035 shlibpath_overrides_runpath=no
15036 hardcode_into_libs=yes
15037 ;;
15038 *) # from 4.6 on, and DragonFly
15039 shlibpath_overrides_runpath=yes
15040 hardcode_into_libs=yes
15041 ;;
15042 esac
15043 ;;
15044
15045 haiku*)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
15049 dynamic_linker="$host_os runtime_loader"
15050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15051 soname_spec='${libname}${release}${shared_ext}$major'
15052 shlibpath_var=LIBRARY_PATH
15053 shlibpath_overrides_runpath=yes
15054 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15055 hardcode_into_libs=yes
15056 ;;
15057
15058 hpux9* | hpux10* | hpux11*)
15059 # Give a soname corresponding to the major version so that dld.sl refuses to
15060 # link against other versions.
15061 version_type=sunos
15062 need_lib_prefix=no
15063 need_version=no
15064 case $host_cpu in
15065 ia64*)
15066 shrext_cmds='.so'
15067 hardcode_into_libs=yes
15068 dynamic_linker="$host_os dld.so"
15069 shlibpath_var=LD_LIBRARY_PATH
15070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 if test "X$HPUX_IA64_MODE" = X32; then
15074 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15075 else
15076 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15077 fi
15078 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15079 ;;
15080 hppa*64*)
15081 shrext_cmds='.sl'
15082 hardcode_into_libs=yes
15083 dynamic_linker="$host_os dld.sl"
15084 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec='${libname}${release}${shared_ext}$major'
15088 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15089 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15090 ;;
15091 *)
15092 shrext_cmds='.sl'
15093 dynamic_linker="$host_os dld.sl"
15094 shlibpath_var=SHLIB_PATH
15095 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15097 soname_spec='${libname}${release}${shared_ext}$major'
15098 ;;
15099 esac
15100 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15101 postinstall_cmds='chmod 555 $lib'
15102 # or fails outright, so override atomically:
15103 install_override_mode=555
15104 ;;
15105
15106 interix[3-9]*)
15107 version_type=linux
15108 need_lib_prefix=no
15109 need_version=no
15110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15111 soname_spec='${libname}${release}${shared_ext}$major'
15112 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15113 shlibpath_var=LD_LIBRARY_PATH
15114 shlibpath_overrides_runpath=no
15115 hardcode_into_libs=yes
15116 ;;
15117
15118 irix5* | irix6* | nonstopux*)
15119 case $host_os in
15120 nonstopux*) version_type=nonstopux ;;
15121 *)
15122 if test "$lt_cv_prog_gnu_ld" = yes; then
15123 version_type=linux
15124 else
15125 version_type=irix
15126 fi ;;
15127 esac
15128 need_lib_prefix=no
15129 need_version=no
15130 soname_spec='${libname}${release}${shared_ext}$major'
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15132 case $host_os in
15133 irix5* | nonstopux*)
15134 libsuff= shlibsuff=
15135 ;;
15136 *)
15137 case $LD in # libtool.m4 will add one of these switches to LD
15138 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15139 libsuff= shlibsuff= libmagic=32-bit;;
15140 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15141 libsuff=32 shlibsuff=N32 libmagic=N32;;
15142 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15143 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15144 *) libsuff= shlibsuff= libmagic=never-match;;
15145 esac
15146 ;;
15147 esac
15148 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15149 shlibpath_overrides_runpath=no
15150 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15151 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15152 hardcode_into_libs=yes
15153 ;;
15154
15155 # No shared lib support for Linux oldld, aout, or coff.
15156 linux*oldld* | linux*aout* | linux*coff*)
15157 dynamic_linker=no
15158 ;;
15159
15160 # This must be Linux ELF.
15161
15162 # uclinux* changes (here and below) have been submitted to the libtool
15163 # project, but have not yet been accepted: they are GCC-local changes
15164 # for the time being. (See
15165 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15166 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15167 version_type=linux
15168 need_lib_prefix=no
15169 need_version=no
15170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 soname_spec='${libname}${release}${shared_ext}$major'
15172 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15173 shlibpath_var=LD_LIBRARY_PATH
15174 shlibpath_overrides_runpath=no
15175
15176 # Some binutils ld are patched to set DT_RUNPATH
15177 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 lt_cv_shlibpath_overrides_runpath=no
15181 save_LDFLAGS=$LDFLAGS
15182 save_libdir=$libdir
15183 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15184 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15185 if test x$gcc_no_link = xyes; then
15186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15187 fi
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15190
15191 int
15192 main ()
15193 {
15194
15195 ;
15196 return 0;
15197 }
15198 _ACEOF
15199 if ac_fn_cxx_try_link "$LINENO"; then :
15200 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15201 lt_cv_shlibpath_overrides_runpath=yes
15202 fi
15203 fi
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LDFLAGS=$save_LDFLAGS
15207 libdir=$save_libdir
15208
15209 fi
15210
15211 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15212
15213 # This implies no fast_install, which is unacceptable.
15214 # Some rework will be needed to allow for fast_install
15215 # before this can be enabled.
15216 hardcode_into_libs=yes
15217
15218 # Append ld.so.conf contents to the search path
15219 if test -f /etc/ld.so.conf; then
15220 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' ' '`
15221 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15222 fi
15223
15224 # We used to test for /lib/ld.so.1 and disable shared libraries on
15225 # powerpc, because MkLinux only supported shared libraries with the
15226 # GNU dynamic linker. Since this was broken with cross compilers,
15227 # most powerpc-linux boxes support dynamic linking these days and
15228 # people can always --disable-shared, the test was removed, and we
15229 # assume the GNU/Linux dynamic linker is in use.
15230 dynamic_linker='GNU/Linux ld.so'
15231 ;;
15232
15233 netbsd*)
15234 version_type=sunos
15235 need_lib_prefix=no
15236 need_version=no
15237 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15239 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15240 dynamic_linker='NetBSD (a.out) ld.so'
15241 else
15242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15243 soname_spec='${libname}${release}${shared_ext}$major'
15244 dynamic_linker='NetBSD ld.elf_so'
15245 fi
15246 shlibpath_var=LD_LIBRARY_PATH
15247 shlibpath_overrides_runpath=yes
15248 hardcode_into_libs=yes
15249 ;;
15250
15251 newsos6)
15252 version_type=linux
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254 shlibpath_var=LD_LIBRARY_PATH
15255 shlibpath_overrides_runpath=yes
15256 ;;
15257
15258 *nto* | *qnx*)
15259 version_type=qnx
15260 need_lib_prefix=no
15261 need_version=no
15262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15263 soname_spec='${libname}${release}${shared_ext}$major'
15264 shlibpath_var=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath=no
15266 hardcode_into_libs=yes
15267 dynamic_linker='ldqnx.so'
15268 ;;
15269
15270 openbsd*)
15271 version_type=sunos
15272 sys_lib_dlsearch_path_spec="/usr/lib"
15273 need_lib_prefix=no
15274 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15275 case $host_os in
15276 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15277 *) need_version=no ;;
15278 esac
15279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15280 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15281 shlibpath_var=LD_LIBRARY_PATH
15282 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15283 case $host_os in
15284 openbsd2.[89] | openbsd2.[89].*)
15285 shlibpath_overrides_runpath=no
15286 ;;
15287 *)
15288 shlibpath_overrides_runpath=yes
15289 ;;
15290 esac
15291 else
15292 shlibpath_overrides_runpath=yes
15293 fi
15294 ;;
15295
15296 os2*)
15297 libname_spec='$name'
15298 shrext_cmds=".dll"
15299 need_lib_prefix=no
15300 library_names_spec='$libname${shared_ext} $libname.a'
15301 dynamic_linker='OS/2 ld.exe'
15302 shlibpath_var=LIBPATH
15303 ;;
15304
15305 osf3* | osf4* | osf5*)
15306 version_type=osf
15307 need_lib_prefix=no
15308 need_version=no
15309 soname_spec='${libname}${release}${shared_ext}$major'
15310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 shlibpath_var=LD_LIBRARY_PATH
15312 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15313 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15314 ;;
15315
15316 rdos*)
15317 dynamic_linker=no
15318 ;;
15319
15320 solaris*)
15321 version_type=linux
15322 need_lib_prefix=no
15323 need_version=no
15324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325 soname_spec='${libname}${release}${shared_ext}$major'
15326 shlibpath_var=LD_LIBRARY_PATH
15327 shlibpath_overrides_runpath=yes
15328 hardcode_into_libs=yes
15329 # ldd complains unless libraries are executable
15330 postinstall_cmds='chmod +x $lib'
15331 ;;
15332
15333 sunos4*)
15334 version_type=sunos
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15336 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15337 shlibpath_var=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath=yes
15339 if test "$with_gnu_ld" = yes; then
15340 need_lib_prefix=no
15341 fi
15342 need_version=yes
15343 ;;
15344
15345 sysv4 | sysv4.3*)
15346 version_type=linux
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15348 soname_spec='${libname}${release}${shared_ext}$major'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 case $host_vendor in
15351 sni)
15352 shlibpath_overrides_runpath=no
15353 need_lib_prefix=no
15354 runpath_var=LD_RUN_PATH
15355 ;;
15356 siemens)
15357 need_lib_prefix=no
15358 ;;
15359 motorola)
15360 need_lib_prefix=no
15361 need_version=no
15362 shlibpath_overrides_runpath=no
15363 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15364 ;;
15365 esac
15366 ;;
15367
15368 sysv4*MP*)
15369 if test -d /usr/nec ;then
15370 version_type=linux
15371 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15372 soname_spec='$libname${shared_ext}.$major'
15373 shlibpath_var=LD_LIBRARY_PATH
15374 fi
15375 ;;
15376
15377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15378 version_type=freebsd-elf
15379 need_lib_prefix=no
15380 need_version=no
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 shlibpath_var=LD_LIBRARY_PATH
15384 shlibpath_overrides_runpath=yes
15385 hardcode_into_libs=yes
15386 if test "$with_gnu_ld" = yes; then
15387 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15388 else
15389 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15390 case $host_os in
15391 sco3.2v5*)
15392 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15393 ;;
15394 esac
15395 fi
15396 sys_lib_dlsearch_path_spec='/usr/lib'
15397 ;;
15398
15399 tpf*)
15400 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15401 version_type=linux
15402 need_lib_prefix=no
15403 need_version=no
15404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 shlibpath_var=LD_LIBRARY_PATH
15406 shlibpath_overrides_runpath=no
15407 hardcode_into_libs=yes
15408 ;;
15409
15410 uts4*)
15411 version_type=linux
15412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 soname_spec='${libname}${release}${shared_ext}$major'
15414 shlibpath_var=LD_LIBRARY_PATH
15415 ;;
15416
15417 *)
15418 dynamic_linker=no
15419 ;;
15420 esac
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15422 $as_echo "$dynamic_linker" >&6; }
15423 test "$dynamic_linker" = no && can_build_shared=no
15424
15425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15426 if test "$GCC" = yes; then
15427 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15428 fi
15429
15430 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15431 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15432 fi
15433 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15434 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15435 fi
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15475 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15476 hardcode_action_CXX=
15477 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15478 test -n "$runpath_var_CXX" ||
15479 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15480
15481 # We can hardcode non-existent directories.
15482 if test "$hardcode_direct_CXX" != no &&
15483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15484 # have to relink, otherwise we might link with an installed library
15485 # when we should be linking with a yet-to-be-installed one
15486 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15487 test "$hardcode_minus_L_CXX" != no; then
15488 # Linking always hardcodes the temporary library directory.
15489 hardcode_action_CXX=relink
15490 else
15491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15492 hardcode_action_CXX=immediate
15493 fi
15494 else
15495 # We cannot hardcode anything, or else we can only hardcode existing
15496 # directories.
15497 hardcode_action_CXX=unsupported
15498 fi
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15500 $as_echo "$hardcode_action_CXX" >&6; }
15501
15502 if test "$hardcode_action_CXX" = relink ||
15503 test "$inherit_rpath_CXX" = yes; then
15504 # Fast installation is not supported
15505 enable_fast_install=no
15506 elif test "$shlibpath_overrides_runpath" = yes ||
15507 test "$enable_shared" = no; then
15508 # Fast installation is not necessary
15509 enable_fast_install=needless
15510 fi
15511
15512
15513
15514
15515
15516
15517
15518 fi # test -n "$compiler"
15519
15520 CC=$lt_save_CC
15521 LDCXX=$LD
15522 LD=$lt_save_LD
15523 GCC=$lt_save_GCC
15524 with_gnu_ld=$lt_save_with_gnu_ld
15525 lt_cv_path_LDCXX=$lt_cv_path_LD
15526 lt_cv_path_LD=$lt_save_path_LD
15527 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15528 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15529 fi # test "$_lt_caught_CXX_error" != yes
15530
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549 ac_config_commands="$ac_config_commands libtool"
15550
15551
15552
15553
15554 # Only expand once:
15555
15556
15557
15558
15559
15560 case $host in
15561 *-cygwin* | *-mingw*)
15562 # 'host' will be top-level target in the case of a target lib,
15563 # we must compare to with_cross_host to decide if this is a native
15564 # or cross-compiler and select where to install dlls appropriately.
15565 if test -n "$with_cross_host" &&
15566 test x"$with_cross_host" != x"no"; then
15567 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15568 else
15569 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15570 fi
15571 ;;
15572 *)
15573 lt_host_flags=
15574 ;;
15575 esac
15576
15577
15578
15579
15580
15581
15582 if test "$enable_vtable_verify" = yes; then
15583 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15584 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15585 fi
15586
15587
15588 # libtool variables for C++ shared and position-independent compiles.
15589 #
15590 # Use glibcxx_lt_pic_flag to designate the automake variable
15591 # used to encapsulate the default libtool approach to creating objects
15592 # with position-independent code. Default: -prefer-pic.
15593 #
15594 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15595 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15596 #
15597 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15598 # creating position-independent objects. This varies with the target
15599 # hardware and operating system, but is often: -DPIC -fPIC.
15600 if test "$enable_shared" = yes; then
15601 glibcxx_lt_pic_flag="-prefer-pic"
15602 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15603 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15604
15605 else
15606 glibcxx_lt_pic_flag=
15607 glibcxx_compiler_pic_flag=
15608 glibcxx_compiler_shared_flag=
15609 fi
15610
15611
15612
15613
15614 # Override the libtool's pic_flag and pic_mode.
15615 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15616 # NB: this impacts --with-pic and --without-pic.
15617 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15618 pic_mode='default'
15619
15620 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15621 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15622
15623 # Possibly disable most of the library.
15624 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15625 ## than just ignoring the results. Faster /and/ more correct, win win.
15626
15627 # Check whether --enable-hosted-libstdcxx was given.
15628 if test "${enable_hosted_libstdcxx+set}" = set; then :
15629 enableval=$enable_hosted_libstdcxx;
15630 else
15631 case "$host" in
15632 arm*-*-symbianelf*)
15633 enable_hosted_libstdcxx=no
15634 ;;
15635 *)
15636 enable_hosted_libstdcxx=yes
15637 ;;
15638 esac
15639 fi
15640
15641 freestanding_flags=
15642 if test "$enable_hosted_libstdcxx" = no; then
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15644 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15645 is_hosted=no
15646 hosted_define=0
15647 enable_abi_check=no
15648 enable_libstdcxx_pch=no
15649 if test "x$with_headers" = xno; then
15650 freestanding_flags="-ffreestanding"
15651 fi
15652 else
15653 is_hosted=yes
15654 hosted_define=1
15655 fi
15656
15657
15658 cat >>confdefs.h <<_ACEOF
15659 #define _GLIBCXX_HOSTED $hosted_define
15660 _ACEOF
15661
15662 FREESTANDING_FLAGS="$freestanding_flags"
15663
15664
15665
15666 # Enable descriptive messages to standard output on termination.
15667
15668 # Check whether --enable-libstdcxx-verbose was given.
15669 if test "${enable_libstdcxx_verbose+set}" = set; then :
15670 enableval=$enable_libstdcxx_verbose;
15671 else
15672 enable_libstdcxx_verbose=yes
15673 fi
15674
15675 if test x"$enable_libstdcxx_verbose" = xyes; then
15676 verbose_define=1
15677 else
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15679 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15680 verbose_define=0
15681 fi
15682
15683 cat >>confdefs.h <<_ACEOF
15684 #define _GLIBCXX_VERBOSE $verbose_define
15685 _ACEOF
15686
15687
15688
15689 # Enable compiler support that doesn't require linking.
15690
15691 # Check whether --enable-libstdcxx-pch was given.
15692 if test "${enable_libstdcxx_pch+set}" = set; then :
15693 enableval=$enable_libstdcxx_pch;
15694 case "$enableval" in
15695 yes|no) ;;
15696 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15697 esac
15698
15699 else
15700 enable_libstdcxx_pch=$is_hosted
15701 fi
15702
15703
15704 if test $enable_libstdcxx_pch = yes; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15706 $as_echo_n "checking for compiler with PCH support... " >&6; }
15707 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 ac_save_CXXFLAGS="$CXXFLAGS"
15711 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15712
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15718
15719 echo '#include <math.h>' > conftest.h
15720 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15721 -o conftest.h.gch 1>&5 2>&1 &&
15722 echo '#error "pch failed"' > conftest.h &&
15723 echo '#include "conftest.h"' > conftest.cc &&
15724 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15725 then
15726 glibcxx_cv_prog_CXX_pch=yes
15727 else
15728 glibcxx_cv_prog_CXX_pch=no
15729 fi
15730 rm -f conftest*
15731 CXXFLAGS=$ac_save_CXXFLAGS
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15737
15738
15739 fi
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15741 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15742 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15743 fi
15744
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15746 $as_echo_n "checking for enabled PCH... " >&6; }
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15748 $as_echo "$enable_libstdcxx_pch" >&6; }
15749
15750
15751 if test $enable_libstdcxx_pch = yes; then
15752 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15753 else
15754 glibcxx_PCHFLAGS=""
15755 fi
15756
15757
15758
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15760 $as_echo_n "checking for thread model used by GCC... " >&6; }
15761 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15763 $as_echo "$target_thread_file" >&6; }
15764
15765 case $target_thread_file in
15766 aix) thread_header=config/rs6000/gthr-aix.h ;;
15767 dce) thread_header=config/pa/gthr-dce.h ;;
15768 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15769 lynx) thread_header=config/gthr-lynx.h ;;
15770 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15771 posix) thread_header=gthr-posix.h ;;
15772 rtems) thread_header=config/gthr-rtems.h ;;
15773 single) thread_header=gthr-single.h ;;
15774 tpf) thread_header=config/s390/gthr-tpf.h ;;
15775 vxworks) thread_header=config/gthr-vxworks.h ;;
15776 win32) thread_header=config/i386/gthr-win32.h ;;
15777 esac
15778
15779
15780
15781
15782
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15788
15789 old_CXXFLAGS="$CXXFLAGS"
15790
15791 # Do link tests if possible, instead asm tests, limited to some platforms
15792 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15793 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15794 atomic_builtins_link_tests=no
15795 if test x$gcc_no_link != xyes; then
15796 # Can do link tests. Limit to some tested platforms
15797 case "$host" in
15798 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15799 atomic_builtins_link_tests=yes
15800 ;;
15801 esac
15802 fi
15803
15804 if test x$atomic_builtins_link_tests = xyes; then
15805
15806 # Do link tests.
15807
15808 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15809
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15811 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15812 if ${glibcxx_cv_atomic_bool+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15815
15816 if test x$gcc_no_link = xyes; then
15817 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15818 fi
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821
15822 int
15823 main ()
15824 {
15825 typedef bool atomic_type;
15826 atomic_type c1;
15827 atomic_type c2;
15828 atomic_type c3(0);
15829 // N.B. __atomic_fetch_add is not supported for bool.
15830 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15831 __ATOMIC_RELAXED);
15832 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15833 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15834
15835 ;
15836 return 0;
15837 }
15838 _ACEOF
15839 if ac_fn_cxx_try_link "$LINENO"; then :
15840 glibcxx_cv_atomic_bool=yes
15841 else
15842 glibcxx_cv_atomic_bool=no
15843 fi
15844 rm -f core conftest.err conftest.$ac_objext \
15845 conftest$ac_exeext conftest.$ac_ext
15846
15847 fi
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15849 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15850
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15852 $as_echo_n "checking for atomic builtins for short... " >&6; }
15853 if ${glibcxx_cv_atomic_short+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15856
15857 if test x$gcc_no_link = xyes; then
15858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15859 fi
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15862
15863 int
15864 main ()
15865 {
15866 typedef short atomic_type;
15867 atomic_type c1;
15868 atomic_type c2;
15869 atomic_type c3(0);
15870 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15871 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15872 __ATOMIC_RELAXED);
15873 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15874 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15875
15876 ;
15877 return 0;
15878 }
15879 _ACEOF
15880 if ac_fn_cxx_try_link "$LINENO"; then :
15881 glibcxx_cv_atomic_short=yes
15882 else
15883 glibcxx_cv_atomic_short=no
15884 fi
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15887
15888 fi
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15890 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15891
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15893 $as_echo_n "checking for atomic builtins for int... " >&6; }
15894 if ${glibcxx_cv_atomic_int+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897
15898 if test x$gcc_no_link = xyes; then
15899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15900 fi
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903
15904 int
15905 main ()
15906 {
15907 typedef int atomic_type;
15908 atomic_type c1;
15909 atomic_type c2;
15910 atomic_type c3(0);
15911 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15912 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15913 __ATOMIC_RELAXED);
15914 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15915 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15916
15917 ;
15918 return 0;
15919 }
15920 _ACEOF
15921 if ac_fn_cxx_try_link "$LINENO"; then :
15922 glibcxx_cv_atomic_int=yes
15923 else
15924 glibcxx_cv_atomic_int=no
15925 fi
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15928
15929 fi
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15931 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15932
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15934 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15935 if ${glibcxx_cv_atomic_long_long+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938
15939 if test x$gcc_no_link = xyes; then
15940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15941 fi
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15944
15945 int
15946 main ()
15947 {
15948 typedef long long atomic_type;
15949 atomic_type c1;
15950 atomic_type c2;
15951 atomic_type c3(0);
15952 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15953 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15954 __ATOMIC_RELAXED);
15955 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15956 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15957
15958 ;
15959 return 0;
15960 }
15961 _ACEOF
15962 if ac_fn_cxx_try_link "$LINENO"; then :
15963 glibcxx_cv_atomic_long_long=yes
15964 else
15965 glibcxx_cv_atomic_long_long=no
15966 fi
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext conftest.$ac_ext
15969
15970 fi
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15972 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15973
15974 else
15975
15976 # Do asm tests.
15977
15978 # Compile unoptimized.
15979 CXXFLAGS='-O0 -S'
15980
15981 # Fake what AC_TRY_COMPILE does.
15982
15983 cat > conftest.$ac_ext << EOF
15984 #line 15984 "configure"
15985 int main()
15986 {
15987 typedef bool atomic_type;
15988 atomic_type c1;
15989 atomic_type c2;
15990 atomic_type c3(0);
15991 // N.B. __atomic_fetch_add is not supported for bool.
15992 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15993 __ATOMIC_RELAXED);
15994 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15995 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15996
15997 return 0;
15998 }
15999 EOF
16000
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16002 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16004 (eval $ac_compile) 2>&5
16005 ac_status=$?
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; then
16008 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16009 glibcxx_cv_atomic_bool=no
16010 else
16011 glibcxx_cv_atomic_bool=yes
16012 fi
16013 fi
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16015 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16016 rm -f conftest*
16017
16018 cat > conftest.$ac_ext << EOF
16019 #line 16019 "configure"
16020 int main()
16021 {
16022 typedef short 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 return 0;
16033 }
16034 EOF
16035
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16037 $as_echo_n "checking for atomic builtins for short... " >&6; }
16038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16039 (eval $ac_compile) 2>&5
16040 ac_status=$?
16041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16042 test $ac_status = 0; }; then
16043 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16044 glibcxx_cv_atomic_short=no
16045 else
16046 glibcxx_cv_atomic_short=yes
16047 fi
16048 fi
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16050 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16051 rm -f conftest*
16052
16053 cat > conftest.$ac_ext << EOF
16054 #line 16054 "configure"
16055 int main()
16056 {
16057 // NB: _Atomic_word not necessarily int.
16058 typedef int atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16067
16068 return 0;
16069 }
16070 EOF
16071
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16073 $as_echo_n "checking for atomic builtins for int... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_int=no
16081 else
16082 glibcxx_cv_atomic_int=yes
16083 fi
16084 fi
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16086 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16087 rm -f conftest*
16088
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16092 {
16093 typedef long long atomic_type;
16094 atomic_type c1;
16095 atomic_type c2;
16096 atomic_type c3(0);
16097 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16098 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16099 __ATOMIC_RELAXED);
16100 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16101 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16102
16103 return 0;
16104 }
16105 EOF
16106
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16108 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16110 (eval $ac_compile) 2>&5
16111 ac_status=$?
16112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16113 test $ac_status = 0; }; then
16114 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16115 glibcxx_cv_atomic_long_long=no
16116 else
16117 glibcxx_cv_atomic_long_long=yes
16118 fi
16119 fi
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16121 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16122 rm -f conftest*
16123
16124 fi
16125
16126 CXXFLAGS="$old_CXXFLAGS"
16127 ac_ext=c
16128 ac_cpp='$CPP $CPPFLAGS'
16129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16132
16133
16134 # Set atomicity_dir to builtins if all but the long long test above passes,
16135 # or if the builtins were already chosen (e.g. by configure.host).
16136 if { test "$glibcxx_cv_atomic_bool" = yes \
16137 && test "$glibcxx_cv_atomic_short" = yes \
16138 && test "$glibcxx_cv_atomic_int" = yes; } \
16139 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16140
16141 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16142
16143 atomicity_dir=cpu/generic/atomicity_builtins
16144 fi
16145
16146 # If still generic, set to mutex.
16147 if test $atomicity_dir = "cpu/generic" ; then
16148 atomicity_dir=cpu/generic/atomicity_mutex
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16150 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16151 if test "x$target_thread_file" = xsingle; then
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16153 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16155 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16156 else
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16158 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16160 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16161 fi
16162 fi
16163
16164
16165
16166
16167
16168 # Check whether --with-libstdcxx-lock-policy was given.
16169 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16170 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16171 else
16172 libstdcxx_atomic_lock_policy=auto
16173 fi
16174
16175
16176 case "$libstdcxx_atomic_lock_policy" in
16177 atomic|mutex|auto) ;;
16178 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16179 esac
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16181 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16182
16183 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16184
16185 ac_ext=cpp
16186 ac_cpp='$CXXCPP $CPPFLAGS'
16187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16190
16191 ac_save_CXXFLAGS="$CXXFLAGS"
16192
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195
16196 #if defined __riscv
16197 # error "Defaulting to mutex-based locks for ABI compatibility"
16198 #endif
16199 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16200 # error "No 2-byte compare-and-swap"
16201 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16202 # error "No 4-byte compare-and-swap"
16203 #endif
16204
16205 int
16206 main ()
16207 {
16208
16209 ;
16210 return 0;
16211 }
16212 _ACEOF
16213 if ac_fn_cxx_try_compile "$LINENO"; then :
16214 libstdcxx_atomic_lock_policy=atomic
16215 else
16216 libstdcxx_atomic_lock_policy=mutex
16217 fi
16218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16219 ac_ext=c
16220 ac_cpp='$CPP $CPPFLAGS'
16221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16224
16225 CXXFLAGS="$ac_save_CXXFLAGS"
16226 fi
16227
16228 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16230 $as_echo "atomic" >&6; }
16231
16232 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16233
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16236 $as_echo "mutex" >&6; }
16237 fi
16238
16239
16240
16241
16242 # Fake what AC_TRY_COMPILE does, without linking as this is
16243 # unnecessary for this test.
16244
16245 cat > conftest.$ac_ext << EOF
16246 #line 16246 "configure"
16247 int main()
16248 {
16249 _Decimal32 d1;
16250 _Decimal64 d2;
16251 _Decimal128 d3;
16252 return 0;
16253 }
16254 EOF
16255
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16257 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16259 (eval $ac_compile) 2>&5
16260 ac_status=$?
16261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262 test $ac_status = 0; }; then
16263
16264 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16265
16266 enable_dfp=yes
16267 else
16268 enable_dfp=no
16269 fi
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16271 $as_echo "$enable_dfp" >&6; }
16272 rm -f conftest*
16273
16274
16275
16276
16277 ac_ext=cpp
16278 ac_cpp='$CXXCPP $CPPFLAGS'
16279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16282
16283
16284 # Fake what AC_TRY_COMPILE does, without linking as this is
16285 # unnecessary for this test.
16286
16287 cat > conftest.$ac_ext << EOF
16288 #line 16288 "configure"
16289 template<typename T1, typename T2>
16290 struct same
16291 { typedef T2 type; };
16292
16293 template<typename T>
16294 struct same<T, T>;
16295
16296 int main()
16297 {
16298 typename same<double, __float128>::type f1;
16299 typename same<long double, __float128>::type f2;
16300 }
16301 EOF
16302
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16304 $as_echo_n "checking for __float128... " >&6; }
16305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16306 (eval $ac_compile) 2>&5
16307 ac_status=$?
16308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16309 test $ac_status = 0; }; then
16310 enable_float128=yes
16311 else
16312 enable_float128=no
16313 fi
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16315 $as_echo "$enable_float128" >&6; }
16316
16317 rm -f conftest*
16318
16319 ac_ext=c
16320 ac_cpp='$CPP $CPPFLAGS'
16321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16324
16325
16326 if test "$enable_float128" = yes; then
16327 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16328 fi
16329
16330 # Checks for compiler support that doesn't require linking.
16331
16332 # All these tests are for C++; save the language and the compiler flags.
16333 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16334 # found in GLIBCXX_CONFIGURE.
16335
16336 ac_ext=cpp
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16341
16342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16343 ac_save_CXXFLAGS="$CXXFLAGS"
16344
16345 # Check for -ffunction-sections -fdata-sections
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16347 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16348 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16351 int foo; void bar() { };
16352 int
16353 main ()
16354 {
16355
16356 ;
16357 return 0;
16358 }
16359 _ACEOF
16360 if ac_fn_cxx_try_compile "$LINENO"; then :
16361 ac_fdsections=yes
16362 else
16363 ac_fdsections=no
16364 fi
16365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16366 if test "$ac_test_CXXFLAGS" = set; then
16367 CXXFLAGS="$ac_save_CXXFLAGS"
16368 else
16369 # this is the suspicious part
16370 CXXFLAGS=''
16371 fi
16372 if test x"$ac_fdsections" = x"yes"; then
16373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16374 fi
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16376 $as_echo "$ac_fdsections" >&6; }
16377
16378 ac_ext=c
16379 ac_cpp='$CPP $CPPFLAGS'
16380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16383
16384
16385
16386
16387 # Enable all the variable C++ runtime options that don't require linking.
16388
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16390 $as_echo_n "checking for underlying I/O to use... " >&6; }
16391 # Check whether --enable-cstdio was given.
16392 if test "${enable_cstdio+set}" = set; then :
16393 enableval=$enable_cstdio;
16394 case "$enableval" in
16395 stdio|stdio_posix|stdio_pure) ;;
16396 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16397 esac
16398
16399 else
16400 enable_cstdio=stdio
16401 fi
16402
16403
16404
16405 # The only available I/O model is based on stdio, via basic_file_stdio.
16406 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16407 # to get a file descriptor and then uses read(3) and write(3) with it.
16408 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16409 case ${enable_cstdio} in
16410 stdio*)
16411 CSTDIO_H=config/io/c_io_stdio.h
16412 BASIC_FILE_H=config/io/basic_file_stdio.h
16413 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16414
16415 if test "x$enable_cstdio" = "xstdio_pure" ; then
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16417 $as_echo "stdio (without POSIX read/write)" >&6; }
16418
16419 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16420
16421 else
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16423 $as_echo "stdio (with POSIX read/write)" >&6; }
16424 fi
16425 ;;
16426 esac
16427
16428
16429
16430
16431
16432
16433 # Check whether --enable-clocale was given.
16434 if test "${enable_clocale+set}" = set; then :
16435 enableval=$enable_clocale;
16436 case "$enableval" in
16437 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16438 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16439 esac
16440
16441 else
16442 enable_clocale=auto
16443 fi
16444
16445
16446
16447 # Deal with gettext issues. Default to not using it (=no) until we detect
16448 # support for it later. Let the user turn it off via --e/d, but let that
16449 # default to on for easier handling.
16450 USE_NLS=no
16451 # Check whether --enable-nls was given.
16452 if test "${enable_nls+set}" = set; then :
16453 enableval=$enable_nls;
16454 else
16455 enable_nls=yes
16456 fi
16457
16458
16459 # Either a known package, or "auto"
16460 if test $enable_clocale = no || test $enable_clocale = yes; then
16461 enable_clocale=auto
16462 fi
16463 enable_clocale_flag=$enable_clocale
16464
16465 # Probe for locale model to use if none specified.
16466 # Default to "generic".
16467 if test $enable_clocale_flag = auto; then
16468 case ${target_os} in
16469 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16470 enable_clocale_flag=gnu
16471 ;;
16472 darwin*)
16473 enable_clocale_flag=darwin
16474 ;;
16475 vxworks*)
16476 enable_clocale_flag=vxworks
16477 ;;
16478 dragonfly* | freebsd*)
16479 enable_clocale_flag=dragonfly
16480 ;;
16481 openbsd*)
16482 enable_clocale_flag=newlib
16483 ;;
16484 *)
16485 if test x"$with_newlib" = x"yes"; then
16486 enable_clocale_flag=newlib
16487 else
16488 enable_clocale_flag=generic
16489 fi
16490 ;;
16491 esac
16492 fi
16493
16494 # Sanity check model, and test for special functionality.
16495 if test $enable_clocale_flag = gnu; then
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16498
16499 #include <features.h>
16500 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16501 _GLIBCXX_ok
16502 #endif
16503
16504 _ACEOF
16505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16506 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16507 enable_clocale_flag=gnu
16508 else
16509 enable_clocale_flag=generic
16510 fi
16511 rm -f conftest*
16512
16513
16514 # Set it to scream when it hurts.
16515 ac_save_CFLAGS="$CFLAGS"
16516 CFLAGS="-Wimplicit-function-declaration -Werror"
16517
16518 # Use strxfrm_l if available.
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #define _GNU_SOURCE 1
16522 #include <string.h>
16523 #include <locale.h>
16524 int
16525 main ()
16526 {
16527 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16528 ;
16529 return 0;
16530 }
16531 _ACEOF
16532 if ac_fn_c_try_compile "$LINENO"; then :
16533
16534 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16535
16536 fi
16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16538
16539 # Use strerror_l if available.
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16542 #define _GNU_SOURCE 1
16543 #include <string.h>
16544 #include <locale.h>
16545 int
16546 main ()
16547 {
16548 __locale_t loc; strerror_l(5, loc);
16549 ;
16550 return 0;
16551 }
16552 _ACEOF
16553 if ac_fn_c_try_compile "$LINENO"; then :
16554
16555 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16556
16557 fi
16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16559
16560 CFLAGS="$ac_save_CFLAGS"
16561 fi
16562
16563 # Perhaps use strerror_r if available, and strerror_l isn't.
16564 ac_save_CFLAGS="$CFLAGS"
16565 CFLAGS="-Wimplicit-function-declaration -Werror"
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #define _GNU_SOURCE 1
16569 #include <string.h>
16570 #include <locale.h>
16571 int
16572 main ()
16573 {
16574 char s[128]; strerror_r(5, s, 128);
16575 ;
16576 return 0;
16577 }
16578 _ACEOF
16579 if ac_fn_c_try_compile "$LINENO"; then :
16580
16581 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16582
16583 fi
16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16585 CFLAGS="$ac_save_CFLAGS"
16586
16587 # Set configure bits for specified locale package
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16589 $as_echo_n "checking for C locale to use... " >&6; }
16590 case ${enable_clocale_flag} in
16591 generic)
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16593 $as_echo "generic" >&6; }
16594
16595 CLOCALE_H=config/locale/generic/c_locale.h
16596 CLOCALE_CC=config/locale/generic/c_locale.cc
16597 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16598 CCOLLATE_CC=config/locale/generic/collate_members.cc
16599 CCTYPE_CC=config/locale/generic/ctype_members.cc
16600 CMESSAGES_H=config/locale/generic/messages_members.h
16601 CMESSAGES_CC=config/locale/generic/messages_members.cc
16602 CMONEY_CC=config/locale/generic/monetary_members.cc
16603 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16604 CTIME_H=config/locale/generic/time_members.h
16605 CTIME_CC=config/locale/generic/time_members.cc
16606 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16607 ;;
16608 darwin)
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16610 $as_echo "darwin" >&6; }
16611
16612 CLOCALE_H=config/locale/generic/c_locale.h
16613 CLOCALE_CC=config/locale/generic/c_locale.cc
16614 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16615 CCOLLATE_CC=config/locale/generic/collate_members.cc
16616 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16617 CMESSAGES_H=config/locale/generic/messages_members.h
16618 CMESSAGES_CC=config/locale/generic/messages_members.cc
16619 CMONEY_CC=config/locale/generic/monetary_members.cc
16620 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16621 CTIME_H=config/locale/generic/time_members.h
16622 CTIME_CC=config/locale/generic/time_members.cc
16623 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16624 ;;
16625 vxworks)
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16627 $as_echo "vxworks" >&6; }
16628
16629 CLOCALE_H=config/locale/generic/c_locale.h
16630 CLOCALE_CC=config/locale/generic/c_locale.cc
16631 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16632 CCOLLATE_CC=config/locale/generic/collate_members.cc
16633 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16634 CMESSAGES_H=config/locale/generic/messages_members.h
16635 CMESSAGES_CC=config/locale/generic/messages_members.cc
16636 CMONEY_CC=config/locale/generic/monetary_members.cc
16637 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16638 CTIME_H=config/locale/generic/time_members.h
16639 CTIME_CC=config/locale/generic/time_members.cc
16640 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16641 ;;
16642 dragonfly)
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16644 $as_echo "dragonfly or freebsd" >&6; }
16645
16646 CLOCALE_H=config/locale/dragonfly/c_locale.h
16647 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16648 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16649 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16650 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16651 CMESSAGES_H=config/locale/generic/messages_members.h
16652 CMESSAGES_CC=config/locale/generic/messages_members.cc
16653 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16654 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16655 CTIME_H=config/locale/dragonfly/time_members.h
16656 CTIME_CC=config/locale/dragonfly/time_members.cc
16657 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16658 ;;
16659
16660 gnu)
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16662 $as_echo "gnu" >&6; }
16663
16664 # Declare intention to use gettext, and add support for specific
16665 # languages.
16666 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16667 ALL_LINGUAS="de fr"
16668
16669 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16670 # Extract the first word of "msgfmt", so it can be a program name with args.
16671 set dummy msgfmt; ac_word=$2
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16673 $as_echo_n "checking for $ac_word... " >&6; }
16674 if ${ac_cv_prog_check_msgfmt+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 if test -n "$check_msgfmt"; then
16678 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16679 else
16680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16681 for as_dir in $PATH
16682 do
16683 IFS=$as_save_IFS
16684 test -z "$as_dir" && as_dir=.
16685 for ac_exec_ext in '' $ac_executable_extensions; do
16686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16687 ac_cv_prog_check_msgfmt="yes"
16688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16689 break 2
16690 fi
16691 done
16692 done
16693 IFS=$as_save_IFS
16694
16695 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16696 fi
16697 fi
16698 check_msgfmt=$ac_cv_prog_check_msgfmt
16699 if test -n "$check_msgfmt"; then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16701 $as_echo "$check_msgfmt" >&6; }
16702 else
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704 $as_echo "no" >&6; }
16705 fi
16706
16707
16708 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16709 USE_NLS=yes
16710 fi
16711 # Export the build objects.
16712 for ling in $ALL_LINGUAS; do \
16713 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16714 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16715 done
16716
16717
16718
16719 CLOCALE_H=config/locale/gnu/c_locale.h
16720 CLOCALE_CC=config/locale/gnu/c_locale.cc
16721 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16722 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16723 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16724 CMESSAGES_H=config/locale/gnu/messages_members.h
16725 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16726 CMONEY_CC=config/locale/gnu/monetary_members.cc
16727 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16728 CTIME_H=config/locale/gnu/time_members.h
16729 CTIME_CC=config/locale/gnu/time_members.cc
16730 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16731 ;;
16732 ieee_1003.1-2001)
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16734 $as_echo "IEEE 1003.1" >&6; }
16735
16736 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16737 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16738 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16739 CCOLLATE_CC=config/locale/generic/collate_members.cc
16740 CCTYPE_CC=config/locale/generic/ctype_members.cc
16741 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16742 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16743 CMONEY_CC=config/locale/generic/monetary_members.cc
16744 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16745 CTIME_H=config/locale/generic/time_members.h
16746 CTIME_CC=config/locale/generic/time_members.cc
16747 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16748 ;;
16749 newlib)
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16751 $as_echo "newlib" >&6; }
16752
16753 CLOCALE_H=config/locale/generic/c_locale.h
16754 CLOCALE_CC=config/locale/generic/c_locale.cc
16755 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16756 CCOLLATE_CC=config/locale/generic/collate_members.cc
16757 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16758 CMESSAGES_H=config/locale/generic/messages_members.h
16759 CMESSAGES_CC=config/locale/generic/messages_members.cc
16760 CMONEY_CC=config/locale/generic/monetary_members.cc
16761 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16762 CTIME_H=config/locale/generic/time_members.h
16763 CTIME_CC=config/locale/generic/time_members.cc
16764 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16765 ;;
16766 esac
16767
16768 # This is where the testsuite looks for locale catalogs, using the
16769 # -DLOCALEDIR define during testsuite compilation.
16770 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16771
16772
16773 # A standalone libintl (e.g., GNU libintl) may be in use.
16774 if test $USE_NLS = yes; then
16775 for ac_header in libintl.h
16776 do :
16777 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16778 if test "x$ac_cv_header_libintl_h" = xyes; then :
16779 cat >>confdefs.h <<_ACEOF
16780 #define HAVE_LIBINTL_H 1
16781 _ACEOF
16782
16783 else
16784 USE_NLS=no
16785 fi
16786
16787 done
16788
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16790 $as_echo_n "checking for library containing gettext... " >&6; }
16791 if ${ac_cv_search_gettext+:} false; then :
16792 $as_echo_n "(cached) " >&6
16793 else
16794 ac_func_search_save_LIBS=$LIBS
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16801 #ifdef __cplusplus
16802 extern "C"
16803 #endif
16804 char gettext ();
16805 int
16806 main ()
16807 {
16808 return gettext ();
16809 ;
16810 return 0;
16811 }
16812 _ACEOF
16813 for ac_lib in '' intl; do
16814 if test -z "$ac_lib"; then
16815 ac_res="none required"
16816 else
16817 ac_res=-l$ac_lib
16818 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16819 fi
16820 if test x$gcc_no_link = xyes; then
16821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16822 fi
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 ac_cv_search_gettext=$ac_res
16825 fi
16826 rm -f core conftest.err conftest.$ac_objext \
16827 conftest$ac_exeext
16828 if ${ac_cv_search_gettext+:} false; then :
16829 break
16830 fi
16831 done
16832 if ${ac_cv_search_gettext+:} false; then :
16833
16834 else
16835 ac_cv_search_gettext=no
16836 fi
16837 rm conftest.$ac_ext
16838 LIBS=$ac_func_search_save_LIBS
16839 fi
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16841 $as_echo "$ac_cv_search_gettext" >&6; }
16842 ac_res=$ac_cv_search_gettext
16843 if test "$ac_res" != no; then :
16844 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16845
16846 else
16847 USE_NLS=no
16848 fi
16849
16850 fi
16851 if test $USE_NLS = yes; then
16852
16853 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16854
16855 fi
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16873 $as_echo_n "checking for std::allocator base class... " >&6; }
16874 # Check whether --enable-libstdcxx-allocator was given.
16875 if test "${enable_libstdcxx_allocator+set}" = set; then :
16876 enableval=$enable_libstdcxx_allocator;
16877 case "$enableval" in
16878 new|malloc|yes|no|auto) ;;
16879 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16880 esac
16881
16882 else
16883 enable_libstdcxx_allocator=auto
16884 fi
16885
16886
16887
16888 # If they didn't use this option switch, or if they specified --enable
16889 # with no specific model, we'll have to look for one. If they
16890 # specified --disable (???), do likewise.
16891 if test $enable_libstdcxx_allocator = no ||
16892 test $enable_libstdcxx_allocator = yes;
16893 then
16894 enable_libstdcxx_allocator=auto
16895 fi
16896
16897 # Either a known package, or "auto". Auto implies the default choice
16898 # for a particular platform.
16899 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16900
16901 # Probe for host-specific support if no specific model is specified.
16902 # Default to "new".
16903 if test $enable_libstdcxx_allocator_flag = auto; then
16904 case ${target_os} in
16905 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16906 enable_libstdcxx_allocator_flag=new
16907 ;;
16908 *)
16909 enable_libstdcxx_allocator_flag=new
16910 ;;
16911 esac
16912 fi
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16914 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16915
16916
16917 # Set configure bits for specified locale package
16918 case ${enable_libstdcxx_allocator_flag} in
16919 malloc)
16920 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16921 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16922 ;;
16923 new)
16924 ALLOCATOR_H=config/allocator/new_allocator_base.h
16925 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16926 ;;
16927 esac
16928
16929
16930
16931
16932
16933
16934 # Check whether --enable-cheaders-obsolete was given.
16935 if test "${enable_cheaders_obsolete+set}" = set; then :
16936 enableval=$enable_cheaders_obsolete;
16937 case "$enableval" in
16938 yes|no) ;;
16939 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16940 esac
16941
16942 else
16943 enable_cheaders_obsolete=no
16944 fi
16945
16946
16947 # Check whether --enable-cheaders was given.
16948 if test "${enable_cheaders+set}" = set; then :
16949 enableval=$enable_cheaders;
16950 case "$enableval" in
16951 c|c_global|c_std) ;;
16952 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16953 esac
16954
16955 else
16956 enable_cheaders=$c_model
16957 fi
16958
16959
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16961 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16962 if test $enable_cheaders = c_std ; then
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16964 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16965 { $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
16966 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16967 if test $enable_cheaders_obsolete != yes ; then
16968 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16969 fi
16970 fi
16971
16972 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16973
16974 # Allow overrides to configure.host here.
16975 if test $enable_cheaders = c_global; then
16976 c_compatibility=yes
16977 fi
16978
16979
16980
16981
16982
16983
16984
16985 # Check whether --enable-long-long was given.
16986 if test "${enable_long_long+set}" = set; then :
16987 enableval=$enable_long_long;
16988 case "$enableval" in
16989 yes|no) ;;
16990 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16991 esac
16992
16993 else
16994 enable_long_long=yes
16995 fi
16996
16997
16998 if test $enable_long_long = yes; then
16999
17000 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17001
17002 fi
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17004 $as_echo_n "checking for enabled long long specializations... " >&6; }
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17006 $as_echo "$enable_long_long" >&6; }
17007
17008
17009 # Check whether --enable-wchar_t was given.
17010 if test "${enable_wchar_t+set}" = set; then :
17011 enableval=$enable_wchar_t;
17012 case "$enableval" in
17013 yes|no) ;;
17014 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17015 esac
17016
17017 else
17018 enable_wchar_t=yes
17019 fi
17020
17021
17022
17023 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17024 for ac_header in wchar.h
17025 do :
17026 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17027 if test "x$ac_cv_header_wchar_h" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_WCHAR_H 1
17030 _ACEOF
17031 ac_has_wchar_h=yes
17032 else
17033 ac_has_wchar_h=no
17034 fi
17035
17036 done
17037
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17039 $as_echo_n "checking for mbstate_t... " >&6; }
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <wchar.h>
17043 int
17044 main ()
17045 {
17046 mbstate_t teststate;
17047 ;
17048 return 0;
17049 }
17050 _ACEOF
17051 if ac_fn_c_try_compile "$LINENO"; then :
17052 have_mbstate_t=yes
17053 else
17054 have_mbstate_t=no
17055 fi
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17058 $as_echo "$have_mbstate_t" >&6; }
17059 if test x"$have_mbstate_t" = xyes; then
17060
17061 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17062
17063 fi
17064
17065 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17066 # ac_has_wchar_h.
17067 for ac_header in wctype.h
17068 do :
17069 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17070 if test "x$ac_cv_header_wctype_h" = xyes; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_WCTYPE_H 1
17073 _ACEOF
17074 ac_has_wctype_h=yes
17075 else
17076 ac_has_wctype_h=no
17077 fi
17078
17079 done
17080
17081
17082 if test x"$enable_wchar_t" = x"yes"; then
17083
17084
17085 ac_ext=cpp
17086 ac_cpp='$CXXCPP $CPPFLAGS'
17087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17090
17091
17092 if test x"$ac_has_wchar_h" = xyes &&
17093 test x"$ac_has_wctype_h" = xyes; then
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 #include <stddef.h>
17098 wint_t i;
17099 long l = WEOF;
17100 long j = WCHAR_MIN;
17101 long k = WCHAR_MAX;
17102 namespace test
17103 {
17104 using ::btowc;
17105 using ::fgetwc;
17106 using ::fgetws;
17107 using ::fputwc;
17108 using ::fputws;
17109 using ::fwide;
17110 using ::fwprintf;
17111 using ::fwscanf;
17112 using ::getwc;
17113 using ::getwchar;
17114 using ::mbrlen;
17115 using ::mbrtowc;
17116 using ::mbsinit;
17117 using ::mbsrtowcs;
17118 using ::putwc;
17119 using ::putwchar;
17120 using ::swprintf;
17121 using ::swscanf;
17122 using ::ungetwc;
17123 using ::vfwprintf;
17124 using ::vswprintf;
17125 using ::vwprintf;
17126 using ::wcrtomb;
17127 using ::wcscat;
17128 using ::wcschr;
17129 using ::wcscmp;
17130 using ::wcscoll;
17131 using ::wcscpy;
17132 using ::wcscspn;
17133 using ::wcsftime;
17134 using ::wcslen;
17135 using ::wcsncat;
17136 using ::wcsncmp;
17137 using ::wcsncpy;
17138 using ::wcspbrk;
17139 using ::wcsrchr;
17140 using ::wcsrtombs;
17141 using ::wcsspn;
17142 using ::wcsstr;
17143 using ::wcstod;
17144 using ::wcstok;
17145 using ::wcstol;
17146 using ::wcstoul;
17147 using ::wcsxfrm;
17148 using ::wctob;
17149 using ::wmemchr;
17150 using ::wmemcmp;
17151 using ::wmemcpy;
17152 using ::wmemmove;
17153 using ::wmemset;
17154 using ::wprintf;
17155 using ::wscanf;
17156 }
17157
17158 int
17159 main ()
17160 {
17161
17162 ;
17163 return 0;
17164 }
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17167
17168 else
17169 enable_wchar_t=no
17170 fi
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 else
17173 enable_wchar_t=no
17174 fi
17175
17176 ac_ext=c
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17181
17182 fi
17183
17184 if test x"$enable_wchar_t" = x"yes"; then
17185
17186 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17187
17188 fi
17189
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17191 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17193 $as_echo "$enable_wchar_t" >&6; }
17194
17195
17196
17197 # Check whether --enable-c99 was given.
17198 if test "${enable_c99+set}" = set; then :
17199 enableval=$enable_c99;
17200 case "$enableval" in
17201 yes|no) ;;
17202 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17203 esac
17204
17205 else
17206 enable_c99=yes
17207 fi
17208
17209
17210
17211 if test x"$enable_c99" = x"yes"; then
17212
17213 ac_ext=cpp
17214 ac_cpp='$CXXCPP $CPPFLAGS'
17215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17218
17219
17220 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17221 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17222 # to be spuriously enabled.
17223 ac_save_CXXFLAGS="$CXXFLAGS"
17224 CXXFLAGS="$CXXFLAGS -std=c++98"
17225 ac_save_LIBS="$LIBS"
17226 ac_save_gcc_no_link="$gcc_no_link"
17227
17228 if test x$gcc_no_link != xyes; then
17229 # Use -fno-exceptions to that the C driver can link these tests without
17230 # hitting undefined references to personality routines.
17231 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17233 $as_echo_n "checking for sin in -lm... " >&6; }
17234 if ${ac_cv_lib_m_sin+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lm $LIBS"
17239 if test x$gcc_no_link = xyes; then
17240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17241 fi
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244
17245 /* Override any GCC internal prototype to avoid an error.
17246 Use char because int might match the return type of a GCC
17247 builtin and then its argument prototype would still apply. */
17248 #ifdef __cplusplus
17249 extern "C"
17250 #endif
17251 char sin ();
17252 int
17253 main ()
17254 {
17255 return sin ();
17256 ;
17257 return 0;
17258 }
17259 _ACEOF
17260 if ac_fn_cxx_try_link "$LINENO"; then :
17261 ac_cv_lib_m_sin=yes
17262 else
17263 ac_cv_lib_m_sin=no
17264 fi
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 LIBS=$ac_check_lib_save_LIBS
17268 fi
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17270 $as_echo "$ac_cv_lib_m_sin" >&6; }
17271 if test "x$ac_cv_lib_m_sin" = xyes; then :
17272 LIBS="$LIBS -lm"
17273 else
17274
17275 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17276 gcc_no_link=yes
17277
17278 fi
17279
17280 fi
17281
17282 # Check for the existence of <math.h> functions used if C99 is enabled.
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17284 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17285 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17288
17289 if test x$gcc_no_link = xyes; then
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 #include <math.h>
17293 volatile double d1, d2;
17294 volatile int i;
17295 int
17296 main ()
17297 {
17298 i = fpclassify(d1);
17299 i = isfinite(d1);
17300 i = isinf(d1);
17301 i = isnan(d1);
17302 i = isnormal(d1);
17303 i = signbit(d1);
17304 i = isgreater(d1, d2);
17305 i = isgreaterequal(d1, d2);
17306 i = isless(d1, d2);
17307 i = islessequal(d1, d2);
17308 i = islessgreater(d1, d2);
17309 i = islessgreater(d1, d2);
17310 i = isunordered(d1, d2);
17311
17312 ;
17313 return 0;
17314 }
17315 _ACEOF
17316 if ac_fn_cxx_try_compile "$LINENO"; then :
17317 glibcxx_cv_c99_math_cxx98=yes
17318 else
17319 glibcxx_cv_c99_math_cxx98=no
17320 fi
17321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322 else
17323 if test x$gcc_no_link = xyes; then
17324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17325 fi
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #include <math.h>
17329 volatile double d1, d2;
17330 volatile int i;
17331 int
17332 main ()
17333 {
17334 i = fpclassify(d1);
17335 i = isfinite(d1);
17336 i = isinf(d1);
17337 i = isnan(d1);
17338 i = isnormal(d1);
17339 i = signbit(d1);
17340 i = isgreater(d1, d2);
17341 i = isgreaterequal(d1, d2);
17342 i = isless(d1, d2);
17343 i = islessequal(d1, d2);
17344 i = islessgreater(d1, d2);
17345 i = islessgreater(d1, d2);
17346 i = isunordered(d1, d2);
17347
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 if ac_fn_cxx_try_link "$LINENO"; then :
17353 glibcxx_cv_c99_math_cxx98=yes
17354 else
17355 glibcxx_cv_c99_math_cxx98=no
17356 fi
17357 rm -f core conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17359 fi
17360
17361 fi
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17363 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17364 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17365
17366 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17367
17368 fi
17369
17370 # Check for the existence of <complex.h> complex math functions.
17371 # This is necessary even though libstdc++ uses the builtin versions
17372 # of these functions, because if the builtin cannot be used, a reference
17373 # to the library function is emitted.
17374 for ac_header in tgmath.h
17375 do :
17376 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17377 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17378 cat >>confdefs.h <<_ACEOF
17379 #define HAVE_TGMATH_H 1
17380 _ACEOF
17381 ac_has_tgmath_h=yes
17382 else
17383 ac_has_tgmath_h=no
17384 fi
17385
17386 done
17387
17388 for ac_header in complex.h
17389 do :
17390 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17391 if test "x$ac_cv_header_complex_h" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_COMPLEX_H 1
17394 _ACEOF
17395 ac_has_complex_h=yes
17396 else
17397 ac_has_complex_h=no
17398 fi
17399
17400 done
17401
17402 if test x"$ac_has_complex_h" = x"yes"; then
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17404 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17405 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408
17409 if test x$gcc_no_link = xyes; then
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #include <complex.h>
17413 typedef __complex__ float float_type;
17414 typedef __complex__ double double_type;
17415 typedef __complex__ long double ld_type;
17416 volatile float_type tmpf;
17417 volatile double_type tmpd;
17418 volatile ld_type tmpld;
17419 volatile float f;
17420 volatile double d;
17421 volatile long double ld;
17422 int
17423 main ()
17424 {
17425 f = cabsf(tmpf);
17426 f = cargf(tmpf);
17427 tmpf = ccosf(tmpf);
17428 tmpf = ccoshf(tmpf);
17429 tmpf = cexpf(tmpf);
17430 tmpf = clogf(tmpf);
17431 tmpf = csinf(tmpf);
17432 tmpf = csinhf(tmpf);
17433 tmpf = csqrtf(tmpf);
17434 tmpf = ctanf(tmpf);
17435 tmpf = ctanhf(tmpf);
17436 tmpf = cpowf(tmpf, tmpf);
17437 tmpf = cprojf(tmpf);
17438 d = cabs(tmpd);
17439 d = carg(tmpd);
17440 tmpd = ccos(tmpd);
17441 tmpd = ccosh(tmpd);
17442 tmpd = cexp(tmpd);
17443 tmpd = clog(tmpd);
17444 tmpd = csin(tmpd);
17445 tmpd = csinh(tmpd);
17446 tmpd = csqrt(tmpd);
17447 tmpd = ctan(tmpd);
17448 tmpd = ctanh(tmpd);
17449 tmpd = cpow(tmpd, tmpd);
17450 tmpd = cproj(tmpd);
17451 ld = cabsl(tmpld);
17452 ld = cargl(tmpld);
17453 tmpld = ccosl(tmpld);
17454 tmpld = ccoshl(tmpld);
17455 tmpld = cexpl(tmpld);
17456 tmpld = clogl(tmpld);
17457 tmpld = csinl(tmpld);
17458 tmpld = csinhl(tmpld);
17459 tmpld = csqrtl(tmpld);
17460 tmpld = ctanl(tmpld);
17461 tmpld = ctanhl(tmpld);
17462 tmpld = cpowl(tmpld, tmpld);
17463 tmpld = cprojl(tmpld);
17464
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 if ac_fn_cxx_try_compile "$LINENO"; then :
17470 glibcxx_cv_c99_complex_cxx98=yes
17471 else
17472 glibcxx_cv_c99_complex_cxx98=no
17473 fi
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 else
17476 if test x$gcc_no_link = xyes; then
17477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17478 fi
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #include <complex.h>
17482 typedef __complex__ float float_type;
17483 typedef __complex__ double double_type;
17484 typedef __complex__ long double ld_type;
17485 volatile float_type tmpf;
17486 volatile double_type tmpd;
17487 volatile ld_type tmpld;
17488 volatile float f;
17489 volatile double d;
17490 volatile long double ld;
17491 int
17492 main ()
17493 {
17494 f = cabsf(tmpf);
17495 f = cargf(tmpf);
17496 tmpf = ccosf(tmpf);
17497 tmpf = ccoshf(tmpf);
17498 tmpf = cexpf(tmpf);
17499 tmpf = clogf(tmpf);
17500 tmpf = csinf(tmpf);
17501 tmpf = csinhf(tmpf);
17502 tmpf = csqrtf(tmpf);
17503 tmpf = ctanf(tmpf);
17504 tmpf = ctanhf(tmpf);
17505 tmpf = cpowf(tmpf, tmpf);
17506 tmpf = cprojf(tmpf);
17507 d = cabs(tmpd);
17508 d = carg(tmpd);
17509 tmpd = ccos(tmpd);
17510 tmpd = ccosh(tmpd);
17511 tmpd = cexp(tmpd);
17512 tmpd = clog(tmpd);
17513 tmpd = csin(tmpd);
17514 tmpd = csinh(tmpd);
17515 tmpd = csqrt(tmpd);
17516 tmpd = ctan(tmpd);
17517 tmpd = ctanh(tmpd);
17518 tmpd = cpow(tmpd, tmpd);
17519 tmpd = cproj(tmpd);
17520 ld = cabsl(tmpld);
17521 ld = cargl(tmpld);
17522 tmpld = ccosl(tmpld);
17523 tmpld = ccoshl(tmpld);
17524 tmpld = cexpl(tmpld);
17525 tmpld = clogl(tmpld);
17526 tmpld = csinl(tmpld);
17527 tmpld = csinhl(tmpld);
17528 tmpld = csqrtl(tmpld);
17529 tmpld = ctanl(tmpld);
17530 tmpld = ctanhl(tmpld);
17531 tmpld = cpowl(tmpld, tmpld);
17532 tmpld = cprojl(tmpld);
17533
17534 ;
17535 return 0;
17536 }
17537 _ACEOF
17538 if ac_fn_cxx_try_link "$LINENO"; then :
17539 glibcxx_cv_c99_complex_cxx98=yes
17540 else
17541 glibcxx_cv_c99_complex_cxx98=no
17542 fi
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17545 fi
17546
17547 fi
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17549 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17550 fi
17551 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17552
17553 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17554
17555 fi
17556
17557 # Check for the existence in <stdio.h> of vscanf, et. al.
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17559 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17560 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563
17564 if test x$gcc_no_link = xyes; then
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <stdio.h>
17568 #include <stdarg.h>
17569 void foo(char* fmt, ...)
17570 {
17571 va_list args; va_start(args, fmt);
17572 vfscanf(stderr, "%i", args);
17573 vscanf("%i", args);
17574 vsnprintf(fmt, 0, "%i", args);
17575 vsscanf(fmt, "%i", args);
17576 snprintf(fmt, 0, "%i");
17577 }
17578 int
17579 main ()
17580 {
17581
17582 ;
17583 return 0;
17584 }
17585 _ACEOF
17586 if ac_fn_cxx_try_compile "$LINENO"; then :
17587 glibcxx_cv_c99_stdio_cxx98=yes
17588 else
17589 glibcxx_cv_c99_stdio_cxx98=no
17590 fi
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 else
17593 if test x$gcc_no_link = xyes; then
17594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17595 fi
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <stdio.h>
17599 #include <stdarg.h>
17600 void foo(char* fmt, ...)
17601 {
17602 va_list args; va_start(args, fmt);
17603 vfscanf(stderr, "%i", args);
17604 vscanf("%i", args);
17605 vsnprintf(fmt, 0, "%i", args);
17606 vsscanf(fmt, "%i", args);
17607 snprintf(fmt, 0, "%i");
17608 }
17609 int
17610 main ()
17611 {
17612
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_cxx_try_link "$LINENO"; then :
17618 glibcxx_cv_c99_stdio_cxx98=yes
17619 else
17620 glibcxx_cv_c99_stdio_cxx98=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17624 fi
17625
17626 fi
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17628 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17629 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17630
17631 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17632
17633 fi
17634
17635 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17637 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17638 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641
17642 if test x$gcc_no_link = xyes; then
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #include <stdlib.h>
17646 volatile float f;
17647 volatile long double ld;
17648 volatile unsigned long long ll;
17649 lldiv_t mydivt;
17650 int
17651 main ()
17652 {
17653 char* tmp;
17654 f = strtof("gnu", &tmp);
17655 ld = strtold("gnu", &tmp);
17656 ll = strtoll("gnu", &tmp, 10);
17657 ll = strtoull("gnu", &tmp, 10);
17658 ll = llabs(10);
17659 mydivt = lldiv(10,1);
17660 ll = mydivt.quot;
17661 ll = mydivt.rem;
17662 ll = atoll("10");
17663 _Exit(0);
17664
17665 ;
17666 return 0;
17667 }
17668 _ACEOF
17669 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 glibcxx_cv_c99_stdlib_cxx98=yes
17671 else
17672 glibcxx_cv_c99_stdlib_cxx98=no
17673 fi
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 else
17676 if test x$gcc_no_link = xyes; then
17677 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17678 fi
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <stdlib.h>
17682 volatile float f;
17683 volatile long double ld;
17684 volatile unsigned long long ll;
17685 lldiv_t mydivt;
17686 int
17687 main ()
17688 {
17689 char* tmp;
17690 f = strtof("gnu", &tmp);
17691 ld = strtold("gnu", &tmp);
17692 ll = strtoll("gnu", &tmp, 10);
17693 ll = strtoull("gnu", &tmp, 10);
17694 ll = llabs(10);
17695 mydivt = lldiv(10,1);
17696 ll = mydivt.quot;
17697 ll = mydivt.rem;
17698 ll = atoll("10");
17699 _Exit(0);
17700
17701 ;
17702 return 0;
17703 }
17704 _ACEOF
17705 if ac_fn_cxx_try_link "$LINENO"; then :
17706 glibcxx_cv_c99_stdlib_cxx98=yes
17707 else
17708 glibcxx_cv_c99_stdlib_cxx98=no
17709 fi
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17712 fi
17713
17714 fi
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17716 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17717 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17718
17719 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17720
17721 fi
17722
17723 # Check for the existence in <wchar.h> of wcstold, etc.
17724 if test x"$ac_has_wchar_h" = xyes &&
17725 test x"$ac_has_wctype_h" = xyes; then
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17727 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17728 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17731
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #include <wchar.h>
17735 namespace test
17736 {
17737 using ::wcstold;
17738 using ::wcstoll;
17739 using ::wcstoull;
17740 }
17741
17742 int
17743 main ()
17744 {
17745
17746 ;
17747 return 0;
17748 }
17749 _ACEOF
17750 if ac_fn_cxx_try_compile "$LINENO"; then :
17751 glibcxx_cv_c99_wchar_cxx98=yes
17752 else
17753 glibcxx_cv_c99_wchar_cxx98=no
17754 fi
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756
17757 fi
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17759 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17760
17761 # Checks for wide character functions that may not be present.
17762 # Injection of these is wrapped with guard macros.
17763 # NB: only put functions here, instead of immediately above, if
17764 # absolutely necessary.
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <wchar.h>
17768 namespace test { using ::vfwscanf; }
17769 int
17770 main ()
17771 {
17772
17773 ;
17774 return 0;
17775 }
17776 _ACEOF
17777 if ac_fn_cxx_try_compile "$LINENO"; then :
17778
17779 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17780
17781 fi
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <wchar.h>
17787 namespace test { using ::vswscanf; }
17788 int
17789 main ()
17790 {
17791
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 if ac_fn_cxx_try_compile "$LINENO"; then :
17797
17798 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17799
17800 fi
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <wchar.h>
17806 namespace test { using ::vwscanf; }
17807 int
17808 main ()
17809 {
17810
17811 ;
17812 return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_cxx_try_compile "$LINENO"; then :
17816
17817 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17818
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <wchar.h>
17825 namespace test { using ::wcstof; }
17826 int
17827 main ()
17828 {
17829
17830 ;
17831 return 0;
17832 }
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17835
17836 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17837
17838 fi
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #include <wctype.h>
17844 int
17845 main ()
17846 {
17847 wint_t t; int i = iswblank(t);
17848 ;
17849 return 0;
17850 }
17851 _ACEOF
17852 if ac_fn_cxx_try_compile "$LINENO"; then :
17853
17854 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17855
17856 fi
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858
17859 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17860
17861 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17862
17863 fi
17864 fi
17865
17866 # Option parsed, now set things appropriately.
17867 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17868 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17869 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17870 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17871 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17872 enable_c99=no;
17873 else
17874
17875 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17876
17877 fi
17878
17879 gcc_no_link="$ac_save_gcc_no_link"
17880 LIBS="$ac_save_LIBS"
17881 CXXFLAGS="$ac_save_CXXFLAGS"
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887
17888
17889
17890 ac_ext=cpp
17891 ac_cpp='$CXXCPP $CPPFLAGS'
17892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17895
17896
17897 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17898 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17899 ac_save_CXXFLAGS="$CXXFLAGS"
17900 CXXFLAGS="$CXXFLAGS -std=c++11"
17901 ac_save_LIBS="$LIBS"
17902 ac_save_gcc_no_link="$gcc_no_link"
17903
17904 if test x$gcc_no_link != xyes; then
17905 # Use -fno-exceptions to that the C driver can link these tests without
17906 # hitting undefined references to personality routines.
17907 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17909 $as_echo_n "checking for sin in -lm... " >&6; }
17910 if ${ac_cv_lib_m_sin+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 ac_check_lib_save_LIBS=$LIBS
17914 LIBS="-lm $LIBS"
17915 if test x$gcc_no_link = xyes; then
17916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17917 fi
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 #ifdef __cplusplus
17925 extern "C"
17926 #endif
17927 char sin ();
17928 int
17929 main ()
17930 {
17931 return sin ();
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 if ac_fn_cxx_try_link "$LINENO"; then :
17937 ac_cv_lib_m_sin=yes
17938 else
17939 ac_cv_lib_m_sin=no
17940 fi
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_check_lib_save_LIBS
17944 fi
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17946 $as_echo "$ac_cv_lib_m_sin" >&6; }
17947 if test "x$ac_cv_lib_m_sin" = xyes; then :
17948 LIBS="$LIBS -lm"
17949 else
17950
17951 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17952 gcc_no_link=yes
17953
17954 fi
17955
17956 fi
17957
17958 # Check for the existence of <math.h> functions used if C99 is enabled.
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17960 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17961 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17962 $as_echo_n "(cached) " >&6
17963 else
17964
17965 if test x$gcc_no_link = xyes; then
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17968 #include <math.h>
17969 volatile double d1, d2;
17970 volatile int i;
17971 int
17972 main ()
17973 {
17974 i = fpclassify(d1);
17975 i = isfinite(d1);
17976 i = isinf(d1);
17977 i = isnan(d1);
17978 i = isnormal(d1);
17979 i = signbit(d1);
17980 i = isgreater(d1, d2);
17981 i = isgreaterequal(d1, d2);
17982 i = isless(d1, d2);
17983 i = islessequal(d1, d2);
17984 i = islessgreater(d1, d2);
17985 i = islessgreater(d1, d2);
17986 i = isunordered(d1, d2);
17987
17988 ;
17989 return 0;
17990 }
17991 _ACEOF
17992 if ac_fn_cxx_try_compile "$LINENO"; then :
17993 glibcxx_cv_c99_math_cxx11=yes
17994 else
17995 glibcxx_cv_c99_math_cxx11=no
17996 fi
17997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17998 else
17999 if test x$gcc_no_link = xyes; then
18000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18001 fi
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <math.h>
18005 volatile double d1, d2;
18006 volatile int i;
18007 int
18008 main ()
18009 {
18010 i = fpclassify(d1);
18011 i = isfinite(d1);
18012 i = isinf(d1);
18013 i = isnan(d1);
18014 i = isnormal(d1);
18015 i = signbit(d1);
18016 i = isgreater(d1, d2);
18017 i = isgreaterequal(d1, d2);
18018 i = isless(d1, d2);
18019 i = islessequal(d1, d2);
18020 i = islessgreater(d1, d2);
18021 i = islessgreater(d1, d2);
18022 i = isunordered(d1, d2);
18023
18024 ;
18025 return 0;
18026 }
18027 _ACEOF
18028 if ac_fn_cxx_try_link "$LINENO"; then :
18029 glibcxx_cv_c99_math_cxx11=yes
18030 else
18031 glibcxx_cv_c99_math_cxx11=no
18032 fi
18033 rm -f core conftest.err conftest.$ac_objext \
18034 conftest$ac_exeext conftest.$ac_ext
18035 fi
18036
18037 fi
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18039 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18040 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18041
18042 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18043
18044 fi
18045
18046 # Check for the existence of <complex.h> complex math functions.
18047 # This is necessary even though libstdc++ uses the builtin versions
18048 # of these functions, because if the builtin cannot be used, a reference
18049 # to the library function is emitted.
18050 for ac_header in tgmath.h
18051 do :
18052 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18053 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_TGMATH_H 1
18056 _ACEOF
18057 ac_has_tgmath_h=yes
18058 else
18059 ac_has_tgmath_h=no
18060 fi
18061
18062 done
18063
18064 for ac_header in complex.h
18065 do :
18066 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18067 if test "x$ac_cv_header_complex_h" = xyes; then :
18068 cat >>confdefs.h <<_ACEOF
18069 #define HAVE_COMPLEX_H 1
18070 _ACEOF
18071 ac_has_complex_h=yes
18072 else
18073 ac_has_complex_h=no
18074 fi
18075
18076 done
18077
18078 if test x"$ac_has_complex_h" = x"yes"; then
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18080 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18081 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084
18085 if test x$gcc_no_link = xyes; then
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18088 #include <complex.h>
18089 typedef __complex__ float float_type;
18090 typedef __complex__ double double_type;
18091 typedef __complex__ long double ld_type;
18092 volatile float_type tmpf;
18093 volatile double_type tmpd;
18094 volatile ld_type tmpld;
18095 volatile float f;
18096 volatile double d;
18097 volatile long double ld;
18098 int
18099 main ()
18100 {
18101 f = cabsf(tmpf);
18102 f = cargf(tmpf);
18103 tmpf = ccosf(tmpf);
18104 tmpf = ccoshf(tmpf);
18105 tmpf = cexpf(tmpf);
18106 tmpf = clogf(tmpf);
18107 tmpf = csinf(tmpf);
18108 tmpf = csinhf(tmpf);
18109 tmpf = csqrtf(tmpf);
18110 tmpf = ctanf(tmpf);
18111 tmpf = ctanhf(tmpf);
18112 tmpf = cpowf(tmpf, tmpf);
18113 tmpf = cprojf(tmpf);
18114 d = cabs(tmpd);
18115 d = carg(tmpd);
18116 tmpd = ccos(tmpd);
18117 tmpd = ccosh(tmpd);
18118 tmpd = cexp(tmpd);
18119 tmpd = clog(tmpd);
18120 tmpd = csin(tmpd);
18121 tmpd = csinh(tmpd);
18122 tmpd = csqrt(tmpd);
18123 tmpd = ctan(tmpd);
18124 tmpd = ctanh(tmpd);
18125 tmpd = cpow(tmpd, tmpd);
18126 tmpd = cproj(tmpd);
18127 ld = cabsl(tmpld);
18128 ld = cargl(tmpld);
18129 tmpld = ccosl(tmpld);
18130 tmpld = ccoshl(tmpld);
18131 tmpld = cexpl(tmpld);
18132 tmpld = clogl(tmpld);
18133 tmpld = csinl(tmpld);
18134 tmpld = csinhl(tmpld);
18135 tmpld = csqrtl(tmpld);
18136 tmpld = ctanl(tmpld);
18137 tmpld = ctanhl(tmpld);
18138 tmpld = cpowl(tmpld, tmpld);
18139 tmpld = cprojl(tmpld);
18140
18141 ;
18142 return 0;
18143 }
18144 _ACEOF
18145 if ac_fn_cxx_try_compile "$LINENO"; then :
18146 glibcxx_cv_c99_complex_cxx11=yes
18147 else
18148 glibcxx_cv_c99_complex_cxx11=no
18149 fi
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18151 else
18152 if test x$gcc_no_link = xyes; then
18153 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18154 fi
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157 #include <complex.h>
18158 typedef __complex__ float float_type;
18159 typedef __complex__ double double_type;
18160 typedef __complex__ long double ld_type;
18161 volatile float_type tmpf;
18162 volatile double_type tmpd;
18163 volatile ld_type tmpld;
18164 volatile float f;
18165 volatile double d;
18166 volatile long double ld;
18167 int
18168 main ()
18169 {
18170 f = cabsf(tmpf);
18171 f = cargf(tmpf);
18172 tmpf = ccosf(tmpf);
18173 tmpf = ccoshf(tmpf);
18174 tmpf = cexpf(tmpf);
18175 tmpf = clogf(tmpf);
18176 tmpf = csinf(tmpf);
18177 tmpf = csinhf(tmpf);
18178 tmpf = csqrtf(tmpf);
18179 tmpf = ctanf(tmpf);
18180 tmpf = ctanhf(tmpf);
18181 tmpf = cpowf(tmpf, tmpf);
18182 tmpf = cprojf(tmpf);
18183 d = cabs(tmpd);
18184 d = carg(tmpd);
18185 tmpd = ccos(tmpd);
18186 tmpd = ccosh(tmpd);
18187 tmpd = cexp(tmpd);
18188 tmpd = clog(tmpd);
18189 tmpd = csin(tmpd);
18190 tmpd = csinh(tmpd);
18191 tmpd = csqrt(tmpd);
18192 tmpd = ctan(tmpd);
18193 tmpd = ctanh(tmpd);
18194 tmpd = cpow(tmpd, tmpd);
18195 tmpd = cproj(tmpd);
18196 ld = cabsl(tmpld);
18197 ld = cargl(tmpld);
18198 tmpld = ccosl(tmpld);
18199 tmpld = ccoshl(tmpld);
18200 tmpld = cexpl(tmpld);
18201 tmpld = clogl(tmpld);
18202 tmpld = csinl(tmpld);
18203 tmpld = csinhl(tmpld);
18204 tmpld = csqrtl(tmpld);
18205 tmpld = ctanl(tmpld);
18206 tmpld = ctanhl(tmpld);
18207 tmpld = cpowl(tmpld, tmpld);
18208 tmpld = cprojl(tmpld);
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 if ac_fn_cxx_try_link "$LINENO"; then :
18215 glibcxx_cv_c99_complex_cxx11=yes
18216 else
18217 glibcxx_cv_c99_complex_cxx11=no
18218 fi
18219 rm -f core conftest.err conftest.$ac_objext \
18220 conftest$ac_exeext conftest.$ac_ext
18221 fi
18222
18223 fi
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18225 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18226 fi
18227 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18228
18229 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18230
18231 fi
18232
18233 # Check for the existence in <stdio.h> of vscanf, et. al.
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18235 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18236 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18237 $as_echo_n "(cached) " >&6
18238 else
18239
18240 if test x$gcc_no_link = xyes; then
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 #include <stdio.h>
18244 #include <stdarg.h>
18245 void foo(char* fmt, ...)
18246 {
18247 va_list args; va_start(args, fmt);
18248 vfscanf(stderr, "%i", args);
18249 vscanf("%i", args);
18250 vsnprintf(fmt, 0, "%i", args);
18251 vsscanf(fmt, "%i", args);
18252 snprintf(fmt, 0, "%i");
18253 }
18254 int
18255 main ()
18256 {
18257
18258 ;
18259 return 0;
18260 }
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_c99_stdio_cxx11=yes
18264 else
18265 glibcxx_cv_c99_stdio_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 <stdio.h>
18275 #include <stdarg.h>
18276 void foo(char* fmt, ...)
18277 {
18278 va_list args; va_start(args, fmt);
18279 vfscanf(stderr, "%i", args);
18280 vscanf("%i", args);
18281 vsnprintf(fmt, 0, "%i", args);
18282 vsscanf(fmt, "%i", args);
18283 snprintf(fmt, 0, "%i");
18284 }
18285 int
18286 main ()
18287 {
18288
18289 ;
18290 return 0;
18291 }
18292 _ACEOF
18293 if ac_fn_cxx_try_link "$LINENO"; then :
18294 glibcxx_cv_c99_stdio_cxx11=yes
18295 else
18296 glibcxx_cv_c99_stdio_cxx11=no
18297 fi
18298 rm -f core conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18300 fi
18301
18302 fi
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18304 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18305 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18306
18307 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18308
18309 fi
18310
18311 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18313 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18314 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18315 $as_echo_n "(cached) " >&6
18316 else
18317
18318 if test x$gcc_no_link = xyes; then
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18321 #include <stdlib.h>
18322 volatile float f;
18323 volatile long double ld;
18324 volatile unsigned long long ll;
18325 lldiv_t mydivt;
18326 int
18327 main ()
18328 {
18329 char* tmp;
18330 f = strtof("gnu", &tmp);
18331 ld = strtold("gnu", &tmp);
18332 ll = strtoll("gnu", &tmp, 10);
18333 ll = strtoull("gnu", &tmp, 10);
18334 ll = llabs(10);
18335 mydivt = lldiv(10,1);
18336 ll = mydivt.quot;
18337 ll = mydivt.rem;
18338 ll = atoll("10");
18339 _Exit(0);
18340
18341 ;
18342 return 0;
18343 }
18344 _ACEOF
18345 if ac_fn_cxx_try_compile "$LINENO"; then :
18346 glibcxx_cv_c99_stdlib_cxx11=yes
18347 else
18348 glibcxx_cv_c99_stdlib_cxx11=no
18349 fi
18350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18351 else
18352 if test x$gcc_no_link = xyes; then
18353 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18354 fi
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #include <stdlib.h>
18358 volatile float f;
18359 volatile long double ld;
18360 volatile unsigned long long ll;
18361 lldiv_t mydivt;
18362 int
18363 main ()
18364 {
18365 char* tmp;
18366 f = strtof("gnu", &tmp);
18367 ld = strtold("gnu", &tmp);
18368 ll = strtoll("gnu", &tmp, 10);
18369 ll = strtoull("gnu", &tmp, 10);
18370 ll = llabs(10);
18371 mydivt = lldiv(10,1);
18372 ll = mydivt.quot;
18373 ll = mydivt.rem;
18374 ll = atoll("10");
18375 _Exit(0);
18376
18377 ;
18378 return 0;
18379 }
18380 _ACEOF
18381 if ac_fn_cxx_try_link "$LINENO"; then :
18382 glibcxx_cv_c99_stdlib_cxx11=yes
18383 else
18384 glibcxx_cv_c99_stdlib_cxx11=no
18385 fi
18386 rm -f core conftest.err conftest.$ac_objext \
18387 conftest$ac_exeext conftest.$ac_ext
18388 fi
18389
18390 fi
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18392 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18393 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18394
18395 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18396
18397 fi
18398
18399 # Check for the existence in <wchar.h> of wcstold, etc.
18400 if test x"$ac_has_wchar_h" = xyes &&
18401 test x"$ac_has_wctype_h" = xyes; then
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18403 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18404 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 #include <wchar.h>
18411 namespace test
18412 {
18413 using ::wcstold;
18414 using ::wcstoll;
18415 using ::wcstoull;
18416 }
18417
18418 int
18419 main ()
18420 {
18421
18422 ;
18423 return 0;
18424 }
18425 _ACEOF
18426 if ac_fn_cxx_try_compile "$LINENO"; then :
18427 glibcxx_cv_c99_wchar_cxx11=yes
18428 else
18429 glibcxx_cv_c99_wchar_cxx11=no
18430 fi
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432
18433 fi
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18435 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18436
18437 # Checks for wide character functions that may not be present.
18438 # Injection of these is wrapped with guard macros.
18439 # NB: only put functions here, instead of immediately above, if
18440 # absolutely necessary.
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <wchar.h>
18444 namespace test { using ::vfwscanf; }
18445 int
18446 main ()
18447 {
18448
18449 ;
18450 return 0;
18451 }
18452 _ACEOF
18453 if ac_fn_cxx_try_compile "$LINENO"; then :
18454
18455 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18456
18457 fi
18458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18462 #include <wchar.h>
18463 namespace test { using ::vswscanf; }
18464 int
18465 main ()
18466 {
18467
18468 ;
18469 return 0;
18470 }
18471 _ACEOF
18472 if ac_fn_cxx_try_compile "$LINENO"; then :
18473
18474 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18475
18476 fi
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18478
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <wchar.h>
18482 namespace test { using ::vwscanf; }
18483 int
18484 main ()
18485 {
18486
18487 ;
18488 return 0;
18489 }
18490 _ACEOF
18491 if ac_fn_cxx_try_compile "$LINENO"; then :
18492
18493 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18494
18495 fi
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18500 #include <wchar.h>
18501 namespace test { using ::wcstof; }
18502 int
18503 main ()
18504 {
18505
18506 ;
18507 return 0;
18508 }
18509 _ACEOF
18510 if ac_fn_cxx_try_compile "$LINENO"; then :
18511
18512 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18513
18514 fi
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #include <wctype.h>
18520 int
18521 main ()
18522 {
18523 wint_t t; int i = iswblank(t);
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529
18530 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18531
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534
18535 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18536
18537 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18538
18539 fi
18540 fi
18541
18542 gcc_no_link="$ac_save_gcc_no_link"
18543 LIBS="$ac_save_LIBS"
18544 CXXFLAGS="$ac_save_CXXFLAGS"
18545 ac_ext=c
18546 ac_cpp='$CPP $CPPFLAGS'
18547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18550
18551 fi
18552
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18554 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18556 $as_echo "$enable_c99" >&6; }
18557
18558
18559 # Check whether --enable-concept-checks was given.
18560 if test "${enable_concept_checks+set}" = set; then :
18561 enableval=$enable_concept_checks;
18562 case "$enableval" in
18563 yes|no) ;;
18564 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18565 esac
18566
18567 else
18568 enable_concept_checks=no
18569 fi
18570
18571
18572 if test $enable_concept_checks = yes; then
18573
18574 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18575
18576 fi
18577
18578
18579 # Check whether --enable-libstdcxx-debug-flags was given.
18580 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18581 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18582 xno | x) enable_libstdcxx_debug_flags= ;;
18583 x-*) ;;
18584 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18585 esac
18586 else
18587 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18588 fi
18589
18590
18591
18592 # Option parsed, now set things appropriately
18593 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18594
18595
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18597 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18598
18599
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18601 $as_echo_n "checking for additional debug build... " >&6; }
18602 skip_debug_build=
18603 # Check whether --enable-libstdcxx-debug was given.
18604 if test "${enable_libstdcxx_debug+set}" = set; then :
18605 enableval=$enable_libstdcxx_debug;
18606 case "$enableval" in
18607 yes|no) ;;
18608 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18609 esac
18610
18611 else
18612 enable_libstdcxx_debug=no
18613 fi
18614
18615
18616 if test x$enable_libstdcxx_debug = xyes; then
18617 if test -f $toplevel_builddir/../stage_final \
18618 && test -f $toplevel_builddir/../stage_current; then
18619 stage_final=`cat $toplevel_builddir/../stage_final`
18620 stage_current=`cat $toplevel_builddir/../stage_current`
18621 if test x$stage_current != x$stage_final ; then
18622 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18623 enable_libstdcxx_debug=no
18624 fi
18625 fi
18626 fi
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18628 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18629
18630
18631
18632
18633 enable_parallel=no;
18634
18635 # See if configured libgomp/omp.h exists. (libgomp may be in
18636 # noconfigdirs but not explicitly disabled.)
18637 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18638 enable_parallel=yes;
18639 else
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18641 $as_echo "$as_me: target-libgomp not built" >&6;}
18642 fi
18643
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18645 $as_echo_n "checking for parallel mode support... " >&6; }
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18647 $as_echo "$enable_parallel" >&6; }
18648
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18650 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18651 # Check whether --enable-cxx-flags was given.
18652 if test "${enable_cxx_flags+set}" = set; then :
18653 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18654 xno | x) enable_cxx_flags= ;;
18655 x-*) ;;
18656 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18657 esac
18658 else
18659 enable_cxx_flags=
18660 fi
18661
18662
18663
18664 # Run through flags (either default or command-line) and set anything
18665 # extra (e.g., #defines) that must accompany particular g++ options.
18666 if test -n "$enable_cxx_flags"; then
18667 for f in $enable_cxx_flags; do
18668 case "$f" in
18669 -fhonor-std) ;;
18670 -*) ;;
18671 *) # and we're trying to pass /what/ exactly?
18672 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18673 esac
18674 done
18675 fi
18676
18677 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18679 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18680
18681
18682
18683 # Check whether --enable-fully-dynamic-string was given.
18684 if test "${enable_fully_dynamic_string+set}" = set; then :
18685 enableval=$enable_fully_dynamic_string;
18686 case "$enableval" in
18687 yes|no) ;;
18688 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18689 esac
18690
18691 else
18692 enable_fully_dynamic_string=no
18693 fi
18694
18695
18696 if test $enable_fully_dynamic_string = yes; then
18697 enable_fully_dynamic_string_def=1
18698 else
18699 enable_fully_dynamic_string_def=0
18700 fi
18701
18702 cat >>confdefs.h <<_ACEOF
18703 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18704 _ACEOF
18705
18706
18707
18708
18709 # Check whether --enable-extern-template was given.
18710 if test "${enable_extern_template+set}" = set; then :
18711 enableval=$enable_extern_template;
18712 case "$enableval" in
18713 yes|no) ;;
18714 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18715 esac
18716
18717 else
18718 enable_extern_template=yes
18719 fi
18720
18721
18722
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18724 $as_echo_n "checking for extern template support... " >&6; }
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18726 $as_echo "$enable_extern_template" >&6; }
18727
18728
18729
18730
18731
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18733 $as_echo_n "checking for custom python install directory... " >&6; }
18734
18735 # Check whether --with-python-dir was given.
18736 if test "${with_python_dir+set}" = set; then :
18737 withval=$with_python_dir; with_python_dir=$withval
18738 else
18739 with_python_dir="no"
18740 fi
18741
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18743 $as_echo "${with_python_dir}" >&6; }
18744
18745 # Needed for installing Python modules during make install.
18746 python_mod_dir="${with_python_dir}"
18747
18748
18749
18750
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18752 $as_echo_n "checking for -Werror... " >&6; }
18753 # Check whether --enable-werror was given.
18754 if test "${enable_werror+set}" = set; then :
18755 enableval=$enable_werror;
18756 case "$enableval" in
18757 yes|no) ;;
18758 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18759 esac
18760
18761 else
18762 enable_werror=no
18763 fi
18764
18765
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18767 $as_echo "$enable_werror" >&6; }
18768
18769
18770
18771
18772 # Check whether --enable-vtable-verify was given.
18773 if test "${enable_vtable_verify+set}" = set; then :
18774 enableval=$enable_vtable_verify;
18775 case "$enableval" in
18776 yes|no) ;;
18777 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18778 esac
18779
18780 else
18781 enable_vtable_verify=no
18782 fi
18783
18784
18785
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18787 $as_echo_n "checking for vtable verify support... " >&6; }
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18789 $as_echo "$enable_vtable_verify" >&6; }
18790
18791 vtv_cygmin=no
18792 if test $enable_vtable_verify = yes; then
18793 case ${target_os} in
18794 cygwin*|mingw32*)
18795 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18796 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18797 vtv_cygmin=yes
18798 ;;
18799 darwin*)
18800 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18801 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18802 ;;
18803 solaris2*)
18804 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18805 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18806 ;;
18807 *)
18808 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18809 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18810 ;;
18811 esac
18812 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18813 else
18814 VTV_CXXFLAGS=
18815 VTV_PCH_CXXFLAGS=
18816 VTV_CXXLINKFLAGS=
18817 fi
18818
18819
18820
18821
18822 if test x$vtv_cygmin = xyes; then
18823 VTV_CYGMIN_TRUE=
18824 VTV_CYGMIN_FALSE='#'
18825 else
18826 VTV_CYGMIN_TRUE='#'
18827 VTV_CYGMIN_FALSE=
18828 fi
18829
18830
18831
18832
18833 # Checks for operating systems support that doesn't require linking.
18834
18835
18836
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18842
18843 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18844 # and we don't need a declaration for C++14 anyway.
18845 ac_save_CXXFLAGS="$CXXFLAGS"
18846 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18847
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18849 $as_echo_n "checking for gets declaration... " >&6; }
18850 if ${glibcxx_cv_gets+:} false; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18853
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 #include <stdio.h>
18857 namespace test
18858 {
18859 using ::gets;
18860 }
18861
18862 _ACEOF
18863 if ac_fn_cxx_try_compile "$LINENO"; then :
18864 glibcxx_cv_gets=yes
18865 else
18866 glibcxx_cv_gets=no
18867
18868 fi
18869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18870 fi
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18872 $as_echo "$glibcxx_cv_gets" >&6; }
18873
18874 if test $glibcxx_cv_gets = yes; then
18875
18876 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18877
18878 fi
18879
18880 CXXFLAGS="$ac_save_CXXFLAGS"
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18886
18887
18888
18889
18890
18891 ac_ext=cpp
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18896
18897 ac_save_CXXFLAGS="$CXXFLAGS"
18898 CXXFLAGS="$CXXFLAGS -std=c++11"
18899
18900 case "$host" in
18901 *-*-solaris2.*)
18902 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18903 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18905 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18906 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18909
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #include <math.h>
18913 #undef isfinite
18914 namespace std {
18915 inline bool isfinite(float __x)
18916 { return __builtin_isfinite(__x); }
18917 }
18918
18919 _ACEOF
18920 if ac_fn_cxx_try_compile "$LINENO"; then :
18921 glibcxx_cv_math11_fp_overload=no
18922 else
18923 glibcxx_cv_math11_fp_overload=yes
18924
18925 fi
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 fi
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18929 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18930
18931 # autoheader cannot handle indented templates.
18932
18933
18934 if test $glibcxx_cv_math11_fp_overload = yes; then
18935 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18936
18937 fi
18938
18939 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18940 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18942 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18943 if ${glibcxx_cv_math11_int_overload+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945 else
18946
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 #include <math.h>
18950 namespace std {
18951 template<typename _Tp>
18952 struct __is_integer;
18953 template<>
18954 struct __is_integer<int>
18955 {
18956 enum { __value = 1 };
18957 };
18958 }
18959 namespace __gnu_cxx {
18960 template<bool, typename>
18961 struct __enable_if;
18962 template<typename _Tp>
18963 struct __enable_if<true, _Tp>
18964 { typedef _Tp __type; };
18965 }
18966 namespace std {
18967 template<typename _Tp>
18968 constexpr typename __gnu_cxx::__enable_if
18969 <__is_integer<_Tp>::__value, double>::__type
18970 log2(_Tp __x)
18971 { return __builtin_log2(__x); }
18972 }
18973 int
18974 main (void)
18975 {
18976 int i = 1000;
18977 return std::log2(i);
18978 }
18979
18980 _ACEOF
18981 if ac_fn_cxx_try_compile "$LINENO"; then :
18982 glibcxx_cv_math11_int_overload=no
18983 else
18984 glibcxx_cv_math11_int_overload=yes
18985
18986 fi
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18988 fi
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18990 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18991
18992 # autoheader cannot handle indented templates.
18993
18994
18995 if test $glibcxx_cv_math11_int_overload = yes; then
18996 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18997
18998 fi
18999 ;;
19000 *)
19001 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19002 # functions (instead of or as well as the C99 generic macros) then we
19003 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19004 # and must use the ones from <math.h> instead.
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19006 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19007 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19008 $as_echo_n "(cached) " >&6
19009 else
19010
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19014 #include <math.h>
19015 #undef isinf
19016 namespace std {
19017 using ::isinf;
19018 bool isinf(float);
19019 bool isinf(long double);
19020 }
19021 using std::isinf;
19022 bool b = isinf(0.0);
19023
19024 _ACEOF
19025 if ac_fn_cxx_try_compile "$LINENO"; then :
19026 glibcxx_cv_obsolete_isinf=yes
19027 else
19028 glibcxx_cv_obsolete_isinf=no
19029
19030 fi
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032 fi
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19034 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19035 if test $glibcxx_cv_obsolete_isinf = yes; then
19036
19037 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19038
19039 fi
19040
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19042 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19043 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19044 $as_echo_n "(cached) " >&6
19045 else
19046
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19049 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19050 #include <math.h>
19051 #undef isnan
19052 namespace std {
19053 using ::isnan;
19054 bool isnan(float);
19055 bool isnan(long double);
19056 }
19057 using std::isnan;
19058 bool b = isnan(0.0);
19059
19060 _ACEOF
19061 if ac_fn_cxx_try_compile "$LINENO"; then :
19062 glibcxx_cv_obsolete_isnan=yes
19063 else
19064 glibcxx_cv_obsolete_isnan=no
19065
19066 fi
19067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19068 fi
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19070 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19071 if test $glibcxx_cv_obsolete_isnan = yes; then
19072
19073 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19074
19075 fi
19076 ;;
19077 esac
19078
19079 CXXFLAGS="$ac_save_CXXFLAGS"
19080 ac_ext=c
19081 ac_cpp='$CPP $CPPFLAGS'
19082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19085
19086
19087
19088
19089 # Test uchar.h.
19090 for ac_header in uchar.h
19091 do :
19092 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19093 if test "x$ac_cv_header_uchar_h" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_UCHAR_H 1
19096 _ACEOF
19097 ac_has_uchar_h=yes
19098 else
19099 ac_has_uchar_h=no
19100 fi
19101
19102 done
19103
19104
19105
19106 ac_ext=cpp
19107 ac_cpp='$CXXCPP $CPPFLAGS'
19108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19111
19112 ac_save_CXXFLAGS="$CXXFLAGS"
19113 CXXFLAGS="$CXXFLAGS -std=c++11"
19114
19115 if test x"$ac_has_uchar_h" = x"yes"; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19117 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <uchar.h>
19121 #ifdef __STDC_UTF_16__
19122 long i = __STDC_UTF_16__;
19123 #endif
19124 #ifdef __STDC_UTF_32__
19125 long j = __STDC_UTF_32__;
19126 #endif
19127 namespace test
19128 {
19129 using ::c16rtomb;
19130 using ::c32rtomb;
19131 using ::mbrtoc16;
19132 using ::mbrtoc32;
19133 }
19134
19135 int
19136 main ()
19137 {
19138
19139 ;
19140 return 0;
19141 }
19142 _ACEOF
19143 if ac_fn_cxx_try_compile "$LINENO"; then :
19144 ac_c11_uchar_cxx11=yes
19145 else
19146 ac_c11_uchar_cxx11=no
19147 fi
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19150 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19151 else
19152 ac_c11_uchar_cxx11=no
19153 fi
19154 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19155
19156 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19157
19158 fi
19159
19160 CXXFLAGS="$CXXFLAGS -fchar8_t"
19161 if test x"$ac_has_uchar_h" = x"yes"; then
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19163 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166 #include <uchar.h>
19167 namespace test
19168 {
19169 using ::c8rtomb;
19170 using ::mbrtoc8;
19171 }
19172
19173 int
19174 main ()
19175 {
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19183 else
19184 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19185 fi
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 else
19188 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19189 fi
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19191 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19192 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19193
19194 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19195
19196 fi
19197
19198 CXXFLAGS="$CXXFLAGS -std=c++20"
19199 if test x"$ac_has_uchar_h" = x"yes"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19201 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 #include <uchar.h>
19205 namespace test
19206 {
19207 using ::c8rtomb;
19208 using ::mbrtoc8;
19209 }
19210
19211 int
19212 main ()
19213 {
19214
19215 ;
19216 return 0;
19217 }
19218 _ACEOF
19219 if ac_fn_cxx_try_compile "$LINENO"; then :
19220 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19221 else
19222 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19223 fi
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 else
19226 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19227 fi
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19229 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19230 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19231
19232 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19233
19234 fi
19235
19236 CXXFLAGS="$ac_save_CXXFLAGS"
19237 ac_ext=c
19238 ac_cpp='$CPP $CPPFLAGS'
19239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19242
19243
19244
19245 # For LFS support.
19246
19247
19248 ac_ext=cpp
19249 ac_cpp='$CXXCPP $CPPFLAGS'
19250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19253
19254 ac_save_CXXFLAGS="$CXXFLAGS"
19255 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19257 $as_echo_n "checking for LFS support... " >&6; }
19258 if ${glibcxx_cv_LFS+:} false; then :
19259 $as_echo_n "(cached) " >&6
19260 else
19261
19262 if test x$gcc_no_link = xyes; then
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <unistd.h>
19266 #include <stdio.h>
19267 #include <sys/stat.h>
19268
19269 int
19270 main ()
19271 {
19272 FILE* fp;
19273 fopen64("t", "w");
19274 fseeko64(fp, 0, SEEK_CUR);
19275 ftello64(fp);
19276 lseek64(1, 0, SEEK_CUR);
19277 struct stat64 buf;
19278 fstat64(1, &buf);
19279 ;
19280 return 0;
19281 }
19282 _ACEOF
19283 if ac_fn_cxx_try_compile "$LINENO"; then :
19284 glibcxx_cv_LFS=yes
19285 else
19286 glibcxx_cv_LFS=no
19287 fi
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 else
19290 if test x$gcc_no_link = xyes; then
19291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19292 fi
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <unistd.h>
19296 #include <stdio.h>
19297 #include <sys/stat.h>
19298
19299 int
19300 main ()
19301 {
19302 FILE* fp;
19303 fopen64("t", "w");
19304 fseeko64(fp, 0, SEEK_CUR);
19305 ftello64(fp);
19306 lseek64(1, 0, SEEK_CUR);
19307 struct stat64 buf;
19308 fstat64(1, &buf);
19309 ;
19310 return 0;
19311 }
19312 _ACEOF
19313 if ac_fn_cxx_try_link "$LINENO"; then :
19314 glibcxx_cv_LFS=yes
19315 else
19316 glibcxx_cv_LFS=no
19317 fi
19318 rm -f core conftest.err conftest.$ac_objext \
19319 conftest$ac_exeext conftest.$ac_ext
19320 fi
19321
19322 fi
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19324 $as_echo "$glibcxx_cv_LFS" >&6; }
19325 if test $glibcxx_cv_LFS = yes; then
19326
19327 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19328
19329 fi
19330 CXXFLAGS="$ac_save_CXXFLAGS"
19331 ac_ext=c
19332 ac_cpp='$CPP $CPPFLAGS'
19333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19336
19337
19338
19339 # For showmanyc_helper().
19340 for ac_header in sys/ioctl.h sys/filio.h
19341 do :
19342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19343 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19347 _ACEOF
19348
19349 fi
19350
19351 done
19352
19353
19354
19355
19356 ac_ext=cpp
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19361
19362 ac_save_CXXFLAGS="$CXXFLAGS"
19363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19364
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19366 $as_echo_n "checking for poll... " >&6; }
19367 if ${glibcxx_cv_POLL+:} false; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19370
19371 if test x$gcc_no_link = xyes; then
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 #include <poll.h>
19375 int
19376 main ()
19377 {
19378 struct pollfd pfd[1];
19379 pfd[0].events = POLLIN;
19380 poll(pfd, 1, 0);
19381 ;
19382 return 0;
19383 }
19384 _ACEOF
19385 if ac_fn_cxx_try_compile "$LINENO"; then :
19386 glibcxx_cv_POLL=yes
19387 else
19388 glibcxx_cv_POLL=no
19389 fi
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19391 else
19392 if test x$gcc_no_link = xyes; then
19393 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19394 fi
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 #include <poll.h>
19398 int
19399 main ()
19400 {
19401 struct pollfd pfd[1];
19402 pfd[0].events = POLLIN;
19403 poll(pfd, 1, 0);
19404 ;
19405 return 0;
19406 }
19407 _ACEOF
19408 if ac_fn_cxx_try_link "$LINENO"; then :
19409 glibcxx_cv_POLL=yes
19410 else
19411 glibcxx_cv_POLL=no
19412 fi
19413 rm -f core conftest.err conftest.$ac_objext \
19414 conftest$ac_exeext conftest.$ac_ext
19415 fi
19416
19417 fi
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19419 $as_echo "$glibcxx_cv_POLL" >&6; }
19420 if test $glibcxx_cv_POLL = yes; then
19421
19422 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19423
19424 fi
19425
19426 CXXFLAGS="$ac_save_CXXFLAGS"
19427 ac_ext=c
19428 ac_cpp='$CPP $CPPFLAGS'
19429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19432
19433
19434
19435
19436
19437 ac_ext=cpp
19438 ac_cpp='$CXXCPP $CPPFLAGS'
19439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19442
19443 ac_save_CXXFLAGS="$CXXFLAGS"
19444 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19445
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19447 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19448 if ${glibcxx_cv_S_ISREG+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451
19452 if test x$gcc_no_link = xyes; then
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <sys/stat.h>
19456 int
19457 main ()
19458 {
19459 struct stat buffer;
19460 fstat(0, &buffer);
19461 S_ISREG(buffer.st_mode);
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 if ac_fn_cxx_try_compile "$LINENO"; then :
19467 glibcxx_cv_S_ISREG=yes
19468 else
19469 glibcxx_cv_S_ISREG=no
19470 fi
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 else
19473 if test x$gcc_no_link = xyes; then
19474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19475 fi
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 #include <sys/stat.h>
19479 int
19480 main ()
19481 {
19482 struct stat buffer;
19483 fstat(0, &buffer);
19484 S_ISREG(buffer.st_mode);
19485 ;
19486 return 0;
19487 }
19488 _ACEOF
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 glibcxx_cv_S_ISREG=yes
19491 else
19492 glibcxx_cv_S_ISREG=no
19493 fi
19494 rm -f core conftest.err conftest.$ac_objext \
19495 conftest$ac_exeext conftest.$ac_ext
19496 fi
19497
19498 fi
19499
19500 if ${glibcxx_cv_S_IFREG+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19503
19504 if test x$gcc_no_link = xyes; then
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19508 int
19509 main ()
19510 {
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_IFREG & buffer.st_mode;
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 if ac_fn_cxx_try_compile "$LINENO"; then :
19519 glibcxx_cv_S_IFREG=yes
19520 else
19521 glibcxx_cv_S_IFREG=no
19522 fi
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 else
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 fi
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <sys/stat.h>
19531 int
19532 main ()
19533 {
19534 struct stat buffer;
19535 fstat(0, &buffer);
19536 S_IFREG & buffer.st_mode;
19537 ;
19538 return 0;
19539 }
19540 _ACEOF
19541 if ac_fn_cxx_try_link "$LINENO"; then :
19542 glibcxx_cv_S_IFREG=yes
19543 else
19544 glibcxx_cv_S_IFREG=no
19545 fi
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19548 fi
19549
19550 fi
19551
19552 res=no
19553 if test $glibcxx_cv_S_ISREG = yes; then
19554
19555 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19556
19557 res=S_ISREG
19558 elif test $glibcxx_cv_S_IFREG = yes; then
19559
19560 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19561
19562 res=S_IFREG
19563 fi
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19565 $as_echo "$res" >&6; }
19566
19567 CXXFLAGS="$ac_save_CXXFLAGS"
19568 ac_ext=c
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19573
19574
19575
19576 # For xsputn_2().
19577 for ac_header in sys/uio.h
19578 do :
19579 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19580 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19581 cat >>confdefs.h <<_ACEOF
19582 #define HAVE_SYS_UIO_H 1
19583 _ACEOF
19584
19585 fi
19586
19587 done
19588
19589
19590
19591
19592 ac_ext=cpp
19593 ac_cpp='$CXXCPP $CPPFLAGS'
19594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19597
19598 ac_save_CXXFLAGS="$CXXFLAGS"
19599 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19600
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19602 $as_echo_n "checking for writev... " >&6; }
19603 if ${glibcxx_cv_WRITEV+:} false; then :
19604 $as_echo_n "(cached) " >&6
19605 else
19606
19607 if test x$gcc_no_link = xyes; then
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 #include <sys/uio.h>
19611 int
19612 main ()
19613 {
19614 struct iovec iov[2];
19615 writev(0, iov, 0);
19616 ;
19617 return 0;
19618 }
19619 _ACEOF
19620 if ac_fn_cxx_try_compile "$LINENO"; then :
19621 glibcxx_cv_WRITEV=yes
19622 else
19623 glibcxx_cv_WRITEV=no
19624 fi
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626 else
19627 if test x$gcc_no_link = xyes; then
19628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19629 fi
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19632 #include <sys/uio.h>
19633 int
19634 main ()
19635 {
19636 struct iovec iov[2];
19637 writev(0, iov, 0);
19638 ;
19639 return 0;
19640 }
19641 _ACEOF
19642 if ac_fn_cxx_try_link "$LINENO"; then :
19643 glibcxx_cv_WRITEV=yes
19644 else
19645 glibcxx_cv_WRITEV=no
19646 fi
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext conftest.$ac_ext
19649 fi
19650
19651 fi
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19653 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19654 if test $glibcxx_cv_WRITEV = yes; then
19655
19656 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19657
19658 fi
19659
19660 CXXFLAGS="$ac_save_CXXFLAGS"
19661 ac_ext=c
19662 ac_cpp='$CPP $CPPFLAGS'
19663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19666
19667
19668
19669 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19670 # so that the check is done with the C compiler (not C++).
19671 # Checking with C++ can break a canadian cross build if either
19672 # file does not exist in C but does in C++.
19673 for ac_header in fenv.h complex.h
19674 do :
19675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19676 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19678 cat >>confdefs.h <<_ACEOF
19679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19680 _ACEOF
19681
19682 fi
19683
19684 done
19685
19686
19687 # For C99 support to TR1.
19688
19689
19690
19691 ac_ext=cpp
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19696
19697
19698 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19699 # undefined and fake C99 facilities may be spuriously enabled.
19700 ac_save_CXXFLAGS="$CXXFLAGS"
19701 CXXFLAGS="$CXXFLAGS -std=c++98"
19702
19703 # Check for the existence of <complex.h> complex math functions used
19704 # by tr1/complex.
19705 for ac_header in complex.h
19706 do :
19707 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19708 if test "x$ac_cv_header_complex_h" = xyes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define HAVE_COMPLEX_H 1
19711 _ACEOF
19712 ac_has_complex_h=yes
19713 else
19714 ac_has_complex_h=no
19715 fi
19716
19717 done
19718
19719 ac_c99_complex_tr1=no;
19720 if test x"$ac_has_complex_h" = x"yes"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19722 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725 #include <complex.h>
19726 int
19727 main ()
19728 {
19729 typedef __complex__ float float_type; float_type tmpf;
19730 cacosf(tmpf);
19731 casinf(tmpf);
19732 catanf(tmpf);
19733 cacoshf(tmpf);
19734 casinhf(tmpf);
19735 catanhf(tmpf);
19736 typedef __complex__ double double_type; double_type tmpd;
19737 cacos(tmpd);
19738 casin(tmpd);
19739 catan(tmpd);
19740 cacosh(tmpd);
19741 casinh(tmpd);
19742 catanh(tmpd);
19743 typedef __complex__ long double ld_type; ld_type tmpld;
19744 cacosl(tmpld);
19745 casinl(tmpld);
19746 catanl(tmpld);
19747 cacoshl(tmpld);
19748 casinhl(tmpld);
19749 catanhl(tmpld);
19750
19751 ;
19752 return 0;
19753 }
19754 _ACEOF
19755 if ac_fn_cxx_try_compile "$LINENO"; then :
19756 ac_c99_complex_tr1=yes
19757 else
19758 ac_c99_complex_tr1=no
19759 fi
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761 fi
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19763 $as_echo "$ac_c99_complex_tr1" >&6; }
19764 if test x"$ac_c99_complex_tr1" = x"yes"; then
19765
19766 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19767
19768 fi
19769
19770 # Check for the existence of <ctype.h> functions.
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19772 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19773 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #include <ctype.h>
19780 int
19781 main ()
19782 {
19783 int ch;
19784 int ret;
19785 ret = isblank(ch);
19786
19787 ;
19788 return 0;
19789 }
19790 _ACEOF
19791 if ac_fn_cxx_try_compile "$LINENO"; then :
19792 glibcxx_cv_c99_ctype_tr1=yes
19793 else
19794 glibcxx_cv_c99_ctype_tr1=no
19795 fi
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19797
19798 fi
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19800 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19801 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19802
19803 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19804
19805 fi
19806
19807 # Check for the existence of <fenv.h> functions.
19808 for ac_header in fenv.h
19809 do :
19810 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19811 if test "x$ac_cv_header_fenv_h" = xyes; then :
19812 cat >>confdefs.h <<_ACEOF
19813 #define HAVE_FENV_H 1
19814 _ACEOF
19815 ac_has_fenv_h=yes
19816 else
19817 ac_has_fenv_h=no
19818 fi
19819
19820 done
19821
19822 ac_c99_fenv_tr1=no;
19823 if test x"$ac_has_fenv_h" = x"yes"; then
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19825 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19827 /* end confdefs.h. */
19828 #include <fenv.h>
19829 int
19830 main ()
19831 {
19832 int except, mode;
19833 fexcept_t* pflag;
19834 fenv_t* penv;
19835 int ret;
19836 ret = feclearexcept(except);
19837 ret = fegetexceptflag(pflag, except);
19838 ret = feraiseexcept(except);
19839 ret = fesetexceptflag(pflag, except);
19840 ret = fetestexcept(except);
19841 ret = fegetround();
19842 ret = fesetround(mode);
19843 ret = fegetenv(penv);
19844 ret = feholdexcept(penv);
19845 ret = fesetenv(penv);
19846 ret = feupdateenv(penv);
19847
19848 ;
19849 return 0;
19850 }
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 ac_c99_fenv_tr1=yes
19854 else
19855 ac_c99_fenv_tr1=no
19856 fi
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19859 $as_echo "$ac_c99_fenv_tr1" >&6; }
19860 fi
19861 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19862
19863 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19864
19865 fi
19866
19867 # Check for the existence of <stdint.h> types.
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19869 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19870 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873
19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19876 #define __STDC_LIMIT_MACROS
19877 #define __STDC_CONSTANT_MACROS
19878 #include <stdint.h>
19879 int
19880 main ()
19881 {
19882 typedef int8_t my_int8_t;
19883 my_int8_t i8 = INT8_MIN;
19884 i8 = INT8_MAX;
19885 typedef int16_t my_int16_t;
19886 my_int16_t i16 = INT16_MIN;
19887 i16 = INT16_MAX;
19888 typedef int32_t my_int32_t;
19889 my_int32_t i32 = INT32_MIN;
19890 i32 = INT32_MAX;
19891 typedef int64_t my_int64_t;
19892 my_int64_t i64 = INT64_MIN;
19893 i64 = INT64_MAX;
19894 typedef int_fast8_t my_int_fast8_t;
19895 my_int_fast8_t if8 = INT_FAST8_MIN;
19896 if8 = INT_FAST8_MAX;
19897 typedef int_fast16_t my_int_fast16_t;
19898 my_int_fast16_t if16 = INT_FAST16_MIN;
19899 if16 = INT_FAST16_MAX;
19900 typedef int_fast32_t my_int_fast32_t;
19901 my_int_fast32_t if32 = INT_FAST32_MIN;
19902 if32 = INT_FAST32_MAX;
19903 typedef int_fast64_t my_int_fast64_t;
19904 my_int_fast64_t if64 = INT_FAST64_MIN;
19905 if64 = INT_FAST64_MAX;
19906 typedef int_least8_t my_int_least8_t;
19907 my_int_least8_t il8 = INT_LEAST8_MIN;
19908 il8 = INT_LEAST8_MAX;
19909 typedef int_least16_t my_int_least16_t;
19910 my_int_least16_t il16 = INT_LEAST16_MIN;
19911 il16 = INT_LEAST16_MAX;
19912 typedef int_least32_t my_int_least32_t;
19913 my_int_least32_t il32 = INT_LEAST32_MIN;
19914 il32 = INT_LEAST32_MAX;
19915 typedef int_least64_t my_int_least64_t;
19916 my_int_least64_t il64 = INT_LEAST64_MIN;
19917 il64 = INT_LEAST64_MAX;
19918 typedef intmax_t my_intmax_t;
19919 my_intmax_t im = INTMAX_MAX;
19920 im = INTMAX_MIN;
19921 typedef intptr_t my_intptr_t;
19922 my_intptr_t ip = INTPTR_MAX;
19923 ip = INTPTR_MIN;
19924 typedef uint8_t my_uint8_t;
19925 my_uint8_t ui8 = UINT8_MAX;
19926 ui8 = UINT8_MAX;
19927 typedef uint16_t my_uint16_t;
19928 my_uint16_t ui16 = UINT16_MAX;
19929 ui16 = UINT16_MAX;
19930 typedef uint32_t my_uint32_t;
19931 my_uint32_t ui32 = UINT32_MAX;
19932 ui32 = UINT32_MAX;
19933 typedef uint64_t my_uint64_t;
19934 my_uint64_t ui64 = UINT64_MAX;
19935 ui64 = UINT64_MAX;
19936 typedef uint_fast8_t my_uint_fast8_t;
19937 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19938 uif8 = UINT_FAST8_MAX;
19939 typedef uint_fast16_t my_uint_fast16_t;
19940 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19941 uif16 = UINT_FAST16_MAX;
19942 typedef uint_fast32_t my_uint_fast32_t;
19943 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19944 uif32 = UINT_FAST32_MAX;
19945 typedef uint_fast64_t my_uint_fast64_t;
19946 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19947 uif64 = UINT_FAST64_MAX;
19948 typedef uint_least8_t my_uint_least8_t;
19949 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19950 uil8 = UINT_LEAST8_MAX;
19951 typedef uint_least16_t my_uint_least16_t;
19952 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19953 uil16 = UINT_LEAST16_MAX;
19954 typedef uint_least32_t my_uint_least32_t;
19955 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19956 uil32 = UINT_LEAST32_MAX;
19957 typedef uint_least64_t my_uint_least64_t;
19958 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19959 uil64 = UINT_LEAST64_MAX;
19960 typedef uintmax_t my_uintmax_t;
19961 my_uintmax_t uim = UINTMAX_MAX;
19962 uim = UINTMAX_MAX;
19963 typedef uintptr_t my_uintptr_t;
19964 my_uintptr_t uip = UINTPTR_MAX;
19965 uip = UINTPTR_MAX;
19966
19967 ;
19968 return 0;
19969 }
19970 _ACEOF
19971 if ac_fn_cxx_try_compile "$LINENO"; then :
19972 glibcxx_cv_c99_stdint_tr1=yes
19973 else
19974 glibcxx_cv_c99_stdint_tr1=no
19975 fi
19976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19977
19978 fi
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19980 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19981 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19982
19983 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19984
19985 fi
19986
19987 # Check for the existence of <math.h> functions.
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19989 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19990 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19991 $as_echo_n "(cached) " >&6
19992 else
19993
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996 #include <math.h>
19997 int
19998 main ()
19999 {
20000 typedef double_t my_double_t;
20001 typedef float_t my_float_t;
20002 acosh(0.0);
20003 acoshf(0.0f);
20004 acoshl(0.0l);
20005 asinh(0.0);
20006 asinhf(0.0f);
20007 asinhl(0.0l);
20008 atanh(0.0);
20009 atanhf(0.0f);
20010 atanhl(0.0l);
20011 cbrt(0.0);
20012 cbrtf(0.0f);
20013 cbrtl(0.0l);
20014 copysign(0.0, 0.0);
20015 copysignf(0.0f, 0.0f);
20016 copysignl(0.0l, 0.0l);
20017 erf(0.0);
20018 erff(0.0f);
20019 erfl(0.0l);
20020 erfc(0.0);
20021 erfcf(0.0f);
20022 erfcl(0.0l);
20023 exp2(0.0);
20024 exp2f(0.0f);
20025 exp2l(0.0l);
20026 expm1(0.0);
20027 expm1f(0.0f);
20028 expm1l(0.0l);
20029 fdim(0.0, 0.0);
20030 fdimf(0.0f, 0.0f);
20031 fdiml(0.0l, 0.0l);
20032 fma(0.0, 0.0, 0.0);
20033 fmaf(0.0f, 0.0f, 0.0f);
20034 fmal(0.0l, 0.0l, 0.0l);
20035 fmax(0.0, 0.0);
20036 fmaxf(0.0f, 0.0f);
20037 fmaxl(0.0l, 0.0l);
20038 fmin(0.0, 0.0);
20039 fminf(0.0f, 0.0f);
20040 fminl(0.0l, 0.0l);
20041 hypot(0.0, 0.0);
20042 hypotf(0.0f, 0.0f);
20043 hypotl(0.0l, 0.0l);
20044 ilogb(0.0);
20045 ilogbf(0.0f);
20046 ilogbl(0.0l);
20047 lgamma(0.0);
20048 lgammaf(0.0f);
20049 lgammal(0.0l);
20050 #ifndef __APPLE__ /* see below */
20051 llrint(0.0);
20052 llrintf(0.0f);
20053 llrintl(0.0l);
20054 llround(0.0);
20055 llroundf(0.0f);
20056 llroundl(0.0l);
20057 #endif
20058 log1p(0.0);
20059 log1pf(0.0f);
20060 log1pl(0.0l);
20061 log2(0.0);
20062 log2f(0.0f);
20063 log2l(0.0l);
20064 logb(0.0);
20065 logbf(0.0f);
20066 logbl(0.0l);
20067 lrint(0.0);
20068 lrintf(0.0f);
20069 lrintl(0.0l);
20070 lround(0.0);
20071 lroundf(0.0f);
20072 lroundl(0.0l);
20073 nan(0);
20074 nanf(0);
20075 nanl(0);
20076 nearbyint(0.0);
20077 nearbyintf(0.0f);
20078 nearbyintl(0.0l);
20079 nextafter(0.0, 0.0);
20080 nextafterf(0.0f, 0.0f);
20081 nextafterl(0.0l, 0.0l);
20082 nexttoward(0.0, 0.0);
20083 nexttowardf(0.0f, 0.0f);
20084 nexttowardl(0.0l, 0.0l);
20085 remainder(0.0, 0.0);
20086 remainderf(0.0f, 0.0f);
20087 remainderl(0.0l, 0.0l);
20088 remquo(0.0, 0.0, 0);
20089 remquof(0.0f, 0.0f, 0);
20090 remquol(0.0l, 0.0l, 0);
20091 rint(0.0);
20092 rintf(0.0f);
20093 rintl(0.0l);
20094 round(0.0);
20095 roundf(0.0f);
20096 roundl(0.0l);
20097 scalbln(0.0, 0l);
20098 scalblnf(0.0f, 0l);
20099 scalblnl(0.0l, 0l);
20100 scalbn(0.0, 0);
20101 scalbnf(0.0f, 0);
20102 scalbnl(0.0l, 0);
20103 tgamma(0.0);
20104 tgammaf(0.0f);
20105 tgammal(0.0l);
20106 trunc(0.0);
20107 truncf(0.0f);
20108 truncl(0.0l);
20109
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 if ac_fn_cxx_try_compile "$LINENO"; then :
20115 glibcxx_cv_c99_math_tr1=yes
20116 else
20117 glibcxx_cv_c99_math_tr1=no
20118 fi
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120
20121 fi
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20123 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20124 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20125
20126 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20127
20128
20129 case "${target_os}" in
20130 darwin*)
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20132 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20133 if ${glibcxx_cv_c99_math_llround+:} false; then :
20134 $as_echo_n "(cached) " >&6
20135 else
20136
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20139 #include <math.h>
20140 int
20141 main ()
20142 {
20143 llrint(0.0);
20144 llrintf(0.0f);
20145 llrintl(0.0l);
20146 llround(0.0);
20147 llroundf(0.0f);
20148 llroundl(0.0l);
20149
20150 ;
20151 return 0;
20152 }
20153 _ACEOF
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155 glibcxx_cv_c99_math_llround=yes
20156 else
20157 glibcxx_cv_c99_math_llround=no
20158 fi
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160
20161 fi
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20163 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20164 ;;
20165 esac
20166 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20167
20168 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20169
20170 fi
20171 fi
20172
20173 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20174 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20175 ac_c99_inttypes_tr1=no;
20176 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20178 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <inttypes.h>
20182 int
20183 main ()
20184 {
20185 intmax_t i, numer, denom, base;
20186 const char* s;
20187 char** endptr;
20188 intmax_t ret = imaxabs(i);
20189 imaxdiv_t dret = imaxdiv(numer, denom);
20190 ret = strtoimax(s, endptr, base);
20191 uintmax_t uret = strtoumax(s, endptr, base);
20192
20193 ;
20194 return 0;
20195 }
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 ac_c99_inttypes_tr1=yes
20199 else
20200 ac_c99_inttypes_tr1=no
20201 fi
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20204 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20205 fi
20206 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20207
20208 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20209
20210 fi
20211
20212 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20213 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20214 ac_c99_inttypes_wchar_t_tr1=no;
20215 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20217 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #include <inttypes.h>
20221 int
20222 main ()
20223 {
20224 intmax_t base;
20225 const wchar_t* s;
20226 wchar_t** endptr;
20227 intmax_t ret = wcstoimax(s, endptr, base);
20228 uintmax_t uret = wcstoumax(s, endptr, base);
20229
20230 ;
20231 return 0;
20232 }
20233 _ACEOF
20234 if ac_fn_cxx_try_compile "$LINENO"; then :
20235 ac_c99_inttypes_wchar_t_tr1=yes
20236 else
20237 ac_c99_inttypes_wchar_t_tr1=no
20238 fi
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20241 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20242 fi
20243 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20244
20245 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20246
20247 fi
20248
20249 # Check for the existence of the <stdbool.h> header.
20250 for ac_header in stdbool.h
20251 do :
20252 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20253 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE_STDBOOL_H 1
20256 _ACEOF
20257
20258 fi
20259
20260 done
20261
20262
20263 # Check for the existence of the <stdalign.h> header.
20264 for ac_header in stdalign.h
20265 do :
20266 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20267 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_STDALIGN_H 1
20270 _ACEOF
20271
20272 fi
20273
20274 done
20275
20276
20277 CXXFLAGS="$ac_save_CXXFLAGS"
20278 ac_ext=c
20279 ac_cpp='$CPP $CPPFLAGS'
20280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20283
20284
20285
20286 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20287
20288
20289 if test "$is_hosted" = yes; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20291 $as_echo_n "checking for the value of EOF... " >&6; }
20292 if ${glibcxx_cv_stdio_eof+:} false; then :
20293 $as_echo_n "(cached) " >&6
20294 else
20295
20296 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20297
20298 else
20299 as_fn_error $? "computing EOF failed" "$LINENO" 5
20300 fi
20301
20302
20303 fi
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20305 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20306
20307 cat >>confdefs.h <<_ACEOF
20308 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20309 _ACEOF
20310
20311
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20313 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20314 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20315 $as_echo_n "(cached) " >&6
20316 else
20317
20318 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20319
20320 else
20321 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20322 fi
20323
20324
20325 fi
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20327 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20328
20329 cat >>confdefs.h <<_ACEOF
20330 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20331 _ACEOF
20332
20333
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20335 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20336 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20337 $as_echo_n "(cached) " >&6
20338 else
20339
20340 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20341
20342 else
20343 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20344 fi
20345
20346
20347 fi
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20349 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20350
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20353 _ACEOF
20354
20355 fi
20356
20357
20358 # For gettimeofday support.
20359
20360
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20362 $as_echo_n "checking for gettimeofday... " >&6; }
20363
20364
20365 ac_ext=cpp
20366 ac_cpp='$CXXCPP $CPPFLAGS'
20367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20370
20371 ac_save_CXXFLAGS="$CXXFLAGS"
20372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20373
20374 ac_has_gettimeofday=no;
20375 for ac_header in sys/time.h
20376 do :
20377 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20378 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20379 cat >>confdefs.h <<_ACEOF
20380 #define HAVE_SYS_TIME_H 1
20381 _ACEOF
20382 ac_has_sys_time_h=yes
20383 else
20384 ac_has_sys_time_h=no
20385 fi
20386
20387 done
20388
20389 if test x"$ac_has_sys_time_h" = x"yes"; then
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20391 $as_echo_n "checking for gettimeofday... " >&6; }
20392 if test x$gcc_no_link = xyes; then
20393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h. */
20395 #include <sys/time.h>
20396 int
20397 main ()
20398 {
20399 timeval tv; gettimeofday(&tv, 0);
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 if ac_fn_cxx_try_compile "$LINENO"; then :
20405 ac_has_gettimeofday=yes
20406 else
20407 ac_has_gettimeofday=no
20408 fi
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 else
20411 if test x$gcc_no_link = xyes; then
20412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20413 fi
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416 #include <sys/time.h>
20417 int
20418 main ()
20419 {
20420 timeval tv; gettimeofday(&tv, 0);
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 if ac_fn_cxx_try_link "$LINENO"; then :
20426 ac_has_gettimeofday=yes
20427 else
20428 ac_has_gettimeofday=no
20429 fi
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20432 fi
20433
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20435 $as_echo "$ac_has_gettimeofday" >&6; }
20436 fi
20437
20438 if test x"$ac_has_gettimeofday" = x"yes"; then
20439
20440 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20441
20442 fi
20443
20444 CXXFLAGS="$ac_save_CXXFLAGS"
20445 ac_ext=c
20446 ac_cpp='$CPP $CPPFLAGS'
20447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20450
20451
20452
20453 # For clock_gettime, nanosleep and sched_yield support.
20454
20455
20456 # Check whether --enable-libstdcxx-time was given.
20457 if test "${enable_libstdcxx_time+set}" = set; then :
20458 enableval=$enable_libstdcxx_time;
20459 case "$enableval" in
20460 yes|no|rt) ;;
20461 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20462 esac
20463
20464 else
20465 enable_libstdcxx_time=auto
20466 fi
20467
20468
20469
20470
20471 ac_ext=cpp
20472 ac_cpp='$CXXCPP $CPPFLAGS'
20473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20476
20477 ac_save_CXXFLAGS="$CXXFLAGS"
20478 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20479 ac_save_LIBS="$LIBS"
20480
20481 ac_has_clock_monotonic=no
20482 ac_has_clock_realtime=no
20483 ac_has_nanosleep=no
20484 ac_has_sched_yield=no
20485
20486 if test x"$enable_libstdcxx_time" = x"auto"; then
20487
20488 case "${target_os}" in
20489 cygwin*)
20490 ac_has_nanosleep=yes
20491 ;;
20492 darwin*)
20493 ac_has_nanosleep=yes
20494 ac_has_sched_yield=yes
20495 ;;
20496 # VxWorks has nanosleep as soon as the kernel is configured with
20497 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20498 vxworks*)
20499 ac_has_nanosleep=yes
20500 ;;
20501 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20502 # Don't use link test for freestanding library, in case gcc_no_link=yes
20503 if test x"$is_hosted" = xyes; then
20504 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20506 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20507 if ${ac_cv_search_clock_gettime+:} false; then :
20508 $as_echo_n "(cached) " >&6
20509 else
20510 ac_func_search_save_LIBS=$LIBS
20511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20513
20514 /* Override any GCC internal prototype to avoid an error.
20515 Use char because int might match the return type of a GCC
20516 builtin and then its argument prototype would still apply. */
20517 #ifdef __cplusplus
20518 extern "C"
20519 #endif
20520 char clock_gettime ();
20521 int
20522 main ()
20523 {
20524 return clock_gettime ();
20525 ;
20526 return 0;
20527 }
20528 _ACEOF
20529 for ac_lib in '' rt; do
20530 if test -z "$ac_lib"; then
20531 ac_res="none required"
20532 else
20533 ac_res=-l$ac_lib
20534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20535 fi
20536 if test x$gcc_no_link = xyes; then
20537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20538 fi
20539 if ac_fn_cxx_try_link "$LINENO"; then :
20540 ac_cv_search_clock_gettime=$ac_res
20541 fi
20542 rm -f core conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext
20544 if ${ac_cv_search_clock_gettime+:} false; then :
20545 break
20546 fi
20547 done
20548 if ${ac_cv_search_clock_gettime+:} false; then :
20549
20550 else
20551 ac_cv_search_clock_gettime=no
20552 fi
20553 rm conftest.$ac_ext
20554 LIBS=$ac_func_search_save_LIBS
20555 fi
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20557 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20558 ac_res=$ac_cv_search_clock_gettime
20559 if test "$ac_res" != no; then :
20560 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20561
20562 fi
20563
20564 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20565 ac_has_clock_monotonic=yes
20566 ac_has_clock_realtime=yes
20567 fi
20568 fi
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20571 ;;
20572 freebsd*|netbsd*|dragonfly*|rtems*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20576 ac_has_sched_yield=yes
20577 ;;
20578 openbsd*)
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20582 ;;
20583 solaris*)
20584 ac_has_clock_monotonic=yes
20585 ac_has_clock_realtime=yes
20586 ac_has_nanosleep=yes
20587 ac_has_sched_yield=yes
20588 ;;
20589 uclinux*)
20590 ac_has_nanosleep=yes
20591 ac_has_sched_yield=yes
20592 esac
20593
20594 elif test x"$enable_libstdcxx_time" != x"no"; then
20595
20596 if test x"$enable_libstdcxx_time" = x"rt"; then
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20598 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20599 if ${ac_cv_search_clock_gettime+:} false; then :
20600 $as_echo_n "(cached) " >&6
20601 else
20602 ac_func_search_save_LIBS=$LIBS
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20605
20606 /* Override any GCC internal prototype to avoid an error.
20607 Use char because int might match the return type of a GCC
20608 builtin and then its argument prototype would still apply. */
20609 #ifdef __cplusplus
20610 extern "C"
20611 #endif
20612 char clock_gettime ();
20613 int
20614 main ()
20615 {
20616 return clock_gettime ();
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 for ac_lib in '' rt; do
20622 if test -z "$ac_lib"; then
20623 ac_res="none required"
20624 else
20625 ac_res=-l$ac_lib
20626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20627 fi
20628 if test x$gcc_no_link = xyes; then
20629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20630 fi
20631 if ac_fn_cxx_try_link "$LINENO"; then :
20632 ac_cv_search_clock_gettime=$ac_res
20633 fi
20634 rm -f core conftest.err conftest.$ac_objext \
20635 conftest$ac_exeext
20636 if ${ac_cv_search_clock_gettime+:} false; then :
20637 break
20638 fi
20639 done
20640 if ${ac_cv_search_clock_gettime+:} false; then :
20641
20642 else
20643 ac_cv_search_clock_gettime=no
20644 fi
20645 rm conftest.$ac_ext
20646 LIBS=$ac_func_search_save_LIBS
20647 fi
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20649 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20650 ac_res=$ac_cv_search_clock_gettime
20651 if test "$ac_res" != no; then :
20652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20653
20654 fi
20655
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20657 $as_echo_n "checking for library containing nanosleep... " >&6; }
20658 if ${ac_cv_search_nanosleep+:} false; then :
20659 $as_echo_n "(cached) " >&6
20660 else
20661 ac_func_search_save_LIBS=$LIBS
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h. */
20664
20665 /* Override any GCC internal prototype to avoid an error.
20666 Use char because int might match the return type of a GCC
20667 builtin and then its argument prototype would still apply. */
20668 #ifdef __cplusplus
20669 extern "C"
20670 #endif
20671 char nanosleep ();
20672 int
20673 main ()
20674 {
20675 return nanosleep ();
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 for ac_lib in '' rt; do
20681 if test -z "$ac_lib"; then
20682 ac_res="none required"
20683 else
20684 ac_res=-l$ac_lib
20685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20686 fi
20687 if test x$gcc_no_link = xyes; then
20688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 fi
20690 if ac_fn_cxx_try_link "$LINENO"; then :
20691 ac_cv_search_nanosleep=$ac_res
20692 fi
20693 rm -f core conftest.err conftest.$ac_objext \
20694 conftest$ac_exeext
20695 if ${ac_cv_search_nanosleep+:} false; then :
20696 break
20697 fi
20698 done
20699 if ${ac_cv_search_nanosleep+:} false; then :
20700
20701 else
20702 ac_cv_search_nanosleep=no
20703 fi
20704 rm conftest.$ac_ext
20705 LIBS=$ac_func_search_save_LIBS
20706 fi
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20708 $as_echo "$ac_cv_search_nanosleep" >&6; }
20709 ac_res=$ac_cv_search_nanosleep
20710 if test "$ac_res" != no; then :
20711 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20712
20713 fi
20714
20715 else
20716 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20717 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20718
20719 fi
20720
20721 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20722 if test "x$ac_cv_func_nanosleep" = xyes; then :
20723
20724 fi
20725
20726 fi
20727
20728 case "$ac_cv_search_clock_gettime" in
20729 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20730 ;;
20731 esac
20732 case "$ac_cv_search_nanosleep" in
20733 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20734 ;;
20735 esac
20736
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20738 $as_echo_n "checking for library containing sched_yield... " >&6; }
20739 if ${ac_cv_search_sched_yield+:} false; then :
20740 $as_echo_n "(cached) " >&6
20741 else
20742 ac_func_search_save_LIBS=$LIBS
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20745
20746 /* Override any GCC internal prototype to avoid an error.
20747 Use char because int might match the return type of a GCC
20748 builtin and then its argument prototype would still apply. */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char sched_yield ();
20753 int
20754 main ()
20755 {
20756 return sched_yield ();
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 for ac_lib in '' rt; do
20762 if test -z "$ac_lib"; then
20763 ac_res="none required"
20764 else
20765 ac_res=-l$ac_lib
20766 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20767 fi
20768 if test x$gcc_no_link = xyes; then
20769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20770 fi
20771 if ac_fn_cxx_try_link "$LINENO"; then :
20772 ac_cv_search_sched_yield=$ac_res
20773 fi
20774 rm -f core conftest.err conftest.$ac_objext \
20775 conftest$ac_exeext
20776 if ${ac_cv_search_sched_yield+:} false; then :
20777 break
20778 fi
20779 done
20780 if ${ac_cv_search_sched_yield+:} false; then :
20781
20782 else
20783 ac_cv_search_sched_yield=no
20784 fi
20785 rm conftest.$ac_ext
20786 LIBS=$ac_func_search_save_LIBS
20787 fi
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20789 $as_echo "$ac_cv_search_sched_yield" >&6; }
20790 ac_res=$ac_cv_search_sched_yield
20791 if test "$ac_res" != no; then :
20792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20793
20794 fi
20795
20796
20797 case "$ac_cv_search_sched_yield" in
20798 -lrt*)
20799 if test x"$enable_libstdcxx_time" = x"rt"; then
20800 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20801 ac_has_sched_yield=yes
20802 fi
20803 ;;
20804 *)
20805 ac_has_sched_yield=yes
20806 ;;
20807 esac
20808
20809 for ac_header in unistd.h
20810 do :
20811 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20812 if test "x$ac_cv_header_unistd_h" = xyes; then :
20813 cat >>confdefs.h <<_ACEOF
20814 #define HAVE_UNISTD_H 1
20815 _ACEOF
20816 ac_has_unistd_h=yes
20817 else
20818 ac_has_unistd_h=no
20819 fi
20820
20821 done
20822
20823
20824 if test x"$ac_has_unistd_h" = x"yes"; then
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20826 $as_echo_n "checking for monotonic clock... " >&6; }
20827 if test x$gcc_no_link = xyes; then
20828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20829 fi
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #include <unistd.h>
20833 #include <time.h>
20834
20835 int
20836 main ()
20837 {
20838 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20839 timespec tp;
20840 #endif
20841 clock_gettime(CLOCK_MONOTONIC, &tp);
20842
20843 ;
20844 return 0;
20845 }
20846 _ACEOF
20847 if ac_fn_cxx_try_link "$LINENO"; then :
20848 ac_has_clock_monotonic=yes
20849 else
20850 ac_has_clock_monotonic=no
20851 fi
20852 rm -f core conftest.err conftest.$ac_objext \
20853 conftest$ac_exeext conftest.$ac_ext
20854
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20856 $as_echo "$ac_has_clock_monotonic" >&6; }
20857
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20859 $as_echo_n "checking for realtime clock... " >&6; }
20860 if test x$gcc_no_link = xyes; then
20861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20862 fi
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #include <unistd.h>
20866 #include <time.h>
20867
20868 int
20869 main ()
20870 {
20871 #if _POSIX_TIMERS > 0
20872 timespec tp;
20873 #endif
20874 clock_gettime(CLOCK_REALTIME, &tp);
20875
20876 ;
20877 return 0;
20878 }
20879 _ACEOF
20880 if ac_fn_cxx_try_link "$LINENO"; then :
20881 ac_has_clock_realtime=yes
20882 else
20883 ac_has_clock_realtime=no
20884 fi
20885 rm -f core conftest.err conftest.$ac_objext \
20886 conftest$ac_exeext conftest.$ac_ext
20887
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20889 $as_echo "$ac_has_clock_realtime" >&6; }
20890
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20892 $as_echo_n "checking for nanosleep... " >&6; }
20893 if test x$gcc_no_link = xyes; then
20894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20895 fi
20896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #include <unistd.h>
20899 #include <time.h>
20900
20901 int
20902 main ()
20903 {
20904 #if _POSIX_TIMERS > 0
20905 timespec tp;
20906 #endif
20907 nanosleep(&tp, 0);
20908
20909 ;
20910 return 0;
20911 }
20912 _ACEOF
20913 if ac_fn_cxx_try_link "$LINENO"; then :
20914 ac_has_nanosleep=yes
20915 else
20916 ac_has_nanosleep=no
20917 fi
20918 rm -f core conftest.err conftest.$ac_objext \
20919 conftest$ac_exeext conftest.$ac_ext
20920
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20922 $as_echo "$ac_has_nanosleep" >&6; }
20923 fi
20924 fi
20925
20926 if test x"$ac_has_clock_monotonic" != x"yes"; then
20927 case ${target_os} in
20928 linux* | uclinux*)
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20930 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20935 #include <sys/syscall.h>
20936
20937 int
20938 main ()
20939 {
20940 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20941 timespec tp;
20942 #endif
20943 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20944 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20945
20946 ;
20947 return 0;
20948 }
20949 _ACEOF
20950 if ac_fn_cxx_try_compile "$LINENO"; then :
20951 ac_has_clock_gettime_syscall=yes
20952 else
20953 ac_has_clock_gettime_syscall=no
20954 fi
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20957 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20958 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20959
20960 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20961
20962 ac_has_clock_monotonic=yes
20963 ac_has_clock_realtime=yes
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20965 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #include <time.h>
20969 #include <sys/syscall.h>
20970
20971 int
20972 main ()
20973 {
20974 #ifdef SYS_clock_gettime64
20975 #if SYS_clock_gettime64 != SYS_clock_gettime
20976 // We need to use SYS_clock_gettime and libc appears to
20977 // also know about the SYS_clock_gettime64 syscall.
20978 // Check that userspace doesn't use time64 version of timespec.
20979 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20980 "struct timespec must be compatible with SYS_clock_gettime");
20981 #endif
20982 #endif
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 if ac_fn_cxx_try_compile "$LINENO"; then :
20989 ac_timespec_matches_syscall=yes
20990 else
20991 ac_timespec_matches_syscall=no
20992 fi
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20995 $as_echo "$ac_timespec_matches_syscall" >&6; }
20996 if test x"$ac_timespec_matches_syscall" = no; then
20997 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20998 fi
20999 fi;;
21000 esac
21001 fi
21002
21003 if test x"$ac_has_clock_monotonic" = x"yes"; then
21004
21005 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21006
21007 fi
21008
21009 if test x"$ac_has_clock_realtime" = x"yes"; then
21010
21011 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21012
21013 fi
21014
21015 if test x"$ac_has_sched_yield" = x"yes"; then
21016
21017 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21018
21019 fi
21020
21021 if test x"$ac_has_nanosleep" = x"yes"; then
21022
21023 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21024
21025 else
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21027 $as_echo_n "checking for sleep... " >&6; }
21028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21030 #include <unistd.h>
21031 int
21032 main ()
21033 {
21034 sleep(1)
21035 ;
21036 return 0;
21037 }
21038 _ACEOF
21039 if ac_fn_cxx_try_compile "$LINENO"; then :
21040 ac_has_sleep=yes
21041 else
21042 ac_has_sleep=no
21043 fi
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 if test x"$ac_has_sleep" = x"yes"; then
21046
21047 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21048
21049 fi
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21051 $as_echo "$ac_has_sleep" >&6; }
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21053 $as_echo_n "checking for usleep... " >&6; }
21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21056 #include <unistd.h>
21057 int
21058 main ()
21059 {
21060 sleep(1);
21061 usleep(100);
21062 ;
21063 return 0;
21064 }
21065 _ACEOF
21066 if ac_fn_cxx_try_compile "$LINENO"; then :
21067 ac_has_usleep=yes
21068 else
21069 ac_has_usleep=no
21070 fi
21071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072 if test x"$ac_has_usleep" = x"yes"; then
21073
21074 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21075
21076 fi
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21078 $as_echo "$ac_has_usleep" >&6; }
21079 fi
21080
21081 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21082 ac_no_sleep=yes
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21084 $as_echo_n "checking for Sleep... " >&6; }
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21087 #include <windows.h>
21088 int
21089 main ()
21090 {
21091 Sleep(1)
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 if ac_fn_cxx_try_compile "$LINENO"; then :
21097 ac_has_win32_sleep=yes
21098 else
21099 ac_has_win32_sleep=no
21100 fi
21101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21102 if test x"$ac_has_win32_sleep" = x"yes"; then
21103
21104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21105
21106 ac_no_sleep=no
21107 fi
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21109 $as_echo "$ac_has_win32_sleep" >&6; }
21110 fi
21111
21112 if test x"$ac_no_sleep" = x"yes"; then
21113
21114 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21115
21116 fi
21117
21118
21119
21120 CXXFLAGS="$ac_save_CXXFLAGS"
21121 LIBS="$ac_save_LIBS"
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127
21128
21129
21130 # Check for tmpnam which is obsolescent in POSIX.1-2008
21131
21132 ac_ext=cpp
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21137
21138 ac_save_CXXFLAGS="$CXXFLAGS"
21139 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21141 $as_echo_n "checking for tmpnam... " >&6; }
21142 if ${glibcxx_cv_TMPNAM+:} false; then :
21143 $as_echo_n "(cached) " >&6
21144 else
21145 if test x$gcc_no_link = xyes; then
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21148 #include <stdio.h>
21149 int
21150 main ()
21151 {
21152 char *tmp = tmpnam(NULL);
21153 ;
21154 return 0;
21155 }
21156 _ACEOF
21157 if ac_fn_cxx_try_compile "$LINENO"; then :
21158 glibcxx_cv_TMPNAM=yes
21159 else
21160 glibcxx_cv_TMPNAM=no
21161 fi
21162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21163 else
21164 if test x$gcc_no_link = xyes; then
21165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21166 fi
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #include <stdio.h>
21170 int
21171 main ()
21172 {
21173 char *tmp = tmpnam(NULL);
21174 ;
21175 return 0;
21176 }
21177 _ACEOF
21178 if ac_fn_cxx_try_link "$LINENO"; then :
21179 glibcxx_cv_TMPNAM=yes
21180 else
21181 glibcxx_cv_TMPNAM=no
21182 fi
21183 rm -f core conftest.err conftest.$ac_objext \
21184 conftest$ac_exeext conftest.$ac_ext
21185 fi
21186
21187 fi
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21189 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21190 if test $glibcxx_cv_TMPNAM = yes; then
21191
21192 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21193
21194 fi
21195 CXXFLAGS="$ac_save_CXXFLAGS"
21196 ac_ext=c
21197 ac_cpp='$CPP $CPPFLAGS'
21198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21201
21202
21203
21204 # For pthread_cond_clockwait
21205
21206
21207
21208 ac_ext=cpp
21209 ac_cpp='$CXXCPP $CPPFLAGS'
21210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21213
21214 ac_save_CXXFLAGS="$CXXFLAGS"
21215 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21216 ac_save_LIBS="$LIBS"
21217 LIBS="$LIBS -lpthread"
21218
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21220 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21221 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21222 $as_echo_n "(cached) " >&6
21223 else
21224
21225 if test x$gcc_no_link = xyes; then
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #include <pthread.h>
21229 int
21230 main ()
21231 {
21232 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21233 ;
21234 return 0;
21235 }
21236 _ACEOF
21237 if ac_fn_cxx_try_compile "$LINENO"; then :
21238 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21239 else
21240 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21241 fi
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 else
21244 if test x$gcc_no_link = xyes; then
21245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21246 fi
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #include <pthread.h>
21250 int
21251 main ()
21252 {
21253 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21254 ;
21255 return 0;
21256 }
21257 _ACEOF
21258 if ac_fn_cxx_try_link "$LINENO"; then :
21259 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21260 else
21261 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21262 fi
21263 rm -f core conftest.err conftest.$ac_objext \
21264 conftest$ac_exeext conftest.$ac_ext
21265 fi
21266
21267 fi
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21269 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21270 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21271
21272 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21273
21274 fi
21275
21276 CXXFLAGS="$ac_save_CXXFLAGS"
21277 LIBS="$ac_save_LIBS"
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21283
21284
21285
21286 # For pthread_mutex_clocklock
21287
21288
21289
21290 ac_ext=cpp
21291 ac_cpp='$CXXCPP $CPPFLAGS'
21292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21295
21296 ac_save_CXXFLAGS="$CXXFLAGS"
21297 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21298 ac_save_LIBS="$LIBS"
21299 LIBS="$LIBS -lpthread"
21300
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21302 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21303 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21306
21307 if test x$gcc_no_link = xyes; then
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <pthread.h>
21311 int
21312 main ()
21313 {
21314 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21321 else
21322 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21323 fi
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 else
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21328 fi
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21331 #include <pthread.h>
21332 int
21333 main ()
21334 {
21335 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21336 ;
21337 return 0;
21338 }
21339 _ACEOF
21340 if ac_fn_cxx_try_link "$LINENO"; then :
21341 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21342 else
21343 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21344 fi
21345 rm -f core conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21347 fi
21348
21349 fi
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21351 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21352 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21353
21354 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21355
21356 fi
21357
21358 CXXFLAGS="$ac_save_CXXFLAGS"
21359 LIBS="$ac_save_LIBS"
21360 ac_ext=c
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21365
21366
21367
21368 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21369
21370
21371
21372 ac_ext=cpp
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21377
21378 ac_save_CXXFLAGS="$CXXFLAGS"
21379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21380 ac_save_LIBS="$LIBS"
21381 LIBS="$LIBS -lpthread"
21382
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21384 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21385 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21386 $as_echo_n "(cached) " >&6
21387 else
21388
21389 if test x$gcc_no_link = xyes; then
21390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21391 /* end confdefs.h. */
21392 #include <pthread.h>
21393 int
21394 main ()
21395 {
21396 pthread_rwlock_t rwl; struct timespec ts;
21397 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21398 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21399 ;
21400 return 0;
21401 }
21402 _ACEOF
21403 if ac_fn_cxx_try_compile "$LINENO"; then :
21404 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21405 else
21406 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21407 fi
21408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21409 else
21410 if test x$gcc_no_link = xyes; then
21411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21412 fi
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21415 #include <pthread.h>
21416 int
21417 main ()
21418 {
21419 pthread_rwlock_t rwl; struct timespec ts;
21420 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21421 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21422 ;
21423 return 0;
21424 }
21425 _ACEOF
21426 if ac_fn_cxx_try_link "$LINENO"; then :
21427 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21428 else
21429 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21430 fi
21431 rm -f core conftest.err conftest.$ac_objext \
21432 conftest$ac_exeext conftest.$ac_ext
21433 fi
21434
21435 fi
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21437 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21438 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21439
21440 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21441
21442 fi
21443
21444 CXXFLAGS="$ac_save_CXXFLAGS"
21445 LIBS="$ac_save_LIBS"
21446 ac_ext=c
21447 ac_cpp='$CPP $CPPFLAGS'
21448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21451
21452
21453
21454
21455 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21456 if test "x$ac_cv_header_locale_h" = xyes; then :
21457
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21459 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21460 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21461 $as_echo_n "(cached) " >&6
21462 else
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <locale.h>
21466 int
21467 main ()
21468 {
21469 return LC_MESSAGES
21470 ;
21471 return 0;
21472 }
21473 _ACEOF
21474 if ac_fn_c_try_compile "$LINENO"; then :
21475 ac_cv_val_LC_MESSAGES=yes
21476 else
21477 ac_cv_val_LC_MESSAGES=no
21478 fi
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 fi
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21482 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21483 if test $ac_cv_val_LC_MESSAGES = yes; then
21484
21485 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21486
21487 fi
21488
21489 fi
21490
21491
21492
21493
21494 # For hardware_concurrency
21495 for ac_header in sys/sysinfo.h
21496 do :
21497 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21498 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21499 cat >>confdefs.h <<_ACEOF
21500 #define HAVE_SYS_SYSINFO_H 1
21501 _ACEOF
21502
21503 fi
21504
21505 done
21506
21507
21508
21509
21510 ac_ext=cpp
21511 ac_cpp='$CXXCPP $CPPFLAGS'
21512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21515
21516 ac_save_CXXFLAGS="$CXXFLAGS"
21517 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21518
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21520 $as_echo_n "checking for get_nprocs... " >&6; }
21521 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21522 $as_echo_n "(cached) " >&6
21523 else
21524
21525 if test x$gcc_no_link = xyes; then
21526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21527 /* end confdefs.h. */
21528 #include <sys/sysinfo.h>
21529 int
21530 main ()
21531 {
21532 int n = get_nprocs();
21533 ;
21534 return 0;
21535 }
21536 _ACEOF
21537 if ac_fn_cxx_try_compile "$LINENO"; then :
21538 glibcxx_cv_GET_NPROCS=yes
21539 else
21540 glibcxx_cv_GET_NPROCS=no
21541 fi
21542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 else
21544 if test x$gcc_no_link = xyes; then
21545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21546 fi
21547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21548 /* end confdefs.h. */
21549 #include <sys/sysinfo.h>
21550 int
21551 main ()
21552 {
21553 int n = get_nprocs();
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 if ac_fn_cxx_try_link "$LINENO"; then :
21559 glibcxx_cv_GET_NPROCS=yes
21560 else
21561 glibcxx_cv_GET_NPROCS=no
21562 fi
21563 rm -f core conftest.err conftest.$ac_objext \
21564 conftest$ac_exeext conftest.$ac_ext
21565 fi
21566
21567 fi
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21569 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21570 if test $glibcxx_cv_GET_NPROCS = yes; then
21571
21572 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21573
21574 fi
21575
21576 CXXFLAGS="$ac_save_CXXFLAGS"
21577 ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21582
21583
21584 for ac_header in unistd.h
21585 do :
21586 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21587 if test "x$ac_cv_header_unistd_h" = xyes; then :
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE_UNISTD_H 1
21590 _ACEOF
21591
21592 fi
21593
21594 done
21595
21596
21597
21598
21599 ac_ext=cpp
21600 ac_cpp='$CXXCPP $CPPFLAGS'
21601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21604
21605 ac_save_CXXFLAGS="$CXXFLAGS"
21606 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21607
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21609 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21610 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21611 $as_echo_n "(cached) " >&6
21612 else
21613
21614 if test x$gcc_no_link = xyes; then
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21617 #include <unistd.h>
21618 int
21619 main ()
21620 {
21621 int n = sysconf(_SC_NPROCESSORS_ONLN);
21622 ;
21623 return 0;
21624 }
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21628 else
21629 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21630 fi
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 else
21633 if test x$gcc_no_link = xyes; then
21634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21635 fi
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <unistd.h>
21639 int
21640 main ()
21641 {
21642 int n = sysconf(_SC_NPROCESSORS_ONLN);
21643 ;
21644 return 0;
21645 }
21646 _ACEOF
21647 if ac_fn_cxx_try_link "$LINENO"; then :
21648 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21649 else
21650 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21651 fi
21652 rm -f core conftest.err conftest.$ac_objext \
21653 conftest$ac_exeext conftest.$ac_ext
21654 fi
21655
21656 fi
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21658 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21659 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21660
21661 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21662
21663 fi
21664
21665 CXXFLAGS="$ac_save_CXXFLAGS"
21666 ac_ext=c
21667 ac_cpp='$CPP $CPPFLAGS'
21668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21671
21672
21673
21674
21675
21676 ac_ext=cpp
21677 ac_cpp='$CXXCPP $CPPFLAGS'
21678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21681
21682 ac_save_CXXFLAGS="$CXXFLAGS"
21683 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21684
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21686 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21687 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21688 $as_echo_n "(cached) " >&6
21689 else
21690
21691 if test x$gcc_no_link = xyes; then
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <unistd.h>
21695 int
21696 main ()
21697 {
21698 int n = sysconf(_SC_NPROC_ONLN);
21699 ;
21700 return 0;
21701 }
21702 _ACEOF
21703 if ac_fn_cxx_try_compile "$LINENO"; then :
21704 glibcxx_cv_SC_NPROC_ONLN=yes
21705 else
21706 glibcxx_cv_SC_NPROC_ONLN=no
21707 fi
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 else
21710 if test x$gcc_no_link = xyes; then
21711 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21712 fi
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <unistd.h>
21716 int
21717 main ()
21718 {
21719 int n = sysconf(_SC_NPROC_ONLN);
21720 ;
21721 return 0;
21722 }
21723 _ACEOF
21724 if ac_fn_cxx_try_link "$LINENO"; then :
21725 glibcxx_cv_SC_NPROC_ONLN=yes
21726 else
21727 glibcxx_cv_SC_NPROC_ONLN=no
21728 fi
21729 rm -f core conftest.err conftest.$ac_objext \
21730 conftest$ac_exeext conftest.$ac_ext
21731 fi
21732
21733 fi
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21735 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21736 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21737
21738 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21739
21740 fi
21741
21742 CXXFLAGS="$ac_save_CXXFLAGS"
21743 ac_ext=c
21744 ac_cpp='$CPP $CPPFLAGS'
21745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21748
21749
21750
21751
21752
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21758
21759 ac_save_CXXFLAGS="$CXXFLAGS"
21760 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21761
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21763 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21764 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21767
21768 if test x$gcc_no_link = xyes; then
21769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21770 /* end confdefs.h. */
21771 #include <pthread.h>
21772 int
21773 main ()
21774 {
21775 int n = pthread_num_processors_np();
21776 ;
21777 return 0;
21778 }
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21782 else
21783 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21784 fi
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 else
21787 if test x$gcc_no_link = xyes; then
21788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21789 fi
21790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791 /* end confdefs.h. */
21792 #include <pthread.h>
21793 int
21794 main ()
21795 {
21796 int n = pthread_num_processors_np();
21797 ;
21798 return 0;
21799 }
21800 _ACEOF
21801 if ac_fn_cxx_try_link "$LINENO"; then :
21802 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21803 else
21804 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21805 fi
21806 rm -f core conftest.err conftest.$ac_objext \
21807 conftest$ac_exeext conftest.$ac_ext
21808 fi
21809
21810 fi
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21812 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21813 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21814
21815 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21816
21817 fi
21818
21819 CXXFLAGS="$ac_save_CXXFLAGS"
21820 ac_ext=c
21821 ac_cpp='$CPP $CPPFLAGS'
21822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825
21826
21827
21828
21829
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21835
21836 ac_save_CXXFLAGS="$CXXFLAGS"
21837 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21838
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21840 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21841 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21842 $as_echo_n "(cached) " >&6
21843 else
21844
21845 if test x$gcc_no_link = xyes; then
21846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21847 /* end confdefs.h. */
21848
21849 #include <stddef.h>
21850 #include <sys/sysctl.h>
21851
21852 int
21853 main ()
21854 {
21855
21856 int count;
21857 size_t size = sizeof(count);
21858 int mib[] = { CTL_HW, HW_NCPU };
21859 sysctl(mib, 2, &count, &size, NULL, 0);
21860
21861 ;
21862 return 0;
21863 }
21864 _ACEOF
21865 if ac_fn_cxx_try_compile "$LINENO"; then :
21866 glibcxx_cv_SYSCTL_HW_NCPU=yes
21867 else
21868 glibcxx_cv_SYSCTL_HW_NCPU=no
21869 fi
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 else
21872 if test x$gcc_no_link = xyes; then
21873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21874 fi
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877
21878 #include <stddef.h>
21879 #include <sys/sysctl.h>
21880
21881 int
21882 main ()
21883 {
21884
21885 int count;
21886 size_t size = sizeof(count);
21887 int mib[] = { CTL_HW, HW_NCPU };
21888 sysctl(mib, 2, &count, &size, NULL, 0);
21889
21890 ;
21891 return 0;
21892 }
21893 _ACEOF
21894 if ac_fn_cxx_try_link "$LINENO"; then :
21895 glibcxx_cv_SYSCTL_HW_NCPU=yes
21896 else
21897 glibcxx_cv_SYSCTL_HW_NCPU=no
21898 fi
21899 rm -f core conftest.err conftest.$ac_objext \
21900 conftest$ac_exeext conftest.$ac_ext
21901 fi
21902
21903 fi
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21905 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21906 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21907
21908 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21909
21910 fi
21911
21912 CXXFLAGS="$ac_save_CXXFLAGS"
21913 ac_ext=c
21914 ac_cpp='$CPP $CPPFLAGS'
21915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21918
21919
21920
21921 # Note that this test has to be run with the C language.
21922 # Otherwise, sdt.h will try to include some headers from
21923 # libstdc++ itself.
21924
21925 ac_ext=c
21926 ac_cpp='$CPP $CPPFLAGS'
21927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21930
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21932 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21933 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21934 $as_echo_n "(cached) " >&6
21935 else
21936
21937 # Because we have to run the test in C, we use grep rather
21938 # than the compiler to check for the bug. The bug is that
21939 # were strings without trailing whitespace, causing g++
21940 # to look for operator"". The pattern searches for the fixed
21941 # output.
21942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21944
21945 #include <sys/sdt.h>
21946 int f() { STAP_PROBE(hi, bob); }
21947
21948 _ACEOF
21949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21950 $EGREP " \",\" " >/dev/null 2>&1; then :
21951 glibcxx_cv_sys_sdt_h=yes
21952 else
21953 glibcxx_cv_sys_sdt_h=no
21954 fi
21955 rm -f conftest*
21956
21957
21958 fi
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21960 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21961 ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21966
21967 if test $glibcxx_cv_sys_sdt_h = yes; then
21968
21969 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21970
21971 fi
21972
21973
21974 # Check for available headers.
21975 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21976 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21977 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21978 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21979 wchar.h wctype.h linux/types.h
21980 do :
21981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21984 cat >>confdefs.h <<_ACEOF
21985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21986 _ACEOF
21987
21988 fi
21989
21990 done
21991
21992
21993 for ac_header in linux/random.h
21994 do :
21995 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21996 # include <linux/types.h>
21997 #endif
21998
21999 "
22000 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22001 cat >>confdefs.h <<_ACEOF
22002 #define HAVE_LINUX_RANDOM_H 1
22003 _ACEOF
22004
22005 fi
22006
22007 done
22008
22009
22010 for ac_header in xlocale.h
22011 do :
22012 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22013 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22014 cat >>confdefs.h <<_ACEOF
22015 #define HAVE_XLOCALE_H 1
22016 _ACEOF
22017
22018 fi
22019
22020 done
22021
22022
22023 # Only do link tests if native. Else, hardcode.
22024 if $GLIBCXX_IS_NATIVE; then
22025
22026 # We can do more elaborate tests that assume a working linker.
22027 CANADIAN=no
22028
22029
22030
22031 # Check whether --with-gnu-ld was given.
22032 if test "${with_gnu_ld+set}" = set; then :
22033 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22034 else
22035 with_gnu_ld=no
22036 fi
22037
22038 ac_prog=ld
22039 if test "$GCC" = yes; then
22040 # Check if gcc -print-prog-name=ld gives a path.
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22042 $as_echo_n "checking for ld used by $CC... " >&6; }
22043 case $host in
22044 *-*-mingw*)
22045 # gcc leaves a trailing carriage return which upsets mingw
22046 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22047 *)
22048 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22049 esac
22050 case $ac_prog in
22051 # Accept absolute paths.
22052 [\\/]* | ?:[\\/]*)
22053 re_direlt='/[^/][^/]*/\.\./'
22054 # Canonicalize the pathname of ld
22055 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22056 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22057 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22058 done
22059 test -z "$LD" && LD="$ac_prog"
22060 ;;
22061 "")
22062 # If it fails, then pretend we aren't using GCC.
22063 ac_prog=ld
22064 ;;
22065 *)
22066 # If it is relative, then search for the first ld in PATH.
22067 with_gnu_ld=unknown
22068 ;;
22069 esac
22070 elif test "$with_gnu_ld" = yes; then
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22072 $as_echo_n "checking for GNU ld... " >&6; }
22073 else
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22075 $as_echo_n "checking for non-GNU ld... " >&6; }
22076 fi
22077 if ${lt_cv_path_LD+:} false; then :
22078 $as_echo_n "(cached) " >&6
22079 else
22080 if test -z "$LD"; then
22081 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22082 for ac_dir in $PATH; do
22083 IFS="$lt_save_ifs"
22084 test -z "$ac_dir" && ac_dir=.
22085 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22086 lt_cv_path_LD="$ac_dir/$ac_prog"
22087 # Check to see if the program is GNU ld. I'd rather use --version,
22088 # but apparently some variants of GNU ld only accept -v.
22089 # Break only if it was the GNU/non-GNU ld that we prefer.
22090 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22091 *GNU* | *'with BFD'*)
22092 test "$with_gnu_ld" != no && break
22093 ;;
22094 *)
22095 test "$with_gnu_ld" != yes && break
22096 ;;
22097 esac
22098 fi
22099 done
22100 IFS="$lt_save_ifs"
22101 else
22102 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22103 fi
22104 fi
22105
22106 LD="$lt_cv_path_LD"
22107 if test -n "$LD"; then
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22109 $as_echo "$LD" >&6; }
22110 else
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22112 $as_echo "no" >&6; }
22113 fi
22114 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22116 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22117 if ${lt_cv_prog_gnu_ld+:} false; then :
22118 $as_echo_n "(cached) " >&6
22119 else
22120 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22121 case `$LD -v 2>&1 </dev/null` in
22122 *GNU* | *'with BFD'*)
22123 lt_cv_prog_gnu_ld=yes
22124 ;;
22125 *)
22126 lt_cv_prog_gnu_ld=no
22127 ;;
22128 esac
22129 fi
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22131 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22132 with_gnu_ld=$lt_cv_prog_gnu_ld
22133
22134
22135
22136
22137
22138
22139
22140 # If we're not using GNU ld, then there's no point in even trying these
22141 # tests. Check for that first. We should have already tested for gld
22142 # by now (in libtool), but require it now just to be safe...
22143 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22144 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22145
22146
22147
22148 # The name set by libtool depends on the version of libtool. Shame on us
22149 # for depending on an impl detail, but c'est la vie. Older versions used
22150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22153 # set (hence we're using an older libtool), then set it.
22154 if test x${with_gnu_ld+set} != xset; then
22155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22157 with_gnu_ld=no
22158 else
22159 with_gnu_ld=$ac_cv_prog_gnu_ld
22160 fi
22161 fi
22162
22163 # Start by getting the version number. I think the libtool test already
22164 # does some of this, but throws away the result.
22165 glibcxx_ld_is_gold=no
22166 glibcxx_ld_is_mold=no
22167 if test x"$with_gnu_ld" = x"yes"; then
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22169 $as_echo_n "checking for ld version... " >&6; }
22170
22171 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22172 glibcxx_ld_is_gold=yes
22173 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22174 glibcxx_ld_is_mold=yes
22175 fi
22176 ldver=`$LD --version 2>/dev/null |
22177 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22178
22179 glibcxx_gnu_ld_version=`echo $ldver | \
22180 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22182 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22183 fi
22184
22185 # Set --gc-sections.
22186 glibcxx_have_gc_sections=no
22187 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22188 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22189 glibcxx_have_gc_sections=yes
22190 fi
22191 else
22192 glibcxx_gcsections_min_ld=21602
22193 if test x"$with_gnu_ld" = x"yes" &&
22194 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22195 glibcxx_have_gc_sections=yes
22196 fi
22197 fi
22198 if test "$glibcxx_have_gc_sections" = "yes"; then
22199 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22200 # NB: This flag only works reliably after 2.16.1. Configure tests
22201 # for this are difficult, so hard wire a value that should work.
22202
22203 ac_test_CFLAGS="${CFLAGS+set}"
22204 ac_save_CFLAGS="$CFLAGS"
22205 CFLAGS='-Wl,--gc-sections'
22206
22207 # Check for -Wl,--gc-sections
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22209 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22212 fi
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 int one(void) { return 1; }
22216 int two(void) { return 2; }
22217
22218 int
22219 main ()
22220 {
22221 two();
22222 ;
22223 return 0;
22224 }
22225 _ACEOF
22226 if ac_fn_c_try_link "$LINENO"; then :
22227 ac_gcsections=yes
22228 else
22229 ac_gcsections=no
22230 fi
22231 rm -f core conftest.err conftest.$ac_objext \
22232 conftest$ac_exeext conftest.$ac_ext
22233 if test "$ac_gcsections" = "yes"; then
22234 rm -f conftest.c
22235 touch conftest.c
22236 if $CC -c conftest.c; then
22237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22238 grep "Warning: gc-sections option ignored" > /dev/null; then
22239 ac_gcsections=no
22240 fi
22241 fi
22242 rm -f conftest.c conftest.o conftest
22243 fi
22244 if test "$ac_gcsections" = "yes"; then
22245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22246 fi
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22248 $as_echo "$ac_gcsections" >&6; }
22249
22250 if test "$ac_test_CFLAGS" = set; then
22251 CFLAGS="$ac_save_CFLAGS"
22252 else
22253 # this is the suspicious part
22254 CFLAGS=''
22255 fi
22256 fi
22257
22258 # Set -z,relro.
22259 # Note this is only for shared objects.
22260 ac_ld_relro=no
22261 if test x"$with_gnu_ld" = x"yes"; then
22262 # cygwin and mingw uses PE, which has no ELF relro support,
22263 # multi target ld may confuse configure machinery
22264 case "$host" in
22265 *-*-cygwin*)
22266 ;;
22267 *-*-mingw*)
22268 ;;
22269 *)
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22271 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22273 if test -n "$cxx_z_relo"; then
22274 OPT_LDFLAGS="-Wl,-z,relro"
22275 ac_ld_relro=yes
22276 fi
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22278 $as_echo "$ac_ld_relro" >&6; }
22279 esac
22280 fi
22281
22282 # Set linker optimization flags.
22283 if test x"$with_gnu_ld" = x"yes"; then
22284 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22285 fi
22286
22287
22288
22289
22290
22291 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22292 ac_save_CXXFLAGS="$CXXFLAGS"
22293 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22294
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22296 $as_echo_n "checking for sin in -lm... " >&6; }
22297 if ${ac_cv_lib_m_sin+:} false; then :
22298 $as_echo_n "(cached) " >&6
22299 else
22300 ac_check_lib_save_LIBS=$LIBS
22301 LIBS="-lm $LIBS"
22302 if test x$gcc_no_link = xyes; then
22303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22304 fi
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22307
22308 /* Override any GCC internal prototype to avoid an error.
22309 Use char because int might match the return type of a GCC
22310 builtin and then its argument prototype would still apply. */
22311 #ifdef __cplusplus
22312 extern "C"
22313 #endif
22314 char sin ();
22315 int
22316 main ()
22317 {
22318 return sin ();
22319 ;
22320 return 0;
22321 }
22322 _ACEOF
22323 if ac_fn_c_try_link "$LINENO"; then :
22324 ac_cv_lib_m_sin=yes
22325 else
22326 ac_cv_lib_m_sin=no
22327 fi
22328 rm -f core conftest.err conftest.$ac_objext \
22329 conftest$ac_exeext conftest.$ac_ext
22330 LIBS=$ac_check_lib_save_LIBS
22331 fi
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22333 $as_echo "$ac_cv_lib_m_sin" >&6; }
22334 if test "x$ac_cv_lib_m_sin" = xyes; then :
22335 libm="-lm"
22336 fi
22337
22338 ac_save_LIBS="$LIBS"
22339 LIBS="$LIBS $libm"
22340
22341
22342
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22344 $as_echo_n "checking for isinf declaration... " >&6; }
22345 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22346 if ${glibcxx_cv_func_isinf_use+:} false; then :
22347 $as_echo_n "(cached) " >&6
22348 else
22349
22350
22351 ac_ext=cpp
22352 ac_cpp='$CXXCPP $CPPFLAGS'
22353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359 #include <math.h>
22360 #ifdef HAVE_IEEEFP_H
22361 #include <ieeefp.h>
22362 #endif
22363
22364 int
22365 main ()
22366 {
22367 isinf(0);
22368 ;
22369 return 0;
22370 }
22371 _ACEOF
22372 if ac_fn_cxx_try_compile "$LINENO"; then :
22373 glibcxx_cv_func_isinf_use=yes
22374 else
22375 glibcxx_cv_func_isinf_use=no
22376 fi
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 ac_ext=c
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383
22384
22385 fi
22386
22387 fi
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22389 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22390
22391 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22392 for ac_func in isinf
22393 do :
22394 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22395 if test "x$ac_cv_func_isinf" = xyes; then :
22396 cat >>confdefs.h <<_ACEOF
22397 #define HAVE_ISINF 1
22398 _ACEOF
22399
22400 fi
22401 done
22402
22403 else
22404
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22406 $as_echo_n "checking for _isinf declaration... " >&6; }
22407 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22408 if ${glibcxx_cv_func__isinf_use+:} false; then :
22409 $as_echo_n "(cached) " >&6
22410 else
22411
22412
22413 ac_ext=cpp
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22418
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421 #include <math.h>
22422 #ifdef HAVE_IEEEFP_H
22423 #include <ieeefp.h>
22424 #endif
22425
22426 int
22427 main ()
22428 {
22429 _isinf(0);
22430 ;
22431 return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func__isinf_use=yes
22436 else
22437 glibcxx_cv_func__isinf_use=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445
22446
22447 fi
22448
22449 fi
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22451 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22452
22453 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22454 for ac_func in _isinf
22455 do :
22456 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22457 if test "x$ac_cv_func__isinf" = xyes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE__ISINF 1
22460 _ACEOF
22461
22462 fi
22463 done
22464
22465 fi
22466 fi
22467
22468
22469
22470
22471
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22473 $as_echo_n "checking for isnan declaration... " >&6; }
22474 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22475 if ${glibcxx_cv_func_isnan_use+:} false; then :
22476 $as_echo_n "(cached) " >&6
22477 else
22478
22479
22480 ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22485
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22488 #include <math.h>
22489 #ifdef HAVE_IEEEFP_H
22490 #include <ieeefp.h>
22491 #endif
22492
22493 int
22494 main ()
22495 {
22496 isnan(0);
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 if ac_fn_cxx_try_compile "$LINENO"; then :
22502 glibcxx_cv_func_isnan_use=yes
22503 else
22504 glibcxx_cv_func_isnan_use=no
22505 fi
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 ac_ext=c
22508 ac_cpp='$CPP $CPPFLAGS'
22509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22512
22513
22514 fi
22515
22516 fi
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22518 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22519
22520 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22521 for ac_func in isnan
22522 do :
22523 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22524 if test "x$ac_cv_func_isnan" = xyes; then :
22525 cat >>confdefs.h <<_ACEOF
22526 #define HAVE_ISNAN 1
22527 _ACEOF
22528
22529 fi
22530 done
22531
22532 else
22533
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22535 $as_echo_n "checking for _isnan declaration... " >&6; }
22536 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22537 if ${glibcxx_cv_func__isnan_use+:} false; then :
22538 $as_echo_n "(cached) " >&6
22539 else
22540
22541
22542 ac_ext=cpp
22543 ac_cpp='$CXXCPP $CPPFLAGS'
22544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547
22548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22549 /* end confdefs.h. */
22550 #include <math.h>
22551 #ifdef HAVE_IEEEFP_H
22552 #include <ieeefp.h>
22553 #endif
22554
22555 int
22556 main ()
22557 {
22558 _isnan(0);
22559 ;
22560 return 0;
22561 }
22562 _ACEOF
22563 if ac_fn_cxx_try_compile "$LINENO"; then :
22564 glibcxx_cv_func__isnan_use=yes
22565 else
22566 glibcxx_cv_func__isnan_use=no
22567 fi
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 ac_ext=c
22570 ac_cpp='$CPP $CPPFLAGS'
22571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574
22575
22576 fi
22577
22578 fi
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22580 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22581
22582 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22583 for ac_func in _isnan
22584 do :
22585 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22586 if test "x$ac_cv_func__isnan" = xyes; then :
22587 cat >>confdefs.h <<_ACEOF
22588 #define HAVE__ISNAN 1
22589 _ACEOF
22590
22591 fi
22592 done
22593
22594 fi
22595 fi
22596
22597
22598
22599
22600
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22602 $as_echo_n "checking for finite declaration... " >&6; }
22603 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22604 if ${glibcxx_cv_func_finite_use+:} false; then :
22605 $as_echo_n "(cached) " >&6
22606 else
22607
22608
22609 ac_ext=cpp
22610 ac_cpp='$CXXCPP $CPPFLAGS'
22611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22614
22615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22616 /* end confdefs.h. */
22617 #include <math.h>
22618 #ifdef HAVE_IEEEFP_H
22619 #include <ieeefp.h>
22620 #endif
22621
22622 int
22623 main ()
22624 {
22625 finite(0);
22626 ;
22627 return 0;
22628 }
22629 _ACEOF
22630 if ac_fn_cxx_try_compile "$LINENO"; then :
22631 glibcxx_cv_func_finite_use=yes
22632 else
22633 glibcxx_cv_func_finite_use=no
22634 fi
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22636 ac_ext=c
22637 ac_cpp='$CPP $CPPFLAGS'
22638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22641
22642
22643 fi
22644
22645 fi
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22647 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22648
22649 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22650 for ac_func in finite
22651 do :
22652 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22653 if test "x$ac_cv_func_finite" = xyes; then :
22654 cat >>confdefs.h <<_ACEOF
22655 #define HAVE_FINITE 1
22656 _ACEOF
22657
22658 fi
22659 done
22660
22661 else
22662
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22664 $as_echo_n "checking for _finite declaration... " >&6; }
22665 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22666 if ${glibcxx_cv_func__finite_use+:} false; then :
22667 $as_echo_n "(cached) " >&6
22668 else
22669
22670
22671 ac_ext=cpp
22672 ac_cpp='$CXXCPP $CPPFLAGS'
22673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22676
22677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22678 /* end confdefs.h. */
22679 #include <math.h>
22680 #ifdef HAVE_IEEEFP_H
22681 #include <ieeefp.h>
22682 #endif
22683
22684 int
22685 main ()
22686 {
22687 _finite(0);
22688 ;
22689 return 0;
22690 }
22691 _ACEOF
22692 if ac_fn_cxx_try_compile "$LINENO"; then :
22693 glibcxx_cv_func__finite_use=yes
22694 else
22695 glibcxx_cv_func__finite_use=no
22696 fi
22697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22698 ac_ext=c
22699 ac_cpp='$CPP $CPPFLAGS'
22700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22703
22704
22705 fi
22706
22707 fi
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22709 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22710
22711 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22712 for ac_func in _finite
22713 do :
22714 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22715 if test "x$ac_cv_func__finite" = xyes; then :
22716 cat >>confdefs.h <<_ACEOF
22717 #define HAVE__FINITE 1
22718 _ACEOF
22719
22720 fi
22721 done
22722
22723 fi
22724 fi
22725
22726
22727
22728
22729
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22731 $as_echo_n "checking for sincos declaration... " >&6; }
22732 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22733 if ${glibcxx_cv_func_sincos_use+:} false; then :
22734 $as_echo_n "(cached) " >&6
22735 else
22736
22737
22738 ac_ext=cpp
22739 ac_cpp='$CXXCPP $CPPFLAGS'
22740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22743
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22746 #include <math.h>
22747 int
22748 main ()
22749 {
22750 sincos(0, 0, 0);
22751 ;
22752 return 0;
22753 }
22754 _ACEOF
22755 if ac_fn_cxx_try_compile "$LINENO"; then :
22756 glibcxx_cv_func_sincos_use=yes
22757 else
22758 glibcxx_cv_func_sincos_use=no
22759 fi
22760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22761 ac_ext=c
22762 ac_cpp='$CPP $CPPFLAGS'
22763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22766
22767
22768 fi
22769
22770 fi
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22772 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22773
22774 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22775 for ac_func in sincos
22776 do :
22777 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22778 if test "x$ac_cv_func_sincos" = xyes; then :
22779 cat >>confdefs.h <<_ACEOF
22780 #define HAVE_SINCOS 1
22781 _ACEOF
22782
22783 fi
22784 done
22785
22786 else
22787
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22789 $as_echo_n "checking for _sincos declaration... " >&6; }
22790 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22791 if ${glibcxx_cv_func__sincos_use+:} false; then :
22792 $as_echo_n "(cached) " >&6
22793 else
22794
22795
22796 ac_ext=cpp
22797 ac_cpp='$CXXCPP $CPPFLAGS'
22798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801
22802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22803 /* end confdefs.h. */
22804 #include <math.h>
22805 int
22806 main ()
22807 {
22808 _sincos(0, 0, 0);
22809 ;
22810 return 0;
22811 }
22812 _ACEOF
22813 if ac_fn_cxx_try_compile "$LINENO"; then :
22814 glibcxx_cv_func__sincos_use=yes
22815 else
22816 glibcxx_cv_func__sincos_use=no
22817 fi
22818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 ac_ext=c
22820 ac_cpp='$CPP $CPPFLAGS'
22821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22824
22825
22826 fi
22827
22828 fi
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22830 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22831
22832 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22833 for ac_func in _sincos
22834 do :
22835 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22836 if test "x$ac_cv_func__sincos" = xyes; then :
22837 cat >>confdefs.h <<_ACEOF
22838 #define HAVE__SINCOS 1
22839 _ACEOF
22840
22841 fi
22842 done
22843
22844 fi
22845 fi
22846
22847
22848
22849
22850
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22852 $as_echo_n "checking for fpclass declaration... " >&6; }
22853 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22854 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22855 $as_echo_n "(cached) " >&6
22856 else
22857
22858
22859 ac_ext=cpp
22860 ac_cpp='$CXXCPP $CPPFLAGS'
22861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22864
22865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h. */
22867 #include <math.h>
22868 #ifdef HAVE_IEEEFP_H
22869 #include <ieeefp.h>
22870 #endif
22871
22872 int
22873 main ()
22874 {
22875 fpclass(0);
22876 ;
22877 return 0;
22878 }
22879 _ACEOF
22880 if ac_fn_cxx_try_compile "$LINENO"; then :
22881 glibcxx_cv_func_fpclass_use=yes
22882 else
22883 glibcxx_cv_func_fpclass_use=no
22884 fi
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 ac_ext=c
22887 ac_cpp='$CPP $CPPFLAGS'
22888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22891
22892
22893 fi
22894
22895 fi
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22897 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22898
22899 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22900 for ac_func in fpclass
22901 do :
22902 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22903 if test "x$ac_cv_func_fpclass" = xyes; then :
22904 cat >>confdefs.h <<_ACEOF
22905 #define HAVE_FPCLASS 1
22906 _ACEOF
22907
22908 fi
22909 done
22910
22911 else
22912
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22914 $as_echo_n "checking for _fpclass declaration... " >&6; }
22915 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22916 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22917 $as_echo_n "(cached) " >&6
22918 else
22919
22920
22921 ac_ext=cpp
22922 ac_cpp='$CXXCPP $CPPFLAGS'
22923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22926
22927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22929 #include <math.h>
22930 #ifdef HAVE_IEEEFP_H
22931 #include <ieeefp.h>
22932 #endif
22933
22934 int
22935 main ()
22936 {
22937 _fpclass(0);
22938 ;
22939 return 0;
22940 }
22941 _ACEOF
22942 if ac_fn_cxx_try_compile "$LINENO"; then :
22943 glibcxx_cv_func__fpclass_use=yes
22944 else
22945 glibcxx_cv_func__fpclass_use=no
22946 fi
22947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22948 ac_ext=c
22949 ac_cpp='$CPP $CPPFLAGS'
22950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22953
22954
22955 fi
22956
22957 fi
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22959 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22960
22961 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22962 for ac_func in _fpclass
22963 do :
22964 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22965 if test "x$ac_cv_func__fpclass" = xyes; then :
22966 cat >>confdefs.h <<_ACEOF
22967 #define HAVE__FPCLASS 1
22968 _ACEOF
22969
22970 fi
22971 done
22972
22973 fi
22974 fi
22975
22976
22977
22978
22979
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22981 $as_echo_n "checking for qfpclass declaration... " >&6; }
22982 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22983 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22984 $as_echo_n "(cached) " >&6
22985 else
22986
22987
22988 ac_ext=cpp
22989 ac_cpp='$CXXCPP $CPPFLAGS'
22990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22993
22994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
22996 #include <math.h>
22997 #ifdef HAVE_IEEEFP_H
22998 #include <ieeefp.h>
22999 #endif
23000
23001 int
23002 main ()
23003 {
23004 qfpclass(0);
23005 ;
23006 return 0;
23007 }
23008 _ACEOF
23009 if ac_fn_cxx_try_compile "$LINENO"; then :
23010 glibcxx_cv_func_qfpclass_use=yes
23011 else
23012 glibcxx_cv_func_qfpclass_use=no
23013 fi
23014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23015 ac_ext=c
23016 ac_cpp='$CPP $CPPFLAGS'
23017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23020
23021
23022 fi
23023
23024 fi
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23026 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23027
23028 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23029 for ac_func in qfpclass
23030 do :
23031 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23032 if test "x$ac_cv_func_qfpclass" = xyes; then :
23033 cat >>confdefs.h <<_ACEOF
23034 #define HAVE_QFPCLASS 1
23035 _ACEOF
23036
23037 fi
23038 done
23039
23040 else
23041
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23043 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23044 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23045 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23046 $as_echo_n "(cached) " >&6
23047 else
23048
23049
23050 ac_ext=cpp
23051 ac_cpp='$CXXCPP $CPPFLAGS'
23052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055
23056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 /* end confdefs.h. */
23058 #include <math.h>
23059 #ifdef HAVE_IEEEFP_H
23060 #include <ieeefp.h>
23061 #endif
23062
23063 int
23064 main ()
23065 {
23066 _qfpclass(0);
23067 ;
23068 return 0;
23069 }
23070 _ACEOF
23071 if ac_fn_cxx_try_compile "$LINENO"; then :
23072 glibcxx_cv_func__qfpclass_use=yes
23073 else
23074 glibcxx_cv_func__qfpclass_use=no
23075 fi
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23082
23083
23084 fi
23085
23086 fi
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23088 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23089
23090 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23091 for ac_func in _qfpclass
23092 do :
23093 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23094 if test "x$ac_cv_func__qfpclass" = xyes; then :
23095 cat >>confdefs.h <<_ACEOF
23096 #define HAVE__QFPCLASS 1
23097 _ACEOF
23098
23099 fi
23100 done
23101
23102 fi
23103 fi
23104
23105
23106
23107
23108
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23110 $as_echo_n "checking for hypot declaration... " >&6; }
23111 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23112 if ${glibcxx_cv_func_hypot_use+:} false; then :
23113 $as_echo_n "(cached) " >&6
23114 else
23115
23116
23117 ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23122
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23125 #include <math.h>
23126 int
23127 main ()
23128 {
23129 hypot(0, 0);
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 if ac_fn_cxx_try_compile "$LINENO"; then :
23135 glibcxx_cv_func_hypot_use=yes
23136 else
23137 glibcxx_cv_func_hypot_use=no
23138 fi
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23145
23146
23147 fi
23148
23149 fi
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23151 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23152
23153 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23154 for ac_func in hypot
23155 do :
23156 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23157 if test "x$ac_cv_func_hypot" = xyes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define HAVE_HYPOT 1
23160 _ACEOF
23161
23162 fi
23163 done
23164
23165 else
23166
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23168 $as_echo_n "checking for _hypot declaration... " >&6; }
23169 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23170 if ${glibcxx_cv_func__hypot_use+:} false; then :
23171 $as_echo_n "(cached) " >&6
23172 else
23173
23174
23175 ac_ext=cpp
23176 ac_cpp='$CXXCPP $CPPFLAGS'
23177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23180
23181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23182 /* end confdefs.h. */
23183 #include <math.h>
23184 int
23185 main ()
23186 {
23187 _hypot(0, 0);
23188 ;
23189 return 0;
23190 }
23191 _ACEOF
23192 if ac_fn_cxx_try_compile "$LINENO"; then :
23193 glibcxx_cv_func__hypot_use=yes
23194 else
23195 glibcxx_cv_func__hypot_use=no
23196 fi
23197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23198 ac_ext=c
23199 ac_cpp='$CPP $CPPFLAGS'
23200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23203
23204
23205 fi
23206
23207 fi
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23209 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23210
23211 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23212 for ac_func in _hypot
23213 do :
23214 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23215 if test "x$ac_cv_func__hypot" = xyes; then :
23216 cat >>confdefs.h <<_ACEOF
23217 #define HAVE__HYPOT 1
23218 _ACEOF
23219
23220 fi
23221 done
23222
23223 fi
23224 fi
23225
23226
23227
23228
23229
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23231 $as_echo_n "checking for float trig functions... " >&6; }
23232 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23235
23236
23237 ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23242
23243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23245 #include <math.h>
23246 int
23247 main ()
23248 {
23249 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23250 ;
23251 return 0;
23252 }
23253 _ACEOF
23254 if ac_fn_cxx_try_compile "$LINENO"; then :
23255 glibcxx_cv_func_float_trig_use=yes
23256 else
23257 glibcxx_cv_func_float_trig_use=no
23258 fi
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 ac_ext=c
23261 ac_cpp='$CPP $CPPFLAGS'
23262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23265
23266 fi
23267
23268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23269 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23270 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23271 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23272 do :
23273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23276 cat >>confdefs.h <<_ACEOF
23277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23278 _ACEOF
23279
23280 fi
23281 done
23282
23283 else
23284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23285 $as_echo_n "checking for _float trig functions... " >&6; }
23286 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23289
23290
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23300 int
23301 main ()
23302 {
23303 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23304 ;
23305 return 0;
23306 }
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func__float_trig_use=yes
23310 else
23311 glibcxx_cv_func__float_trig_use=no
23312 fi
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23319
23320 fi
23321
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23323 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23324 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23325 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23326 do :
23327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23332 _ACEOF
23333
23334 fi
23335 done
23336
23337 fi
23338 fi
23339
23340
23341
23342
23343
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23345 $as_echo_n "checking for float round functions... " >&6; }
23346 if ${glibcxx_cv_func_float_round_use+:} false; then :
23347 $as_echo_n "(cached) " >&6
23348 else
23349
23350
23351 ac_ext=cpp
23352 ac_cpp='$CXXCPP $CPPFLAGS'
23353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23356
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23359 #include <math.h>
23360 int
23361 main ()
23362 {
23363 ceilf (0); floorf (0);
23364 ;
23365 return 0;
23366 }
23367 _ACEOF
23368 if ac_fn_cxx_try_compile "$LINENO"; then :
23369 glibcxx_cv_func_float_round_use=yes
23370 else
23371 glibcxx_cv_func_float_round_use=no
23372 fi
23373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23374 ac_ext=c
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23379
23380 fi
23381
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23383 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23384 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23385 for ac_func in ceilf floorf
23386 do :
23387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23390 cat >>confdefs.h <<_ACEOF
23391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23392 _ACEOF
23393
23394 fi
23395 done
23396
23397 else
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23399 $as_echo_n "checking for _float round functions... " >&6; }
23400 if ${glibcxx_cv_func__float_round_use+:} false; then :
23401 $as_echo_n "(cached) " >&6
23402 else
23403
23404
23405 ac_ext=cpp
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23410
23411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23412 /* end confdefs.h. */
23413 #include <math.h>
23414 int
23415 main ()
23416 {
23417 _ceilf (0); _floorf (0);
23418 ;
23419 return 0;
23420 }
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423 glibcxx_cv_func__float_round_use=yes
23424 else
23425 glibcxx_cv_func__float_round_use=no
23426 fi
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433
23434 fi
23435
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23437 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23438 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23439 for ac_func in _ceilf _floorf
23440 do :
23441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23444 cat >>confdefs.h <<_ACEOF
23445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23446 _ACEOF
23447
23448 fi
23449 done
23450
23451 fi
23452 fi
23453
23454
23455
23456
23457
23458
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23460 $as_echo_n "checking for expf declaration... " >&6; }
23461 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23462 if ${glibcxx_cv_func_expf_use+:} false; then :
23463 $as_echo_n "(cached) " >&6
23464 else
23465
23466
23467 ac_ext=cpp
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23472
23473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23474 /* end confdefs.h. */
23475 #include <math.h>
23476 #ifdef HAVE_IEEEFP_H
23477 #include <ieeefp.h>
23478 #endif
23479
23480 int
23481 main ()
23482 {
23483 expf(0);
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 if ac_fn_cxx_try_compile "$LINENO"; then :
23489 glibcxx_cv_func_expf_use=yes
23490 else
23491 glibcxx_cv_func_expf_use=no
23492 fi
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499
23500
23501 fi
23502
23503 fi
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23505 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23506
23507 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23508 for ac_func in expf
23509 do :
23510 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23511 if test "x$ac_cv_func_expf" = xyes; then :
23512 cat >>confdefs.h <<_ACEOF
23513 #define HAVE_EXPF 1
23514 _ACEOF
23515
23516 fi
23517 done
23518
23519 else
23520
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23522 $as_echo_n "checking for _expf declaration... " >&6; }
23523 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23524 if ${glibcxx_cv_func__expf_use+:} false; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23527
23528
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23541
23542 int
23543 main ()
23544 {
23545 _expf(0);
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func__expf_use=yes
23552 else
23553 glibcxx_cv_func__expf_use=no
23554 fi
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23561
23562
23563 fi
23564
23565 fi
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23567 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23568
23569 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23570 for ac_func in _expf
23571 do :
23572 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23573 if test "x$ac_cv_func__expf" = xyes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE__EXPF 1
23576 _ACEOF
23577
23578 fi
23579 done
23580
23581 fi
23582 fi
23583
23584
23585
23586
23587
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23589 $as_echo_n "checking for isnanf declaration... " >&6; }
23590 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23591 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23592 $as_echo_n "(cached) " >&6
23593 else
23594
23595
23596 ac_ext=cpp
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23601
23602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23604 #include <math.h>
23605 #ifdef HAVE_IEEEFP_H
23606 #include <ieeefp.h>
23607 #endif
23608
23609 int
23610 main ()
23611 {
23612 isnanf(0);
23613 ;
23614 return 0;
23615 }
23616 _ACEOF
23617 if ac_fn_cxx_try_compile "$LINENO"; then :
23618 glibcxx_cv_func_isnanf_use=yes
23619 else
23620 glibcxx_cv_func_isnanf_use=no
23621 fi
23622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23623 ac_ext=c
23624 ac_cpp='$CPP $CPPFLAGS'
23625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628
23629
23630 fi
23631
23632 fi
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23634 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23635
23636 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23637 for ac_func in isnanf
23638 do :
23639 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23640 if test "x$ac_cv_func_isnanf" = xyes; then :
23641 cat >>confdefs.h <<_ACEOF
23642 #define HAVE_ISNANF 1
23643 _ACEOF
23644
23645 fi
23646 done
23647
23648 else
23649
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23651 $as_echo_n "checking for _isnanf declaration... " >&6; }
23652 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23653 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23656
23657
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23663
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23667 #ifdef HAVE_IEEEFP_H
23668 #include <ieeefp.h>
23669 #endif
23670
23671 int
23672 main ()
23673 {
23674 _isnanf(0);
23675 ;
23676 return 0;
23677 }
23678 _ACEOF
23679 if ac_fn_cxx_try_compile "$LINENO"; then :
23680 glibcxx_cv_func__isnanf_use=yes
23681 else
23682 glibcxx_cv_func__isnanf_use=no
23683 fi
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 ac_ext=c
23686 ac_cpp='$CPP $CPPFLAGS'
23687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690
23691
23692 fi
23693
23694 fi
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23696 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23697
23698 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23699 for ac_func in _isnanf
23700 do :
23701 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23702 if test "x$ac_cv_func__isnanf" = xyes; then :
23703 cat >>confdefs.h <<_ACEOF
23704 #define HAVE__ISNANF 1
23705 _ACEOF
23706
23707 fi
23708 done
23709
23710 fi
23711 fi
23712
23713
23714
23715
23716
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23718 $as_echo_n "checking for isinff declaration... " >&6; }
23719 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23720 if ${glibcxx_cv_func_isinff_use+:} false; then :
23721 $as_echo_n "(cached) " >&6
23722 else
23723
23724
23725 ac_ext=cpp
23726 ac_cpp='$CXXCPP $CPPFLAGS'
23727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23730
23731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23732 /* end confdefs.h. */
23733 #include <math.h>
23734 #ifdef HAVE_IEEEFP_H
23735 #include <ieeefp.h>
23736 #endif
23737
23738 int
23739 main ()
23740 {
23741 isinff(0);
23742 ;
23743 return 0;
23744 }
23745 _ACEOF
23746 if ac_fn_cxx_try_compile "$LINENO"; then :
23747 glibcxx_cv_func_isinff_use=yes
23748 else
23749 glibcxx_cv_func_isinff_use=no
23750 fi
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23752 ac_ext=c
23753 ac_cpp='$CPP $CPPFLAGS'
23754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23757
23758
23759 fi
23760
23761 fi
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23763 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23764
23765 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23766 for ac_func in isinff
23767 do :
23768 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23769 if test "x$ac_cv_func_isinff" = xyes; then :
23770 cat >>confdefs.h <<_ACEOF
23771 #define HAVE_ISINFF 1
23772 _ACEOF
23773
23774 fi
23775 done
23776
23777 else
23778
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23780 $as_echo_n "checking for _isinff declaration... " >&6; }
23781 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23782 if ${glibcxx_cv_func__isinff_use+:} false; then :
23783 $as_echo_n "(cached) " >&6
23784 else
23785
23786
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23795 #include <math.h>
23796 #ifdef HAVE_IEEEFP_H
23797 #include <ieeefp.h>
23798 #endif
23799
23800 int
23801 main ()
23802 {
23803 _isinff(0);
23804 ;
23805 return 0;
23806 }
23807 _ACEOF
23808 if ac_fn_cxx_try_compile "$LINENO"; then :
23809 glibcxx_cv_func__isinff_use=yes
23810 else
23811 glibcxx_cv_func__isinff_use=no
23812 fi
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23819
23820
23821 fi
23822
23823 fi
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23825 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23826
23827 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23828 for ac_func in _isinff
23829 do :
23830 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23831 if test "x$ac_cv_func__isinff" = xyes; then :
23832 cat >>confdefs.h <<_ACEOF
23833 #define HAVE__ISINFF 1
23834 _ACEOF
23835
23836 fi
23837 done
23838
23839 fi
23840 fi
23841
23842
23843
23844
23845
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23847 $as_echo_n "checking for atan2f declaration... " >&6; }
23848 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23849 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23850 $as_echo_n "(cached) " >&6
23851 else
23852
23853
23854 ac_ext=cpp
23855 ac_cpp='$CXXCPP $CPPFLAGS'
23856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23859
23860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23861 /* end confdefs.h. */
23862 #include <math.h>
23863 int
23864 main ()
23865 {
23866 atan2f(0, 0);
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 if ac_fn_cxx_try_compile "$LINENO"; then :
23872 glibcxx_cv_func_atan2f_use=yes
23873 else
23874 glibcxx_cv_func_atan2f_use=no
23875 fi
23876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877 ac_ext=c
23878 ac_cpp='$CPP $CPPFLAGS'
23879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23882
23883
23884 fi
23885
23886 fi
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23889
23890 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23891 for ac_func in atan2f
23892 do :
23893 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23894 if test "x$ac_cv_func_atan2f" = xyes; then :
23895 cat >>confdefs.h <<_ACEOF
23896 #define HAVE_ATAN2F 1
23897 _ACEOF
23898
23899 fi
23900 done
23901
23902 else
23903
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23905 $as_echo_n "checking for _atan2f declaration... " >&6; }
23906 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23907 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23908 $as_echo_n "(cached) " >&6
23909 else
23910
23911
23912 ac_ext=cpp
23913 ac_cpp='$CXXCPP $CPPFLAGS'
23914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23917
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23920 #include <math.h>
23921 int
23922 main ()
23923 {
23924 _atan2f(0, 0);
23925 ;
23926 return 0;
23927 }
23928 _ACEOF
23929 if ac_fn_cxx_try_compile "$LINENO"; then :
23930 glibcxx_cv_func__atan2f_use=yes
23931 else
23932 glibcxx_cv_func__atan2f_use=no
23933 fi
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ac_ext=c
23936 ac_cpp='$CPP $CPPFLAGS'
23937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23940
23941
23942 fi
23943
23944 fi
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23946 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23947
23948 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23949 for ac_func in _atan2f
23950 do :
23951 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23952 if test "x$ac_cv_func__atan2f" = xyes; then :
23953 cat >>confdefs.h <<_ACEOF
23954 #define HAVE__ATAN2F 1
23955 _ACEOF
23956
23957 fi
23958 done
23959
23960 fi
23961 fi
23962
23963
23964
23965
23966
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23968 $as_echo_n "checking for fabsf declaration... " >&6; }
23969 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23970 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23971 $as_echo_n "(cached) " >&6
23972 else
23973
23974
23975 ac_ext=cpp
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23980
23981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23983 #include <math.h>
23984 #ifdef HAVE_IEEEFP_H
23985 #include <ieeefp.h>
23986 #endif
23987
23988 int
23989 main ()
23990 {
23991 fabsf(0);
23992 ;
23993 return 0;
23994 }
23995 _ACEOF
23996 if ac_fn_cxx_try_compile "$LINENO"; then :
23997 glibcxx_cv_func_fabsf_use=yes
23998 else
23999 glibcxx_cv_func_fabsf_use=no
24000 fi
24001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_ext=c
24003 ac_cpp='$CPP $CPPFLAGS'
24004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24007
24008
24009 fi
24010
24011 fi
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24013 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24014
24015 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24016 for ac_func in fabsf
24017 do :
24018 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24019 if test "x$ac_cv_func_fabsf" = xyes; then :
24020 cat >>confdefs.h <<_ACEOF
24021 #define HAVE_FABSF 1
24022 _ACEOF
24023
24024 fi
24025 done
24026
24027 else
24028
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24030 $as_echo_n "checking for _fabsf declaration... " >&6; }
24031 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24032 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24033 $as_echo_n "(cached) " >&6
24034 else
24035
24036
24037 ac_ext=cpp
24038 ac_cpp='$CXXCPP $CPPFLAGS'
24039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24042
24043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24044 /* end confdefs.h. */
24045 #include <math.h>
24046 #ifdef HAVE_IEEEFP_H
24047 #include <ieeefp.h>
24048 #endif
24049
24050 int
24051 main ()
24052 {
24053 _fabsf(0);
24054 ;
24055 return 0;
24056 }
24057 _ACEOF
24058 if ac_fn_cxx_try_compile "$LINENO"; then :
24059 glibcxx_cv_func__fabsf_use=yes
24060 else
24061 glibcxx_cv_func__fabsf_use=no
24062 fi
24063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 ac_ext=c
24065 ac_cpp='$CPP $CPPFLAGS'
24066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24069
24070
24071 fi
24072
24073 fi
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24075 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24076
24077 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24078 for ac_func in _fabsf
24079 do :
24080 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24081 if test "x$ac_cv_func__fabsf" = xyes; then :
24082 cat >>confdefs.h <<_ACEOF
24083 #define HAVE__FABSF 1
24084 _ACEOF
24085
24086 fi
24087 done
24088
24089 fi
24090 fi
24091
24092
24093
24094
24095
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24097 $as_echo_n "checking for fmodf declaration... " >&6; }
24098 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24099 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24100 $as_echo_n "(cached) " >&6
24101 else
24102
24103
24104 ac_ext=cpp
24105 ac_cpp='$CXXCPP $CPPFLAGS'
24106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24109
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24112 #include <math.h>
24113 int
24114 main ()
24115 {
24116 fmodf(0, 0);
24117 ;
24118 return 0;
24119 }
24120 _ACEOF
24121 if ac_fn_cxx_try_compile "$LINENO"; then :
24122 glibcxx_cv_func_fmodf_use=yes
24123 else
24124 glibcxx_cv_func_fmodf_use=no
24125 fi
24126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 ac_ext=c
24128 ac_cpp='$CPP $CPPFLAGS'
24129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24132
24133
24134 fi
24135
24136 fi
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24138 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24139
24140 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24141 for ac_func in fmodf
24142 do :
24143 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24144 if test "x$ac_cv_func_fmodf" = xyes; then :
24145 cat >>confdefs.h <<_ACEOF
24146 #define HAVE_FMODF 1
24147 _ACEOF
24148
24149 fi
24150 done
24151
24152 else
24153
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24155 $as_echo_n "checking for _fmodf declaration... " >&6; }
24156 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24157 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24160
24161
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24171 int
24172 main ()
24173 {
24174 _fmodf(0, 0);
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func__fmodf_use=yes
24181 else
24182 glibcxx_cv_func__fmodf_use=no
24183 fi
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24190
24191
24192 fi
24193
24194 fi
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24196 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24197
24198 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24199 for ac_func in _fmodf
24200 do :
24201 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24202 if test "x$ac_cv_func__fmodf" = xyes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE__FMODF 1
24205 _ACEOF
24206
24207 fi
24208 done
24209
24210 fi
24211 fi
24212
24213
24214
24215
24216
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24218 $as_echo_n "checking for frexpf declaration... " >&6; }
24219 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24220 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24221 $as_echo_n "(cached) " >&6
24222 else
24223
24224
24225 ac_ext=cpp
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24230
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24233 #include <math.h>
24234 int
24235 main ()
24236 {
24237 frexpf(0, 0);
24238 ;
24239 return 0;
24240 }
24241 _ACEOF
24242 if ac_fn_cxx_try_compile "$LINENO"; then :
24243 glibcxx_cv_func_frexpf_use=yes
24244 else
24245 glibcxx_cv_func_frexpf_use=no
24246 fi
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 ac_ext=c
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24253
24254
24255 fi
24256
24257 fi
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24259 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24260
24261 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24262 for ac_func in frexpf
24263 do :
24264 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24265 if test "x$ac_cv_func_frexpf" = xyes; then :
24266 cat >>confdefs.h <<_ACEOF
24267 #define HAVE_FREXPF 1
24268 _ACEOF
24269
24270 fi
24271 done
24272
24273 else
24274
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24276 $as_echo_n "checking for _frexpf declaration... " >&6; }
24277 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24278 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24279 $as_echo_n "(cached) " >&6
24280 else
24281
24282
24283 ac_ext=cpp
24284 ac_cpp='$CXXCPP $CPPFLAGS'
24285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24288
24289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24291 #include <math.h>
24292 int
24293 main ()
24294 {
24295 _frexpf(0, 0);
24296 ;
24297 return 0;
24298 }
24299 _ACEOF
24300 if ac_fn_cxx_try_compile "$LINENO"; then :
24301 glibcxx_cv_func__frexpf_use=yes
24302 else
24303 glibcxx_cv_func__frexpf_use=no
24304 fi
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306 ac_ext=c
24307 ac_cpp='$CPP $CPPFLAGS'
24308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24311
24312
24313 fi
24314
24315 fi
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24317 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24318
24319 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24320 for ac_func in _frexpf
24321 do :
24322 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24323 if test "x$ac_cv_func__frexpf" = xyes; then :
24324 cat >>confdefs.h <<_ACEOF
24325 #define HAVE__FREXPF 1
24326 _ACEOF
24327
24328 fi
24329 done
24330
24331 fi
24332 fi
24333
24334
24335
24336
24337
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24339 $as_echo_n "checking for hypotf declaration... " >&6; }
24340 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24341 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24342 $as_echo_n "(cached) " >&6
24343 else
24344
24345
24346 ac_ext=cpp
24347 ac_cpp='$CXXCPP $CPPFLAGS'
24348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24351
24352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24353 /* end confdefs.h. */
24354 #include <math.h>
24355 int
24356 main ()
24357 {
24358 hypotf(0, 0);
24359 ;
24360 return 0;
24361 }
24362 _ACEOF
24363 if ac_fn_cxx_try_compile "$LINENO"; then :
24364 glibcxx_cv_func_hypotf_use=yes
24365 else
24366 glibcxx_cv_func_hypotf_use=no
24367 fi
24368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 ac_ext=c
24370 ac_cpp='$CPP $CPPFLAGS'
24371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24374
24375
24376 fi
24377
24378 fi
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24380 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24381
24382 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24383 for ac_func in hypotf
24384 do :
24385 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24386 if test "x$ac_cv_func_hypotf" = xyes; then :
24387 cat >>confdefs.h <<_ACEOF
24388 #define HAVE_HYPOTF 1
24389 _ACEOF
24390
24391 fi
24392 done
24393
24394 else
24395
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24397 $as_echo_n "checking for _hypotf declaration... " >&6; }
24398 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24399 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24400 $as_echo_n "(cached) " >&6
24401 else
24402
24403
24404 ac_ext=cpp
24405 ac_cpp='$CXXCPP $CPPFLAGS'
24406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409
24410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24412 #include <math.h>
24413 int
24414 main ()
24415 {
24416 _hypotf(0, 0);
24417 ;
24418 return 0;
24419 }
24420 _ACEOF
24421 if ac_fn_cxx_try_compile "$LINENO"; then :
24422 glibcxx_cv_func__hypotf_use=yes
24423 else
24424 glibcxx_cv_func__hypotf_use=no
24425 fi
24426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24427 ac_ext=c
24428 ac_cpp='$CPP $CPPFLAGS'
24429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24432
24433
24434 fi
24435
24436 fi
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24438 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24439
24440 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24441 for ac_func in _hypotf
24442 do :
24443 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24444 if test "x$ac_cv_func__hypotf" = xyes; then :
24445 cat >>confdefs.h <<_ACEOF
24446 #define HAVE__HYPOTF 1
24447 _ACEOF
24448
24449 fi
24450 done
24451
24452 fi
24453 fi
24454
24455
24456
24457
24458
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24460 $as_echo_n "checking for ldexpf declaration... " >&6; }
24461 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24462 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24463 $as_echo_n "(cached) " >&6
24464 else
24465
24466
24467 ac_ext=cpp
24468 ac_cpp='$CXXCPP $CPPFLAGS'
24469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24472
24473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24474 /* end confdefs.h. */
24475 #include <math.h>
24476 int
24477 main ()
24478 {
24479 ldexpf(0, 0);
24480 ;
24481 return 0;
24482 }
24483 _ACEOF
24484 if ac_fn_cxx_try_compile "$LINENO"; then :
24485 glibcxx_cv_func_ldexpf_use=yes
24486 else
24487 glibcxx_cv_func_ldexpf_use=no
24488 fi
24489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24490 ac_ext=c
24491 ac_cpp='$CPP $CPPFLAGS'
24492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24495
24496
24497 fi
24498
24499 fi
24500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24501 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24502
24503 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24504 for ac_func in ldexpf
24505 do :
24506 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24507 if test "x$ac_cv_func_ldexpf" = xyes; then :
24508 cat >>confdefs.h <<_ACEOF
24509 #define HAVE_LDEXPF 1
24510 _ACEOF
24511
24512 fi
24513 done
24514
24515 else
24516
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24518 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24519 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24520 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24521 $as_echo_n "(cached) " >&6
24522 else
24523
24524
24525 ac_ext=cpp
24526 ac_cpp='$CXXCPP $CPPFLAGS'
24527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24530
24531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24532 /* end confdefs.h. */
24533 #include <math.h>
24534 int
24535 main ()
24536 {
24537 _ldexpf(0, 0);
24538 ;
24539 return 0;
24540 }
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func__ldexpf_use=yes
24544 else
24545 glibcxx_cv_func__ldexpf_use=no
24546 fi
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24553
24554
24555 fi
24556
24557 fi
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24559 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24560
24561 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24562 for ac_func in _ldexpf
24563 do :
24564 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24565 if test "x$ac_cv_func__ldexpf" = xyes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE__LDEXPF 1
24568 _ACEOF
24569
24570 fi
24571 done
24572
24573 fi
24574 fi
24575
24576
24577
24578
24579
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24581 $as_echo_n "checking for logf declaration... " >&6; }
24582 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24583 if ${glibcxx_cv_func_logf_use+:} false; then :
24584 $as_echo_n "(cached) " >&6
24585 else
24586
24587
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24593
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596 #include <math.h>
24597 #ifdef HAVE_IEEEFP_H
24598 #include <ieeefp.h>
24599 #endif
24600
24601 int
24602 main ()
24603 {
24604 logf(0);
24605 ;
24606 return 0;
24607 }
24608 _ACEOF
24609 if ac_fn_cxx_try_compile "$LINENO"; then :
24610 glibcxx_cv_func_logf_use=yes
24611 else
24612 glibcxx_cv_func_logf_use=no
24613 fi
24614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24615 ac_ext=c
24616 ac_cpp='$CPP $CPPFLAGS'
24617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24620
24621
24622 fi
24623
24624 fi
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24626 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24627
24628 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24629 for ac_func in logf
24630 do :
24631 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24632 if test "x$ac_cv_func_logf" = xyes; then :
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_LOGF 1
24635 _ACEOF
24636
24637 fi
24638 done
24639
24640 else
24641
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24643 $as_echo_n "checking for _logf declaration... " >&6; }
24644 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24645 if ${glibcxx_cv_func__logf_use+:} false; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24648
24649
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24655
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24659 #ifdef HAVE_IEEEFP_H
24660 #include <ieeefp.h>
24661 #endif
24662
24663 int
24664 main ()
24665 {
24666 _logf(0);
24667 ;
24668 return 0;
24669 }
24670 _ACEOF
24671 if ac_fn_cxx_try_compile "$LINENO"; then :
24672 glibcxx_cv_func__logf_use=yes
24673 else
24674 glibcxx_cv_func__logf_use=no
24675 fi
24676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24677 ac_ext=c
24678 ac_cpp='$CPP $CPPFLAGS'
24679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24682
24683
24684 fi
24685
24686 fi
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24688 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24689
24690 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24691 for ac_func in _logf
24692 do :
24693 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24694 if test "x$ac_cv_func__logf" = xyes; then :
24695 cat >>confdefs.h <<_ACEOF
24696 #define HAVE__LOGF 1
24697 _ACEOF
24698
24699 fi
24700 done
24701
24702 fi
24703 fi
24704
24705
24706
24707
24708
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24710 $as_echo_n "checking for log10f declaration... " >&6; }
24711 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24712 if ${glibcxx_cv_func_log10f_use+:} false; then :
24713 $as_echo_n "(cached) " >&6
24714 else
24715
24716
24717 ac_ext=cpp
24718 ac_cpp='$CXXCPP $CPPFLAGS'
24719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24722
24723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24724 /* end confdefs.h. */
24725 #include <math.h>
24726 #ifdef HAVE_IEEEFP_H
24727 #include <ieeefp.h>
24728 #endif
24729
24730 int
24731 main ()
24732 {
24733 log10f(0);
24734 ;
24735 return 0;
24736 }
24737 _ACEOF
24738 if ac_fn_cxx_try_compile "$LINENO"; then :
24739 glibcxx_cv_func_log10f_use=yes
24740 else
24741 glibcxx_cv_func_log10f_use=no
24742 fi
24743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24744 ac_ext=c
24745 ac_cpp='$CPP $CPPFLAGS'
24746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24749
24750
24751 fi
24752
24753 fi
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24755 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24756
24757 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24758 for ac_func in log10f
24759 do :
24760 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24761 if test "x$ac_cv_func_log10f" = xyes; then :
24762 cat >>confdefs.h <<_ACEOF
24763 #define HAVE_LOG10F 1
24764 _ACEOF
24765
24766 fi
24767 done
24768
24769 else
24770
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24772 $as_echo_n "checking for _log10f declaration... " >&6; }
24773 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24774 if ${glibcxx_cv_func__log10f_use+:} false; then :
24775 $as_echo_n "(cached) " >&6
24776 else
24777
24778
24779 ac_ext=cpp
24780 ac_cpp='$CXXCPP $CPPFLAGS'
24781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24784
24785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24787 #include <math.h>
24788 #ifdef HAVE_IEEEFP_H
24789 #include <ieeefp.h>
24790 #endif
24791
24792 int
24793 main ()
24794 {
24795 _log10f(0);
24796 ;
24797 return 0;
24798 }
24799 _ACEOF
24800 if ac_fn_cxx_try_compile "$LINENO"; then :
24801 glibcxx_cv_func__log10f_use=yes
24802 else
24803 glibcxx_cv_func__log10f_use=no
24804 fi
24805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24806 ac_ext=c
24807 ac_cpp='$CPP $CPPFLAGS'
24808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24811
24812
24813 fi
24814
24815 fi
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24817 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24818
24819 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24820 for ac_func in _log10f
24821 do :
24822 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24823 if test "x$ac_cv_func__log10f" = xyes; then :
24824 cat >>confdefs.h <<_ACEOF
24825 #define HAVE__LOG10F 1
24826 _ACEOF
24827
24828 fi
24829 done
24830
24831 fi
24832 fi
24833
24834
24835
24836
24837
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24839 $as_echo_n "checking for modff declaration... " >&6; }
24840 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24841 if ${glibcxx_cv_func_modff_use+:} false; then :
24842 $as_echo_n "(cached) " >&6
24843 else
24844
24845
24846 ac_ext=cpp
24847 ac_cpp='$CXXCPP $CPPFLAGS'
24848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24851
24852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24853 /* end confdefs.h. */
24854 #include <math.h>
24855 int
24856 main ()
24857 {
24858 modff(0, 0);
24859 ;
24860 return 0;
24861 }
24862 _ACEOF
24863 if ac_fn_cxx_try_compile "$LINENO"; then :
24864 glibcxx_cv_func_modff_use=yes
24865 else
24866 glibcxx_cv_func_modff_use=no
24867 fi
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 ac_ext=c
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24874
24875
24876 fi
24877
24878 fi
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24880 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24881
24882 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24883 for ac_func in modff
24884 do :
24885 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24886 if test "x$ac_cv_func_modff" = xyes; then :
24887 cat >>confdefs.h <<_ACEOF
24888 #define HAVE_MODFF 1
24889 _ACEOF
24890
24891 fi
24892 done
24893
24894 else
24895
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24897 $as_echo_n "checking for _modff declaration... " >&6; }
24898 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24899 if ${glibcxx_cv_func__modff_use+:} false; then :
24900 $as_echo_n "(cached) " >&6
24901 else
24902
24903
24904 ac_ext=cpp
24905 ac_cpp='$CXXCPP $CPPFLAGS'
24906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24909
24910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24911 /* end confdefs.h. */
24912 #include <math.h>
24913 int
24914 main ()
24915 {
24916 _modff(0, 0);
24917 ;
24918 return 0;
24919 }
24920 _ACEOF
24921 if ac_fn_cxx_try_compile "$LINENO"; then :
24922 glibcxx_cv_func__modff_use=yes
24923 else
24924 glibcxx_cv_func__modff_use=no
24925 fi
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 ac_ext=c
24928 ac_cpp='$CPP $CPPFLAGS'
24929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24932
24933
24934 fi
24935
24936 fi
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24938 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24939
24940 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24941 for ac_func in _modff
24942 do :
24943 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24944 if test "x$ac_cv_func__modff" = xyes; then :
24945 cat >>confdefs.h <<_ACEOF
24946 #define HAVE__MODFF 1
24947 _ACEOF
24948
24949 fi
24950 done
24951
24952 fi
24953 fi
24954
24955
24956
24957
24958
24959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24960 $as_echo_n "checking for modf declaration... " >&6; }
24961 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24962 if ${glibcxx_cv_func_modf_use+:} false; then :
24963 $as_echo_n "(cached) " >&6
24964 else
24965
24966
24967 ac_ext=cpp
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24972
24973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24974 /* end confdefs.h. */
24975 #include <math.h>
24976 int
24977 main ()
24978 {
24979 modf(0, 0);
24980 ;
24981 return 0;
24982 }
24983 _ACEOF
24984 if ac_fn_cxx_try_compile "$LINENO"; then :
24985 glibcxx_cv_func_modf_use=yes
24986 else
24987 glibcxx_cv_func_modf_use=no
24988 fi
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 ac_ext=c
24991 ac_cpp='$CPP $CPPFLAGS'
24992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24995
24996
24997 fi
24998
24999 fi
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25001 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25002
25003 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25004 for ac_func in modf
25005 do :
25006 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25007 if test "x$ac_cv_func_modf" = xyes; then :
25008 cat >>confdefs.h <<_ACEOF
25009 #define HAVE_MODF 1
25010 _ACEOF
25011
25012 fi
25013 done
25014
25015 else
25016
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25018 $as_echo_n "checking for _modf declaration... " >&6; }
25019 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25020 if ${glibcxx_cv_func__modf_use+:} false; then :
25021 $as_echo_n "(cached) " >&6
25022 else
25023
25024
25025 ac_ext=cpp
25026 ac_cpp='$CXXCPP $CPPFLAGS'
25027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25030
25031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25033 #include <math.h>
25034 int
25035 main ()
25036 {
25037 _modf(0, 0);
25038 ;
25039 return 0;
25040 }
25041 _ACEOF
25042 if ac_fn_cxx_try_compile "$LINENO"; then :
25043 glibcxx_cv_func__modf_use=yes
25044 else
25045 glibcxx_cv_func__modf_use=no
25046 fi
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25053
25054
25055 fi
25056
25057 fi
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25059 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25060
25061 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25062 for ac_func in _modf
25063 do :
25064 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25065 if test "x$ac_cv_func__modf" = xyes; then :
25066 cat >>confdefs.h <<_ACEOF
25067 #define HAVE__MODF 1
25068 _ACEOF
25069
25070 fi
25071 done
25072
25073 fi
25074 fi
25075
25076
25077
25078
25079
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25081 $as_echo_n "checking for powf declaration... " >&6; }
25082 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25083 if ${glibcxx_cv_func_powf_use+:} false; then :
25084 $as_echo_n "(cached) " >&6
25085 else
25086
25087
25088 ac_ext=cpp
25089 ac_cpp='$CXXCPP $CPPFLAGS'
25090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25093
25094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25095 /* end confdefs.h. */
25096 #include <math.h>
25097 int
25098 main ()
25099 {
25100 powf(0, 0);
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 if ac_fn_cxx_try_compile "$LINENO"; then :
25106 glibcxx_cv_func_powf_use=yes
25107 else
25108 glibcxx_cv_func_powf_use=no
25109 fi
25110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25111 ac_ext=c
25112 ac_cpp='$CPP $CPPFLAGS'
25113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25116
25117
25118 fi
25119
25120 fi
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25122 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25123
25124 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25125 for ac_func in powf
25126 do :
25127 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25128 if test "x$ac_cv_func_powf" = xyes; then :
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_POWF 1
25131 _ACEOF
25132
25133 fi
25134 done
25135
25136 else
25137
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25139 $as_echo_n "checking for _powf declaration... " >&6; }
25140 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25141 if ${glibcxx_cv_func__powf_use+:} false; then :
25142 $as_echo_n "(cached) " >&6
25143 else
25144
25145
25146 ac_ext=cpp
25147 ac_cpp='$CXXCPP $CPPFLAGS'
25148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25151
25152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25153 /* end confdefs.h. */
25154 #include <math.h>
25155 int
25156 main ()
25157 {
25158 _powf(0, 0);
25159 ;
25160 return 0;
25161 }
25162 _ACEOF
25163 if ac_fn_cxx_try_compile "$LINENO"; then :
25164 glibcxx_cv_func__powf_use=yes
25165 else
25166 glibcxx_cv_func__powf_use=no
25167 fi
25168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25169 ac_ext=c
25170 ac_cpp='$CPP $CPPFLAGS'
25171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174
25175
25176 fi
25177
25178 fi
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25180 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25181
25182 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25183 for ac_func in _powf
25184 do :
25185 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25186 if test "x$ac_cv_func__powf" = xyes; then :
25187 cat >>confdefs.h <<_ACEOF
25188 #define HAVE__POWF 1
25189 _ACEOF
25190
25191 fi
25192 done
25193
25194 fi
25195 fi
25196
25197
25198
25199
25200
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25202 $as_echo_n "checking for sqrtf declaration... " >&6; }
25203 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25204 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25205 $as_echo_n "(cached) " >&6
25206 else
25207
25208
25209 ac_ext=cpp
25210 ac_cpp='$CXXCPP $CPPFLAGS'
25211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25214
25215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25216 /* end confdefs.h. */
25217 #include <math.h>
25218 #ifdef HAVE_IEEEFP_H
25219 #include <ieeefp.h>
25220 #endif
25221
25222 int
25223 main ()
25224 {
25225 sqrtf(0);
25226 ;
25227 return 0;
25228 }
25229 _ACEOF
25230 if ac_fn_cxx_try_compile "$LINENO"; then :
25231 glibcxx_cv_func_sqrtf_use=yes
25232 else
25233 glibcxx_cv_func_sqrtf_use=no
25234 fi
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25236 ac_ext=c
25237 ac_cpp='$CPP $CPPFLAGS'
25238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25241
25242
25243 fi
25244
25245 fi
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25247 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25248
25249 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25250 for ac_func in sqrtf
25251 do :
25252 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25253 if test "x$ac_cv_func_sqrtf" = xyes; then :
25254 cat >>confdefs.h <<_ACEOF
25255 #define HAVE_SQRTF 1
25256 _ACEOF
25257
25258 fi
25259 done
25260
25261 else
25262
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25264 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25265 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25266 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25267 $as_echo_n "(cached) " >&6
25268 else
25269
25270
25271 ac_ext=cpp
25272 ac_cpp='$CXXCPP $CPPFLAGS'
25273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25276
25277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25278 /* end confdefs.h. */
25279 #include <math.h>
25280 #ifdef HAVE_IEEEFP_H
25281 #include <ieeefp.h>
25282 #endif
25283
25284 int
25285 main ()
25286 {
25287 _sqrtf(0);
25288 ;
25289 return 0;
25290 }
25291 _ACEOF
25292 if ac_fn_cxx_try_compile "$LINENO"; then :
25293 glibcxx_cv_func__sqrtf_use=yes
25294 else
25295 glibcxx_cv_func__sqrtf_use=no
25296 fi
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25298 ac_ext=c
25299 ac_cpp='$CPP $CPPFLAGS'
25300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25303
25304
25305 fi
25306
25307 fi
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25309 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25310
25311 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25312 for ac_func in _sqrtf
25313 do :
25314 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25315 if test "x$ac_cv_func__sqrtf" = xyes; then :
25316 cat >>confdefs.h <<_ACEOF
25317 #define HAVE__SQRTF 1
25318 _ACEOF
25319
25320 fi
25321 done
25322
25323 fi
25324 fi
25325
25326
25327
25328
25329
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25331 $as_echo_n "checking for sincosf declaration... " >&6; }
25332 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25333 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25334 $as_echo_n "(cached) " >&6
25335 else
25336
25337
25338 ac_ext=cpp
25339 ac_cpp='$CXXCPP $CPPFLAGS'
25340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25343
25344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25345 /* end confdefs.h. */
25346 #include <math.h>
25347 int
25348 main ()
25349 {
25350 sincosf(0, 0, 0);
25351 ;
25352 return 0;
25353 }
25354 _ACEOF
25355 if ac_fn_cxx_try_compile "$LINENO"; then :
25356 glibcxx_cv_func_sincosf_use=yes
25357 else
25358 glibcxx_cv_func_sincosf_use=no
25359 fi
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25366
25367
25368 fi
25369
25370 fi
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25372 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25373
25374 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25375 for ac_func in sincosf
25376 do :
25377 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25378 if test "x$ac_cv_func_sincosf" = xyes; then :
25379 cat >>confdefs.h <<_ACEOF
25380 #define HAVE_SINCOSF 1
25381 _ACEOF
25382
25383 fi
25384 done
25385
25386 else
25387
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25389 $as_echo_n "checking for _sincosf declaration... " >&6; }
25390 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25391 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25392 $as_echo_n "(cached) " >&6
25393 else
25394
25395
25396 ac_ext=cpp
25397 ac_cpp='$CXXCPP $CPPFLAGS'
25398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25401
25402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25404 #include <math.h>
25405 int
25406 main ()
25407 {
25408 _sincosf(0, 0, 0);
25409 ;
25410 return 0;
25411 }
25412 _ACEOF
25413 if ac_fn_cxx_try_compile "$LINENO"; then :
25414 glibcxx_cv_func__sincosf_use=yes
25415 else
25416 glibcxx_cv_func__sincosf_use=no
25417 fi
25418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 ac_ext=c
25420 ac_cpp='$CPP $CPPFLAGS'
25421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25424
25425
25426 fi
25427
25428 fi
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25430 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25431
25432 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25433 for ac_func in _sincosf
25434 do :
25435 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25436 if test "x$ac_cv_func__sincosf" = xyes; then :
25437 cat >>confdefs.h <<_ACEOF
25438 #define HAVE__SINCOSF 1
25439 _ACEOF
25440
25441 fi
25442 done
25443
25444 fi
25445 fi
25446
25447
25448
25449
25450
25451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25452 $as_echo_n "checking for finitef declaration... " >&6; }
25453 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25454 if ${glibcxx_cv_func_finitef_use+:} false; then :
25455 $as_echo_n "(cached) " >&6
25456 else
25457
25458
25459 ac_ext=cpp
25460 ac_cpp='$CXXCPP $CPPFLAGS'
25461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25464
25465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25466 /* end confdefs.h. */
25467 #include <math.h>
25468 #ifdef HAVE_IEEEFP_H
25469 #include <ieeefp.h>
25470 #endif
25471
25472 int
25473 main ()
25474 {
25475 finitef(0);
25476 ;
25477 return 0;
25478 }
25479 _ACEOF
25480 if ac_fn_cxx_try_compile "$LINENO"; then :
25481 glibcxx_cv_func_finitef_use=yes
25482 else
25483 glibcxx_cv_func_finitef_use=no
25484 fi
25485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25486 ac_ext=c
25487 ac_cpp='$CPP $CPPFLAGS'
25488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25491
25492
25493 fi
25494
25495 fi
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25497 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25498
25499 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25500 for ac_func in finitef
25501 do :
25502 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25503 if test "x$ac_cv_func_finitef" = xyes; then :
25504 cat >>confdefs.h <<_ACEOF
25505 #define HAVE_FINITEF 1
25506 _ACEOF
25507
25508 fi
25509 done
25510
25511 else
25512
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25514 $as_echo_n "checking for _finitef declaration... " >&6; }
25515 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25516 if ${glibcxx_cv_func__finitef_use+:} false; then :
25517 $as_echo_n "(cached) " >&6
25518 else
25519
25520
25521 ac_ext=cpp
25522 ac_cpp='$CXXCPP $CPPFLAGS'
25523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25526
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25529 #include <math.h>
25530 #ifdef HAVE_IEEEFP_H
25531 #include <ieeefp.h>
25532 #endif
25533
25534 int
25535 main ()
25536 {
25537 _finitef(0);
25538 ;
25539 return 0;
25540 }
25541 _ACEOF
25542 if ac_fn_cxx_try_compile "$LINENO"; then :
25543 glibcxx_cv_func__finitef_use=yes
25544 else
25545 glibcxx_cv_func__finitef_use=no
25546 fi
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25548 ac_ext=c
25549 ac_cpp='$CPP $CPPFLAGS'
25550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25553
25554
25555 fi
25556
25557 fi
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25559 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25560
25561 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25562 for ac_func in _finitef
25563 do :
25564 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25565 if test "x$ac_cv_func__finitef" = xyes; then :
25566 cat >>confdefs.h <<_ACEOF
25567 #define HAVE__FINITEF 1
25568 _ACEOF
25569
25570 fi
25571 done
25572
25573 fi
25574 fi
25575
25576
25577
25578
25579
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25581 $as_echo_n "checking for long double trig functions... " >&6; }
25582 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25583 $as_echo_n "(cached) " >&6
25584 else
25585
25586
25587 ac_ext=cpp
25588 ac_cpp='$CXXCPP $CPPFLAGS'
25589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25592
25593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25594 /* end confdefs.h. */
25595 #include <math.h>
25596 int
25597 main ()
25598 {
25599 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25600 ;
25601 return 0;
25602 }
25603 _ACEOF
25604 if ac_fn_cxx_try_compile "$LINENO"; then :
25605 glibcxx_cv_func_long_double_trig_use=yes
25606 else
25607 glibcxx_cv_func_long_double_trig_use=no
25608 fi
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 ac_ext=c
25611 ac_cpp='$CPP $CPPFLAGS'
25612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25615
25616 fi
25617
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25619 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25620 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25621 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25622 do :
25623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25626 cat >>confdefs.h <<_ACEOF
25627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25628 _ACEOF
25629
25630 fi
25631 done
25632
25633 else
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25635 $as_echo_n "checking for _long double trig functions... " >&6; }
25636 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25637 $as_echo_n "(cached) " >&6
25638 else
25639
25640
25641 ac_ext=cpp
25642 ac_cpp='$CXXCPP $CPPFLAGS'
25643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25646
25647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25648 /* end confdefs.h. */
25649 #include <math.h>
25650 int
25651 main ()
25652 {
25653 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25654 ;
25655 return 0;
25656 }
25657 _ACEOF
25658 if ac_fn_cxx_try_compile "$LINENO"; then :
25659 glibcxx_cv_func__long_double_trig_use=yes
25660 else
25661 glibcxx_cv_func__long_double_trig_use=no
25662 fi
25663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25664 ac_ext=c
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25669
25670 fi
25671
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25673 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25674 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25675 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25676 do :
25677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25680 cat >>confdefs.h <<_ACEOF
25681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25682 _ACEOF
25683
25684 fi
25685 done
25686
25687 fi
25688 fi
25689
25690
25691
25692
25693
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25695 $as_echo_n "checking for long double round functions... " >&6; }
25696 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25697 $as_echo_n "(cached) " >&6
25698 else
25699
25700
25701 ac_ext=cpp
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25706
25707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25708 /* end confdefs.h. */
25709 #include <math.h>
25710 int
25711 main ()
25712 {
25713 ceill (0); floorl (0);
25714 ;
25715 return 0;
25716 }
25717 _ACEOF
25718 if ac_fn_cxx_try_compile "$LINENO"; then :
25719 glibcxx_cv_func_long_double_round_use=yes
25720 else
25721 glibcxx_cv_func_long_double_round_use=no
25722 fi
25723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729
25730 fi
25731
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25733 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25734 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25735 for ac_func in ceill floorl
25736 do :
25737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25740 cat >>confdefs.h <<_ACEOF
25741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25742 _ACEOF
25743
25744 fi
25745 done
25746
25747 else
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25749 $as_echo_n "checking for _long double round functions... " >&6; }
25750 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25753
25754
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25764 int
25765 main ()
25766 {
25767 _ceill (0); _floorl (0);
25768 ;
25769 return 0;
25770 }
25771 _ACEOF
25772 if ac_fn_cxx_try_compile "$LINENO"; then :
25773 glibcxx_cv_func__long_double_round_use=yes
25774 else
25775 glibcxx_cv_func__long_double_round_use=no
25776 fi
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778 ac_ext=c
25779 ac_cpp='$CPP $CPPFLAGS'
25780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25783
25784 fi
25785
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25787 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25788 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25789 for ac_func in _ceill _floorl
25790 do :
25791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25794 cat >>confdefs.h <<_ACEOF
25795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25796 _ACEOF
25797
25798 fi
25799 done
25800
25801 fi
25802 fi
25803
25804
25805
25806
25807
25808
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25810 $as_echo_n "checking for isnanl declaration... " >&6; }
25811 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25812 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25815
25816
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25829
25830 int
25831 main ()
25832 {
25833 isnanl(0);
25834 ;
25835 return 0;
25836 }
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func_isnanl_use=yes
25840 else
25841 glibcxx_cv_func_isnanl_use=no
25842 fi
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25849
25850
25851 fi
25852
25853 fi
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25855 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25856
25857 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25858 for ac_func in isnanl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25861 if test "x$ac_cv_func_isnanl" = xyes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE_ISNANL 1
25864 _ACEOF
25865
25866 fi
25867 done
25868
25869 else
25870
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25872 $as_echo_n "checking for _isnanl declaration... " >&6; }
25873 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25874 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25875 $as_echo_n "(cached) " >&6
25876 else
25877
25878
25879 ac_ext=cpp
25880 ac_cpp='$CXXCPP $CPPFLAGS'
25881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25884
25885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25886 /* end confdefs.h. */
25887 #include <math.h>
25888 #ifdef HAVE_IEEEFP_H
25889 #include <ieeefp.h>
25890 #endif
25891
25892 int
25893 main ()
25894 {
25895 _isnanl(0);
25896 ;
25897 return 0;
25898 }
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func__isnanl_use=yes
25902 else
25903 glibcxx_cv_func__isnanl_use=no
25904 fi
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25911
25912
25913 fi
25914
25915 fi
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25917 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25918
25919 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25920 for ac_func in _isnanl
25921 do :
25922 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25923 if test "x$ac_cv_func__isnanl" = xyes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE__ISNANL 1
25926 _ACEOF
25927
25928 fi
25929 done
25930
25931 fi
25932 fi
25933
25934
25935
25936
25937
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25939 $as_echo_n "checking for isinfl declaration... " >&6; }
25940 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25941 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25942 $as_echo_n "(cached) " >&6
25943 else
25944
25945
25946 ac_ext=cpp
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25951
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25954 #include <math.h>
25955 #ifdef HAVE_IEEEFP_H
25956 #include <ieeefp.h>
25957 #endif
25958
25959 int
25960 main ()
25961 {
25962 isinfl(0);
25963 ;
25964 return 0;
25965 }
25966 _ACEOF
25967 if ac_fn_cxx_try_compile "$LINENO"; then :
25968 glibcxx_cv_func_isinfl_use=yes
25969 else
25970 glibcxx_cv_func_isinfl_use=no
25971 fi
25972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25978
25979
25980 fi
25981
25982 fi
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25984 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25985
25986 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25987 for ac_func in isinfl
25988 do :
25989 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25990 if test "x$ac_cv_func_isinfl" = xyes; then :
25991 cat >>confdefs.h <<_ACEOF
25992 #define HAVE_ISINFL 1
25993 _ACEOF
25994
25995 fi
25996 done
25997
25998 else
25999
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26001 $as_echo_n "checking for _isinfl declaration... " >&6; }
26002 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26003 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26004 $as_echo_n "(cached) " >&6
26005 else
26006
26007
26008 ac_ext=cpp
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26013
26014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h. */
26016 #include <math.h>
26017 #ifdef HAVE_IEEEFP_H
26018 #include <ieeefp.h>
26019 #endif
26020
26021 int
26022 main ()
26023 {
26024 _isinfl(0);
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 if ac_fn_cxx_try_compile "$LINENO"; then :
26030 glibcxx_cv_func__isinfl_use=yes
26031 else
26032 glibcxx_cv_func__isinfl_use=no
26033 fi
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035 ac_ext=c
26036 ac_cpp='$CPP $CPPFLAGS'
26037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26040
26041
26042 fi
26043
26044 fi
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26046 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26047
26048 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26049 for ac_func in _isinfl
26050 do :
26051 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26052 if test "x$ac_cv_func__isinfl" = xyes; then :
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE__ISINFL 1
26055 _ACEOF
26056
26057 fi
26058 done
26059
26060 fi
26061 fi
26062
26063
26064
26065
26066
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26068 $as_echo_n "checking for atan2l declaration... " >&6; }
26069 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26070 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26071 $as_echo_n "(cached) " >&6
26072 else
26073
26074
26075 ac_ext=cpp
26076 ac_cpp='$CXXCPP $CPPFLAGS'
26077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26080
26081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26083 #include <math.h>
26084 int
26085 main ()
26086 {
26087 atan2l(0, 0);
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 if ac_fn_cxx_try_compile "$LINENO"; then :
26093 glibcxx_cv_func_atan2l_use=yes
26094 else
26095 glibcxx_cv_func_atan2l_use=no
26096 fi
26097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26098 ac_ext=c
26099 ac_cpp='$CPP $CPPFLAGS'
26100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26103
26104
26105 fi
26106
26107 fi
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26109 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26110
26111 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26112 for ac_func in atan2l
26113 do :
26114 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26115 if test "x$ac_cv_func_atan2l" = xyes; then :
26116 cat >>confdefs.h <<_ACEOF
26117 #define HAVE_ATAN2L 1
26118 _ACEOF
26119
26120 fi
26121 done
26122
26123 else
26124
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26126 $as_echo_n "checking for _atan2l declaration... " >&6; }
26127 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26128 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26131
26132
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26142 int
26143 main ()
26144 {
26145 _atan2l(0, 0);
26146 ;
26147 return 0;
26148 }
26149 _ACEOF
26150 if ac_fn_cxx_try_compile "$LINENO"; then :
26151 glibcxx_cv_func__atan2l_use=yes
26152 else
26153 glibcxx_cv_func__atan2l_use=no
26154 fi
26155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26156 ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26161
26162
26163 fi
26164
26165 fi
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26167 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26168
26169 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26170 for ac_func in _atan2l
26171 do :
26172 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26173 if test "x$ac_cv_func__atan2l" = xyes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE__ATAN2L 1
26176 _ACEOF
26177
26178 fi
26179 done
26180
26181 fi
26182 fi
26183
26184
26185
26186
26187
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26189 $as_echo_n "checking for expl declaration... " >&6; }
26190 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26191 if ${glibcxx_cv_func_expl_use+:} false; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26194
26195
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 #ifdef HAVE_IEEEFP_H
26206 #include <ieeefp.h>
26207 #endif
26208
26209 int
26210 main ()
26211 {
26212 expl(0);
26213 ;
26214 return 0;
26215 }
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218 glibcxx_cv_func_expl_use=yes
26219 else
26220 glibcxx_cv_func_expl_use=no
26221 fi
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26228
26229
26230 fi
26231
26232 fi
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26234 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26235
26236 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26237 for ac_func in expl
26238 do :
26239 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26240 if test "x$ac_cv_func_expl" = xyes; then :
26241 cat >>confdefs.h <<_ACEOF
26242 #define HAVE_EXPL 1
26243 _ACEOF
26244
26245 fi
26246 done
26247
26248 else
26249
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26251 $as_echo_n "checking for _expl declaration... " >&6; }
26252 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26253 if ${glibcxx_cv_func__expl_use+:} false; then :
26254 $as_echo_n "(cached) " >&6
26255 else
26256
26257
26258 ac_ext=cpp
26259 ac_cpp='$CXXCPP $CPPFLAGS'
26260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26263
26264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26265 /* end confdefs.h. */
26266 #include <math.h>
26267 #ifdef HAVE_IEEEFP_H
26268 #include <ieeefp.h>
26269 #endif
26270
26271 int
26272 main ()
26273 {
26274 _expl(0);
26275 ;
26276 return 0;
26277 }
26278 _ACEOF
26279 if ac_fn_cxx_try_compile "$LINENO"; then :
26280 glibcxx_cv_func__expl_use=yes
26281 else
26282 glibcxx_cv_func__expl_use=no
26283 fi
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 ac_ext=c
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26290
26291
26292 fi
26293
26294 fi
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26296 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26297
26298 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26299 for ac_func in _expl
26300 do :
26301 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26302 if test "x$ac_cv_func__expl" = xyes; then :
26303 cat >>confdefs.h <<_ACEOF
26304 #define HAVE__EXPL 1
26305 _ACEOF
26306
26307 fi
26308 done
26309
26310 fi
26311 fi
26312
26313
26314
26315
26316
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26318 $as_echo_n "checking for fabsl declaration... " >&6; }
26319 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26320 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26321 $as_echo_n "(cached) " >&6
26322 else
26323
26324
26325 ac_ext=cpp
26326 ac_cpp='$CXXCPP $CPPFLAGS'
26327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26330
26331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h. */
26333 #include <math.h>
26334 #ifdef HAVE_IEEEFP_H
26335 #include <ieeefp.h>
26336 #endif
26337
26338 int
26339 main ()
26340 {
26341 fabsl(0);
26342 ;
26343 return 0;
26344 }
26345 _ACEOF
26346 if ac_fn_cxx_try_compile "$LINENO"; then :
26347 glibcxx_cv_func_fabsl_use=yes
26348 else
26349 glibcxx_cv_func_fabsl_use=no
26350 fi
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 ac_ext=c
26353 ac_cpp='$CPP $CPPFLAGS'
26354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26357
26358
26359 fi
26360
26361 fi
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26363 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26364
26365 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26366 for ac_func in fabsl
26367 do :
26368 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26369 if test "x$ac_cv_func_fabsl" = xyes; then :
26370 cat >>confdefs.h <<_ACEOF
26371 #define HAVE_FABSL 1
26372 _ACEOF
26373
26374 fi
26375 done
26376
26377 else
26378
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26380 $as_echo_n "checking for _fabsl declaration... " >&6; }
26381 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26382 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26383 $as_echo_n "(cached) " >&6
26384 else
26385
26386
26387 ac_ext=cpp
26388 ac_cpp='$CXXCPP $CPPFLAGS'
26389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26392
26393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26394 /* end confdefs.h. */
26395 #include <math.h>
26396 #ifdef HAVE_IEEEFP_H
26397 #include <ieeefp.h>
26398 #endif
26399
26400 int
26401 main ()
26402 {
26403 _fabsl(0);
26404 ;
26405 return 0;
26406 }
26407 _ACEOF
26408 if ac_fn_cxx_try_compile "$LINENO"; then :
26409 glibcxx_cv_func__fabsl_use=yes
26410 else
26411 glibcxx_cv_func__fabsl_use=no
26412 fi
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_ext=c
26415 ac_cpp='$CPP $CPPFLAGS'
26416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26419
26420
26421 fi
26422
26423 fi
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26425 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26426
26427 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26428 for ac_func in _fabsl
26429 do :
26430 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26431 if test "x$ac_cv_func__fabsl" = xyes; then :
26432 cat >>confdefs.h <<_ACEOF
26433 #define HAVE__FABSL 1
26434 _ACEOF
26435
26436 fi
26437 done
26438
26439 fi
26440 fi
26441
26442
26443
26444
26445
26446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26447 $as_echo_n "checking for fmodl declaration... " >&6; }
26448 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26449 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26450 $as_echo_n "(cached) " >&6
26451 else
26452
26453
26454 ac_ext=cpp
26455 ac_cpp='$CXXCPP $CPPFLAGS'
26456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26459
26460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26461 /* end confdefs.h. */
26462 #include <math.h>
26463 int
26464 main ()
26465 {
26466 fmodl(0, 0);
26467 ;
26468 return 0;
26469 }
26470 _ACEOF
26471 if ac_fn_cxx_try_compile "$LINENO"; then :
26472 glibcxx_cv_func_fmodl_use=yes
26473 else
26474 glibcxx_cv_func_fmodl_use=no
26475 fi
26476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26477 ac_ext=c
26478 ac_cpp='$CPP $CPPFLAGS'
26479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26482
26483
26484 fi
26485
26486 fi
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26488 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26489
26490 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26491 for ac_func in fmodl
26492 do :
26493 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26494 if test "x$ac_cv_func_fmodl" = xyes; then :
26495 cat >>confdefs.h <<_ACEOF
26496 #define HAVE_FMODL 1
26497 _ACEOF
26498
26499 fi
26500 done
26501
26502 else
26503
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26505 $as_echo_n "checking for _fmodl declaration... " >&6; }
26506 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26507 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26508 $as_echo_n "(cached) " >&6
26509 else
26510
26511
26512 ac_ext=cpp
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26517
26518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26519 /* end confdefs.h. */
26520 #include <math.h>
26521 int
26522 main ()
26523 {
26524 _fmodl(0, 0);
26525 ;
26526 return 0;
26527 }
26528 _ACEOF
26529 if ac_fn_cxx_try_compile "$LINENO"; then :
26530 glibcxx_cv_func__fmodl_use=yes
26531 else
26532 glibcxx_cv_func__fmodl_use=no
26533 fi
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535 ac_ext=c
26536 ac_cpp='$CPP $CPPFLAGS'
26537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26540
26541
26542 fi
26543
26544 fi
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26546 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26547
26548 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26549 for ac_func in _fmodl
26550 do :
26551 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26552 if test "x$ac_cv_func__fmodl" = xyes; then :
26553 cat >>confdefs.h <<_ACEOF
26554 #define HAVE__FMODL 1
26555 _ACEOF
26556
26557 fi
26558 done
26559
26560 fi
26561 fi
26562
26563
26564
26565
26566
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26568 $as_echo_n "checking for frexpl declaration... " >&6; }
26569 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26570 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26573
26574
26575 ac_ext=cpp
26576 ac_cpp='$CXXCPP $CPPFLAGS'
26577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26580
26581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26582 /* end confdefs.h. */
26583 #include <math.h>
26584 int
26585 main ()
26586 {
26587 frexpl(0, 0);
26588 ;
26589 return 0;
26590 }
26591 _ACEOF
26592 if ac_fn_cxx_try_compile "$LINENO"; then :
26593 glibcxx_cv_func_frexpl_use=yes
26594 else
26595 glibcxx_cv_func_frexpl_use=no
26596 fi
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 ac_ext=c
26599 ac_cpp='$CPP $CPPFLAGS'
26600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26603
26604
26605 fi
26606
26607 fi
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26609 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26610
26611 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26612 for ac_func in frexpl
26613 do :
26614 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26615 if test "x$ac_cv_func_frexpl" = xyes; then :
26616 cat >>confdefs.h <<_ACEOF
26617 #define HAVE_FREXPL 1
26618 _ACEOF
26619
26620 fi
26621 done
26622
26623 else
26624
26625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26626 $as_echo_n "checking for _frexpl declaration... " >&6; }
26627 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26628 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26629 $as_echo_n "(cached) " >&6
26630 else
26631
26632
26633 ac_ext=cpp
26634 ac_cpp='$CXXCPP $CPPFLAGS'
26635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26638
26639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26640 /* end confdefs.h. */
26641 #include <math.h>
26642 int
26643 main ()
26644 {
26645 _frexpl(0, 0);
26646 ;
26647 return 0;
26648 }
26649 _ACEOF
26650 if ac_fn_cxx_try_compile "$LINENO"; then :
26651 glibcxx_cv_func__frexpl_use=yes
26652 else
26653 glibcxx_cv_func__frexpl_use=no
26654 fi
26655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26656 ac_ext=c
26657 ac_cpp='$CPP $CPPFLAGS'
26658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26661
26662
26663 fi
26664
26665 fi
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26667 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26668
26669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26670 for ac_func in _frexpl
26671 do :
26672 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26673 if test "x$ac_cv_func__frexpl" = xyes; then :
26674 cat >>confdefs.h <<_ACEOF
26675 #define HAVE__FREXPL 1
26676 _ACEOF
26677
26678 fi
26679 done
26680
26681 fi
26682 fi
26683
26684
26685
26686
26687
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26689 $as_echo_n "checking for hypotl declaration... " >&6; }
26690 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26691 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26692 $as_echo_n "(cached) " >&6
26693 else
26694
26695
26696 ac_ext=cpp
26697 ac_cpp='$CXXCPP $CPPFLAGS'
26698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26701
26702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26704 #include <math.h>
26705 int
26706 main ()
26707 {
26708 hypotl(0, 0);
26709 ;
26710 return 0;
26711 }
26712 _ACEOF
26713 if ac_fn_cxx_try_compile "$LINENO"; then :
26714 glibcxx_cv_func_hypotl_use=yes
26715 else
26716 glibcxx_cv_func_hypotl_use=no
26717 fi
26718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26719 ac_ext=c
26720 ac_cpp='$CPP $CPPFLAGS'
26721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26724
26725
26726 fi
26727
26728 fi
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26730 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26731
26732 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26733 for ac_func in hypotl
26734 do :
26735 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26736 if test "x$ac_cv_func_hypotl" = xyes; then :
26737 cat >>confdefs.h <<_ACEOF
26738 #define HAVE_HYPOTL 1
26739 _ACEOF
26740
26741 fi
26742 done
26743
26744 else
26745
26746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26747 $as_echo_n "checking for _hypotl declaration... " >&6; }
26748 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26749 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26750 $as_echo_n "(cached) " >&6
26751 else
26752
26753
26754 ac_ext=cpp
26755 ac_cpp='$CXXCPP $CPPFLAGS'
26756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26759
26760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26761 /* end confdefs.h. */
26762 #include <math.h>
26763 int
26764 main ()
26765 {
26766 _hypotl(0, 0);
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 if ac_fn_cxx_try_compile "$LINENO"; then :
26772 glibcxx_cv_func__hypotl_use=yes
26773 else
26774 glibcxx_cv_func__hypotl_use=no
26775 fi
26776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26777 ac_ext=c
26778 ac_cpp='$CPP $CPPFLAGS'
26779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26782
26783
26784 fi
26785
26786 fi
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26788 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26789
26790 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26791 for ac_func in _hypotl
26792 do :
26793 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26794 if test "x$ac_cv_func__hypotl" = xyes; then :
26795 cat >>confdefs.h <<_ACEOF
26796 #define HAVE__HYPOTL 1
26797 _ACEOF
26798
26799 fi
26800 done
26801
26802 fi
26803 fi
26804
26805
26806
26807
26808
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26810 $as_echo_n "checking for ldexpl declaration... " >&6; }
26811 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26812 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26813 $as_echo_n "(cached) " >&6
26814 else
26815
26816
26817 ac_ext=cpp
26818 ac_cpp='$CXXCPP $CPPFLAGS'
26819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26822
26823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26824 /* end confdefs.h. */
26825 #include <math.h>
26826 int
26827 main ()
26828 {
26829 ldexpl(0, 0);
26830 ;
26831 return 0;
26832 }
26833 _ACEOF
26834 if ac_fn_cxx_try_compile "$LINENO"; then :
26835 glibcxx_cv_func_ldexpl_use=yes
26836 else
26837 glibcxx_cv_func_ldexpl_use=no
26838 fi
26839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26840 ac_ext=c
26841 ac_cpp='$CPP $CPPFLAGS'
26842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26845
26846
26847 fi
26848
26849 fi
26850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26851 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26852
26853 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26854 for ac_func in ldexpl
26855 do :
26856 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26857 if test "x$ac_cv_func_ldexpl" = xyes; then :
26858 cat >>confdefs.h <<_ACEOF
26859 #define HAVE_LDEXPL 1
26860 _ACEOF
26861
26862 fi
26863 done
26864
26865 else
26866
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26868 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26869 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26870 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26873
26874
26875 ac_ext=cpp
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26880
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 #include <math.h>
26884 int
26885 main ()
26886 {
26887 _ldexpl(0, 0);
26888 ;
26889 return 0;
26890 }
26891 _ACEOF
26892 if ac_fn_cxx_try_compile "$LINENO"; then :
26893 glibcxx_cv_func__ldexpl_use=yes
26894 else
26895 glibcxx_cv_func__ldexpl_use=no
26896 fi
26897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26898 ac_ext=c
26899 ac_cpp='$CPP $CPPFLAGS'
26900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26903
26904
26905 fi
26906
26907 fi
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26909 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26910
26911 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26912 for ac_func in _ldexpl
26913 do :
26914 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26915 if test "x$ac_cv_func__ldexpl" = xyes; then :
26916 cat >>confdefs.h <<_ACEOF
26917 #define HAVE__LDEXPL 1
26918 _ACEOF
26919
26920 fi
26921 done
26922
26923 fi
26924 fi
26925
26926
26927
26928
26929
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26931 $as_echo_n "checking for logl declaration... " >&6; }
26932 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26933 if ${glibcxx_cv_func_logl_use+:} false; then :
26934 $as_echo_n "(cached) " >&6
26935 else
26936
26937
26938 ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943
26944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h. */
26946 #include <math.h>
26947 #ifdef HAVE_IEEEFP_H
26948 #include <ieeefp.h>
26949 #endif
26950
26951 int
26952 main ()
26953 {
26954 logl(0);
26955 ;
26956 return 0;
26957 }
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960 glibcxx_cv_func_logl_use=yes
26961 else
26962 glibcxx_cv_func_logl_use=no
26963 fi
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26970
26971
26972 fi
26973
26974 fi
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26976 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26977
26978 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26979 for ac_func in logl
26980 do :
26981 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26982 if test "x$ac_cv_func_logl" = xyes; then :
26983 cat >>confdefs.h <<_ACEOF
26984 #define HAVE_LOGL 1
26985 _ACEOF
26986
26987 fi
26988 done
26989
26990 else
26991
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26993 $as_echo_n "checking for _logl declaration... " >&6; }
26994 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26995 if ${glibcxx_cv_func__logl_use+:} false; then :
26996 $as_echo_n "(cached) " >&6
26997 else
26998
26999
27000 ac_ext=cpp
27001 ac_cpp='$CXXCPP $CPPFLAGS'
27002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27005
27006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27007 /* end confdefs.h. */
27008 #include <math.h>
27009 #ifdef HAVE_IEEEFP_H
27010 #include <ieeefp.h>
27011 #endif
27012
27013 int
27014 main ()
27015 {
27016 _logl(0);
27017 ;
27018 return 0;
27019 }
27020 _ACEOF
27021 if ac_fn_cxx_try_compile "$LINENO"; then :
27022 glibcxx_cv_func__logl_use=yes
27023 else
27024 glibcxx_cv_func__logl_use=no
27025 fi
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27032
27033
27034 fi
27035
27036 fi
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27038 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27039
27040 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27041 for ac_func in _logl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27044 if test "x$ac_cv_func__logl" = xyes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE__LOGL 1
27047 _ACEOF
27048
27049 fi
27050 done
27051
27052 fi
27053 fi
27054
27055
27056
27057
27058
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27060 $as_echo_n "checking for log10l declaration... " >&6; }
27061 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27062 if ${glibcxx_cv_func_log10l_use+:} false; then :
27063 $as_echo_n "(cached) " >&6
27064 else
27065
27066
27067 ac_ext=cpp
27068 ac_cpp='$CXXCPP $CPPFLAGS'
27069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27072
27073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27074 /* end confdefs.h. */
27075 #include <math.h>
27076 #ifdef HAVE_IEEEFP_H
27077 #include <ieeefp.h>
27078 #endif
27079
27080 int
27081 main ()
27082 {
27083 log10l(0);
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 if ac_fn_cxx_try_compile "$LINENO"; then :
27089 glibcxx_cv_func_log10l_use=yes
27090 else
27091 glibcxx_cv_func_log10l_use=no
27092 fi
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094 ac_ext=c
27095 ac_cpp='$CPP $CPPFLAGS'
27096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27099
27100
27101 fi
27102
27103 fi
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27105 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27106
27107 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27108 for ac_func in log10l
27109 do :
27110 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27111 if test "x$ac_cv_func_log10l" = xyes; then :
27112 cat >>confdefs.h <<_ACEOF
27113 #define HAVE_LOG10L 1
27114 _ACEOF
27115
27116 fi
27117 done
27118
27119 else
27120
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27122 $as_echo_n "checking for _log10l declaration... " >&6; }
27123 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27124 if ${glibcxx_cv_func__log10l_use+:} false; then :
27125 $as_echo_n "(cached) " >&6
27126 else
27127
27128
27129 ac_ext=cpp
27130 ac_cpp='$CXXCPP $CPPFLAGS'
27131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27134
27135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27136 /* end confdefs.h. */
27137 #include <math.h>
27138 #ifdef HAVE_IEEEFP_H
27139 #include <ieeefp.h>
27140 #endif
27141
27142 int
27143 main ()
27144 {
27145 _log10l(0);
27146 ;
27147 return 0;
27148 }
27149 _ACEOF
27150 if ac_fn_cxx_try_compile "$LINENO"; then :
27151 glibcxx_cv_func__log10l_use=yes
27152 else
27153 glibcxx_cv_func__log10l_use=no
27154 fi
27155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27156 ac_ext=c
27157 ac_cpp='$CPP $CPPFLAGS'
27158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27161
27162
27163 fi
27164
27165 fi
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27167 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27168
27169 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27170 for ac_func in _log10l
27171 do :
27172 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27173 if test "x$ac_cv_func__log10l" = xyes; then :
27174 cat >>confdefs.h <<_ACEOF
27175 #define HAVE__LOG10L 1
27176 _ACEOF
27177
27178 fi
27179 done
27180
27181 fi
27182 fi
27183
27184
27185
27186
27187
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27189 $as_echo_n "checking for modfl declaration... " >&6; }
27190 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27191 if ${glibcxx_cv_func_modfl_use+:} false; then :
27192 $as_echo_n "(cached) " >&6
27193 else
27194
27195
27196 ac_ext=cpp
27197 ac_cpp='$CXXCPP $CPPFLAGS'
27198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27201
27202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203 /* end confdefs.h. */
27204 #include <math.h>
27205 int
27206 main ()
27207 {
27208 modfl(0, 0);
27209 ;
27210 return 0;
27211 }
27212 _ACEOF
27213 if ac_fn_cxx_try_compile "$LINENO"; then :
27214 glibcxx_cv_func_modfl_use=yes
27215 else
27216 glibcxx_cv_func_modfl_use=no
27217 fi
27218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27219 ac_ext=c
27220 ac_cpp='$CPP $CPPFLAGS'
27221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27224
27225
27226 fi
27227
27228 fi
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27230 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27231
27232 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27233 for ac_func in modfl
27234 do :
27235 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27236 if test "x$ac_cv_func_modfl" = xyes; then :
27237 cat >>confdefs.h <<_ACEOF
27238 #define HAVE_MODFL 1
27239 _ACEOF
27240
27241 fi
27242 done
27243
27244 else
27245
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27247 $as_echo_n "checking for _modfl declaration... " >&6; }
27248 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27249 if ${glibcxx_cv_func__modfl_use+:} false; then :
27250 $as_echo_n "(cached) " >&6
27251 else
27252
27253
27254 ac_ext=cpp
27255 ac_cpp='$CXXCPP $CPPFLAGS'
27256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27259
27260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27261 /* end confdefs.h. */
27262 #include <math.h>
27263 int
27264 main ()
27265 {
27266 _modfl(0, 0);
27267 ;
27268 return 0;
27269 }
27270 _ACEOF
27271 if ac_fn_cxx_try_compile "$LINENO"; then :
27272 glibcxx_cv_func__modfl_use=yes
27273 else
27274 glibcxx_cv_func__modfl_use=no
27275 fi
27276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27277 ac_ext=c
27278 ac_cpp='$CPP $CPPFLAGS'
27279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27282
27283
27284 fi
27285
27286 fi
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27288 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27289
27290 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27291 for ac_func in _modfl
27292 do :
27293 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27294 if test "x$ac_cv_func__modfl" = xyes; then :
27295 cat >>confdefs.h <<_ACEOF
27296 #define HAVE__MODFL 1
27297 _ACEOF
27298
27299 fi
27300 done
27301
27302 fi
27303 fi
27304
27305
27306
27307
27308
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27310 $as_echo_n "checking for powl declaration... " >&6; }
27311 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27312 if ${glibcxx_cv_func_powl_use+:} false; then :
27313 $as_echo_n "(cached) " >&6
27314 else
27315
27316
27317 ac_ext=cpp
27318 ac_cpp='$CXXCPP $CPPFLAGS'
27319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27322
27323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27324 /* end confdefs.h. */
27325 #include <math.h>
27326 int
27327 main ()
27328 {
27329 powl(0, 0);
27330 ;
27331 return 0;
27332 }
27333 _ACEOF
27334 if ac_fn_cxx_try_compile "$LINENO"; then :
27335 glibcxx_cv_func_powl_use=yes
27336 else
27337 glibcxx_cv_func_powl_use=no
27338 fi
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 ac_ext=c
27341 ac_cpp='$CPP $CPPFLAGS'
27342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27345
27346
27347 fi
27348
27349 fi
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27351 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27352
27353 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27354 for ac_func in powl
27355 do :
27356 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27357 if test "x$ac_cv_func_powl" = xyes; then :
27358 cat >>confdefs.h <<_ACEOF
27359 #define HAVE_POWL 1
27360 _ACEOF
27361
27362 fi
27363 done
27364
27365 else
27366
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27368 $as_echo_n "checking for _powl declaration... " >&6; }
27369 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27370 if ${glibcxx_cv_func__powl_use+:} false; then :
27371 $as_echo_n "(cached) " >&6
27372 else
27373
27374
27375 ac_ext=cpp
27376 ac_cpp='$CXXCPP $CPPFLAGS'
27377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27380
27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27382 /* end confdefs.h. */
27383 #include <math.h>
27384 int
27385 main ()
27386 {
27387 _powl(0, 0);
27388 ;
27389 return 0;
27390 }
27391 _ACEOF
27392 if ac_fn_cxx_try_compile "$LINENO"; then :
27393 glibcxx_cv_func__powl_use=yes
27394 else
27395 glibcxx_cv_func__powl_use=no
27396 fi
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 ac_ext=c
27399 ac_cpp='$CPP $CPPFLAGS'
27400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27403
27404
27405 fi
27406
27407 fi
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27409 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27410
27411 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27412 for ac_func in _powl
27413 do :
27414 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27415 if test "x$ac_cv_func__powl" = xyes; then :
27416 cat >>confdefs.h <<_ACEOF
27417 #define HAVE__POWL 1
27418 _ACEOF
27419
27420 fi
27421 done
27422
27423 fi
27424 fi
27425
27426
27427
27428
27429
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27431 $as_echo_n "checking for sqrtl declaration... " >&6; }
27432 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27433 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27434 $as_echo_n "(cached) " >&6
27435 else
27436
27437
27438 ac_ext=cpp
27439 ac_cpp='$CXXCPP $CPPFLAGS'
27440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27443
27444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27445 /* end confdefs.h. */
27446 #include <math.h>
27447 #ifdef HAVE_IEEEFP_H
27448 #include <ieeefp.h>
27449 #endif
27450
27451 int
27452 main ()
27453 {
27454 sqrtl(0);
27455 ;
27456 return 0;
27457 }
27458 _ACEOF
27459 if ac_fn_cxx_try_compile "$LINENO"; then :
27460 glibcxx_cv_func_sqrtl_use=yes
27461 else
27462 glibcxx_cv_func_sqrtl_use=no
27463 fi
27464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27465 ac_ext=c
27466 ac_cpp='$CPP $CPPFLAGS'
27467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27470
27471
27472 fi
27473
27474 fi
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27476 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27477
27478 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27479 for ac_func in sqrtl
27480 do :
27481 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27482 if test "x$ac_cv_func_sqrtl" = xyes; then :
27483 cat >>confdefs.h <<_ACEOF
27484 #define HAVE_SQRTL 1
27485 _ACEOF
27486
27487 fi
27488 done
27489
27490 else
27491
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27493 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27494 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27495 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27496 $as_echo_n "(cached) " >&6
27497 else
27498
27499
27500 ac_ext=cpp
27501 ac_cpp='$CXXCPP $CPPFLAGS'
27502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27505
27506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27507 /* end confdefs.h. */
27508 #include <math.h>
27509 #ifdef HAVE_IEEEFP_H
27510 #include <ieeefp.h>
27511 #endif
27512
27513 int
27514 main ()
27515 {
27516 _sqrtl(0);
27517 ;
27518 return 0;
27519 }
27520 _ACEOF
27521 if ac_fn_cxx_try_compile "$LINENO"; then :
27522 glibcxx_cv_func__sqrtl_use=yes
27523 else
27524 glibcxx_cv_func__sqrtl_use=no
27525 fi
27526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27527 ac_ext=c
27528 ac_cpp='$CPP $CPPFLAGS'
27529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27532
27533
27534 fi
27535
27536 fi
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27538 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27539
27540 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27541 for ac_func in _sqrtl
27542 do :
27543 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27544 if test "x$ac_cv_func__sqrtl" = xyes; then :
27545 cat >>confdefs.h <<_ACEOF
27546 #define HAVE__SQRTL 1
27547 _ACEOF
27548
27549 fi
27550 done
27551
27552 fi
27553 fi
27554
27555
27556
27557
27558
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27560 $as_echo_n "checking for sincosl declaration... " >&6; }
27561 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27562 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27563 $as_echo_n "(cached) " >&6
27564 else
27565
27566
27567 ac_ext=cpp
27568 ac_cpp='$CXXCPP $CPPFLAGS'
27569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27572
27573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27574 /* end confdefs.h. */
27575 #include <math.h>
27576 int
27577 main ()
27578 {
27579 sincosl(0, 0, 0);
27580 ;
27581 return 0;
27582 }
27583 _ACEOF
27584 if ac_fn_cxx_try_compile "$LINENO"; then :
27585 glibcxx_cv_func_sincosl_use=yes
27586 else
27587 glibcxx_cv_func_sincosl_use=no
27588 fi
27589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27590 ac_ext=c
27591 ac_cpp='$CPP $CPPFLAGS'
27592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27595
27596
27597 fi
27598
27599 fi
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27601 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27602
27603 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27604 for ac_func in sincosl
27605 do :
27606 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27607 if test "x$ac_cv_func_sincosl" = xyes; then :
27608 cat >>confdefs.h <<_ACEOF
27609 #define HAVE_SINCOSL 1
27610 _ACEOF
27611
27612 fi
27613 done
27614
27615 else
27616
27617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27618 $as_echo_n "checking for _sincosl declaration... " >&6; }
27619 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27620 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27621 $as_echo_n "(cached) " >&6
27622 else
27623
27624
27625 ac_ext=cpp
27626 ac_cpp='$CXXCPP $CPPFLAGS'
27627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27630
27631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27632 /* end confdefs.h. */
27633 #include <math.h>
27634 int
27635 main ()
27636 {
27637 _sincosl(0, 0, 0);
27638 ;
27639 return 0;
27640 }
27641 _ACEOF
27642 if ac_fn_cxx_try_compile "$LINENO"; then :
27643 glibcxx_cv_func__sincosl_use=yes
27644 else
27645 glibcxx_cv_func__sincosl_use=no
27646 fi
27647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27648 ac_ext=c
27649 ac_cpp='$CPP $CPPFLAGS'
27650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27653
27654
27655 fi
27656
27657 fi
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27659 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27660
27661 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27662 for ac_func in _sincosl
27663 do :
27664 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27665 if test "x$ac_cv_func__sincosl" = xyes; then :
27666 cat >>confdefs.h <<_ACEOF
27667 #define HAVE__SINCOSL 1
27668 _ACEOF
27669
27670 fi
27671 done
27672
27673 fi
27674 fi
27675
27676
27677
27678
27679
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27681 $as_echo_n "checking for finitel declaration... " >&6; }
27682 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27683 if ${glibcxx_cv_func_finitel_use+:} false; then :
27684 $as_echo_n "(cached) " >&6
27685 else
27686
27687
27688 ac_ext=cpp
27689 ac_cpp='$CXXCPP $CPPFLAGS'
27690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27693
27694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27695 /* end confdefs.h. */
27696 #include <math.h>
27697 #ifdef HAVE_IEEEFP_H
27698 #include <ieeefp.h>
27699 #endif
27700
27701 int
27702 main ()
27703 {
27704 finitel(0);
27705 ;
27706 return 0;
27707 }
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710 glibcxx_cv_func_finitel_use=yes
27711 else
27712 glibcxx_cv_func_finitel_use=no
27713 fi
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27720
27721
27722 fi
27723
27724 fi
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27726 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27727
27728 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27729 for ac_func in finitel
27730 do :
27731 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27732 if test "x$ac_cv_func_finitel" = xyes; then :
27733 cat >>confdefs.h <<_ACEOF
27734 #define HAVE_FINITEL 1
27735 _ACEOF
27736
27737 fi
27738 done
27739
27740 else
27741
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27743 $as_echo_n "checking for _finitel declaration... " >&6; }
27744 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27745 if ${glibcxx_cv_func__finitel_use+:} false; then :
27746 $as_echo_n "(cached) " >&6
27747 else
27748
27749
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <math.h>
27759 #ifdef HAVE_IEEEFP_H
27760 #include <ieeefp.h>
27761 #endif
27762
27763 int
27764 main ()
27765 {
27766 _finitel(0);
27767 ;
27768 return 0;
27769 }
27770 _ACEOF
27771 if ac_fn_cxx_try_compile "$LINENO"; then :
27772 glibcxx_cv_func__finitel_use=yes
27773 else
27774 glibcxx_cv_func__finitel_use=no
27775 fi
27776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27777 ac_ext=c
27778 ac_cpp='$CPP $CPPFLAGS'
27779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27782
27783
27784 fi
27785
27786 fi
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27788 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27789
27790 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27791 for ac_func in _finitel
27792 do :
27793 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27794 if test "x$ac_cv_func__finitel" = xyes; then :
27795 cat >>confdefs.h <<_ACEOF
27796 #define HAVE__FINITEL 1
27797 _ACEOF
27798
27799 fi
27800 done
27801
27802 fi
27803 fi
27804
27805
27806
27807
27808 LIBS="$ac_save_LIBS"
27809 CXXFLAGS="$ac_save_CXXFLAGS"
27810
27811
27812 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27813 ac_save_CXXFLAGS="$CXXFLAGS"
27814 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27815
27816
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27818 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27819 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27820 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27821 $as_echo_n "(cached) " >&6
27822 else
27823
27824
27825 ac_ext=cpp
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27830
27831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27832 /* end confdefs.h. */
27833 #include <stdlib.h>
27834 int
27835 main ()
27836 {
27837 at_quick_exit(0);
27838 ;
27839 return 0;
27840 }
27841 _ACEOF
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843 glibcxx_cv_func_at_quick_exit_use=yes
27844 else
27845 glibcxx_cv_func_at_quick_exit_use=no
27846 fi
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27853
27854
27855 fi
27856
27857 fi
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27859 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27860 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27861 for ac_func in at_quick_exit
27862 do :
27863 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27864 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27865 cat >>confdefs.h <<_ACEOF
27866 #define HAVE_AT_QUICK_EXIT 1
27867 _ACEOF
27868
27869 fi
27870 done
27871
27872 fi
27873
27874
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27876 $as_echo_n "checking for quick_exit declaration... " >&6; }
27877 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27878 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27879 $as_echo_n "(cached) " >&6
27880 else
27881
27882
27883 ac_ext=cpp
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888
27889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890 /* end confdefs.h. */
27891 #include <stdlib.h>
27892 int
27893 main ()
27894 {
27895 quick_exit(0);
27896 ;
27897 return 0;
27898 }
27899 _ACEOF
27900 if ac_fn_cxx_try_compile "$LINENO"; then :
27901 glibcxx_cv_func_quick_exit_use=yes
27902 else
27903 glibcxx_cv_func_quick_exit_use=no
27904 fi
27905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27906 ac_ext=c
27907 ac_cpp='$CPP $CPPFLAGS'
27908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27911
27912
27913 fi
27914
27915 fi
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27917 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27918 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27919 for ac_func in quick_exit
27920 do :
27921 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27922 if test "x$ac_cv_func_quick_exit" = xyes; then :
27923 cat >>confdefs.h <<_ACEOF
27924 #define HAVE_QUICK_EXIT 1
27925 _ACEOF
27926
27927 fi
27928 done
27929
27930 fi
27931
27932
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27934 $as_echo_n "checking for strtold declaration... " >&6; }
27935 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27936 if ${glibcxx_cv_func_strtold_use+:} false; then :
27937 $as_echo_n "(cached) " >&6
27938 else
27939
27940
27941 ac_ext=cpp
27942 ac_cpp='$CXXCPP $CPPFLAGS'
27943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27946
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 #include <stdlib.h>
27950 int
27951 main ()
27952 {
27953 strtold(0, 0);
27954 ;
27955 return 0;
27956 }
27957 _ACEOF
27958 if ac_fn_cxx_try_compile "$LINENO"; then :
27959 glibcxx_cv_func_strtold_use=yes
27960 else
27961 glibcxx_cv_func_strtold_use=no
27962 fi
27963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_ext=c
27965 ac_cpp='$CPP $CPPFLAGS'
27966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27969
27970
27971 fi
27972
27973 fi
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27975 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27976 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27977 for ac_func in strtold
27978 do :
27979 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27980 if test "x$ac_cv_func_strtold" = xyes; then :
27981 cat >>confdefs.h <<_ACEOF
27982 #define HAVE_STRTOLD 1
27983 _ACEOF
27984
27985 fi
27986 done
27987
27988 fi
27989
27990
27991
27992
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27994 $as_echo_n "checking for strtof declaration... " >&6; }
27995 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27996 if ${glibcxx_cv_func_strtof_use+:} false; then :
27997 $as_echo_n "(cached) " >&6
27998 else
27999
28000
28001 ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28006
28007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h. */
28009 #include <stdlib.h>
28010 int
28011 main ()
28012 {
28013 strtof(0, 0);
28014 ;
28015 return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func_strtof_use=yes
28020 else
28021 glibcxx_cv_func_strtof_use=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28029
28030
28031 fi
28032
28033 fi
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28035 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28036 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28037 for ac_func in strtof
28038 do :
28039 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28040 if test "x$ac_cv_func_strtof" = xyes; then :
28041 cat >>confdefs.h <<_ACEOF
28042 #define HAVE_STRTOF 1
28043 _ACEOF
28044
28045 fi
28046 done
28047
28048 fi
28049
28050
28051
28052
28053 CXXFLAGS="$ac_save_CXXFLAGS"
28054
28055
28056 # For /dev/random and /dev/urandom for std::random_device.
28057
28058
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28060 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28061 if ${glibcxx_cv_dev_random+:} false; then :
28062 $as_echo_n "(cached) " >&6
28063 else
28064
28065 if test -r /dev/random && test -r /dev/urandom; then
28066 ## For MSys environment the test above is detected as false-positive
28067 ## on mingw-targets. So disable it explicitly for them.
28068 case ${target_os} in
28069 *mingw*) glibcxx_cv_dev_random=no ;;
28070 *) glibcxx_cv_dev_random=yes ;;
28071 esac
28072 else
28073 glibcxx_cv_dev_random=no;
28074 fi
28075
28076 fi
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28078 $as_echo "$glibcxx_cv_dev_random" >&6; }
28079
28080 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28081
28082 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28083
28084
28085 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28086
28087 fi
28088
28089
28090
28091 # For TLS support.
28092
28093
28094 # Check whether --enable-tls was given.
28095 if test "${enable_tls+set}" = set; then :
28096 enableval=$enable_tls;
28097 case "$enableval" in
28098 yes|no) ;;
28099 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28100 esac
28101
28102 else
28103 enable_tls=yes
28104 fi
28105
28106
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28108 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28109 if ${gcc_cv_have_tls+:} false; then :
28110 $as_echo_n "(cached) " >&6
28111 else
28112
28113 if test "$cross_compiling" = yes; then :
28114 if test x$gcc_no_link = xyes; then
28115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28116 fi
28117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28118 /* end confdefs.h. */
28119 __thread int a; int b; int main() { return a = b; }
28120 _ACEOF
28121 if ac_fn_c_try_link "$LINENO"; then :
28122 chktls_save_LDFLAGS="$LDFLAGS"
28123 case $host in
28124 *-*-linux* | -*-uclinuxfdpic*)
28125 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28126 ;;
28127 esac
28128 chktls_save_CFLAGS="$CFLAGS"
28129 CFLAGS="-fPIC $CFLAGS"
28130 if test x$gcc_no_link = xyes; then
28131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28132 fi
28133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28134 /* end confdefs.h. */
28135 int f() { return 0; }
28136 _ACEOF
28137 if ac_fn_c_try_link "$LINENO"; then :
28138 if test x$gcc_no_link = xyes; then
28139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28140 fi
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 __thread int a; int b; int f() { return a = b; }
28144 _ACEOF
28145 if ac_fn_c_try_link "$LINENO"; then :
28146 gcc_cv_have_tls=yes
28147 else
28148 gcc_cv_have_tls=no
28149 fi
28150 rm -f core conftest.err conftest.$ac_objext \
28151 conftest$ac_exeext conftest.$ac_ext
28152 else
28153 gcc_cv_have_tls=yes
28154 fi
28155 rm -f core conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28157 CFLAGS="$chktls_save_CFLAGS"
28158 LDFLAGS="$chktls_save_LDFLAGS"
28159 else
28160 gcc_cv_have_tls=no
28161 fi
28162 rm -f core conftest.err conftest.$ac_objext \
28163 conftest$ac_exeext conftest.$ac_ext
28164
28165
28166 else
28167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168 /* end confdefs.h. */
28169 __thread int a; int b; int main() { return a = b; }
28170 _ACEOF
28171 if ac_fn_c_try_run "$LINENO"; then :
28172 chktls_save_LDFLAGS="$LDFLAGS"
28173 LDFLAGS="-static $LDFLAGS"
28174 if test x$gcc_no_link = xyes; then
28175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28176 fi
28177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28178 /* end confdefs.h. */
28179 int main() { return 0; }
28180 _ACEOF
28181 if ac_fn_c_try_link "$LINENO"; then :
28182 if test "$cross_compiling" = yes; then :
28183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28185 as_fn_error $? "cannot run test program while cross compiling
28186 See \`config.log' for more details" "$LINENO" 5; }
28187 else
28188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189 /* end confdefs.h. */
28190 __thread int a; int b; int main() { return a = b; }
28191 _ACEOF
28192 if ac_fn_c_try_run "$LINENO"; then :
28193 gcc_cv_have_tls=yes
28194 else
28195 gcc_cv_have_tls=no
28196 fi
28197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28198 conftest.$ac_objext conftest.beam conftest.$ac_ext
28199 fi
28200
28201 else
28202 gcc_cv_have_tls=yes
28203 fi
28204 rm -f core conftest.err conftest.$ac_objext \
28205 conftest$ac_exeext conftest.$ac_ext
28206 LDFLAGS="$chktls_save_LDFLAGS"
28207 if test $gcc_cv_have_tls = yes; then
28208 chktls_save_CFLAGS="$CFLAGS"
28209 thread_CFLAGS=failed
28210 for flag in '' '-pthread' '-lpthread'; do
28211 CFLAGS="$flag $chktls_save_CFLAGS"
28212 if test x$gcc_no_link = xyes; then
28213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28214 fi
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28217 #include <pthread.h>
28218 void *g(void *d) { return NULL; }
28219 int
28220 main ()
28221 {
28222 pthread_t t; pthread_create(&t,NULL,g,NULL);
28223 ;
28224 return 0;
28225 }
28226 _ACEOF
28227 if ac_fn_c_try_link "$LINENO"; then :
28228 thread_CFLAGS="$flag"
28229 fi
28230 rm -f core conftest.err conftest.$ac_objext \
28231 conftest$ac_exeext conftest.$ac_ext
28232 if test "X$thread_CFLAGS" != Xfailed; then
28233 break
28234 fi
28235 done
28236 CFLAGS="$chktls_save_CFLAGS"
28237 if test "X$thread_CFLAGS" != Xfailed; then
28238 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28239 if test "$cross_compiling" = yes; then :
28240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28242 as_fn_error $? "cannot run test program while cross compiling
28243 See \`config.log' for more details" "$LINENO" 5; }
28244 else
28245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28246 /* end confdefs.h. */
28247 #include <pthread.h>
28248 __thread int a;
28249 static int *volatile a_in_other_thread;
28250 static void *
28251 thread_func (void *arg)
28252 {
28253 a_in_other_thread = &a;
28254 return (void *)0;
28255 }
28256 int
28257 main ()
28258 {
28259 pthread_t thread;
28260 void *thread_retval;
28261 int *volatile a_in_main_thread;
28262 a_in_main_thread = &a;
28263 if (pthread_create (&thread, (pthread_attr_t *)0,
28264 thread_func, (void *)0))
28265 return 0;
28266 if (pthread_join (thread, &thread_retval))
28267 return 0;
28268 return (a_in_other_thread == a_in_main_thread);
28269 ;
28270 return 0;
28271 }
28272 _ACEOF
28273 if ac_fn_c_try_run "$LINENO"; then :
28274 gcc_cv_have_tls=yes
28275 else
28276 gcc_cv_have_tls=no
28277 fi
28278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28279 conftest.$ac_objext conftest.beam conftest.$ac_ext
28280 fi
28281
28282 CFLAGS="$chktls_save_CFLAGS"
28283 fi
28284 fi
28285 else
28286 gcc_cv_have_tls=no
28287 fi
28288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28289 conftest.$ac_objext conftest.beam conftest.$ac_ext
28290 fi
28291
28292 fi
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28294 $as_echo "$gcc_cv_have_tls" >&6; }
28295 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28296
28297 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28298
28299 fi
28300
28301 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28302 do :
28303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28308 _ACEOF
28309
28310 fi
28311 done
28312
28313 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28314 do :
28315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28318 cat >>confdefs.h <<_ACEOF
28319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 _ACEOF
28321
28322 fi
28323 done
28324
28325 for ac_func in _wfopen
28326 do :
28327 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28328 if test "x$ac_cv_func__wfopen" = xyes; then :
28329 cat >>confdefs.h <<_ACEOF
28330 #define HAVE__WFOPEN 1
28331 _ACEOF
28332
28333 fi
28334 done
28335
28336 for ac_func in secure_getenv
28337 do :
28338 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28339 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_SECURE_GETENV 1
28342 _ACEOF
28343
28344 fi
28345 done
28346
28347
28348 # C11 functions for C++17 library
28349 for ac_func in timespec_get
28350 do :
28351 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28352 if test "x$ac_cv_func_timespec_get" = xyes; then :
28353 cat >>confdefs.h <<_ACEOF
28354 #define HAVE_TIMESPEC_GET 1
28355 _ACEOF
28356
28357 fi
28358 done
28359
28360
28361 # For Networking TS.
28362 for ac_func in sockatmark
28363 do :
28364 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28365 if test "x$ac_cv_func_sockatmark" = xyes; then :
28366 cat >>confdefs.h <<_ACEOF
28367 #define HAVE_SOCKATMARK 1
28368 _ACEOF
28369
28370 fi
28371 done
28372
28373
28374 # Non-standard functions used by C++17 std::from_chars
28375 for ac_func in uselocale
28376 do :
28377 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28378 if test "x$ac_cv_func_uselocale" = xyes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_USELOCALE 1
28381 _ACEOF
28382
28383 fi
28384 done
28385
28386
28387 # For iconv support.
28388
28389 if test "X$prefix" = "XNONE"; then
28390 acl_final_prefix="$ac_default_prefix"
28391 else
28392 acl_final_prefix="$prefix"
28393 fi
28394 if test "X$exec_prefix" = "XNONE"; then
28395 acl_final_exec_prefix='${prefix}'
28396 else
28397 acl_final_exec_prefix="$exec_prefix"
28398 fi
28399 acl_save_prefix="$prefix"
28400 prefix="$acl_final_prefix"
28401 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28402 prefix="$acl_save_prefix"
28403
28404
28405 # Check whether --with-gnu-ld was given.
28406 if test "${with_gnu_ld+set}" = set; then :
28407 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28408 else
28409 with_gnu_ld=no
28410 fi
28411
28412 # Prepare PATH_SEPARATOR.
28413 # The user is always right.
28414 if test "${PATH_SEPARATOR+set}" != set; then
28415 echo "#! /bin/sh" >conf$$.sh
28416 echo "exit 0" >>conf$$.sh
28417 chmod +x conf$$.sh
28418 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28419 PATH_SEPARATOR=';'
28420 else
28421 PATH_SEPARATOR=:
28422 fi
28423 rm -f conf$$.sh
28424 fi
28425 ac_prog=ld
28426 if test "$GCC" = yes; then
28427 # Check if gcc -print-prog-name=ld gives a path.
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28429 $as_echo_n "checking for ld used by GCC... " >&6; }
28430 case $host in
28431 *-*-mingw*)
28432 # gcc leaves a trailing carriage return which upsets mingw
28433 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28434 *)
28435 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28436 esac
28437 case $ac_prog in
28438 # Accept absolute paths.
28439 [\\/]* | [A-Za-z]:[\\/]*)
28440 re_direlt='/[^/][^/]*/\.\./'
28441 # Canonicalize the path of ld
28442 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28443 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28444 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28445 done
28446 test -z "$LD" && LD="$ac_prog"
28447 ;;
28448 "")
28449 # If it fails, then pretend we aren't using GCC.
28450 ac_prog=ld
28451 ;;
28452 *)
28453 # If it is relative, then search for the first ld in PATH.
28454 with_gnu_ld=unknown
28455 ;;
28456 esac
28457 elif test "$with_gnu_ld" = yes; then
28458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28459 $as_echo_n "checking for GNU ld... " >&6; }
28460 else
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28462 $as_echo_n "checking for non-GNU ld... " >&6; }
28463 fi
28464 if ${acl_cv_path_LD+:} false; then :
28465 $as_echo_n "(cached) " >&6
28466 else
28467 if test -z "$LD"; then
28468 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28469 for ac_dir in $PATH; do
28470 test -z "$ac_dir" && ac_dir=.
28471 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28472 acl_cv_path_LD="$ac_dir/$ac_prog"
28473 # Check to see if the program is GNU ld. I'd rather use --version,
28474 # but apparently some GNU ld's only accept -v.
28475 # Break only if it was the GNU/non-GNU ld that we prefer.
28476 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28477 test "$with_gnu_ld" != no && break
28478 else
28479 test "$with_gnu_ld" != yes && break
28480 fi
28481 fi
28482 done
28483 IFS="$ac_save_ifs"
28484 else
28485 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28486 fi
28487 fi
28488
28489 LD="$acl_cv_path_LD"
28490 if test -n "$LD"; then
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28492 $as_echo "$LD" >&6; }
28493 else
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28495 $as_echo "no" >&6; }
28496 fi
28497 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28499 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28500 if ${acl_cv_prog_gnu_ld+:} false; then :
28501 $as_echo_n "(cached) " >&6
28502 else
28503 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28504 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28505 acl_cv_prog_gnu_ld=yes
28506 else
28507 acl_cv_prog_gnu_ld=no
28508 fi
28509 fi
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28511 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28512 with_gnu_ld=$acl_cv_prog_gnu_ld
28513
28514
28515
28516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28517 $as_echo_n "checking for shared library run path origin... " >&6; }
28518 if ${acl_cv_rpath+:} false; then :
28519 $as_echo_n "(cached) " >&6
28520 else
28521
28522 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28523 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28524 . ./conftest.sh
28525 rm -f ./conftest.sh
28526 acl_cv_rpath=done
28527
28528 fi
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28530 $as_echo "$acl_cv_rpath" >&6; }
28531 wl="$acl_cv_wl"
28532 libext="$acl_cv_libext"
28533 shlibext="$acl_cv_shlibext"
28534 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28535 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28536 hardcode_direct="$acl_cv_hardcode_direct"
28537 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28538 # Check whether --enable-rpath was given.
28539 if test "${enable_rpath+set}" = set; then :
28540 enableval=$enable_rpath; :
28541 else
28542 enable_rpath=yes
28543 fi
28544
28545
28546
28547
28548
28549
28550
28551
28552 use_additional=yes
28553
28554 acl_save_prefix="$prefix"
28555 prefix="$acl_final_prefix"
28556 acl_save_exec_prefix="$exec_prefix"
28557 exec_prefix="$acl_final_exec_prefix"
28558
28559 eval additional_includedir=\"$includedir\"
28560 eval additional_libdir=\"$libdir\"
28561
28562 exec_prefix="$acl_save_exec_prefix"
28563 prefix="$acl_save_prefix"
28564
28565
28566 # Check whether --with-libiconv-prefix was given.
28567 if test "${with_libiconv_prefix+set}" = set; then :
28568 withval=$with_libiconv_prefix;
28569 if test "X$withval" = "Xno"; then
28570 use_additional=no
28571 else
28572 if test "X$withval" = "X"; then
28573
28574 acl_save_prefix="$prefix"
28575 prefix="$acl_final_prefix"
28576 acl_save_exec_prefix="$exec_prefix"
28577 exec_prefix="$acl_final_exec_prefix"
28578
28579 eval additional_includedir=\"$includedir\"
28580 eval additional_libdir=\"$libdir\"
28581
28582 exec_prefix="$acl_save_exec_prefix"
28583 prefix="$acl_save_prefix"
28584
28585 else
28586 additional_includedir="$withval/include"
28587 additional_libdir="$withval/lib"
28588 fi
28589 fi
28590
28591 fi
28592
28593
28594 # Check whether --with-libiconv-type was given.
28595 if test "${with_libiconv_type+set}" = set; then :
28596 withval=$with_libiconv_type; with_libiconv_type=$withval
28597 else
28598 with_libiconv_type=auto
28599 fi
28600
28601 lib_type=`eval echo \$with_libiconv_type`
28602
28603 LIBICONV=
28604 LTLIBICONV=
28605 INCICONV=
28606 rpathdirs=
28607 ltrpathdirs=
28608 names_already_handled=
28609 names_next_round='iconv '
28610 while test -n "$names_next_round"; do
28611 names_this_round="$names_next_round"
28612 names_next_round=
28613 for name in $names_this_round; do
28614 already_handled=
28615 for n in $names_already_handled; do
28616 if test "$n" = "$name"; then
28617 already_handled=yes
28618 break
28619 fi
28620 done
28621 if test -z "$already_handled"; then
28622 names_already_handled="$names_already_handled $name"
28623 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28624 eval value=\"\$HAVE_LIB$uppername\"
28625 if test -n "$value"; then
28626 if test "$value" = yes; then
28627 eval value=\"\$LIB$uppername\"
28628 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28629 eval value=\"\$LTLIB$uppername\"
28630 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28631 else
28632 :
28633 fi
28634 else
28635 found_dir=
28636 found_la=
28637 found_so=
28638 found_a=
28639 if test $use_additional = yes; then
28640 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28641 found_dir="$additional_libdir"
28642 found_so="$additional_libdir/lib$name.$shlibext"
28643 if test -f "$additional_libdir/lib$name.la"; then
28644 found_la="$additional_libdir/lib$name.la"
28645 fi
28646 elif test x$lib_type != xshared; then
28647 if test -f "$additional_libdir/lib$name.$libext"; then
28648 found_dir="$additional_libdir"
28649 found_a="$additional_libdir/lib$name.$libext"
28650 if test -f "$additional_libdir/lib$name.la"; then
28651 found_la="$additional_libdir/lib$name.la"
28652 fi
28653 fi
28654 fi
28655 fi
28656 if test "X$found_dir" = "X"; then
28657 for x in $LDFLAGS $LTLIBICONV; do
28658
28659 acl_save_prefix="$prefix"
28660 prefix="$acl_final_prefix"
28661 acl_save_exec_prefix="$exec_prefix"
28662 exec_prefix="$acl_final_exec_prefix"
28663 eval x=\"$x\"
28664 exec_prefix="$acl_save_exec_prefix"
28665 prefix="$acl_save_prefix"
28666
28667 case "$x" in
28668 -L*)
28669 dir=`echo "X$x" | sed -e 's/^X-L//'`
28670 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28671 found_dir="$dir"
28672 found_so="$dir/lib$name.$shlibext"
28673 if test -f "$dir/lib$name.la"; then
28674 found_la="$dir/lib$name.la"
28675 fi
28676 elif test x$lib_type != xshared; then
28677 if test -f "$dir/lib$name.$libext"; then
28678 found_dir="$dir"
28679 found_a="$dir/lib$name.$libext"
28680 if test -f "$dir/lib$name.la"; then
28681 found_la="$dir/lib$name.la"
28682 fi
28683 fi
28684 fi
28685 ;;
28686 esac
28687 if test "X$found_dir" != "X"; then
28688 break
28689 fi
28690 done
28691 fi
28692 if test "X$found_dir" != "X"; then
28693 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28694 if test "X$found_so" != "X"; then
28695 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28696 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28697 else
28698 haveit=
28699 for x in $ltrpathdirs; do
28700 if test "X$x" = "X$found_dir"; then
28701 haveit=yes
28702 break
28703 fi
28704 done
28705 if test -z "$haveit"; then
28706 ltrpathdirs="$ltrpathdirs $found_dir"
28707 fi
28708 if test "$hardcode_direct" = yes; then
28709 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28710 else
28711 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28712 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28713 haveit=
28714 for x in $rpathdirs; do
28715 if test "X$x" = "X$found_dir"; then
28716 haveit=yes
28717 break
28718 fi
28719 done
28720 if test -z "$haveit"; then
28721 rpathdirs="$rpathdirs $found_dir"
28722 fi
28723 else
28724 haveit=
28725 for x in $LDFLAGS $LIBICONV; do
28726
28727 acl_save_prefix="$prefix"
28728 prefix="$acl_final_prefix"
28729 acl_save_exec_prefix="$exec_prefix"
28730 exec_prefix="$acl_final_exec_prefix"
28731 eval x=\"$x\"
28732 exec_prefix="$acl_save_exec_prefix"
28733 prefix="$acl_save_prefix"
28734
28735 if test "X$x" = "X-L$found_dir"; then
28736 haveit=yes
28737 break
28738 fi
28739 done
28740 if test -z "$haveit"; then
28741 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28742 fi
28743 if test "$hardcode_minus_L" != no; then
28744 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28745 else
28746 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28747 fi
28748 fi
28749 fi
28750 fi
28751 else
28752 if test "X$found_a" != "X"; then
28753 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28754 else
28755 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28756 fi
28757 fi
28758 additional_includedir=
28759 case "$found_dir" in
28760 */lib | */lib/)
28761 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28762 additional_includedir="$basedir/include"
28763 ;;
28764 esac
28765 if test "X$additional_includedir" != "X"; then
28766 if test "X$additional_includedir" != "X/usr/include"; then
28767 haveit=
28768 if test "X$additional_includedir" = "X/usr/local/include"; then
28769 if test -n "$GCC"; then
28770 case $host_os in
28771 linux*) haveit=yes;;
28772 esac
28773 fi
28774 fi
28775 if test -z "$haveit"; then
28776 for x in $CPPFLAGS $INCICONV; do
28777
28778 acl_save_prefix="$prefix"
28779 prefix="$acl_final_prefix"
28780 acl_save_exec_prefix="$exec_prefix"
28781 exec_prefix="$acl_final_exec_prefix"
28782 eval x=\"$x\"
28783 exec_prefix="$acl_save_exec_prefix"
28784 prefix="$acl_save_prefix"
28785
28786 if test "X$x" = "X-I$additional_includedir"; then
28787 haveit=yes
28788 break
28789 fi
28790 done
28791 if test -z "$haveit"; then
28792 if test -d "$additional_includedir"; then
28793 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28794 fi
28795 fi
28796 fi
28797 fi
28798 fi
28799 if test -n "$found_la"; then
28800 save_libdir="$libdir"
28801 case "$found_la" in
28802 */* | *\\*) . "$found_la" ;;
28803 *) . "./$found_la" ;;
28804 esac
28805 libdir="$save_libdir"
28806 for dep in $dependency_libs; do
28807 case "$dep" in
28808 -L*)
28809 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28810 if test "X$additional_libdir" != "X/usr/lib"; then
28811 haveit=
28812 if test "X$additional_libdir" = "X/usr/local/lib"; then
28813 if test -n "$GCC"; then
28814 case $host_os in
28815 linux*) haveit=yes;;
28816 esac
28817 fi
28818 fi
28819 if test -z "$haveit"; then
28820 haveit=
28821 for x in $LDFLAGS $LIBICONV; do
28822
28823 acl_save_prefix="$prefix"
28824 prefix="$acl_final_prefix"
28825 acl_save_exec_prefix="$exec_prefix"
28826 exec_prefix="$acl_final_exec_prefix"
28827 eval x=\"$x\"
28828 exec_prefix="$acl_save_exec_prefix"
28829 prefix="$acl_save_prefix"
28830
28831 if test "X$x" = "X-L$additional_libdir"; then
28832 haveit=yes
28833 break
28834 fi
28835 done
28836 if test -z "$haveit"; then
28837 if test -d "$additional_libdir"; then
28838 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28839 fi
28840 fi
28841 haveit=
28842 for x in $LDFLAGS $LTLIBICONV; do
28843
28844 acl_save_prefix="$prefix"
28845 prefix="$acl_final_prefix"
28846 acl_save_exec_prefix="$exec_prefix"
28847 exec_prefix="$acl_final_exec_prefix"
28848 eval x=\"$x\"
28849 exec_prefix="$acl_save_exec_prefix"
28850 prefix="$acl_save_prefix"
28851
28852 if test "X$x" = "X-L$additional_libdir"; then
28853 haveit=yes
28854 break
28855 fi
28856 done
28857 if test -z "$haveit"; then
28858 if test -d "$additional_libdir"; then
28859 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28860 fi
28861 fi
28862 fi
28863 fi
28864 ;;
28865 -R*)
28866 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28867 if test "$enable_rpath" != no; then
28868 haveit=
28869 for x in $rpathdirs; do
28870 if test "X$x" = "X$dir"; then
28871 haveit=yes
28872 break
28873 fi
28874 done
28875 if test -z "$haveit"; then
28876 rpathdirs="$rpathdirs $dir"
28877 fi
28878 haveit=
28879 for x in $ltrpathdirs; do
28880 if test "X$x" = "X$dir"; then
28881 haveit=yes
28882 break
28883 fi
28884 done
28885 if test -z "$haveit"; then
28886 ltrpathdirs="$ltrpathdirs $dir"
28887 fi
28888 fi
28889 ;;
28890 -l*)
28891 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28892 ;;
28893 *.la)
28894 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28895 ;;
28896 *)
28897 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28898 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28899 ;;
28900 esac
28901 done
28902 fi
28903 else
28904 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28905 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28906 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28907 else
28908 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28909 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28910 fi
28911 fi
28912 fi
28913 fi
28914 done
28915 done
28916 if test "X$rpathdirs" != "X"; then
28917 if test -n "$hardcode_libdir_separator"; then
28918 alldirs=
28919 for found_dir in $rpathdirs; do
28920 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28921 done
28922 acl_save_libdir="$libdir"
28923 libdir="$alldirs"
28924 eval flag=\"$hardcode_libdir_flag_spec\"
28925 libdir="$acl_save_libdir"
28926 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28927 else
28928 for found_dir in $rpathdirs; do
28929 acl_save_libdir="$libdir"
28930 libdir="$found_dir"
28931 eval flag=\"$hardcode_libdir_flag_spec\"
28932 libdir="$acl_save_libdir"
28933 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28934 done
28935 fi
28936 fi
28937 if test "X$ltrpathdirs" != "X"; then
28938 for found_dir in $ltrpathdirs; do
28939 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28940 done
28941 fi
28942
28943
28944
28945
28946
28947
28948
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28950 $as_echo_n "checking for iconv... " >&6; }
28951 if ${am_cv_func_iconv+:} false; then :
28952 $as_echo_n "(cached) " >&6
28953 else
28954
28955 am_cv_func_iconv="no, consider installing GNU libiconv"
28956 am_cv_lib_iconv=no
28957 am_save_CPPFLAGS="$CPPFLAGS"
28958 CPPFLAGS="$CPPFLAGS $INCICONV"
28959 if test x$gcc_no_link = xyes; then
28960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28961 fi
28962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28963 /* end confdefs.h. */
28964 #include <stdlib.h>
28965 #include <iconv.h>
28966 int
28967 main ()
28968 {
28969 iconv_t cd = iconv_open("","");
28970 iconv(cd,NULL,NULL,NULL,NULL);
28971 iconv_close(cd);
28972 ;
28973 return 0;
28974 }
28975 _ACEOF
28976 if ac_fn_c_try_link "$LINENO"; then :
28977 am_cv_func_iconv=yes
28978 fi
28979 rm -f core conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28981 CPPFLAGS="$am_save_CPPFLAGS"
28982
28983 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28984 for _libs in .libs _libs; do
28985 am_save_CPPFLAGS="$CPPFLAGS"
28986 am_save_LIBS="$LIBS"
28987 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28988 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28989 if test x$gcc_no_link = xyes; then
28990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28991 fi
28992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28993 /* end confdefs.h. */
28994 #include <stdlib.h>
28995 #include <iconv.h>
28996 int
28997 main ()
28998 {
28999 iconv_t cd = iconv_open("","");
29000 iconv(cd,NULL,NULL,NULL,NULL);
29001 iconv_close(cd);
29002 ;
29003 return 0;
29004 }
29005 _ACEOF
29006 if ac_fn_c_try_link "$LINENO"; then :
29007 INCICONV="-I../libiconv/include"
29008 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29009 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29010 am_cv_lib_iconv=yes
29011 am_cv_func_iconv=yes
29012 fi
29013 rm -f core conftest.err conftest.$ac_objext \
29014 conftest$ac_exeext conftest.$ac_ext
29015 CPPFLAGS="$am_save_CPPFLAGS"
29016 LIBS="$am_save_LIBS"
29017 if test "$am_cv_func_iconv" = "yes"; then
29018 break
29019 fi
29020 done
29021 fi
29022
29023 if test "$am_cv_func_iconv" != yes; then
29024 am_save_CPPFLAGS="$CPPFLAGS"
29025 am_save_LIBS="$LIBS"
29026 CPPFLAGS="$CPPFLAGS $INCICONV"
29027 LIBS="$LIBS $LIBICONV"
29028 if test x$gcc_no_link = xyes; then
29029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29030 fi
29031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032 /* end confdefs.h. */
29033 #include <stdlib.h>
29034 #include <iconv.h>
29035 int
29036 main ()
29037 {
29038 iconv_t cd = iconv_open("","");
29039 iconv(cd,NULL,NULL,NULL,NULL);
29040 iconv_close(cd);
29041 ;
29042 return 0;
29043 }
29044 _ACEOF
29045 if ac_fn_c_try_link "$LINENO"; then :
29046 am_cv_lib_iconv=yes
29047 am_cv_func_iconv=yes
29048 fi
29049 rm -f core conftest.err conftest.$ac_objext \
29050 conftest$ac_exeext conftest.$ac_ext
29051 CPPFLAGS="$am_save_CPPFLAGS"
29052 LIBS="$am_save_LIBS"
29053 fi
29054
29055 fi
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29057 $as_echo "$am_cv_func_iconv" >&6; }
29058 if test "$am_cv_func_iconv" = yes; then
29059
29060 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29061
29062 fi
29063 if test "$am_cv_lib_iconv" = yes; then
29064
29065 for element in $INCICONV; do
29066 haveit=
29067 for x in $CPPFLAGS; do
29068
29069 acl_save_prefix="$prefix"
29070 prefix="$acl_final_prefix"
29071 acl_save_exec_prefix="$exec_prefix"
29072 exec_prefix="$acl_final_exec_prefix"
29073 eval x=\"$x\"
29074 exec_prefix="$acl_save_exec_prefix"
29075 prefix="$acl_save_prefix"
29076
29077 if test "X$x" = "X$element"; then
29078 haveit=yes
29079 break
29080 fi
29081 done
29082 if test -z "$haveit"; then
29083 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29084 fi
29085 done
29086
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29088 $as_echo_n "checking how to link with libiconv... " >&6; }
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29090 $as_echo "$LIBICONV" >&6; }
29091 else
29092 LIBICONV=
29093 LTLIBICONV=
29094 fi
29095
29096
29097
29098 if test "$am_cv_func_iconv" = yes; then
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29100 $as_echo_n "checking for iconv declaration... " >&6; }
29101 if ${am_cv_proto_iconv+:} false; then :
29102 $as_echo_n "(cached) " >&6
29103 else
29104
29105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29106 /* end confdefs.h. */
29107
29108 #include <stdlib.h>
29109 #include <iconv.h>
29110 extern
29111 #ifdef __cplusplus
29112 "C"
29113 #endif
29114 #if defined(__STDC__) || defined(__cplusplus)
29115 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29116 #else
29117 size_t iconv();
29118 #endif
29119
29120 int
29121 main ()
29122 {
29123
29124 ;
29125 return 0;
29126 }
29127 _ACEOF
29128 if ac_fn_c_try_compile "$LINENO"; then :
29129 am_cv_proto_iconv_arg1=""
29130 else
29131 am_cv_proto_iconv_arg1="const"
29132 fi
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29134 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);"
29135 fi
29136
29137 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29139 }$am_cv_proto_iconv" >&5
29140 $as_echo "${ac_t:-
29141 }$am_cv_proto_iconv" >&6; }
29142
29143 cat >>confdefs.h <<_ACEOF
29144 #define ICONV_CONST $am_cv_proto_iconv_arg1
29145 _ACEOF
29146
29147 fi
29148
29149
29150 else
29151
29152 # This lets us hard-code the functionality we know we'll have in the cross
29153 # target environment. "Let" is a sugar-coated word placed on an especially
29154 # dull and tedious hack, actually.
29155 #
29156 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29157 # that involve linking, can't be used:
29158 # "cannot open sim-crt0.o"
29159 # "cannot open crt0.o"
29160 # etc. All this is because there currently exists no unified, consistent
29161 # way for top level CC information to be passed down to target directories:
29162 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29163 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29164 # crosses can be removed.
29165
29166 # If Canadian cross, then don't pick up tools from the build directory.
29167 # Used only in GLIBCXX_EXPORT_INCLUDES.
29168 if test -n "$with_cross_host" &&
29169 test x"$build_alias" != x"$with_cross_host" &&
29170 test x"$build" != x"$target";
29171 then
29172 CANADIAN=yes
29173 else
29174 CANADIAN=no
29175 fi
29176
29177 # Construct crosses by hand, eliminating bits that need ld...
29178 # GLIBCXX_CHECK_MATH_SUPPORT
29179
29180 # First, test for "known" system libraries. We may be using newlib even
29181 # on a hosted environment.
29182 if test "x${with_newlib}" = "xyes"; then
29183 os_include_dir="os/newlib"
29184 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29185
29186
29187 # GLIBCXX_CHECK_STDLIB_SUPPORT
29188 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29189
29190
29191 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29192
29193 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29194
29195 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29196
29197 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29198
29199 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29200
29201 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29202
29203 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29204
29205 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29206
29207 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29208
29209 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29210
29211 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29212
29213 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29214
29215 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29216
29217 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29218
29219 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29220
29221 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29222
29223 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29224
29225 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29226
29227 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29228
29229 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29230
29231 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29232
29233 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29234
29235
29236 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29237
29238 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29239
29240 elif test "x$with_headers" != "xno"; then
29241
29242 # Base decisions on target environment.
29243 case "${host}" in
29244 arm*-*-symbianelf*)
29245 # This is a freestanding configuration; there is nothing to do here.
29246 ;;
29247
29248 avr*-*-*)
29249 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29250
29251 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29252
29253 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29254
29255 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29256
29257 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29258
29259 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29260
29261 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29262
29263 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29264
29265 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29266
29267 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29268
29269 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29270
29271 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29272
29273 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29274
29275 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29276
29277 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29278
29279 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29280
29281 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29282
29283 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29284
29285 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29286
29287 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29288
29289 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29290
29291 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29292
29293 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29294
29295 ;;
29296
29297 mips*-sde-elf*)
29298 # These definitions are for the SDE C library rather than newlib.
29299 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29300
29301
29302 # All these tests are for C++; save the language and the compiler flags.
29303 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29304 # found in GLIBCXX_CONFIGURE.
29305
29306 ac_ext=cpp
29307 ac_cpp='$CXXCPP $CPPFLAGS'
29308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29311
29312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29313 ac_save_CXXFLAGS="$CXXFLAGS"
29314
29315 # Check for -ffunction-sections -fdata-sections
29316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29317 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29318 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320 /* end confdefs.h. */
29321 int foo; void bar() { };
29322 int
29323 main ()
29324 {
29325
29326 ;
29327 return 0;
29328 }
29329 _ACEOF
29330 if ac_fn_cxx_try_compile "$LINENO"; then :
29331 ac_fdsections=yes
29332 else
29333 ac_fdsections=no
29334 fi
29335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29336 if test "$ac_test_CXXFLAGS" = set; then
29337 CXXFLAGS="$ac_save_CXXFLAGS"
29338 else
29339 # this is the suspicious part
29340 CXXFLAGS=''
29341 fi
29342 if test x"$ac_fdsections" = x"yes"; then
29343 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29344 fi
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29346 $as_echo "$ac_fdsections" >&6; }
29347
29348 ac_ext=c
29349 ac_cpp='$CPP $CPPFLAGS'
29350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29353
29354
29355
29356
29357 # If we're not using GNU ld, then there's no point in even trying these
29358 # tests. Check for that first. We should have already tested for gld
29359 # by now (in libtool), but require it now just to be safe...
29360 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29361 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29362
29363
29364
29365 # The name set by libtool depends on the version of libtool. Shame on us
29366 # for depending on an impl detail, but c'est la vie. Older versions used
29367 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29368 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29369 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29370 # set (hence we're using an older libtool), then set it.
29371 if test x${with_gnu_ld+set} != xset; then
29372 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29373 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29374 with_gnu_ld=no
29375 else
29376 with_gnu_ld=$ac_cv_prog_gnu_ld
29377 fi
29378 fi
29379
29380 # Start by getting the version number. I think the libtool test already
29381 # does some of this, but throws away the result.
29382 glibcxx_ld_is_gold=no
29383 glibcxx_ld_is_mold=no
29384 if test x"$with_gnu_ld" = x"yes"; then
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29386 $as_echo_n "checking for ld version... " >&6; }
29387
29388 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29389 glibcxx_ld_is_gold=yes
29390 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29391 glibcxx_ld_is_mold=yes
29392 fi
29393 ldver=`$LD --version 2>/dev/null |
29394 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29395
29396 glibcxx_gnu_ld_version=`echo $ldver | \
29397 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29399 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29400 fi
29401
29402 # Set --gc-sections.
29403 glibcxx_have_gc_sections=no
29404 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29405 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29406 glibcxx_have_gc_sections=yes
29407 fi
29408 else
29409 glibcxx_gcsections_min_ld=21602
29410 if test x"$with_gnu_ld" = x"yes" &&
29411 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29412 glibcxx_have_gc_sections=yes
29413 fi
29414 fi
29415 if test "$glibcxx_have_gc_sections" = "yes"; then
29416 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29417 # NB: This flag only works reliably after 2.16.1. Configure tests
29418 # for this are difficult, so hard wire a value that should work.
29419
29420 ac_test_CFLAGS="${CFLAGS+set}"
29421 ac_save_CFLAGS="$CFLAGS"
29422 CFLAGS='-Wl,--gc-sections'
29423
29424 # Check for -Wl,--gc-sections
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29426 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29427 if test x$gcc_no_link = xyes; then
29428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29429 fi
29430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h. */
29432 int one(void) { return 1; }
29433 int two(void) { return 2; }
29434
29435 int
29436 main ()
29437 {
29438 two();
29439 ;
29440 return 0;
29441 }
29442 _ACEOF
29443 if ac_fn_c_try_link "$LINENO"; then :
29444 ac_gcsections=yes
29445 else
29446 ac_gcsections=no
29447 fi
29448 rm -f core conftest.err conftest.$ac_objext \
29449 conftest$ac_exeext conftest.$ac_ext
29450 if test "$ac_gcsections" = "yes"; then
29451 rm -f conftest.c
29452 touch conftest.c
29453 if $CC -c conftest.c; then
29454 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29455 grep "Warning: gc-sections option ignored" > /dev/null; then
29456 ac_gcsections=no
29457 fi
29458 fi
29459 rm -f conftest.c conftest.o conftest
29460 fi
29461 if test "$ac_gcsections" = "yes"; then
29462 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29463 fi
29464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29465 $as_echo "$ac_gcsections" >&6; }
29466
29467 if test "$ac_test_CFLAGS" = set; then
29468 CFLAGS="$ac_save_CFLAGS"
29469 else
29470 # this is the suspicious part
29471 CFLAGS=''
29472 fi
29473 fi
29474
29475 # Set -z,relro.
29476 # Note this is only for shared objects.
29477 ac_ld_relro=no
29478 if test x"$with_gnu_ld" = x"yes"; then
29479 # cygwin and mingw uses PE, which has no ELF relro support,
29480 # multi target ld may confuse configure machinery
29481 case "$host" in
29482 *-*-cygwin*)
29483 ;;
29484 *-*-mingw*)
29485 ;;
29486 *)
29487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29488 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29489 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29490 if test -n "$cxx_z_relo"; then
29491 OPT_LDFLAGS="-Wl,-z,relro"
29492 ac_ld_relro=yes
29493 fi
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29495 $as_echo "$ac_ld_relro" >&6; }
29496 esac
29497 fi
29498
29499 # Set linker optimization flags.
29500 if test x"$with_gnu_ld" = x"yes"; then
29501 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29502 fi
29503
29504
29505
29506
29507
29508 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29509 ac_save_CXXFLAGS="$CXXFLAGS"
29510 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29511
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29513 $as_echo_n "checking for sin in -lm... " >&6; }
29514 if ${ac_cv_lib_m_sin+:} false; then :
29515 $as_echo_n "(cached) " >&6
29516 else
29517 ac_check_lib_save_LIBS=$LIBS
29518 LIBS="-lm $LIBS"
29519 if test x$gcc_no_link = xyes; then
29520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29521 fi
29522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h. */
29524
29525 /* Override any GCC internal prototype to avoid an error.
29526 Use char because int might match the return type of a GCC
29527 builtin and then its argument prototype would still apply. */
29528 #ifdef __cplusplus
29529 extern "C"
29530 #endif
29531 char sin ();
29532 int
29533 main ()
29534 {
29535 return sin ();
29536 ;
29537 return 0;
29538 }
29539 _ACEOF
29540 if ac_fn_c_try_link "$LINENO"; then :
29541 ac_cv_lib_m_sin=yes
29542 else
29543 ac_cv_lib_m_sin=no
29544 fi
29545 rm -f core conftest.err conftest.$ac_objext \
29546 conftest$ac_exeext conftest.$ac_ext
29547 LIBS=$ac_check_lib_save_LIBS
29548 fi
29549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29550 $as_echo "$ac_cv_lib_m_sin" >&6; }
29551 if test "x$ac_cv_lib_m_sin" = xyes; then :
29552 libm="-lm"
29553 fi
29554
29555 ac_save_LIBS="$LIBS"
29556 LIBS="$LIBS $libm"
29557
29558
29559
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29561 $as_echo_n "checking for isinf declaration... " >&6; }
29562 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29563 if ${glibcxx_cv_func_isinf_use+:} false; then :
29564 $as_echo_n "(cached) " >&6
29565 else
29566
29567
29568 ac_ext=cpp
29569 ac_cpp='$CXXCPP $CPPFLAGS'
29570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29573
29574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h. */
29576 #include <math.h>
29577 #ifdef HAVE_IEEEFP_H
29578 #include <ieeefp.h>
29579 #endif
29580
29581 int
29582 main ()
29583 {
29584 isinf(0);
29585 ;
29586 return 0;
29587 }
29588 _ACEOF
29589 if ac_fn_cxx_try_compile "$LINENO"; then :
29590 glibcxx_cv_func_isinf_use=yes
29591 else
29592 glibcxx_cv_func_isinf_use=no
29593 fi
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595 ac_ext=c
29596 ac_cpp='$CPP $CPPFLAGS'
29597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29600
29601
29602 fi
29603
29604 fi
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29606 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29607
29608 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29609 for ac_func in isinf
29610 do :
29611 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29612 if test "x$ac_cv_func_isinf" = xyes; then :
29613 cat >>confdefs.h <<_ACEOF
29614 #define HAVE_ISINF 1
29615 _ACEOF
29616
29617 fi
29618 done
29619
29620 else
29621
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29623 $as_echo_n "checking for _isinf declaration... " >&6; }
29624 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29625 if ${glibcxx_cv_func__isinf_use+:} false; then :
29626 $as_echo_n "(cached) " >&6
29627 else
29628
29629
29630 ac_ext=cpp
29631 ac_cpp='$CXXCPP $CPPFLAGS'
29632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29635
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <math.h>
29639 #ifdef HAVE_IEEEFP_H
29640 #include <ieeefp.h>
29641 #endif
29642
29643 int
29644 main ()
29645 {
29646 _isinf(0);
29647 ;
29648 return 0;
29649 }
29650 _ACEOF
29651 if ac_fn_cxx_try_compile "$LINENO"; then :
29652 glibcxx_cv_func__isinf_use=yes
29653 else
29654 glibcxx_cv_func__isinf_use=no
29655 fi
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29657 ac_ext=c
29658 ac_cpp='$CPP $CPPFLAGS'
29659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29662
29663
29664 fi
29665
29666 fi
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29668 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29669
29670 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29671 for ac_func in _isinf
29672 do :
29673 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29674 if test "x$ac_cv_func__isinf" = xyes; then :
29675 cat >>confdefs.h <<_ACEOF
29676 #define HAVE__ISINF 1
29677 _ACEOF
29678
29679 fi
29680 done
29681
29682 fi
29683 fi
29684
29685
29686
29687
29688
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29690 $as_echo_n "checking for isnan declaration... " >&6; }
29691 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29692 if ${glibcxx_cv_func_isnan_use+:} false; then :
29693 $as_echo_n "(cached) " >&6
29694 else
29695
29696
29697 ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29702
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705 #include <math.h>
29706 #ifdef HAVE_IEEEFP_H
29707 #include <ieeefp.h>
29708 #endif
29709
29710 int
29711 main ()
29712 {
29713 isnan(0);
29714 ;
29715 return 0;
29716 }
29717 _ACEOF
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719 glibcxx_cv_func_isnan_use=yes
29720 else
29721 glibcxx_cv_func_isnan_use=no
29722 fi
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 ac_ext=c
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29729
29730
29731 fi
29732
29733 fi
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29735 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29736
29737 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29738 for ac_func in isnan
29739 do :
29740 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29741 if test "x$ac_cv_func_isnan" = xyes; then :
29742 cat >>confdefs.h <<_ACEOF
29743 #define HAVE_ISNAN 1
29744 _ACEOF
29745
29746 fi
29747 done
29748
29749 else
29750
29751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29752 $as_echo_n "checking for _isnan declaration... " >&6; }
29753 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29754 if ${glibcxx_cv_func__isnan_use+:} false; then :
29755 $as_echo_n "(cached) " >&6
29756 else
29757
29758
29759 ac_ext=cpp
29760 ac_cpp='$CXXCPP $CPPFLAGS'
29761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29764
29765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29766 /* end confdefs.h. */
29767 #include <math.h>
29768 #ifdef HAVE_IEEEFP_H
29769 #include <ieeefp.h>
29770 #endif
29771
29772 int
29773 main ()
29774 {
29775 _isnan(0);
29776 ;
29777 return 0;
29778 }
29779 _ACEOF
29780 if ac_fn_cxx_try_compile "$LINENO"; then :
29781 glibcxx_cv_func__isnan_use=yes
29782 else
29783 glibcxx_cv_func__isnan_use=no
29784 fi
29785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29786 ac_ext=c
29787 ac_cpp='$CPP $CPPFLAGS'
29788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29791
29792
29793 fi
29794
29795 fi
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29797 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29798
29799 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29800 for ac_func in _isnan
29801 do :
29802 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29803 if test "x$ac_cv_func__isnan" = xyes; then :
29804 cat >>confdefs.h <<_ACEOF
29805 #define HAVE__ISNAN 1
29806 _ACEOF
29807
29808 fi
29809 done
29810
29811 fi
29812 fi
29813
29814
29815
29816
29817
29818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29819 $as_echo_n "checking for finite declaration... " >&6; }
29820 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29821 if ${glibcxx_cv_func_finite_use+:} false; then :
29822 $as_echo_n "(cached) " >&6
29823 else
29824
29825
29826 ac_ext=cpp
29827 ac_cpp='$CXXCPP $CPPFLAGS'
29828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29831
29832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29833 /* end confdefs.h. */
29834 #include <math.h>
29835 #ifdef HAVE_IEEEFP_H
29836 #include <ieeefp.h>
29837 #endif
29838
29839 int
29840 main ()
29841 {
29842 finite(0);
29843 ;
29844 return 0;
29845 }
29846 _ACEOF
29847 if ac_fn_cxx_try_compile "$LINENO"; then :
29848 glibcxx_cv_func_finite_use=yes
29849 else
29850 glibcxx_cv_func_finite_use=no
29851 fi
29852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29853 ac_ext=c
29854 ac_cpp='$CPP $CPPFLAGS'
29855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29858
29859
29860 fi
29861
29862 fi
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29864 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29865
29866 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29867 for ac_func in finite
29868 do :
29869 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29870 if test "x$ac_cv_func_finite" = xyes; then :
29871 cat >>confdefs.h <<_ACEOF
29872 #define HAVE_FINITE 1
29873 _ACEOF
29874
29875 fi
29876 done
29877
29878 else
29879
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29881 $as_echo_n "checking for _finite declaration... " >&6; }
29882 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29883 if ${glibcxx_cv_func__finite_use+:} false; then :
29884 $as_echo_n "(cached) " >&6
29885 else
29886
29887
29888 ac_ext=cpp
29889 ac_cpp='$CXXCPP $CPPFLAGS'
29890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29893
29894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29895 /* end confdefs.h. */
29896 #include <math.h>
29897 #ifdef HAVE_IEEEFP_H
29898 #include <ieeefp.h>
29899 #endif
29900
29901 int
29902 main ()
29903 {
29904 _finite(0);
29905 ;
29906 return 0;
29907 }
29908 _ACEOF
29909 if ac_fn_cxx_try_compile "$LINENO"; then :
29910 glibcxx_cv_func__finite_use=yes
29911 else
29912 glibcxx_cv_func__finite_use=no
29913 fi
29914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29915 ac_ext=c
29916 ac_cpp='$CPP $CPPFLAGS'
29917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29920
29921
29922 fi
29923
29924 fi
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29926 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29927
29928 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29929 for ac_func in _finite
29930 do :
29931 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29932 if test "x$ac_cv_func__finite" = xyes; then :
29933 cat >>confdefs.h <<_ACEOF
29934 #define HAVE__FINITE 1
29935 _ACEOF
29936
29937 fi
29938 done
29939
29940 fi
29941 fi
29942
29943
29944
29945
29946
29947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29948 $as_echo_n "checking for sincos declaration... " >&6; }
29949 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29950 if ${glibcxx_cv_func_sincos_use+:} false; then :
29951 $as_echo_n "(cached) " >&6
29952 else
29953
29954
29955 ac_ext=cpp
29956 ac_cpp='$CXXCPP $CPPFLAGS'
29957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29960
29961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29962 /* end confdefs.h. */
29963 #include <math.h>
29964 int
29965 main ()
29966 {
29967 sincos(0, 0, 0);
29968 ;
29969 return 0;
29970 }
29971 _ACEOF
29972 if ac_fn_cxx_try_compile "$LINENO"; then :
29973 glibcxx_cv_func_sincos_use=yes
29974 else
29975 glibcxx_cv_func_sincos_use=no
29976 fi
29977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29978 ac_ext=c
29979 ac_cpp='$CPP $CPPFLAGS'
29980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29983
29984
29985 fi
29986
29987 fi
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29989 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29990
29991 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29992 for ac_func in sincos
29993 do :
29994 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29995 if test "x$ac_cv_func_sincos" = xyes; then :
29996 cat >>confdefs.h <<_ACEOF
29997 #define HAVE_SINCOS 1
29998 _ACEOF
29999
30000 fi
30001 done
30002
30003 else
30004
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30006 $as_echo_n "checking for _sincos declaration... " >&6; }
30007 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30008 if ${glibcxx_cv_func__sincos_use+:} false; then :
30009 $as_echo_n "(cached) " >&6
30010 else
30011
30012
30013 ac_ext=cpp
30014 ac_cpp='$CXXCPP $CPPFLAGS'
30015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30018
30019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30020 /* end confdefs.h. */
30021 #include <math.h>
30022 int
30023 main ()
30024 {
30025 _sincos(0, 0, 0);
30026 ;
30027 return 0;
30028 }
30029 _ACEOF
30030 if ac_fn_cxx_try_compile "$LINENO"; then :
30031 glibcxx_cv_func__sincos_use=yes
30032 else
30033 glibcxx_cv_func__sincos_use=no
30034 fi
30035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30036 ac_ext=c
30037 ac_cpp='$CPP $CPPFLAGS'
30038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30041
30042
30043 fi
30044
30045 fi
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30047 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30048
30049 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30050 for ac_func in _sincos
30051 do :
30052 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30053 if test "x$ac_cv_func__sincos" = xyes; then :
30054 cat >>confdefs.h <<_ACEOF
30055 #define HAVE__SINCOS 1
30056 _ACEOF
30057
30058 fi
30059 done
30060
30061 fi
30062 fi
30063
30064
30065
30066
30067
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30069 $as_echo_n "checking for fpclass declaration... " >&6; }
30070 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30071 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30072 $as_echo_n "(cached) " >&6
30073 else
30074
30075
30076 ac_ext=cpp
30077 ac_cpp='$CXXCPP $CPPFLAGS'
30078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30081
30082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30083 /* end confdefs.h. */
30084 #include <math.h>
30085 #ifdef HAVE_IEEEFP_H
30086 #include <ieeefp.h>
30087 #endif
30088
30089 int
30090 main ()
30091 {
30092 fpclass(0);
30093 ;
30094 return 0;
30095 }
30096 _ACEOF
30097 if ac_fn_cxx_try_compile "$LINENO"; then :
30098 glibcxx_cv_func_fpclass_use=yes
30099 else
30100 glibcxx_cv_func_fpclass_use=no
30101 fi
30102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
30110 fi
30111
30112 fi
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30114 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30115
30116 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30117 for ac_func in fpclass
30118 do :
30119 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30120 if test "x$ac_cv_func_fpclass" = xyes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define HAVE_FPCLASS 1
30123 _ACEOF
30124
30125 fi
30126 done
30127
30128 else
30129
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30131 $as_echo_n "checking for _fpclass declaration... " >&6; }
30132 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30133 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30134 $as_echo_n "(cached) " >&6
30135 else
30136
30137
30138 ac_ext=cpp
30139 ac_cpp='$CXXCPP $CPPFLAGS'
30140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30143
30144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30145 /* end confdefs.h. */
30146 #include <math.h>
30147 #ifdef HAVE_IEEEFP_H
30148 #include <ieeefp.h>
30149 #endif
30150
30151 int
30152 main ()
30153 {
30154 _fpclass(0);
30155 ;
30156 return 0;
30157 }
30158 _ACEOF
30159 if ac_fn_cxx_try_compile "$LINENO"; then :
30160 glibcxx_cv_func__fpclass_use=yes
30161 else
30162 glibcxx_cv_func__fpclass_use=no
30163 fi
30164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30165 ac_ext=c
30166 ac_cpp='$CPP $CPPFLAGS'
30167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30170
30171
30172 fi
30173
30174 fi
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30176 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30177
30178 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30179 for ac_func in _fpclass
30180 do :
30181 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30182 if test "x$ac_cv_func__fpclass" = xyes; then :
30183 cat >>confdefs.h <<_ACEOF
30184 #define HAVE__FPCLASS 1
30185 _ACEOF
30186
30187 fi
30188 done
30189
30190 fi
30191 fi
30192
30193
30194
30195
30196
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30198 $as_echo_n "checking for qfpclass declaration... " >&6; }
30199 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30200 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30201 $as_echo_n "(cached) " >&6
30202 else
30203
30204
30205 ac_ext=cpp
30206 ac_cpp='$CXXCPP $CPPFLAGS'
30207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30210
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30213 #include <math.h>
30214 #ifdef HAVE_IEEEFP_H
30215 #include <ieeefp.h>
30216 #endif
30217
30218 int
30219 main ()
30220 {
30221 qfpclass(0);
30222 ;
30223 return 0;
30224 }
30225 _ACEOF
30226 if ac_fn_cxx_try_compile "$LINENO"; then :
30227 glibcxx_cv_func_qfpclass_use=yes
30228 else
30229 glibcxx_cv_func_qfpclass_use=no
30230 fi
30231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30232 ac_ext=c
30233 ac_cpp='$CPP $CPPFLAGS'
30234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30237
30238
30239 fi
30240
30241 fi
30242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30243 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30244
30245 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30246 for ac_func in qfpclass
30247 do :
30248 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30249 if test "x$ac_cv_func_qfpclass" = xyes; then :
30250 cat >>confdefs.h <<_ACEOF
30251 #define HAVE_QFPCLASS 1
30252 _ACEOF
30253
30254 fi
30255 done
30256
30257 else
30258
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30260 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30261 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30262 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30263 $as_echo_n "(cached) " >&6
30264 else
30265
30266
30267 ac_ext=cpp
30268 ac_cpp='$CXXCPP $CPPFLAGS'
30269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30272
30273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30274 /* end confdefs.h. */
30275 #include <math.h>
30276 #ifdef HAVE_IEEEFP_H
30277 #include <ieeefp.h>
30278 #endif
30279
30280 int
30281 main ()
30282 {
30283 _qfpclass(0);
30284 ;
30285 return 0;
30286 }
30287 _ACEOF
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func__qfpclass_use=yes
30290 else
30291 glibcxx_cv_func__qfpclass_use=no
30292 fi
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30294 ac_ext=c
30295 ac_cpp='$CPP $CPPFLAGS'
30296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30299
30300
30301 fi
30302
30303 fi
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30305 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30306
30307 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30308 for ac_func in _qfpclass
30309 do :
30310 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30311 if test "x$ac_cv_func__qfpclass" = xyes; then :
30312 cat >>confdefs.h <<_ACEOF
30313 #define HAVE__QFPCLASS 1
30314 _ACEOF
30315
30316 fi
30317 done
30318
30319 fi
30320 fi
30321
30322
30323
30324
30325
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30327 $as_echo_n "checking for hypot declaration... " >&6; }
30328 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30329 if ${glibcxx_cv_func_hypot_use+:} false; then :
30330 $as_echo_n "(cached) " >&6
30331 else
30332
30333
30334 ac_ext=cpp
30335 ac_cpp='$CXXCPP $CPPFLAGS'
30336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30339
30340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30341 /* end confdefs.h. */
30342 #include <math.h>
30343 int
30344 main ()
30345 {
30346 hypot(0, 0);
30347 ;
30348 return 0;
30349 }
30350 _ACEOF
30351 if ac_fn_cxx_try_compile "$LINENO"; then :
30352 glibcxx_cv_func_hypot_use=yes
30353 else
30354 glibcxx_cv_func_hypot_use=no
30355 fi
30356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30357 ac_ext=c
30358 ac_cpp='$CPP $CPPFLAGS'
30359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30362
30363
30364 fi
30365
30366 fi
30367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30368 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30369
30370 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30371 for ac_func in hypot
30372 do :
30373 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30374 if test "x$ac_cv_func_hypot" = xyes; then :
30375 cat >>confdefs.h <<_ACEOF
30376 #define HAVE_HYPOT 1
30377 _ACEOF
30378
30379 fi
30380 done
30381
30382 else
30383
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30385 $as_echo_n "checking for _hypot declaration... " >&6; }
30386 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30387 if ${glibcxx_cv_func__hypot_use+:} false; then :
30388 $as_echo_n "(cached) " >&6
30389 else
30390
30391
30392 ac_ext=cpp
30393 ac_cpp='$CXXCPP $CPPFLAGS'
30394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30397
30398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30400 #include <math.h>
30401 int
30402 main ()
30403 {
30404 _hypot(0, 0);
30405 ;
30406 return 0;
30407 }
30408 _ACEOF
30409 if ac_fn_cxx_try_compile "$LINENO"; then :
30410 glibcxx_cv_func__hypot_use=yes
30411 else
30412 glibcxx_cv_func__hypot_use=no
30413 fi
30414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30415 ac_ext=c
30416 ac_cpp='$CPP $CPPFLAGS'
30417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30420
30421
30422 fi
30423
30424 fi
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30426 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30427
30428 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30429 for ac_func in _hypot
30430 do :
30431 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30432 if test "x$ac_cv_func__hypot" = xyes; then :
30433 cat >>confdefs.h <<_ACEOF
30434 #define HAVE__HYPOT 1
30435 _ACEOF
30436
30437 fi
30438 done
30439
30440 fi
30441 fi
30442
30443
30444
30445
30446
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30448 $as_echo_n "checking for float trig functions... " >&6; }
30449 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30450 $as_echo_n "(cached) " >&6
30451 else
30452
30453
30454 ac_ext=cpp
30455 ac_cpp='$CXXCPP $CPPFLAGS'
30456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30459
30460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30462 #include <math.h>
30463 int
30464 main ()
30465 {
30466 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30467 ;
30468 return 0;
30469 }
30470 _ACEOF
30471 if ac_fn_cxx_try_compile "$LINENO"; then :
30472 glibcxx_cv_func_float_trig_use=yes
30473 else
30474 glibcxx_cv_func_float_trig_use=no
30475 fi
30476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30477 ac_ext=c
30478 ac_cpp='$CPP $CPPFLAGS'
30479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30482
30483 fi
30484
30485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30486 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30487 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30488 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30489 do :
30490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30493 cat >>confdefs.h <<_ACEOF
30494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30495 _ACEOF
30496
30497 fi
30498 done
30499
30500 else
30501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30502 $as_echo_n "checking for _float trig functions... " >&6; }
30503 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30504 $as_echo_n "(cached) " >&6
30505 else
30506
30507
30508 ac_ext=cpp
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30513
30514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30515 /* end confdefs.h. */
30516 #include <math.h>
30517 int
30518 main ()
30519 {
30520 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30521 ;
30522 return 0;
30523 }
30524 _ACEOF
30525 if ac_fn_cxx_try_compile "$LINENO"; then :
30526 glibcxx_cv_func__float_trig_use=yes
30527 else
30528 glibcxx_cv_func__float_trig_use=no
30529 fi
30530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30531 ac_ext=c
30532 ac_cpp='$CPP $CPPFLAGS'
30533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30536
30537 fi
30538
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30540 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30541 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30542 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30543 do :
30544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30547 cat >>confdefs.h <<_ACEOF
30548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30549 _ACEOF
30550
30551 fi
30552 done
30553
30554 fi
30555 fi
30556
30557
30558
30559
30560
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30562 $as_echo_n "checking for float round functions... " >&6; }
30563 if ${glibcxx_cv_func_float_round_use+:} false; then :
30564 $as_echo_n "(cached) " >&6
30565 else
30566
30567
30568 ac_ext=cpp
30569 ac_cpp='$CXXCPP $CPPFLAGS'
30570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30573
30574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30575 /* end confdefs.h. */
30576 #include <math.h>
30577 int
30578 main ()
30579 {
30580 ceilf (0); floorf (0);
30581 ;
30582 return 0;
30583 }
30584 _ACEOF
30585 if ac_fn_cxx_try_compile "$LINENO"; then :
30586 glibcxx_cv_func_float_round_use=yes
30587 else
30588 glibcxx_cv_func_float_round_use=no
30589 fi
30590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30591 ac_ext=c
30592 ac_cpp='$CPP $CPPFLAGS'
30593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30596
30597 fi
30598
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30600 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30601 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30602 for ac_func in ceilf floorf
30603 do :
30604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30606 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30607 cat >>confdefs.h <<_ACEOF
30608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30609 _ACEOF
30610
30611 fi
30612 done
30613
30614 else
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30616 $as_echo_n "checking for _float round functions... " >&6; }
30617 if ${glibcxx_cv_func__float_round_use+:} false; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30620
30621
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30631 int
30632 main ()
30633 {
30634 _ceilf (0); _floorf (0);
30635 ;
30636 return 0;
30637 }
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func__float_round_use=yes
30641 else
30642 glibcxx_cv_func__float_round_use=no
30643 fi
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650
30651 fi
30652
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30654 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30655 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30656 for ac_func in _ceilf _floorf
30657 do :
30658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30661 cat >>confdefs.h <<_ACEOF
30662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30663 _ACEOF
30664
30665 fi
30666 done
30667
30668 fi
30669 fi
30670
30671
30672
30673
30674
30675
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30677 $as_echo_n "checking for expf declaration... " >&6; }
30678 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30679 if ${glibcxx_cv_func_expf_use+:} false; then :
30680 $as_echo_n "(cached) " >&6
30681 else
30682
30683
30684 ac_ext=cpp
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30689
30690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30691 /* end confdefs.h. */
30692 #include <math.h>
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30695 #endif
30696
30697 int
30698 main ()
30699 {
30700 expf(0);
30701 ;
30702 return 0;
30703 }
30704 _ACEOF
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706 glibcxx_cv_func_expf_use=yes
30707 else
30708 glibcxx_cv_func_expf_use=no
30709 fi
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 ac_ext=c
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30716
30717
30718 fi
30719
30720 fi
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30722 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30723
30724 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30725 for ac_func in expf
30726 do :
30727 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30728 if test "x$ac_cv_func_expf" = xyes; then :
30729 cat >>confdefs.h <<_ACEOF
30730 #define HAVE_EXPF 1
30731 _ACEOF
30732
30733 fi
30734 done
30735
30736 else
30737
30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30739 $as_echo_n "checking for _expf declaration... " >&6; }
30740 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30741 if ${glibcxx_cv_func__expf_use+:} false; then :
30742 $as_echo_n "(cached) " >&6
30743 else
30744
30745
30746 ac_ext=cpp
30747 ac_cpp='$CXXCPP $CPPFLAGS'
30748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30751
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30754 #include <math.h>
30755 #ifdef HAVE_IEEEFP_H
30756 #include <ieeefp.h>
30757 #endif
30758
30759 int
30760 main ()
30761 {
30762 _expf(0);
30763 ;
30764 return 0;
30765 }
30766 _ACEOF
30767 if ac_fn_cxx_try_compile "$LINENO"; then :
30768 glibcxx_cv_func__expf_use=yes
30769 else
30770 glibcxx_cv_func__expf_use=no
30771 fi
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773 ac_ext=c
30774 ac_cpp='$CPP $CPPFLAGS'
30775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30778
30779
30780 fi
30781
30782 fi
30783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30784 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30785
30786 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30787 for ac_func in _expf
30788 do :
30789 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30790 if test "x$ac_cv_func__expf" = xyes; then :
30791 cat >>confdefs.h <<_ACEOF
30792 #define HAVE__EXPF 1
30793 _ACEOF
30794
30795 fi
30796 done
30797
30798 fi
30799 fi
30800
30801
30802
30803
30804
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30806 $as_echo_n "checking for isnanf declaration... " >&6; }
30807 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30808 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30809 $as_echo_n "(cached) " >&6
30810 else
30811
30812
30813 ac_ext=cpp
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30818
30819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h. */
30821 #include <math.h>
30822 #ifdef HAVE_IEEEFP_H
30823 #include <ieeefp.h>
30824 #endif
30825
30826 int
30827 main ()
30828 {
30829 isnanf(0);
30830 ;
30831 return 0;
30832 }
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835 glibcxx_cv_func_isnanf_use=yes
30836 else
30837 glibcxx_cv_func_isnanf_use=no
30838 fi
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840 ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30845
30846
30847 fi
30848
30849 fi
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30851 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30852
30853 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30854 for ac_func in isnanf
30855 do :
30856 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30857 if test "x$ac_cv_func_isnanf" = xyes; then :
30858 cat >>confdefs.h <<_ACEOF
30859 #define HAVE_ISNANF 1
30860 _ACEOF
30861
30862 fi
30863 done
30864
30865 else
30866
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30868 $as_echo_n "checking for _isnanf declaration... " >&6; }
30869 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30870 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30871 $as_echo_n "(cached) " >&6
30872 else
30873
30874
30875 ac_ext=cpp
30876 ac_cpp='$CXXCPP $CPPFLAGS'
30877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30880
30881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30882 /* end confdefs.h. */
30883 #include <math.h>
30884 #ifdef HAVE_IEEEFP_H
30885 #include <ieeefp.h>
30886 #endif
30887
30888 int
30889 main ()
30890 {
30891 _isnanf(0);
30892 ;
30893 return 0;
30894 }
30895 _ACEOF
30896 if ac_fn_cxx_try_compile "$LINENO"; then :
30897 glibcxx_cv_func__isnanf_use=yes
30898 else
30899 glibcxx_cv_func__isnanf_use=no
30900 fi
30901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30902 ac_ext=c
30903 ac_cpp='$CPP $CPPFLAGS'
30904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30907
30908
30909 fi
30910
30911 fi
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30913 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30914
30915 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30916 for ac_func in _isnanf
30917 do :
30918 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30919 if test "x$ac_cv_func__isnanf" = xyes; then :
30920 cat >>confdefs.h <<_ACEOF
30921 #define HAVE__ISNANF 1
30922 _ACEOF
30923
30924 fi
30925 done
30926
30927 fi
30928 fi
30929
30930
30931
30932
30933
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30935 $as_echo_n "checking for isinff declaration... " >&6; }
30936 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30937 if ${glibcxx_cv_func_isinff_use+:} false; then :
30938 $as_echo_n "(cached) " >&6
30939 else
30940
30941
30942 ac_ext=cpp
30943 ac_cpp='$CXXCPP $CPPFLAGS'
30944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30947
30948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30949 /* end confdefs.h. */
30950 #include <math.h>
30951 #ifdef HAVE_IEEEFP_H
30952 #include <ieeefp.h>
30953 #endif
30954
30955 int
30956 main ()
30957 {
30958 isinff(0);
30959 ;
30960 return 0;
30961 }
30962 _ACEOF
30963 if ac_fn_cxx_try_compile "$LINENO"; then :
30964 glibcxx_cv_func_isinff_use=yes
30965 else
30966 glibcxx_cv_func_isinff_use=no
30967 fi
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30969 ac_ext=c
30970 ac_cpp='$CPP $CPPFLAGS'
30971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30974
30975
30976 fi
30977
30978 fi
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30980 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30981
30982 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30983 for ac_func in isinff
30984 do :
30985 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30986 if test "x$ac_cv_func_isinff" = xyes; then :
30987 cat >>confdefs.h <<_ACEOF
30988 #define HAVE_ISINFF 1
30989 _ACEOF
30990
30991 fi
30992 done
30993
30994 else
30995
30996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30997 $as_echo_n "checking for _isinff declaration... " >&6; }
30998 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30999 if ${glibcxx_cv_func__isinff_use+:} false; then :
31000 $as_echo_n "(cached) " >&6
31001 else
31002
31003
31004 ac_ext=cpp
31005 ac_cpp='$CXXCPP $CPPFLAGS'
31006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31009
31010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31011 /* end confdefs.h. */
31012 #include <math.h>
31013 #ifdef HAVE_IEEEFP_H
31014 #include <ieeefp.h>
31015 #endif
31016
31017 int
31018 main ()
31019 {
31020 _isinff(0);
31021 ;
31022 return 0;
31023 }
31024 _ACEOF
31025 if ac_fn_cxx_try_compile "$LINENO"; then :
31026 glibcxx_cv_func__isinff_use=yes
31027 else
31028 glibcxx_cv_func__isinff_use=no
31029 fi
31030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31031 ac_ext=c
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31036
31037
31038 fi
31039
31040 fi
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31042 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31043
31044 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31045 for ac_func in _isinff
31046 do :
31047 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31048 if test "x$ac_cv_func__isinff" = xyes; then :
31049 cat >>confdefs.h <<_ACEOF
31050 #define HAVE__ISINFF 1
31051 _ACEOF
31052
31053 fi
31054 done
31055
31056 fi
31057 fi
31058
31059
31060
31061
31062
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31064 $as_echo_n "checking for atan2f declaration... " >&6; }
31065 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31066 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31067 $as_echo_n "(cached) " >&6
31068 else
31069
31070
31071 ac_ext=cpp
31072 ac_cpp='$CXXCPP $CPPFLAGS'
31073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31076
31077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31078 /* end confdefs.h. */
31079 #include <math.h>
31080 int
31081 main ()
31082 {
31083 atan2f(0, 0);
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 if ac_fn_cxx_try_compile "$LINENO"; then :
31089 glibcxx_cv_func_atan2f_use=yes
31090 else
31091 glibcxx_cv_func_atan2f_use=no
31092 fi
31093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31094 ac_ext=c
31095 ac_cpp='$CPP $CPPFLAGS'
31096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31099
31100
31101 fi
31102
31103 fi
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31105 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31106
31107 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31108 for ac_func in atan2f
31109 do :
31110 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31111 if test "x$ac_cv_func_atan2f" = xyes; then :
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_ATAN2F 1
31114 _ACEOF
31115
31116 fi
31117 done
31118
31119 else
31120
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31122 $as_echo_n "checking for _atan2f declaration... " >&6; }
31123 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31124 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31125 $as_echo_n "(cached) " >&6
31126 else
31127
31128
31129 ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31134
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31137 #include <math.h>
31138 int
31139 main ()
31140 {
31141 _atan2f(0, 0);
31142 ;
31143 return 0;
31144 }
31145 _ACEOF
31146 if ac_fn_cxx_try_compile "$LINENO"; then :
31147 glibcxx_cv_func__atan2f_use=yes
31148 else
31149 glibcxx_cv_func__atan2f_use=no
31150 fi
31151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31152 ac_ext=c
31153 ac_cpp='$CPP $CPPFLAGS'
31154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31157
31158
31159 fi
31160
31161 fi
31162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31163 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31164
31165 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31166 for ac_func in _atan2f
31167 do :
31168 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31169 if test "x$ac_cv_func__atan2f" = xyes; then :
31170 cat >>confdefs.h <<_ACEOF
31171 #define HAVE__ATAN2F 1
31172 _ACEOF
31173
31174 fi
31175 done
31176
31177 fi
31178 fi
31179
31180
31181
31182
31183
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31185 $as_echo_n "checking for fabsf declaration... " >&6; }
31186 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31187 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31188 $as_echo_n "(cached) " >&6
31189 else
31190
31191
31192 ac_ext=cpp
31193 ac_cpp='$CXXCPP $CPPFLAGS'
31194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31197
31198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31199 /* end confdefs.h. */
31200 #include <math.h>
31201 #ifdef HAVE_IEEEFP_H
31202 #include <ieeefp.h>
31203 #endif
31204
31205 int
31206 main ()
31207 {
31208 fabsf(0);
31209 ;
31210 return 0;
31211 }
31212 _ACEOF
31213 if ac_fn_cxx_try_compile "$LINENO"; then :
31214 glibcxx_cv_func_fabsf_use=yes
31215 else
31216 glibcxx_cv_func_fabsf_use=no
31217 fi
31218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31219 ac_ext=c
31220 ac_cpp='$CPP $CPPFLAGS'
31221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31224
31225
31226 fi
31227
31228 fi
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31230 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31231
31232 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31233 for ac_func in fabsf
31234 do :
31235 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31236 if test "x$ac_cv_func_fabsf" = xyes; then :
31237 cat >>confdefs.h <<_ACEOF
31238 #define HAVE_FABSF 1
31239 _ACEOF
31240
31241 fi
31242 done
31243
31244 else
31245
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31247 $as_echo_n "checking for _fabsf declaration... " >&6; }
31248 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31249 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31250 $as_echo_n "(cached) " >&6
31251 else
31252
31253
31254 ac_ext=cpp
31255 ac_cpp='$CXXCPP $CPPFLAGS'
31256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31259
31260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31261 /* end confdefs.h. */
31262 #include <math.h>
31263 #ifdef HAVE_IEEEFP_H
31264 #include <ieeefp.h>
31265 #endif
31266
31267 int
31268 main ()
31269 {
31270 _fabsf(0);
31271 ;
31272 return 0;
31273 }
31274 _ACEOF
31275 if ac_fn_cxx_try_compile "$LINENO"; then :
31276 glibcxx_cv_func__fabsf_use=yes
31277 else
31278 glibcxx_cv_func__fabsf_use=no
31279 fi
31280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31281 ac_ext=c
31282 ac_cpp='$CPP $CPPFLAGS'
31283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31286
31287
31288 fi
31289
31290 fi
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31292 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31293
31294 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31295 for ac_func in _fabsf
31296 do :
31297 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31298 if test "x$ac_cv_func__fabsf" = xyes; then :
31299 cat >>confdefs.h <<_ACEOF
31300 #define HAVE__FABSF 1
31301 _ACEOF
31302
31303 fi
31304 done
31305
31306 fi
31307 fi
31308
31309
31310
31311
31312
31313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31314 $as_echo_n "checking for fmodf declaration... " >&6; }
31315 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31316 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31317 $as_echo_n "(cached) " >&6
31318 else
31319
31320
31321 ac_ext=cpp
31322 ac_cpp='$CXXCPP $CPPFLAGS'
31323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31326
31327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31328 /* end confdefs.h. */
31329 #include <math.h>
31330 int
31331 main ()
31332 {
31333 fmodf(0, 0);
31334 ;
31335 return 0;
31336 }
31337 _ACEOF
31338 if ac_fn_cxx_try_compile "$LINENO"; then :
31339 glibcxx_cv_func_fmodf_use=yes
31340 else
31341 glibcxx_cv_func_fmodf_use=no
31342 fi
31343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31344 ac_ext=c
31345 ac_cpp='$CPP $CPPFLAGS'
31346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31349
31350
31351 fi
31352
31353 fi
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31355 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31356
31357 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31358 for ac_func in fmodf
31359 do :
31360 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31361 if test "x$ac_cv_func_fmodf" = xyes; then :
31362 cat >>confdefs.h <<_ACEOF
31363 #define HAVE_FMODF 1
31364 _ACEOF
31365
31366 fi
31367 done
31368
31369 else
31370
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31372 $as_echo_n "checking for _fmodf declaration... " >&6; }
31373 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31374 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31375 $as_echo_n "(cached) " >&6
31376 else
31377
31378
31379 ac_ext=cpp
31380 ac_cpp='$CXXCPP $CPPFLAGS'
31381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31384
31385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31387 #include <math.h>
31388 int
31389 main ()
31390 {
31391 _fmodf(0, 0);
31392 ;
31393 return 0;
31394 }
31395 _ACEOF
31396 if ac_fn_cxx_try_compile "$LINENO"; then :
31397 glibcxx_cv_func__fmodf_use=yes
31398 else
31399 glibcxx_cv_func__fmodf_use=no
31400 fi
31401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31402 ac_ext=c
31403 ac_cpp='$CPP $CPPFLAGS'
31404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31407
31408
31409 fi
31410
31411 fi
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31413 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31414
31415 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31416 for ac_func in _fmodf
31417 do :
31418 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31419 if test "x$ac_cv_func__fmodf" = xyes; then :
31420 cat >>confdefs.h <<_ACEOF
31421 #define HAVE__FMODF 1
31422 _ACEOF
31423
31424 fi
31425 done
31426
31427 fi
31428 fi
31429
31430
31431
31432
31433
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31435 $as_echo_n "checking for frexpf declaration... " >&6; }
31436 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31437 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31438 $as_echo_n "(cached) " >&6
31439 else
31440
31441
31442 ac_ext=cpp
31443 ac_cpp='$CXXCPP $CPPFLAGS'
31444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31447
31448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31449 /* end confdefs.h. */
31450 #include <math.h>
31451 int
31452 main ()
31453 {
31454 frexpf(0, 0);
31455 ;
31456 return 0;
31457 }
31458 _ACEOF
31459 if ac_fn_cxx_try_compile "$LINENO"; then :
31460 glibcxx_cv_func_frexpf_use=yes
31461 else
31462 glibcxx_cv_func_frexpf_use=no
31463 fi
31464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31465 ac_ext=c
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31470
31471
31472 fi
31473
31474 fi
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31476 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31477
31478 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31479 for ac_func in frexpf
31480 do :
31481 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31482 if test "x$ac_cv_func_frexpf" = xyes; then :
31483 cat >>confdefs.h <<_ACEOF
31484 #define HAVE_FREXPF 1
31485 _ACEOF
31486
31487 fi
31488 done
31489
31490 else
31491
31492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31493 $as_echo_n "checking for _frexpf declaration... " >&6; }
31494 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31495 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31496 $as_echo_n "(cached) " >&6
31497 else
31498
31499
31500 ac_ext=cpp
31501 ac_cpp='$CXXCPP $CPPFLAGS'
31502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31505
31506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31507 /* end confdefs.h. */
31508 #include <math.h>
31509 int
31510 main ()
31511 {
31512 _frexpf(0, 0);
31513 ;
31514 return 0;
31515 }
31516 _ACEOF
31517 if ac_fn_cxx_try_compile "$LINENO"; then :
31518 glibcxx_cv_func__frexpf_use=yes
31519 else
31520 glibcxx_cv_func__frexpf_use=no
31521 fi
31522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31523 ac_ext=c
31524 ac_cpp='$CPP $CPPFLAGS'
31525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31528
31529
31530 fi
31531
31532 fi
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31534 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31535
31536 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31537 for ac_func in _frexpf
31538 do :
31539 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31540 if test "x$ac_cv_func__frexpf" = xyes; then :
31541 cat >>confdefs.h <<_ACEOF
31542 #define HAVE__FREXPF 1
31543 _ACEOF
31544
31545 fi
31546 done
31547
31548 fi
31549 fi
31550
31551
31552
31553
31554
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31556 $as_echo_n "checking for hypotf declaration... " >&6; }
31557 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31558 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31559 $as_echo_n "(cached) " >&6
31560 else
31561
31562
31563 ac_ext=cpp
31564 ac_cpp='$CXXCPP $CPPFLAGS'
31565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31568
31569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31570 /* end confdefs.h. */
31571 #include <math.h>
31572 int
31573 main ()
31574 {
31575 hypotf(0, 0);
31576 ;
31577 return 0;
31578 }
31579 _ACEOF
31580 if ac_fn_cxx_try_compile "$LINENO"; then :
31581 glibcxx_cv_func_hypotf_use=yes
31582 else
31583 glibcxx_cv_func_hypotf_use=no
31584 fi
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 ac_ext=c
31587 ac_cpp='$CPP $CPPFLAGS'
31588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31591
31592
31593 fi
31594
31595 fi
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31597 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31598
31599 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31600 for ac_func in hypotf
31601 do :
31602 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31603 if test "x$ac_cv_func_hypotf" = xyes; then :
31604 cat >>confdefs.h <<_ACEOF
31605 #define HAVE_HYPOTF 1
31606 _ACEOF
31607
31608 fi
31609 done
31610
31611 else
31612
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31614 $as_echo_n "checking for _hypotf declaration... " >&6; }
31615 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31616 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31617 $as_echo_n "(cached) " >&6
31618 else
31619
31620
31621 ac_ext=cpp
31622 ac_cpp='$CXXCPP $CPPFLAGS'
31623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31626
31627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31628 /* end confdefs.h. */
31629 #include <math.h>
31630 int
31631 main ()
31632 {
31633 _hypotf(0, 0);
31634 ;
31635 return 0;
31636 }
31637 _ACEOF
31638 if ac_fn_cxx_try_compile "$LINENO"; then :
31639 glibcxx_cv_func__hypotf_use=yes
31640 else
31641 glibcxx_cv_func__hypotf_use=no
31642 fi
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31644 ac_ext=c
31645 ac_cpp='$CPP $CPPFLAGS'
31646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31649
31650
31651 fi
31652
31653 fi
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31655 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31656
31657 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31658 for ac_func in _hypotf
31659 do :
31660 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31661 if test "x$ac_cv_func__hypotf" = xyes; then :
31662 cat >>confdefs.h <<_ACEOF
31663 #define HAVE__HYPOTF 1
31664 _ACEOF
31665
31666 fi
31667 done
31668
31669 fi
31670 fi
31671
31672
31673
31674
31675
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31677 $as_echo_n "checking for ldexpf declaration... " >&6; }
31678 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31679 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31680 $as_echo_n "(cached) " >&6
31681 else
31682
31683
31684 ac_ext=cpp
31685 ac_cpp='$CXXCPP $CPPFLAGS'
31686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31689
31690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31691 /* end confdefs.h. */
31692 #include <math.h>
31693 int
31694 main ()
31695 {
31696 ldexpf(0, 0);
31697 ;
31698 return 0;
31699 }
31700 _ACEOF
31701 if ac_fn_cxx_try_compile "$LINENO"; then :
31702 glibcxx_cv_func_ldexpf_use=yes
31703 else
31704 glibcxx_cv_func_ldexpf_use=no
31705 fi
31706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31707 ac_ext=c
31708 ac_cpp='$CPP $CPPFLAGS'
31709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31712
31713
31714 fi
31715
31716 fi
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31718 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31719
31720 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31721 for ac_func in ldexpf
31722 do :
31723 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31724 if test "x$ac_cv_func_ldexpf" = xyes; then :
31725 cat >>confdefs.h <<_ACEOF
31726 #define HAVE_LDEXPF 1
31727 _ACEOF
31728
31729 fi
31730 done
31731
31732 else
31733
31734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31735 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31736 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31737 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31738 $as_echo_n "(cached) " >&6
31739 else
31740
31741
31742 ac_ext=cpp
31743 ac_cpp='$CXXCPP $CPPFLAGS'
31744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747
31748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h. */
31750 #include <math.h>
31751 int
31752 main ()
31753 {
31754 _ldexpf(0, 0);
31755 ;
31756 return 0;
31757 }
31758 _ACEOF
31759 if ac_fn_cxx_try_compile "$LINENO"; then :
31760 glibcxx_cv_func__ldexpf_use=yes
31761 else
31762 glibcxx_cv_func__ldexpf_use=no
31763 fi
31764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31765 ac_ext=c
31766 ac_cpp='$CPP $CPPFLAGS'
31767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31770
31771
31772 fi
31773
31774 fi
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31776 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31777
31778 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31779 for ac_func in _ldexpf
31780 do :
31781 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31782 if test "x$ac_cv_func__ldexpf" = xyes; then :
31783 cat >>confdefs.h <<_ACEOF
31784 #define HAVE__LDEXPF 1
31785 _ACEOF
31786
31787 fi
31788 done
31789
31790 fi
31791 fi
31792
31793
31794
31795
31796
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31798 $as_echo_n "checking for logf declaration... " >&6; }
31799 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31800 if ${glibcxx_cv_func_logf_use+:} false; then :
31801 $as_echo_n "(cached) " >&6
31802 else
31803
31804
31805 ac_ext=cpp
31806 ac_cpp='$CXXCPP $CPPFLAGS'
31807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31810
31811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31812 /* end confdefs.h. */
31813 #include <math.h>
31814 #ifdef HAVE_IEEEFP_H
31815 #include <ieeefp.h>
31816 #endif
31817
31818 int
31819 main ()
31820 {
31821 logf(0);
31822 ;
31823 return 0;
31824 }
31825 _ACEOF
31826 if ac_fn_cxx_try_compile "$LINENO"; then :
31827 glibcxx_cv_func_logf_use=yes
31828 else
31829 glibcxx_cv_func_logf_use=no
31830 fi
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31832 ac_ext=c
31833 ac_cpp='$CPP $CPPFLAGS'
31834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31837
31838
31839 fi
31840
31841 fi
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31843 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31844
31845 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31846 for ac_func in logf
31847 do :
31848 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31849 if test "x$ac_cv_func_logf" = xyes; then :
31850 cat >>confdefs.h <<_ACEOF
31851 #define HAVE_LOGF 1
31852 _ACEOF
31853
31854 fi
31855 done
31856
31857 else
31858
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31860 $as_echo_n "checking for _logf declaration... " >&6; }
31861 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31862 if ${glibcxx_cv_func__logf_use+:} false; then :
31863 $as_echo_n "(cached) " >&6
31864 else
31865
31866
31867 ac_ext=cpp
31868 ac_cpp='$CXXCPP $CPPFLAGS'
31869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31872
31873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31874 /* end confdefs.h. */
31875 #include <math.h>
31876 #ifdef HAVE_IEEEFP_H
31877 #include <ieeefp.h>
31878 #endif
31879
31880 int
31881 main ()
31882 {
31883 _logf(0);
31884 ;
31885 return 0;
31886 }
31887 _ACEOF
31888 if ac_fn_cxx_try_compile "$LINENO"; then :
31889 glibcxx_cv_func__logf_use=yes
31890 else
31891 glibcxx_cv_func__logf_use=no
31892 fi
31893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31894 ac_ext=c
31895 ac_cpp='$CPP $CPPFLAGS'
31896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31899
31900
31901 fi
31902
31903 fi
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31905 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31906
31907 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31908 for ac_func in _logf
31909 do :
31910 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31911 if test "x$ac_cv_func__logf" = xyes; then :
31912 cat >>confdefs.h <<_ACEOF
31913 #define HAVE__LOGF 1
31914 _ACEOF
31915
31916 fi
31917 done
31918
31919 fi
31920 fi
31921
31922
31923
31924
31925
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31927 $as_echo_n "checking for log10f declaration... " >&6; }
31928 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31929 if ${glibcxx_cv_func_log10f_use+:} false; then :
31930 $as_echo_n "(cached) " >&6
31931 else
31932
31933
31934 ac_ext=cpp
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31939
31940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h. */
31942 #include <math.h>
31943 #ifdef HAVE_IEEEFP_H
31944 #include <ieeefp.h>
31945 #endif
31946
31947 int
31948 main ()
31949 {
31950 log10f(0);
31951 ;
31952 return 0;
31953 }
31954 _ACEOF
31955 if ac_fn_cxx_try_compile "$LINENO"; then :
31956 glibcxx_cv_func_log10f_use=yes
31957 else
31958 glibcxx_cv_func_log10f_use=no
31959 fi
31960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31961 ac_ext=c
31962 ac_cpp='$CPP $CPPFLAGS'
31963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31966
31967
31968 fi
31969
31970 fi
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31972 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31973
31974 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31975 for ac_func in log10f
31976 do :
31977 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31978 if test "x$ac_cv_func_log10f" = xyes; then :
31979 cat >>confdefs.h <<_ACEOF
31980 #define HAVE_LOG10F 1
31981 _ACEOF
31982
31983 fi
31984 done
31985
31986 else
31987
31988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31989 $as_echo_n "checking for _log10f declaration... " >&6; }
31990 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31991 if ${glibcxx_cv_func__log10f_use+:} false; then :
31992 $as_echo_n "(cached) " >&6
31993 else
31994
31995
31996 ac_ext=cpp
31997 ac_cpp='$CXXCPP $CPPFLAGS'
31998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32001
32002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32003 /* end confdefs.h. */
32004 #include <math.h>
32005 #ifdef HAVE_IEEEFP_H
32006 #include <ieeefp.h>
32007 #endif
32008
32009 int
32010 main ()
32011 {
32012 _log10f(0);
32013 ;
32014 return 0;
32015 }
32016 _ACEOF
32017 if ac_fn_cxx_try_compile "$LINENO"; then :
32018 glibcxx_cv_func__log10f_use=yes
32019 else
32020 glibcxx_cv_func__log10f_use=no
32021 fi
32022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32023 ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32028
32029
32030 fi
32031
32032 fi
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32034 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32035
32036 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32037 for ac_func in _log10f
32038 do :
32039 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32040 if test "x$ac_cv_func__log10f" = xyes; then :
32041 cat >>confdefs.h <<_ACEOF
32042 #define HAVE__LOG10F 1
32043 _ACEOF
32044
32045 fi
32046 done
32047
32048 fi
32049 fi
32050
32051
32052
32053
32054
32055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32056 $as_echo_n "checking for modff declaration... " >&6; }
32057 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32058 if ${glibcxx_cv_func_modff_use+:} false; then :
32059 $as_echo_n "(cached) " >&6
32060 else
32061
32062
32063 ac_ext=cpp
32064 ac_cpp='$CXXCPP $CPPFLAGS'
32065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32068
32069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32070 /* end confdefs.h. */
32071 #include <math.h>
32072 int
32073 main ()
32074 {
32075 modff(0, 0);
32076 ;
32077 return 0;
32078 }
32079 _ACEOF
32080 if ac_fn_cxx_try_compile "$LINENO"; then :
32081 glibcxx_cv_func_modff_use=yes
32082 else
32083 glibcxx_cv_func_modff_use=no
32084 fi
32085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32086 ac_ext=c
32087 ac_cpp='$CPP $CPPFLAGS'
32088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32091
32092
32093 fi
32094
32095 fi
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32097 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32098
32099 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32100 for ac_func in modff
32101 do :
32102 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32103 if test "x$ac_cv_func_modff" = xyes; then :
32104 cat >>confdefs.h <<_ACEOF
32105 #define HAVE_MODFF 1
32106 _ACEOF
32107
32108 fi
32109 done
32110
32111 else
32112
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32114 $as_echo_n "checking for _modff declaration... " >&6; }
32115 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32116 if ${glibcxx_cv_func__modff_use+:} false; then :
32117 $as_echo_n "(cached) " >&6
32118 else
32119
32120
32121 ac_ext=cpp
32122 ac_cpp='$CXXCPP $CPPFLAGS'
32123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32126
32127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32128 /* end confdefs.h. */
32129 #include <math.h>
32130 int
32131 main ()
32132 {
32133 _modff(0, 0);
32134 ;
32135 return 0;
32136 }
32137 _ACEOF
32138 if ac_fn_cxx_try_compile "$LINENO"; then :
32139 glibcxx_cv_func__modff_use=yes
32140 else
32141 glibcxx_cv_func__modff_use=no
32142 fi
32143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32144 ac_ext=c
32145 ac_cpp='$CPP $CPPFLAGS'
32146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32149
32150
32151 fi
32152
32153 fi
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32155 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32156
32157 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32158 for ac_func in _modff
32159 do :
32160 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32161 if test "x$ac_cv_func__modff" = xyes; then :
32162 cat >>confdefs.h <<_ACEOF
32163 #define HAVE__MODFF 1
32164 _ACEOF
32165
32166 fi
32167 done
32168
32169 fi
32170 fi
32171
32172
32173
32174
32175
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32177 $as_echo_n "checking for modf declaration... " >&6; }
32178 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32179 if ${glibcxx_cv_func_modf_use+:} false; then :
32180 $as_echo_n "(cached) " >&6
32181 else
32182
32183
32184 ac_ext=cpp
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32189
32190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191 /* end confdefs.h. */
32192 #include <math.h>
32193 int
32194 main ()
32195 {
32196 modf(0, 0);
32197 ;
32198 return 0;
32199 }
32200 _ACEOF
32201 if ac_fn_cxx_try_compile "$LINENO"; then :
32202 glibcxx_cv_func_modf_use=yes
32203 else
32204 glibcxx_cv_func_modf_use=no
32205 fi
32206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32207 ac_ext=c
32208 ac_cpp='$CPP $CPPFLAGS'
32209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32212
32213
32214 fi
32215
32216 fi
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32218 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32219
32220 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32221 for ac_func in modf
32222 do :
32223 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32224 if test "x$ac_cv_func_modf" = xyes; then :
32225 cat >>confdefs.h <<_ACEOF
32226 #define HAVE_MODF 1
32227 _ACEOF
32228
32229 fi
32230 done
32231
32232 else
32233
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32235 $as_echo_n "checking for _modf declaration... " >&6; }
32236 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32237 if ${glibcxx_cv_func__modf_use+:} false; then :
32238 $as_echo_n "(cached) " >&6
32239 else
32240
32241
32242 ac_ext=cpp
32243 ac_cpp='$CXXCPP $CPPFLAGS'
32244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32247
32248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32249 /* end confdefs.h. */
32250 #include <math.h>
32251 int
32252 main ()
32253 {
32254 _modf(0, 0);
32255 ;
32256 return 0;
32257 }
32258 _ACEOF
32259 if ac_fn_cxx_try_compile "$LINENO"; then :
32260 glibcxx_cv_func__modf_use=yes
32261 else
32262 glibcxx_cv_func__modf_use=no
32263 fi
32264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32265 ac_ext=c
32266 ac_cpp='$CPP $CPPFLAGS'
32267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32270
32271
32272 fi
32273
32274 fi
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32276 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32277
32278 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32279 for ac_func in _modf
32280 do :
32281 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32282 if test "x$ac_cv_func__modf" = xyes; then :
32283 cat >>confdefs.h <<_ACEOF
32284 #define HAVE__MODF 1
32285 _ACEOF
32286
32287 fi
32288 done
32289
32290 fi
32291 fi
32292
32293
32294
32295
32296
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32298 $as_echo_n "checking for powf declaration... " >&6; }
32299 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32300 if ${glibcxx_cv_func_powf_use+:} false; then :
32301 $as_echo_n "(cached) " >&6
32302 else
32303
32304
32305 ac_ext=cpp
32306 ac_cpp='$CXXCPP $CPPFLAGS'
32307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32310
32311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32312 /* end confdefs.h. */
32313 #include <math.h>
32314 int
32315 main ()
32316 {
32317 powf(0, 0);
32318 ;
32319 return 0;
32320 }
32321 _ACEOF
32322 if ac_fn_cxx_try_compile "$LINENO"; then :
32323 glibcxx_cv_func_powf_use=yes
32324 else
32325 glibcxx_cv_func_powf_use=no
32326 fi
32327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32328 ac_ext=c
32329 ac_cpp='$CPP $CPPFLAGS'
32330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32333
32334
32335 fi
32336
32337 fi
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32339 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32340
32341 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32342 for ac_func in powf
32343 do :
32344 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32345 if test "x$ac_cv_func_powf" = xyes; then :
32346 cat >>confdefs.h <<_ACEOF
32347 #define HAVE_POWF 1
32348 _ACEOF
32349
32350 fi
32351 done
32352
32353 else
32354
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32356 $as_echo_n "checking for _powf declaration... " >&6; }
32357 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32358 if ${glibcxx_cv_func__powf_use+:} false; then :
32359 $as_echo_n "(cached) " >&6
32360 else
32361
32362
32363 ac_ext=cpp
32364 ac_cpp='$CXXCPP $CPPFLAGS'
32365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32368
32369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32370 /* end confdefs.h. */
32371 #include <math.h>
32372 int
32373 main ()
32374 {
32375 _powf(0, 0);
32376 ;
32377 return 0;
32378 }
32379 _ACEOF
32380 if ac_fn_cxx_try_compile "$LINENO"; then :
32381 glibcxx_cv_func__powf_use=yes
32382 else
32383 glibcxx_cv_func__powf_use=no
32384 fi
32385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32386 ac_ext=c
32387 ac_cpp='$CPP $CPPFLAGS'
32388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32391
32392
32393 fi
32394
32395 fi
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32397 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32398
32399 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32400 for ac_func in _powf
32401 do :
32402 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32403 if test "x$ac_cv_func__powf" = xyes; then :
32404 cat >>confdefs.h <<_ACEOF
32405 #define HAVE__POWF 1
32406 _ACEOF
32407
32408 fi
32409 done
32410
32411 fi
32412 fi
32413
32414
32415
32416
32417
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32419 $as_echo_n "checking for sqrtf declaration... " >&6; }
32420 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32421 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32422 $as_echo_n "(cached) " >&6
32423 else
32424
32425
32426 ac_ext=cpp
32427 ac_cpp='$CXXCPP $CPPFLAGS'
32428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32431
32432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h. */
32434 #include <math.h>
32435 #ifdef HAVE_IEEEFP_H
32436 #include <ieeefp.h>
32437 #endif
32438
32439 int
32440 main ()
32441 {
32442 sqrtf(0);
32443 ;
32444 return 0;
32445 }
32446 _ACEOF
32447 if ac_fn_cxx_try_compile "$LINENO"; then :
32448 glibcxx_cv_func_sqrtf_use=yes
32449 else
32450 glibcxx_cv_func_sqrtf_use=no
32451 fi
32452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32453 ac_ext=c
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32458
32459
32460 fi
32461
32462 fi
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32464 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32465
32466 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32467 for ac_func in sqrtf
32468 do :
32469 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32470 if test "x$ac_cv_func_sqrtf" = xyes; then :
32471 cat >>confdefs.h <<_ACEOF
32472 #define HAVE_SQRTF 1
32473 _ACEOF
32474
32475 fi
32476 done
32477
32478 else
32479
32480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32481 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32482 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32483 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32484 $as_echo_n "(cached) " >&6
32485 else
32486
32487
32488 ac_ext=cpp
32489 ac_cpp='$CXXCPP $CPPFLAGS'
32490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32493
32494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32495 /* end confdefs.h. */
32496 #include <math.h>
32497 #ifdef HAVE_IEEEFP_H
32498 #include <ieeefp.h>
32499 #endif
32500
32501 int
32502 main ()
32503 {
32504 _sqrtf(0);
32505 ;
32506 return 0;
32507 }
32508 _ACEOF
32509 if ac_fn_cxx_try_compile "$LINENO"; then :
32510 glibcxx_cv_func__sqrtf_use=yes
32511 else
32512 glibcxx_cv_func__sqrtf_use=no
32513 fi
32514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32515 ac_ext=c
32516 ac_cpp='$CPP $CPPFLAGS'
32517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32520
32521
32522 fi
32523
32524 fi
32525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32526 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32527
32528 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32529 for ac_func in _sqrtf
32530 do :
32531 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32532 if test "x$ac_cv_func__sqrtf" = xyes; then :
32533 cat >>confdefs.h <<_ACEOF
32534 #define HAVE__SQRTF 1
32535 _ACEOF
32536
32537 fi
32538 done
32539
32540 fi
32541 fi
32542
32543
32544
32545
32546
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32548 $as_echo_n "checking for sincosf declaration... " >&6; }
32549 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32550 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32551 $as_echo_n "(cached) " >&6
32552 else
32553
32554
32555 ac_ext=cpp
32556 ac_cpp='$CXXCPP $CPPFLAGS'
32557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32560
32561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32562 /* end confdefs.h. */
32563 #include <math.h>
32564 int
32565 main ()
32566 {
32567 sincosf(0, 0, 0);
32568 ;
32569 return 0;
32570 }
32571 _ACEOF
32572 if ac_fn_cxx_try_compile "$LINENO"; then :
32573 glibcxx_cv_func_sincosf_use=yes
32574 else
32575 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
32589 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32590
32591 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32592 for ac_func in sincosf
32593 do :
32594 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32595 if test "x$ac_cv_func_sincosf" = xyes; then :
32596 cat >>confdefs.h <<_ACEOF
32597 #define HAVE_SINCOSF 1
32598 _ACEOF
32599
32600 fi
32601 done
32602
32603 else
32604
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32606 $as_echo_n "checking for _sincosf declaration... " >&6; }
32607 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32608 if ${glibcxx_cv_func__sincosf_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 int
32623 main ()
32624 {
32625 _sincosf(0, 0, 0);
32626 ;
32627 return 0;
32628 }
32629 _ACEOF
32630 if ac_fn_cxx_try_compile "$LINENO"; then :
32631 glibcxx_cv_func__sincosf_use=yes
32632 else
32633 glibcxx_cv_func__sincosf_use=no
32634 fi
32635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32636 ac_ext=c
32637 ac_cpp='$CPP $CPPFLAGS'
32638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32641
32642
32643 fi
32644
32645 fi
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32647 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32648
32649 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32650 for ac_func in _sincosf
32651 do :
32652 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32653 if test "x$ac_cv_func__sincosf" = xyes; then :
32654 cat >>confdefs.h <<_ACEOF
32655 #define HAVE__SINCOSF 1
32656 _ACEOF
32657
32658 fi
32659 done
32660
32661 fi
32662 fi
32663
32664
32665
32666
32667
32668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32669 $as_echo_n "checking for finitef declaration... " >&6; }
32670 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32671 if ${glibcxx_cv_func_finitef_use+:} false; then :
32672 $as_echo_n "(cached) " >&6
32673 else
32674
32675
32676 ac_ext=cpp
32677 ac_cpp='$CXXCPP $CPPFLAGS'
32678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32681
32682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32684 #include <math.h>
32685 #ifdef HAVE_IEEEFP_H
32686 #include <ieeefp.h>
32687 #endif
32688
32689 int
32690 main ()
32691 {
32692 finitef(0);
32693 ;
32694 return 0;
32695 }
32696 _ACEOF
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698 glibcxx_cv_func_finitef_use=yes
32699 else
32700 glibcxx_cv_func_finitef_use=no
32701 fi
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32703 ac_ext=c
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32708
32709
32710 fi
32711
32712 fi
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32714 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32715
32716 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32717 for ac_func in finitef
32718 do :
32719 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32720 if test "x$ac_cv_func_finitef" = xyes; then :
32721 cat >>confdefs.h <<_ACEOF
32722 #define HAVE_FINITEF 1
32723 _ACEOF
32724
32725 fi
32726 done
32727
32728 else
32729
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32731 $as_echo_n "checking for _finitef declaration... " >&6; }
32732 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32733 if ${glibcxx_cv_func__finitef_use+:} false; then :
32734 $as_echo_n "(cached) " >&6
32735 else
32736
32737
32738 ac_ext=cpp
32739 ac_cpp='$CXXCPP $CPPFLAGS'
32740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32743
32744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32745 /* end confdefs.h. */
32746 #include <math.h>
32747 #ifdef HAVE_IEEEFP_H
32748 #include <ieeefp.h>
32749 #endif
32750
32751 int
32752 main ()
32753 {
32754 _finitef(0);
32755 ;
32756 return 0;
32757 }
32758 _ACEOF
32759 if ac_fn_cxx_try_compile "$LINENO"; then :
32760 glibcxx_cv_func__finitef_use=yes
32761 else
32762 glibcxx_cv_func__finitef_use=no
32763 fi
32764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32765 ac_ext=c
32766 ac_cpp='$CPP $CPPFLAGS'
32767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32770
32771
32772 fi
32773
32774 fi
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32776 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32777
32778 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32779 for ac_func in _finitef
32780 do :
32781 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32782 if test "x$ac_cv_func__finitef" = xyes; then :
32783 cat >>confdefs.h <<_ACEOF
32784 #define HAVE__FINITEF 1
32785 _ACEOF
32786
32787 fi
32788 done
32789
32790 fi
32791 fi
32792
32793
32794
32795
32796
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32798 $as_echo_n "checking for long double trig functions... " >&6; }
32799 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32800 $as_echo_n "(cached) " >&6
32801 else
32802
32803
32804 ac_ext=cpp
32805 ac_cpp='$CXXCPP $CPPFLAGS'
32806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32809
32810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32811 /* end confdefs.h. */
32812 #include <math.h>
32813 int
32814 main ()
32815 {
32816 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32817 ;
32818 return 0;
32819 }
32820 _ACEOF
32821 if ac_fn_cxx_try_compile "$LINENO"; then :
32822 glibcxx_cv_func_long_double_trig_use=yes
32823 else
32824 glibcxx_cv_func_long_double_trig_use=no
32825 fi
32826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32827 ac_ext=c
32828 ac_cpp='$CPP $CPPFLAGS'
32829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32832
32833 fi
32834
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32836 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32837 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32838 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32839 do :
32840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32843 cat >>confdefs.h <<_ACEOF
32844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32845 _ACEOF
32846
32847 fi
32848 done
32849
32850 else
32851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32852 $as_echo_n "checking for _long double trig functions... " >&6; }
32853 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32854 $as_echo_n "(cached) " >&6
32855 else
32856
32857
32858 ac_ext=cpp
32859 ac_cpp='$CXXCPP $CPPFLAGS'
32860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32863
32864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32865 /* end confdefs.h. */
32866 #include <math.h>
32867 int
32868 main ()
32869 {
32870 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32871 ;
32872 return 0;
32873 }
32874 _ACEOF
32875 if ac_fn_cxx_try_compile "$LINENO"; then :
32876 glibcxx_cv_func__long_double_trig_use=yes
32877 else
32878 glibcxx_cv_func__long_double_trig_use=no
32879 fi
32880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32881 ac_ext=c
32882 ac_cpp='$CPP $CPPFLAGS'
32883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32886
32887 fi
32888
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32890 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32891 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32892 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32893 do :
32894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32897 cat >>confdefs.h <<_ACEOF
32898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32899 _ACEOF
32900
32901 fi
32902 done
32903
32904 fi
32905 fi
32906
32907
32908
32909
32910
32911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32912 $as_echo_n "checking for long double round functions... " >&6; }
32913 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32916
32917
32918 ac_ext=cpp
32919 ac_cpp='$CXXCPP $CPPFLAGS'
32920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32923
32924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32925 /* end confdefs.h. */
32926 #include <math.h>
32927 int
32928 main ()
32929 {
32930 ceill (0); floorl (0);
32931 ;
32932 return 0;
32933 }
32934 _ACEOF
32935 if ac_fn_cxx_try_compile "$LINENO"; then :
32936 glibcxx_cv_func_long_double_round_use=yes
32937 else
32938 glibcxx_cv_func_long_double_round_use=no
32939 fi
32940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32941 ac_ext=c
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32946
32947 fi
32948
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32950 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32951 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32952 for ac_func in ceill floorl
32953 do :
32954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32957 cat >>confdefs.h <<_ACEOF
32958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32959 _ACEOF
32960
32961 fi
32962 done
32963
32964 else
32965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32966 $as_echo_n "checking for _long double round functions... " >&6; }
32967 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32968 $as_echo_n "(cached) " >&6
32969 else
32970
32971
32972 ac_ext=cpp
32973 ac_cpp='$CXXCPP $CPPFLAGS'
32974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32977
32978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32979 /* end confdefs.h. */
32980 #include <math.h>
32981 int
32982 main ()
32983 {
32984 _ceill (0); _floorl (0);
32985 ;
32986 return 0;
32987 }
32988 _ACEOF
32989 if ac_fn_cxx_try_compile "$LINENO"; then :
32990 glibcxx_cv_func__long_double_round_use=yes
32991 else
32992 glibcxx_cv_func__long_double_round_use=no
32993 fi
32994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32995 ac_ext=c
32996 ac_cpp='$CPP $CPPFLAGS'
32997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33000
33001 fi
33002
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33004 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33005 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33006 for ac_func in _ceill _floorl
33007 do :
33008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33010 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33011 cat >>confdefs.h <<_ACEOF
33012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33013 _ACEOF
33014
33015 fi
33016 done
33017
33018 fi
33019 fi
33020
33021
33022
33023
33024
33025
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33027 $as_echo_n "checking for isnanl declaration... " >&6; }
33028 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33029 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33032
33033
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33039
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <math.h>
33043 #ifdef HAVE_IEEEFP_H
33044 #include <ieeefp.h>
33045 #endif
33046
33047 int
33048 main ()
33049 {
33050 isnanl(0);
33051 ;
33052 return 0;
33053 }
33054 _ACEOF
33055 if ac_fn_cxx_try_compile "$LINENO"; then :
33056 glibcxx_cv_func_isnanl_use=yes
33057 else
33058 glibcxx_cv_func_isnanl_use=no
33059 fi
33060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33061 ac_ext=c
33062 ac_cpp='$CPP $CPPFLAGS'
33063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066
33067
33068 fi
33069
33070 fi
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33072 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33073
33074 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33075 for ac_func in isnanl
33076 do :
33077 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33078 if test "x$ac_cv_func_isnanl" = xyes; then :
33079 cat >>confdefs.h <<_ACEOF
33080 #define HAVE_ISNANL 1
33081 _ACEOF
33082
33083 fi
33084 done
33085
33086 else
33087
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33089 $as_echo_n "checking for _isnanl declaration... " >&6; }
33090 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33091 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33092 $as_echo_n "(cached) " >&6
33093 else
33094
33095
33096 ac_ext=cpp
33097 ac_cpp='$CXXCPP $CPPFLAGS'
33098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33101
33102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33103 /* end confdefs.h. */
33104 #include <math.h>
33105 #ifdef HAVE_IEEEFP_H
33106 #include <ieeefp.h>
33107 #endif
33108
33109 int
33110 main ()
33111 {
33112 _isnanl(0);
33113 ;
33114 return 0;
33115 }
33116 _ACEOF
33117 if ac_fn_cxx_try_compile "$LINENO"; then :
33118 glibcxx_cv_func__isnanl_use=yes
33119 else
33120 glibcxx_cv_func__isnanl_use=no
33121 fi
33122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33123 ac_ext=c
33124 ac_cpp='$CPP $CPPFLAGS'
33125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33128
33129
33130 fi
33131
33132 fi
33133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33134 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33135
33136 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33137 for ac_func in _isnanl
33138 do :
33139 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33140 if test "x$ac_cv_func__isnanl" = xyes; then :
33141 cat >>confdefs.h <<_ACEOF
33142 #define HAVE__ISNANL 1
33143 _ACEOF
33144
33145 fi
33146 done
33147
33148 fi
33149 fi
33150
33151
33152
33153
33154
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33156 $as_echo_n "checking for isinfl declaration... " >&6; }
33157 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33158 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33159 $as_echo_n "(cached) " >&6
33160 else
33161
33162
33163 ac_ext=cpp
33164 ac_cpp='$CXXCPP $CPPFLAGS'
33165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33168
33169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33170 /* end confdefs.h. */
33171 #include <math.h>
33172 #ifdef HAVE_IEEEFP_H
33173 #include <ieeefp.h>
33174 #endif
33175
33176 int
33177 main ()
33178 {
33179 isinfl(0);
33180 ;
33181 return 0;
33182 }
33183 _ACEOF
33184 if ac_fn_cxx_try_compile "$LINENO"; then :
33185 glibcxx_cv_func_isinfl_use=yes
33186 else
33187 glibcxx_cv_func_isinfl_use=no
33188 fi
33189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33190 ac_ext=c
33191 ac_cpp='$CPP $CPPFLAGS'
33192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33195
33196
33197 fi
33198
33199 fi
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33201 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33202
33203 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33204 for ac_func in isinfl
33205 do :
33206 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33207 if test "x$ac_cv_func_isinfl" = xyes; then :
33208 cat >>confdefs.h <<_ACEOF
33209 #define HAVE_ISINFL 1
33210 _ACEOF
33211
33212 fi
33213 done
33214
33215 else
33216
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33218 $as_echo_n "checking for _isinfl declaration... " >&6; }
33219 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33220 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33221 $as_echo_n "(cached) " >&6
33222 else
33223
33224
33225 ac_ext=cpp
33226 ac_cpp='$CXXCPP $CPPFLAGS'
33227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33230
33231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33232 /* end confdefs.h. */
33233 #include <math.h>
33234 #ifdef HAVE_IEEEFP_H
33235 #include <ieeefp.h>
33236 #endif
33237
33238 int
33239 main ()
33240 {
33241 _isinfl(0);
33242 ;
33243 return 0;
33244 }
33245 _ACEOF
33246 if ac_fn_cxx_try_compile "$LINENO"; then :
33247 glibcxx_cv_func__isinfl_use=yes
33248 else
33249 glibcxx_cv_func__isinfl_use=no
33250 fi
33251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33252 ac_ext=c
33253 ac_cpp='$CPP $CPPFLAGS'
33254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33257
33258
33259 fi
33260
33261 fi
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33263 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33264
33265 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33266 for ac_func in _isinfl
33267 do :
33268 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33269 if test "x$ac_cv_func__isinfl" = xyes; then :
33270 cat >>confdefs.h <<_ACEOF
33271 #define HAVE__ISINFL 1
33272 _ACEOF
33273
33274 fi
33275 done
33276
33277 fi
33278 fi
33279
33280
33281
33282
33283
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33285 $as_echo_n "checking for atan2l declaration... " >&6; }
33286 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33287 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33288 $as_echo_n "(cached) " >&6
33289 else
33290
33291
33292 ac_ext=cpp
33293 ac_cpp='$CXXCPP $CPPFLAGS'
33294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33297
33298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33299 /* end confdefs.h. */
33300 #include <math.h>
33301 int
33302 main ()
33303 {
33304 atan2l(0, 0);
33305 ;
33306 return 0;
33307 }
33308 _ACEOF
33309 if ac_fn_cxx_try_compile "$LINENO"; then :
33310 glibcxx_cv_func_atan2l_use=yes
33311 else
33312 glibcxx_cv_func_atan2l_use=no
33313 fi
33314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33315 ac_ext=c
33316 ac_cpp='$CPP $CPPFLAGS'
33317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33320
33321
33322 fi
33323
33324 fi
33325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33326 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33327
33328 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33329 for ac_func in atan2l
33330 do :
33331 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33332 if test "x$ac_cv_func_atan2l" = xyes; then :
33333 cat >>confdefs.h <<_ACEOF
33334 #define HAVE_ATAN2L 1
33335 _ACEOF
33336
33337 fi
33338 done
33339
33340 else
33341
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33343 $as_echo_n "checking for _atan2l declaration... " >&6; }
33344 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33345 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33346 $as_echo_n "(cached) " >&6
33347 else
33348
33349
33350 ac_ext=cpp
33351 ac_cpp='$CXXCPP $CPPFLAGS'
33352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33355
33356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33357 /* end confdefs.h. */
33358 #include <math.h>
33359 int
33360 main ()
33361 {
33362 _atan2l(0, 0);
33363 ;
33364 return 0;
33365 }
33366 _ACEOF
33367 if ac_fn_cxx_try_compile "$LINENO"; then :
33368 glibcxx_cv_func__atan2l_use=yes
33369 else
33370 glibcxx_cv_func__atan2l_use=no
33371 fi
33372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33373 ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33378
33379
33380 fi
33381
33382 fi
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33384 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33385
33386 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33387 for ac_func in _atan2l
33388 do :
33389 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33390 if test "x$ac_cv_func__atan2l" = xyes; then :
33391 cat >>confdefs.h <<_ACEOF
33392 #define HAVE__ATAN2L 1
33393 _ACEOF
33394
33395 fi
33396 done
33397
33398 fi
33399 fi
33400
33401
33402
33403
33404
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33406 $as_echo_n "checking for expl declaration... " >&6; }
33407 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33408 if ${glibcxx_cv_func_expl_use+:} false; then :
33409 $as_echo_n "(cached) " >&6
33410 else
33411
33412
33413 ac_ext=cpp
33414 ac_cpp='$CXXCPP $CPPFLAGS'
33415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33418
33419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33420 /* end confdefs.h. */
33421 #include <math.h>
33422 #ifdef HAVE_IEEEFP_H
33423 #include <ieeefp.h>
33424 #endif
33425
33426 int
33427 main ()
33428 {
33429 expl(0);
33430 ;
33431 return 0;
33432 }
33433 _ACEOF
33434 if ac_fn_cxx_try_compile "$LINENO"; then :
33435 glibcxx_cv_func_expl_use=yes
33436 else
33437 glibcxx_cv_func_expl_use=no
33438 fi
33439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33440 ac_ext=c
33441 ac_cpp='$CPP $CPPFLAGS'
33442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33445
33446
33447 fi
33448
33449 fi
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33451 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33452
33453 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33454 for ac_func in expl
33455 do :
33456 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33457 if test "x$ac_cv_func_expl" = xyes; then :
33458 cat >>confdefs.h <<_ACEOF
33459 #define HAVE_EXPL 1
33460 _ACEOF
33461
33462 fi
33463 done
33464
33465 else
33466
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33468 $as_echo_n "checking for _expl declaration... " >&6; }
33469 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33470 if ${glibcxx_cv_func__expl_use+:} false; then :
33471 $as_echo_n "(cached) " >&6
33472 else
33473
33474
33475 ac_ext=cpp
33476 ac_cpp='$CXXCPP $CPPFLAGS'
33477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33480
33481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33482 /* end confdefs.h. */
33483 #include <math.h>
33484 #ifdef HAVE_IEEEFP_H
33485 #include <ieeefp.h>
33486 #endif
33487
33488 int
33489 main ()
33490 {
33491 _expl(0);
33492 ;
33493 return 0;
33494 }
33495 _ACEOF
33496 if ac_fn_cxx_try_compile "$LINENO"; then :
33497 glibcxx_cv_func__expl_use=yes
33498 else
33499 glibcxx_cv_func__expl_use=no
33500 fi
33501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33502 ac_ext=c
33503 ac_cpp='$CPP $CPPFLAGS'
33504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33507
33508
33509 fi
33510
33511 fi
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33513 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33514
33515 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33516 for ac_func in _expl
33517 do :
33518 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33519 if test "x$ac_cv_func__expl" = xyes; then :
33520 cat >>confdefs.h <<_ACEOF
33521 #define HAVE__EXPL 1
33522 _ACEOF
33523
33524 fi
33525 done
33526
33527 fi
33528 fi
33529
33530
33531
33532
33533
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33535 $as_echo_n "checking for fabsl declaration... " >&6; }
33536 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33537 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33540
33541
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33547
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33551 #ifdef HAVE_IEEEFP_H
33552 #include <ieeefp.h>
33553 #endif
33554
33555 int
33556 main ()
33557 {
33558 fabsl(0);
33559 ;
33560 return 0;
33561 }
33562 _ACEOF
33563 if ac_fn_cxx_try_compile "$LINENO"; then :
33564 glibcxx_cv_func_fabsl_use=yes
33565 else
33566 glibcxx_cv_func_fabsl_use=no
33567 fi
33568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33569 ac_ext=c
33570 ac_cpp='$CPP $CPPFLAGS'
33571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33574
33575
33576 fi
33577
33578 fi
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33580 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33581
33582 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33583 for ac_func in fabsl
33584 do :
33585 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33586 if test "x$ac_cv_func_fabsl" = xyes; then :
33587 cat >>confdefs.h <<_ACEOF
33588 #define HAVE_FABSL 1
33589 _ACEOF
33590
33591 fi
33592 done
33593
33594 else
33595
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33597 $as_echo_n "checking for _fabsl declaration... " >&6; }
33598 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33599 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33600 $as_echo_n "(cached) " >&6
33601 else
33602
33603
33604 ac_ext=cpp
33605 ac_cpp='$CXXCPP $CPPFLAGS'
33606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33609
33610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33611 /* end confdefs.h. */
33612 #include <math.h>
33613 #ifdef HAVE_IEEEFP_H
33614 #include <ieeefp.h>
33615 #endif
33616
33617 int
33618 main ()
33619 {
33620 _fabsl(0);
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 if ac_fn_cxx_try_compile "$LINENO"; then :
33626 glibcxx_cv_func__fabsl_use=yes
33627 else
33628 glibcxx_cv_func__fabsl_use=no
33629 fi
33630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33631 ac_ext=c
33632 ac_cpp='$CPP $CPPFLAGS'
33633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33636
33637
33638 fi
33639
33640 fi
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33642 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33643
33644 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33645 for ac_func in _fabsl
33646 do :
33647 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33648 if test "x$ac_cv_func__fabsl" = xyes; then :
33649 cat >>confdefs.h <<_ACEOF
33650 #define HAVE__FABSL 1
33651 _ACEOF
33652
33653 fi
33654 done
33655
33656 fi
33657 fi
33658
33659
33660
33661
33662
33663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33664 $as_echo_n "checking for fmodl declaration... " >&6; }
33665 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33666 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33667 $as_echo_n "(cached) " >&6
33668 else
33669
33670
33671 ac_ext=cpp
33672 ac_cpp='$CXXCPP $CPPFLAGS'
33673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33676
33677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33678 /* end confdefs.h. */
33679 #include <math.h>
33680 int
33681 main ()
33682 {
33683 fmodl(0, 0);
33684 ;
33685 return 0;
33686 }
33687 _ACEOF
33688 if ac_fn_cxx_try_compile "$LINENO"; then :
33689 glibcxx_cv_func_fmodl_use=yes
33690 else
33691 glibcxx_cv_func_fmodl_use=no
33692 fi
33693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33694 ac_ext=c
33695 ac_cpp='$CPP $CPPFLAGS'
33696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699
33700
33701 fi
33702
33703 fi
33704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33705 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33706
33707 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33708 for ac_func in fmodl
33709 do :
33710 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33711 if test "x$ac_cv_func_fmodl" = xyes; then :
33712 cat >>confdefs.h <<_ACEOF
33713 #define HAVE_FMODL 1
33714 _ACEOF
33715
33716 fi
33717 done
33718
33719 else
33720
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33722 $as_echo_n "checking for _fmodl declaration... " >&6; }
33723 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33724 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33725 $as_echo_n "(cached) " >&6
33726 else
33727
33728
33729 ac_ext=cpp
33730 ac_cpp='$CXXCPP $CPPFLAGS'
33731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33734
33735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33736 /* end confdefs.h. */
33737 #include <math.h>
33738 int
33739 main ()
33740 {
33741 _fmodl(0, 0);
33742 ;
33743 return 0;
33744 }
33745 _ACEOF
33746 if ac_fn_cxx_try_compile "$LINENO"; then :
33747 glibcxx_cv_func__fmodl_use=yes
33748 else
33749 glibcxx_cv_func__fmodl_use=no
33750 fi
33751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33752 ac_ext=c
33753 ac_cpp='$CPP $CPPFLAGS'
33754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33757
33758
33759 fi
33760
33761 fi
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33763 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33764
33765 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33766 for ac_func in _fmodl
33767 do :
33768 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33769 if test "x$ac_cv_func__fmodl" = xyes; then :
33770 cat >>confdefs.h <<_ACEOF
33771 #define HAVE__FMODL 1
33772 _ACEOF
33773
33774 fi
33775 done
33776
33777 fi
33778 fi
33779
33780
33781
33782
33783
33784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33785 $as_echo_n "checking for frexpl declaration... " >&6; }
33786 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33787 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33788 $as_echo_n "(cached) " >&6
33789 else
33790
33791
33792 ac_ext=cpp
33793 ac_cpp='$CXXCPP $CPPFLAGS'
33794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33797
33798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33799 /* end confdefs.h. */
33800 #include <math.h>
33801 int
33802 main ()
33803 {
33804 frexpl(0, 0);
33805 ;
33806 return 0;
33807 }
33808 _ACEOF
33809 if ac_fn_cxx_try_compile "$LINENO"; then :
33810 glibcxx_cv_func_frexpl_use=yes
33811 else
33812 glibcxx_cv_func_frexpl_use=no
33813 fi
33814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33815 ac_ext=c
33816 ac_cpp='$CPP $CPPFLAGS'
33817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33820
33821
33822 fi
33823
33824 fi
33825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33826 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33827
33828 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33829 for ac_func in frexpl
33830 do :
33831 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33832 if test "x$ac_cv_func_frexpl" = xyes; then :
33833 cat >>confdefs.h <<_ACEOF
33834 #define HAVE_FREXPL 1
33835 _ACEOF
33836
33837 fi
33838 done
33839
33840 else
33841
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33843 $as_echo_n "checking for _frexpl declaration... " >&6; }
33844 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33845 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33846 $as_echo_n "(cached) " >&6
33847 else
33848
33849
33850 ac_ext=cpp
33851 ac_cpp='$CXXCPP $CPPFLAGS'
33852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33855
33856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33857 /* end confdefs.h. */
33858 #include <math.h>
33859 int
33860 main ()
33861 {
33862 _frexpl(0, 0);
33863 ;
33864 return 0;
33865 }
33866 _ACEOF
33867 if ac_fn_cxx_try_compile "$LINENO"; then :
33868 glibcxx_cv_func__frexpl_use=yes
33869 else
33870 glibcxx_cv_func__frexpl_use=no
33871 fi
33872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 ac_ext=c
33874 ac_cpp='$CPP $CPPFLAGS'
33875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33878
33879
33880 fi
33881
33882 fi
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33884 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33885
33886 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33887 for ac_func in _frexpl
33888 do :
33889 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33890 if test "x$ac_cv_func__frexpl" = xyes; then :
33891 cat >>confdefs.h <<_ACEOF
33892 #define HAVE__FREXPL 1
33893 _ACEOF
33894
33895 fi
33896 done
33897
33898 fi
33899 fi
33900
33901
33902
33903
33904
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33906 $as_echo_n "checking for hypotl declaration... " >&6; }
33907 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33908 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33909 $as_echo_n "(cached) " >&6
33910 else
33911
33912
33913 ac_ext=cpp
33914 ac_cpp='$CXXCPP $CPPFLAGS'
33915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33918
33919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33920 /* end confdefs.h. */
33921 #include <math.h>
33922 int
33923 main ()
33924 {
33925 hypotl(0, 0);
33926 ;
33927 return 0;
33928 }
33929 _ACEOF
33930 if ac_fn_cxx_try_compile "$LINENO"; then :
33931 glibcxx_cv_func_hypotl_use=yes
33932 else
33933 glibcxx_cv_func_hypotl_use=no
33934 fi
33935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941
33942
33943 fi
33944
33945 fi
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33947 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33948
33949 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33950 for ac_func in hypotl
33951 do :
33952 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33953 if test "x$ac_cv_func_hypotl" = xyes; then :
33954 cat >>confdefs.h <<_ACEOF
33955 #define HAVE_HYPOTL 1
33956 _ACEOF
33957
33958 fi
33959 done
33960
33961 else
33962
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33964 $as_echo_n "checking for _hypotl declaration... " >&6; }
33965 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33966 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33967 $as_echo_n "(cached) " >&6
33968 else
33969
33970
33971 ac_ext=cpp
33972 ac_cpp='$CXXCPP $CPPFLAGS'
33973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33976
33977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33978 /* end confdefs.h. */
33979 #include <math.h>
33980 int
33981 main ()
33982 {
33983 _hypotl(0, 0);
33984 ;
33985 return 0;
33986 }
33987 _ACEOF
33988 if ac_fn_cxx_try_compile "$LINENO"; then :
33989 glibcxx_cv_func__hypotl_use=yes
33990 else
33991 glibcxx_cv_func__hypotl_use=no
33992 fi
33993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33994 ac_ext=c
33995 ac_cpp='$CPP $CPPFLAGS'
33996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33999
34000
34001 fi
34002
34003 fi
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34005 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34006
34007 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34008 for ac_func in _hypotl
34009 do :
34010 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34011 if test "x$ac_cv_func__hypotl" = xyes; then :
34012 cat >>confdefs.h <<_ACEOF
34013 #define HAVE__HYPOTL 1
34014 _ACEOF
34015
34016 fi
34017 done
34018
34019 fi
34020 fi
34021
34022
34023
34024
34025
34026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34027 $as_echo_n "checking for ldexpl declaration... " >&6; }
34028 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34029 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34030 $as_echo_n "(cached) " >&6
34031 else
34032
34033
34034 ac_ext=cpp
34035 ac_cpp='$CXXCPP $CPPFLAGS'
34036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34039
34040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34041 /* end confdefs.h. */
34042 #include <math.h>
34043 int
34044 main ()
34045 {
34046 ldexpl(0, 0);
34047 ;
34048 return 0;
34049 }
34050 _ACEOF
34051 if ac_fn_cxx_try_compile "$LINENO"; then :
34052 glibcxx_cv_func_ldexpl_use=yes
34053 else
34054 glibcxx_cv_func_ldexpl_use=no
34055 fi
34056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34057 ac_ext=c
34058 ac_cpp='$CPP $CPPFLAGS'
34059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34062
34063
34064 fi
34065
34066 fi
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34068 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34069
34070 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34071 for ac_func in ldexpl
34072 do :
34073 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34074 if test "x$ac_cv_func_ldexpl" = xyes; then :
34075 cat >>confdefs.h <<_ACEOF
34076 #define HAVE_LDEXPL 1
34077 _ACEOF
34078
34079 fi
34080 done
34081
34082 else
34083
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34085 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34086 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34087 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34088 $as_echo_n "(cached) " >&6
34089 else
34090
34091
34092 ac_ext=cpp
34093 ac_cpp='$CXXCPP $CPPFLAGS'
34094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34097
34098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34099 /* end confdefs.h. */
34100 #include <math.h>
34101 int
34102 main ()
34103 {
34104 _ldexpl(0, 0);
34105 ;
34106 return 0;
34107 }
34108 _ACEOF
34109 if ac_fn_cxx_try_compile "$LINENO"; then :
34110 glibcxx_cv_func__ldexpl_use=yes
34111 else
34112 glibcxx_cv_func__ldexpl_use=no
34113 fi
34114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34115 ac_ext=c
34116 ac_cpp='$CPP $CPPFLAGS'
34117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34120
34121
34122 fi
34123
34124 fi
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34126 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34127
34128 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34129 for ac_func in _ldexpl
34130 do :
34131 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34132 if test "x$ac_cv_func__ldexpl" = xyes; then :
34133 cat >>confdefs.h <<_ACEOF
34134 #define HAVE__LDEXPL 1
34135 _ACEOF
34136
34137 fi
34138 done
34139
34140 fi
34141 fi
34142
34143
34144
34145
34146
34147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34148 $as_echo_n "checking for logl declaration... " >&6; }
34149 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34150 if ${glibcxx_cv_func_logl_use+:} false; then :
34151 $as_echo_n "(cached) " >&6
34152 else
34153
34154
34155 ac_ext=cpp
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34160
34161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34162 /* end confdefs.h. */
34163 #include <math.h>
34164 #ifdef HAVE_IEEEFP_H
34165 #include <ieeefp.h>
34166 #endif
34167
34168 int
34169 main ()
34170 {
34171 logl(0);
34172 ;
34173 return 0;
34174 }
34175 _ACEOF
34176 if ac_fn_cxx_try_compile "$LINENO"; then :
34177 glibcxx_cv_func_logl_use=yes
34178 else
34179 glibcxx_cv_func_logl_use=no
34180 fi
34181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34182 ac_ext=c
34183 ac_cpp='$CPP $CPPFLAGS'
34184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34187
34188
34189 fi
34190
34191 fi
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34193 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34194
34195 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34196 for ac_func in logl
34197 do :
34198 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34199 if test "x$ac_cv_func_logl" = xyes; then :
34200 cat >>confdefs.h <<_ACEOF
34201 #define HAVE_LOGL 1
34202 _ACEOF
34203
34204 fi
34205 done
34206
34207 else
34208
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34210 $as_echo_n "checking for _logl declaration... " >&6; }
34211 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34212 if ${glibcxx_cv_func__logl_use+:} false; then :
34213 $as_echo_n "(cached) " >&6
34214 else
34215
34216
34217 ac_ext=cpp
34218 ac_cpp='$CXXCPP $CPPFLAGS'
34219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34222
34223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34224 /* end confdefs.h. */
34225 #include <math.h>
34226 #ifdef HAVE_IEEEFP_H
34227 #include <ieeefp.h>
34228 #endif
34229
34230 int
34231 main ()
34232 {
34233 _logl(0);
34234 ;
34235 return 0;
34236 }
34237 _ACEOF
34238 if ac_fn_cxx_try_compile "$LINENO"; then :
34239 glibcxx_cv_func__logl_use=yes
34240 else
34241 glibcxx_cv_func__logl_use=no
34242 fi
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34249
34250
34251 fi
34252
34253 fi
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34255 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34256
34257 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34258 for ac_func in _logl
34259 do :
34260 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34261 if test "x$ac_cv_func__logl" = xyes; then :
34262 cat >>confdefs.h <<_ACEOF
34263 #define HAVE__LOGL 1
34264 _ACEOF
34265
34266 fi
34267 done
34268
34269 fi
34270 fi
34271
34272
34273
34274
34275
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34277 $as_echo_n "checking for log10l declaration... " >&6; }
34278 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34279 if ${glibcxx_cv_func_log10l_use+:} false; then :
34280 $as_echo_n "(cached) " >&6
34281 else
34282
34283
34284 ac_ext=cpp
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34289
34290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291 /* end confdefs.h. */
34292 #include <math.h>
34293 #ifdef HAVE_IEEEFP_H
34294 #include <ieeefp.h>
34295 #endif
34296
34297 int
34298 main ()
34299 {
34300 log10l(0);
34301 ;
34302 return 0;
34303 }
34304 _ACEOF
34305 if ac_fn_cxx_try_compile "$LINENO"; then :
34306 glibcxx_cv_func_log10l_use=yes
34307 else
34308 glibcxx_cv_func_log10l_use=no
34309 fi
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34316
34317
34318 fi
34319
34320 fi
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34322 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34323
34324 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34325 for ac_func in log10l
34326 do :
34327 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34328 if test "x$ac_cv_func_log10l" = xyes; then :
34329 cat >>confdefs.h <<_ACEOF
34330 #define HAVE_LOG10L 1
34331 _ACEOF
34332
34333 fi
34334 done
34335
34336 else
34337
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34339 $as_echo_n "checking for _log10l declaration... " >&6; }
34340 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34341 if ${glibcxx_cv_func__log10l_use+:} false; then :
34342 $as_echo_n "(cached) " >&6
34343 else
34344
34345
34346 ac_ext=cpp
34347 ac_cpp='$CXXCPP $CPPFLAGS'
34348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34351
34352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34353 /* end confdefs.h. */
34354 #include <math.h>
34355 #ifdef HAVE_IEEEFP_H
34356 #include <ieeefp.h>
34357 #endif
34358
34359 int
34360 main ()
34361 {
34362 _log10l(0);
34363 ;
34364 return 0;
34365 }
34366 _ACEOF
34367 if ac_fn_cxx_try_compile "$LINENO"; then :
34368 glibcxx_cv_func__log10l_use=yes
34369 else
34370 glibcxx_cv_func__log10l_use=no
34371 fi
34372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34373 ac_ext=c
34374 ac_cpp='$CPP $CPPFLAGS'
34375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34378
34379
34380 fi
34381
34382 fi
34383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34384 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34385
34386 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34387 for ac_func in _log10l
34388 do :
34389 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34390 if test "x$ac_cv_func__log10l" = xyes; then :
34391 cat >>confdefs.h <<_ACEOF
34392 #define HAVE__LOG10L 1
34393 _ACEOF
34394
34395 fi
34396 done
34397
34398 fi
34399 fi
34400
34401
34402
34403
34404
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34406 $as_echo_n "checking for modfl declaration... " >&6; }
34407 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34408 if ${glibcxx_cv_func_modfl_use+:} false; then :
34409 $as_echo_n "(cached) " >&6
34410 else
34411
34412
34413 ac_ext=cpp
34414 ac_cpp='$CXXCPP $CPPFLAGS'
34415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34418
34419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34420 /* end confdefs.h. */
34421 #include <math.h>
34422 int
34423 main ()
34424 {
34425 modfl(0, 0);
34426 ;
34427 return 0;
34428 }
34429 _ACEOF
34430 if ac_fn_cxx_try_compile "$LINENO"; then :
34431 glibcxx_cv_func_modfl_use=yes
34432 else
34433 glibcxx_cv_func_modfl_use=no
34434 fi
34435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34436 ac_ext=c
34437 ac_cpp='$CPP $CPPFLAGS'
34438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34441
34442
34443 fi
34444
34445 fi
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34447 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34448
34449 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34450 for ac_func in modfl
34451 do :
34452 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34453 if test "x$ac_cv_func_modfl" = xyes; then :
34454 cat >>confdefs.h <<_ACEOF
34455 #define HAVE_MODFL 1
34456 _ACEOF
34457
34458 fi
34459 done
34460
34461 else
34462
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34464 $as_echo_n "checking for _modfl declaration... " >&6; }
34465 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34466 if ${glibcxx_cv_func__modfl_use+:} false; then :
34467 $as_echo_n "(cached) " >&6
34468 else
34469
34470
34471 ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34476
34477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34478 /* end confdefs.h. */
34479 #include <math.h>
34480 int
34481 main ()
34482 {
34483 _modfl(0, 0);
34484 ;
34485 return 0;
34486 }
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489 glibcxx_cv_func__modfl_use=yes
34490 else
34491 glibcxx_cv_func__modfl_use=no
34492 fi
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34499
34500
34501 fi
34502
34503 fi
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34505 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34506
34507 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34508 for ac_func in _modfl
34509 do :
34510 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34511 if test "x$ac_cv_func__modfl" = xyes; then :
34512 cat >>confdefs.h <<_ACEOF
34513 #define HAVE__MODFL 1
34514 _ACEOF
34515
34516 fi
34517 done
34518
34519 fi
34520 fi
34521
34522
34523
34524
34525
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34527 $as_echo_n "checking for powl declaration... " >&6; }
34528 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34529 if ${glibcxx_cv_func_powl_use+:} false; then :
34530 $as_echo_n "(cached) " >&6
34531 else
34532
34533
34534 ac_ext=cpp
34535 ac_cpp='$CXXCPP $CPPFLAGS'
34536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34539
34540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34541 /* end confdefs.h. */
34542 #include <math.h>
34543 int
34544 main ()
34545 {
34546 powl(0, 0);
34547 ;
34548 return 0;
34549 }
34550 _ACEOF
34551 if ac_fn_cxx_try_compile "$LINENO"; then :
34552 glibcxx_cv_func_powl_use=yes
34553 else
34554 glibcxx_cv_func_powl_use=no
34555 fi
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 ac_ext=c
34558 ac_cpp='$CPP $CPPFLAGS'
34559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34562
34563
34564 fi
34565
34566 fi
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34568 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34569
34570 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34571 for ac_func in powl
34572 do :
34573 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34574 if test "x$ac_cv_func_powl" = xyes; then :
34575 cat >>confdefs.h <<_ACEOF
34576 #define HAVE_POWL 1
34577 _ACEOF
34578
34579 fi
34580 done
34581
34582 else
34583
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34585 $as_echo_n "checking for _powl declaration... " >&6; }
34586 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34587 if ${glibcxx_cv_func__powl_use+:} false; then :
34588 $as_echo_n "(cached) " >&6
34589 else
34590
34591
34592 ac_ext=cpp
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34600 #include <math.h>
34601 int
34602 main ()
34603 {
34604 _powl(0, 0);
34605 ;
34606 return 0;
34607 }
34608 _ACEOF
34609 if ac_fn_cxx_try_compile "$LINENO"; then :
34610 glibcxx_cv_func__powl_use=yes
34611 else
34612 glibcxx_cv_func__powl_use=no
34613 fi
34614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615 ac_ext=c
34616 ac_cpp='$CPP $CPPFLAGS'
34617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34620
34621
34622 fi
34623
34624 fi
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34626 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34627
34628 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34629 for ac_func in _powl
34630 do :
34631 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34632 if test "x$ac_cv_func__powl" = xyes; then :
34633 cat >>confdefs.h <<_ACEOF
34634 #define HAVE__POWL 1
34635 _ACEOF
34636
34637 fi
34638 done
34639
34640 fi
34641 fi
34642
34643
34644
34645
34646
34647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34648 $as_echo_n "checking for sqrtl declaration... " >&6; }
34649 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34650 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34651 $as_echo_n "(cached) " >&6
34652 else
34653
34654
34655 ac_ext=cpp
34656 ac_cpp='$CXXCPP $CPPFLAGS'
34657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34660
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h. */
34663 #include <math.h>
34664 #ifdef HAVE_IEEEFP_H
34665 #include <ieeefp.h>
34666 #endif
34667
34668 int
34669 main ()
34670 {
34671 sqrtl(0);
34672 ;
34673 return 0;
34674 }
34675 _ACEOF
34676 if ac_fn_cxx_try_compile "$LINENO"; then :
34677 glibcxx_cv_func_sqrtl_use=yes
34678 else
34679 glibcxx_cv_func_sqrtl_use=no
34680 fi
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682 ac_ext=c
34683 ac_cpp='$CPP $CPPFLAGS'
34684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34687
34688
34689 fi
34690
34691 fi
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34693 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34694
34695 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34696 for ac_func in sqrtl
34697 do :
34698 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34699 if test "x$ac_cv_func_sqrtl" = xyes; then :
34700 cat >>confdefs.h <<_ACEOF
34701 #define HAVE_SQRTL 1
34702 _ACEOF
34703
34704 fi
34705 done
34706
34707 else
34708
34709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34710 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34711 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34712 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34713 $as_echo_n "(cached) " >&6
34714 else
34715
34716
34717 ac_ext=cpp
34718 ac_cpp='$CXXCPP $CPPFLAGS'
34719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34722
34723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34724 /* end confdefs.h. */
34725 #include <math.h>
34726 #ifdef HAVE_IEEEFP_H
34727 #include <ieeefp.h>
34728 #endif
34729
34730 int
34731 main ()
34732 {
34733 _sqrtl(0);
34734 ;
34735 return 0;
34736 }
34737 _ACEOF
34738 if ac_fn_cxx_try_compile "$LINENO"; then :
34739 glibcxx_cv_func__sqrtl_use=yes
34740 else
34741 glibcxx_cv_func__sqrtl_use=no
34742 fi
34743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744 ac_ext=c
34745 ac_cpp='$CPP $CPPFLAGS'
34746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34749
34750
34751 fi
34752
34753 fi
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34755 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34756
34757 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34758 for ac_func in _sqrtl
34759 do :
34760 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34761 if test "x$ac_cv_func__sqrtl" = xyes; then :
34762 cat >>confdefs.h <<_ACEOF
34763 #define HAVE__SQRTL 1
34764 _ACEOF
34765
34766 fi
34767 done
34768
34769 fi
34770 fi
34771
34772
34773
34774
34775
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34777 $as_echo_n "checking for sincosl declaration... " >&6; }
34778 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34779 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34780 $as_echo_n "(cached) " >&6
34781 else
34782
34783
34784 ac_ext=cpp
34785 ac_cpp='$CXXCPP $CPPFLAGS'
34786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34789
34790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34791 /* end confdefs.h. */
34792 #include <math.h>
34793 int
34794 main ()
34795 {
34796 sincosl(0, 0, 0);
34797 ;
34798 return 0;
34799 }
34800 _ACEOF
34801 if ac_fn_cxx_try_compile "$LINENO"; then :
34802 glibcxx_cv_func_sincosl_use=yes
34803 else
34804 glibcxx_cv_func_sincosl_use=no
34805 fi
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34807 ac_ext=c
34808 ac_cpp='$CPP $CPPFLAGS'
34809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34812
34813
34814 fi
34815
34816 fi
34817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34818 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34819
34820 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34821 for ac_func in sincosl
34822 do :
34823 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34824 if test "x$ac_cv_func_sincosl" = xyes; then :
34825 cat >>confdefs.h <<_ACEOF
34826 #define HAVE_SINCOSL 1
34827 _ACEOF
34828
34829 fi
34830 done
34831
34832 else
34833
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34835 $as_echo_n "checking for _sincosl declaration... " >&6; }
34836 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34837 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34838 $as_echo_n "(cached) " >&6
34839 else
34840
34841
34842 ac_ext=cpp
34843 ac_cpp='$CXXCPP $CPPFLAGS'
34844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34847
34848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34849 /* end confdefs.h. */
34850 #include <math.h>
34851 int
34852 main ()
34853 {
34854 _sincosl(0, 0, 0);
34855 ;
34856 return 0;
34857 }
34858 _ACEOF
34859 if ac_fn_cxx_try_compile "$LINENO"; then :
34860 glibcxx_cv_func__sincosl_use=yes
34861 else
34862 glibcxx_cv_func__sincosl_use=no
34863 fi
34864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34865 ac_ext=c
34866 ac_cpp='$CPP $CPPFLAGS'
34867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870
34871
34872 fi
34873
34874 fi
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34876 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34877
34878 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34879 for ac_func in _sincosl
34880 do :
34881 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34882 if test "x$ac_cv_func__sincosl" = xyes; then :
34883 cat >>confdefs.h <<_ACEOF
34884 #define HAVE__SINCOSL 1
34885 _ACEOF
34886
34887 fi
34888 done
34889
34890 fi
34891 fi
34892
34893
34894
34895
34896
34897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34898 $as_echo_n "checking for finitel declaration... " >&6; }
34899 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34900 if ${glibcxx_cv_func_finitel_use+:} false; then :
34901 $as_echo_n "(cached) " >&6
34902 else
34903
34904
34905 ac_ext=cpp
34906 ac_cpp='$CXXCPP $CPPFLAGS'
34907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34910
34911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34912 /* end confdefs.h. */
34913 #include <math.h>
34914 #ifdef HAVE_IEEEFP_H
34915 #include <ieeefp.h>
34916 #endif
34917
34918 int
34919 main ()
34920 {
34921 finitel(0);
34922 ;
34923 return 0;
34924 }
34925 _ACEOF
34926 if ac_fn_cxx_try_compile "$LINENO"; then :
34927 glibcxx_cv_func_finitel_use=yes
34928 else
34929 glibcxx_cv_func_finitel_use=no
34930 fi
34931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34932 ac_ext=c
34933 ac_cpp='$CPP $CPPFLAGS'
34934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34937
34938
34939 fi
34940
34941 fi
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34943 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34944
34945 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34946 for ac_func in finitel
34947 do :
34948 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34949 if test "x$ac_cv_func_finitel" = xyes; then :
34950 cat >>confdefs.h <<_ACEOF
34951 #define HAVE_FINITEL 1
34952 _ACEOF
34953
34954 fi
34955 done
34956
34957 else
34958
34959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34960 $as_echo_n "checking for _finitel declaration... " >&6; }
34961 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34962 if ${glibcxx_cv_func__finitel_use+:} false; then :
34963 $as_echo_n "(cached) " >&6
34964 else
34965
34966
34967 ac_ext=cpp
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34972
34973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34974 /* end confdefs.h. */
34975 #include <math.h>
34976 #ifdef HAVE_IEEEFP_H
34977 #include <ieeefp.h>
34978 #endif
34979
34980 int
34981 main ()
34982 {
34983 _finitel(0);
34984 ;
34985 return 0;
34986 }
34987 _ACEOF
34988 if ac_fn_cxx_try_compile "$LINENO"; then :
34989 glibcxx_cv_func__finitel_use=yes
34990 else
34991 glibcxx_cv_func__finitel_use=no
34992 fi
34993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994 ac_ext=c
34995 ac_cpp='$CPP $CPPFLAGS'
34996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999
35000
35001 fi
35002
35003 fi
35004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35005 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35006
35007 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35008 for ac_func in _finitel
35009 do :
35010 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35011 if test "x$ac_cv_func__finitel" = xyes; then :
35012 cat >>confdefs.h <<_ACEOF
35013 #define HAVE__FINITEL 1
35014 _ACEOF
35015
35016 fi
35017 done
35018
35019 fi
35020 fi
35021
35022
35023
35024
35025 LIBS="$ac_save_LIBS"
35026 CXXFLAGS="$ac_save_CXXFLAGS"
35027
35028
35029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35030 ac_save_CXXFLAGS="$CXXFLAGS"
35031 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35032
35033
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35035 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35036 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35037 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35038 $as_echo_n "(cached) " >&6
35039 else
35040
35041
35042 ac_ext=cpp
35043 ac_cpp='$CXXCPP $CPPFLAGS'
35044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35047
35048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35049 /* end confdefs.h. */
35050 #include <stdlib.h>
35051 int
35052 main ()
35053 {
35054 at_quick_exit(0);
35055 ;
35056 return 0;
35057 }
35058 _ACEOF
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060 glibcxx_cv_func_at_quick_exit_use=yes
35061 else
35062 glibcxx_cv_func_at_quick_exit_use=no
35063 fi
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065 ac_ext=c
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35070
35071
35072 fi
35073
35074 fi
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35076 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35077 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35078 for ac_func in at_quick_exit
35079 do :
35080 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35081 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35082 cat >>confdefs.h <<_ACEOF
35083 #define HAVE_AT_QUICK_EXIT 1
35084 _ACEOF
35085
35086 fi
35087 done
35088
35089 fi
35090
35091
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35093 $as_echo_n "checking for quick_exit declaration... " >&6; }
35094 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35095 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35096 $as_echo_n "(cached) " >&6
35097 else
35098
35099
35100 ac_ext=cpp
35101 ac_cpp='$CXXCPP $CPPFLAGS'
35102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35105
35106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35107 /* end confdefs.h. */
35108 #include <stdlib.h>
35109 int
35110 main ()
35111 {
35112 quick_exit(0);
35113 ;
35114 return 0;
35115 }
35116 _ACEOF
35117 if ac_fn_cxx_try_compile "$LINENO"; then :
35118 glibcxx_cv_func_quick_exit_use=yes
35119 else
35120 glibcxx_cv_func_quick_exit_use=no
35121 fi
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 ac_ext=c
35124 ac_cpp='$CPP $CPPFLAGS'
35125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35128
35129
35130 fi
35131
35132 fi
35133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35134 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35135 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35136 for ac_func in quick_exit
35137 do :
35138 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35139 if test "x$ac_cv_func_quick_exit" = xyes; then :
35140 cat >>confdefs.h <<_ACEOF
35141 #define HAVE_QUICK_EXIT 1
35142 _ACEOF
35143
35144 fi
35145 done
35146
35147 fi
35148
35149
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35151 $as_echo_n "checking for strtold declaration... " >&6; }
35152 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35153 if ${glibcxx_cv_func_strtold_use+:} false; then :
35154 $as_echo_n "(cached) " >&6
35155 else
35156
35157
35158 ac_ext=cpp
35159 ac_cpp='$CXXCPP $CPPFLAGS'
35160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35163
35164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35165 /* end confdefs.h. */
35166 #include <stdlib.h>
35167 int
35168 main ()
35169 {
35170 strtold(0, 0);
35171 ;
35172 return 0;
35173 }
35174 _ACEOF
35175 if ac_fn_cxx_try_compile "$LINENO"; then :
35176 glibcxx_cv_func_strtold_use=yes
35177 else
35178 glibcxx_cv_func_strtold_use=no
35179 fi
35180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35181 ac_ext=c
35182 ac_cpp='$CPP $CPPFLAGS'
35183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35186
35187
35188 fi
35189
35190 fi
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35192 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35193 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35194 for ac_func in strtold
35195 do :
35196 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35197 if test "x$ac_cv_func_strtold" = xyes; then :
35198 cat >>confdefs.h <<_ACEOF
35199 #define HAVE_STRTOLD 1
35200 _ACEOF
35201
35202 fi
35203 done
35204
35205 fi
35206
35207
35208
35209
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35211 $as_echo_n "checking for strtof declaration... " >&6; }
35212 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35213 if ${glibcxx_cv_func_strtof_use+:} false; then :
35214 $as_echo_n "(cached) " >&6
35215 else
35216
35217
35218 ac_ext=cpp
35219 ac_cpp='$CXXCPP $CPPFLAGS'
35220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35223
35224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35225 /* end confdefs.h. */
35226 #include <stdlib.h>
35227 int
35228 main ()
35229 {
35230 strtof(0, 0);
35231 ;
35232 return 0;
35233 }
35234 _ACEOF
35235 if ac_fn_cxx_try_compile "$LINENO"; then :
35236 glibcxx_cv_func_strtof_use=yes
35237 else
35238 glibcxx_cv_func_strtof_use=no
35239 fi
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 ac_ext=c
35242 ac_cpp='$CPP $CPPFLAGS'
35243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35246
35247
35248 fi
35249
35250 fi
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35252 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35253 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35254 for ac_func in strtof
35255 do :
35256 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35257 if test "x$ac_cv_func_strtof" = xyes; then :
35258 cat >>confdefs.h <<_ACEOF
35259 #define HAVE_STRTOF 1
35260 _ACEOF
35261
35262 fi
35263 done
35264
35265 fi
35266
35267
35268
35269
35270 CXXFLAGS="$ac_save_CXXFLAGS"
35271
35272
35273 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35274
35275 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35276
35277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35278
35279 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35280
35281
35282 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35283
35284 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35285
35286 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35287
35288 ;;
35289
35290 *-aix*)
35291
35292 # If we're not using GNU ld, then there's no point in even trying these
35293 # tests. Check for that first. We should have already tested for gld
35294 # by now (in libtool), but require it now just to be safe...
35295 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35296 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35297
35298
35299
35300 # The name set by libtool depends on the version of libtool. Shame on us
35301 # for depending on an impl detail, but c'est la vie. Older versions used
35302 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35303 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35304 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35305 # set (hence we're using an older libtool), then set it.
35306 if test x${with_gnu_ld+set} != xset; then
35307 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35308 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35309 with_gnu_ld=no
35310 else
35311 with_gnu_ld=$ac_cv_prog_gnu_ld
35312 fi
35313 fi
35314
35315 # Start by getting the version number. I think the libtool test already
35316 # does some of this, but throws away the result.
35317 glibcxx_ld_is_gold=no
35318 glibcxx_ld_is_mold=no
35319 if test x"$with_gnu_ld" = x"yes"; then
35320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35321 $as_echo_n "checking for ld version... " >&6; }
35322
35323 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35324 glibcxx_ld_is_gold=yes
35325 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35326 glibcxx_ld_is_mold=yes
35327 fi
35328 ldver=`$LD --version 2>/dev/null |
35329 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35330
35331 glibcxx_gnu_ld_version=`echo $ldver | \
35332 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35334 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35335 fi
35336
35337 # Set --gc-sections.
35338 glibcxx_have_gc_sections=no
35339 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35340 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35341 glibcxx_have_gc_sections=yes
35342 fi
35343 else
35344 glibcxx_gcsections_min_ld=21602
35345 if test x"$with_gnu_ld" = x"yes" &&
35346 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35347 glibcxx_have_gc_sections=yes
35348 fi
35349 fi
35350 if test "$glibcxx_have_gc_sections" = "yes"; then
35351 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35352 # NB: This flag only works reliably after 2.16.1. Configure tests
35353 # for this are difficult, so hard wire a value that should work.
35354
35355 ac_test_CFLAGS="${CFLAGS+set}"
35356 ac_save_CFLAGS="$CFLAGS"
35357 CFLAGS='-Wl,--gc-sections'
35358
35359 # Check for -Wl,--gc-sections
35360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35361 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35362 if test x$gcc_no_link = xyes; then
35363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35364 fi
35365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366 /* end confdefs.h. */
35367 int one(void) { return 1; }
35368 int two(void) { return 2; }
35369
35370 int
35371 main ()
35372 {
35373 two();
35374 ;
35375 return 0;
35376 }
35377 _ACEOF
35378 if ac_fn_c_try_link "$LINENO"; then :
35379 ac_gcsections=yes
35380 else
35381 ac_gcsections=no
35382 fi
35383 rm -f core conftest.err conftest.$ac_objext \
35384 conftest$ac_exeext conftest.$ac_ext
35385 if test "$ac_gcsections" = "yes"; then
35386 rm -f conftest.c
35387 touch conftest.c
35388 if $CC -c conftest.c; then
35389 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35390 grep "Warning: gc-sections option ignored" > /dev/null; then
35391 ac_gcsections=no
35392 fi
35393 fi
35394 rm -f conftest.c conftest.o conftest
35395 fi
35396 if test "$ac_gcsections" = "yes"; then
35397 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35398 fi
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35400 $as_echo "$ac_gcsections" >&6; }
35401
35402 if test "$ac_test_CFLAGS" = set; then
35403 CFLAGS="$ac_save_CFLAGS"
35404 else
35405 # this is the suspicious part
35406 CFLAGS=''
35407 fi
35408 fi
35409
35410 # Set -z,relro.
35411 # Note this is only for shared objects.
35412 ac_ld_relro=no
35413 if test x"$with_gnu_ld" = x"yes"; then
35414 # cygwin and mingw uses PE, which has no ELF relro support,
35415 # multi target ld may confuse configure machinery
35416 case "$host" in
35417 *-*-cygwin*)
35418 ;;
35419 *-*-mingw*)
35420 ;;
35421 *)
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35423 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35424 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35425 if test -n "$cxx_z_relo"; then
35426 OPT_LDFLAGS="-Wl,-z,relro"
35427 ac_ld_relro=yes
35428 fi
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35430 $as_echo "$ac_ld_relro" >&6; }
35431 esac
35432 fi
35433
35434 # Set linker optimization flags.
35435 if test x"$with_gnu_ld" = x"yes"; then
35436 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35437 fi
35438
35439
35440
35441
35442
35443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35444 ac_save_CXXFLAGS="$CXXFLAGS"
35445 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35446
35447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35448 $as_echo_n "checking for sin in -lm... " >&6; }
35449 if ${ac_cv_lib_m_sin+:} false; then :
35450 $as_echo_n "(cached) " >&6
35451 else
35452 ac_check_lib_save_LIBS=$LIBS
35453 LIBS="-lm $LIBS"
35454 if test x$gcc_no_link = xyes; then
35455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35456 fi
35457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35458 /* end confdefs.h. */
35459
35460 /* Override any GCC internal prototype to avoid an error.
35461 Use char because int might match the return type of a GCC
35462 builtin and then its argument prototype would still apply. */
35463 #ifdef __cplusplus
35464 extern "C"
35465 #endif
35466 char sin ();
35467 int
35468 main ()
35469 {
35470 return sin ();
35471 ;
35472 return 0;
35473 }
35474 _ACEOF
35475 if ac_fn_c_try_link "$LINENO"; then :
35476 ac_cv_lib_m_sin=yes
35477 else
35478 ac_cv_lib_m_sin=no
35479 fi
35480 rm -f core conftest.err conftest.$ac_objext \
35481 conftest$ac_exeext conftest.$ac_ext
35482 LIBS=$ac_check_lib_save_LIBS
35483 fi
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35485 $as_echo "$ac_cv_lib_m_sin" >&6; }
35486 if test "x$ac_cv_lib_m_sin" = xyes; then :
35487 libm="-lm"
35488 fi
35489
35490 ac_save_LIBS="$LIBS"
35491 LIBS="$LIBS $libm"
35492
35493
35494
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35496 $as_echo_n "checking for isinf declaration... " >&6; }
35497 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35498 if ${glibcxx_cv_func_isinf_use+:} false; then :
35499 $as_echo_n "(cached) " >&6
35500 else
35501
35502
35503 ac_ext=cpp
35504 ac_cpp='$CXXCPP $CPPFLAGS'
35505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35508
35509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 /* end confdefs.h. */
35511 #include <math.h>
35512 #ifdef HAVE_IEEEFP_H
35513 #include <ieeefp.h>
35514 #endif
35515
35516 int
35517 main ()
35518 {
35519 isinf(0);
35520 ;
35521 return 0;
35522 }
35523 _ACEOF
35524 if ac_fn_cxx_try_compile "$LINENO"; then :
35525 glibcxx_cv_func_isinf_use=yes
35526 else
35527 glibcxx_cv_func_isinf_use=no
35528 fi
35529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35530 ac_ext=c
35531 ac_cpp='$CPP $CPPFLAGS'
35532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35535
35536
35537 fi
35538
35539 fi
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35541 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35542
35543 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35544 for ac_func in isinf
35545 do :
35546 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35547 if test "x$ac_cv_func_isinf" = xyes; then :
35548 cat >>confdefs.h <<_ACEOF
35549 #define HAVE_ISINF 1
35550 _ACEOF
35551
35552 fi
35553 done
35554
35555 else
35556
35557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35558 $as_echo_n "checking for _isinf declaration... " >&6; }
35559 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35560 if ${glibcxx_cv_func__isinf_use+:} false; then :
35561 $as_echo_n "(cached) " >&6
35562 else
35563
35564
35565 ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35570
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35573 #include <math.h>
35574 #ifdef HAVE_IEEEFP_H
35575 #include <ieeefp.h>
35576 #endif
35577
35578 int
35579 main ()
35580 {
35581 _isinf(0);
35582 ;
35583 return 0;
35584 }
35585 _ACEOF
35586 if ac_fn_cxx_try_compile "$LINENO"; then :
35587 glibcxx_cv_func__isinf_use=yes
35588 else
35589 glibcxx_cv_func__isinf_use=no
35590 fi
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_ext=c
35593 ac_cpp='$CPP $CPPFLAGS'
35594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597
35598
35599 fi
35600
35601 fi
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35603 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35604
35605 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35606 for ac_func in _isinf
35607 do :
35608 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35609 if test "x$ac_cv_func__isinf" = xyes; then :
35610 cat >>confdefs.h <<_ACEOF
35611 #define HAVE__ISINF 1
35612 _ACEOF
35613
35614 fi
35615 done
35616
35617 fi
35618 fi
35619
35620
35621
35622
35623
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35625 $as_echo_n "checking for isnan declaration... " >&6; }
35626 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35627 if ${glibcxx_cv_func_isnan_use+:} false; then :
35628 $as_echo_n "(cached) " >&6
35629 else
35630
35631
35632 ac_ext=cpp
35633 ac_cpp='$CXXCPP $CPPFLAGS'
35634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35637
35638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35639 /* end confdefs.h. */
35640 #include <math.h>
35641 #ifdef HAVE_IEEEFP_H
35642 #include <ieeefp.h>
35643 #endif
35644
35645 int
35646 main ()
35647 {
35648 isnan(0);
35649 ;
35650 return 0;
35651 }
35652 _ACEOF
35653 if ac_fn_cxx_try_compile "$LINENO"; then :
35654 glibcxx_cv_func_isnan_use=yes
35655 else
35656 glibcxx_cv_func_isnan_use=no
35657 fi
35658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35659 ac_ext=c
35660 ac_cpp='$CPP $CPPFLAGS'
35661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35664
35665
35666 fi
35667
35668 fi
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35670 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35671
35672 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35673 for ac_func in isnan
35674 do :
35675 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35676 if test "x$ac_cv_func_isnan" = xyes; then :
35677 cat >>confdefs.h <<_ACEOF
35678 #define HAVE_ISNAN 1
35679 _ACEOF
35680
35681 fi
35682 done
35683
35684 else
35685
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35687 $as_echo_n "checking for _isnan declaration... " >&6; }
35688 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35689 if ${glibcxx_cv_func__isnan_use+:} false; then :
35690 $as_echo_n "(cached) " >&6
35691 else
35692
35693
35694 ac_ext=cpp
35695 ac_cpp='$CXXCPP $CPPFLAGS'
35696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35699
35700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h. */
35702 #include <math.h>
35703 #ifdef HAVE_IEEEFP_H
35704 #include <ieeefp.h>
35705 #endif
35706
35707 int
35708 main ()
35709 {
35710 _isnan(0);
35711 ;
35712 return 0;
35713 }
35714 _ACEOF
35715 if ac_fn_cxx_try_compile "$LINENO"; then :
35716 glibcxx_cv_func__isnan_use=yes
35717 else
35718 glibcxx_cv_func__isnan_use=no
35719 fi
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721 ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726
35727
35728 fi
35729
35730 fi
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35732 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35733
35734 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35735 for ac_func in _isnan
35736 do :
35737 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35738 if test "x$ac_cv_func__isnan" = xyes; then :
35739 cat >>confdefs.h <<_ACEOF
35740 #define HAVE__ISNAN 1
35741 _ACEOF
35742
35743 fi
35744 done
35745
35746 fi
35747 fi
35748
35749
35750
35751
35752
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35754 $as_echo_n "checking for finite declaration... " >&6; }
35755 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35756 if ${glibcxx_cv_func_finite_use+:} false; then :
35757 $as_echo_n "(cached) " >&6
35758 else
35759
35760
35761 ac_ext=cpp
35762 ac_cpp='$CXXCPP $CPPFLAGS'
35763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35766
35767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35768 /* end confdefs.h. */
35769 #include <math.h>
35770 #ifdef HAVE_IEEEFP_H
35771 #include <ieeefp.h>
35772 #endif
35773
35774 int
35775 main ()
35776 {
35777 finite(0);
35778 ;
35779 return 0;
35780 }
35781 _ACEOF
35782 if ac_fn_cxx_try_compile "$LINENO"; then :
35783 glibcxx_cv_func_finite_use=yes
35784 else
35785 glibcxx_cv_func_finite_use=no
35786 fi
35787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35788 ac_ext=c
35789 ac_cpp='$CPP $CPPFLAGS'
35790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35793
35794
35795 fi
35796
35797 fi
35798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35799 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35800
35801 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35802 for ac_func in finite
35803 do :
35804 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35805 if test "x$ac_cv_func_finite" = xyes; then :
35806 cat >>confdefs.h <<_ACEOF
35807 #define HAVE_FINITE 1
35808 _ACEOF
35809
35810 fi
35811 done
35812
35813 else
35814
35815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35816 $as_echo_n "checking for _finite declaration... " >&6; }
35817 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35818 if ${glibcxx_cv_func__finite_use+:} false; then :
35819 $as_echo_n "(cached) " >&6
35820 else
35821
35822
35823 ac_ext=cpp
35824 ac_cpp='$CXXCPP $CPPFLAGS'
35825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35828
35829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35830 /* end confdefs.h. */
35831 #include <math.h>
35832 #ifdef HAVE_IEEEFP_H
35833 #include <ieeefp.h>
35834 #endif
35835
35836 int
35837 main ()
35838 {
35839 _finite(0);
35840 ;
35841 return 0;
35842 }
35843 _ACEOF
35844 if ac_fn_cxx_try_compile "$LINENO"; then :
35845 glibcxx_cv_func__finite_use=yes
35846 else
35847 glibcxx_cv_func__finite_use=no
35848 fi
35849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35850 ac_ext=c
35851 ac_cpp='$CPP $CPPFLAGS'
35852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35855
35856
35857 fi
35858
35859 fi
35860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35861 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35862
35863 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35864 for ac_func in _finite
35865 do :
35866 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35867 if test "x$ac_cv_func__finite" = xyes; then :
35868 cat >>confdefs.h <<_ACEOF
35869 #define HAVE__FINITE 1
35870 _ACEOF
35871
35872 fi
35873 done
35874
35875 fi
35876 fi
35877
35878
35879
35880
35881
35882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35883 $as_echo_n "checking for sincos declaration... " >&6; }
35884 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35885 if ${glibcxx_cv_func_sincos_use+:} false; then :
35886 $as_echo_n "(cached) " >&6
35887 else
35888
35889
35890 ac_ext=cpp
35891 ac_cpp='$CXXCPP $CPPFLAGS'
35892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895
35896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35897 /* end confdefs.h. */
35898 #include <math.h>
35899 int
35900 main ()
35901 {
35902 sincos(0, 0, 0);
35903 ;
35904 return 0;
35905 }
35906 _ACEOF
35907 if ac_fn_cxx_try_compile "$LINENO"; then :
35908 glibcxx_cv_func_sincos_use=yes
35909 else
35910 glibcxx_cv_func_sincos_use=no
35911 fi
35912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35913 ac_ext=c
35914 ac_cpp='$CPP $CPPFLAGS'
35915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35918
35919
35920 fi
35921
35922 fi
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35924 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35925
35926 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35927 for ac_func in sincos
35928 do :
35929 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35930 if test "x$ac_cv_func_sincos" = xyes; then :
35931 cat >>confdefs.h <<_ACEOF
35932 #define HAVE_SINCOS 1
35933 _ACEOF
35934
35935 fi
35936 done
35937
35938 else
35939
35940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35941 $as_echo_n "checking for _sincos declaration... " >&6; }
35942 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35943 if ${glibcxx_cv_func__sincos_use+:} false; then :
35944 $as_echo_n "(cached) " >&6
35945 else
35946
35947
35948 ac_ext=cpp
35949 ac_cpp='$CXXCPP $CPPFLAGS'
35950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35953
35954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35955 /* end confdefs.h. */
35956 #include <math.h>
35957 int
35958 main ()
35959 {
35960 _sincos(0, 0, 0);
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 if ac_fn_cxx_try_compile "$LINENO"; then :
35966 glibcxx_cv_func__sincos_use=yes
35967 else
35968 glibcxx_cv_func__sincos_use=no
35969 fi
35970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35971 ac_ext=c
35972 ac_cpp='$CPP $CPPFLAGS'
35973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35976
35977
35978 fi
35979
35980 fi
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35982 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35983
35984 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35985 for ac_func in _sincos
35986 do :
35987 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35988 if test "x$ac_cv_func__sincos" = xyes; then :
35989 cat >>confdefs.h <<_ACEOF
35990 #define HAVE__SINCOS 1
35991 _ACEOF
35992
35993 fi
35994 done
35995
35996 fi
35997 fi
35998
35999
36000
36001
36002
36003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36004 $as_echo_n "checking for fpclass declaration... " >&6; }
36005 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36006 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36007 $as_echo_n "(cached) " >&6
36008 else
36009
36010
36011 ac_ext=cpp
36012 ac_cpp='$CXXCPP $CPPFLAGS'
36013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36016
36017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36018 /* end confdefs.h. */
36019 #include <math.h>
36020 #ifdef HAVE_IEEEFP_H
36021 #include <ieeefp.h>
36022 #endif
36023
36024 int
36025 main ()
36026 {
36027 fpclass(0);
36028 ;
36029 return 0;
36030 }
36031 _ACEOF
36032 if ac_fn_cxx_try_compile "$LINENO"; then :
36033 glibcxx_cv_func_fpclass_use=yes
36034 else
36035 glibcxx_cv_func_fpclass_use=no
36036 fi
36037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36038 ac_ext=c
36039 ac_cpp='$CPP $CPPFLAGS'
36040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36043
36044
36045 fi
36046
36047 fi
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36049 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36050
36051 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36052 for ac_func in fpclass
36053 do :
36054 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36055 if test "x$ac_cv_func_fpclass" = xyes; then :
36056 cat >>confdefs.h <<_ACEOF
36057 #define HAVE_FPCLASS 1
36058 _ACEOF
36059
36060 fi
36061 done
36062
36063 else
36064
36065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36066 $as_echo_n "checking for _fpclass declaration... " >&6; }
36067 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36068 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36069 $as_echo_n "(cached) " >&6
36070 else
36071
36072
36073 ac_ext=cpp
36074 ac_cpp='$CXXCPP $CPPFLAGS'
36075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36078
36079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36080 /* end confdefs.h. */
36081 #include <math.h>
36082 #ifdef HAVE_IEEEFP_H
36083 #include <ieeefp.h>
36084 #endif
36085
36086 int
36087 main ()
36088 {
36089 _fpclass(0);
36090 ;
36091 return 0;
36092 }
36093 _ACEOF
36094 if ac_fn_cxx_try_compile "$LINENO"; then :
36095 glibcxx_cv_func__fpclass_use=yes
36096 else
36097 glibcxx_cv_func__fpclass_use=no
36098 fi
36099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36100 ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36105
36106
36107 fi
36108
36109 fi
36110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36111 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36112
36113 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36114 for ac_func in _fpclass
36115 do :
36116 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36117 if test "x$ac_cv_func__fpclass" = xyes; then :
36118 cat >>confdefs.h <<_ACEOF
36119 #define HAVE__FPCLASS 1
36120 _ACEOF
36121
36122 fi
36123 done
36124
36125 fi
36126 fi
36127
36128
36129
36130
36131
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36133 $as_echo_n "checking for qfpclass declaration... " >&6; }
36134 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36135 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36136 $as_echo_n "(cached) " >&6
36137 else
36138
36139
36140 ac_ext=cpp
36141 ac_cpp='$CXXCPP $CPPFLAGS'
36142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36145
36146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36147 /* end confdefs.h. */
36148 #include <math.h>
36149 #ifdef HAVE_IEEEFP_H
36150 #include <ieeefp.h>
36151 #endif
36152
36153 int
36154 main ()
36155 {
36156 qfpclass(0);
36157 ;
36158 return 0;
36159 }
36160 _ACEOF
36161 if ac_fn_cxx_try_compile "$LINENO"; then :
36162 glibcxx_cv_func_qfpclass_use=yes
36163 else
36164 glibcxx_cv_func_qfpclass_use=no
36165 fi
36166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36167 ac_ext=c
36168 ac_cpp='$CPP $CPPFLAGS'
36169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36172
36173
36174 fi
36175
36176 fi
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36178 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36179
36180 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36181 for ac_func in qfpclass
36182 do :
36183 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36184 if test "x$ac_cv_func_qfpclass" = xyes; then :
36185 cat >>confdefs.h <<_ACEOF
36186 #define HAVE_QFPCLASS 1
36187 _ACEOF
36188
36189 fi
36190 done
36191
36192 else
36193
36194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36195 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36196 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36197 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36198 $as_echo_n "(cached) " >&6
36199 else
36200
36201
36202 ac_ext=cpp
36203 ac_cpp='$CXXCPP $CPPFLAGS'
36204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36207
36208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36209 /* end confdefs.h. */
36210 #include <math.h>
36211 #ifdef HAVE_IEEEFP_H
36212 #include <ieeefp.h>
36213 #endif
36214
36215 int
36216 main ()
36217 {
36218 _qfpclass(0);
36219 ;
36220 return 0;
36221 }
36222 _ACEOF
36223 if ac_fn_cxx_try_compile "$LINENO"; then :
36224 glibcxx_cv_func__qfpclass_use=yes
36225 else
36226 glibcxx_cv_func__qfpclass_use=no
36227 fi
36228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36229 ac_ext=c
36230 ac_cpp='$CPP $CPPFLAGS'
36231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36234
36235
36236 fi
36237
36238 fi
36239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36240 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36241
36242 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36243 for ac_func in _qfpclass
36244 do :
36245 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36246 if test "x$ac_cv_func__qfpclass" = xyes; then :
36247 cat >>confdefs.h <<_ACEOF
36248 #define HAVE__QFPCLASS 1
36249 _ACEOF
36250
36251 fi
36252 done
36253
36254 fi
36255 fi
36256
36257
36258
36259
36260
36261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36262 $as_echo_n "checking for hypot declaration... " >&6; }
36263 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36264 if ${glibcxx_cv_func_hypot_use+:} false; then :
36265 $as_echo_n "(cached) " >&6
36266 else
36267
36268
36269 ac_ext=cpp
36270 ac_cpp='$CXXCPP $CPPFLAGS'
36271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36274
36275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36276 /* end confdefs.h. */
36277 #include <math.h>
36278 int
36279 main ()
36280 {
36281 hypot(0, 0);
36282 ;
36283 return 0;
36284 }
36285 _ACEOF
36286 if ac_fn_cxx_try_compile "$LINENO"; then :
36287 glibcxx_cv_func_hypot_use=yes
36288 else
36289 glibcxx_cv_func_hypot_use=no
36290 fi
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292 ac_ext=c
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36297
36298
36299 fi
36300
36301 fi
36302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36303 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36304
36305 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36306 for ac_func in hypot
36307 do :
36308 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36309 if test "x$ac_cv_func_hypot" = xyes; then :
36310 cat >>confdefs.h <<_ACEOF
36311 #define HAVE_HYPOT 1
36312 _ACEOF
36313
36314 fi
36315 done
36316
36317 else
36318
36319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36320 $as_echo_n "checking for _hypot declaration... " >&6; }
36321 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36322 if ${glibcxx_cv_func__hypot_use+:} false; then :
36323 $as_echo_n "(cached) " >&6
36324 else
36325
36326
36327 ac_ext=cpp
36328 ac_cpp='$CXXCPP $CPPFLAGS'
36329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36332
36333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36334 /* end confdefs.h. */
36335 #include <math.h>
36336 int
36337 main ()
36338 {
36339 _hypot(0, 0);
36340 ;
36341 return 0;
36342 }
36343 _ACEOF
36344 if ac_fn_cxx_try_compile "$LINENO"; then :
36345 glibcxx_cv_func__hypot_use=yes
36346 else
36347 glibcxx_cv_func__hypot_use=no
36348 fi
36349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36350 ac_ext=c
36351 ac_cpp='$CPP $CPPFLAGS'
36352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36355
36356
36357 fi
36358
36359 fi
36360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36361 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36362
36363 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36364 for ac_func in _hypot
36365 do :
36366 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36367 if test "x$ac_cv_func__hypot" = xyes; then :
36368 cat >>confdefs.h <<_ACEOF
36369 #define HAVE__HYPOT 1
36370 _ACEOF
36371
36372 fi
36373 done
36374
36375 fi
36376 fi
36377
36378
36379
36380
36381
36382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36383 $as_echo_n "checking for float trig functions... " >&6; }
36384 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36385 $as_echo_n "(cached) " >&6
36386 else
36387
36388
36389 ac_ext=cpp
36390 ac_cpp='$CXXCPP $CPPFLAGS'
36391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36394
36395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36396 /* end confdefs.h. */
36397 #include <math.h>
36398 int
36399 main ()
36400 {
36401 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36402 ;
36403 return 0;
36404 }
36405 _ACEOF
36406 if ac_fn_cxx_try_compile "$LINENO"; then :
36407 glibcxx_cv_func_float_trig_use=yes
36408 else
36409 glibcxx_cv_func_float_trig_use=no
36410 fi
36411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36412 ac_ext=c
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36417
36418 fi
36419
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36421 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36422 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36423 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36424 do :
36425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36428 cat >>confdefs.h <<_ACEOF
36429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430 _ACEOF
36431
36432 fi
36433 done
36434
36435 else
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36437 $as_echo_n "checking for _float trig functions... " >&6; }
36438 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36439 $as_echo_n "(cached) " >&6
36440 else
36441
36442
36443 ac_ext=cpp
36444 ac_cpp='$CXXCPP $CPPFLAGS'
36445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36448
36449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36450 /* end confdefs.h. */
36451 #include <math.h>
36452 int
36453 main ()
36454 {
36455 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36456 ;
36457 return 0;
36458 }
36459 _ACEOF
36460 if ac_fn_cxx_try_compile "$LINENO"; then :
36461 glibcxx_cv_func__float_trig_use=yes
36462 else
36463 glibcxx_cv_func__float_trig_use=no
36464 fi
36465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36466 ac_ext=c
36467 ac_cpp='$CPP $CPPFLAGS'
36468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36471
36472 fi
36473
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36475 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36476 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36477 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36478 do :
36479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36482 cat >>confdefs.h <<_ACEOF
36483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36484 _ACEOF
36485
36486 fi
36487 done
36488
36489 fi
36490 fi
36491
36492
36493
36494
36495
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36497 $as_echo_n "checking for float round functions... " >&6; }
36498 if ${glibcxx_cv_func_float_round_use+:} false; then :
36499 $as_echo_n "(cached) " >&6
36500 else
36501
36502
36503 ac_ext=cpp
36504 ac_cpp='$CXXCPP $CPPFLAGS'
36505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36508
36509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36510 /* end confdefs.h. */
36511 #include <math.h>
36512 int
36513 main ()
36514 {
36515 ceilf (0); floorf (0);
36516 ;
36517 return 0;
36518 }
36519 _ACEOF
36520 if ac_fn_cxx_try_compile "$LINENO"; then :
36521 glibcxx_cv_func_float_round_use=yes
36522 else
36523 glibcxx_cv_func_float_round_use=no
36524 fi
36525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36526 ac_ext=c
36527 ac_cpp='$CPP $CPPFLAGS'
36528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36531
36532 fi
36533
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36535 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36536 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36537 for ac_func in ceilf floorf
36538 do :
36539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36542 cat >>confdefs.h <<_ACEOF
36543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36544 _ACEOF
36545
36546 fi
36547 done
36548
36549 else
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36551 $as_echo_n "checking for _float round functions... " >&6; }
36552 if ${glibcxx_cv_func__float_round_use+:} false; then :
36553 $as_echo_n "(cached) " >&6
36554 else
36555
36556
36557 ac_ext=cpp
36558 ac_cpp='$CXXCPP $CPPFLAGS'
36559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36562
36563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36564 /* end confdefs.h. */
36565 #include <math.h>
36566 int
36567 main ()
36568 {
36569 _ceilf (0); _floorf (0);
36570 ;
36571 return 0;
36572 }
36573 _ACEOF
36574 if ac_fn_cxx_try_compile "$LINENO"; then :
36575 glibcxx_cv_func__float_round_use=yes
36576 else
36577 glibcxx_cv_func__float_round_use=no
36578 fi
36579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36580 ac_ext=c
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585
36586 fi
36587
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36589 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36590 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36591 for ac_func in _ceilf _floorf
36592 do :
36593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36595 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36596 cat >>confdefs.h <<_ACEOF
36597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36598 _ACEOF
36599
36600 fi
36601 done
36602
36603 fi
36604 fi
36605
36606
36607
36608
36609
36610
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36612 $as_echo_n "checking for expf declaration... " >&6; }
36613 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36614 if ${glibcxx_cv_func_expf_use+:} false; then :
36615 $as_echo_n "(cached) " >&6
36616 else
36617
36618
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36624
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36627 #include <math.h>
36628 #ifdef HAVE_IEEEFP_H
36629 #include <ieeefp.h>
36630 #endif
36631
36632 int
36633 main ()
36634 {
36635 expf(0);
36636 ;
36637 return 0;
36638 }
36639 _ACEOF
36640 if ac_fn_cxx_try_compile "$LINENO"; then :
36641 glibcxx_cv_func_expf_use=yes
36642 else
36643 glibcxx_cv_func_expf_use=no
36644 fi
36645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36646 ac_ext=c
36647 ac_cpp='$CPP $CPPFLAGS'
36648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36651
36652
36653 fi
36654
36655 fi
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36657 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36658
36659 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36660 for ac_func in expf
36661 do :
36662 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36663 if test "x$ac_cv_func_expf" = xyes; then :
36664 cat >>confdefs.h <<_ACEOF
36665 #define HAVE_EXPF 1
36666 _ACEOF
36667
36668 fi
36669 done
36670
36671 else
36672
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36674 $as_echo_n "checking for _expf declaration... " >&6; }
36675 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36676 if ${glibcxx_cv_func__expf_use+:} false; then :
36677 $as_echo_n "(cached) " >&6
36678 else
36679
36680
36681 ac_ext=cpp
36682 ac_cpp='$CXXCPP $CPPFLAGS'
36683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36686
36687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688 /* end confdefs.h. */
36689 #include <math.h>
36690 #ifdef HAVE_IEEEFP_H
36691 #include <ieeefp.h>
36692 #endif
36693
36694 int
36695 main ()
36696 {
36697 _expf(0);
36698 ;
36699 return 0;
36700 }
36701 _ACEOF
36702 if ac_fn_cxx_try_compile "$LINENO"; then :
36703 glibcxx_cv_func__expf_use=yes
36704 else
36705 glibcxx_cv_func__expf_use=no
36706 fi
36707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36708 ac_ext=c
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36713
36714
36715 fi
36716
36717 fi
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36719 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36720
36721 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36722 for ac_func in _expf
36723 do :
36724 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36725 if test "x$ac_cv_func__expf" = xyes; then :
36726 cat >>confdefs.h <<_ACEOF
36727 #define HAVE__EXPF 1
36728 _ACEOF
36729
36730 fi
36731 done
36732
36733 fi
36734 fi
36735
36736
36737
36738
36739
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36741 $as_echo_n "checking for isnanf declaration... " >&6; }
36742 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36743 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36744 $as_echo_n "(cached) " >&6
36745 else
36746
36747
36748 ac_ext=cpp
36749 ac_cpp='$CXXCPP $CPPFLAGS'
36750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36753
36754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36755 /* end confdefs.h. */
36756 #include <math.h>
36757 #ifdef HAVE_IEEEFP_H
36758 #include <ieeefp.h>
36759 #endif
36760
36761 int
36762 main ()
36763 {
36764 isnanf(0);
36765 ;
36766 return 0;
36767 }
36768 _ACEOF
36769 if ac_fn_cxx_try_compile "$LINENO"; then :
36770 glibcxx_cv_func_isnanf_use=yes
36771 else
36772 glibcxx_cv_func_isnanf_use=no
36773 fi
36774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36775 ac_ext=c
36776 ac_cpp='$CPP $CPPFLAGS'
36777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36780
36781
36782 fi
36783
36784 fi
36785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36786 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36787
36788 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36789 for ac_func in isnanf
36790 do :
36791 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36792 if test "x$ac_cv_func_isnanf" = xyes; then :
36793 cat >>confdefs.h <<_ACEOF
36794 #define HAVE_ISNANF 1
36795 _ACEOF
36796
36797 fi
36798 done
36799
36800 else
36801
36802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36803 $as_echo_n "checking for _isnanf declaration... " >&6; }
36804 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36805 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36806 $as_echo_n "(cached) " >&6
36807 else
36808
36809
36810 ac_ext=cpp
36811 ac_cpp='$CXXCPP $CPPFLAGS'
36812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36815
36816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36817 /* end confdefs.h. */
36818 #include <math.h>
36819 #ifdef HAVE_IEEEFP_H
36820 #include <ieeefp.h>
36821 #endif
36822
36823 int
36824 main ()
36825 {
36826 _isnanf(0);
36827 ;
36828 return 0;
36829 }
36830 _ACEOF
36831 if ac_fn_cxx_try_compile "$LINENO"; then :
36832 glibcxx_cv_func__isnanf_use=yes
36833 else
36834 glibcxx_cv_func__isnanf_use=no
36835 fi
36836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36837 ac_ext=c
36838 ac_cpp='$CPP $CPPFLAGS'
36839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36842
36843
36844 fi
36845
36846 fi
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36848 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36849
36850 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36851 for ac_func in _isnanf
36852 do :
36853 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36854 if test "x$ac_cv_func__isnanf" = xyes; then :
36855 cat >>confdefs.h <<_ACEOF
36856 #define HAVE__ISNANF 1
36857 _ACEOF
36858
36859 fi
36860 done
36861
36862 fi
36863 fi
36864
36865
36866
36867
36868
36869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36870 $as_echo_n "checking for isinff declaration... " >&6; }
36871 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36872 if ${glibcxx_cv_func_isinff_use+:} false; then :
36873 $as_echo_n "(cached) " >&6
36874 else
36875
36876
36877 ac_ext=cpp
36878 ac_cpp='$CXXCPP $CPPFLAGS'
36879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36882
36883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36884 /* end confdefs.h. */
36885 #include <math.h>
36886 #ifdef HAVE_IEEEFP_H
36887 #include <ieeefp.h>
36888 #endif
36889
36890 int
36891 main ()
36892 {
36893 isinff(0);
36894 ;
36895 return 0;
36896 }
36897 _ACEOF
36898 if ac_fn_cxx_try_compile "$LINENO"; then :
36899 glibcxx_cv_func_isinff_use=yes
36900 else
36901 glibcxx_cv_func_isinff_use=no
36902 fi
36903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36904 ac_ext=c
36905 ac_cpp='$CPP $CPPFLAGS'
36906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36909
36910
36911 fi
36912
36913 fi
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36915 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36916
36917 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36918 for ac_func in isinff
36919 do :
36920 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36921 if test "x$ac_cv_func_isinff" = xyes; then :
36922 cat >>confdefs.h <<_ACEOF
36923 #define HAVE_ISINFF 1
36924 _ACEOF
36925
36926 fi
36927 done
36928
36929 else
36930
36931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36932 $as_echo_n "checking for _isinff declaration... " >&6; }
36933 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36934 if ${glibcxx_cv_func__isinff_use+:} false; then :
36935 $as_echo_n "(cached) " >&6
36936 else
36937
36938
36939 ac_ext=cpp
36940 ac_cpp='$CXXCPP $CPPFLAGS'
36941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36944
36945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36946 /* end confdefs.h. */
36947 #include <math.h>
36948 #ifdef HAVE_IEEEFP_H
36949 #include <ieeefp.h>
36950 #endif
36951
36952 int
36953 main ()
36954 {
36955 _isinff(0);
36956 ;
36957 return 0;
36958 }
36959 _ACEOF
36960 if ac_fn_cxx_try_compile "$LINENO"; then :
36961 glibcxx_cv_func__isinff_use=yes
36962 else
36963 glibcxx_cv_func__isinff_use=no
36964 fi
36965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36966 ac_ext=c
36967 ac_cpp='$CPP $CPPFLAGS'
36968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36971
36972
36973 fi
36974
36975 fi
36976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36977 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36978
36979 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36980 for ac_func in _isinff
36981 do :
36982 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36983 if test "x$ac_cv_func__isinff" = xyes; then :
36984 cat >>confdefs.h <<_ACEOF
36985 #define HAVE__ISINFF 1
36986 _ACEOF
36987
36988 fi
36989 done
36990
36991 fi
36992 fi
36993
36994
36995
36996
36997
36998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36999 $as_echo_n "checking for atan2f declaration... " >&6; }
37000 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37001 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37002 $as_echo_n "(cached) " >&6
37003 else
37004
37005
37006 ac_ext=cpp
37007 ac_cpp='$CXXCPP $CPPFLAGS'
37008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37011
37012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37013 /* end confdefs.h. */
37014 #include <math.h>
37015 int
37016 main ()
37017 {
37018 atan2f(0, 0);
37019 ;
37020 return 0;
37021 }
37022 _ACEOF
37023 if ac_fn_cxx_try_compile "$LINENO"; then :
37024 glibcxx_cv_func_atan2f_use=yes
37025 else
37026 glibcxx_cv_func_atan2f_use=no
37027 fi
37028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37029 ac_ext=c
37030 ac_cpp='$CPP $CPPFLAGS'
37031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37034
37035
37036 fi
37037
37038 fi
37039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37040 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37041
37042 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37043 for ac_func in atan2f
37044 do :
37045 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37046 if test "x$ac_cv_func_atan2f" = xyes; then :
37047 cat >>confdefs.h <<_ACEOF
37048 #define HAVE_ATAN2F 1
37049 _ACEOF
37050
37051 fi
37052 done
37053
37054 else
37055
37056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37057 $as_echo_n "checking for _atan2f declaration... " >&6; }
37058 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37059 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37060 $as_echo_n "(cached) " >&6
37061 else
37062
37063
37064 ac_ext=cpp
37065 ac_cpp='$CXXCPP $CPPFLAGS'
37066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37069
37070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37071 /* end confdefs.h. */
37072 #include <math.h>
37073 int
37074 main ()
37075 {
37076 _atan2f(0, 0);
37077 ;
37078 return 0;
37079 }
37080 _ACEOF
37081 if ac_fn_cxx_try_compile "$LINENO"; then :
37082 glibcxx_cv_func__atan2f_use=yes
37083 else
37084 glibcxx_cv_func__atan2f_use=no
37085 fi
37086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37087 ac_ext=c
37088 ac_cpp='$CPP $CPPFLAGS'
37089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37092
37093
37094 fi
37095
37096 fi
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37098 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37099
37100 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37101 for ac_func in _atan2f
37102 do :
37103 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37104 if test "x$ac_cv_func__atan2f" = xyes; then :
37105 cat >>confdefs.h <<_ACEOF
37106 #define HAVE__ATAN2F 1
37107 _ACEOF
37108
37109 fi
37110 done
37111
37112 fi
37113 fi
37114
37115
37116
37117
37118
37119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37120 $as_echo_n "checking for fabsf declaration... " >&6; }
37121 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37122 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37123 $as_echo_n "(cached) " >&6
37124 else
37125
37126
37127 ac_ext=cpp
37128 ac_cpp='$CXXCPP $CPPFLAGS'
37129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37132
37133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37134 /* end confdefs.h. */
37135 #include <math.h>
37136 #ifdef HAVE_IEEEFP_H
37137 #include <ieeefp.h>
37138 #endif
37139
37140 int
37141 main ()
37142 {
37143 fabsf(0);
37144 ;
37145 return 0;
37146 }
37147 _ACEOF
37148 if ac_fn_cxx_try_compile "$LINENO"; then :
37149 glibcxx_cv_func_fabsf_use=yes
37150 else
37151 glibcxx_cv_func_fabsf_use=no
37152 fi
37153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37154 ac_ext=c
37155 ac_cpp='$CPP $CPPFLAGS'
37156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37159
37160
37161 fi
37162
37163 fi
37164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37165 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37166
37167 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37168 for ac_func in fabsf
37169 do :
37170 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37171 if test "x$ac_cv_func_fabsf" = xyes; then :
37172 cat >>confdefs.h <<_ACEOF
37173 #define HAVE_FABSF 1
37174 _ACEOF
37175
37176 fi
37177 done
37178
37179 else
37180
37181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37182 $as_echo_n "checking for _fabsf declaration... " >&6; }
37183 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37184 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37185 $as_echo_n "(cached) " >&6
37186 else
37187
37188
37189 ac_ext=cpp
37190 ac_cpp='$CXXCPP $CPPFLAGS'
37191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37194
37195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37196 /* end confdefs.h. */
37197 #include <math.h>
37198 #ifdef HAVE_IEEEFP_H
37199 #include <ieeefp.h>
37200 #endif
37201
37202 int
37203 main ()
37204 {
37205 _fabsf(0);
37206 ;
37207 return 0;
37208 }
37209 _ACEOF
37210 if ac_fn_cxx_try_compile "$LINENO"; then :
37211 glibcxx_cv_func__fabsf_use=yes
37212 else
37213 glibcxx_cv_func__fabsf_use=no
37214 fi
37215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37216 ac_ext=c
37217 ac_cpp='$CPP $CPPFLAGS'
37218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37221
37222
37223 fi
37224
37225 fi
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37227 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37228
37229 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37230 for ac_func in _fabsf
37231 do :
37232 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37233 if test "x$ac_cv_func__fabsf" = xyes; then :
37234 cat >>confdefs.h <<_ACEOF
37235 #define HAVE__FABSF 1
37236 _ACEOF
37237
37238 fi
37239 done
37240
37241 fi
37242 fi
37243
37244
37245
37246
37247
37248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37249 $as_echo_n "checking for fmodf declaration... " >&6; }
37250 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37251 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37252 $as_echo_n "(cached) " >&6
37253 else
37254
37255
37256 ac_ext=cpp
37257 ac_cpp='$CXXCPP $CPPFLAGS'
37258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37261
37262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37263 /* end confdefs.h. */
37264 #include <math.h>
37265 int
37266 main ()
37267 {
37268 fmodf(0, 0);
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 if ac_fn_cxx_try_compile "$LINENO"; then :
37274 glibcxx_cv_func_fmodf_use=yes
37275 else
37276 glibcxx_cv_func_fmodf_use=no
37277 fi
37278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37279 ac_ext=c
37280 ac_cpp='$CPP $CPPFLAGS'
37281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37284
37285
37286 fi
37287
37288 fi
37289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37290 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37291
37292 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37293 for ac_func in fmodf
37294 do :
37295 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37296 if test "x$ac_cv_func_fmodf" = xyes; then :
37297 cat >>confdefs.h <<_ACEOF
37298 #define HAVE_FMODF 1
37299 _ACEOF
37300
37301 fi
37302 done
37303
37304 else
37305
37306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37307 $as_echo_n "checking for _fmodf declaration... " >&6; }
37308 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37309 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37310 $as_echo_n "(cached) " >&6
37311 else
37312
37313
37314 ac_ext=cpp
37315 ac_cpp='$CXXCPP $CPPFLAGS'
37316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37319
37320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37321 /* end confdefs.h. */
37322 #include <math.h>
37323 int
37324 main ()
37325 {
37326 _fmodf(0, 0);
37327 ;
37328 return 0;
37329 }
37330 _ACEOF
37331 if ac_fn_cxx_try_compile "$LINENO"; then :
37332 glibcxx_cv_func__fmodf_use=yes
37333 else
37334 glibcxx_cv_func__fmodf_use=no
37335 fi
37336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37337 ac_ext=c
37338 ac_cpp='$CPP $CPPFLAGS'
37339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37342
37343
37344 fi
37345
37346 fi
37347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37348 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37349
37350 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37351 for ac_func in _fmodf
37352 do :
37353 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37354 if test "x$ac_cv_func__fmodf" = xyes; then :
37355 cat >>confdefs.h <<_ACEOF
37356 #define HAVE__FMODF 1
37357 _ACEOF
37358
37359 fi
37360 done
37361
37362 fi
37363 fi
37364
37365
37366
37367
37368
37369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37370 $as_echo_n "checking for frexpf declaration... " >&6; }
37371 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37372 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37373 $as_echo_n "(cached) " >&6
37374 else
37375
37376
37377 ac_ext=cpp
37378 ac_cpp='$CXXCPP $CPPFLAGS'
37379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37382
37383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37384 /* end confdefs.h. */
37385 #include <math.h>
37386 int
37387 main ()
37388 {
37389 frexpf(0, 0);
37390 ;
37391 return 0;
37392 }
37393 _ACEOF
37394 if ac_fn_cxx_try_compile "$LINENO"; then :
37395 glibcxx_cv_func_frexpf_use=yes
37396 else
37397 glibcxx_cv_func_frexpf_use=no
37398 fi
37399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37400 ac_ext=c
37401 ac_cpp='$CPP $CPPFLAGS'
37402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37405
37406
37407 fi
37408
37409 fi
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37411 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37412
37413 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37414 for ac_func in frexpf
37415 do :
37416 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37417 if test "x$ac_cv_func_frexpf" = xyes; then :
37418 cat >>confdefs.h <<_ACEOF
37419 #define HAVE_FREXPF 1
37420 _ACEOF
37421
37422 fi
37423 done
37424
37425 else
37426
37427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37428 $as_echo_n "checking for _frexpf declaration... " >&6; }
37429 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37430 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37431 $as_echo_n "(cached) " >&6
37432 else
37433
37434
37435 ac_ext=cpp
37436 ac_cpp='$CXXCPP $CPPFLAGS'
37437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37440
37441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37442 /* end confdefs.h. */
37443 #include <math.h>
37444 int
37445 main ()
37446 {
37447 _frexpf(0, 0);
37448 ;
37449 return 0;
37450 }
37451 _ACEOF
37452 if ac_fn_cxx_try_compile "$LINENO"; then :
37453 glibcxx_cv_func__frexpf_use=yes
37454 else
37455 glibcxx_cv_func__frexpf_use=no
37456 fi
37457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37458 ac_ext=c
37459 ac_cpp='$CPP $CPPFLAGS'
37460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37463
37464
37465 fi
37466
37467 fi
37468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37469 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37470
37471 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37472 for ac_func in _frexpf
37473 do :
37474 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37475 if test "x$ac_cv_func__frexpf" = xyes; then :
37476 cat >>confdefs.h <<_ACEOF
37477 #define HAVE__FREXPF 1
37478 _ACEOF
37479
37480 fi
37481 done
37482
37483 fi
37484 fi
37485
37486
37487
37488
37489
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37491 $as_echo_n "checking for hypotf declaration... " >&6; }
37492 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37493 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37494 $as_echo_n "(cached) " >&6
37495 else
37496
37497
37498 ac_ext=cpp
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37503
37504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37505 /* end confdefs.h. */
37506 #include <math.h>
37507 int
37508 main ()
37509 {
37510 hypotf(0, 0);
37511 ;
37512 return 0;
37513 }
37514 _ACEOF
37515 if ac_fn_cxx_try_compile "$LINENO"; then :
37516 glibcxx_cv_func_hypotf_use=yes
37517 else
37518 glibcxx_cv_func_hypotf_use=no
37519 fi
37520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37521 ac_ext=c
37522 ac_cpp='$CPP $CPPFLAGS'
37523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37526
37527
37528 fi
37529
37530 fi
37531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37532 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37533
37534 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37535 for ac_func in hypotf
37536 do :
37537 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37538 if test "x$ac_cv_func_hypotf" = xyes; then :
37539 cat >>confdefs.h <<_ACEOF
37540 #define HAVE_HYPOTF 1
37541 _ACEOF
37542
37543 fi
37544 done
37545
37546 else
37547
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37549 $as_echo_n "checking for _hypotf declaration... " >&6; }
37550 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37551 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37552 $as_echo_n "(cached) " >&6
37553 else
37554
37555
37556 ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37564 #include <math.h>
37565 int
37566 main ()
37567 {
37568 _hypotf(0, 0);
37569 ;
37570 return 0;
37571 }
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func__hypotf_use=yes
37575 else
37576 glibcxx_cv_func__hypotf_use=no
37577 fi
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579 ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584
37585
37586 fi
37587
37588 fi
37589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37590 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37591
37592 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37593 for ac_func in _hypotf
37594 do :
37595 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37596 if test "x$ac_cv_func__hypotf" = xyes; then :
37597 cat >>confdefs.h <<_ACEOF
37598 #define HAVE__HYPOTF 1
37599 _ACEOF
37600
37601 fi
37602 done
37603
37604 fi
37605 fi
37606
37607
37608
37609
37610
37611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37612 $as_echo_n "checking for ldexpf declaration... " >&6; }
37613 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37614 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37615 $as_echo_n "(cached) " >&6
37616 else
37617
37618
37619 ac_ext=cpp
37620 ac_cpp='$CXXCPP $CPPFLAGS'
37621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37624
37625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37626 /* end confdefs.h. */
37627 #include <math.h>
37628 int
37629 main ()
37630 {
37631 ldexpf(0, 0);
37632 ;
37633 return 0;
37634 }
37635 _ACEOF
37636 if ac_fn_cxx_try_compile "$LINENO"; then :
37637 glibcxx_cv_func_ldexpf_use=yes
37638 else
37639 glibcxx_cv_func_ldexpf_use=no
37640 fi
37641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37642 ac_ext=c
37643 ac_cpp='$CPP $CPPFLAGS'
37644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37647
37648
37649 fi
37650
37651 fi
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37653 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37654
37655 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37656 for ac_func in ldexpf
37657 do :
37658 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37659 if test "x$ac_cv_func_ldexpf" = xyes; then :
37660 cat >>confdefs.h <<_ACEOF
37661 #define HAVE_LDEXPF 1
37662 _ACEOF
37663
37664 fi
37665 done
37666
37667 else
37668
37669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37670 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37671 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37672 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37673 $as_echo_n "(cached) " >&6
37674 else
37675
37676
37677 ac_ext=cpp
37678 ac_cpp='$CXXCPP $CPPFLAGS'
37679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37682
37683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37684 /* end confdefs.h. */
37685 #include <math.h>
37686 int
37687 main ()
37688 {
37689 _ldexpf(0, 0);
37690 ;
37691 return 0;
37692 }
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695 glibcxx_cv_func__ldexpf_use=yes
37696 else
37697 glibcxx_cv_func__ldexpf_use=no
37698 fi
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37705
37706
37707 fi
37708
37709 fi
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37711 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37712
37713 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37714 for ac_func in _ldexpf
37715 do :
37716 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37717 if test "x$ac_cv_func__ldexpf" = xyes; then :
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE__LDEXPF 1
37720 _ACEOF
37721
37722 fi
37723 done
37724
37725 fi
37726 fi
37727
37728
37729
37730
37731
37732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37733 $as_echo_n "checking for logf declaration... " >&6; }
37734 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37735 if ${glibcxx_cv_func_logf_use+:} false; then :
37736 $as_echo_n "(cached) " >&6
37737 else
37738
37739
37740 ac_ext=cpp
37741 ac_cpp='$CXXCPP $CPPFLAGS'
37742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37745
37746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37747 /* end confdefs.h. */
37748 #include <math.h>
37749 #ifdef HAVE_IEEEFP_H
37750 #include <ieeefp.h>
37751 #endif
37752
37753 int
37754 main ()
37755 {
37756 logf(0);
37757 ;
37758 return 0;
37759 }
37760 _ACEOF
37761 if ac_fn_cxx_try_compile "$LINENO"; then :
37762 glibcxx_cv_func_logf_use=yes
37763 else
37764 glibcxx_cv_func_logf_use=no
37765 fi
37766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37767 ac_ext=c
37768 ac_cpp='$CPP $CPPFLAGS'
37769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37772
37773
37774 fi
37775
37776 fi
37777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37778 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37779
37780 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37781 for ac_func in logf
37782 do :
37783 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37784 if test "x$ac_cv_func_logf" = xyes; then :
37785 cat >>confdefs.h <<_ACEOF
37786 #define HAVE_LOGF 1
37787 _ACEOF
37788
37789 fi
37790 done
37791
37792 else
37793
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37795 $as_echo_n "checking for _logf declaration... " >&6; }
37796 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37797 if ${glibcxx_cv_func__logf_use+:} false; then :
37798 $as_echo_n "(cached) " >&6
37799 else
37800
37801
37802 ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37807
37808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h. */
37810 #include <math.h>
37811 #ifdef HAVE_IEEEFP_H
37812 #include <ieeefp.h>
37813 #endif
37814
37815 int
37816 main ()
37817 {
37818 _logf(0);
37819 ;
37820 return 0;
37821 }
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824 glibcxx_cv_func__logf_use=yes
37825 else
37826 glibcxx_cv_func__logf_use=no
37827 fi
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829 ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834
37835
37836 fi
37837
37838 fi
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37840 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37841
37842 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37843 for ac_func in _logf
37844 do :
37845 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37846 if test "x$ac_cv_func__logf" = xyes; then :
37847 cat >>confdefs.h <<_ACEOF
37848 #define HAVE__LOGF 1
37849 _ACEOF
37850
37851 fi
37852 done
37853
37854 fi
37855 fi
37856
37857
37858
37859
37860
37861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37862 $as_echo_n "checking for log10f declaration... " >&6; }
37863 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37864 if ${glibcxx_cv_func_log10f_use+:} false; then :
37865 $as_echo_n "(cached) " >&6
37866 else
37867
37868
37869 ac_ext=cpp
37870 ac_cpp='$CXXCPP $CPPFLAGS'
37871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37874
37875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37876 /* end confdefs.h. */
37877 #include <math.h>
37878 #ifdef HAVE_IEEEFP_H
37879 #include <ieeefp.h>
37880 #endif
37881
37882 int
37883 main ()
37884 {
37885 log10f(0);
37886 ;
37887 return 0;
37888 }
37889 _ACEOF
37890 if ac_fn_cxx_try_compile "$LINENO"; then :
37891 glibcxx_cv_func_log10f_use=yes
37892 else
37893 glibcxx_cv_func_log10f_use=no
37894 fi
37895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37896 ac_ext=c
37897 ac_cpp='$CPP $CPPFLAGS'
37898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37901
37902
37903 fi
37904
37905 fi
37906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37907 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37908
37909 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37910 for ac_func in log10f
37911 do :
37912 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37913 if test "x$ac_cv_func_log10f" = xyes; then :
37914 cat >>confdefs.h <<_ACEOF
37915 #define HAVE_LOG10F 1
37916 _ACEOF
37917
37918 fi
37919 done
37920
37921 else
37922
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37924 $as_echo_n "checking for _log10f declaration... " >&6; }
37925 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37926 if ${glibcxx_cv_func__log10f_use+:} false; then :
37927 $as_echo_n "(cached) " >&6
37928 else
37929
37930
37931 ac_ext=cpp
37932 ac_cpp='$CXXCPP $CPPFLAGS'
37933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37936
37937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938 /* end confdefs.h. */
37939 #include <math.h>
37940 #ifdef HAVE_IEEEFP_H
37941 #include <ieeefp.h>
37942 #endif
37943
37944 int
37945 main ()
37946 {
37947 _log10f(0);
37948 ;
37949 return 0;
37950 }
37951 _ACEOF
37952 if ac_fn_cxx_try_compile "$LINENO"; then :
37953 glibcxx_cv_func__log10f_use=yes
37954 else
37955 glibcxx_cv_func__log10f_use=no
37956 fi
37957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37958 ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37963
37964
37965 fi
37966
37967 fi
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37969 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37970
37971 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37972 for ac_func in _log10f
37973 do :
37974 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37975 if test "x$ac_cv_func__log10f" = xyes; then :
37976 cat >>confdefs.h <<_ACEOF
37977 #define HAVE__LOG10F 1
37978 _ACEOF
37979
37980 fi
37981 done
37982
37983 fi
37984 fi
37985
37986
37987
37988
37989
37990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37991 $as_echo_n "checking for modff declaration... " >&6; }
37992 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37993 if ${glibcxx_cv_func_modff_use+:} false; then :
37994 $as_echo_n "(cached) " >&6
37995 else
37996
37997
37998 ac_ext=cpp
37999 ac_cpp='$CXXCPP $CPPFLAGS'
38000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38003
38004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38005 /* end confdefs.h. */
38006 #include <math.h>
38007 int
38008 main ()
38009 {
38010 modff(0, 0);
38011 ;
38012 return 0;
38013 }
38014 _ACEOF
38015 if ac_fn_cxx_try_compile "$LINENO"; then :
38016 glibcxx_cv_func_modff_use=yes
38017 else
38018 glibcxx_cv_func_modff_use=no
38019 fi
38020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38021 ac_ext=c
38022 ac_cpp='$CPP $CPPFLAGS'
38023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38026
38027
38028 fi
38029
38030 fi
38031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38032 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38033
38034 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38035 for ac_func in modff
38036 do :
38037 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38038 if test "x$ac_cv_func_modff" = xyes; then :
38039 cat >>confdefs.h <<_ACEOF
38040 #define HAVE_MODFF 1
38041 _ACEOF
38042
38043 fi
38044 done
38045
38046 else
38047
38048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38049 $as_echo_n "checking for _modff declaration... " >&6; }
38050 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38051 if ${glibcxx_cv_func__modff_use+:} false; then :
38052 $as_echo_n "(cached) " >&6
38053 else
38054
38055
38056 ac_ext=cpp
38057 ac_cpp='$CXXCPP $CPPFLAGS'
38058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38061
38062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38063 /* end confdefs.h. */
38064 #include <math.h>
38065 int
38066 main ()
38067 {
38068 _modff(0, 0);
38069 ;
38070 return 0;
38071 }
38072 _ACEOF
38073 if ac_fn_cxx_try_compile "$LINENO"; then :
38074 glibcxx_cv_func__modff_use=yes
38075 else
38076 glibcxx_cv_func__modff_use=no
38077 fi
38078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38079 ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084
38085
38086 fi
38087
38088 fi
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38090 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38091
38092 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38093 for ac_func in _modff
38094 do :
38095 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38096 if test "x$ac_cv_func__modff" = xyes; then :
38097 cat >>confdefs.h <<_ACEOF
38098 #define HAVE__MODFF 1
38099 _ACEOF
38100
38101 fi
38102 done
38103
38104 fi
38105 fi
38106
38107
38108
38109
38110
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38112 $as_echo_n "checking for modf declaration... " >&6; }
38113 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38114 if ${glibcxx_cv_func_modf_use+:} false; then :
38115 $as_echo_n "(cached) " >&6
38116 else
38117
38118
38119 ac_ext=cpp
38120 ac_cpp='$CXXCPP $CPPFLAGS'
38121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38124
38125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38126 /* end confdefs.h. */
38127 #include <math.h>
38128 int
38129 main ()
38130 {
38131 modf(0, 0);
38132 ;
38133 return 0;
38134 }
38135 _ACEOF
38136 if ac_fn_cxx_try_compile "$LINENO"; then :
38137 glibcxx_cv_func_modf_use=yes
38138 else
38139 glibcxx_cv_func_modf_use=no
38140 fi
38141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38142 ac_ext=c
38143 ac_cpp='$CPP $CPPFLAGS'
38144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38147
38148
38149 fi
38150
38151 fi
38152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38153 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38154
38155 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38156 for ac_func in modf
38157 do :
38158 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38159 if test "x$ac_cv_func_modf" = xyes; then :
38160 cat >>confdefs.h <<_ACEOF
38161 #define HAVE_MODF 1
38162 _ACEOF
38163
38164 fi
38165 done
38166
38167 else
38168
38169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38170 $as_echo_n "checking for _modf declaration... " >&6; }
38171 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38172 if ${glibcxx_cv_func__modf_use+:} false; then :
38173 $as_echo_n "(cached) " >&6
38174 else
38175
38176
38177 ac_ext=cpp
38178 ac_cpp='$CXXCPP $CPPFLAGS'
38179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38182
38183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38184 /* end confdefs.h. */
38185 #include <math.h>
38186 int
38187 main ()
38188 {
38189 _modf(0, 0);
38190 ;
38191 return 0;
38192 }
38193 _ACEOF
38194 if ac_fn_cxx_try_compile "$LINENO"; then :
38195 glibcxx_cv_func__modf_use=yes
38196 else
38197 glibcxx_cv_func__modf_use=no
38198 fi
38199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38200 ac_ext=c
38201 ac_cpp='$CPP $CPPFLAGS'
38202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38205
38206
38207 fi
38208
38209 fi
38210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38211 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38212
38213 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38214 for ac_func in _modf
38215 do :
38216 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38217 if test "x$ac_cv_func__modf" = xyes; then :
38218 cat >>confdefs.h <<_ACEOF
38219 #define HAVE__MODF 1
38220 _ACEOF
38221
38222 fi
38223 done
38224
38225 fi
38226 fi
38227
38228
38229
38230
38231
38232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38233 $as_echo_n "checking for powf declaration... " >&6; }
38234 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38235 if ${glibcxx_cv_func_powf_use+:} false; then :
38236 $as_echo_n "(cached) " >&6
38237 else
38238
38239
38240 ac_ext=cpp
38241 ac_cpp='$CXXCPP $CPPFLAGS'
38242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38245
38246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38247 /* end confdefs.h. */
38248 #include <math.h>
38249 int
38250 main ()
38251 {
38252 powf(0, 0);
38253 ;
38254 return 0;
38255 }
38256 _ACEOF
38257 if ac_fn_cxx_try_compile "$LINENO"; then :
38258 glibcxx_cv_func_powf_use=yes
38259 else
38260 glibcxx_cv_func_powf_use=no
38261 fi
38262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38263 ac_ext=c
38264 ac_cpp='$CPP $CPPFLAGS'
38265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38268
38269
38270 fi
38271
38272 fi
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38274 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38275
38276 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38277 for ac_func in powf
38278 do :
38279 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38280 if test "x$ac_cv_func_powf" = xyes; then :
38281 cat >>confdefs.h <<_ACEOF
38282 #define HAVE_POWF 1
38283 _ACEOF
38284
38285 fi
38286 done
38287
38288 else
38289
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38291 $as_echo_n "checking for _powf declaration... " >&6; }
38292 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38293 if ${glibcxx_cv_func__powf_use+:} false; then :
38294 $as_echo_n "(cached) " >&6
38295 else
38296
38297
38298 ac_ext=cpp
38299 ac_cpp='$CXXCPP $CPPFLAGS'
38300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38303
38304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38305 /* end confdefs.h. */
38306 #include <math.h>
38307 int
38308 main ()
38309 {
38310 _powf(0, 0);
38311 ;
38312 return 0;
38313 }
38314 _ACEOF
38315 if ac_fn_cxx_try_compile "$LINENO"; then :
38316 glibcxx_cv_func__powf_use=yes
38317 else
38318 glibcxx_cv_func__powf_use=no
38319 fi
38320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38321 ac_ext=c
38322 ac_cpp='$CPP $CPPFLAGS'
38323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38326
38327
38328 fi
38329
38330 fi
38331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38332 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38333
38334 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38335 for ac_func in _powf
38336 do :
38337 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38338 if test "x$ac_cv_func__powf" = xyes; then :
38339 cat >>confdefs.h <<_ACEOF
38340 #define HAVE__POWF 1
38341 _ACEOF
38342
38343 fi
38344 done
38345
38346 fi
38347 fi
38348
38349
38350
38351
38352
38353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38354 $as_echo_n "checking for sqrtf declaration... " >&6; }
38355 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38356 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38357 $as_echo_n "(cached) " >&6
38358 else
38359
38360
38361 ac_ext=cpp
38362 ac_cpp='$CXXCPP $CPPFLAGS'
38363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38366
38367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38368 /* end confdefs.h. */
38369 #include <math.h>
38370 #ifdef HAVE_IEEEFP_H
38371 #include <ieeefp.h>
38372 #endif
38373
38374 int
38375 main ()
38376 {
38377 sqrtf(0);
38378 ;
38379 return 0;
38380 }
38381 _ACEOF
38382 if ac_fn_cxx_try_compile "$LINENO"; then :
38383 glibcxx_cv_func_sqrtf_use=yes
38384 else
38385 glibcxx_cv_func_sqrtf_use=no
38386 fi
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38388 ac_ext=c
38389 ac_cpp='$CPP $CPPFLAGS'
38390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38393
38394
38395 fi
38396
38397 fi
38398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38399 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38400
38401 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38402 for ac_func in sqrtf
38403 do :
38404 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38405 if test "x$ac_cv_func_sqrtf" = xyes; then :
38406 cat >>confdefs.h <<_ACEOF
38407 #define HAVE_SQRTF 1
38408 _ACEOF
38409
38410 fi
38411 done
38412
38413 else
38414
38415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38416 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38417 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38418 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38419 $as_echo_n "(cached) " >&6
38420 else
38421
38422
38423 ac_ext=cpp
38424 ac_cpp='$CXXCPP $CPPFLAGS'
38425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38428
38429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38430 /* end confdefs.h. */
38431 #include <math.h>
38432 #ifdef HAVE_IEEEFP_H
38433 #include <ieeefp.h>
38434 #endif
38435
38436 int
38437 main ()
38438 {
38439 _sqrtf(0);
38440 ;
38441 return 0;
38442 }
38443 _ACEOF
38444 if ac_fn_cxx_try_compile "$LINENO"; then :
38445 glibcxx_cv_func__sqrtf_use=yes
38446 else
38447 glibcxx_cv_func__sqrtf_use=no
38448 fi
38449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38450 ac_ext=c
38451 ac_cpp='$CPP $CPPFLAGS'
38452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38455
38456
38457 fi
38458
38459 fi
38460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38461 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38462
38463 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38464 for ac_func in _sqrtf
38465 do :
38466 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38467 if test "x$ac_cv_func__sqrtf" = xyes; then :
38468 cat >>confdefs.h <<_ACEOF
38469 #define HAVE__SQRTF 1
38470 _ACEOF
38471
38472 fi
38473 done
38474
38475 fi
38476 fi
38477
38478
38479
38480
38481
38482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38483 $as_echo_n "checking for sincosf declaration... " >&6; }
38484 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38485 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38486 $as_echo_n "(cached) " >&6
38487 else
38488
38489
38490 ac_ext=cpp
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38495
38496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38497 /* end confdefs.h. */
38498 #include <math.h>
38499 int
38500 main ()
38501 {
38502 sincosf(0, 0, 0);
38503 ;
38504 return 0;
38505 }
38506 _ACEOF
38507 if ac_fn_cxx_try_compile "$LINENO"; then :
38508 glibcxx_cv_func_sincosf_use=yes
38509 else
38510 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
38524 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38525
38526 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38527 for ac_func in sincosf
38528 do :
38529 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38530 if test "x$ac_cv_func_sincosf" = xyes; then :
38531 cat >>confdefs.h <<_ACEOF
38532 #define HAVE_SINCOSF 1
38533 _ACEOF
38534
38535 fi
38536 done
38537
38538 else
38539
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38541 $as_echo_n "checking for _sincosf declaration... " >&6; }
38542 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38543 if ${glibcxx_cv_func__sincosf_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 int
38558 main ()
38559 {
38560 _sincosf(0, 0, 0);
38561 ;
38562 return 0;
38563 }
38564 _ACEOF
38565 if ac_fn_cxx_try_compile "$LINENO"; then :
38566 glibcxx_cv_func__sincosf_use=yes
38567 else
38568 glibcxx_cv_func__sincosf_use=no
38569 fi
38570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38571 ac_ext=c
38572 ac_cpp='$CPP $CPPFLAGS'
38573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38576
38577
38578 fi
38579
38580 fi
38581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38582 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38583
38584 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38585 for ac_func in _sincosf
38586 do :
38587 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38588 if test "x$ac_cv_func__sincosf" = xyes; then :
38589 cat >>confdefs.h <<_ACEOF
38590 #define HAVE__SINCOSF 1
38591 _ACEOF
38592
38593 fi
38594 done
38595
38596 fi
38597 fi
38598
38599
38600
38601
38602
38603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38604 $as_echo_n "checking for finitef declaration... " >&6; }
38605 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38606 if ${glibcxx_cv_func_finitef_use+:} false; then :
38607 $as_echo_n "(cached) " >&6
38608 else
38609
38610
38611 ac_ext=cpp
38612 ac_cpp='$CXXCPP $CPPFLAGS'
38613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38616
38617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38618 /* end confdefs.h. */
38619 #include <math.h>
38620 #ifdef HAVE_IEEEFP_H
38621 #include <ieeefp.h>
38622 #endif
38623
38624 int
38625 main ()
38626 {
38627 finitef(0);
38628 ;
38629 return 0;
38630 }
38631 _ACEOF
38632 if ac_fn_cxx_try_compile "$LINENO"; then :
38633 glibcxx_cv_func_finitef_use=yes
38634 else
38635 glibcxx_cv_func_finitef_use=no
38636 fi
38637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38638 ac_ext=c
38639 ac_cpp='$CPP $CPPFLAGS'
38640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38643
38644
38645 fi
38646
38647 fi
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38649 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38650
38651 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38652 for ac_func in finitef
38653 do :
38654 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38655 if test "x$ac_cv_func_finitef" = xyes; then :
38656 cat >>confdefs.h <<_ACEOF
38657 #define HAVE_FINITEF 1
38658 _ACEOF
38659
38660 fi
38661 done
38662
38663 else
38664
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38666 $as_echo_n "checking for _finitef declaration... " >&6; }
38667 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38668 if ${glibcxx_cv_func__finitef_use+:} false; then :
38669 $as_echo_n "(cached) " >&6
38670 else
38671
38672
38673 ac_ext=cpp
38674 ac_cpp='$CXXCPP $CPPFLAGS'
38675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38678
38679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 /* end confdefs.h. */
38681 #include <math.h>
38682 #ifdef HAVE_IEEEFP_H
38683 #include <ieeefp.h>
38684 #endif
38685
38686 int
38687 main ()
38688 {
38689 _finitef(0);
38690 ;
38691 return 0;
38692 }
38693 _ACEOF
38694 if ac_fn_cxx_try_compile "$LINENO"; then :
38695 glibcxx_cv_func__finitef_use=yes
38696 else
38697 glibcxx_cv_func__finitef_use=no
38698 fi
38699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38700 ac_ext=c
38701 ac_cpp='$CPP $CPPFLAGS'
38702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705
38706
38707 fi
38708
38709 fi
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38711 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38712
38713 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38714 for ac_func in _finitef
38715 do :
38716 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38717 if test "x$ac_cv_func__finitef" = xyes; then :
38718 cat >>confdefs.h <<_ACEOF
38719 #define HAVE__FINITEF 1
38720 _ACEOF
38721
38722 fi
38723 done
38724
38725 fi
38726 fi
38727
38728
38729
38730
38731
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38733 $as_echo_n "checking for long double trig functions... " >&6; }
38734 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38735 $as_echo_n "(cached) " >&6
38736 else
38737
38738
38739 ac_ext=cpp
38740 ac_cpp='$CXXCPP $CPPFLAGS'
38741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38744
38745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38746 /* end confdefs.h. */
38747 #include <math.h>
38748 int
38749 main ()
38750 {
38751 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38752 ;
38753 return 0;
38754 }
38755 _ACEOF
38756 if ac_fn_cxx_try_compile "$LINENO"; then :
38757 glibcxx_cv_func_long_double_trig_use=yes
38758 else
38759 glibcxx_cv_func_long_double_trig_use=no
38760 fi
38761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38762 ac_ext=c
38763 ac_cpp='$CPP $CPPFLAGS'
38764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38767
38768 fi
38769
38770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38771 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38772 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38773 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38774 do :
38775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38778 cat >>confdefs.h <<_ACEOF
38779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38780 _ACEOF
38781
38782 fi
38783 done
38784
38785 else
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38787 $as_echo_n "checking for _long double trig functions... " >&6; }
38788 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38791
38792
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38802 int
38803 main ()
38804 {
38805 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38806 ;
38807 return 0;
38808 }
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811 glibcxx_cv_func__long_double_trig_use=yes
38812 else
38813 glibcxx_cv_func__long_double_trig_use=no
38814 fi
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38821
38822 fi
38823
38824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38825 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38826 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38827 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38828 do :
38829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38831 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38832 cat >>confdefs.h <<_ACEOF
38833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38834 _ACEOF
38835
38836 fi
38837 done
38838
38839 fi
38840 fi
38841
38842
38843
38844
38845
38846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38847 $as_echo_n "checking for long double round functions... " >&6; }
38848 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38849 $as_echo_n "(cached) " >&6
38850 else
38851
38852
38853 ac_ext=cpp
38854 ac_cpp='$CXXCPP $CPPFLAGS'
38855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858
38859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38860 /* end confdefs.h. */
38861 #include <math.h>
38862 int
38863 main ()
38864 {
38865 ceill (0); floorl (0);
38866 ;
38867 return 0;
38868 }
38869 _ACEOF
38870 if ac_fn_cxx_try_compile "$LINENO"; then :
38871 glibcxx_cv_func_long_double_round_use=yes
38872 else
38873 glibcxx_cv_func_long_double_round_use=no
38874 fi
38875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_ext=c
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881
38882 fi
38883
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38885 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38886 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38887 for ac_func in ceill floorl
38888 do :
38889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38892 cat >>confdefs.h <<_ACEOF
38893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38894 _ACEOF
38895
38896 fi
38897 done
38898
38899 else
38900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38901 $as_echo_n "checking for _long double round functions... " >&6; }
38902 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38903 $as_echo_n "(cached) " >&6
38904 else
38905
38906
38907 ac_ext=cpp
38908 ac_cpp='$CXXCPP $CPPFLAGS'
38909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912
38913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38914 /* end confdefs.h. */
38915 #include <math.h>
38916 int
38917 main ()
38918 {
38919 _ceill (0); _floorl (0);
38920 ;
38921 return 0;
38922 }
38923 _ACEOF
38924 if ac_fn_cxx_try_compile "$LINENO"; then :
38925 glibcxx_cv_func__long_double_round_use=yes
38926 else
38927 glibcxx_cv_func__long_double_round_use=no
38928 fi
38929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38935
38936 fi
38937
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38939 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38940 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38941 for ac_func in _ceill _floorl
38942 do :
38943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38945 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38946 cat >>confdefs.h <<_ACEOF
38947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38948 _ACEOF
38949
38950 fi
38951 done
38952
38953 fi
38954 fi
38955
38956
38957
38958
38959
38960
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38962 $as_echo_n "checking for isnanl declaration... " >&6; }
38963 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38964 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38965 $as_echo_n "(cached) " >&6
38966 else
38967
38968
38969 ac_ext=cpp
38970 ac_cpp='$CXXCPP $CPPFLAGS'
38971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38974
38975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38976 /* end confdefs.h. */
38977 #include <math.h>
38978 #ifdef HAVE_IEEEFP_H
38979 #include <ieeefp.h>
38980 #endif
38981
38982 int
38983 main ()
38984 {
38985 isnanl(0);
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 if ac_fn_cxx_try_compile "$LINENO"; then :
38991 glibcxx_cv_func_isnanl_use=yes
38992 else
38993 glibcxx_cv_func_isnanl_use=no
38994 fi
38995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38996 ac_ext=c
38997 ac_cpp='$CPP $CPPFLAGS'
38998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39001
39002
39003 fi
39004
39005 fi
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39007 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39008
39009 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39010 for ac_func in isnanl
39011 do :
39012 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39013 if test "x$ac_cv_func_isnanl" = xyes; then :
39014 cat >>confdefs.h <<_ACEOF
39015 #define HAVE_ISNANL 1
39016 _ACEOF
39017
39018 fi
39019 done
39020
39021 else
39022
39023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39024 $as_echo_n "checking for _isnanl declaration... " >&6; }
39025 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39026 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39027 $as_echo_n "(cached) " >&6
39028 else
39029
39030
39031 ac_ext=cpp
39032 ac_cpp='$CXXCPP $CPPFLAGS'
39033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39036
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038 /* end confdefs.h. */
39039 #include <math.h>
39040 #ifdef HAVE_IEEEFP_H
39041 #include <ieeefp.h>
39042 #endif
39043
39044 int
39045 main ()
39046 {
39047 _isnanl(0);
39048 ;
39049 return 0;
39050 }
39051 _ACEOF
39052 if ac_fn_cxx_try_compile "$LINENO"; then :
39053 glibcxx_cv_func__isnanl_use=yes
39054 else
39055 glibcxx_cv_func__isnanl_use=no
39056 fi
39057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39058 ac_ext=c
39059 ac_cpp='$CPP $CPPFLAGS'
39060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39063
39064
39065 fi
39066
39067 fi
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39069 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39070
39071 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39072 for ac_func in _isnanl
39073 do :
39074 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39075 if test "x$ac_cv_func__isnanl" = xyes; then :
39076 cat >>confdefs.h <<_ACEOF
39077 #define HAVE__ISNANL 1
39078 _ACEOF
39079
39080 fi
39081 done
39082
39083 fi
39084 fi
39085
39086
39087
39088
39089
39090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39091 $as_echo_n "checking for isinfl declaration... " >&6; }
39092 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39093 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39094 $as_echo_n "(cached) " >&6
39095 else
39096
39097
39098 ac_ext=cpp
39099 ac_cpp='$CXXCPP $CPPFLAGS'
39100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39103
39104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39105 /* end confdefs.h. */
39106 #include <math.h>
39107 #ifdef HAVE_IEEEFP_H
39108 #include <ieeefp.h>
39109 #endif
39110
39111 int
39112 main ()
39113 {
39114 isinfl(0);
39115 ;
39116 return 0;
39117 }
39118 _ACEOF
39119 if ac_fn_cxx_try_compile "$LINENO"; then :
39120 glibcxx_cv_func_isinfl_use=yes
39121 else
39122 glibcxx_cv_func_isinfl_use=no
39123 fi
39124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125 ac_ext=c
39126 ac_cpp='$CPP $CPPFLAGS'
39127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39130
39131
39132 fi
39133
39134 fi
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39136 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39137
39138 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39139 for ac_func in isinfl
39140 do :
39141 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39142 if test "x$ac_cv_func_isinfl" = xyes; then :
39143 cat >>confdefs.h <<_ACEOF
39144 #define HAVE_ISINFL 1
39145 _ACEOF
39146
39147 fi
39148 done
39149
39150 else
39151
39152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39153 $as_echo_n "checking for _isinfl declaration... " >&6; }
39154 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39155 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39156 $as_echo_n "(cached) " >&6
39157 else
39158
39159
39160 ac_ext=cpp
39161 ac_cpp='$CXXCPP $CPPFLAGS'
39162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39165
39166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39167 /* end confdefs.h. */
39168 #include <math.h>
39169 #ifdef HAVE_IEEEFP_H
39170 #include <ieeefp.h>
39171 #endif
39172
39173 int
39174 main ()
39175 {
39176 _isinfl(0);
39177 ;
39178 return 0;
39179 }
39180 _ACEOF
39181 if ac_fn_cxx_try_compile "$LINENO"; then :
39182 glibcxx_cv_func__isinfl_use=yes
39183 else
39184 glibcxx_cv_func__isinfl_use=no
39185 fi
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39192
39193
39194 fi
39195
39196 fi
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39198 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39199
39200 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39201 for ac_func in _isinfl
39202 do :
39203 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39204 if test "x$ac_cv_func__isinfl" = xyes; then :
39205 cat >>confdefs.h <<_ACEOF
39206 #define HAVE__ISINFL 1
39207 _ACEOF
39208
39209 fi
39210 done
39211
39212 fi
39213 fi
39214
39215
39216
39217
39218
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39220 $as_echo_n "checking for atan2l declaration... " >&6; }
39221 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39222 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39223 $as_echo_n "(cached) " >&6
39224 else
39225
39226
39227 ac_ext=cpp
39228 ac_cpp='$CXXCPP $CPPFLAGS'
39229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39232
39233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39234 /* end confdefs.h. */
39235 #include <math.h>
39236 int
39237 main ()
39238 {
39239 atan2l(0, 0);
39240 ;
39241 return 0;
39242 }
39243 _ACEOF
39244 if ac_fn_cxx_try_compile "$LINENO"; then :
39245 glibcxx_cv_func_atan2l_use=yes
39246 else
39247 glibcxx_cv_func_atan2l_use=no
39248 fi
39249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39250 ac_ext=c
39251 ac_cpp='$CPP $CPPFLAGS'
39252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39255
39256
39257 fi
39258
39259 fi
39260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39261 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39262
39263 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39264 for ac_func in atan2l
39265 do :
39266 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39267 if test "x$ac_cv_func_atan2l" = xyes; then :
39268 cat >>confdefs.h <<_ACEOF
39269 #define HAVE_ATAN2L 1
39270 _ACEOF
39271
39272 fi
39273 done
39274
39275 else
39276
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39278 $as_echo_n "checking for _atan2l declaration... " >&6; }
39279 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39280 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39281 $as_echo_n "(cached) " >&6
39282 else
39283
39284
39285 ac_ext=cpp
39286 ac_cpp='$CXXCPP $CPPFLAGS'
39287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39290
39291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39292 /* end confdefs.h. */
39293 #include <math.h>
39294 int
39295 main ()
39296 {
39297 _atan2l(0, 0);
39298 ;
39299 return 0;
39300 }
39301 _ACEOF
39302 if ac_fn_cxx_try_compile "$LINENO"; then :
39303 glibcxx_cv_func__atan2l_use=yes
39304 else
39305 glibcxx_cv_func__atan2l_use=no
39306 fi
39307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39308 ac_ext=c
39309 ac_cpp='$CPP $CPPFLAGS'
39310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39313
39314
39315 fi
39316
39317 fi
39318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39319 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39320
39321 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39322 for ac_func in _atan2l
39323 do :
39324 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39325 if test "x$ac_cv_func__atan2l" = xyes; then :
39326 cat >>confdefs.h <<_ACEOF
39327 #define HAVE__ATAN2L 1
39328 _ACEOF
39329
39330 fi
39331 done
39332
39333 fi
39334 fi
39335
39336
39337
39338
39339
39340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39341 $as_echo_n "checking for expl declaration... " >&6; }
39342 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39343 if ${glibcxx_cv_func_expl_use+:} false; then :
39344 $as_echo_n "(cached) " >&6
39345 else
39346
39347
39348 ac_ext=cpp
39349 ac_cpp='$CXXCPP $CPPFLAGS'
39350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39353
39354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39355 /* end confdefs.h. */
39356 #include <math.h>
39357 #ifdef HAVE_IEEEFP_H
39358 #include <ieeefp.h>
39359 #endif
39360
39361 int
39362 main ()
39363 {
39364 expl(0);
39365 ;
39366 return 0;
39367 }
39368 _ACEOF
39369 if ac_fn_cxx_try_compile "$LINENO"; then :
39370 glibcxx_cv_func_expl_use=yes
39371 else
39372 glibcxx_cv_func_expl_use=no
39373 fi
39374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39375 ac_ext=c
39376 ac_cpp='$CPP $CPPFLAGS'
39377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39380
39381
39382 fi
39383
39384 fi
39385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39386 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39387
39388 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39389 for ac_func in expl
39390 do :
39391 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39392 if test "x$ac_cv_func_expl" = xyes; then :
39393 cat >>confdefs.h <<_ACEOF
39394 #define HAVE_EXPL 1
39395 _ACEOF
39396
39397 fi
39398 done
39399
39400 else
39401
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39403 $as_echo_n "checking for _expl declaration... " >&6; }
39404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39405 if ${glibcxx_cv_func__expl_use+:} false; then :
39406 $as_echo_n "(cached) " >&6
39407 else
39408
39409
39410 ac_ext=cpp
39411 ac_cpp='$CXXCPP $CPPFLAGS'
39412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39415
39416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39417 /* end confdefs.h. */
39418 #include <math.h>
39419 #ifdef HAVE_IEEEFP_H
39420 #include <ieeefp.h>
39421 #endif
39422
39423 int
39424 main ()
39425 {
39426 _expl(0);
39427 ;
39428 return 0;
39429 }
39430 _ACEOF
39431 if ac_fn_cxx_try_compile "$LINENO"; then :
39432 glibcxx_cv_func__expl_use=yes
39433 else
39434 glibcxx_cv_func__expl_use=no
39435 fi
39436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39437 ac_ext=c
39438 ac_cpp='$CPP $CPPFLAGS'
39439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39442
39443
39444 fi
39445
39446 fi
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39448 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39449
39450 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39451 for ac_func in _expl
39452 do :
39453 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39454 if test "x$ac_cv_func__expl" = xyes; then :
39455 cat >>confdefs.h <<_ACEOF
39456 #define HAVE__EXPL 1
39457 _ACEOF
39458
39459 fi
39460 done
39461
39462 fi
39463 fi
39464
39465
39466
39467
39468
39469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39470 $as_echo_n "checking for fabsl declaration... " >&6; }
39471 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39472 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39473 $as_echo_n "(cached) " >&6
39474 else
39475
39476
39477 ac_ext=cpp
39478 ac_cpp='$CXXCPP $CPPFLAGS'
39479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39482
39483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39484 /* end confdefs.h. */
39485 #include <math.h>
39486 #ifdef HAVE_IEEEFP_H
39487 #include <ieeefp.h>
39488 #endif
39489
39490 int
39491 main ()
39492 {
39493 fabsl(0);
39494 ;
39495 return 0;
39496 }
39497 _ACEOF
39498 if ac_fn_cxx_try_compile "$LINENO"; then :
39499 glibcxx_cv_func_fabsl_use=yes
39500 else
39501 glibcxx_cv_func_fabsl_use=no
39502 fi
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39504 ac_ext=c
39505 ac_cpp='$CPP $CPPFLAGS'
39506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39509
39510
39511 fi
39512
39513 fi
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39515 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39516
39517 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39518 for ac_func in fabsl
39519 do :
39520 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39521 if test "x$ac_cv_func_fabsl" = xyes; then :
39522 cat >>confdefs.h <<_ACEOF
39523 #define HAVE_FABSL 1
39524 _ACEOF
39525
39526 fi
39527 done
39528
39529 else
39530
39531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39532 $as_echo_n "checking for _fabsl declaration... " >&6; }
39533 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39534 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39535 $as_echo_n "(cached) " >&6
39536 else
39537
39538
39539 ac_ext=cpp
39540 ac_cpp='$CXXCPP $CPPFLAGS'
39541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39544
39545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39546 /* end confdefs.h. */
39547 #include <math.h>
39548 #ifdef HAVE_IEEEFP_H
39549 #include <ieeefp.h>
39550 #endif
39551
39552 int
39553 main ()
39554 {
39555 _fabsl(0);
39556 ;
39557 return 0;
39558 }
39559 _ACEOF
39560 if ac_fn_cxx_try_compile "$LINENO"; then :
39561 glibcxx_cv_func__fabsl_use=yes
39562 else
39563 glibcxx_cv_func__fabsl_use=no
39564 fi
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566 ac_ext=c
39567 ac_cpp='$CPP $CPPFLAGS'
39568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39571
39572
39573 fi
39574
39575 fi
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39577 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39578
39579 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39580 for ac_func in _fabsl
39581 do :
39582 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39583 if test "x$ac_cv_func__fabsl" = xyes; then :
39584 cat >>confdefs.h <<_ACEOF
39585 #define HAVE__FABSL 1
39586 _ACEOF
39587
39588 fi
39589 done
39590
39591 fi
39592 fi
39593
39594
39595
39596
39597
39598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39599 $as_echo_n "checking for fmodl declaration... " >&6; }
39600 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39601 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39602 $as_echo_n "(cached) " >&6
39603 else
39604
39605
39606 ac_ext=cpp
39607 ac_cpp='$CXXCPP $CPPFLAGS'
39608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39611
39612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39613 /* end confdefs.h. */
39614 #include <math.h>
39615 int
39616 main ()
39617 {
39618 fmodl(0, 0);
39619 ;
39620 return 0;
39621 }
39622 _ACEOF
39623 if ac_fn_cxx_try_compile "$LINENO"; then :
39624 glibcxx_cv_func_fmodl_use=yes
39625 else
39626 glibcxx_cv_func_fmodl_use=no
39627 fi
39628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39629 ac_ext=c
39630 ac_cpp='$CPP $CPPFLAGS'
39631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39634
39635
39636 fi
39637
39638 fi
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39640 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39641
39642 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39643 for ac_func in fmodl
39644 do :
39645 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39646 if test "x$ac_cv_func_fmodl" = xyes; then :
39647 cat >>confdefs.h <<_ACEOF
39648 #define HAVE_FMODL 1
39649 _ACEOF
39650
39651 fi
39652 done
39653
39654 else
39655
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39657 $as_echo_n "checking for _fmodl declaration... " >&6; }
39658 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39659 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39660 $as_echo_n "(cached) " >&6
39661 else
39662
39663
39664 ac_ext=cpp
39665 ac_cpp='$CXXCPP $CPPFLAGS'
39666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39669
39670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39671 /* end confdefs.h. */
39672 #include <math.h>
39673 int
39674 main ()
39675 {
39676 _fmodl(0, 0);
39677 ;
39678 return 0;
39679 }
39680 _ACEOF
39681 if ac_fn_cxx_try_compile "$LINENO"; then :
39682 glibcxx_cv_func__fmodl_use=yes
39683 else
39684 glibcxx_cv_func__fmodl_use=no
39685 fi
39686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39687 ac_ext=c
39688 ac_cpp='$CPP $CPPFLAGS'
39689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39692
39693
39694 fi
39695
39696 fi
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39698 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39699
39700 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39701 for ac_func in _fmodl
39702 do :
39703 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39704 if test "x$ac_cv_func__fmodl" = xyes; then :
39705 cat >>confdefs.h <<_ACEOF
39706 #define HAVE__FMODL 1
39707 _ACEOF
39708
39709 fi
39710 done
39711
39712 fi
39713 fi
39714
39715
39716
39717
39718
39719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39720 $as_echo_n "checking for frexpl declaration... " >&6; }
39721 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39722 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39723 $as_echo_n "(cached) " >&6
39724 else
39725
39726
39727 ac_ext=cpp
39728 ac_cpp='$CXXCPP $CPPFLAGS'
39729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39732
39733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39734 /* end confdefs.h. */
39735 #include <math.h>
39736 int
39737 main ()
39738 {
39739 frexpl(0, 0);
39740 ;
39741 return 0;
39742 }
39743 _ACEOF
39744 if ac_fn_cxx_try_compile "$LINENO"; then :
39745 glibcxx_cv_func_frexpl_use=yes
39746 else
39747 glibcxx_cv_func_frexpl_use=no
39748 fi
39749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39750 ac_ext=c
39751 ac_cpp='$CPP $CPPFLAGS'
39752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755
39756
39757 fi
39758
39759 fi
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39761 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39762
39763 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39764 for ac_func in frexpl
39765 do :
39766 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39767 if test "x$ac_cv_func_frexpl" = xyes; then :
39768 cat >>confdefs.h <<_ACEOF
39769 #define HAVE_FREXPL 1
39770 _ACEOF
39771
39772 fi
39773 done
39774
39775 else
39776
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39778 $as_echo_n "checking for _frexpl declaration... " >&6; }
39779 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39780 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39781 $as_echo_n "(cached) " >&6
39782 else
39783
39784
39785 ac_ext=cpp
39786 ac_cpp='$CXXCPP $CPPFLAGS'
39787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790
39791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39792 /* end confdefs.h. */
39793 #include <math.h>
39794 int
39795 main ()
39796 {
39797 _frexpl(0, 0);
39798 ;
39799 return 0;
39800 }
39801 _ACEOF
39802 if ac_fn_cxx_try_compile "$LINENO"; then :
39803 glibcxx_cv_func__frexpl_use=yes
39804 else
39805 glibcxx_cv_func__frexpl_use=no
39806 fi
39807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39808 ac_ext=c
39809 ac_cpp='$CPP $CPPFLAGS'
39810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39813
39814
39815 fi
39816
39817 fi
39818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39819 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39820
39821 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39822 for ac_func in _frexpl
39823 do :
39824 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39825 if test "x$ac_cv_func__frexpl" = xyes; then :
39826 cat >>confdefs.h <<_ACEOF
39827 #define HAVE__FREXPL 1
39828 _ACEOF
39829
39830 fi
39831 done
39832
39833 fi
39834 fi
39835
39836
39837
39838
39839
39840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39841 $as_echo_n "checking for hypotl declaration... " >&6; }
39842 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39843 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39844 $as_echo_n "(cached) " >&6
39845 else
39846
39847
39848 ac_ext=cpp
39849 ac_cpp='$CXXCPP $CPPFLAGS'
39850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853
39854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39855 /* end confdefs.h. */
39856 #include <math.h>
39857 int
39858 main ()
39859 {
39860 hypotl(0, 0);
39861 ;
39862 return 0;
39863 }
39864 _ACEOF
39865 if ac_fn_cxx_try_compile "$LINENO"; then :
39866 glibcxx_cv_func_hypotl_use=yes
39867 else
39868 glibcxx_cv_func_hypotl_use=no
39869 fi
39870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39871 ac_ext=c
39872 ac_cpp='$CPP $CPPFLAGS'
39873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39876
39877
39878 fi
39879
39880 fi
39881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39882 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39883
39884 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39885 for ac_func in hypotl
39886 do :
39887 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39888 if test "x$ac_cv_func_hypotl" = xyes; then :
39889 cat >>confdefs.h <<_ACEOF
39890 #define HAVE_HYPOTL 1
39891 _ACEOF
39892
39893 fi
39894 done
39895
39896 else
39897
39898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39899 $as_echo_n "checking for _hypotl declaration... " >&6; }
39900 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39901 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39902 $as_echo_n "(cached) " >&6
39903 else
39904
39905
39906 ac_ext=cpp
39907 ac_cpp='$CXXCPP $CPPFLAGS'
39908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39911
39912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39913 /* end confdefs.h. */
39914 #include <math.h>
39915 int
39916 main ()
39917 {
39918 _hypotl(0, 0);
39919 ;
39920 return 0;
39921 }
39922 _ACEOF
39923 if ac_fn_cxx_try_compile "$LINENO"; then :
39924 glibcxx_cv_func__hypotl_use=yes
39925 else
39926 glibcxx_cv_func__hypotl_use=no
39927 fi
39928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39929 ac_ext=c
39930 ac_cpp='$CPP $CPPFLAGS'
39931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39934
39935
39936 fi
39937
39938 fi
39939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39940 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39941
39942 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39943 for ac_func in _hypotl
39944 do :
39945 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39946 if test "x$ac_cv_func__hypotl" = xyes; then :
39947 cat >>confdefs.h <<_ACEOF
39948 #define HAVE__HYPOTL 1
39949 _ACEOF
39950
39951 fi
39952 done
39953
39954 fi
39955 fi
39956
39957
39958
39959
39960
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39962 $as_echo_n "checking for ldexpl declaration... " >&6; }
39963 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39964 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39965 $as_echo_n "(cached) " >&6
39966 else
39967
39968
39969 ac_ext=cpp
39970 ac_cpp='$CXXCPP $CPPFLAGS'
39971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39974
39975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39976 /* end confdefs.h. */
39977 #include <math.h>
39978 int
39979 main ()
39980 {
39981 ldexpl(0, 0);
39982 ;
39983 return 0;
39984 }
39985 _ACEOF
39986 if ac_fn_cxx_try_compile "$LINENO"; then :
39987 glibcxx_cv_func_ldexpl_use=yes
39988 else
39989 glibcxx_cv_func_ldexpl_use=no
39990 fi
39991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39992 ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39997
39998
39999 fi
40000
40001 fi
40002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40003 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40004
40005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40006 for ac_func in ldexpl
40007 do :
40008 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40009 if test "x$ac_cv_func_ldexpl" = xyes; then :
40010 cat >>confdefs.h <<_ACEOF
40011 #define HAVE_LDEXPL 1
40012 _ACEOF
40013
40014 fi
40015 done
40016
40017 else
40018
40019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40020 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40021 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40022 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40023 $as_echo_n "(cached) " >&6
40024 else
40025
40026
40027 ac_ext=cpp
40028 ac_cpp='$CXXCPP $CPPFLAGS'
40029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40032
40033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40034 /* end confdefs.h. */
40035 #include <math.h>
40036 int
40037 main ()
40038 {
40039 _ldexpl(0, 0);
40040 ;
40041 return 0;
40042 }
40043 _ACEOF
40044 if ac_fn_cxx_try_compile "$LINENO"; then :
40045 glibcxx_cv_func__ldexpl_use=yes
40046 else
40047 glibcxx_cv_func__ldexpl_use=no
40048 fi
40049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40050 ac_ext=c
40051 ac_cpp='$CPP $CPPFLAGS'
40052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40055
40056
40057 fi
40058
40059 fi
40060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40061 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40062
40063 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40064 for ac_func in _ldexpl
40065 do :
40066 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40067 if test "x$ac_cv_func__ldexpl" = xyes; then :
40068 cat >>confdefs.h <<_ACEOF
40069 #define HAVE__LDEXPL 1
40070 _ACEOF
40071
40072 fi
40073 done
40074
40075 fi
40076 fi
40077
40078
40079
40080
40081
40082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40083 $as_echo_n "checking for logl declaration... " >&6; }
40084 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40085 if ${glibcxx_cv_func_logl_use+:} false; then :
40086 $as_echo_n "(cached) " >&6
40087 else
40088
40089
40090 ac_ext=cpp
40091 ac_cpp='$CXXCPP $CPPFLAGS'
40092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40095
40096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40097 /* end confdefs.h. */
40098 #include <math.h>
40099 #ifdef HAVE_IEEEFP_H
40100 #include <ieeefp.h>
40101 #endif
40102
40103 int
40104 main ()
40105 {
40106 logl(0);
40107 ;
40108 return 0;
40109 }
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112 glibcxx_cv_func_logl_use=yes
40113 else
40114 glibcxx_cv_func_logl_use=no
40115 fi
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117 ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40122
40123
40124 fi
40125
40126 fi
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40128 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40129
40130 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40131 for ac_func in logl
40132 do :
40133 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40134 if test "x$ac_cv_func_logl" = xyes; then :
40135 cat >>confdefs.h <<_ACEOF
40136 #define HAVE_LOGL 1
40137 _ACEOF
40138
40139 fi
40140 done
40141
40142 else
40143
40144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40145 $as_echo_n "checking for _logl declaration... " >&6; }
40146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40147 if ${glibcxx_cv_func__logl_use+:} false; then :
40148 $as_echo_n "(cached) " >&6
40149 else
40150
40151
40152 ac_ext=cpp
40153 ac_cpp='$CXXCPP $CPPFLAGS'
40154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40157
40158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40159 /* end confdefs.h. */
40160 #include <math.h>
40161 #ifdef HAVE_IEEEFP_H
40162 #include <ieeefp.h>
40163 #endif
40164
40165 int
40166 main ()
40167 {
40168 _logl(0);
40169 ;
40170 return 0;
40171 }
40172 _ACEOF
40173 if ac_fn_cxx_try_compile "$LINENO"; then :
40174 glibcxx_cv_func__logl_use=yes
40175 else
40176 glibcxx_cv_func__logl_use=no
40177 fi
40178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179 ac_ext=c
40180 ac_cpp='$CPP $CPPFLAGS'
40181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40184
40185
40186 fi
40187
40188 fi
40189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40190 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40191
40192 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40193 for ac_func in _logl
40194 do :
40195 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40196 if test "x$ac_cv_func__logl" = xyes; then :
40197 cat >>confdefs.h <<_ACEOF
40198 #define HAVE__LOGL 1
40199 _ACEOF
40200
40201 fi
40202 done
40203
40204 fi
40205 fi
40206
40207
40208
40209
40210
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40212 $as_echo_n "checking for log10l declaration... " >&6; }
40213 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40214 if ${glibcxx_cv_func_log10l_use+:} false; then :
40215 $as_echo_n "(cached) " >&6
40216 else
40217
40218
40219 ac_ext=cpp
40220 ac_cpp='$CXXCPP $CPPFLAGS'
40221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40224
40225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40226 /* end confdefs.h. */
40227 #include <math.h>
40228 #ifdef HAVE_IEEEFP_H
40229 #include <ieeefp.h>
40230 #endif
40231
40232 int
40233 main ()
40234 {
40235 log10l(0);
40236 ;
40237 return 0;
40238 }
40239 _ACEOF
40240 if ac_fn_cxx_try_compile "$LINENO"; then :
40241 glibcxx_cv_func_log10l_use=yes
40242 else
40243 glibcxx_cv_func_log10l_use=no
40244 fi
40245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40246 ac_ext=c
40247 ac_cpp='$CPP $CPPFLAGS'
40248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40251
40252
40253 fi
40254
40255 fi
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40257 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40258
40259 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40260 for ac_func in log10l
40261 do :
40262 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40263 if test "x$ac_cv_func_log10l" = xyes; then :
40264 cat >>confdefs.h <<_ACEOF
40265 #define HAVE_LOG10L 1
40266 _ACEOF
40267
40268 fi
40269 done
40270
40271 else
40272
40273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40274 $as_echo_n "checking for _log10l declaration... " >&6; }
40275 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40276 if ${glibcxx_cv_func__log10l_use+:} false; then :
40277 $as_echo_n "(cached) " >&6
40278 else
40279
40280
40281 ac_ext=cpp
40282 ac_cpp='$CXXCPP $CPPFLAGS'
40283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40286
40287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40288 /* end confdefs.h. */
40289 #include <math.h>
40290 #ifdef HAVE_IEEEFP_H
40291 #include <ieeefp.h>
40292 #endif
40293
40294 int
40295 main ()
40296 {
40297 _log10l(0);
40298 ;
40299 return 0;
40300 }
40301 _ACEOF
40302 if ac_fn_cxx_try_compile "$LINENO"; then :
40303 glibcxx_cv_func__log10l_use=yes
40304 else
40305 glibcxx_cv_func__log10l_use=no
40306 fi
40307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40308 ac_ext=c
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40313
40314
40315 fi
40316
40317 fi
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40319 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40320
40321 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40322 for ac_func in _log10l
40323 do :
40324 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40325 if test "x$ac_cv_func__log10l" = xyes; then :
40326 cat >>confdefs.h <<_ACEOF
40327 #define HAVE__LOG10L 1
40328 _ACEOF
40329
40330 fi
40331 done
40332
40333 fi
40334 fi
40335
40336
40337
40338
40339
40340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40341 $as_echo_n "checking for modfl declaration... " >&6; }
40342 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40343 if ${glibcxx_cv_func_modfl_use+:} false; then :
40344 $as_echo_n "(cached) " >&6
40345 else
40346
40347
40348 ac_ext=cpp
40349 ac_cpp='$CXXCPP $CPPFLAGS'
40350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40353
40354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40355 /* end confdefs.h. */
40356 #include <math.h>
40357 int
40358 main ()
40359 {
40360 modfl(0, 0);
40361 ;
40362 return 0;
40363 }
40364 _ACEOF
40365 if ac_fn_cxx_try_compile "$LINENO"; then :
40366 glibcxx_cv_func_modfl_use=yes
40367 else
40368 glibcxx_cv_func_modfl_use=no
40369 fi
40370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40371 ac_ext=c
40372 ac_cpp='$CPP $CPPFLAGS'
40373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40376
40377
40378 fi
40379
40380 fi
40381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40382 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40383
40384 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40385 for ac_func in modfl
40386 do :
40387 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40388 if test "x$ac_cv_func_modfl" = xyes; then :
40389 cat >>confdefs.h <<_ACEOF
40390 #define HAVE_MODFL 1
40391 _ACEOF
40392
40393 fi
40394 done
40395
40396 else
40397
40398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40399 $as_echo_n "checking for _modfl declaration... " >&6; }
40400 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40401 if ${glibcxx_cv_func__modfl_use+:} false; then :
40402 $as_echo_n "(cached) " >&6
40403 else
40404
40405
40406 ac_ext=cpp
40407 ac_cpp='$CXXCPP $CPPFLAGS'
40408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40411
40412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40413 /* end confdefs.h. */
40414 #include <math.h>
40415 int
40416 main ()
40417 {
40418 _modfl(0, 0);
40419 ;
40420 return 0;
40421 }
40422 _ACEOF
40423 if ac_fn_cxx_try_compile "$LINENO"; then :
40424 glibcxx_cv_func__modfl_use=yes
40425 else
40426 glibcxx_cv_func__modfl_use=no
40427 fi
40428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40429 ac_ext=c
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40434
40435
40436 fi
40437
40438 fi
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40440 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40441
40442 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40443 for ac_func in _modfl
40444 do :
40445 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40446 if test "x$ac_cv_func__modfl" = xyes; then :
40447 cat >>confdefs.h <<_ACEOF
40448 #define HAVE__MODFL 1
40449 _ACEOF
40450
40451 fi
40452 done
40453
40454 fi
40455 fi
40456
40457
40458
40459
40460
40461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40462 $as_echo_n "checking for powl declaration... " >&6; }
40463 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40464 if ${glibcxx_cv_func_powl_use+:} false; then :
40465 $as_echo_n "(cached) " >&6
40466 else
40467
40468
40469 ac_ext=cpp
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40474
40475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40476 /* end confdefs.h. */
40477 #include <math.h>
40478 int
40479 main ()
40480 {
40481 powl(0, 0);
40482 ;
40483 return 0;
40484 }
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func_powl_use=yes
40488 else
40489 glibcxx_cv_func_powl_use=no
40490 fi
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492 ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497
40498
40499 fi
40500
40501 fi
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40503 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40504
40505 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40506 for ac_func in powl
40507 do :
40508 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40509 if test "x$ac_cv_func_powl" = xyes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE_POWL 1
40512 _ACEOF
40513
40514 fi
40515 done
40516
40517 else
40518
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40520 $as_echo_n "checking for _powl declaration... " >&6; }
40521 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40522 if ${glibcxx_cv_func__powl_use+:} false; then :
40523 $as_echo_n "(cached) " >&6
40524 else
40525
40526
40527 ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40532
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40535 #include <math.h>
40536 int
40537 main ()
40538 {
40539 _powl(0, 0);
40540 ;
40541 return 0;
40542 }
40543 _ACEOF
40544 if ac_fn_cxx_try_compile "$LINENO"; then :
40545 glibcxx_cv_func__powl_use=yes
40546 else
40547 glibcxx_cv_func__powl_use=no
40548 fi
40549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40550 ac_ext=c
40551 ac_cpp='$CPP $CPPFLAGS'
40552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40555
40556
40557 fi
40558
40559 fi
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40561 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40562
40563 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40564 for ac_func in _powl
40565 do :
40566 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40567 if test "x$ac_cv_func__powl" = xyes; then :
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE__POWL 1
40570 _ACEOF
40571
40572 fi
40573 done
40574
40575 fi
40576 fi
40577
40578
40579
40580
40581
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40583 $as_echo_n "checking for sqrtl declaration... " >&6; }
40584 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40585 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40586 $as_echo_n "(cached) " >&6
40587 else
40588
40589
40590 ac_ext=cpp
40591 ac_cpp='$CXXCPP $CPPFLAGS'
40592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40595
40596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40597 /* end confdefs.h. */
40598 #include <math.h>
40599 #ifdef HAVE_IEEEFP_H
40600 #include <ieeefp.h>
40601 #endif
40602
40603 int
40604 main ()
40605 {
40606 sqrtl(0);
40607 ;
40608 return 0;
40609 }
40610 _ACEOF
40611 if ac_fn_cxx_try_compile "$LINENO"; then :
40612 glibcxx_cv_func_sqrtl_use=yes
40613 else
40614 glibcxx_cv_func_sqrtl_use=no
40615 fi
40616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40617 ac_ext=c
40618 ac_cpp='$CPP $CPPFLAGS'
40619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40622
40623
40624 fi
40625
40626 fi
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40628 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40629
40630 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40631 for ac_func in sqrtl
40632 do :
40633 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40634 if test "x$ac_cv_func_sqrtl" = xyes; then :
40635 cat >>confdefs.h <<_ACEOF
40636 #define HAVE_SQRTL 1
40637 _ACEOF
40638
40639 fi
40640 done
40641
40642 else
40643
40644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40645 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40646 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40647 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40648 $as_echo_n "(cached) " >&6
40649 else
40650
40651
40652 ac_ext=cpp
40653 ac_cpp='$CXXCPP $CPPFLAGS'
40654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40657
40658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40659 /* end confdefs.h. */
40660 #include <math.h>
40661 #ifdef HAVE_IEEEFP_H
40662 #include <ieeefp.h>
40663 #endif
40664
40665 int
40666 main ()
40667 {
40668 _sqrtl(0);
40669 ;
40670 return 0;
40671 }
40672 _ACEOF
40673 if ac_fn_cxx_try_compile "$LINENO"; then :
40674 glibcxx_cv_func__sqrtl_use=yes
40675 else
40676 glibcxx_cv_func__sqrtl_use=no
40677 fi
40678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40679 ac_ext=c
40680 ac_cpp='$CPP $CPPFLAGS'
40681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40684
40685
40686 fi
40687
40688 fi
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40690 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40691
40692 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40693 for ac_func in _sqrtl
40694 do :
40695 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40696 if test "x$ac_cv_func__sqrtl" = xyes; then :
40697 cat >>confdefs.h <<_ACEOF
40698 #define HAVE__SQRTL 1
40699 _ACEOF
40700
40701 fi
40702 done
40703
40704 fi
40705 fi
40706
40707
40708
40709
40710
40711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40712 $as_echo_n "checking for sincosl declaration... " >&6; }
40713 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40714 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40715 $as_echo_n "(cached) " >&6
40716 else
40717
40718
40719 ac_ext=cpp
40720 ac_cpp='$CXXCPP $CPPFLAGS'
40721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40724
40725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40726 /* end confdefs.h. */
40727 #include <math.h>
40728 int
40729 main ()
40730 {
40731 sincosl(0, 0, 0);
40732 ;
40733 return 0;
40734 }
40735 _ACEOF
40736 if ac_fn_cxx_try_compile "$LINENO"; then :
40737 glibcxx_cv_func_sincosl_use=yes
40738 else
40739 glibcxx_cv_func_sincosl_use=no
40740 fi
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40742 ac_ext=c
40743 ac_cpp='$CPP $CPPFLAGS'
40744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747
40748
40749 fi
40750
40751 fi
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40753 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40754
40755 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40756 for ac_func in sincosl
40757 do :
40758 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40759 if test "x$ac_cv_func_sincosl" = xyes; then :
40760 cat >>confdefs.h <<_ACEOF
40761 #define HAVE_SINCOSL 1
40762 _ACEOF
40763
40764 fi
40765 done
40766
40767 else
40768
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40770 $as_echo_n "checking for _sincosl declaration... " >&6; }
40771 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40772 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40773 $as_echo_n "(cached) " >&6
40774 else
40775
40776
40777 ac_ext=cpp
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40782
40783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h. */
40785 #include <math.h>
40786 int
40787 main ()
40788 {
40789 _sincosl(0, 0, 0);
40790 ;
40791 return 0;
40792 }
40793 _ACEOF
40794 if ac_fn_cxx_try_compile "$LINENO"; then :
40795 glibcxx_cv_func__sincosl_use=yes
40796 else
40797 glibcxx_cv_func__sincosl_use=no
40798 fi
40799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40800 ac_ext=c
40801 ac_cpp='$CPP $CPPFLAGS'
40802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40805
40806
40807 fi
40808
40809 fi
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40811 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40812
40813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40814 for ac_func in _sincosl
40815 do :
40816 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40817 if test "x$ac_cv_func__sincosl" = xyes; then :
40818 cat >>confdefs.h <<_ACEOF
40819 #define HAVE__SINCOSL 1
40820 _ACEOF
40821
40822 fi
40823 done
40824
40825 fi
40826 fi
40827
40828
40829
40830
40831
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40833 $as_echo_n "checking for finitel declaration... " >&6; }
40834 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40835 if ${glibcxx_cv_func_finitel_use+:} false; then :
40836 $as_echo_n "(cached) " >&6
40837 else
40838
40839
40840 ac_ext=cpp
40841 ac_cpp='$CXXCPP $CPPFLAGS'
40842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845
40846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40847 /* end confdefs.h. */
40848 #include <math.h>
40849 #ifdef HAVE_IEEEFP_H
40850 #include <ieeefp.h>
40851 #endif
40852
40853 int
40854 main ()
40855 {
40856 finitel(0);
40857 ;
40858 return 0;
40859 }
40860 _ACEOF
40861 if ac_fn_cxx_try_compile "$LINENO"; then :
40862 glibcxx_cv_func_finitel_use=yes
40863 else
40864 glibcxx_cv_func_finitel_use=no
40865 fi
40866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40867 ac_ext=c
40868 ac_cpp='$CPP $CPPFLAGS'
40869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40872
40873
40874 fi
40875
40876 fi
40877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40878 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40879
40880 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40881 for ac_func in finitel
40882 do :
40883 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40884 if test "x$ac_cv_func_finitel" = xyes; then :
40885 cat >>confdefs.h <<_ACEOF
40886 #define HAVE_FINITEL 1
40887 _ACEOF
40888
40889 fi
40890 done
40891
40892 else
40893
40894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40895 $as_echo_n "checking for _finitel declaration... " >&6; }
40896 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40897 if ${glibcxx_cv_func__finitel_use+:} false; then :
40898 $as_echo_n "(cached) " >&6
40899 else
40900
40901
40902 ac_ext=cpp
40903 ac_cpp='$CXXCPP $CPPFLAGS'
40904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40907
40908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40909 /* end confdefs.h. */
40910 #include <math.h>
40911 #ifdef HAVE_IEEEFP_H
40912 #include <ieeefp.h>
40913 #endif
40914
40915 int
40916 main ()
40917 {
40918 _finitel(0);
40919 ;
40920 return 0;
40921 }
40922 _ACEOF
40923 if ac_fn_cxx_try_compile "$LINENO"; then :
40924 glibcxx_cv_func__finitel_use=yes
40925 else
40926 glibcxx_cv_func__finitel_use=no
40927 fi
40928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40929 ac_ext=c
40930 ac_cpp='$CPP $CPPFLAGS'
40931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40934
40935
40936 fi
40937
40938 fi
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40940 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40941
40942 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40943 for ac_func in _finitel
40944 do :
40945 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40946 if test "x$ac_cv_func__finitel" = xyes; then :
40947 cat >>confdefs.h <<_ACEOF
40948 #define HAVE__FINITEL 1
40949 _ACEOF
40950
40951 fi
40952 done
40953
40954 fi
40955 fi
40956
40957
40958
40959
40960 LIBS="$ac_save_LIBS"
40961 CXXFLAGS="$ac_save_CXXFLAGS"
40962
40963
40964 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40965 ac_save_CXXFLAGS="$CXXFLAGS"
40966 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40967
40968
40969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40970 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40971 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40972 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40973 $as_echo_n "(cached) " >&6
40974 else
40975
40976
40977 ac_ext=cpp
40978 ac_cpp='$CXXCPP $CPPFLAGS'
40979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40982
40983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40984 /* end confdefs.h. */
40985 #include <stdlib.h>
40986 int
40987 main ()
40988 {
40989 at_quick_exit(0);
40990 ;
40991 return 0;
40992 }
40993 _ACEOF
40994 if ac_fn_cxx_try_compile "$LINENO"; then :
40995 glibcxx_cv_func_at_quick_exit_use=yes
40996 else
40997 glibcxx_cv_func_at_quick_exit_use=no
40998 fi
40999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41000 ac_ext=c
41001 ac_cpp='$CPP $CPPFLAGS'
41002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41005
41006
41007 fi
41008
41009 fi
41010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41011 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41012 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41013 for ac_func in at_quick_exit
41014 do :
41015 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41016 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41017 cat >>confdefs.h <<_ACEOF
41018 #define HAVE_AT_QUICK_EXIT 1
41019 _ACEOF
41020
41021 fi
41022 done
41023
41024 fi
41025
41026
41027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41028 $as_echo_n "checking for quick_exit declaration... " >&6; }
41029 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41030 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41031 $as_echo_n "(cached) " >&6
41032 else
41033
41034
41035 ac_ext=cpp
41036 ac_cpp='$CXXCPP $CPPFLAGS'
41037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41040
41041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41042 /* end confdefs.h. */
41043 #include <stdlib.h>
41044 int
41045 main ()
41046 {
41047 quick_exit(0);
41048 ;
41049 return 0;
41050 }
41051 _ACEOF
41052 if ac_fn_cxx_try_compile "$LINENO"; then :
41053 glibcxx_cv_func_quick_exit_use=yes
41054 else
41055 glibcxx_cv_func_quick_exit_use=no
41056 fi
41057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41058 ac_ext=c
41059 ac_cpp='$CPP $CPPFLAGS'
41060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41063
41064
41065 fi
41066
41067 fi
41068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41069 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41070 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41071 for ac_func in quick_exit
41072 do :
41073 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41074 if test "x$ac_cv_func_quick_exit" = xyes; then :
41075 cat >>confdefs.h <<_ACEOF
41076 #define HAVE_QUICK_EXIT 1
41077 _ACEOF
41078
41079 fi
41080 done
41081
41082 fi
41083
41084
41085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41086 $as_echo_n "checking for strtold declaration... " >&6; }
41087 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41088 if ${glibcxx_cv_func_strtold_use+:} false; then :
41089 $as_echo_n "(cached) " >&6
41090 else
41091
41092
41093 ac_ext=cpp
41094 ac_cpp='$CXXCPP $CPPFLAGS'
41095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41098
41099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41100 /* end confdefs.h. */
41101 #include <stdlib.h>
41102 int
41103 main ()
41104 {
41105 strtold(0, 0);
41106 ;
41107 return 0;
41108 }
41109 _ACEOF
41110 if ac_fn_cxx_try_compile "$LINENO"; then :
41111 glibcxx_cv_func_strtold_use=yes
41112 else
41113 glibcxx_cv_func_strtold_use=no
41114 fi
41115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41116 ac_ext=c
41117 ac_cpp='$CPP $CPPFLAGS'
41118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41121
41122
41123 fi
41124
41125 fi
41126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41127 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41128 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41129 for ac_func in strtold
41130 do :
41131 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41132 if test "x$ac_cv_func_strtold" = xyes; then :
41133 cat >>confdefs.h <<_ACEOF
41134 #define HAVE_STRTOLD 1
41135 _ACEOF
41136
41137 fi
41138 done
41139
41140 fi
41141
41142
41143
41144
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41146 $as_echo_n "checking for strtof declaration... " >&6; }
41147 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41148 if ${glibcxx_cv_func_strtof_use+:} false; then :
41149 $as_echo_n "(cached) " >&6
41150 else
41151
41152
41153 ac_ext=cpp
41154 ac_cpp='$CXXCPP $CPPFLAGS'
41155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158
41159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41160 /* end confdefs.h. */
41161 #include <stdlib.h>
41162 int
41163 main ()
41164 {
41165 strtof(0, 0);
41166 ;
41167 return 0;
41168 }
41169 _ACEOF
41170 if ac_fn_cxx_try_compile "$LINENO"; then :
41171 glibcxx_cv_func_strtof_use=yes
41172 else
41173 glibcxx_cv_func_strtof_use=no
41174 fi
41175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41176 ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181
41182
41183 fi
41184
41185 fi
41186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41187 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41188 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41189 for ac_func in strtof
41190 do :
41191 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41192 if test "x$ac_cv_func_strtof" = xyes; then :
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE_STRTOF 1
41195 _ACEOF
41196
41197 fi
41198 done
41199
41200 fi
41201
41202
41203
41204
41205 CXXFLAGS="$ac_save_CXXFLAGS"
41206
41207 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41208
41209 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41210
41211 # We don't yet support AIX's TLS ABI.
41212 #GCC_CHECK_TLS
41213
41214
41215
41216
41217
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41219 $as_echo_n "checking for iconv... " >&6; }
41220 if ${am_cv_func_iconv+:} false; then :
41221 $as_echo_n "(cached) " >&6
41222 else
41223
41224 am_cv_func_iconv="no, consider installing GNU libiconv"
41225 am_cv_lib_iconv=no
41226 am_save_CPPFLAGS="$CPPFLAGS"
41227 CPPFLAGS="$CPPFLAGS $INCICONV"
41228 if test x$gcc_no_link = xyes; then
41229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41230 fi
41231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41232 /* end confdefs.h. */
41233 #include <stdlib.h>
41234 #include <iconv.h>
41235 int
41236 main ()
41237 {
41238 iconv_t cd = iconv_open("","");
41239 iconv(cd,NULL,NULL,NULL,NULL);
41240 iconv_close(cd);
41241 ;
41242 return 0;
41243 }
41244 _ACEOF
41245 if ac_fn_c_try_link "$LINENO"; then :
41246 am_cv_func_iconv=yes
41247 fi
41248 rm -f core conftest.err conftest.$ac_objext \
41249 conftest$ac_exeext conftest.$ac_ext
41250 CPPFLAGS="$am_save_CPPFLAGS"
41251
41252 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41253 for _libs in .libs _libs; do
41254 am_save_CPPFLAGS="$CPPFLAGS"
41255 am_save_LIBS="$LIBS"
41256 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41257 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41258 if test x$gcc_no_link = xyes; then
41259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41260 fi
41261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41262 /* end confdefs.h. */
41263 #include <stdlib.h>
41264 #include <iconv.h>
41265 int
41266 main ()
41267 {
41268 iconv_t cd = iconv_open("","");
41269 iconv(cd,NULL,NULL,NULL,NULL);
41270 iconv_close(cd);
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 if ac_fn_c_try_link "$LINENO"; then :
41276 INCICONV="-I../libiconv/include"
41277 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41278 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41279 am_cv_lib_iconv=yes
41280 am_cv_func_iconv=yes
41281 fi
41282 rm -f core conftest.err conftest.$ac_objext \
41283 conftest$ac_exeext conftest.$ac_ext
41284 CPPFLAGS="$am_save_CPPFLAGS"
41285 LIBS="$am_save_LIBS"
41286 if test "$am_cv_func_iconv" = "yes"; then
41287 break
41288 fi
41289 done
41290 fi
41291
41292 if test "$am_cv_func_iconv" != yes; then
41293 am_save_CPPFLAGS="$CPPFLAGS"
41294 am_save_LIBS="$LIBS"
41295 CPPFLAGS="$CPPFLAGS $INCICONV"
41296 LIBS="$LIBS $LIBICONV"
41297 if test x$gcc_no_link = xyes; then
41298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41299 fi
41300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41301 /* end confdefs.h. */
41302 #include <stdlib.h>
41303 #include <iconv.h>
41304 int
41305 main ()
41306 {
41307 iconv_t cd = iconv_open("","");
41308 iconv(cd,NULL,NULL,NULL,NULL);
41309 iconv_close(cd);
41310 ;
41311 return 0;
41312 }
41313 _ACEOF
41314 if ac_fn_c_try_link "$LINENO"; then :
41315 am_cv_lib_iconv=yes
41316 am_cv_func_iconv=yes
41317 fi
41318 rm -f core conftest.err conftest.$ac_objext \
41319 conftest$ac_exeext conftest.$ac_ext
41320 CPPFLAGS="$am_save_CPPFLAGS"
41321 LIBS="$am_save_LIBS"
41322 fi
41323
41324 fi
41325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41326 $as_echo "$am_cv_func_iconv" >&6; }
41327 if test "$am_cv_func_iconv" = yes; then
41328
41329 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41330
41331 fi
41332 if test "$am_cv_lib_iconv" = yes; then
41333
41334 for element in $INCICONV; do
41335 haveit=
41336 for x in $CPPFLAGS; do
41337
41338 acl_save_prefix="$prefix"
41339 prefix="$acl_final_prefix"
41340 acl_save_exec_prefix="$exec_prefix"
41341 exec_prefix="$acl_final_exec_prefix"
41342 eval x=\"$x\"
41343 exec_prefix="$acl_save_exec_prefix"
41344 prefix="$acl_save_prefix"
41345
41346 if test "X$x" = "X$element"; then
41347 haveit=yes
41348 break
41349 fi
41350 done
41351 if test -z "$haveit"; then
41352 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41353 fi
41354 done
41355
41356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41357 $as_echo_n "checking how to link with libiconv... " >&6; }
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41359 $as_echo "$LIBICONV" >&6; }
41360 else
41361 LIBICONV=
41362 LTLIBICONV=
41363 fi
41364
41365
41366
41367 if test "$am_cv_func_iconv" = yes; then
41368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41369 $as_echo_n "checking for iconv declaration... " >&6; }
41370 if ${am_cv_proto_iconv+:} false; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41373
41374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375 /* end confdefs.h. */
41376
41377 #include <stdlib.h>
41378 #include <iconv.h>
41379 extern
41380 #ifdef __cplusplus
41381 "C"
41382 #endif
41383 #if defined(__STDC__) || defined(__cplusplus)
41384 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41385 #else
41386 size_t iconv();
41387 #endif
41388
41389 int
41390 main ()
41391 {
41392
41393 ;
41394 return 0;
41395 }
41396 _ACEOF
41397 if ac_fn_c_try_compile "$LINENO"; then :
41398 am_cv_proto_iconv_arg1=""
41399 else
41400 am_cv_proto_iconv_arg1="const"
41401 fi
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403 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);"
41404 fi
41405
41406 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41408 }$am_cv_proto_iconv" >&5
41409 $as_echo "${ac_t:-
41410 }$am_cv_proto_iconv" >&6; }
41411
41412 cat >>confdefs.h <<_ACEOF
41413 #define ICONV_CONST $am_cv_proto_iconv_arg1
41414 _ACEOF
41415
41416 fi
41417
41418
41419 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41420
41421 ;;
41422
41423 *-darwin*)
41424 # Darwin versions vary, but the linker should work in a cross environment,
41425 # so we just check for all the features here.
41426 # Check for available headers.
41427
41428 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41429
41430 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41431 ac_save_CXXFLAGS="$CXXFLAGS"
41432 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41433
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41435 $as_echo_n "checking for sin in -lm... " >&6; }
41436 if ${ac_cv_lib_m_sin+:} false; then :
41437 $as_echo_n "(cached) " >&6
41438 else
41439 ac_check_lib_save_LIBS=$LIBS
41440 LIBS="-lm $LIBS"
41441 if test x$gcc_no_link = xyes; then
41442 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41443 fi
41444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41445 /* end confdefs.h. */
41446
41447 /* Override any GCC internal prototype to avoid an error.
41448 Use char because int might match the return type of a GCC
41449 builtin and then its argument prototype would still apply. */
41450 #ifdef __cplusplus
41451 extern "C"
41452 #endif
41453 char sin ();
41454 int
41455 main ()
41456 {
41457 return sin ();
41458 ;
41459 return 0;
41460 }
41461 _ACEOF
41462 if ac_fn_c_try_link "$LINENO"; then :
41463 ac_cv_lib_m_sin=yes
41464 else
41465 ac_cv_lib_m_sin=no
41466 fi
41467 rm -f core conftest.err conftest.$ac_objext \
41468 conftest$ac_exeext conftest.$ac_ext
41469 LIBS=$ac_check_lib_save_LIBS
41470 fi
41471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41472 $as_echo "$ac_cv_lib_m_sin" >&6; }
41473 if test "x$ac_cv_lib_m_sin" = xyes; then :
41474 libm="-lm"
41475 fi
41476
41477 ac_save_LIBS="$LIBS"
41478 LIBS="$LIBS $libm"
41479
41480
41481
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41483 $as_echo_n "checking for isinf declaration... " >&6; }
41484 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41485 if ${glibcxx_cv_func_isinf_use+:} false; then :
41486 $as_echo_n "(cached) " >&6
41487 else
41488
41489
41490 ac_ext=cpp
41491 ac_cpp='$CXXCPP $CPPFLAGS'
41492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41495
41496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41497 /* end confdefs.h. */
41498 #include <math.h>
41499 #ifdef HAVE_IEEEFP_H
41500 #include <ieeefp.h>
41501 #endif
41502
41503 int
41504 main ()
41505 {
41506 isinf(0);
41507 ;
41508 return 0;
41509 }
41510 _ACEOF
41511 if ac_fn_cxx_try_compile "$LINENO"; then :
41512 glibcxx_cv_func_isinf_use=yes
41513 else
41514 glibcxx_cv_func_isinf_use=no
41515 fi
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517 ac_ext=c
41518 ac_cpp='$CPP $CPPFLAGS'
41519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41522
41523
41524 fi
41525
41526 fi
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41528 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41529
41530 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41531 for ac_func in isinf
41532 do :
41533 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41534 if test "x$ac_cv_func_isinf" = xyes; then :
41535 cat >>confdefs.h <<_ACEOF
41536 #define HAVE_ISINF 1
41537 _ACEOF
41538
41539 fi
41540 done
41541
41542 else
41543
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41545 $as_echo_n "checking for _isinf declaration... " >&6; }
41546 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41547 if ${glibcxx_cv_func__isinf_use+:} false; then :
41548 $as_echo_n "(cached) " >&6
41549 else
41550
41551
41552 ac_ext=cpp
41553 ac_cpp='$CXXCPP $CPPFLAGS'
41554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41557
41558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559 /* end confdefs.h. */
41560 #include <math.h>
41561 #ifdef HAVE_IEEEFP_H
41562 #include <ieeefp.h>
41563 #endif
41564
41565 int
41566 main ()
41567 {
41568 _isinf(0);
41569 ;
41570 return 0;
41571 }
41572 _ACEOF
41573 if ac_fn_cxx_try_compile "$LINENO"; then :
41574 glibcxx_cv_func__isinf_use=yes
41575 else
41576 glibcxx_cv_func__isinf_use=no
41577 fi
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579 ac_ext=c
41580 ac_cpp='$CPP $CPPFLAGS'
41581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41584
41585
41586 fi
41587
41588 fi
41589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41590 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41591
41592 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41593 for ac_func in _isinf
41594 do :
41595 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41596 if test "x$ac_cv_func__isinf" = xyes; then :
41597 cat >>confdefs.h <<_ACEOF
41598 #define HAVE__ISINF 1
41599 _ACEOF
41600
41601 fi
41602 done
41603
41604 fi
41605 fi
41606
41607
41608
41609
41610
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41612 $as_echo_n "checking for isnan declaration... " >&6; }
41613 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41614 if ${glibcxx_cv_func_isnan_use+:} false; then :
41615 $as_echo_n "(cached) " >&6
41616 else
41617
41618
41619 ac_ext=cpp
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41624
41625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41626 /* end confdefs.h. */
41627 #include <math.h>
41628 #ifdef HAVE_IEEEFP_H
41629 #include <ieeefp.h>
41630 #endif
41631
41632 int
41633 main ()
41634 {
41635 isnan(0);
41636 ;
41637 return 0;
41638 }
41639 _ACEOF
41640 if ac_fn_cxx_try_compile "$LINENO"; then :
41641 glibcxx_cv_func_isnan_use=yes
41642 else
41643 glibcxx_cv_func_isnan_use=no
41644 fi
41645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41646 ac_ext=c
41647 ac_cpp='$CPP $CPPFLAGS'
41648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41651
41652
41653 fi
41654
41655 fi
41656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41657 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41658
41659 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41660 for ac_func in isnan
41661 do :
41662 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41663 if test "x$ac_cv_func_isnan" = xyes; then :
41664 cat >>confdefs.h <<_ACEOF
41665 #define HAVE_ISNAN 1
41666 _ACEOF
41667
41668 fi
41669 done
41670
41671 else
41672
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41674 $as_echo_n "checking for _isnan declaration... " >&6; }
41675 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41676 if ${glibcxx_cv_func__isnan_use+:} false; then :
41677 $as_echo_n "(cached) " >&6
41678 else
41679
41680
41681 ac_ext=cpp
41682 ac_cpp='$CXXCPP $CPPFLAGS'
41683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41686
41687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41688 /* end confdefs.h. */
41689 #include <math.h>
41690 #ifdef HAVE_IEEEFP_H
41691 #include <ieeefp.h>
41692 #endif
41693
41694 int
41695 main ()
41696 {
41697 _isnan(0);
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__isnan_use=yes
41704 else
41705 glibcxx_cv_func__isnan_use=no
41706 fi
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41713
41714
41715 fi
41716
41717 fi
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41719 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41720
41721 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41722 for ac_func in _isnan
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41725 if test "x$ac_cv_func__isnan" = xyes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__ISNAN 1
41728 _ACEOF
41729
41730 fi
41731 done
41732
41733 fi
41734 fi
41735
41736
41737
41738
41739
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41741 $as_echo_n "checking for finite declaration... " >&6; }
41742 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41743 if ${glibcxx_cv_func_finite_use+:} false; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41746
41747
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41757 #ifdef HAVE_IEEEFP_H
41758 #include <ieeefp.h>
41759 #endif
41760
41761 int
41762 main ()
41763 {
41764 finite(0);
41765 ;
41766 return 0;
41767 }
41768 _ACEOF
41769 if ac_fn_cxx_try_compile "$LINENO"; then :
41770 glibcxx_cv_func_finite_use=yes
41771 else
41772 glibcxx_cv_func_finite_use=no
41773 fi
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41775 ac_ext=c
41776 ac_cpp='$CPP $CPPFLAGS'
41777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41780
41781
41782 fi
41783
41784 fi
41785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41786 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41787
41788 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41789 for ac_func in finite
41790 do :
41791 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41792 if test "x$ac_cv_func_finite" = xyes; then :
41793 cat >>confdefs.h <<_ACEOF
41794 #define HAVE_FINITE 1
41795 _ACEOF
41796
41797 fi
41798 done
41799
41800 else
41801
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41803 $as_echo_n "checking for _finite declaration... " >&6; }
41804 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41805 if ${glibcxx_cv_func__finite_use+:} false; then :
41806 $as_echo_n "(cached) " >&6
41807 else
41808
41809
41810 ac_ext=cpp
41811 ac_cpp='$CXXCPP $CPPFLAGS'
41812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41815
41816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41817 /* end confdefs.h. */
41818 #include <math.h>
41819 #ifdef HAVE_IEEEFP_H
41820 #include <ieeefp.h>
41821 #endif
41822
41823 int
41824 main ()
41825 {
41826 _finite(0);
41827 ;
41828 return 0;
41829 }
41830 _ACEOF
41831 if ac_fn_cxx_try_compile "$LINENO"; then :
41832 glibcxx_cv_func__finite_use=yes
41833 else
41834 glibcxx_cv_func__finite_use=no
41835 fi
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837 ac_ext=c
41838 ac_cpp='$CPP $CPPFLAGS'
41839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41842
41843
41844 fi
41845
41846 fi
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41848 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41849
41850 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41851 for ac_func in _finite
41852 do :
41853 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41854 if test "x$ac_cv_func__finite" = xyes; then :
41855 cat >>confdefs.h <<_ACEOF
41856 #define HAVE__FINITE 1
41857 _ACEOF
41858
41859 fi
41860 done
41861
41862 fi
41863 fi
41864
41865
41866
41867
41868
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41870 $as_echo_n "checking for sincos declaration... " >&6; }
41871 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41872 if ${glibcxx_cv_func_sincos_use+:} false; then :
41873 $as_echo_n "(cached) " >&6
41874 else
41875
41876
41877 ac_ext=cpp
41878 ac_cpp='$CXXCPP $CPPFLAGS'
41879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41882
41883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41884 /* end confdefs.h. */
41885 #include <math.h>
41886 int
41887 main ()
41888 {
41889 sincos(0, 0, 0);
41890 ;
41891 return 0;
41892 }
41893 _ACEOF
41894 if ac_fn_cxx_try_compile "$LINENO"; then :
41895 glibcxx_cv_func_sincos_use=yes
41896 else
41897 glibcxx_cv_func_sincos_use=no
41898 fi
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900 ac_ext=c
41901 ac_cpp='$CPP $CPPFLAGS'
41902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41905
41906
41907 fi
41908
41909 fi
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41911 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41912
41913 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41914 for ac_func in sincos
41915 do :
41916 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41917 if test "x$ac_cv_func_sincos" = xyes; then :
41918 cat >>confdefs.h <<_ACEOF
41919 #define HAVE_SINCOS 1
41920 _ACEOF
41921
41922 fi
41923 done
41924
41925 else
41926
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41928 $as_echo_n "checking for _sincos declaration... " >&6; }
41929 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41930 if ${glibcxx_cv_func__sincos_use+:} false; then :
41931 $as_echo_n "(cached) " >&6
41932 else
41933
41934
41935 ac_ext=cpp
41936 ac_cpp='$CXXCPP $CPPFLAGS'
41937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41940
41941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41942 /* end confdefs.h. */
41943 #include <math.h>
41944 int
41945 main ()
41946 {
41947 _sincos(0, 0, 0);
41948 ;
41949 return 0;
41950 }
41951 _ACEOF
41952 if ac_fn_cxx_try_compile "$LINENO"; then :
41953 glibcxx_cv_func__sincos_use=yes
41954 else
41955 glibcxx_cv_func__sincos_use=no
41956 fi
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958 ac_ext=c
41959 ac_cpp='$CPP $CPPFLAGS'
41960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41963
41964
41965 fi
41966
41967 fi
41968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41969 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41970
41971 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41972 for ac_func in _sincos
41973 do :
41974 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41975 if test "x$ac_cv_func__sincos" = xyes; then :
41976 cat >>confdefs.h <<_ACEOF
41977 #define HAVE__SINCOS 1
41978 _ACEOF
41979
41980 fi
41981 done
41982
41983 fi
41984 fi
41985
41986
41987
41988
41989
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41991 $as_echo_n "checking for fpclass declaration... " >&6; }
41992 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41993 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41994 $as_echo_n "(cached) " >&6
41995 else
41996
41997
41998 ac_ext=cpp
41999 ac_cpp='$CXXCPP $CPPFLAGS'
42000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42003
42004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42005 /* end confdefs.h. */
42006 #include <math.h>
42007 #ifdef HAVE_IEEEFP_H
42008 #include <ieeefp.h>
42009 #endif
42010
42011 int
42012 main ()
42013 {
42014 fpclass(0);
42015 ;
42016 return 0;
42017 }
42018 _ACEOF
42019 if ac_fn_cxx_try_compile "$LINENO"; then :
42020 glibcxx_cv_func_fpclass_use=yes
42021 else
42022 glibcxx_cv_func_fpclass_use=no
42023 fi
42024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42025 ac_ext=c
42026 ac_cpp='$CPP $CPPFLAGS'
42027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42030
42031
42032 fi
42033
42034 fi
42035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42036 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42037
42038 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42039 for ac_func in fpclass
42040 do :
42041 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42042 if test "x$ac_cv_func_fpclass" = xyes; then :
42043 cat >>confdefs.h <<_ACEOF
42044 #define HAVE_FPCLASS 1
42045 _ACEOF
42046
42047 fi
42048 done
42049
42050 else
42051
42052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42053 $as_echo_n "checking for _fpclass declaration... " >&6; }
42054 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42055 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42056 $as_echo_n "(cached) " >&6
42057 else
42058
42059
42060 ac_ext=cpp
42061 ac_cpp='$CXXCPP $CPPFLAGS'
42062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42065
42066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42067 /* end confdefs.h. */
42068 #include <math.h>
42069 #ifdef HAVE_IEEEFP_H
42070 #include <ieeefp.h>
42071 #endif
42072
42073 int
42074 main ()
42075 {
42076 _fpclass(0);
42077 ;
42078 return 0;
42079 }
42080 _ACEOF
42081 if ac_fn_cxx_try_compile "$LINENO"; then :
42082 glibcxx_cv_func__fpclass_use=yes
42083 else
42084 glibcxx_cv_func__fpclass_use=no
42085 fi
42086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42087 ac_ext=c
42088 ac_cpp='$CPP $CPPFLAGS'
42089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42092
42093
42094 fi
42095
42096 fi
42097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42098 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42099
42100 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42101 for ac_func in _fpclass
42102 do :
42103 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42104 if test "x$ac_cv_func__fpclass" = xyes; then :
42105 cat >>confdefs.h <<_ACEOF
42106 #define HAVE__FPCLASS 1
42107 _ACEOF
42108
42109 fi
42110 done
42111
42112 fi
42113 fi
42114
42115
42116
42117
42118
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42120 $as_echo_n "checking for qfpclass declaration... " >&6; }
42121 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42122 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42123 $as_echo_n "(cached) " >&6
42124 else
42125
42126
42127 ac_ext=cpp
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42132
42133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42134 /* end confdefs.h. */
42135 #include <math.h>
42136 #ifdef HAVE_IEEEFP_H
42137 #include <ieeefp.h>
42138 #endif
42139
42140 int
42141 main ()
42142 {
42143 qfpclass(0);
42144 ;
42145 return 0;
42146 }
42147 _ACEOF
42148 if ac_fn_cxx_try_compile "$LINENO"; then :
42149 glibcxx_cv_func_qfpclass_use=yes
42150 else
42151 glibcxx_cv_func_qfpclass_use=no
42152 fi
42153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42154 ac_ext=c
42155 ac_cpp='$CPP $CPPFLAGS'
42156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42159
42160
42161 fi
42162
42163 fi
42164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42165 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42166
42167 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42168 for ac_func in qfpclass
42169 do :
42170 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42171 if test "x$ac_cv_func_qfpclass" = xyes; then :
42172 cat >>confdefs.h <<_ACEOF
42173 #define HAVE_QFPCLASS 1
42174 _ACEOF
42175
42176 fi
42177 done
42178
42179 else
42180
42181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42182 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42183 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42184 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42185 $as_echo_n "(cached) " >&6
42186 else
42187
42188
42189 ac_ext=cpp
42190 ac_cpp='$CXXCPP $CPPFLAGS'
42191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42194
42195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42196 /* end confdefs.h. */
42197 #include <math.h>
42198 #ifdef HAVE_IEEEFP_H
42199 #include <ieeefp.h>
42200 #endif
42201
42202 int
42203 main ()
42204 {
42205 _qfpclass(0);
42206 ;
42207 return 0;
42208 }
42209 _ACEOF
42210 if ac_fn_cxx_try_compile "$LINENO"; then :
42211 glibcxx_cv_func__qfpclass_use=yes
42212 else
42213 glibcxx_cv_func__qfpclass_use=no
42214 fi
42215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42216 ac_ext=c
42217 ac_cpp='$CPP $CPPFLAGS'
42218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42221
42222
42223 fi
42224
42225 fi
42226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42227 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42228
42229 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42230 for ac_func in _qfpclass
42231 do :
42232 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42233 if test "x$ac_cv_func__qfpclass" = xyes; then :
42234 cat >>confdefs.h <<_ACEOF
42235 #define HAVE__QFPCLASS 1
42236 _ACEOF
42237
42238 fi
42239 done
42240
42241 fi
42242 fi
42243
42244
42245
42246
42247
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42249 $as_echo_n "checking for hypot declaration... " >&6; }
42250 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42251 if ${glibcxx_cv_func_hypot_use+:} false; then :
42252 $as_echo_n "(cached) " >&6
42253 else
42254
42255
42256 ac_ext=cpp
42257 ac_cpp='$CXXCPP $CPPFLAGS'
42258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42261
42262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42263 /* end confdefs.h. */
42264 #include <math.h>
42265 int
42266 main ()
42267 {
42268 hypot(0, 0);
42269 ;
42270 return 0;
42271 }
42272 _ACEOF
42273 if ac_fn_cxx_try_compile "$LINENO"; then :
42274 glibcxx_cv_func_hypot_use=yes
42275 else
42276 glibcxx_cv_func_hypot_use=no
42277 fi
42278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42279 ac_ext=c
42280 ac_cpp='$CPP $CPPFLAGS'
42281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42284
42285
42286 fi
42287
42288 fi
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42290 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42291
42292 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42293 for ac_func in hypot
42294 do :
42295 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42296 if test "x$ac_cv_func_hypot" = xyes; then :
42297 cat >>confdefs.h <<_ACEOF
42298 #define HAVE_HYPOT 1
42299 _ACEOF
42300
42301 fi
42302 done
42303
42304 else
42305
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42307 $as_echo_n "checking for _hypot declaration... " >&6; }
42308 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42309 if ${glibcxx_cv_func__hypot_use+:} false; then :
42310 $as_echo_n "(cached) " >&6
42311 else
42312
42313
42314 ac_ext=cpp
42315 ac_cpp='$CXXCPP $CPPFLAGS'
42316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42319
42320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42321 /* end confdefs.h. */
42322 #include <math.h>
42323 int
42324 main ()
42325 {
42326 _hypot(0, 0);
42327 ;
42328 return 0;
42329 }
42330 _ACEOF
42331 if ac_fn_cxx_try_compile "$LINENO"; then :
42332 glibcxx_cv_func__hypot_use=yes
42333 else
42334 glibcxx_cv_func__hypot_use=no
42335 fi
42336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42337 ac_ext=c
42338 ac_cpp='$CPP $CPPFLAGS'
42339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42342
42343
42344 fi
42345
42346 fi
42347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42348 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42349
42350 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42351 for ac_func in _hypot
42352 do :
42353 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42354 if test "x$ac_cv_func__hypot" = xyes; then :
42355 cat >>confdefs.h <<_ACEOF
42356 #define HAVE__HYPOT 1
42357 _ACEOF
42358
42359 fi
42360 done
42361
42362 fi
42363 fi
42364
42365
42366
42367
42368
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42370 $as_echo_n "checking for float trig functions... " >&6; }
42371 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42372 $as_echo_n "(cached) " >&6
42373 else
42374
42375
42376 ac_ext=cpp
42377 ac_cpp='$CXXCPP $CPPFLAGS'
42378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42381
42382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42383 /* end confdefs.h. */
42384 #include <math.h>
42385 int
42386 main ()
42387 {
42388 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42389 ;
42390 return 0;
42391 }
42392 _ACEOF
42393 if ac_fn_cxx_try_compile "$LINENO"; then :
42394 glibcxx_cv_func_float_trig_use=yes
42395 else
42396 glibcxx_cv_func_float_trig_use=no
42397 fi
42398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 ac_ext=c
42400 ac_cpp='$CPP $CPPFLAGS'
42401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42404
42405 fi
42406
42407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42408 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42409 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42410 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42411 do :
42412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42415 cat >>confdefs.h <<_ACEOF
42416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42417 _ACEOF
42418
42419 fi
42420 done
42421
42422 else
42423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42424 $as_echo_n "checking for _float trig functions... " >&6; }
42425 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42426 $as_echo_n "(cached) " >&6
42427 else
42428
42429
42430 ac_ext=cpp
42431 ac_cpp='$CXXCPP $CPPFLAGS'
42432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435
42436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 /* end confdefs.h. */
42438 #include <math.h>
42439 int
42440 main ()
42441 {
42442 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42443 ;
42444 return 0;
42445 }
42446 _ACEOF
42447 if ac_fn_cxx_try_compile "$LINENO"; then :
42448 glibcxx_cv_func__float_trig_use=yes
42449 else
42450 glibcxx_cv_func__float_trig_use=no
42451 fi
42452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453 ac_ext=c
42454 ac_cpp='$CPP $CPPFLAGS'
42455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42458
42459 fi
42460
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42462 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42463 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42464 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42465 do :
42466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42468 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42472
42473 fi
42474 done
42475
42476 fi
42477 fi
42478
42479
42480
42481
42482
42483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42484 $as_echo_n "checking for float round functions... " >&6; }
42485 if ${glibcxx_cv_func_float_round_use+:} false; then :
42486 $as_echo_n "(cached) " >&6
42487 else
42488
42489
42490 ac_ext=cpp
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495
42496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42497 /* end confdefs.h. */
42498 #include <math.h>
42499 int
42500 main ()
42501 {
42502 ceilf (0); floorf (0);
42503 ;
42504 return 0;
42505 }
42506 _ACEOF
42507 if ac_fn_cxx_try_compile "$LINENO"; then :
42508 glibcxx_cv_func_float_round_use=yes
42509 else
42510 glibcxx_cv_func_float_round_use=no
42511 fi
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42518
42519 fi
42520
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42522 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42523 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42524 for ac_func in ceilf floorf
42525 do :
42526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42528 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42529 cat >>confdefs.h <<_ACEOF
42530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42531 _ACEOF
42532
42533 fi
42534 done
42535
42536 else
42537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42538 $as_echo_n "checking for _float round functions... " >&6; }
42539 if ${glibcxx_cv_func__float_round_use+:} false; then :
42540 $as_echo_n "(cached) " >&6
42541 else
42542
42543
42544 ac_ext=cpp
42545 ac_cpp='$CXXCPP $CPPFLAGS'
42546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42549
42550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42551 /* end confdefs.h. */
42552 #include <math.h>
42553 int
42554 main ()
42555 {
42556 _ceilf (0); _floorf (0);
42557 ;
42558 return 0;
42559 }
42560 _ACEOF
42561 if ac_fn_cxx_try_compile "$LINENO"; then :
42562 glibcxx_cv_func__float_round_use=yes
42563 else
42564 glibcxx_cv_func__float_round_use=no
42565 fi
42566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42567 ac_ext=c
42568 ac_cpp='$CPP $CPPFLAGS'
42569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572
42573 fi
42574
42575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42576 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42577 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42578 for ac_func in _ceilf _floorf
42579 do :
42580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42583 cat >>confdefs.h <<_ACEOF
42584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42585 _ACEOF
42586
42587 fi
42588 done
42589
42590 fi
42591 fi
42592
42593
42594
42595
42596
42597
42598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42599 $as_echo_n "checking for expf declaration... " >&6; }
42600 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42601 if ${glibcxx_cv_func_expf_use+:} false; then :
42602 $as_echo_n "(cached) " >&6
42603 else
42604
42605
42606 ac_ext=cpp
42607 ac_cpp='$CXXCPP $CPPFLAGS'
42608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42611
42612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42613 /* end confdefs.h. */
42614 #include <math.h>
42615 #ifdef HAVE_IEEEFP_H
42616 #include <ieeefp.h>
42617 #endif
42618
42619 int
42620 main ()
42621 {
42622 expf(0);
42623 ;
42624 return 0;
42625 }
42626 _ACEOF
42627 if ac_fn_cxx_try_compile "$LINENO"; then :
42628 glibcxx_cv_func_expf_use=yes
42629 else
42630 glibcxx_cv_func_expf_use=no
42631 fi
42632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42633 ac_ext=c
42634 ac_cpp='$CPP $CPPFLAGS'
42635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42638
42639
42640 fi
42641
42642 fi
42643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42644 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42645
42646 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42647 for ac_func in expf
42648 do :
42649 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42650 if test "x$ac_cv_func_expf" = xyes; then :
42651 cat >>confdefs.h <<_ACEOF
42652 #define HAVE_EXPF 1
42653 _ACEOF
42654
42655 fi
42656 done
42657
42658 else
42659
42660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42661 $as_echo_n "checking for _expf declaration... " >&6; }
42662 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42663 if ${glibcxx_cv_func__expf_use+:} false; then :
42664 $as_echo_n "(cached) " >&6
42665 else
42666
42667
42668 ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42673
42674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h. */
42676 #include <math.h>
42677 #ifdef HAVE_IEEEFP_H
42678 #include <ieeefp.h>
42679 #endif
42680
42681 int
42682 main ()
42683 {
42684 _expf(0);
42685 ;
42686 return 0;
42687 }
42688 _ACEOF
42689 if ac_fn_cxx_try_compile "$LINENO"; then :
42690 glibcxx_cv_func__expf_use=yes
42691 else
42692 glibcxx_cv_func__expf_use=no
42693 fi
42694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42695 ac_ext=c
42696 ac_cpp='$CPP $CPPFLAGS'
42697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42700
42701
42702 fi
42703
42704 fi
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42706 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42707
42708 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42709 for ac_func in _expf
42710 do :
42711 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42712 if test "x$ac_cv_func__expf" = xyes; then :
42713 cat >>confdefs.h <<_ACEOF
42714 #define HAVE__EXPF 1
42715 _ACEOF
42716
42717 fi
42718 done
42719
42720 fi
42721 fi
42722
42723
42724
42725
42726
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42728 $as_echo_n "checking for isnanf declaration... " >&6; }
42729 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42730 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42731 $as_echo_n "(cached) " >&6
42732 else
42733
42734
42735 ac_ext=cpp
42736 ac_cpp='$CXXCPP $CPPFLAGS'
42737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42740
42741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42742 /* end confdefs.h. */
42743 #include <math.h>
42744 #ifdef HAVE_IEEEFP_H
42745 #include <ieeefp.h>
42746 #endif
42747
42748 int
42749 main ()
42750 {
42751 isnanf(0);
42752 ;
42753 return 0;
42754 }
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func_isnanf_use=yes
42758 else
42759 glibcxx_cv_func_isnanf_use=no
42760 fi
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42767
42768
42769 fi
42770
42771 fi
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42773 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42774
42775 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42776 for ac_func in isnanf
42777 do :
42778 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42779 if test "x$ac_cv_func_isnanf" = xyes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE_ISNANF 1
42782 _ACEOF
42783
42784 fi
42785 done
42786
42787 else
42788
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42790 $as_echo_n "checking for _isnanf declaration... " >&6; }
42791 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42792 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42793 $as_echo_n "(cached) " >&6
42794 else
42795
42796
42797 ac_ext=cpp
42798 ac_cpp='$CXXCPP $CPPFLAGS'
42799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42802
42803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42804 /* end confdefs.h. */
42805 #include <math.h>
42806 #ifdef HAVE_IEEEFP_H
42807 #include <ieeefp.h>
42808 #endif
42809
42810 int
42811 main ()
42812 {
42813 _isnanf(0);
42814 ;
42815 return 0;
42816 }
42817 _ACEOF
42818 if ac_fn_cxx_try_compile "$LINENO"; then :
42819 glibcxx_cv_func__isnanf_use=yes
42820 else
42821 glibcxx_cv_func__isnanf_use=no
42822 fi
42823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 ac_ext=c
42825 ac_cpp='$CPP $CPPFLAGS'
42826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42829
42830
42831 fi
42832
42833 fi
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42835 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42836
42837 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42838 for ac_func in _isnanf
42839 do :
42840 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42841 if test "x$ac_cv_func__isnanf" = xyes; then :
42842 cat >>confdefs.h <<_ACEOF
42843 #define HAVE__ISNANF 1
42844 _ACEOF
42845
42846 fi
42847 done
42848
42849 fi
42850 fi
42851
42852
42853
42854
42855
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42857 $as_echo_n "checking for isinff declaration... " >&6; }
42858 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42859 if ${glibcxx_cv_func_isinff_use+:} false; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42862
42863
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42869
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42876
42877 int
42878 main ()
42879 {
42880 isinff(0);
42881 ;
42882 return 0;
42883 }
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func_isinff_use=yes
42887 else
42888 glibcxx_cv_func_isinff_use=no
42889 fi
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42896
42897
42898 fi
42899
42900 fi
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42902 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42903
42904 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42905 for ac_func in isinff
42906 do :
42907 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42908 if test "x$ac_cv_func_isinff" = xyes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE_ISINFF 1
42911 _ACEOF
42912
42913 fi
42914 done
42915
42916 else
42917
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42919 $as_echo_n "checking for _isinff declaration... " >&6; }
42920 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42921 if ${glibcxx_cv_func__isinff_use+:} false; then :
42922 $as_echo_n "(cached) " >&6
42923 else
42924
42925
42926 ac_ext=cpp
42927 ac_cpp='$CXXCPP $CPPFLAGS'
42928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42931
42932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42933 /* end confdefs.h. */
42934 #include <math.h>
42935 #ifdef HAVE_IEEEFP_H
42936 #include <ieeefp.h>
42937 #endif
42938
42939 int
42940 main ()
42941 {
42942 _isinff(0);
42943 ;
42944 return 0;
42945 }
42946 _ACEOF
42947 if ac_fn_cxx_try_compile "$LINENO"; then :
42948 glibcxx_cv_func__isinff_use=yes
42949 else
42950 glibcxx_cv_func__isinff_use=no
42951 fi
42952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_ext=c
42954 ac_cpp='$CPP $CPPFLAGS'
42955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42958
42959
42960 fi
42961
42962 fi
42963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42964 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42965
42966 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42967 for ac_func in _isinff
42968 do :
42969 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42970 if test "x$ac_cv_func__isinff" = xyes; then :
42971 cat >>confdefs.h <<_ACEOF
42972 #define HAVE__ISINFF 1
42973 _ACEOF
42974
42975 fi
42976 done
42977
42978 fi
42979 fi
42980
42981
42982
42983
42984
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42986 $as_echo_n "checking for atan2f declaration... " >&6; }
42987 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42988 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42989 $as_echo_n "(cached) " >&6
42990 else
42991
42992
42993 ac_ext=cpp
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42998
42999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43000 /* end confdefs.h. */
43001 #include <math.h>
43002 int
43003 main ()
43004 {
43005 atan2f(0, 0);
43006 ;
43007 return 0;
43008 }
43009 _ACEOF
43010 if ac_fn_cxx_try_compile "$LINENO"; then :
43011 glibcxx_cv_func_atan2f_use=yes
43012 else
43013 glibcxx_cv_func_atan2f_use=no
43014 fi
43015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43016 ac_ext=c
43017 ac_cpp='$CPP $CPPFLAGS'
43018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43021
43022
43023 fi
43024
43025 fi
43026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43027 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43028
43029 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43030 for ac_func in atan2f
43031 do :
43032 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43033 if test "x$ac_cv_func_atan2f" = xyes; then :
43034 cat >>confdefs.h <<_ACEOF
43035 #define HAVE_ATAN2F 1
43036 _ACEOF
43037
43038 fi
43039 done
43040
43041 else
43042
43043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43044 $as_echo_n "checking for _atan2f declaration... " >&6; }
43045 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43046 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43047 $as_echo_n "(cached) " >&6
43048 else
43049
43050
43051 ac_ext=cpp
43052 ac_cpp='$CXXCPP $CPPFLAGS'
43053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43056
43057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43058 /* end confdefs.h. */
43059 #include <math.h>
43060 int
43061 main ()
43062 {
43063 _atan2f(0, 0);
43064 ;
43065 return 0;
43066 }
43067 _ACEOF
43068 if ac_fn_cxx_try_compile "$LINENO"; then :
43069 glibcxx_cv_func__atan2f_use=yes
43070 else
43071 glibcxx_cv_func__atan2f_use=no
43072 fi
43073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43074 ac_ext=c
43075 ac_cpp='$CPP $CPPFLAGS'
43076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43079
43080
43081 fi
43082
43083 fi
43084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43085 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43086
43087 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43088 for ac_func in _atan2f
43089 do :
43090 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43091 if test "x$ac_cv_func__atan2f" = xyes; then :
43092 cat >>confdefs.h <<_ACEOF
43093 #define HAVE__ATAN2F 1
43094 _ACEOF
43095
43096 fi
43097 done
43098
43099 fi
43100 fi
43101
43102
43103
43104
43105
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43107 $as_echo_n "checking for fabsf declaration... " >&6; }
43108 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43109 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43112
43113
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43119
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 #ifdef HAVE_IEEEFP_H
43124 #include <ieeefp.h>
43125 #endif
43126
43127 int
43128 main ()
43129 {
43130 fabsf(0);
43131 ;
43132 return 0;
43133 }
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func_fabsf_use=yes
43137 else
43138 glibcxx_cv_func_fabsf_use=no
43139 fi
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43146
43147
43148 fi
43149
43150 fi
43151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43152 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43153
43154 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43155 for ac_func in fabsf
43156 do :
43157 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43158 if test "x$ac_cv_func_fabsf" = xyes; then :
43159 cat >>confdefs.h <<_ACEOF
43160 #define HAVE_FABSF 1
43161 _ACEOF
43162
43163 fi
43164 done
43165
43166 else
43167
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43169 $as_echo_n "checking for _fabsf declaration... " >&6; }
43170 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43171 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43172 $as_echo_n "(cached) " >&6
43173 else
43174
43175
43176 ac_ext=cpp
43177 ac_cpp='$CXXCPP $CPPFLAGS'
43178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43181
43182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43183 /* end confdefs.h. */
43184 #include <math.h>
43185 #ifdef HAVE_IEEEFP_H
43186 #include <ieeefp.h>
43187 #endif
43188
43189 int
43190 main ()
43191 {
43192 _fabsf(0);
43193 ;
43194 return 0;
43195 }
43196 _ACEOF
43197 if ac_fn_cxx_try_compile "$LINENO"; then :
43198 glibcxx_cv_func__fabsf_use=yes
43199 else
43200 glibcxx_cv_func__fabsf_use=no
43201 fi
43202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43203 ac_ext=c
43204 ac_cpp='$CPP $CPPFLAGS'
43205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43208
43209
43210 fi
43211
43212 fi
43213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43214 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43215
43216 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43217 for ac_func in _fabsf
43218 do :
43219 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43220 if test "x$ac_cv_func__fabsf" = xyes; then :
43221 cat >>confdefs.h <<_ACEOF
43222 #define HAVE__FABSF 1
43223 _ACEOF
43224
43225 fi
43226 done
43227
43228 fi
43229 fi
43230
43231
43232
43233
43234
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43236 $as_echo_n "checking for fmodf declaration... " >&6; }
43237 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43238 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43239 $as_echo_n "(cached) " >&6
43240 else
43241
43242
43243 ac_ext=cpp
43244 ac_cpp='$CXXCPP $CPPFLAGS'
43245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43248
43249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43250 /* end confdefs.h. */
43251 #include <math.h>
43252 int
43253 main ()
43254 {
43255 fmodf(0, 0);
43256 ;
43257 return 0;
43258 }
43259 _ACEOF
43260 if ac_fn_cxx_try_compile "$LINENO"; then :
43261 glibcxx_cv_func_fmodf_use=yes
43262 else
43263 glibcxx_cv_func_fmodf_use=no
43264 fi
43265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43266 ac_ext=c
43267 ac_cpp='$CPP $CPPFLAGS'
43268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43271
43272
43273 fi
43274
43275 fi
43276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43277 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43278
43279 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43280 for ac_func in fmodf
43281 do :
43282 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43283 if test "x$ac_cv_func_fmodf" = xyes; then :
43284 cat >>confdefs.h <<_ACEOF
43285 #define HAVE_FMODF 1
43286 _ACEOF
43287
43288 fi
43289 done
43290
43291 else
43292
43293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43294 $as_echo_n "checking for _fmodf declaration... " >&6; }
43295 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43296 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43297 $as_echo_n "(cached) " >&6
43298 else
43299
43300
43301 ac_ext=cpp
43302 ac_cpp='$CXXCPP $CPPFLAGS'
43303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43306
43307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43308 /* end confdefs.h. */
43309 #include <math.h>
43310 int
43311 main ()
43312 {
43313 _fmodf(0, 0);
43314 ;
43315 return 0;
43316 }
43317 _ACEOF
43318 if ac_fn_cxx_try_compile "$LINENO"; then :
43319 glibcxx_cv_func__fmodf_use=yes
43320 else
43321 glibcxx_cv_func__fmodf_use=no
43322 fi
43323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43324 ac_ext=c
43325 ac_cpp='$CPP $CPPFLAGS'
43326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43329
43330
43331 fi
43332
43333 fi
43334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43335 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43336
43337 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43338 for ac_func in _fmodf
43339 do :
43340 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43341 if test "x$ac_cv_func__fmodf" = xyes; then :
43342 cat >>confdefs.h <<_ACEOF
43343 #define HAVE__FMODF 1
43344 _ACEOF
43345
43346 fi
43347 done
43348
43349 fi
43350 fi
43351
43352
43353
43354
43355
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43357 $as_echo_n "checking for frexpf declaration... " >&6; }
43358 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43359 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43362
43363
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43369
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43373 int
43374 main ()
43375 {
43376 frexpf(0, 0);
43377 ;
43378 return 0;
43379 }
43380 _ACEOF
43381 if ac_fn_cxx_try_compile "$LINENO"; then :
43382 glibcxx_cv_func_frexpf_use=yes
43383 else
43384 glibcxx_cv_func_frexpf_use=no
43385 fi
43386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43387 ac_ext=c
43388 ac_cpp='$CPP $CPPFLAGS'
43389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43392
43393
43394 fi
43395
43396 fi
43397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43398 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43399
43400 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43401 for ac_func in frexpf
43402 do :
43403 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43404 if test "x$ac_cv_func_frexpf" = xyes; then :
43405 cat >>confdefs.h <<_ACEOF
43406 #define HAVE_FREXPF 1
43407 _ACEOF
43408
43409 fi
43410 done
43411
43412 else
43413
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43415 $as_echo_n "checking for _frexpf declaration... " >&6; }
43416 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43417 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43418 $as_echo_n "(cached) " >&6
43419 else
43420
43421
43422 ac_ext=cpp
43423 ac_cpp='$CXXCPP $CPPFLAGS'
43424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43427
43428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43429 /* end confdefs.h. */
43430 #include <math.h>
43431 int
43432 main ()
43433 {
43434 _frexpf(0, 0);
43435 ;
43436 return 0;
43437 }
43438 _ACEOF
43439 if ac_fn_cxx_try_compile "$LINENO"; then :
43440 glibcxx_cv_func__frexpf_use=yes
43441 else
43442 glibcxx_cv_func__frexpf_use=no
43443 fi
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450
43451
43452 fi
43453
43454 fi
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43456 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43457
43458 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43459 for ac_func in _frexpf
43460 do :
43461 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43462 if test "x$ac_cv_func__frexpf" = xyes; then :
43463 cat >>confdefs.h <<_ACEOF
43464 #define HAVE__FREXPF 1
43465 _ACEOF
43466
43467 fi
43468 done
43469
43470 fi
43471 fi
43472
43473
43474
43475
43476
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43478 $as_echo_n "checking for hypotf declaration... " >&6; }
43479 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43480 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43483
43484
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43490
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43494 int
43495 main ()
43496 {
43497 hypotf(0, 0);
43498 ;
43499 return 0;
43500 }
43501 _ACEOF
43502 if ac_fn_cxx_try_compile "$LINENO"; then :
43503 glibcxx_cv_func_hypotf_use=yes
43504 else
43505 glibcxx_cv_func_hypotf_use=no
43506 fi
43507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43513
43514
43515 fi
43516
43517 fi
43518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43519 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43520
43521 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43522 for ac_func in hypotf
43523 do :
43524 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43525 if test "x$ac_cv_func_hypotf" = xyes; then :
43526 cat >>confdefs.h <<_ACEOF
43527 #define HAVE_HYPOTF 1
43528 _ACEOF
43529
43530 fi
43531 done
43532
43533 else
43534
43535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43536 $as_echo_n "checking for _hypotf declaration... " >&6; }
43537 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43538 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43539 $as_echo_n "(cached) " >&6
43540 else
43541
43542
43543 ac_ext=cpp
43544 ac_cpp='$CXXCPP $CPPFLAGS'
43545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43548
43549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43550 /* end confdefs.h. */
43551 #include <math.h>
43552 int
43553 main ()
43554 {
43555 _hypotf(0, 0);
43556 ;
43557 return 0;
43558 }
43559 _ACEOF
43560 if ac_fn_cxx_try_compile "$LINENO"; then :
43561 glibcxx_cv_func__hypotf_use=yes
43562 else
43563 glibcxx_cv_func__hypotf_use=no
43564 fi
43565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43566 ac_ext=c
43567 ac_cpp='$CPP $CPPFLAGS'
43568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43571
43572
43573 fi
43574
43575 fi
43576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43577 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43578
43579 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43580 for ac_func in _hypotf
43581 do :
43582 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43583 if test "x$ac_cv_func__hypotf" = xyes; then :
43584 cat >>confdefs.h <<_ACEOF
43585 #define HAVE__HYPOTF 1
43586 _ACEOF
43587
43588 fi
43589 done
43590
43591 fi
43592 fi
43593
43594
43595
43596
43597
43598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43599 $as_echo_n "checking for ldexpf declaration... " >&6; }
43600 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43601 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43602 $as_echo_n "(cached) " >&6
43603 else
43604
43605
43606 ac_ext=cpp
43607 ac_cpp='$CXXCPP $CPPFLAGS'
43608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43611
43612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43613 /* end confdefs.h. */
43614 #include <math.h>
43615 int
43616 main ()
43617 {
43618 ldexpf(0, 0);
43619 ;
43620 return 0;
43621 }
43622 _ACEOF
43623 if ac_fn_cxx_try_compile "$LINENO"; then :
43624 glibcxx_cv_func_ldexpf_use=yes
43625 else
43626 glibcxx_cv_func_ldexpf_use=no
43627 fi
43628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43629 ac_ext=c
43630 ac_cpp='$CPP $CPPFLAGS'
43631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43634
43635
43636 fi
43637
43638 fi
43639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43640 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43641
43642 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43643 for ac_func in ldexpf
43644 do :
43645 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43646 if test "x$ac_cv_func_ldexpf" = xyes; then :
43647 cat >>confdefs.h <<_ACEOF
43648 #define HAVE_LDEXPF 1
43649 _ACEOF
43650
43651 fi
43652 done
43653
43654 else
43655
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43657 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43658 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43659 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43660 $as_echo_n "(cached) " >&6
43661 else
43662
43663
43664 ac_ext=cpp
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43669
43670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43671 /* end confdefs.h. */
43672 #include <math.h>
43673 int
43674 main ()
43675 {
43676 _ldexpf(0, 0);
43677 ;
43678 return 0;
43679 }
43680 _ACEOF
43681 if ac_fn_cxx_try_compile "$LINENO"; then :
43682 glibcxx_cv_func__ldexpf_use=yes
43683 else
43684 glibcxx_cv_func__ldexpf_use=no
43685 fi
43686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43687 ac_ext=c
43688 ac_cpp='$CPP $CPPFLAGS'
43689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43692
43693
43694 fi
43695
43696 fi
43697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43698 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43699
43700 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43701 for ac_func in _ldexpf
43702 do :
43703 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43704 if test "x$ac_cv_func__ldexpf" = xyes; then :
43705 cat >>confdefs.h <<_ACEOF
43706 #define HAVE__LDEXPF 1
43707 _ACEOF
43708
43709 fi
43710 done
43711
43712 fi
43713 fi
43714
43715
43716
43717
43718
43719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43720 $as_echo_n "checking for logf declaration... " >&6; }
43721 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43722 if ${glibcxx_cv_func_logf_use+:} false; then :
43723 $as_echo_n "(cached) " >&6
43724 else
43725
43726
43727 ac_ext=cpp
43728 ac_cpp='$CXXCPP $CPPFLAGS'
43729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43732
43733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43734 /* end confdefs.h. */
43735 #include <math.h>
43736 #ifdef HAVE_IEEEFP_H
43737 #include <ieeefp.h>
43738 #endif
43739
43740 int
43741 main ()
43742 {
43743 logf(0);
43744 ;
43745 return 0;
43746 }
43747 _ACEOF
43748 if ac_fn_cxx_try_compile "$LINENO"; then :
43749 glibcxx_cv_func_logf_use=yes
43750 else
43751 glibcxx_cv_func_logf_use=no
43752 fi
43753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43754 ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43759
43760
43761 fi
43762
43763 fi
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43765 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43766
43767 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43768 for ac_func in logf
43769 do :
43770 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43771 if test "x$ac_cv_func_logf" = xyes; then :
43772 cat >>confdefs.h <<_ACEOF
43773 #define HAVE_LOGF 1
43774 _ACEOF
43775
43776 fi
43777 done
43778
43779 else
43780
43781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43782 $as_echo_n "checking for _logf declaration... " >&6; }
43783 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43784 if ${glibcxx_cv_func__logf_use+:} false; then :
43785 $as_echo_n "(cached) " >&6
43786 else
43787
43788
43789 ac_ext=cpp
43790 ac_cpp='$CXXCPP $CPPFLAGS'
43791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43794
43795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43796 /* end confdefs.h. */
43797 #include <math.h>
43798 #ifdef HAVE_IEEEFP_H
43799 #include <ieeefp.h>
43800 #endif
43801
43802 int
43803 main ()
43804 {
43805 _logf(0);
43806 ;
43807 return 0;
43808 }
43809 _ACEOF
43810 if ac_fn_cxx_try_compile "$LINENO"; then :
43811 glibcxx_cv_func__logf_use=yes
43812 else
43813 glibcxx_cv_func__logf_use=no
43814 fi
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43816 ac_ext=c
43817 ac_cpp='$CPP $CPPFLAGS'
43818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43821
43822
43823 fi
43824
43825 fi
43826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43827 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43828
43829 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43830 for ac_func in _logf
43831 do :
43832 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43833 if test "x$ac_cv_func__logf" = xyes; then :
43834 cat >>confdefs.h <<_ACEOF
43835 #define HAVE__LOGF 1
43836 _ACEOF
43837
43838 fi
43839 done
43840
43841 fi
43842 fi
43843
43844
43845
43846
43847
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43849 $as_echo_n "checking for log10f declaration... " >&6; }
43850 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43851 if ${glibcxx_cv_func_log10f_use+:} false; then :
43852 $as_echo_n "(cached) " >&6
43853 else
43854
43855
43856 ac_ext=cpp
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43861
43862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43863 /* end confdefs.h. */
43864 #include <math.h>
43865 #ifdef HAVE_IEEEFP_H
43866 #include <ieeefp.h>
43867 #endif
43868
43869 int
43870 main ()
43871 {
43872 log10f(0);
43873 ;
43874 return 0;
43875 }
43876 _ACEOF
43877 if ac_fn_cxx_try_compile "$LINENO"; then :
43878 glibcxx_cv_func_log10f_use=yes
43879 else
43880 glibcxx_cv_func_log10f_use=no
43881 fi
43882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 ac_ext=c
43884 ac_cpp='$CPP $CPPFLAGS'
43885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43888
43889
43890 fi
43891
43892 fi
43893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43894 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43895
43896 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43897 for ac_func in log10f
43898 do :
43899 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43900 if test "x$ac_cv_func_log10f" = xyes; then :
43901 cat >>confdefs.h <<_ACEOF
43902 #define HAVE_LOG10F 1
43903 _ACEOF
43904
43905 fi
43906 done
43907
43908 else
43909
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43911 $as_echo_n "checking for _log10f declaration... " >&6; }
43912 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43913 if ${glibcxx_cv_func__log10f_use+:} false; then :
43914 $as_echo_n "(cached) " >&6
43915 else
43916
43917
43918 ac_ext=cpp
43919 ac_cpp='$CXXCPP $CPPFLAGS'
43920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43923
43924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43925 /* end confdefs.h. */
43926 #include <math.h>
43927 #ifdef HAVE_IEEEFP_H
43928 #include <ieeefp.h>
43929 #endif
43930
43931 int
43932 main ()
43933 {
43934 _log10f(0);
43935 ;
43936 return 0;
43937 }
43938 _ACEOF
43939 if ac_fn_cxx_try_compile "$LINENO"; then :
43940 glibcxx_cv_func__log10f_use=yes
43941 else
43942 glibcxx_cv_func__log10f_use=no
43943 fi
43944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43950
43951
43952 fi
43953
43954 fi
43955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43956 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43957
43958 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43959 for ac_func in _log10f
43960 do :
43961 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43962 if test "x$ac_cv_func__log10f" = xyes; then :
43963 cat >>confdefs.h <<_ACEOF
43964 #define HAVE__LOG10F 1
43965 _ACEOF
43966
43967 fi
43968 done
43969
43970 fi
43971 fi
43972
43973
43974
43975
43976
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43978 $as_echo_n "checking for modff declaration... " >&6; }
43979 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43980 if ${glibcxx_cv_func_modff_use+:} false; then :
43981 $as_echo_n "(cached) " >&6
43982 else
43983
43984
43985 ac_ext=cpp
43986 ac_cpp='$CXXCPP $CPPFLAGS'
43987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43990
43991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43992 /* end confdefs.h. */
43993 #include <math.h>
43994 int
43995 main ()
43996 {
43997 modff(0, 0);
43998 ;
43999 return 0;
44000 }
44001 _ACEOF
44002 if ac_fn_cxx_try_compile "$LINENO"; then :
44003 glibcxx_cv_func_modff_use=yes
44004 else
44005 glibcxx_cv_func_modff_use=no
44006 fi
44007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44008 ac_ext=c
44009 ac_cpp='$CPP $CPPFLAGS'
44010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44013
44014
44015 fi
44016
44017 fi
44018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44019 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44020
44021 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44022 for ac_func in modff
44023 do :
44024 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44025 if test "x$ac_cv_func_modff" = xyes; then :
44026 cat >>confdefs.h <<_ACEOF
44027 #define HAVE_MODFF 1
44028 _ACEOF
44029
44030 fi
44031 done
44032
44033 else
44034
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44036 $as_echo_n "checking for _modff declaration... " >&6; }
44037 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44038 if ${glibcxx_cv_func__modff_use+:} false; then :
44039 $as_echo_n "(cached) " >&6
44040 else
44041
44042
44043 ac_ext=cpp
44044 ac_cpp='$CXXCPP $CPPFLAGS'
44045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44048
44049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44050 /* end confdefs.h. */
44051 #include <math.h>
44052 int
44053 main ()
44054 {
44055 _modff(0, 0);
44056 ;
44057 return 0;
44058 }
44059 _ACEOF
44060 if ac_fn_cxx_try_compile "$LINENO"; then :
44061 glibcxx_cv_func__modff_use=yes
44062 else
44063 glibcxx_cv_func__modff_use=no
44064 fi
44065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44066 ac_ext=c
44067 ac_cpp='$CPP $CPPFLAGS'
44068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44071
44072
44073 fi
44074
44075 fi
44076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44077 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44078
44079 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44080 for ac_func in _modff
44081 do :
44082 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44083 if test "x$ac_cv_func__modff" = xyes; then :
44084 cat >>confdefs.h <<_ACEOF
44085 #define HAVE__MODFF 1
44086 _ACEOF
44087
44088 fi
44089 done
44090
44091 fi
44092 fi
44093
44094
44095
44096
44097
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44099 $as_echo_n "checking for modf declaration... " >&6; }
44100 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44101 if ${glibcxx_cv_func_modf_use+:} false; then :
44102 $as_echo_n "(cached) " >&6
44103 else
44104
44105
44106 ac_ext=cpp
44107 ac_cpp='$CXXCPP $CPPFLAGS'
44108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44111
44112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44113 /* end confdefs.h. */
44114 #include <math.h>
44115 int
44116 main ()
44117 {
44118 modf(0, 0);
44119 ;
44120 return 0;
44121 }
44122 _ACEOF
44123 if ac_fn_cxx_try_compile "$LINENO"; then :
44124 glibcxx_cv_func_modf_use=yes
44125 else
44126 glibcxx_cv_func_modf_use=no
44127 fi
44128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44129 ac_ext=c
44130 ac_cpp='$CPP $CPPFLAGS'
44131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44134
44135
44136 fi
44137
44138 fi
44139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44140 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44141
44142 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44143 for ac_func in modf
44144 do :
44145 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44146 if test "x$ac_cv_func_modf" = xyes; then :
44147 cat >>confdefs.h <<_ACEOF
44148 #define HAVE_MODF 1
44149 _ACEOF
44150
44151 fi
44152 done
44153
44154 else
44155
44156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44157 $as_echo_n "checking for _modf declaration... " >&6; }
44158 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44159 if ${glibcxx_cv_func__modf_use+:} false; then :
44160 $as_echo_n "(cached) " >&6
44161 else
44162
44163
44164 ac_ext=cpp
44165 ac_cpp='$CXXCPP $CPPFLAGS'
44166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44169
44170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44171 /* end confdefs.h. */
44172 #include <math.h>
44173 int
44174 main ()
44175 {
44176 _modf(0, 0);
44177 ;
44178 return 0;
44179 }
44180 _ACEOF
44181 if ac_fn_cxx_try_compile "$LINENO"; then :
44182 glibcxx_cv_func__modf_use=yes
44183 else
44184 glibcxx_cv_func__modf_use=no
44185 fi
44186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44187 ac_ext=c
44188 ac_cpp='$CPP $CPPFLAGS'
44189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44192
44193
44194 fi
44195
44196 fi
44197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44198 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44199
44200 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44201 for ac_func in _modf
44202 do :
44203 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44204 if test "x$ac_cv_func__modf" = xyes; then :
44205 cat >>confdefs.h <<_ACEOF
44206 #define HAVE__MODF 1
44207 _ACEOF
44208
44209 fi
44210 done
44211
44212 fi
44213 fi
44214
44215
44216
44217
44218
44219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44220 $as_echo_n "checking for powf declaration... " >&6; }
44221 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44222 if ${glibcxx_cv_func_powf_use+:} false; then :
44223 $as_echo_n "(cached) " >&6
44224 else
44225
44226
44227 ac_ext=cpp
44228 ac_cpp='$CXXCPP $CPPFLAGS'
44229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44232
44233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44234 /* end confdefs.h. */
44235 #include <math.h>
44236 int
44237 main ()
44238 {
44239 powf(0, 0);
44240 ;
44241 return 0;
44242 }
44243 _ACEOF
44244 if ac_fn_cxx_try_compile "$LINENO"; then :
44245 glibcxx_cv_func_powf_use=yes
44246 else
44247 glibcxx_cv_func_powf_use=no
44248 fi
44249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44250 ac_ext=c
44251 ac_cpp='$CPP $CPPFLAGS'
44252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44255
44256
44257 fi
44258
44259 fi
44260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44261 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44262
44263 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44264 for ac_func in powf
44265 do :
44266 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44267 if test "x$ac_cv_func_powf" = xyes; then :
44268 cat >>confdefs.h <<_ACEOF
44269 #define HAVE_POWF 1
44270 _ACEOF
44271
44272 fi
44273 done
44274
44275 else
44276
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44278 $as_echo_n "checking for _powf declaration... " >&6; }
44279 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44280 if ${glibcxx_cv_func__powf_use+:} false; then :
44281 $as_echo_n "(cached) " >&6
44282 else
44283
44284
44285 ac_ext=cpp
44286 ac_cpp='$CXXCPP $CPPFLAGS'
44287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44290
44291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44292 /* end confdefs.h. */
44293 #include <math.h>
44294 int
44295 main ()
44296 {
44297 _powf(0, 0);
44298 ;
44299 return 0;
44300 }
44301 _ACEOF
44302 if ac_fn_cxx_try_compile "$LINENO"; then :
44303 glibcxx_cv_func__powf_use=yes
44304 else
44305 glibcxx_cv_func__powf_use=no
44306 fi
44307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44308 ac_ext=c
44309 ac_cpp='$CPP $CPPFLAGS'
44310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44313
44314
44315 fi
44316
44317 fi
44318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44319 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44320
44321 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44322 for ac_func in _powf
44323 do :
44324 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44325 if test "x$ac_cv_func__powf" = xyes; then :
44326 cat >>confdefs.h <<_ACEOF
44327 #define HAVE__POWF 1
44328 _ACEOF
44329
44330 fi
44331 done
44332
44333 fi
44334 fi
44335
44336
44337
44338
44339
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44341 $as_echo_n "checking for sqrtf declaration... " >&6; }
44342 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44343 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44344 $as_echo_n "(cached) " >&6
44345 else
44346
44347
44348 ac_ext=cpp
44349 ac_cpp='$CXXCPP $CPPFLAGS'
44350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44353
44354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44355 /* end confdefs.h. */
44356 #include <math.h>
44357 #ifdef HAVE_IEEEFP_H
44358 #include <ieeefp.h>
44359 #endif
44360
44361 int
44362 main ()
44363 {
44364 sqrtf(0);
44365 ;
44366 return 0;
44367 }
44368 _ACEOF
44369 if ac_fn_cxx_try_compile "$LINENO"; then :
44370 glibcxx_cv_func_sqrtf_use=yes
44371 else
44372 glibcxx_cv_func_sqrtf_use=no
44373 fi
44374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44375 ac_ext=c
44376 ac_cpp='$CPP $CPPFLAGS'
44377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44380
44381
44382 fi
44383
44384 fi
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44386 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44387
44388 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44389 for ac_func in sqrtf
44390 do :
44391 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44392 if test "x$ac_cv_func_sqrtf" = xyes; then :
44393 cat >>confdefs.h <<_ACEOF
44394 #define HAVE_SQRTF 1
44395 _ACEOF
44396
44397 fi
44398 done
44399
44400 else
44401
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44403 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44404 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44405 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44406 $as_echo_n "(cached) " >&6
44407 else
44408
44409
44410 ac_ext=cpp
44411 ac_cpp='$CXXCPP $CPPFLAGS'
44412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44415
44416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44417 /* end confdefs.h. */
44418 #include <math.h>
44419 #ifdef HAVE_IEEEFP_H
44420 #include <ieeefp.h>
44421 #endif
44422
44423 int
44424 main ()
44425 {
44426 _sqrtf(0);
44427 ;
44428 return 0;
44429 }
44430 _ACEOF
44431 if ac_fn_cxx_try_compile "$LINENO"; then :
44432 glibcxx_cv_func__sqrtf_use=yes
44433 else
44434 glibcxx_cv_func__sqrtf_use=no
44435 fi
44436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44437 ac_ext=c
44438 ac_cpp='$CPP $CPPFLAGS'
44439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44442
44443
44444 fi
44445
44446 fi
44447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44448 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44449
44450 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44451 for ac_func in _sqrtf
44452 do :
44453 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44454 if test "x$ac_cv_func__sqrtf" = xyes; then :
44455 cat >>confdefs.h <<_ACEOF
44456 #define HAVE__SQRTF 1
44457 _ACEOF
44458
44459 fi
44460 done
44461
44462 fi
44463 fi
44464
44465
44466
44467
44468
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44470 $as_echo_n "checking for sincosf declaration... " >&6; }
44471 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44472 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44473 $as_echo_n "(cached) " >&6
44474 else
44475
44476
44477 ac_ext=cpp
44478 ac_cpp='$CXXCPP $CPPFLAGS'
44479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44482
44483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44484 /* end confdefs.h. */
44485 #include <math.h>
44486 int
44487 main ()
44488 {
44489 sincosf(0, 0, 0);
44490 ;
44491 return 0;
44492 }
44493 _ACEOF
44494 if ac_fn_cxx_try_compile "$LINENO"; then :
44495 glibcxx_cv_func_sincosf_use=yes
44496 else
44497 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
44511 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44512
44513 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44514 for ac_func in sincosf
44515 do :
44516 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44517 if test "x$ac_cv_func_sincosf" = xyes; then :
44518 cat >>confdefs.h <<_ACEOF
44519 #define HAVE_SINCOSF 1
44520 _ACEOF
44521
44522 fi
44523 done
44524
44525 else
44526
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44528 $as_echo_n "checking for _sincosf declaration... " >&6; }
44529 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44530 if ${glibcxx_cv_func__sincosf_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 int
44545 main ()
44546 {
44547 _sincosf(0, 0, 0);
44548 ;
44549 return 0;
44550 }
44551 _ACEOF
44552 if ac_fn_cxx_try_compile "$LINENO"; then :
44553 glibcxx_cv_func__sincosf_use=yes
44554 else
44555 glibcxx_cv_func__sincosf_use=no
44556 fi
44557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44558 ac_ext=c
44559 ac_cpp='$CPP $CPPFLAGS'
44560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44563
44564
44565 fi
44566
44567 fi
44568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44569 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44570
44571 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44572 for ac_func in _sincosf
44573 do :
44574 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44575 if test "x$ac_cv_func__sincosf" = xyes; then :
44576 cat >>confdefs.h <<_ACEOF
44577 #define HAVE__SINCOSF 1
44578 _ACEOF
44579
44580 fi
44581 done
44582
44583 fi
44584 fi
44585
44586
44587
44588
44589
44590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44591 $as_echo_n "checking for finitef declaration... " >&6; }
44592 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44593 if ${glibcxx_cv_func_finitef_use+:} false; then :
44594 $as_echo_n "(cached) " >&6
44595 else
44596
44597
44598 ac_ext=cpp
44599 ac_cpp='$CXXCPP $CPPFLAGS'
44600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44603
44604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44605 /* end confdefs.h. */
44606 #include <math.h>
44607 #ifdef HAVE_IEEEFP_H
44608 #include <ieeefp.h>
44609 #endif
44610
44611 int
44612 main ()
44613 {
44614 finitef(0);
44615 ;
44616 return 0;
44617 }
44618 _ACEOF
44619 if ac_fn_cxx_try_compile "$LINENO"; then :
44620 glibcxx_cv_func_finitef_use=yes
44621 else
44622 glibcxx_cv_func_finitef_use=no
44623 fi
44624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44625 ac_ext=c
44626 ac_cpp='$CPP $CPPFLAGS'
44627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44630
44631
44632 fi
44633
44634 fi
44635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44636 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44637
44638 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44639 for ac_func in finitef
44640 do :
44641 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44642 if test "x$ac_cv_func_finitef" = xyes; then :
44643 cat >>confdefs.h <<_ACEOF
44644 #define HAVE_FINITEF 1
44645 _ACEOF
44646
44647 fi
44648 done
44649
44650 else
44651
44652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44653 $as_echo_n "checking for _finitef declaration... " >&6; }
44654 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44655 if ${glibcxx_cv_func__finitef_use+:} false; then :
44656 $as_echo_n "(cached) " >&6
44657 else
44658
44659
44660 ac_ext=cpp
44661 ac_cpp='$CXXCPP $CPPFLAGS'
44662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44665
44666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44667 /* end confdefs.h. */
44668 #include <math.h>
44669 #ifdef HAVE_IEEEFP_H
44670 #include <ieeefp.h>
44671 #endif
44672
44673 int
44674 main ()
44675 {
44676 _finitef(0);
44677 ;
44678 return 0;
44679 }
44680 _ACEOF
44681 if ac_fn_cxx_try_compile "$LINENO"; then :
44682 glibcxx_cv_func__finitef_use=yes
44683 else
44684 glibcxx_cv_func__finitef_use=no
44685 fi
44686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44687 ac_ext=c
44688 ac_cpp='$CPP $CPPFLAGS'
44689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44692
44693
44694 fi
44695
44696 fi
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44698 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44699
44700 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44701 for ac_func in _finitef
44702 do :
44703 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44704 if test "x$ac_cv_func__finitef" = xyes; then :
44705 cat >>confdefs.h <<_ACEOF
44706 #define HAVE__FINITEF 1
44707 _ACEOF
44708
44709 fi
44710 done
44711
44712 fi
44713 fi
44714
44715
44716
44717
44718
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44720 $as_echo_n "checking for long double trig functions... " >&6; }
44721 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44722 $as_echo_n "(cached) " >&6
44723 else
44724
44725
44726 ac_ext=cpp
44727 ac_cpp='$CXXCPP $CPPFLAGS'
44728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44731
44732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44733 /* end confdefs.h. */
44734 #include <math.h>
44735 int
44736 main ()
44737 {
44738 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44739 ;
44740 return 0;
44741 }
44742 _ACEOF
44743 if ac_fn_cxx_try_compile "$LINENO"; then :
44744 glibcxx_cv_func_long_double_trig_use=yes
44745 else
44746 glibcxx_cv_func_long_double_trig_use=no
44747 fi
44748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749 ac_ext=c
44750 ac_cpp='$CPP $CPPFLAGS'
44751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44754
44755 fi
44756
44757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44758 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44759 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44760 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44761 do :
44762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44765 cat >>confdefs.h <<_ACEOF
44766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44767 _ACEOF
44768
44769 fi
44770 done
44771
44772 else
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44774 $as_echo_n "checking for _long double trig functions... " >&6; }
44775 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44776 $as_echo_n "(cached) " >&6
44777 else
44778
44779
44780 ac_ext=cpp
44781 ac_cpp='$CXXCPP $CPPFLAGS'
44782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44785
44786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44787 /* end confdefs.h. */
44788 #include <math.h>
44789 int
44790 main ()
44791 {
44792 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44793 ;
44794 return 0;
44795 }
44796 _ACEOF
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func__long_double_trig_use=yes
44799 else
44800 glibcxx_cv_func__long_double_trig_use=no
44801 fi
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 ac_ext=c
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808
44809 fi
44810
44811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44812 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44813 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44814 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44815 do :
44816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44819 cat >>confdefs.h <<_ACEOF
44820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44821 _ACEOF
44822
44823 fi
44824 done
44825
44826 fi
44827 fi
44828
44829
44830
44831
44832
44833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44834 $as_echo_n "checking for long double round functions... " >&6; }
44835 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44836 $as_echo_n "(cached) " >&6
44837 else
44838
44839
44840 ac_ext=cpp
44841 ac_cpp='$CXXCPP $CPPFLAGS'
44842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44845
44846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44847 /* end confdefs.h. */
44848 #include <math.h>
44849 int
44850 main ()
44851 {
44852 ceill (0); floorl (0);
44853 ;
44854 return 0;
44855 }
44856 _ACEOF
44857 if ac_fn_cxx_try_compile "$LINENO"; then :
44858 glibcxx_cv_func_long_double_round_use=yes
44859 else
44860 glibcxx_cv_func_long_double_round_use=no
44861 fi
44862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44863 ac_ext=c
44864 ac_cpp='$CPP $CPPFLAGS'
44865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44868
44869 fi
44870
44871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44872 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44873 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44874 for ac_func in ceill floorl
44875 do :
44876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44879 cat >>confdefs.h <<_ACEOF
44880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44881 _ACEOF
44882
44883 fi
44884 done
44885
44886 else
44887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44888 $as_echo_n "checking for _long double round functions... " >&6; }
44889 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44890 $as_echo_n "(cached) " >&6
44891 else
44892
44893
44894 ac_ext=cpp
44895 ac_cpp='$CXXCPP $CPPFLAGS'
44896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44899
44900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44901 /* end confdefs.h. */
44902 #include <math.h>
44903 int
44904 main ()
44905 {
44906 _ceill (0); _floorl (0);
44907 ;
44908 return 0;
44909 }
44910 _ACEOF
44911 if ac_fn_cxx_try_compile "$LINENO"; then :
44912 glibcxx_cv_func__long_double_round_use=yes
44913 else
44914 glibcxx_cv_func__long_double_round_use=no
44915 fi
44916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44917 ac_ext=c
44918 ac_cpp='$CPP $CPPFLAGS'
44919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44922
44923 fi
44924
44925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44926 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44927 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44928 for ac_func in _ceill _floorl
44929 do :
44930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44933 cat >>confdefs.h <<_ACEOF
44934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44935 _ACEOF
44936
44937 fi
44938 done
44939
44940 fi
44941 fi
44942
44943
44944
44945
44946
44947
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44949 $as_echo_n "checking for isnanl declaration... " >&6; }
44950 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44951 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44952 $as_echo_n "(cached) " >&6
44953 else
44954
44955
44956 ac_ext=cpp
44957 ac_cpp='$CXXCPP $CPPFLAGS'
44958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44961
44962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44963 /* end confdefs.h. */
44964 #include <math.h>
44965 #ifdef HAVE_IEEEFP_H
44966 #include <ieeefp.h>
44967 #endif
44968
44969 int
44970 main ()
44971 {
44972 isnanl(0);
44973 ;
44974 return 0;
44975 }
44976 _ACEOF
44977 if ac_fn_cxx_try_compile "$LINENO"; then :
44978 glibcxx_cv_func_isnanl_use=yes
44979 else
44980 glibcxx_cv_func_isnanl_use=no
44981 fi
44982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44983 ac_ext=c
44984 ac_cpp='$CPP $CPPFLAGS'
44985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44988
44989
44990 fi
44991
44992 fi
44993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44994 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44995
44996 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44997 for ac_func in isnanl
44998 do :
44999 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45000 if test "x$ac_cv_func_isnanl" = xyes; then :
45001 cat >>confdefs.h <<_ACEOF
45002 #define HAVE_ISNANL 1
45003 _ACEOF
45004
45005 fi
45006 done
45007
45008 else
45009
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45011 $as_echo_n "checking for _isnanl declaration... " >&6; }
45012 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45013 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45014 $as_echo_n "(cached) " >&6
45015 else
45016
45017
45018 ac_ext=cpp
45019 ac_cpp='$CXXCPP $CPPFLAGS'
45020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45023
45024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45025 /* end confdefs.h. */
45026 #include <math.h>
45027 #ifdef HAVE_IEEEFP_H
45028 #include <ieeefp.h>
45029 #endif
45030
45031 int
45032 main ()
45033 {
45034 _isnanl(0);
45035 ;
45036 return 0;
45037 }
45038 _ACEOF
45039 if ac_fn_cxx_try_compile "$LINENO"; then :
45040 glibcxx_cv_func__isnanl_use=yes
45041 else
45042 glibcxx_cv_func__isnanl_use=no
45043 fi
45044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45045 ac_ext=c
45046 ac_cpp='$CPP $CPPFLAGS'
45047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45050
45051
45052 fi
45053
45054 fi
45055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45056 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45057
45058 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45059 for ac_func in _isnanl
45060 do :
45061 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45062 if test "x$ac_cv_func__isnanl" = xyes; then :
45063 cat >>confdefs.h <<_ACEOF
45064 #define HAVE__ISNANL 1
45065 _ACEOF
45066
45067 fi
45068 done
45069
45070 fi
45071 fi
45072
45073
45074
45075
45076
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45078 $as_echo_n "checking for isinfl declaration... " >&6; }
45079 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45080 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45081 $as_echo_n "(cached) " >&6
45082 else
45083
45084
45085 ac_ext=cpp
45086 ac_cpp='$CXXCPP $CPPFLAGS'
45087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45090
45091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45092 /* end confdefs.h. */
45093 #include <math.h>
45094 #ifdef HAVE_IEEEFP_H
45095 #include <ieeefp.h>
45096 #endif
45097
45098 int
45099 main ()
45100 {
45101 isinfl(0);
45102 ;
45103 return 0;
45104 }
45105 _ACEOF
45106 if ac_fn_cxx_try_compile "$LINENO"; then :
45107 glibcxx_cv_func_isinfl_use=yes
45108 else
45109 glibcxx_cv_func_isinfl_use=no
45110 fi
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 ac_ext=c
45113 ac_cpp='$CPP $CPPFLAGS'
45114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45117
45118
45119 fi
45120
45121 fi
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45123 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45124
45125 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45126 for ac_func in isinfl
45127 do :
45128 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45129 if test "x$ac_cv_func_isinfl" = xyes; then :
45130 cat >>confdefs.h <<_ACEOF
45131 #define HAVE_ISINFL 1
45132 _ACEOF
45133
45134 fi
45135 done
45136
45137 else
45138
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45140 $as_echo_n "checking for _isinfl declaration... " >&6; }
45141 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45142 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45143 $as_echo_n "(cached) " >&6
45144 else
45145
45146
45147 ac_ext=cpp
45148 ac_cpp='$CXXCPP $CPPFLAGS'
45149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45152
45153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45154 /* end confdefs.h. */
45155 #include <math.h>
45156 #ifdef HAVE_IEEEFP_H
45157 #include <ieeefp.h>
45158 #endif
45159
45160 int
45161 main ()
45162 {
45163 _isinfl(0);
45164 ;
45165 return 0;
45166 }
45167 _ACEOF
45168 if ac_fn_cxx_try_compile "$LINENO"; then :
45169 glibcxx_cv_func__isinfl_use=yes
45170 else
45171 glibcxx_cv_func__isinfl_use=no
45172 fi
45173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45174 ac_ext=c
45175 ac_cpp='$CPP $CPPFLAGS'
45176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45179
45180
45181 fi
45182
45183 fi
45184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45185 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45186
45187 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45188 for ac_func in _isinfl
45189 do :
45190 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45191 if test "x$ac_cv_func__isinfl" = xyes; then :
45192 cat >>confdefs.h <<_ACEOF
45193 #define HAVE__ISINFL 1
45194 _ACEOF
45195
45196 fi
45197 done
45198
45199 fi
45200 fi
45201
45202
45203
45204
45205
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45207 $as_echo_n "checking for atan2l declaration... " >&6; }
45208 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45209 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45212
45213
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45219
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45223 int
45224 main ()
45225 {
45226 atan2l(0, 0);
45227 ;
45228 return 0;
45229 }
45230 _ACEOF
45231 if ac_fn_cxx_try_compile "$LINENO"; then :
45232 glibcxx_cv_func_atan2l_use=yes
45233 else
45234 glibcxx_cv_func_atan2l_use=no
45235 fi
45236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45237 ac_ext=c
45238 ac_cpp='$CPP $CPPFLAGS'
45239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45242
45243
45244 fi
45245
45246 fi
45247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45248 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45249
45250 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45251 for ac_func in atan2l
45252 do :
45253 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45254 if test "x$ac_cv_func_atan2l" = xyes; then :
45255 cat >>confdefs.h <<_ACEOF
45256 #define HAVE_ATAN2L 1
45257 _ACEOF
45258
45259 fi
45260 done
45261
45262 else
45263
45264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45265 $as_echo_n "checking for _atan2l declaration... " >&6; }
45266 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45267 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45268 $as_echo_n "(cached) " >&6
45269 else
45270
45271
45272 ac_ext=cpp
45273 ac_cpp='$CXXCPP $CPPFLAGS'
45274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45277
45278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45279 /* end confdefs.h. */
45280 #include <math.h>
45281 int
45282 main ()
45283 {
45284 _atan2l(0, 0);
45285 ;
45286 return 0;
45287 }
45288 _ACEOF
45289 if ac_fn_cxx_try_compile "$LINENO"; then :
45290 glibcxx_cv_func__atan2l_use=yes
45291 else
45292 glibcxx_cv_func__atan2l_use=no
45293 fi
45294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45295 ac_ext=c
45296 ac_cpp='$CPP $CPPFLAGS'
45297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45300
45301
45302 fi
45303
45304 fi
45305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45306 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45307
45308 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45309 for ac_func in _atan2l
45310 do :
45311 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45312 if test "x$ac_cv_func__atan2l" = xyes; then :
45313 cat >>confdefs.h <<_ACEOF
45314 #define HAVE__ATAN2L 1
45315 _ACEOF
45316
45317 fi
45318 done
45319
45320 fi
45321 fi
45322
45323
45324
45325
45326
45327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45328 $as_echo_n "checking for expl declaration... " >&6; }
45329 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45330 if ${glibcxx_cv_func_expl_use+:} false; then :
45331 $as_echo_n "(cached) " >&6
45332 else
45333
45334
45335 ac_ext=cpp
45336 ac_cpp='$CXXCPP $CPPFLAGS'
45337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45340
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h. */
45343 #include <math.h>
45344 #ifdef HAVE_IEEEFP_H
45345 #include <ieeefp.h>
45346 #endif
45347
45348 int
45349 main ()
45350 {
45351 expl(0);
45352 ;
45353 return 0;
45354 }
45355 _ACEOF
45356 if ac_fn_cxx_try_compile "$LINENO"; then :
45357 glibcxx_cv_func_expl_use=yes
45358 else
45359 glibcxx_cv_func_expl_use=no
45360 fi
45361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45362 ac_ext=c
45363 ac_cpp='$CPP $CPPFLAGS'
45364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45367
45368
45369 fi
45370
45371 fi
45372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45373 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45374
45375 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45376 for ac_func in expl
45377 do :
45378 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45379 if test "x$ac_cv_func_expl" = xyes; then :
45380 cat >>confdefs.h <<_ACEOF
45381 #define HAVE_EXPL 1
45382 _ACEOF
45383
45384 fi
45385 done
45386
45387 else
45388
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45390 $as_echo_n "checking for _expl declaration... " >&6; }
45391 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45392 if ${glibcxx_cv_func__expl_use+:} false; then :
45393 $as_echo_n "(cached) " >&6
45394 else
45395
45396
45397 ac_ext=cpp
45398 ac_cpp='$CXXCPP $CPPFLAGS'
45399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45402
45403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45404 /* end confdefs.h. */
45405 #include <math.h>
45406 #ifdef HAVE_IEEEFP_H
45407 #include <ieeefp.h>
45408 #endif
45409
45410 int
45411 main ()
45412 {
45413 _expl(0);
45414 ;
45415 return 0;
45416 }
45417 _ACEOF
45418 if ac_fn_cxx_try_compile "$LINENO"; then :
45419 glibcxx_cv_func__expl_use=yes
45420 else
45421 glibcxx_cv_func__expl_use=no
45422 fi
45423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45424 ac_ext=c
45425 ac_cpp='$CPP $CPPFLAGS'
45426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45429
45430
45431 fi
45432
45433 fi
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45435 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45436
45437 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45438 for ac_func in _expl
45439 do :
45440 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45441 if test "x$ac_cv_func__expl" = xyes; then :
45442 cat >>confdefs.h <<_ACEOF
45443 #define HAVE__EXPL 1
45444 _ACEOF
45445
45446 fi
45447 done
45448
45449 fi
45450 fi
45451
45452
45453
45454
45455
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45457 $as_echo_n "checking for fabsl declaration... " >&6; }
45458 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45459 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45462
45463
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45469
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45473 #ifdef HAVE_IEEEFP_H
45474 #include <ieeefp.h>
45475 #endif
45476
45477 int
45478 main ()
45479 {
45480 fabsl(0);
45481 ;
45482 return 0;
45483 }
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func_fabsl_use=yes
45487 else
45488 glibcxx_cv_func_fabsl_use=no
45489 fi
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496
45497
45498 fi
45499
45500 fi
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45502 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45503
45504 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45505 for ac_func in fabsl
45506 do :
45507 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45508 if test "x$ac_cv_func_fabsl" = xyes; then :
45509 cat >>confdefs.h <<_ACEOF
45510 #define HAVE_FABSL 1
45511 _ACEOF
45512
45513 fi
45514 done
45515
45516 else
45517
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45519 $as_echo_n "checking for _fabsl declaration... " >&6; }
45520 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45521 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45522 $as_echo_n "(cached) " >&6
45523 else
45524
45525
45526 ac_ext=cpp
45527 ac_cpp='$CXXCPP $CPPFLAGS'
45528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45531
45532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45533 /* end confdefs.h. */
45534 #include <math.h>
45535 #ifdef HAVE_IEEEFP_H
45536 #include <ieeefp.h>
45537 #endif
45538
45539 int
45540 main ()
45541 {
45542 _fabsl(0);
45543 ;
45544 return 0;
45545 }
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548 glibcxx_cv_func__fabsl_use=yes
45549 else
45550 glibcxx_cv_func__fabsl_use=no
45551 fi
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553 ac_ext=c
45554 ac_cpp='$CPP $CPPFLAGS'
45555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45558
45559
45560 fi
45561
45562 fi
45563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45564 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45565
45566 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45567 for ac_func in _fabsl
45568 do :
45569 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45570 if test "x$ac_cv_func__fabsl" = xyes; then :
45571 cat >>confdefs.h <<_ACEOF
45572 #define HAVE__FABSL 1
45573 _ACEOF
45574
45575 fi
45576 done
45577
45578 fi
45579 fi
45580
45581
45582
45583
45584
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45586 $as_echo_n "checking for fmodl declaration... " >&6; }
45587 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45588 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45589 $as_echo_n "(cached) " >&6
45590 else
45591
45592
45593 ac_ext=cpp
45594 ac_cpp='$CXXCPP $CPPFLAGS'
45595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45598
45599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45600 /* end confdefs.h. */
45601 #include <math.h>
45602 int
45603 main ()
45604 {
45605 fmodl(0, 0);
45606 ;
45607 return 0;
45608 }
45609 _ACEOF
45610 if ac_fn_cxx_try_compile "$LINENO"; then :
45611 glibcxx_cv_func_fmodl_use=yes
45612 else
45613 glibcxx_cv_func_fmodl_use=no
45614 fi
45615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45616 ac_ext=c
45617 ac_cpp='$CPP $CPPFLAGS'
45618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45621
45622
45623 fi
45624
45625 fi
45626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45627 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45628
45629 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45630 for ac_func in fmodl
45631 do :
45632 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45633 if test "x$ac_cv_func_fmodl" = xyes; then :
45634 cat >>confdefs.h <<_ACEOF
45635 #define HAVE_FMODL 1
45636 _ACEOF
45637
45638 fi
45639 done
45640
45641 else
45642
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45644 $as_echo_n "checking for _fmodl declaration... " >&6; }
45645 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45646 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45647 $as_echo_n "(cached) " >&6
45648 else
45649
45650
45651 ac_ext=cpp
45652 ac_cpp='$CXXCPP $CPPFLAGS'
45653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45656
45657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45658 /* end confdefs.h. */
45659 #include <math.h>
45660 int
45661 main ()
45662 {
45663 _fmodl(0, 0);
45664 ;
45665 return 0;
45666 }
45667 _ACEOF
45668 if ac_fn_cxx_try_compile "$LINENO"; then :
45669 glibcxx_cv_func__fmodl_use=yes
45670 else
45671 glibcxx_cv_func__fmodl_use=no
45672 fi
45673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45674 ac_ext=c
45675 ac_cpp='$CPP $CPPFLAGS'
45676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45679
45680
45681 fi
45682
45683 fi
45684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45685 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45686
45687 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45688 for ac_func in _fmodl
45689 do :
45690 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45691 if test "x$ac_cv_func__fmodl" = xyes; then :
45692 cat >>confdefs.h <<_ACEOF
45693 #define HAVE__FMODL 1
45694 _ACEOF
45695
45696 fi
45697 done
45698
45699 fi
45700 fi
45701
45702
45703
45704
45705
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45707 $as_echo_n "checking for frexpl declaration... " >&6; }
45708 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45709 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45710 $as_echo_n "(cached) " >&6
45711 else
45712
45713
45714 ac_ext=cpp
45715 ac_cpp='$CXXCPP $CPPFLAGS'
45716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45719
45720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45721 /* end confdefs.h. */
45722 #include <math.h>
45723 int
45724 main ()
45725 {
45726 frexpl(0, 0);
45727 ;
45728 return 0;
45729 }
45730 _ACEOF
45731 if ac_fn_cxx_try_compile "$LINENO"; then :
45732 glibcxx_cv_func_frexpl_use=yes
45733 else
45734 glibcxx_cv_func_frexpl_use=no
45735 fi
45736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45737 ac_ext=c
45738 ac_cpp='$CPP $CPPFLAGS'
45739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45742
45743
45744 fi
45745
45746 fi
45747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45748 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45749
45750 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45751 for ac_func in frexpl
45752 do :
45753 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45754 if test "x$ac_cv_func_frexpl" = xyes; then :
45755 cat >>confdefs.h <<_ACEOF
45756 #define HAVE_FREXPL 1
45757 _ACEOF
45758
45759 fi
45760 done
45761
45762 else
45763
45764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45765 $as_echo_n "checking for _frexpl declaration... " >&6; }
45766 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45767 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45768 $as_echo_n "(cached) " >&6
45769 else
45770
45771
45772 ac_ext=cpp
45773 ac_cpp='$CXXCPP $CPPFLAGS'
45774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45777
45778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45779 /* end confdefs.h. */
45780 #include <math.h>
45781 int
45782 main ()
45783 {
45784 _frexpl(0, 0);
45785 ;
45786 return 0;
45787 }
45788 _ACEOF
45789 if ac_fn_cxx_try_compile "$LINENO"; then :
45790 glibcxx_cv_func__frexpl_use=yes
45791 else
45792 glibcxx_cv_func__frexpl_use=no
45793 fi
45794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45795 ac_ext=c
45796 ac_cpp='$CPP $CPPFLAGS'
45797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45800
45801
45802 fi
45803
45804 fi
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45806 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45807
45808 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45809 for ac_func in _frexpl
45810 do :
45811 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45812 if test "x$ac_cv_func__frexpl" = xyes; then :
45813 cat >>confdefs.h <<_ACEOF
45814 #define HAVE__FREXPL 1
45815 _ACEOF
45816
45817 fi
45818 done
45819
45820 fi
45821 fi
45822
45823
45824
45825
45826
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45828 $as_echo_n "checking for hypotl declaration... " >&6; }
45829 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45830 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45831 $as_echo_n "(cached) " >&6
45832 else
45833
45834
45835 ac_ext=cpp
45836 ac_cpp='$CXXCPP $CPPFLAGS'
45837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45840
45841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842 /* end confdefs.h. */
45843 #include <math.h>
45844 int
45845 main ()
45846 {
45847 hypotl(0, 0);
45848 ;
45849 return 0;
45850 }
45851 _ACEOF
45852 if ac_fn_cxx_try_compile "$LINENO"; then :
45853 glibcxx_cv_func_hypotl_use=yes
45854 else
45855 glibcxx_cv_func_hypotl_use=no
45856 fi
45857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45858 ac_ext=c
45859 ac_cpp='$CPP $CPPFLAGS'
45860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45863
45864
45865 fi
45866
45867 fi
45868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45869 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45870
45871 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45872 for ac_func in hypotl
45873 do :
45874 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45875 if test "x$ac_cv_func_hypotl" = xyes; then :
45876 cat >>confdefs.h <<_ACEOF
45877 #define HAVE_HYPOTL 1
45878 _ACEOF
45879
45880 fi
45881 done
45882
45883 else
45884
45885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45886 $as_echo_n "checking for _hypotl declaration... " >&6; }
45887 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45888 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45889 $as_echo_n "(cached) " >&6
45890 else
45891
45892
45893 ac_ext=cpp
45894 ac_cpp='$CXXCPP $CPPFLAGS'
45895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45898
45899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45900 /* end confdefs.h. */
45901 #include <math.h>
45902 int
45903 main ()
45904 {
45905 _hypotl(0, 0);
45906 ;
45907 return 0;
45908 }
45909 _ACEOF
45910 if ac_fn_cxx_try_compile "$LINENO"; then :
45911 glibcxx_cv_func__hypotl_use=yes
45912 else
45913 glibcxx_cv_func__hypotl_use=no
45914 fi
45915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45916 ac_ext=c
45917 ac_cpp='$CPP $CPPFLAGS'
45918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45921
45922
45923 fi
45924
45925 fi
45926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45927 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45928
45929 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45930 for ac_func in _hypotl
45931 do :
45932 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45933 if test "x$ac_cv_func__hypotl" = xyes; then :
45934 cat >>confdefs.h <<_ACEOF
45935 #define HAVE__HYPOTL 1
45936 _ACEOF
45937
45938 fi
45939 done
45940
45941 fi
45942 fi
45943
45944
45945
45946
45947
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45949 $as_echo_n "checking for ldexpl declaration... " >&6; }
45950 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45951 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45952 $as_echo_n "(cached) " >&6
45953 else
45954
45955
45956 ac_ext=cpp
45957 ac_cpp='$CXXCPP $CPPFLAGS'
45958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45961
45962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45963 /* end confdefs.h. */
45964 #include <math.h>
45965 int
45966 main ()
45967 {
45968 ldexpl(0, 0);
45969 ;
45970 return 0;
45971 }
45972 _ACEOF
45973 if ac_fn_cxx_try_compile "$LINENO"; then :
45974 glibcxx_cv_func_ldexpl_use=yes
45975 else
45976 glibcxx_cv_func_ldexpl_use=no
45977 fi
45978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45979 ac_ext=c
45980 ac_cpp='$CPP $CPPFLAGS'
45981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45984
45985
45986 fi
45987
45988 fi
45989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45990 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45991
45992 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45993 for ac_func in ldexpl
45994 do :
45995 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45996 if test "x$ac_cv_func_ldexpl" = xyes; then :
45997 cat >>confdefs.h <<_ACEOF
45998 #define HAVE_LDEXPL 1
45999 _ACEOF
46000
46001 fi
46002 done
46003
46004 else
46005
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46007 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46008 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46009 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46010 $as_echo_n "(cached) " >&6
46011 else
46012
46013
46014 ac_ext=cpp
46015 ac_cpp='$CXXCPP $CPPFLAGS'
46016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46019
46020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46021 /* end confdefs.h. */
46022 #include <math.h>
46023 int
46024 main ()
46025 {
46026 _ldexpl(0, 0);
46027 ;
46028 return 0;
46029 }
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032 glibcxx_cv_func__ldexpl_use=yes
46033 else
46034 glibcxx_cv_func__ldexpl_use=no
46035 fi
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042
46043
46044 fi
46045
46046 fi
46047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46048 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46049
46050 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46051 for ac_func in _ldexpl
46052 do :
46053 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46054 if test "x$ac_cv_func__ldexpl" = xyes; then :
46055 cat >>confdefs.h <<_ACEOF
46056 #define HAVE__LDEXPL 1
46057 _ACEOF
46058
46059 fi
46060 done
46061
46062 fi
46063 fi
46064
46065
46066
46067
46068
46069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46070 $as_echo_n "checking for logl declaration... " >&6; }
46071 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46072 if ${glibcxx_cv_func_logl_use+:} false; then :
46073 $as_echo_n "(cached) " >&6
46074 else
46075
46076
46077 ac_ext=cpp
46078 ac_cpp='$CXXCPP $CPPFLAGS'
46079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082
46083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46084 /* end confdefs.h. */
46085 #include <math.h>
46086 #ifdef HAVE_IEEEFP_H
46087 #include <ieeefp.h>
46088 #endif
46089
46090 int
46091 main ()
46092 {
46093 logl(0);
46094 ;
46095 return 0;
46096 }
46097 _ACEOF
46098 if ac_fn_cxx_try_compile "$LINENO"; then :
46099 glibcxx_cv_func_logl_use=yes
46100 else
46101 glibcxx_cv_func_logl_use=no
46102 fi
46103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46104 ac_ext=c
46105 ac_cpp='$CPP $CPPFLAGS'
46106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46109
46110
46111 fi
46112
46113 fi
46114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46115 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46116
46117 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46118 for ac_func in logl
46119 do :
46120 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46121 if test "x$ac_cv_func_logl" = xyes; then :
46122 cat >>confdefs.h <<_ACEOF
46123 #define HAVE_LOGL 1
46124 _ACEOF
46125
46126 fi
46127 done
46128
46129 else
46130
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46132 $as_echo_n "checking for _logl declaration... " >&6; }
46133 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46134 if ${glibcxx_cv_func__logl_use+:} false; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46137
46138
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46144
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46148 #ifdef HAVE_IEEEFP_H
46149 #include <ieeefp.h>
46150 #endif
46151
46152 int
46153 main ()
46154 {
46155 _logl(0);
46156 ;
46157 return 0;
46158 }
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func__logl_use=yes
46162 else
46163 glibcxx_cv_func__logl_use=no
46164 fi
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171
46172
46173 fi
46174
46175 fi
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46177 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46178
46179 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46180 for ac_func in _logl
46181 do :
46182 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46183 if test "x$ac_cv_func__logl" = xyes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE__LOGL 1
46186 _ACEOF
46187
46188 fi
46189 done
46190
46191 fi
46192 fi
46193
46194
46195
46196
46197
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46199 $as_echo_n "checking for log10l declaration... " >&6; }
46200 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46201 if ${glibcxx_cv_func_log10l_use+:} false; then :
46202 $as_echo_n "(cached) " >&6
46203 else
46204
46205
46206 ac_ext=cpp
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46211
46212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46213 /* end confdefs.h. */
46214 #include <math.h>
46215 #ifdef HAVE_IEEEFP_H
46216 #include <ieeefp.h>
46217 #endif
46218
46219 int
46220 main ()
46221 {
46222 log10l(0);
46223 ;
46224 return 0;
46225 }
46226 _ACEOF
46227 if ac_fn_cxx_try_compile "$LINENO"; then :
46228 glibcxx_cv_func_log10l_use=yes
46229 else
46230 glibcxx_cv_func_log10l_use=no
46231 fi
46232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46233 ac_ext=c
46234 ac_cpp='$CPP $CPPFLAGS'
46235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46238
46239
46240 fi
46241
46242 fi
46243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46244 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46245
46246 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46247 for ac_func in log10l
46248 do :
46249 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46250 if test "x$ac_cv_func_log10l" = xyes; then :
46251 cat >>confdefs.h <<_ACEOF
46252 #define HAVE_LOG10L 1
46253 _ACEOF
46254
46255 fi
46256 done
46257
46258 else
46259
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46261 $as_echo_n "checking for _log10l declaration... " >&6; }
46262 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46263 if ${glibcxx_cv_func__log10l_use+:} false; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46266
46267
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46273
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46280
46281 int
46282 main ()
46283 {
46284 _log10l(0);
46285 ;
46286 return 0;
46287 }
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func__log10l_use=yes
46291 else
46292 glibcxx_cv_func__log10l_use=no
46293 fi
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46300
46301
46302 fi
46303
46304 fi
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46306 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46307
46308 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46309 for ac_func in _log10l
46310 do :
46311 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46312 if test "x$ac_cv_func__log10l" = xyes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE__LOG10L 1
46315 _ACEOF
46316
46317 fi
46318 done
46319
46320 fi
46321 fi
46322
46323
46324
46325
46326
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46328 $as_echo_n "checking for modfl declaration... " >&6; }
46329 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46330 if ${glibcxx_cv_func_modfl_use+:} false; then :
46331 $as_echo_n "(cached) " >&6
46332 else
46333
46334
46335 ac_ext=cpp
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46340
46341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46342 /* end confdefs.h. */
46343 #include <math.h>
46344 int
46345 main ()
46346 {
46347 modfl(0, 0);
46348 ;
46349 return 0;
46350 }
46351 _ACEOF
46352 if ac_fn_cxx_try_compile "$LINENO"; then :
46353 glibcxx_cv_func_modfl_use=yes
46354 else
46355 glibcxx_cv_func_modfl_use=no
46356 fi
46357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46358 ac_ext=c
46359 ac_cpp='$CPP $CPPFLAGS'
46360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46363
46364
46365 fi
46366
46367 fi
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46369 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46370
46371 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46372 for ac_func in modfl
46373 do :
46374 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46375 if test "x$ac_cv_func_modfl" = xyes; then :
46376 cat >>confdefs.h <<_ACEOF
46377 #define HAVE_MODFL 1
46378 _ACEOF
46379
46380 fi
46381 done
46382
46383 else
46384
46385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46386 $as_echo_n "checking for _modfl declaration... " >&6; }
46387 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46388 if ${glibcxx_cv_func__modfl_use+:} false; then :
46389 $as_echo_n "(cached) " >&6
46390 else
46391
46392
46393 ac_ext=cpp
46394 ac_cpp='$CXXCPP $CPPFLAGS'
46395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46398
46399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46400 /* end confdefs.h. */
46401 #include <math.h>
46402 int
46403 main ()
46404 {
46405 _modfl(0, 0);
46406 ;
46407 return 0;
46408 }
46409 _ACEOF
46410 if ac_fn_cxx_try_compile "$LINENO"; then :
46411 glibcxx_cv_func__modfl_use=yes
46412 else
46413 glibcxx_cv_func__modfl_use=no
46414 fi
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46421
46422
46423 fi
46424
46425 fi
46426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46427 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46428
46429 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46430 for ac_func in _modfl
46431 do :
46432 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46433 if test "x$ac_cv_func__modfl" = xyes; then :
46434 cat >>confdefs.h <<_ACEOF
46435 #define HAVE__MODFL 1
46436 _ACEOF
46437
46438 fi
46439 done
46440
46441 fi
46442 fi
46443
46444
46445
46446
46447
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46449 $as_echo_n "checking for powl declaration... " >&6; }
46450 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46451 if ${glibcxx_cv_func_powl_use+:} false; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46454
46455
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46461
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46465 int
46466 main ()
46467 {
46468 powl(0, 0);
46469 ;
46470 return 0;
46471 }
46472 _ACEOF
46473 if ac_fn_cxx_try_compile "$LINENO"; then :
46474 glibcxx_cv_func_powl_use=yes
46475 else
46476 glibcxx_cv_func_powl_use=no
46477 fi
46478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46479 ac_ext=c
46480 ac_cpp='$CPP $CPPFLAGS'
46481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46484
46485
46486 fi
46487
46488 fi
46489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46490 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46491
46492 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46493 for ac_func in powl
46494 do :
46495 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46496 if test "x$ac_cv_func_powl" = xyes; then :
46497 cat >>confdefs.h <<_ACEOF
46498 #define HAVE_POWL 1
46499 _ACEOF
46500
46501 fi
46502 done
46503
46504 else
46505
46506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46507 $as_echo_n "checking for _powl declaration... " >&6; }
46508 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46509 if ${glibcxx_cv_func__powl_use+:} false; then :
46510 $as_echo_n "(cached) " >&6
46511 else
46512
46513
46514 ac_ext=cpp
46515 ac_cpp='$CXXCPP $CPPFLAGS'
46516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46519
46520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46521 /* end confdefs.h. */
46522 #include <math.h>
46523 int
46524 main ()
46525 {
46526 _powl(0, 0);
46527 ;
46528 return 0;
46529 }
46530 _ACEOF
46531 if ac_fn_cxx_try_compile "$LINENO"; then :
46532 glibcxx_cv_func__powl_use=yes
46533 else
46534 glibcxx_cv_func__powl_use=no
46535 fi
46536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46537 ac_ext=c
46538 ac_cpp='$CPP $CPPFLAGS'
46539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46542
46543
46544 fi
46545
46546 fi
46547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46548 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46549
46550 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46551 for ac_func in _powl
46552 do :
46553 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46554 if test "x$ac_cv_func__powl" = xyes; then :
46555 cat >>confdefs.h <<_ACEOF
46556 #define HAVE__POWL 1
46557 _ACEOF
46558
46559 fi
46560 done
46561
46562 fi
46563 fi
46564
46565
46566
46567
46568
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46570 $as_echo_n "checking for sqrtl declaration... " >&6; }
46571 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46572 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46573 $as_echo_n "(cached) " >&6
46574 else
46575
46576
46577 ac_ext=cpp
46578 ac_cpp='$CXXCPP $CPPFLAGS'
46579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46582
46583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46584 /* end confdefs.h. */
46585 #include <math.h>
46586 #ifdef HAVE_IEEEFP_H
46587 #include <ieeefp.h>
46588 #endif
46589
46590 int
46591 main ()
46592 {
46593 sqrtl(0);
46594 ;
46595 return 0;
46596 }
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599 glibcxx_cv_func_sqrtl_use=yes
46600 else
46601 glibcxx_cv_func_sqrtl_use=no
46602 fi
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609
46610
46611 fi
46612
46613 fi
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46615 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46616
46617 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46618 for ac_func in sqrtl
46619 do :
46620 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46621 if test "x$ac_cv_func_sqrtl" = xyes; then :
46622 cat >>confdefs.h <<_ACEOF
46623 #define HAVE_SQRTL 1
46624 _ACEOF
46625
46626 fi
46627 done
46628
46629 else
46630
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46632 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46633 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46634 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46635 $as_echo_n "(cached) " >&6
46636 else
46637
46638
46639 ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46644
46645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h. */
46647 #include <math.h>
46648 #ifdef HAVE_IEEEFP_H
46649 #include <ieeefp.h>
46650 #endif
46651
46652 int
46653 main ()
46654 {
46655 _sqrtl(0);
46656 ;
46657 return 0;
46658 }
46659 _ACEOF
46660 if ac_fn_cxx_try_compile "$LINENO"; then :
46661 glibcxx_cv_func__sqrtl_use=yes
46662 else
46663 glibcxx_cv_func__sqrtl_use=no
46664 fi
46665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46666 ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46671
46672
46673 fi
46674
46675 fi
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46677 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46678
46679 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46680 for ac_func in _sqrtl
46681 do :
46682 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46683 if test "x$ac_cv_func__sqrtl" = xyes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define HAVE__SQRTL 1
46686 _ACEOF
46687
46688 fi
46689 done
46690
46691 fi
46692 fi
46693
46694
46695
46696
46697
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46699 $as_echo_n "checking for sincosl declaration... " >&6; }
46700 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46701 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46704
46705
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46715 int
46716 main ()
46717 {
46718 sincosl(0, 0, 0);
46719 ;
46720 return 0;
46721 }
46722 _ACEOF
46723 if ac_fn_cxx_try_compile "$LINENO"; then :
46724 glibcxx_cv_func_sincosl_use=yes
46725 else
46726 glibcxx_cv_func_sincosl_use=no
46727 fi
46728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46729 ac_ext=c
46730 ac_cpp='$CPP $CPPFLAGS'
46731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46734
46735
46736 fi
46737
46738 fi
46739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46740 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46741
46742 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46743 for ac_func in sincosl
46744 do :
46745 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46746 if test "x$ac_cv_func_sincosl" = xyes; then :
46747 cat >>confdefs.h <<_ACEOF
46748 #define HAVE_SINCOSL 1
46749 _ACEOF
46750
46751 fi
46752 done
46753
46754 else
46755
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46757 $as_echo_n "checking for _sincosl declaration... " >&6; }
46758 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46759 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46760 $as_echo_n "(cached) " >&6
46761 else
46762
46763
46764 ac_ext=cpp
46765 ac_cpp='$CXXCPP $CPPFLAGS'
46766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46769
46770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46771 /* end confdefs.h. */
46772 #include <math.h>
46773 int
46774 main ()
46775 {
46776 _sincosl(0, 0, 0);
46777 ;
46778 return 0;
46779 }
46780 _ACEOF
46781 if ac_fn_cxx_try_compile "$LINENO"; then :
46782 glibcxx_cv_func__sincosl_use=yes
46783 else
46784 glibcxx_cv_func__sincosl_use=no
46785 fi
46786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46787 ac_ext=c
46788 ac_cpp='$CPP $CPPFLAGS'
46789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46792
46793
46794 fi
46795
46796 fi
46797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46798 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46799
46800 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46801 for ac_func in _sincosl
46802 do :
46803 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46804 if test "x$ac_cv_func__sincosl" = xyes; then :
46805 cat >>confdefs.h <<_ACEOF
46806 #define HAVE__SINCOSL 1
46807 _ACEOF
46808
46809 fi
46810 done
46811
46812 fi
46813 fi
46814
46815
46816
46817
46818
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46820 $as_echo_n "checking for finitel declaration... " >&6; }
46821 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46822 if ${glibcxx_cv_func_finitel_use+:} false; then :
46823 $as_echo_n "(cached) " >&6
46824 else
46825
46826
46827 ac_ext=cpp
46828 ac_cpp='$CXXCPP $CPPFLAGS'
46829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46832
46833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46834 /* end confdefs.h. */
46835 #include <math.h>
46836 #ifdef HAVE_IEEEFP_H
46837 #include <ieeefp.h>
46838 #endif
46839
46840 int
46841 main ()
46842 {
46843 finitel(0);
46844 ;
46845 return 0;
46846 }
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849 glibcxx_cv_func_finitel_use=yes
46850 else
46851 glibcxx_cv_func_finitel_use=no
46852 fi
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854 ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46859
46860
46861 fi
46862
46863 fi
46864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46865 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46866
46867 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46868 for ac_func in finitel
46869 do :
46870 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46871 if test "x$ac_cv_func_finitel" = xyes; then :
46872 cat >>confdefs.h <<_ACEOF
46873 #define HAVE_FINITEL 1
46874 _ACEOF
46875
46876 fi
46877 done
46878
46879 else
46880
46881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46882 $as_echo_n "checking for _finitel declaration... " >&6; }
46883 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46884 if ${glibcxx_cv_func__finitel_use+:} false; then :
46885 $as_echo_n "(cached) " >&6
46886 else
46887
46888
46889 ac_ext=cpp
46890 ac_cpp='$CXXCPP $CPPFLAGS'
46891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46894
46895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46896 /* end confdefs.h. */
46897 #include <math.h>
46898 #ifdef HAVE_IEEEFP_H
46899 #include <ieeefp.h>
46900 #endif
46901
46902 int
46903 main ()
46904 {
46905 _finitel(0);
46906 ;
46907 return 0;
46908 }
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func__finitel_use=yes
46912 else
46913 glibcxx_cv_func__finitel_use=no
46914 fi
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46921
46922
46923 fi
46924
46925 fi
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46927 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46928
46929 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46930 for ac_func in _finitel
46931 do :
46932 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46933 if test "x$ac_cv_func__finitel" = xyes; then :
46934 cat >>confdefs.h <<_ACEOF
46935 #define HAVE__FINITEL 1
46936 _ACEOF
46937
46938 fi
46939 done
46940
46941 fi
46942 fi
46943
46944
46945
46946
46947 LIBS="$ac_save_LIBS"
46948 CXXFLAGS="$ac_save_CXXFLAGS"
46949
46950
46951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46952 ac_save_CXXFLAGS="$CXXFLAGS"
46953 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46954
46955
46956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46957 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46958 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46959 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46960 $as_echo_n "(cached) " >&6
46961 else
46962
46963
46964 ac_ext=cpp
46965 ac_cpp='$CXXCPP $CPPFLAGS'
46966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46969
46970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46971 /* end confdefs.h. */
46972 #include <stdlib.h>
46973 int
46974 main ()
46975 {
46976 at_quick_exit(0);
46977 ;
46978 return 0;
46979 }
46980 _ACEOF
46981 if ac_fn_cxx_try_compile "$LINENO"; then :
46982 glibcxx_cv_func_at_quick_exit_use=yes
46983 else
46984 glibcxx_cv_func_at_quick_exit_use=no
46985 fi
46986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46987 ac_ext=c
46988 ac_cpp='$CPP $CPPFLAGS'
46989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46992
46993
46994 fi
46995
46996 fi
46997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46998 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46999 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47000 for ac_func in at_quick_exit
47001 do :
47002 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47003 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47004 cat >>confdefs.h <<_ACEOF
47005 #define HAVE_AT_QUICK_EXIT 1
47006 _ACEOF
47007
47008 fi
47009 done
47010
47011 fi
47012
47013
47014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47015 $as_echo_n "checking for quick_exit declaration... " >&6; }
47016 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47017 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47018 $as_echo_n "(cached) " >&6
47019 else
47020
47021
47022 ac_ext=cpp
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47027
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47030 #include <stdlib.h>
47031 int
47032 main ()
47033 {
47034 quick_exit(0);
47035 ;
47036 return 0;
47037 }
47038 _ACEOF
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func_quick_exit_use=yes
47041 else
47042 glibcxx_cv_func_quick_exit_use=no
47043 fi
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47045 ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47050
47051
47052 fi
47053
47054 fi
47055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47056 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47057 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47058 for ac_func in quick_exit
47059 do :
47060 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47061 if test "x$ac_cv_func_quick_exit" = xyes; then :
47062 cat >>confdefs.h <<_ACEOF
47063 #define HAVE_QUICK_EXIT 1
47064 _ACEOF
47065
47066 fi
47067 done
47068
47069 fi
47070
47071
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47073 $as_echo_n "checking for strtold declaration... " >&6; }
47074 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47075 if ${glibcxx_cv_func_strtold_use+:} false; then :
47076 $as_echo_n "(cached) " >&6
47077 else
47078
47079
47080 ac_ext=cpp
47081 ac_cpp='$CXXCPP $CPPFLAGS'
47082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47085
47086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47087 /* end confdefs.h. */
47088 #include <stdlib.h>
47089 int
47090 main ()
47091 {
47092 strtold(0, 0);
47093 ;
47094 return 0;
47095 }
47096 _ACEOF
47097 if ac_fn_cxx_try_compile "$LINENO"; then :
47098 glibcxx_cv_func_strtold_use=yes
47099 else
47100 glibcxx_cv_func_strtold_use=no
47101 fi
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 ac_ext=c
47104 ac_cpp='$CPP $CPPFLAGS'
47105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47108
47109
47110 fi
47111
47112 fi
47113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47114 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47115 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47116 for ac_func in strtold
47117 do :
47118 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47119 if test "x$ac_cv_func_strtold" = xyes; then :
47120 cat >>confdefs.h <<_ACEOF
47121 #define HAVE_STRTOLD 1
47122 _ACEOF
47123
47124 fi
47125 done
47126
47127 fi
47128
47129
47130
47131
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47133 $as_echo_n "checking for strtof declaration... " >&6; }
47134 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47135 if ${glibcxx_cv_func_strtof_use+:} false; then :
47136 $as_echo_n "(cached) " >&6
47137 else
47138
47139
47140 ac_ext=cpp
47141 ac_cpp='$CXXCPP $CPPFLAGS'
47142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47145
47146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47147 /* end confdefs.h. */
47148 #include <stdlib.h>
47149 int
47150 main ()
47151 {
47152 strtof(0, 0);
47153 ;
47154 return 0;
47155 }
47156 _ACEOF
47157 if ac_fn_cxx_try_compile "$LINENO"; then :
47158 glibcxx_cv_func_strtof_use=yes
47159 else
47160 glibcxx_cv_func_strtof_use=no
47161 fi
47162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47163 ac_ext=c
47164 ac_cpp='$CPP $CPPFLAGS'
47165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47168
47169
47170 fi
47171
47172 fi
47173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47174 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47175 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47176 for ac_func in strtof
47177 do :
47178 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47179 if test "x$ac_cv_func_strtof" = xyes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE_STRTOF 1
47182 _ACEOF
47183
47184 fi
47185 done
47186
47187 fi
47188
47189
47190
47191
47192 CXXFLAGS="$ac_save_CXXFLAGS"
47193
47194
47195 for ac_func in uselocale
47196 do :
47197 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47198 if test "x$ac_cv_func_uselocale" = xyes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define HAVE_USELOCALE 1
47201 _ACEOF
47202
47203 fi
47204 done
47205
47206 ;;
47207
47208 *djgpp)
47209 # GLIBCXX_CHECK_MATH_SUPPORT
47210 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47211
47212 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47213
47214 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47215
47216 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47217
47218 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47219
47220 ;;
47221
47222 *-freebsd*)
47223 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47224
47225
47226 # If we're not using GNU ld, then there's no point in even trying these
47227 # tests. Check for that first. We should have already tested for gld
47228 # by now (in libtool), but require it now just to be safe...
47229 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47230 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47231
47232
47233
47234 # The name set by libtool depends on the version of libtool. Shame on us
47235 # for depending on an impl detail, but c'est la vie. Older versions used
47236 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47237 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47238 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47239 # set (hence we're using an older libtool), then set it.
47240 if test x${with_gnu_ld+set} != xset; then
47241 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47242 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47243 with_gnu_ld=no
47244 else
47245 with_gnu_ld=$ac_cv_prog_gnu_ld
47246 fi
47247 fi
47248
47249 # Start by getting the version number. I think the libtool test already
47250 # does some of this, but throws away the result.
47251 glibcxx_ld_is_gold=no
47252 glibcxx_ld_is_mold=no
47253 if test x"$with_gnu_ld" = x"yes"; then
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47255 $as_echo_n "checking for ld version... " >&6; }
47256
47257 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47258 glibcxx_ld_is_gold=yes
47259 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47260 glibcxx_ld_is_mold=yes
47261 fi
47262 ldver=`$LD --version 2>/dev/null |
47263 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47264
47265 glibcxx_gnu_ld_version=`echo $ldver | \
47266 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47268 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47269 fi
47270
47271 # Set --gc-sections.
47272 glibcxx_have_gc_sections=no
47273 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47274 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47275 glibcxx_have_gc_sections=yes
47276 fi
47277 else
47278 glibcxx_gcsections_min_ld=21602
47279 if test x"$with_gnu_ld" = x"yes" &&
47280 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47281 glibcxx_have_gc_sections=yes
47282 fi
47283 fi
47284 if test "$glibcxx_have_gc_sections" = "yes"; then
47285 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47286 # NB: This flag only works reliably after 2.16.1. Configure tests
47287 # for this are difficult, so hard wire a value that should work.
47288
47289 ac_test_CFLAGS="${CFLAGS+set}"
47290 ac_save_CFLAGS="$CFLAGS"
47291 CFLAGS='-Wl,--gc-sections'
47292
47293 # Check for -Wl,--gc-sections
47294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47295 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47296 if test x$gcc_no_link = xyes; then
47297 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47298 fi
47299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47300 /* end confdefs.h. */
47301 int one(void) { return 1; }
47302 int two(void) { return 2; }
47303
47304 int
47305 main ()
47306 {
47307 two();
47308 ;
47309 return 0;
47310 }
47311 _ACEOF
47312 if ac_fn_c_try_link "$LINENO"; then :
47313 ac_gcsections=yes
47314 else
47315 ac_gcsections=no
47316 fi
47317 rm -f core conftest.err conftest.$ac_objext \
47318 conftest$ac_exeext conftest.$ac_ext
47319 if test "$ac_gcsections" = "yes"; then
47320 rm -f conftest.c
47321 touch conftest.c
47322 if $CC -c conftest.c; then
47323 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47324 grep "Warning: gc-sections option ignored" > /dev/null; then
47325 ac_gcsections=no
47326 fi
47327 fi
47328 rm -f conftest.c conftest.o conftest
47329 fi
47330 if test "$ac_gcsections" = "yes"; then
47331 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47332 fi
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47334 $as_echo "$ac_gcsections" >&6; }
47335
47336 if test "$ac_test_CFLAGS" = set; then
47337 CFLAGS="$ac_save_CFLAGS"
47338 else
47339 # this is the suspicious part
47340 CFLAGS=''
47341 fi
47342 fi
47343
47344 # Set -z,relro.
47345 # Note this is only for shared objects.
47346 ac_ld_relro=no
47347 if test x"$with_gnu_ld" = x"yes"; then
47348 # cygwin and mingw uses PE, which has no ELF relro support,
47349 # multi target ld may confuse configure machinery
47350 case "$host" in
47351 *-*-cygwin*)
47352 ;;
47353 *-*-mingw*)
47354 ;;
47355 *)
47356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47357 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47358 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47359 if test -n "$cxx_z_relo"; then
47360 OPT_LDFLAGS="-Wl,-z,relro"
47361 ac_ld_relro=yes
47362 fi
47363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47364 $as_echo "$ac_ld_relro" >&6; }
47365 esac
47366 fi
47367
47368 # Set linker optimization flags.
47369 if test x"$with_gnu_ld" = x"yes"; then
47370 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47371 fi
47372
47373
47374
47375
47376 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47377
47378 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47379
47380 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47381
47382 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47383
47384 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47385
47386 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47387
47388 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47389
47390 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47391
47392 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47393
47394
47395 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47396
47397 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47398
47399 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47400
47401 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47402
47403 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47404
47405 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47406
47407 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47408
47409 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47410
47411 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47412
47413 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47414
47415 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47416
47417 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47418
47419 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47420
47421 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47422
47423 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47424
47425 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47426
47427 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47428
47429 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47430
47431 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47432
47433 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47434
47435 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47436
47437 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47438
47439 if test x"long_double_math_on_this_cpu" = x"yes"; then
47440 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47441
47442 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47443
47444 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47445
47446 fi
47447 for ac_func in __cxa_thread_atexit
47448 do :
47449 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47450 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define HAVE___CXA_THREAD_ATEXIT 1
47453 _ACEOF
47454
47455 fi
47456 done
47457
47458 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47459 do :
47460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47463 cat >>confdefs.h <<_ACEOF
47464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47465 _ACEOF
47466
47467 fi
47468 done
47469
47470 for ac_func in timespec_get
47471 do :
47472 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47473 if test "x$ac_cv_func_timespec_get" = xyes; then :
47474 cat >>confdefs.h <<_ACEOF
47475 #define HAVE_TIMESPEC_GET 1
47476 _ACEOF
47477
47478 fi
47479 done
47480
47481 for ac_func in sockatmark
47482 do :
47483 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47484 if test "x$ac_cv_func_sockatmark" = xyes; then :
47485 cat >>confdefs.h <<_ACEOF
47486 #define HAVE_SOCKATMARK 1
47487 _ACEOF
47488
47489 fi
47490 done
47491
47492 for ac_func in uselocale
47493 do :
47494 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47495 if test "x$ac_cv_func_uselocale" = xyes; then :
47496 cat >>confdefs.h <<_ACEOF
47497 #define HAVE_USELOCALE 1
47498 _ACEOF
47499
47500 fi
47501 done
47502
47503 ;;
47504
47505 *-fuchsia*)
47506 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47507
47508 ;;
47509
47510 *-hpux*)
47511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47512
47513
47514 # If we're not using GNU ld, then there's no point in even trying these
47515 # tests. Check for that first. We should have already tested for gld
47516 # by now (in libtool), but require it now just to be safe...
47517 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47518 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47519
47520
47521
47522 # The name set by libtool depends on the version of libtool. Shame on us
47523 # for depending on an impl detail, but c'est la vie. Older versions used
47524 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47525 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47526 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47527 # set (hence we're using an older libtool), then set it.
47528 if test x${with_gnu_ld+set} != xset; then
47529 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47530 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47531 with_gnu_ld=no
47532 else
47533 with_gnu_ld=$ac_cv_prog_gnu_ld
47534 fi
47535 fi
47536
47537 # Start by getting the version number. I think the libtool test already
47538 # does some of this, but throws away the result.
47539 glibcxx_ld_is_gold=no
47540 glibcxx_ld_is_mold=no
47541 if test x"$with_gnu_ld" = x"yes"; then
47542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47543 $as_echo_n "checking for ld version... " >&6; }
47544
47545 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47546 glibcxx_ld_is_gold=yes
47547 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47548 glibcxx_ld_is_mold=yes
47549 fi
47550 ldver=`$LD --version 2>/dev/null |
47551 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47552
47553 glibcxx_gnu_ld_version=`echo $ldver | \
47554 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47556 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47557 fi
47558
47559 # Set --gc-sections.
47560 glibcxx_have_gc_sections=no
47561 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47562 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47563 glibcxx_have_gc_sections=yes
47564 fi
47565 else
47566 glibcxx_gcsections_min_ld=21602
47567 if test x"$with_gnu_ld" = x"yes" &&
47568 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47569 glibcxx_have_gc_sections=yes
47570 fi
47571 fi
47572 if test "$glibcxx_have_gc_sections" = "yes"; then
47573 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47574 # NB: This flag only works reliably after 2.16.1. Configure tests
47575 # for this are difficult, so hard wire a value that should work.
47576
47577 ac_test_CFLAGS="${CFLAGS+set}"
47578 ac_save_CFLAGS="$CFLAGS"
47579 CFLAGS='-Wl,--gc-sections'
47580
47581 # Check for -Wl,--gc-sections
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47583 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47584 if test x$gcc_no_link = xyes; then
47585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47586 fi
47587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h. */
47589 int one(void) { return 1; }
47590 int two(void) { return 2; }
47591
47592 int
47593 main ()
47594 {
47595 two();
47596 ;
47597 return 0;
47598 }
47599 _ACEOF
47600 if ac_fn_c_try_link "$LINENO"; then :
47601 ac_gcsections=yes
47602 else
47603 ac_gcsections=no
47604 fi
47605 rm -f core conftest.err conftest.$ac_objext \
47606 conftest$ac_exeext conftest.$ac_ext
47607 if test "$ac_gcsections" = "yes"; then
47608 rm -f conftest.c
47609 touch conftest.c
47610 if $CC -c conftest.c; then
47611 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47612 grep "Warning: gc-sections option ignored" > /dev/null; then
47613 ac_gcsections=no
47614 fi
47615 fi
47616 rm -f conftest.c conftest.o conftest
47617 fi
47618 if test "$ac_gcsections" = "yes"; then
47619 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47620 fi
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47622 $as_echo "$ac_gcsections" >&6; }
47623
47624 if test "$ac_test_CFLAGS" = set; then
47625 CFLAGS="$ac_save_CFLAGS"
47626 else
47627 # this is the suspicious part
47628 CFLAGS=''
47629 fi
47630 fi
47631
47632 # Set -z,relro.
47633 # Note this is only for shared objects.
47634 ac_ld_relro=no
47635 if test x"$with_gnu_ld" = x"yes"; then
47636 # cygwin and mingw uses PE, which has no ELF relro support,
47637 # multi target ld may confuse configure machinery
47638 case "$host" in
47639 *-*-cygwin*)
47640 ;;
47641 *-*-mingw*)
47642 ;;
47643 *)
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47645 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47646 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47647 if test -n "$cxx_z_relo"; then
47648 OPT_LDFLAGS="-Wl,-z,relro"
47649 ac_ld_relro=yes
47650 fi
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47652 $as_echo "$ac_ld_relro" >&6; }
47653 esac
47654 fi
47655
47656 # Set linker optimization flags.
47657 if test x"$with_gnu_ld" = x"yes"; then
47658 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47659 fi
47660
47661
47662
47663
47664
47665 # GLIBCXX_CHECK_MATH_SUPPORT
47666 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47667
47668 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47669
47670 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47671
47672 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47673
47674 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47675
47676 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47677
47678 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47679
47680 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47681
47682 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47683
47684 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47685
47686 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47687
47688 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47689
47690 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47691
47692 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47693
47694 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47695
47696 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47697
47698 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47699
47700 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47701
47702 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47703
47704 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47705
47706 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47707
47708
47709 # GLIBCXX_CHECK_STDLIB_SUPPORT
47710 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47711
47712
47713
47714
47715 # Check whether --enable-tls was given.
47716 if test "${enable_tls+set}" = set; then :
47717 enableval=$enable_tls;
47718 case "$enableval" in
47719 yes|no) ;;
47720 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47721 esac
47722
47723 else
47724 enable_tls=yes
47725 fi
47726
47727
47728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47729 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47730 if ${gcc_cv_have_tls+:} false; then :
47731 $as_echo_n "(cached) " >&6
47732 else
47733
47734 if test "$cross_compiling" = yes; then :
47735 if test x$gcc_no_link = xyes; then
47736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47737 fi
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 __thread int a; int b; int main() { return a = b; }
47741 _ACEOF
47742 if ac_fn_c_try_link "$LINENO"; then :
47743 chktls_save_LDFLAGS="$LDFLAGS"
47744 case $host in
47745 *-*-linux* | -*-uclinuxfdpic*)
47746 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47747 ;;
47748 esac
47749 chktls_save_CFLAGS="$CFLAGS"
47750 CFLAGS="-fPIC $CFLAGS"
47751 if test x$gcc_no_link = xyes; then
47752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47753 fi
47754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47755 /* end confdefs.h. */
47756 int f() { return 0; }
47757 _ACEOF
47758 if ac_fn_c_try_link "$LINENO"; then :
47759 if test x$gcc_no_link = xyes; then
47760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47761 fi
47762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763 /* end confdefs.h. */
47764 __thread int a; int b; int f() { return a = b; }
47765 _ACEOF
47766 if ac_fn_c_try_link "$LINENO"; then :
47767 gcc_cv_have_tls=yes
47768 else
47769 gcc_cv_have_tls=no
47770 fi
47771 rm -f core conftest.err conftest.$ac_objext \
47772 conftest$ac_exeext conftest.$ac_ext
47773 else
47774 gcc_cv_have_tls=yes
47775 fi
47776 rm -f core conftest.err conftest.$ac_objext \
47777 conftest$ac_exeext conftest.$ac_ext
47778 CFLAGS="$chktls_save_CFLAGS"
47779 LDFLAGS="$chktls_save_LDFLAGS"
47780 else
47781 gcc_cv_have_tls=no
47782 fi
47783 rm -f core conftest.err conftest.$ac_objext \
47784 conftest$ac_exeext conftest.$ac_ext
47785
47786
47787 else
47788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47789 /* end confdefs.h. */
47790 __thread int a; int b; int main() { return a = b; }
47791 _ACEOF
47792 if ac_fn_c_try_run "$LINENO"; then :
47793 chktls_save_LDFLAGS="$LDFLAGS"
47794 LDFLAGS="-static $LDFLAGS"
47795 if test x$gcc_no_link = xyes; then
47796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47797 fi
47798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47799 /* end confdefs.h. */
47800 int main() { return 0; }
47801 _ACEOF
47802 if ac_fn_c_try_link "$LINENO"; then :
47803 if test "$cross_compiling" = yes; then :
47804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47806 as_fn_error $? "cannot run test program while cross compiling
47807 See \`config.log' for more details" "$LINENO" 5; }
47808 else
47809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47810 /* end confdefs.h. */
47811 __thread int a; int b; int main() { return a = b; }
47812 _ACEOF
47813 if ac_fn_c_try_run "$LINENO"; then :
47814 gcc_cv_have_tls=yes
47815 else
47816 gcc_cv_have_tls=no
47817 fi
47818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47819 conftest.$ac_objext conftest.beam conftest.$ac_ext
47820 fi
47821
47822 else
47823 gcc_cv_have_tls=yes
47824 fi
47825 rm -f core conftest.err conftest.$ac_objext \
47826 conftest$ac_exeext conftest.$ac_ext
47827 LDFLAGS="$chktls_save_LDFLAGS"
47828 if test $gcc_cv_have_tls = yes; then
47829 chktls_save_CFLAGS="$CFLAGS"
47830 thread_CFLAGS=failed
47831 for flag in '' '-pthread' '-lpthread'; do
47832 CFLAGS="$flag $chktls_save_CFLAGS"
47833 if test x$gcc_no_link = xyes; then
47834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47835 fi
47836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47837 /* end confdefs.h. */
47838 #include <pthread.h>
47839 void *g(void *d) { return NULL; }
47840 int
47841 main ()
47842 {
47843 pthread_t t; pthread_create(&t,NULL,g,NULL);
47844 ;
47845 return 0;
47846 }
47847 _ACEOF
47848 if ac_fn_c_try_link "$LINENO"; then :
47849 thread_CFLAGS="$flag"
47850 fi
47851 rm -f core conftest.err conftest.$ac_objext \
47852 conftest$ac_exeext conftest.$ac_ext
47853 if test "X$thread_CFLAGS" != Xfailed; then
47854 break
47855 fi
47856 done
47857 CFLAGS="$chktls_save_CFLAGS"
47858 if test "X$thread_CFLAGS" != Xfailed; then
47859 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47860 if test "$cross_compiling" = yes; then :
47861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47863 as_fn_error $? "cannot run test program while cross compiling
47864 See \`config.log' for more details" "$LINENO" 5; }
47865 else
47866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47867 /* end confdefs.h. */
47868 #include <pthread.h>
47869 __thread int a;
47870 static int *volatile a_in_other_thread;
47871 static void *
47872 thread_func (void *arg)
47873 {
47874 a_in_other_thread = &a;
47875 return (void *)0;
47876 }
47877 int
47878 main ()
47879 {
47880 pthread_t thread;
47881 void *thread_retval;
47882 int *volatile a_in_main_thread;
47883 a_in_main_thread = &a;
47884 if (pthread_create (&thread, (pthread_attr_t *)0,
47885 thread_func, (void *)0))
47886 return 0;
47887 if (pthread_join (thread, &thread_retval))
47888 return 0;
47889 return (a_in_other_thread == a_in_main_thread);
47890 ;
47891 return 0;
47892 }
47893 _ACEOF
47894 if ac_fn_c_try_run "$LINENO"; then :
47895 gcc_cv_have_tls=yes
47896 else
47897 gcc_cv_have_tls=no
47898 fi
47899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47900 conftest.$ac_objext conftest.beam conftest.$ac_ext
47901 fi
47902
47903 CFLAGS="$chktls_save_CFLAGS"
47904 fi
47905 fi
47906 else
47907 gcc_cv_have_tls=no
47908 fi
47909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47910 conftest.$ac_objext conftest.beam conftest.$ac_ext
47911 fi
47912
47913 fi
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47915 $as_echo "$gcc_cv_have_tls" >&6; }
47916 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47917
47918 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47919
47920 fi
47921 case "$target" in
47922 *-hpux10*)
47923 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47924
47925 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47926
47927 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47928
47929 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47930
47931 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47932
47933 ;;
47934 esac
47935 ;;
47936 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47937
47938 # All these tests are for C++; save the language and the compiler flags.
47939 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47940 # found in GLIBCXX_CONFIGURE.
47941
47942 ac_ext=cpp
47943 ac_cpp='$CXXCPP $CPPFLAGS'
47944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47947
47948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47949 ac_save_CXXFLAGS="$CXXFLAGS"
47950
47951 # Check for -ffunction-sections -fdata-sections
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47953 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47954 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47956 /* end confdefs.h. */
47957 int foo; void bar() { };
47958 int
47959 main ()
47960 {
47961
47962 ;
47963 return 0;
47964 }
47965 _ACEOF
47966 if ac_fn_cxx_try_compile "$LINENO"; then :
47967 ac_fdsections=yes
47968 else
47969 ac_fdsections=no
47970 fi
47971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47972 if test "$ac_test_CXXFLAGS" = set; then
47973 CXXFLAGS="$ac_save_CXXFLAGS"
47974 else
47975 # this is the suspicious part
47976 CXXFLAGS=''
47977 fi
47978 if test x"$ac_fdsections" = x"yes"; then
47979 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47980 fi
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47982 $as_echo "$ac_fdsections" >&6; }
47983
47984 ac_ext=c
47985 ac_cpp='$CPP $CPPFLAGS'
47986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47989
47990
47991
47992
47993 # If we're not using GNU ld, then there's no point in even trying these
47994 # tests. Check for that first. We should have already tested for gld
47995 # by now (in libtool), but require it now just to be safe...
47996 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47997 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47998
47999
48000
48001 # The name set by libtool depends on the version of libtool. Shame on us
48002 # for depending on an impl detail, but c'est la vie. Older versions used
48003 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48004 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48005 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48006 # set (hence we're using an older libtool), then set it.
48007 if test x${with_gnu_ld+set} != xset; then
48008 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48009 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48010 with_gnu_ld=no
48011 else
48012 with_gnu_ld=$ac_cv_prog_gnu_ld
48013 fi
48014 fi
48015
48016 # Start by getting the version number. I think the libtool test already
48017 # does some of this, but throws away the result.
48018 glibcxx_ld_is_gold=no
48019 glibcxx_ld_is_mold=no
48020 if test x"$with_gnu_ld" = x"yes"; then
48021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48022 $as_echo_n "checking for ld version... " >&6; }
48023
48024 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48025 glibcxx_ld_is_gold=yes
48026 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48027 glibcxx_ld_is_mold=yes
48028 fi
48029 ldver=`$LD --version 2>/dev/null |
48030 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48031
48032 glibcxx_gnu_ld_version=`echo $ldver | \
48033 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48035 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48036 fi
48037
48038 # Set --gc-sections.
48039 glibcxx_have_gc_sections=no
48040 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48041 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48042 glibcxx_have_gc_sections=yes
48043 fi
48044 else
48045 glibcxx_gcsections_min_ld=21602
48046 if test x"$with_gnu_ld" = x"yes" &&
48047 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48048 glibcxx_have_gc_sections=yes
48049 fi
48050 fi
48051 if test "$glibcxx_have_gc_sections" = "yes"; then
48052 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48053 # NB: This flag only works reliably after 2.16.1. Configure tests
48054 # for this are difficult, so hard wire a value that should work.
48055
48056 ac_test_CFLAGS="${CFLAGS+set}"
48057 ac_save_CFLAGS="$CFLAGS"
48058 CFLAGS='-Wl,--gc-sections'
48059
48060 # Check for -Wl,--gc-sections
48061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48062 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48063 if test x$gcc_no_link = xyes; then
48064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48065 fi
48066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48067 /* end confdefs.h. */
48068 int one(void) { return 1; }
48069 int two(void) { return 2; }
48070
48071 int
48072 main ()
48073 {
48074 two();
48075 ;
48076 return 0;
48077 }
48078 _ACEOF
48079 if ac_fn_c_try_link "$LINENO"; then :
48080 ac_gcsections=yes
48081 else
48082 ac_gcsections=no
48083 fi
48084 rm -f core conftest.err conftest.$ac_objext \
48085 conftest$ac_exeext conftest.$ac_ext
48086 if test "$ac_gcsections" = "yes"; then
48087 rm -f conftest.c
48088 touch conftest.c
48089 if $CC -c conftest.c; then
48090 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48091 grep "Warning: gc-sections option ignored" > /dev/null; then
48092 ac_gcsections=no
48093 fi
48094 fi
48095 rm -f conftest.c conftest.o conftest
48096 fi
48097 if test "$ac_gcsections" = "yes"; then
48098 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48099 fi
48100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48101 $as_echo "$ac_gcsections" >&6; }
48102
48103 if test "$ac_test_CFLAGS" = set; then
48104 CFLAGS="$ac_save_CFLAGS"
48105 else
48106 # this is the suspicious part
48107 CFLAGS=''
48108 fi
48109 fi
48110
48111 # Set -z,relro.
48112 # Note this is only for shared objects.
48113 ac_ld_relro=no
48114 if test x"$with_gnu_ld" = x"yes"; then
48115 # cygwin and mingw uses PE, which has no ELF relro support,
48116 # multi target ld may confuse configure machinery
48117 case "$host" in
48118 *-*-cygwin*)
48119 ;;
48120 *-*-mingw*)
48121 ;;
48122 *)
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48124 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48125 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48126 if test -n "$cxx_z_relo"; then
48127 OPT_LDFLAGS="-Wl,-z,relro"
48128 ac_ld_relro=yes
48129 fi
48130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48131 $as_echo "$ac_ld_relro" >&6; }
48132 esac
48133 fi
48134
48135 # Set linker optimization flags.
48136 if test x"$with_gnu_ld" = x"yes"; then
48137 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48138 fi
48139
48140
48141
48142
48143
48144 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48145 ac_save_CXXFLAGS="$CXXFLAGS"
48146 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48147
48148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48149 $as_echo_n "checking for sin in -lm... " >&6; }
48150 if ${ac_cv_lib_m_sin+:} false; then :
48151 $as_echo_n "(cached) " >&6
48152 else
48153 ac_check_lib_save_LIBS=$LIBS
48154 LIBS="-lm $LIBS"
48155 if test x$gcc_no_link = xyes; then
48156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48157 fi
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48160
48161 /* Override any GCC internal prototype to avoid an error.
48162 Use char because int might match the return type of a GCC
48163 builtin and then its argument prototype would still apply. */
48164 #ifdef __cplusplus
48165 extern "C"
48166 #endif
48167 char sin ();
48168 int
48169 main ()
48170 {
48171 return sin ();
48172 ;
48173 return 0;
48174 }
48175 _ACEOF
48176 if ac_fn_c_try_link "$LINENO"; then :
48177 ac_cv_lib_m_sin=yes
48178 else
48179 ac_cv_lib_m_sin=no
48180 fi
48181 rm -f core conftest.err conftest.$ac_objext \
48182 conftest$ac_exeext conftest.$ac_ext
48183 LIBS=$ac_check_lib_save_LIBS
48184 fi
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48186 $as_echo "$ac_cv_lib_m_sin" >&6; }
48187 if test "x$ac_cv_lib_m_sin" = xyes; then :
48188 libm="-lm"
48189 fi
48190
48191 ac_save_LIBS="$LIBS"
48192 LIBS="$LIBS $libm"
48193
48194
48195
48196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48197 $as_echo_n "checking for isinf declaration... " >&6; }
48198 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48199 if ${glibcxx_cv_func_isinf_use+:} false; then :
48200 $as_echo_n "(cached) " >&6
48201 else
48202
48203
48204 ac_ext=cpp
48205 ac_cpp='$CXXCPP $CPPFLAGS'
48206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48209
48210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48211 /* end confdefs.h. */
48212 #include <math.h>
48213 #ifdef HAVE_IEEEFP_H
48214 #include <ieeefp.h>
48215 #endif
48216
48217 int
48218 main ()
48219 {
48220 isinf(0);
48221 ;
48222 return 0;
48223 }
48224 _ACEOF
48225 if ac_fn_cxx_try_compile "$LINENO"; then :
48226 glibcxx_cv_func_isinf_use=yes
48227 else
48228 glibcxx_cv_func_isinf_use=no
48229 fi
48230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48231 ac_ext=c
48232 ac_cpp='$CPP $CPPFLAGS'
48233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48236
48237
48238 fi
48239
48240 fi
48241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48242 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48243
48244 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48245 for ac_func in isinf
48246 do :
48247 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48248 if test "x$ac_cv_func_isinf" = xyes; then :
48249 cat >>confdefs.h <<_ACEOF
48250 #define HAVE_ISINF 1
48251 _ACEOF
48252
48253 fi
48254 done
48255
48256 else
48257
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48259 $as_echo_n "checking for _isinf declaration... " >&6; }
48260 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48261 if ${glibcxx_cv_func__isinf_use+:} false; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48264
48265
48266 ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271
48272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h. */
48274 #include <math.h>
48275 #ifdef HAVE_IEEEFP_H
48276 #include <ieeefp.h>
48277 #endif
48278
48279 int
48280 main ()
48281 {
48282 _isinf(0);
48283 ;
48284 return 0;
48285 }
48286 _ACEOF
48287 if ac_fn_cxx_try_compile "$LINENO"; then :
48288 glibcxx_cv_func__isinf_use=yes
48289 else
48290 glibcxx_cv_func__isinf_use=no
48291 fi
48292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48293 ac_ext=c
48294 ac_cpp='$CPP $CPPFLAGS'
48295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48298
48299
48300 fi
48301
48302 fi
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48304 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48305
48306 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48307 for ac_func in _isinf
48308 do :
48309 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48310 if test "x$ac_cv_func__isinf" = xyes; then :
48311 cat >>confdefs.h <<_ACEOF
48312 #define HAVE__ISINF 1
48313 _ACEOF
48314
48315 fi
48316 done
48317
48318 fi
48319 fi
48320
48321
48322
48323
48324
48325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48326 $as_echo_n "checking for isnan declaration... " >&6; }
48327 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48328 if ${glibcxx_cv_func_isnan_use+:} false; then :
48329 $as_echo_n "(cached) " >&6
48330 else
48331
48332
48333 ac_ext=cpp
48334 ac_cpp='$CXXCPP $CPPFLAGS'
48335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48338
48339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48340 /* end confdefs.h. */
48341 #include <math.h>
48342 #ifdef HAVE_IEEEFP_H
48343 #include <ieeefp.h>
48344 #endif
48345
48346 int
48347 main ()
48348 {
48349 isnan(0);
48350 ;
48351 return 0;
48352 }
48353 _ACEOF
48354 if ac_fn_cxx_try_compile "$LINENO"; then :
48355 glibcxx_cv_func_isnan_use=yes
48356 else
48357 glibcxx_cv_func_isnan_use=no
48358 fi
48359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48360 ac_ext=c
48361 ac_cpp='$CPP $CPPFLAGS'
48362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48365
48366
48367 fi
48368
48369 fi
48370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48371 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48372
48373 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48374 for ac_func in isnan
48375 do :
48376 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48377 if test "x$ac_cv_func_isnan" = xyes; then :
48378 cat >>confdefs.h <<_ACEOF
48379 #define HAVE_ISNAN 1
48380 _ACEOF
48381
48382 fi
48383 done
48384
48385 else
48386
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48388 $as_echo_n "checking for _isnan declaration... " >&6; }
48389 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48390 if ${glibcxx_cv_func__isnan_use+:} false; then :
48391 $as_echo_n "(cached) " >&6
48392 else
48393
48394
48395 ac_ext=cpp
48396 ac_cpp='$CXXCPP $CPPFLAGS'
48397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48400
48401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48402 /* end confdefs.h. */
48403 #include <math.h>
48404 #ifdef HAVE_IEEEFP_H
48405 #include <ieeefp.h>
48406 #endif
48407
48408 int
48409 main ()
48410 {
48411 _isnan(0);
48412 ;
48413 return 0;
48414 }
48415 _ACEOF
48416 if ac_fn_cxx_try_compile "$LINENO"; then :
48417 glibcxx_cv_func__isnan_use=yes
48418 else
48419 glibcxx_cv_func__isnan_use=no
48420 fi
48421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48422 ac_ext=c
48423 ac_cpp='$CPP $CPPFLAGS'
48424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48427
48428
48429 fi
48430
48431 fi
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48433 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48434
48435 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48436 for ac_func in _isnan
48437 do :
48438 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48439 if test "x$ac_cv_func__isnan" = xyes; then :
48440 cat >>confdefs.h <<_ACEOF
48441 #define HAVE__ISNAN 1
48442 _ACEOF
48443
48444 fi
48445 done
48446
48447 fi
48448 fi
48449
48450
48451
48452
48453
48454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48455 $as_echo_n "checking for finite declaration... " >&6; }
48456 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48457 if ${glibcxx_cv_func_finite_use+:} false; then :
48458 $as_echo_n "(cached) " >&6
48459 else
48460
48461
48462 ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467
48468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48469 /* end confdefs.h. */
48470 #include <math.h>
48471 #ifdef HAVE_IEEEFP_H
48472 #include <ieeefp.h>
48473 #endif
48474
48475 int
48476 main ()
48477 {
48478 finite(0);
48479 ;
48480 return 0;
48481 }
48482 _ACEOF
48483 if ac_fn_cxx_try_compile "$LINENO"; then :
48484 glibcxx_cv_func_finite_use=yes
48485 else
48486 glibcxx_cv_func_finite_use=no
48487 fi
48488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48489 ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494
48495
48496 fi
48497
48498 fi
48499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48500 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48501
48502 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48503 for ac_func in finite
48504 do :
48505 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48506 if test "x$ac_cv_func_finite" = xyes; then :
48507 cat >>confdefs.h <<_ACEOF
48508 #define HAVE_FINITE 1
48509 _ACEOF
48510
48511 fi
48512 done
48513
48514 else
48515
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48517 $as_echo_n "checking for _finite declaration... " >&6; }
48518 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48519 if ${glibcxx_cv_func__finite_use+:} false; then :
48520 $as_echo_n "(cached) " >&6
48521 else
48522
48523
48524 ac_ext=cpp
48525 ac_cpp='$CXXCPP $CPPFLAGS'
48526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48529
48530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48531 /* end confdefs.h. */
48532 #include <math.h>
48533 #ifdef HAVE_IEEEFP_H
48534 #include <ieeefp.h>
48535 #endif
48536
48537 int
48538 main ()
48539 {
48540 _finite(0);
48541 ;
48542 return 0;
48543 }
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func__finite_use=yes
48547 else
48548 glibcxx_cv_func__finite_use=no
48549 fi
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556
48557
48558 fi
48559
48560 fi
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48562 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48563
48564 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48565 for ac_func in _finite
48566 do :
48567 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48568 if test "x$ac_cv_func__finite" = xyes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE__FINITE 1
48571 _ACEOF
48572
48573 fi
48574 done
48575
48576 fi
48577 fi
48578
48579
48580
48581
48582
48583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48584 $as_echo_n "checking for sincos declaration... " >&6; }
48585 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48586 if ${glibcxx_cv_func_sincos_use+:} false; then :
48587 $as_echo_n "(cached) " >&6
48588 else
48589
48590
48591 ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48596
48597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h. */
48599 #include <math.h>
48600 int
48601 main ()
48602 {
48603 sincos(0, 0, 0);
48604 ;
48605 return 0;
48606 }
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func_sincos_use=yes
48610 else
48611 glibcxx_cv_func_sincos_use=no
48612 fi
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619
48620
48621 fi
48622
48623 fi
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48625 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48626
48627 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48628 for ac_func in sincos
48629 do :
48630 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48631 if test "x$ac_cv_func_sincos" = xyes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE_SINCOS 1
48634 _ACEOF
48635
48636 fi
48637 done
48638
48639 else
48640
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48642 $as_echo_n "checking for _sincos declaration... " >&6; }
48643 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48644 if ${glibcxx_cv_func__sincos_use+:} false; then :
48645 $as_echo_n "(cached) " >&6
48646 else
48647
48648
48649 ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654
48655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h. */
48657 #include <math.h>
48658 int
48659 main ()
48660 {
48661 _sincos(0, 0, 0);
48662 ;
48663 return 0;
48664 }
48665 _ACEOF
48666 if ac_fn_cxx_try_compile "$LINENO"; then :
48667 glibcxx_cv_func__sincos_use=yes
48668 else
48669 glibcxx_cv_func__sincos_use=no
48670 fi
48671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48672 ac_ext=c
48673 ac_cpp='$CPP $CPPFLAGS'
48674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48677
48678
48679 fi
48680
48681 fi
48682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48683 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48684
48685 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48686 for ac_func in _sincos
48687 do :
48688 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48689 if test "x$ac_cv_func__sincos" = xyes; then :
48690 cat >>confdefs.h <<_ACEOF
48691 #define HAVE__SINCOS 1
48692 _ACEOF
48693
48694 fi
48695 done
48696
48697 fi
48698 fi
48699
48700
48701
48702
48703
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48705 $as_echo_n "checking for fpclass declaration... " >&6; }
48706 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48707 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48708 $as_echo_n "(cached) " >&6
48709 else
48710
48711
48712 ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717
48718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h. */
48720 #include <math.h>
48721 #ifdef HAVE_IEEEFP_H
48722 #include <ieeefp.h>
48723 #endif
48724
48725 int
48726 main ()
48727 {
48728 fpclass(0);
48729 ;
48730 return 0;
48731 }
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func_fpclass_use=yes
48735 else
48736 glibcxx_cv_func_fpclass_use=no
48737 fi
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48744
48745
48746 fi
48747
48748 fi
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48750 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48751
48752 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48753 for ac_func in fpclass
48754 do :
48755 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48756 if test "x$ac_cv_func_fpclass" = xyes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE_FPCLASS 1
48759 _ACEOF
48760
48761 fi
48762 done
48763
48764 else
48765
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48767 $as_echo_n "checking for _fpclass declaration... " >&6; }
48768 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48769 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48770 $as_echo_n "(cached) " >&6
48771 else
48772
48773
48774 ac_ext=cpp
48775 ac_cpp='$CXXCPP $CPPFLAGS'
48776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48779
48780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48781 /* end confdefs.h. */
48782 #include <math.h>
48783 #ifdef HAVE_IEEEFP_H
48784 #include <ieeefp.h>
48785 #endif
48786
48787 int
48788 main ()
48789 {
48790 _fpclass(0);
48791 ;
48792 return 0;
48793 }
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796 glibcxx_cv_func__fpclass_use=yes
48797 else
48798 glibcxx_cv_func__fpclass_use=no
48799 fi
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801 ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806
48807
48808 fi
48809
48810 fi
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48812 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48813
48814 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48815 for ac_func in _fpclass
48816 do :
48817 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48818 if test "x$ac_cv_func__fpclass" = xyes; then :
48819 cat >>confdefs.h <<_ACEOF
48820 #define HAVE__FPCLASS 1
48821 _ACEOF
48822
48823 fi
48824 done
48825
48826 fi
48827 fi
48828
48829
48830
48831
48832
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48834 $as_echo_n "checking for qfpclass declaration... " >&6; }
48835 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48836 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48839
48840
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48853
48854 int
48855 main ()
48856 {
48857 qfpclass(0);
48858 ;
48859 return 0;
48860 }
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func_qfpclass_use=yes
48864 else
48865 glibcxx_cv_func_qfpclass_use=no
48866 fi
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873
48874
48875 fi
48876
48877 fi
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48879 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48880
48881 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48882 for ac_func in qfpclass
48883 do :
48884 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48885 if test "x$ac_cv_func_qfpclass" = xyes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE_QFPCLASS 1
48888 _ACEOF
48889
48890 fi
48891 done
48892
48893 else
48894
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48896 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48897 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48898 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48899 $as_echo_n "(cached) " >&6
48900 else
48901
48902
48903 ac_ext=cpp
48904 ac_cpp='$CXXCPP $CPPFLAGS'
48905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48908
48909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48910 /* end confdefs.h. */
48911 #include <math.h>
48912 #ifdef HAVE_IEEEFP_H
48913 #include <ieeefp.h>
48914 #endif
48915
48916 int
48917 main ()
48918 {
48919 _qfpclass(0);
48920 ;
48921 return 0;
48922 }
48923 _ACEOF
48924 if ac_fn_cxx_try_compile "$LINENO"; then :
48925 glibcxx_cv_func__qfpclass_use=yes
48926 else
48927 glibcxx_cv_func__qfpclass_use=no
48928 fi
48929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48930 ac_ext=c
48931 ac_cpp='$CPP $CPPFLAGS'
48932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48935
48936
48937 fi
48938
48939 fi
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48941 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48942
48943 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48944 for ac_func in _qfpclass
48945 do :
48946 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48947 if test "x$ac_cv_func__qfpclass" = xyes; then :
48948 cat >>confdefs.h <<_ACEOF
48949 #define HAVE__QFPCLASS 1
48950 _ACEOF
48951
48952 fi
48953 done
48954
48955 fi
48956 fi
48957
48958
48959
48960
48961
48962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48963 $as_echo_n "checking for hypot declaration... " >&6; }
48964 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48965 if ${glibcxx_cv_func_hypot_use+:} false; then :
48966 $as_echo_n "(cached) " >&6
48967 else
48968
48969
48970 ac_ext=cpp
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48975
48976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48977 /* end confdefs.h. */
48978 #include <math.h>
48979 int
48980 main ()
48981 {
48982 hypot(0, 0);
48983 ;
48984 return 0;
48985 }
48986 _ACEOF
48987 if ac_fn_cxx_try_compile "$LINENO"; then :
48988 glibcxx_cv_func_hypot_use=yes
48989 else
48990 glibcxx_cv_func_hypot_use=no
48991 fi
48992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48993 ac_ext=c
48994 ac_cpp='$CPP $CPPFLAGS'
48995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998
48999
49000 fi
49001
49002 fi
49003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49004 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49005
49006 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49007 for ac_func in hypot
49008 do :
49009 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49010 if test "x$ac_cv_func_hypot" = xyes; then :
49011 cat >>confdefs.h <<_ACEOF
49012 #define HAVE_HYPOT 1
49013 _ACEOF
49014
49015 fi
49016 done
49017
49018 else
49019
49020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49021 $as_echo_n "checking for _hypot declaration... " >&6; }
49022 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49023 if ${glibcxx_cv_func__hypot_use+:} false; then :
49024 $as_echo_n "(cached) " >&6
49025 else
49026
49027
49028 ac_ext=cpp
49029 ac_cpp='$CXXCPP $CPPFLAGS'
49030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49033
49034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49035 /* end confdefs.h. */
49036 #include <math.h>
49037 int
49038 main ()
49039 {
49040 _hypot(0, 0);
49041 ;
49042 return 0;
49043 }
49044 _ACEOF
49045 if ac_fn_cxx_try_compile "$LINENO"; then :
49046 glibcxx_cv_func__hypot_use=yes
49047 else
49048 glibcxx_cv_func__hypot_use=no
49049 fi
49050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49051 ac_ext=c
49052 ac_cpp='$CPP $CPPFLAGS'
49053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49056
49057
49058 fi
49059
49060 fi
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49062 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49063
49064 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49065 for ac_func in _hypot
49066 do :
49067 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49068 if test "x$ac_cv_func__hypot" = xyes; then :
49069 cat >>confdefs.h <<_ACEOF
49070 #define HAVE__HYPOT 1
49071 _ACEOF
49072
49073 fi
49074 done
49075
49076 fi
49077 fi
49078
49079
49080
49081
49082
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49084 $as_echo_n "checking for float trig functions... " >&6; }
49085 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49086 $as_echo_n "(cached) " >&6
49087 else
49088
49089
49090 ac_ext=cpp
49091 ac_cpp='$CXXCPP $CPPFLAGS'
49092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49095
49096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49097 /* end confdefs.h. */
49098 #include <math.h>
49099 int
49100 main ()
49101 {
49102 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49103 ;
49104 return 0;
49105 }
49106 _ACEOF
49107 if ac_fn_cxx_try_compile "$LINENO"; then :
49108 glibcxx_cv_func_float_trig_use=yes
49109 else
49110 glibcxx_cv_func_float_trig_use=no
49111 fi
49112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49113 ac_ext=c
49114 ac_cpp='$CPP $CPPFLAGS'
49115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49118
49119 fi
49120
49121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49122 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49123 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49124 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49125 do :
49126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49129 cat >>confdefs.h <<_ACEOF
49130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49131 _ACEOF
49132
49133 fi
49134 done
49135
49136 else
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49138 $as_echo_n "checking for _float trig functions... " >&6; }
49139 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49140 $as_echo_n "(cached) " >&6
49141 else
49142
49143
49144 ac_ext=cpp
49145 ac_cpp='$CXXCPP $CPPFLAGS'
49146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49149
49150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49151 /* end confdefs.h. */
49152 #include <math.h>
49153 int
49154 main ()
49155 {
49156 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49157 ;
49158 return 0;
49159 }
49160 _ACEOF
49161 if ac_fn_cxx_try_compile "$LINENO"; then :
49162 glibcxx_cv_func__float_trig_use=yes
49163 else
49164 glibcxx_cv_func__float_trig_use=no
49165 fi
49166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49167 ac_ext=c
49168 ac_cpp='$CPP $CPPFLAGS'
49169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49172
49173 fi
49174
49175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49176 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49177 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49178 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49179 do :
49180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49183 cat >>confdefs.h <<_ACEOF
49184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49185 _ACEOF
49186
49187 fi
49188 done
49189
49190 fi
49191 fi
49192
49193
49194
49195
49196
49197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49198 $as_echo_n "checking for float round functions... " >&6; }
49199 if ${glibcxx_cv_func_float_round_use+:} false; then :
49200 $as_echo_n "(cached) " >&6
49201 else
49202
49203
49204 ac_ext=cpp
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49209
49210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h. */
49212 #include <math.h>
49213 int
49214 main ()
49215 {
49216 ceilf (0); floorf (0);
49217 ;
49218 return 0;
49219 }
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func_float_round_use=yes
49223 else
49224 glibcxx_cv_func_float_round_use=no
49225 fi
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227 ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49232
49233 fi
49234
49235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49236 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49237 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49238 for ac_func in ceilf floorf
49239 do :
49240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49243 cat >>confdefs.h <<_ACEOF
49244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49245 _ACEOF
49246
49247 fi
49248 done
49249
49250 else
49251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49252 $as_echo_n "checking for _float round functions... " >&6; }
49253 if ${glibcxx_cv_func__float_round_use+:} false; then :
49254 $as_echo_n "(cached) " >&6
49255 else
49256
49257
49258 ac_ext=cpp
49259 ac_cpp='$CXXCPP $CPPFLAGS'
49260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49263
49264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49265 /* end confdefs.h. */
49266 #include <math.h>
49267 int
49268 main ()
49269 {
49270 _ceilf (0); _floorf (0);
49271 ;
49272 return 0;
49273 }
49274 _ACEOF
49275 if ac_fn_cxx_try_compile "$LINENO"; then :
49276 glibcxx_cv_func__float_round_use=yes
49277 else
49278 glibcxx_cv_func__float_round_use=no
49279 fi
49280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49281 ac_ext=c
49282 ac_cpp='$CPP $CPPFLAGS'
49283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49286
49287 fi
49288
49289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49290 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49291 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49292 for ac_func in _ceilf _floorf
49293 do :
49294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49297 cat >>confdefs.h <<_ACEOF
49298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49299 _ACEOF
49300
49301 fi
49302 done
49303
49304 fi
49305 fi
49306
49307
49308
49309
49310
49311
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49313 $as_echo_n "checking for expf declaration... " >&6; }
49314 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49315 if ${glibcxx_cv_func_expf_use+:} false; then :
49316 $as_echo_n "(cached) " >&6
49317 else
49318
49319
49320 ac_ext=cpp
49321 ac_cpp='$CXXCPP $CPPFLAGS'
49322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49325
49326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49327 /* end confdefs.h. */
49328 #include <math.h>
49329 #ifdef HAVE_IEEEFP_H
49330 #include <ieeefp.h>
49331 #endif
49332
49333 int
49334 main ()
49335 {
49336 expf(0);
49337 ;
49338 return 0;
49339 }
49340 _ACEOF
49341 if ac_fn_cxx_try_compile "$LINENO"; then :
49342 glibcxx_cv_func_expf_use=yes
49343 else
49344 glibcxx_cv_func_expf_use=no
49345 fi
49346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49347 ac_ext=c
49348 ac_cpp='$CPP $CPPFLAGS'
49349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49352
49353
49354 fi
49355
49356 fi
49357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49358 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49359
49360 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49361 for ac_func in expf
49362 do :
49363 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49364 if test "x$ac_cv_func_expf" = xyes; then :
49365 cat >>confdefs.h <<_ACEOF
49366 #define HAVE_EXPF 1
49367 _ACEOF
49368
49369 fi
49370 done
49371
49372 else
49373
49374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49375 $as_echo_n "checking for _expf declaration... " >&6; }
49376 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49377 if ${glibcxx_cv_func__expf_use+:} false; then :
49378 $as_echo_n "(cached) " >&6
49379 else
49380
49381
49382 ac_ext=cpp
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49387
49388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h. */
49390 #include <math.h>
49391 #ifdef HAVE_IEEEFP_H
49392 #include <ieeefp.h>
49393 #endif
49394
49395 int
49396 main ()
49397 {
49398 _expf(0);
49399 ;
49400 return 0;
49401 }
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func__expf_use=yes
49405 else
49406 glibcxx_cv_func__expf_use=no
49407 fi
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409 ac_ext=c
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49414
49415
49416 fi
49417
49418 fi
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49420 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49421
49422 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49423 for ac_func in _expf
49424 do :
49425 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49426 if test "x$ac_cv_func__expf" = xyes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE__EXPF 1
49429 _ACEOF
49430
49431 fi
49432 done
49433
49434 fi
49435 fi
49436
49437
49438
49439
49440
49441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49442 $as_echo_n "checking for isnanf declaration... " >&6; }
49443 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49444 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49445 $as_echo_n "(cached) " >&6
49446 else
49447
49448
49449 ac_ext=cpp
49450 ac_cpp='$CXXCPP $CPPFLAGS'
49451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49454
49455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49456 /* end confdefs.h. */
49457 #include <math.h>
49458 #ifdef HAVE_IEEEFP_H
49459 #include <ieeefp.h>
49460 #endif
49461
49462 int
49463 main ()
49464 {
49465 isnanf(0);
49466 ;
49467 return 0;
49468 }
49469 _ACEOF
49470 if ac_fn_cxx_try_compile "$LINENO"; then :
49471 glibcxx_cv_func_isnanf_use=yes
49472 else
49473 glibcxx_cv_func_isnanf_use=no
49474 fi
49475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49476 ac_ext=c
49477 ac_cpp='$CPP $CPPFLAGS'
49478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49481
49482
49483 fi
49484
49485 fi
49486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49487 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49488
49489 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49490 for ac_func in isnanf
49491 do :
49492 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49493 if test "x$ac_cv_func_isnanf" = xyes; then :
49494 cat >>confdefs.h <<_ACEOF
49495 #define HAVE_ISNANF 1
49496 _ACEOF
49497
49498 fi
49499 done
49500
49501 else
49502
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49504 $as_echo_n "checking for _isnanf declaration... " >&6; }
49505 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49506 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49509
49510
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49520 #ifdef HAVE_IEEEFP_H
49521 #include <ieeefp.h>
49522 #endif
49523
49524 int
49525 main ()
49526 {
49527 _isnanf(0);
49528 ;
49529 return 0;
49530 }
49531 _ACEOF
49532 if ac_fn_cxx_try_compile "$LINENO"; then :
49533 glibcxx_cv_func__isnanf_use=yes
49534 else
49535 glibcxx_cv_func__isnanf_use=no
49536 fi
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538 ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543
49544
49545 fi
49546
49547 fi
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49549 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49550
49551 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49552 for ac_func in _isnanf
49553 do :
49554 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49555 if test "x$ac_cv_func__isnanf" = xyes; then :
49556 cat >>confdefs.h <<_ACEOF
49557 #define HAVE__ISNANF 1
49558 _ACEOF
49559
49560 fi
49561 done
49562
49563 fi
49564 fi
49565
49566
49567
49568
49569
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49571 $as_echo_n "checking for isinff declaration... " >&6; }
49572 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49573 if ${glibcxx_cv_func_isinff_use+:} false; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49576
49577
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49583
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 #ifdef HAVE_IEEEFP_H
49588 #include <ieeefp.h>
49589 #endif
49590
49591 int
49592 main ()
49593 {
49594 isinff(0);
49595 ;
49596 return 0;
49597 }
49598 _ACEOF
49599 if ac_fn_cxx_try_compile "$LINENO"; then :
49600 glibcxx_cv_func_isinff_use=yes
49601 else
49602 glibcxx_cv_func_isinff_use=no
49603 fi
49604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49605 ac_ext=c
49606 ac_cpp='$CPP $CPPFLAGS'
49607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610
49611
49612 fi
49613
49614 fi
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49616 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49617
49618 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49619 for ac_func in isinff
49620 do :
49621 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49622 if test "x$ac_cv_func_isinff" = xyes; then :
49623 cat >>confdefs.h <<_ACEOF
49624 #define HAVE_ISINFF 1
49625 _ACEOF
49626
49627 fi
49628 done
49629
49630 else
49631
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49633 $as_echo_n "checking for _isinff declaration... " >&6; }
49634 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49635 if ${glibcxx_cv_func__isinff_use+:} false; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49638
49639
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49649 #ifdef HAVE_IEEEFP_H
49650 #include <ieeefp.h>
49651 #endif
49652
49653 int
49654 main ()
49655 {
49656 _isinff(0);
49657 ;
49658 return 0;
49659 }
49660 _ACEOF
49661 if ac_fn_cxx_try_compile "$LINENO"; then :
49662 glibcxx_cv_func__isinff_use=yes
49663 else
49664 glibcxx_cv_func__isinff_use=no
49665 fi
49666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49667 ac_ext=c
49668 ac_cpp='$CPP $CPPFLAGS'
49669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49672
49673
49674 fi
49675
49676 fi
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49678 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49679
49680 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49681 for ac_func in _isinff
49682 do :
49683 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49684 if test "x$ac_cv_func__isinff" = xyes; then :
49685 cat >>confdefs.h <<_ACEOF
49686 #define HAVE__ISINFF 1
49687 _ACEOF
49688
49689 fi
49690 done
49691
49692 fi
49693 fi
49694
49695
49696
49697
49698
49699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49700 $as_echo_n "checking for atan2f declaration... " >&6; }
49701 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49702 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49703 $as_echo_n "(cached) " >&6
49704 else
49705
49706
49707 ac_ext=cpp
49708 ac_cpp='$CXXCPP $CPPFLAGS'
49709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49712
49713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49714 /* end confdefs.h. */
49715 #include <math.h>
49716 int
49717 main ()
49718 {
49719 atan2f(0, 0);
49720 ;
49721 return 0;
49722 }
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func_atan2f_use=yes
49726 else
49727 glibcxx_cv_func_atan2f_use=no
49728 fi
49729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49730 ac_ext=c
49731 ac_cpp='$CPP $CPPFLAGS'
49732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49735
49736
49737 fi
49738
49739 fi
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49741 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49742
49743 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49744 for ac_func in atan2f
49745 do :
49746 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49747 if test "x$ac_cv_func_atan2f" = xyes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE_ATAN2F 1
49750 _ACEOF
49751
49752 fi
49753 done
49754
49755 else
49756
49757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49758 $as_echo_n "checking for _atan2f declaration... " >&6; }
49759 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49760 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49761 $as_echo_n "(cached) " >&6
49762 else
49763
49764
49765 ac_ext=cpp
49766 ac_cpp='$CXXCPP $CPPFLAGS'
49767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770
49771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49772 /* end confdefs.h. */
49773 #include <math.h>
49774 int
49775 main ()
49776 {
49777 _atan2f(0, 0);
49778 ;
49779 return 0;
49780 }
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func__atan2f_use=yes
49784 else
49785 glibcxx_cv_func__atan2f_use=no
49786 fi
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49793
49794
49795 fi
49796
49797 fi
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49799 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49800
49801 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49802 for ac_func in _atan2f
49803 do :
49804 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49805 if test "x$ac_cv_func__atan2f" = xyes; then :
49806 cat >>confdefs.h <<_ACEOF
49807 #define HAVE__ATAN2F 1
49808 _ACEOF
49809
49810 fi
49811 done
49812
49813 fi
49814 fi
49815
49816
49817
49818
49819
49820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49821 $as_echo_n "checking for fabsf declaration... " >&6; }
49822 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49823 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49824 $as_echo_n "(cached) " >&6
49825 else
49826
49827
49828 ac_ext=cpp
49829 ac_cpp='$CXXCPP $CPPFLAGS'
49830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49833
49834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49835 /* end confdefs.h. */
49836 #include <math.h>
49837 #ifdef HAVE_IEEEFP_H
49838 #include <ieeefp.h>
49839 #endif
49840
49841 int
49842 main ()
49843 {
49844 fabsf(0);
49845 ;
49846 return 0;
49847 }
49848 _ACEOF
49849 if ac_fn_cxx_try_compile "$LINENO"; then :
49850 glibcxx_cv_func_fabsf_use=yes
49851 else
49852 glibcxx_cv_func_fabsf_use=no
49853 fi
49854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49860
49861
49862 fi
49863
49864 fi
49865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49866 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49867
49868 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49869 for ac_func in fabsf
49870 do :
49871 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49872 if test "x$ac_cv_func_fabsf" = xyes; then :
49873 cat >>confdefs.h <<_ACEOF
49874 #define HAVE_FABSF 1
49875 _ACEOF
49876
49877 fi
49878 done
49879
49880 else
49881
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49883 $as_echo_n "checking for _fabsf declaration... " >&6; }
49884 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49885 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49888
49889
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49895
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49899 #ifdef HAVE_IEEEFP_H
49900 #include <ieeefp.h>
49901 #endif
49902
49903 int
49904 main ()
49905 {
49906 _fabsf(0);
49907 ;
49908 return 0;
49909 }
49910 _ACEOF
49911 if ac_fn_cxx_try_compile "$LINENO"; then :
49912 glibcxx_cv_func__fabsf_use=yes
49913 else
49914 glibcxx_cv_func__fabsf_use=no
49915 fi
49916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49917 ac_ext=c
49918 ac_cpp='$CPP $CPPFLAGS'
49919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49922
49923
49924 fi
49925
49926 fi
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49928 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49929
49930 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49931 for ac_func in _fabsf
49932 do :
49933 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49934 if test "x$ac_cv_func__fabsf" = xyes; then :
49935 cat >>confdefs.h <<_ACEOF
49936 #define HAVE__FABSF 1
49937 _ACEOF
49938
49939 fi
49940 done
49941
49942 fi
49943 fi
49944
49945
49946
49947
49948
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49950 $as_echo_n "checking for fmodf declaration... " >&6; }
49951 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49952 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49955
49956
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49962
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49966 int
49967 main ()
49968 {
49969 fmodf(0, 0);
49970 ;
49971 return 0;
49972 }
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func_fmodf_use=yes
49976 else
49977 glibcxx_cv_func_fmodf_use=no
49978 fi
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985
49986
49987 fi
49988
49989 fi
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49991 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49992
49993 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49994 for ac_func in fmodf
49995 do :
49996 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49997 if test "x$ac_cv_func_fmodf" = xyes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE_FMODF 1
50000 _ACEOF
50001
50002 fi
50003 done
50004
50005 else
50006
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50008 $as_echo_n "checking for _fmodf declaration... " >&6; }
50009 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50010 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50011 $as_echo_n "(cached) " >&6
50012 else
50013
50014
50015 ac_ext=cpp
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50020
50021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50022 /* end confdefs.h. */
50023 #include <math.h>
50024 int
50025 main ()
50026 {
50027 _fmodf(0, 0);
50028 ;
50029 return 0;
50030 }
50031 _ACEOF
50032 if ac_fn_cxx_try_compile "$LINENO"; then :
50033 glibcxx_cv_func__fmodf_use=yes
50034 else
50035 glibcxx_cv_func__fmodf_use=no
50036 fi
50037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50038 ac_ext=c
50039 ac_cpp='$CPP $CPPFLAGS'
50040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50043
50044
50045 fi
50046
50047 fi
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50049 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50050
50051 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50052 for ac_func in _fmodf
50053 do :
50054 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50055 if test "x$ac_cv_func__fmodf" = xyes; then :
50056 cat >>confdefs.h <<_ACEOF
50057 #define HAVE__FMODF 1
50058 _ACEOF
50059
50060 fi
50061 done
50062
50063 fi
50064 fi
50065
50066
50067
50068
50069
50070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50071 $as_echo_n "checking for frexpf declaration... " >&6; }
50072 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50073 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50074 $as_echo_n "(cached) " >&6
50075 else
50076
50077
50078 ac_ext=cpp
50079 ac_cpp='$CXXCPP $CPPFLAGS'
50080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50083
50084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50085 /* end confdefs.h. */
50086 #include <math.h>
50087 int
50088 main ()
50089 {
50090 frexpf(0, 0);
50091 ;
50092 return 0;
50093 }
50094 _ACEOF
50095 if ac_fn_cxx_try_compile "$LINENO"; then :
50096 glibcxx_cv_func_frexpf_use=yes
50097 else
50098 glibcxx_cv_func_frexpf_use=no
50099 fi
50100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50101 ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50106
50107
50108 fi
50109
50110 fi
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50112 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50113
50114 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50115 for ac_func in frexpf
50116 do :
50117 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50118 if test "x$ac_cv_func_frexpf" = xyes; then :
50119 cat >>confdefs.h <<_ACEOF
50120 #define HAVE_FREXPF 1
50121 _ACEOF
50122
50123 fi
50124 done
50125
50126 else
50127
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50129 $as_echo_n "checking for _frexpf declaration... " >&6; }
50130 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50131 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50132 $as_echo_n "(cached) " >&6
50133 else
50134
50135
50136 ac_ext=cpp
50137 ac_cpp='$CXXCPP $CPPFLAGS'
50138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50141
50142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50143 /* end confdefs.h. */
50144 #include <math.h>
50145 int
50146 main ()
50147 {
50148 _frexpf(0, 0);
50149 ;
50150 return 0;
50151 }
50152 _ACEOF
50153 if ac_fn_cxx_try_compile "$LINENO"; then :
50154 glibcxx_cv_func__frexpf_use=yes
50155 else
50156 glibcxx_cv_func__frexpf_use=no
50157 fi
50158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50159 ac_ext=c
50160 ac_cpp='$CPP $CPPFLAGS'
50161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50164
50165
50166 fi
50167
50168 fi
50169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50170 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50171
50172 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50173 for ac_func in _frexpf
50174 do :
50175 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50176 if test "x$ac_cv_func__frexpf" = xyes; then :
50177 cat >>confdefs.h <<_ACEOF
50178 #define HAVE__FREXPF 1
50179 _ACEOF
50180
50181 fi
50182 done
50183
50184 fi
50185 fi
50186
50187
50188
50189
50190
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50192 $as_echo_n "checking for hypotf declaration... " >&6; }
50193 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50194 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50195 $as_echo_n "(cached) " >&6
50196 else
50197
50198
50199 ac_ext=cpp
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50204
50205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50206 /* end confdefs.h. */
50207 #include <math.h>
50208 int
50209 main ()
50210 {
50211 hypotf(0, 0);
50212 ;
50213 return 0;
50214 }
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func_hypotf_use=yes
50218 else
50219 glibcxx_cv_func_hypotf_use=no
50220 fi
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222 ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50227
50228
50229 fi
50230
50231 fi
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50233 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50234
50235 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50236 for ac_func in hypotf
50237 do :
50238 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50239 if test "x$ac_cv_func_hypotf" = xyes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE_HYPOTF 1
50242 _ACEOF
50243
50244 fi
50245 done
50246
50247 else
50248
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50250 $as_echo_n "checking for _hypotf declaration... " >&6; }
50251 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50252 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50253 $as_echo_n "(cached) " >&6
50254 else
50255
50256
50257 ac_ext=cpp
50258 ac_cpp='$CXXCPP $CPPFLAGS'
50259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50262
50263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50264 /* end confdefs.h. */
50265 #include <math.h>
50266 int
50267 main ()
50268 {
50269 _hypotf(0, 0);
50270 ;
50271 return 0;
50272 }
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func__hypotf_use=yes
50276 else
50277 glibcxx_cv_func__hypotf_use=no
50278 fi
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50285
50286
50287 fi
50288
50289 fi
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50291 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50292
50293 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50294 for ac_func in _hypotf
50295 do :
50296 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50297 if test "x$ac_cv_func__hypotf" = xyes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE__HYPOTF 1
50300 _ACEOF
50301
50302 fi
50303 done
50304
50305 fi
50306 fi
50307
50308
50309
50310
50311
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50313 $as_echo_n "checking for ldexpf declaration... " >&6; }
50314 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50315 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50316 $as_echo_n "(cached) " >&6
50317 else
50318
50319
50320 ac_ext=cpp
50321 ac_cpp='$CXXCPP $CPPFLAGS'
50322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50325
50326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327 /* end confdefs.h. */
50328 #include <math.h>
50329 int
50330 main ()
50331 {
50332 ldexpf(0, 0);
50333 ;
50334 return 0;
50335 }
50336 _ACEOF
50337 if ac_fn_cxx_try_compile "$LINENO"; then :
50338 glibcxx_cv_func_ldexpf_use=yes
50339 else
50340 glibcxx_cv_func_ldexpf_use=no
50341 fi
50342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50343 ac_ext=c
50344 ac_cpp='$CPP $CPPFLAGS'
50345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50348
50349
50350 fi
50351
50352 fi
50353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50354 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50355
50356 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50357 for ac_func in ldexpf
50358 do :
50359 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50360 if test "x$ac_cv_func_ldexpf" = xyes; then :
50361 cat >>confdefs.h <<_ACEOF
50362 #define HAVE_LDEXPF 1
50363 _ACEOF
50364
50365 fi
50366 done
50367
50368 else
50369
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50371 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50372 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50373 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50374 $as_echo_n "(cached) " >&6
50375 else
50376
50377
50378 ac_ext=cpp
50379 ac_cpp='$CXXCPP $CPPFLAGS'
50380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383
50384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50385 /* end confdefs.h. */
50386 #include <math.h>
50387 int
50388 main ()
50389 {
50390 _ldexpf(0, 0);
50391 ;
50392 return 0;
50393 }
50394 _ACEOF
50395 if ac_fn_cxx_try_compile "$LINENO"; then :
50396 glibcxx_cv_func__ldexpf_use=yes
50397 else
50398 glibcxx_cv_func__ldexpf_use=no
50399 fi
50400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50401 ac_ext=c
50402 ac_cpp='$CPP $CPPFLAGS'
50403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50406
50407
50408 fi
50409
50410 fi
50411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50412 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50413
50414 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50415 for ac_func in _ldexpf
50416 do :
50417 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50418 if test "x$ac_cv_func__ldexpf" = xyes; then :
50419 cat >>confdefs.h <<_ACEOF
50420 #define HAVE__LDEXPF 1
50421 _ACEOF
50422
50423 fi
50424 done
50425
50426 fi
50427 fi
50428
50429
50430
50431
50432
50433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50434 $as_echo_n "checking for logf declaration... " >&6; }
50435 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50436 if ${glibcxx_cv_func_logf_use+:} false; then :
50437 $as_echo_n "(cached) " >&6
50438 else
50439
50440
50441 ac_ext=cpp
50442 ac_cpp='$CXXCPP $CPPFLAGS'
50443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50446
50447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50448 /* end confdefs.h. */
50449 #include <math.h>
50450 #ifdef HAVE_IEEEFP_H
50451 #include <ieeefp.h>
50452 #endif
50453
50454 int
50455 main ()
50456 {
50457 logf(0);
50458 ;
50459 return 0;
50460 }
50461 _ACEOF
50462 if ac_fn_cxx_try_compile "$LINENO"; then :
50463 glibcxx_cv_func_logf_use=yes
50464 else
50465 glibcxx_cv_func_logf_use=no
50466 fi
50467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50468 ac_ext=c
50469 ac_cpp='$CPP $CPPFLAGS'
50470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50473
50474
50475 fi
50476
50477 fi
50478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50479 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50480
50481 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50482 for ac_func in logf
50483 do :
50484 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50485 if test "x$ac_cv_func_logf" = xyes; then :
50486 cat >>confdefs.h <<_ACEOF
50487 #define HAVE_LOGF 1
50488 _ACEOF
50489
50490 fi
50491 done
50492
50493 else
50494
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50496 $as_echo_n "checking for _logf declaration... " >&6; }
50497 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50498 if ${glibcxx_cv_func__logf_use+:} false; then :
50499 $as_echo_n "(cached) " >&6
50500 else
50501
50502
50503 ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50508
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50511 #include <math.h>
50512 #ifdef HAVE_IEEEFP_H
50513 #include <ieeefp.h>
50514 #endif
50515
50516 int
50517 main ()
50518 {
50519 _logf(0);
50520 ;
50521 return 0;
50522 }
50523 _ACEOF
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525 glibcxx_cv_func__logf_use=yes
50526 else
50527 glibcxx_cv_func__logf_use=no
50528 fi
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530 ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535
50536
50537 fi
50538
50539 fi
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50541 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50542
50543 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50544 for ac_func in _logf
50545 do :
50546 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50547 if test "x$ac_cv_func__logf" = xyes; then :
50548 cat >>confdefs.h <<_ACEOF
50549 #define HAVE__LOGF 1
50550 _ACEOF
50551
50552 fi
50553 done
50554
50555 fi
50556 fi
50557
50558
50559
50560
50561
50562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50563 $as_echo_n "checking for log10f declaration... " >&6; }
50564 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50565 if ${glibcxx_cv_func_log10f_use+:} false; then :
50566 $as_echo_n "(cached) " >&6
50567 else
50568
50569
50570 ac_ext=cpp
50571 ac_cpp='$CXXCPP $CPPFLAGS'
50572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50575
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h. */
50578 #include <math.h>
50579 #ifdef HAVE_IEEEFP_H
50580 #include <ieeefp.h>
50581 #endif
50582
50583 int
50584 main ()
50585 {
50586 log10f(0);
50587 ;
50588 return 0;
50589 }
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592 glibcxx_cv_func_log10f_use=yes
50593 else
50594 glibcxx_cv_func_log10f_use=no
50595 fi
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602
50603
50604 fi
50605
50606 fi
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50608 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50609
50610 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50611 for ac_func in log10f
50612 do :
50613 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50614 if test "x$ac_cv_func_log10f" = xyes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE_LOG10F 1
50617 _ACEOF
50618
50619 fi
50620 done
50621
50622 else
50623
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50625 $as_echo_n "checking for _log10f declaration... " >&6; }
50626 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50627 if ${glibcxx_cv_func__log10f_use+:} false; then :
50628 $as_echo_n "(cached) " >&6
50629 else
50630
50631
50632 ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637
50638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h. */
50640 #include <math.h>
50641 #ifdef HAVE_IEEEFP_H
50642 #include <ieeefp.h>
50643 #endif
50644
50645 int
50646 main ()
50647 {
50648 _log10f(0);
50649 ;
50650 return 0;
50651 }
50652 _ACEOF
50653 if ac_fn_cxx_try_compile "$LINENO"; then :
50654 glibcxx_cv_func__log10f_use=yes
50655 else
50656 glibcxx_cv_func__log10f_use=no
50657 fi
50658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50659 ac_ext=c
50660 ac_cpp='$CPP $CPPFLAGS'
50661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50664
50665
50666 fi
50667
50668 fi
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50670 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50671
50672 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50673 for ac_func in _log10f
50674 do :
50675 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50676 if test "x$ac_cv_func__log10f" = xyes; then :
50677 cat >>confdefs.h <<_ACEOF
50678 #define HAVE__LOG10F 1
50679 _ACEOF
50680
50681 fi
50682 done
50683
50684 fi
50685 fi
50686
50687
50688
50689
50690
50691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50692 $as_echo_n "checking for modff declaration... " >&6; }
50693 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50694 if ${glibcxx_cv_func_modff_use+:} false; then :
50695 $as_echo_n "(cached) " >&6
50696 else
50697
50698
50699 ac_ext=cpp
50700 ac_cpp='$CXXCPP $CPPFLAGS'
50701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50704
50705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50706 /* end confdefs.h. */
50707 #include <math.h>
50708 int
50709 main ()
50710 {
50711 modff(0, 0);
50712 ;
50713 return 0;
50714 }
50715 _ACEOF
50716 if ac_fn_cxx_try_compile "$LINENO"; then :
50717 glibcxx_cv_func_modff_use=yes
50718 else
50719 glibcxx_cv_func_modff_use=no
50720 fi
50721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727
50728
50729 fi
50730
50731 fi
50732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50733 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50734
50735 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50736 for ac_func in modff
50737 do :
50738 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50739 if test "x$ac_cv_func_modff" = xyes; then :
50740 cat >>confdefs.h <<_ACEOF
50741 #define HAVE_MODFF 1
50742 _ACEOF
50743
50744 fi
50745 done
50746
50747 else
50748
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50750 $as_echo_n "checking for _modff declaration... " >&6; }
50751 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50752 if ${glibcxx_cv_func__modff_use+:} false; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50755
50756
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50766 int
50767 main ()
50768 {
50769 _modff(0, 0);
50770 ;
50771 return 0;
50772 }
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func__modff_use=yes
50776 else
50777 glibcxx_cv_func__modff_use=no
50778 fi
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785
50786
50787 fi
50788
50789 fi
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50791 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50792
50793 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50794 for ac_func in _modff
50795 do :
50796 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50797 if test "x$ac_cv_func__modff" = xyes; then :
50798 cat >>confdefs.h <<_ACEOF
50799 #define HAVE__MODFF 1
50800 _ACEOF
50801
50802 fi
50803 done
50804
50805 fi
50806 fi
50807
50808
50809
50810
50811
50812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50813 $as_echo_n "checking for modf declaration... " >&6; }
50814 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50815 if ${glibcxx_cv_func_modf_use+:} false; then :
50816 $as_echo_n "(cached) " >&6
50817 else
50818
50819
50820 ac_ext=cpp
50821 ac_cpp='$CXXCPP $CPPFLAGS'
50822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50825
50826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50827 /* end confdefs.h. */
50828 #include <math.h>
50829 int
50830 main ()
50831 {
50832 modf(0, 0);
50833 ;
50834 return 0;
50835 }
50836 _ACEOF
50837 if ac_fn_cxx_try_compile "$LINENO"; then :
50838 glibcxx_cv_func_modf_use=yes
50839 else
50840 glibcxx_cv_func_modf_use=no
50841 fi
50842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50843 ac_ext=c
50844 ac_cpp='$CPP $CPPFLAGS'
50845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50848
50849
50850 fi
50851
50852 fi
50853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50854 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50855
50856 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50857 for ac_func in modf
50858 do :
50859 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50860 if test "x$ac_cv_func_modf" = xyes; then :
50861 cat >>confdefs.h <<_ACEOF
50862 #define HAVE_MODF 1
50863 _ACEOF
50864
50865 fi
50866 done
50867
50868 else
50869
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50871 $as_echo_n "checking for _modf declaration... " >&6; }
50872 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50873 if ${glibcxx_cv_func__modf_use+:} false; then :
50874 $as_echo_n "(cached) " >&6
50875 else
50876
50877
50878 ac_ext=cpp
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50883
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 #include <math.h>
50887 int
50888 main ()
50889 {
50890 _modf(0, 0);
50891 ;
50892 return 0;
50893 }
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func__modf_use=yes
50897 else
50898 glibcxx_cv_func__modf_use=no
50899 fi
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901 ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906
50907
50908 fi
50909
50910 fi
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50912 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50913
50914 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50915 for ac_func in _modf
50916 do :
50917 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50918 if test "x$ac_cv_func__modf" = xyes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE__MODF 1
50921 _ACEOF
50922
50923 fi
50924 done
50925
50926 fi
50927 fi
50928
50929
50930
50931
50932
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50934 $as_echo_n "checking for powf declaration... " >&6; }
50935 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50936 if ${glibcxx_cv_func_powf_use+:} false; then :
50937 $as_echo_n "(cached) " >&6
50938 else
50939
50940
50941 ac_ext=cpp
50942 ac_cpp='$CXXCPP $CPPFLAGS'
50943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50946
50947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50948 /* end confdefs.h. */
50949 #include <math.h>
50950 int
50951 main ()
50952 {
50953 powf(0, 0);
50954 ;
50955 return 0;
50956 }
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959 glibcxx_cv_func_powf_use=yes
50960 else
50961 glibcxx_cv_func_powf_use=no
50962 fi
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50969
50970
50971 fi
50972
50973 fi
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50975 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50976
50977 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50978 for ac_func in powf
50979 do :
50980 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50981 if test "x$ac_cv_func_powf" = xyes; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define HAVE_POWF 1
50984 _ACEOF
50985
50986 fi
50987 done
50988
50989 else
50990
50991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50992 $as_echo_n "checking for _powf declaration... " >&6; }
50993 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50994 if ${glibcxx_cv_func__powf_use+:} false; then :
50995 $as_echo_n "(cached) " >&6
50996 else
50997
50998
50999 ac_ext=cpp
51000 ac_cpp='$CXXCPP $CPPFLAGS'
51001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51004
51005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51006 /* end confdefs.h. */
51007 #include <math.h>
51008 int
51009 main ()
51010 {
51011 _powf(0, 0);
51012 ;
51013 return 0;
51014 }
51015 _ACEOF
51016 if ac_fn_cxx_try_compile "$LINENO"; then :
51017 glibcxx_cv_func__powf_use=yes
51018 else
51019 glibcxx_cv_func__powf_use=no
51020 fi
51021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51022 ac_ext=c
51023 ac_cpp='$CPP $CPPFLAGS'
51024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51027
51028
51029 fi
51030
51031 fi
51032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51033 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51034
51035 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51036 for ac_func in _powf
51037 do :
51038 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51039 if test "x$ac_cv_func__powf" = xyes; then :
51040 cat >>confdefs.h <<_ACEOF
51041 #define HAVE__POWF 1
51042 _ACEOF
51043
51044 fi
51045 done
51046
51047 fi
51048 fi
51049
51050
51051
51052
51053
51054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51055 $as_echo_n "checking for sqrtf declaration... " >&6; }
51056 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51057 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51058 $as_echo_n "(cached) " >&6
51059 else
51060
51061
51062 ac_ext=cpp
51063 ac_cpp='$CXXCPP $CPPFLAGS'
51064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51067
51068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51069 /* end confdefs.h. */
51070 #include <math.h>
51071 #ifdef HAVE_IEEEFP_H
51072 #include <ieeefp.h>
51073 #endif
51074
51075 int
51076 main ()
51077 {
51078 sqrtf(0);
51079 ;
51080 return 0;
51081 }
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084 glibcxx_cv_func_sqrtf_use=yes
51085 else
51086 glibcxx_cv_func_sqrtf_use=no
51087 fi
51088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51089 ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51094
51095
51096 fi
51097
51098 fi
51099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51100 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51101
51102 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51103 for ac_func in sqrtf
51104 do :
51105 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51106 if test "x$ac_cv_func_sqrtf" = xyes; then :
51107 cat >>confdefs.h <<_ACEOF
51108 #define HAVE_SQRTF 1
51109 _ACEOF
51110
51111 fi
51112 done
51113
51114 else
51115
51116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51117 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51118 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51119 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51120 $as_echo_n "(cached) " >&6
51121 else
51122
51123
51124 ac_ext=cpp
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129
51130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h. */
51132 #include <math.h>
51133 #ifdef HAVE_IEEEFP_H
51134 #include <ieeefp.h>
51135 #endif
51136
51137 int
51138 main ()
51139 {
51140 _sqrtf(0);
51141 ;
51142 return 0;
51143 }
51144 _ACEOF
51145 if ac_fn_cxx_try_compile "$LINENO"; then :
51146 glibcxx_cv_func__sqrtf_use=yes
51147 else
51148 glibcxx_cv_func__sqrtf_use=no
51149 fi
51150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51151 ac_ext=c
51152 ac_cpp='$CPP $CPPFLAGS'
51153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51156
51157
51158 fi
51159
51160 fi
51161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51162 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51163
51164 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51165 for ac_func in _sqrtf
51166 do :
51167 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51168 if test "x$ac_cv_func__sqrtf" = xyes; then :
51169 cat >>confdefs.h <<_ACEOF
51170 #define HAVE__SQRTF 1
51171 _ACEOF
51172
51173 fi
51174 done
51175
51176 fi
51177 fi
51178
51179
51180
51181
51182
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51184 $as_echo_n "checking for sincosf declaration... " >&6; }
51185 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51186 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51189
51190
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51200 int
51201 main ()
51202 {
51203 sincosf(0, 0, 0);
51204 ;
51205 return 0;
51206 }
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func_sincosf_use=yes
51210 else
51211 glibcxx_cv_func_sincosf_use=no
51212 fi
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51219
51220
51221 fi
51222
51223 fi
51224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51225 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51226
51227 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51228 for ac_func in sincosf
51229 do :
51230 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51231 if test "x$ac_cv_func_sincosf" = xyes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE_SINCOSF 1
51234 _ACEOF
51235
51236 fi
51237 done
51238
51239 else
51240
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51242 $as_echo_n "checking for _sincosf declaration... " >&6; }
51243 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51244 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51245 $as_echo_n "(cached) " >&6
51246 else
51247
51248
51249 ac_ext=cpp
51250 ac_cpp='$CXXCPP $CPPFLAGS'
51251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51254
51255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51256 /* end confdefs.h. */
51257 #include <math.h>
51258 int
51259 main ()
51260 {
51261 _sincosf(0, 0, 0);
51262 ;
51263 return 0;
51264 }
51265 _ACEOF
51266 if ac_fn_cxx_try_compile "$LINENO"; then :
51267 glibcxx_cv_func__sincosf_use=yes
51268 else
51269 glibcxx_cv_func__sincosf_use=no
51270 fi
51271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51272 ac_ext=c
51273 ac_cpp='$CPP $CPPFLAGS'
51274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51277
51278
51279 fi
51280
51281 fi
51282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51283 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51284
51285 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51286 for ac_func in _sincosf
51287 do :
51288 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51289 if test "x$ac_cv_func__sincosf" = xyes; then :
51290 cat >>confdefs.h <<_ACEOF
51291 #define HAVE__SINCOSF 1
51292 _ACEOF
51293
51294 fi
51295 done
51296
51297 fi
51298 fi
51299
51300
51301
51302
51303
51304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51305 $as_echo_n "checking for finitef declaration... " >&6; }
51306 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51307 if ${glibcxx_cv_func_finitef_use+:} false; then :
51308 $as_echo_n "(cached) " >&6
51309 else
51310
51311
51312 ac_ext=cpp
51313 ac_cpp='$CXXCPP $CPPFLAGS'
51314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51317
51318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51319 /* end confdefs.h. */
51320 #include <math.h>
51321 #ifdef HAVE_IEEEFP_H
51322 #include <ieeefp.h>
51323 #endif
51324
51325 int
51326 main ()
51327 {
51328 finitef(0);
51329 ;
51330 return 0;
51331 }
51332 _ACEOF
51333 if ac_fn_cxx_try_compile "$LINENO"; then :
51334 glibcxx_cv_func_finitef_use=yes
51335 else
51336 glibcxx_cv_func_finitef_use=no
51337 fi
51338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51339 ac_ext=c
51340 ac_cpp='$CPP $CPPFLAGS'
51341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51344
51345
51346 fi
51347
51348 fi
51349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51350 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51351
51352 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51353 for ac_func in finitef
51354 do :
51355 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51356 if test "x$ac_cv_func_finitef" = xyes; then :
51357 cat >>confdefs.h <<_ACEOF
51358 #define HAVE_FINITEF 1
51359 _ACEOF
51360
51361 fi
51362 done
51363
51364 else
51365
51366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51367 $as_echo_n "checking for _finitef declaration... " >&6; }
51368 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51369 if ${glibcxx_cv_func__finitef_use+:} false; then :
51370 $as_echo_n "(cached) " >&6
51371 else
51372
51373
51374 ac_ext=cpp
51375 ac_cpp='$CXXCPP $CPPFLAGS'
51376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51379
51380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51381 /* end confdefs.h. */
51382 #include <math.h>
51383 #ifdef HAVE_IEEEFP_H
51384 #include <ieeefp.h>
51385 #endif
51386
51387 int
51388 main ()
51389 {
51390 _finitef(0);
51391 ;
51392 return 0;
51393 }
51394 _ACEOF
51395 if ac_fn_cxx_try_compile "$LINENO"; then :
51396 glibcxx_cv_func__finitef_use=yes
51397 else
51398 glibcxx_cv_func__finitef_use=no
51399 fi
51400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51401 ac_ext=c
51402 ac_cpp='$CPP $CPPFLAGS'
51403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51406
51407
51408 fi
51409
51410 fi
51411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51412 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51413
51414 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51415 for ac_func in _finitef
51416 do :
51417 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51418 if test "x$ac_cv_func__finitef" = xyes; then :
51419 cat >>confdefs.h <<_ACEOF
51420 #define HAVE__FINITEF 1
51421 _ACEOF
51422
51423 fi
51424 done
51425
51426 fi
51427 fi
51428
51429
51430
51431
51432
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51434 $as_echo_n "checking for long double trig functions... " >&6; }
51435 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51436 $as_echo_n "(cached) " >&6
51437 else
51438
51439
51440 ac_ext=cpp
51441 ac_cpp='$CXXCPP $CPPFLAGS'
51442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51445
51446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51448 #include <math.h>
51449 int
51450 main ()
51451 {
51452 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51453 ;
51454 return 0;
51455 }
51456 _ACEOF
51457 if ac_fn_cxx_try_compile "$LINENO"; then :
51458 glibcxx_cv_func_long_double_trig_use=yes
51459 else
51460 glibcxx_cv_func_long_double_trig_use=no
51461 fi
51462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51463 ac_ext=c
51464 ac_cpp='$CPP $CPPFLAGS'
51465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51468
51469 fi
51470
51471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51472 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51473 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51474 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51475 do :
51476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51479 cat >>confdefs.h <<_ACEOF
51480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51481 _ACEOF
51482
51483 fi
51484 done
51485
51486 else
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51488 $as_echo_n "checking for _long double trig functions... " >&6; }
51489 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51490 $as_echo_n "(cached) " >&6
51491 else
51492
51493
51494 ac_ext=cpp
51495 ac_cpp='$CXXCPP $CPPFLAGS'
51496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h. */
51502 #include <math.h>
51503 int
51504 main ()
51505 {
51506 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51507 ;
51508 return 0;
51509 }
51510 _ACEOF
51511 if ac_fn_cxx_try_compile "$LINENO"; then :
51512 glibcxx_cv_func__long_double_trig_use=yes
51513 else
51514 glibcxx_cv_func__long_double_trig_use=no
51515 fi
51516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51517 ac_ext=c
51518 ac_cpp='$CPP $CPPFLAGS'
51519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51522
51523 fi
51524
51525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51526 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51527 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51528 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51529 do :
51530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51532 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51533 cat >>confdefs.h <<_ACEOF
51534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51535 _ACEOF
51536
51537 fi
51538 done
51539
51540 fi
51541 fi
51542
51543
51544
51545
51546
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51548 $as_echo_n "checking for long double round functions... " >&6; }
51549 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51550 $as_echo_n "(cached) " >&6
51551 else
51552
51553
51554 ac_ext=cpp
51555 ac_cpp='$CXXCPP $CPPFLAGS'
51556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51559
51560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51561 /* end confdefs.h. */
51562 #include <math.h>
51563 int
51564 main ()
51565 {
51566 ceill (0); floorl (0);
51567 ;
51568 return 0;
51569 }
51570 _ACEOF
51571 if ac_fn_cxx_try_compile "$LINENO"; then :
51572 glibcxx_cv_func_long_double_round_use=yes
51573 else
51574 glibcxx_cv_func_long_double_round_use=no
51575 fi
51576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51577 ac_ext=c
51578 ac_cpp='$CPP $CPPFLAGS'
51579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51582
51583 fi
51584
51585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51586 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51587 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51588 for ac_func in ceill floorl
51589 do :
51590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51593 cat >>confdefs.h <<_ACEOF
51594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51595 _ACEOF
51596
51597 fi
51598 done
51599
51600 else
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51602 $as_echo_n "checking for _long double round functions... " >&6; }
51603 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51604 $as_echo_n "(cached) " >&6
51605 else
51606
51607
51608 ac_ext=cpp
51609 ac_cpp='$CXXCPP $CPPFLAGS'
51610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51613
51614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51615 /* end confdefs.h. */
51616 #include <math.h>
51617 int
51618 main ()
51619 {
51620 _ceill (0); _floorl (0);
51621 ;
51622 return 0;
51623 }
51624 _ACEOF
51625 if ac_fn_cxx_try_compile "$LINENO"; then :
51626 glibcxx_cv_func__long_double_round_use=yes
51627 else
51628 glibcxx_cv_func__long_double_round_use=no
51629 fi
51630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51631 ac_ext=c
51632 ac_cpp='$CPP $CPPFLAGS'
51633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51636
51637 fi
51638
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51640 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51641 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51642 for ac_func in _ceill _floorl
51643 do :
51644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51647 cat >>confdefs.h <<_ACEOF
51648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51649 _ACEOF
51650
51651 fi
51652 done
51653
51654 fi
51655 fi
51656
51657
51658
51659
51660
51661
51662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51663 $as_echo_n "checking for isnanl declaration... " >&6; }
51664 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51665 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51666 $as_echo_n "(cached) " >&6
51667 else
51668
51669
51670 ac_ext=cpp
51671 ac_cpp='$CXXCPP $CPPFLAGS'
51672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51675
51676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51677 /* end confdefs.h. */
51678 #include <math.h>
51679 #ifdef HAVE_IEEEFP_H
51680 #include <ieeefp.h>
51681 #endif
51682
51683 int
51684 main ()
51685 {
51686 isnanl(0);
51687 ;
51688 return 0;
51689 }
51690 _ACEOF
51691 if ac_fn_cxx_try_compile "$LINENO"; then :
51692 glibcxx_cv_func_isnanl_use=yes
51693 else
51694 glibcxx_cv_func_isnanl_use=no
51695 fi
51696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51697 ac_ext=c
51698 ac_cpp='$CPP $CPPFLAGS'
51699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51702
51703
51704 fi
51705
51706 fi
51707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51708 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51709
51710 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51711 for ac_func in isnanl
51712 do :
51713 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51714 if test "x$ac_cv_func_isnanl" = xyes; then :
51715 cat >>confdefs.h <<_ACEOF
51716 #define HAVE_ISNANL 1
51717 _ACEOF
51718
51719 fi
51720 done
51721
51722 else
51723
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51725 $as_echo_n "checking for _isnanl declaration... " >&6; }
51726 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51727 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51728 $as_echo_n "(cached) " >&6
51729 else
51730
51731
51732 ac_ext=cpp
51733 ac_cpp='$CXXCPP $CPPFLAGS'
51734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51737
51738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51739 /* end confdefs.h. */
51740 #include <math.h>
51741 #ifdef HAVE_IEEEFP_H
51742 #include <ieeefp.h>
51743 #endif
51744
51745 int
51746 main ()
51747 {
51748 _isnanl(0);
51749 ;
51750 return 0;
51751 }
51752 _ACEOF
51753 if ac_fn_cxx_try_compile "$LINENO"; then :
51754 glibcxx_cv_func__isnanl_use=yes
51755 else
51756 glibcxx_cv_func__isnanl_use=no
51757 fi
51758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51759 ac_ext=c
51760 ac_cpp='$CPP $CPPFLAGS'
51761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51764
51765
51766 fi
51767
51768 fi
51769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51770 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51771
51772 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51773 for ac_func in _isnanl
51774 do :
51775 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51776 if test "x$ac_cv_func__isnanl" = xyes; then :
51777 cat >>confdefs.h <<_ACEOF
51778 #define HAVE__ISNANL 1
51779 _ACEOF
51780
51781 fi
51782 done
51783
51784 fi
51785 fi
51786
51787
51788
51789
51790
51791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51792 $as_echo_n "checking for isinfl declaration... " >&6; }
51793 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51794 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51795 $as_echo_n "(cached) " >&6
51796 else
51797
51798
51799 ac_ext=cpp
51800 ac_cpp='$CXXCPP $CPPFLAGS'
51801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51804
51805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51806 /* end confdefs.h. */
51807 #include <math.h>
51808 #ifdef HAVE_IEEEFP_H
51809 #include <ieeefp.h>
51810 #endif
51811
51812 int
51813 main ()
51814 {
51815 isinfl(0);
51816 ;
51817 return 0;
51818 }
51819 _ACEOF
51820 if ac_fn_cxx_try_compile "$LINENO"; then :
51821 glibcxx_cv_func_isinfl_use=yes
51822 else
51823 glibcxx_cv_func_isinfl_use=no
51824 fi
51825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51826 ac_ext=c
51827 ac_cpp='$CPP $CPPFLAGS'
51828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51831
51832
51833 fi
51834
51835 fi
51836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51837 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51838
51839 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51840 for ac_func in isinfl
51841 do :
51842 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51843 if test "x$ac_cv_func_isinfl" = xyes; then :
51844 cat >>confdefs.h <<_ACEOF
51845 #define HAVE_ISINFL 1
51846 _ACEOF
51847
51848 fi
51849 done
51850
51851 else
51852
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51854 $as_echo_n "checking for _isinfl declaration... " >&6; }
51855 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51856 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51857 $as_echo_n "(cached) " >&6
51858 else
51859
51860
51861 ac_ext=cpp
51862 ac_cpp='$CXXCPP $CPPFLAGS'
51863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51866
51867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51868 /* end confdefs.h. */
51869 #include <math.h>
51870 #ifdef HAVE_IEEEFP_H
51871 #include <ieeefp.h>
51872 #endif
51873
51874 int
51875 main ()
51876 {
51877 _isinfl(0);
51878 ;
51879 return 0;
51880 }
51881 _ACEOF
51882 if ac_fn_cxx_try_compile "$LINENO"; then :
51883 glibcxx_cv_func__isinfl_use=yes
51884 else
51885 glibcxx_cv_func__isinfl_use=no
51886 fi
51887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51888 ac_ext=c
51889 ac_cpp='$CPP $CPPFLAGS'
51890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51893
51894
51895 fi
51896
51897 fi
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51899 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51900
51901 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51902 for ac_func in _isinfl
51903 do :
51904 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51905 if test "x$ac_cv_func__isinfl" = xyes; then :
51906 cat >>confdefs.h <<_ACEOF
51907 #define HAVE__ISINFL 1
51908 _ACEOF
51909
51910 fi
51911 done
51912
51913 fi
51914 fi
51915
51916
51917
51918
51919
51920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51921 $as_echo_n "checking for atan2l declaration... " >&6; }
51922 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51923 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51924 $as_echo_n "(cached) " >&6
51925 else
51926
51927
51928 ac_ext=cpp
51929 ac_cpp='$CXXCPP $CPPFLAGS'
51930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51933
51934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51935 /* end confdefs.h. */
51936 #include <math.h>
51937 int
51938 main ()
51939 {
51940 atan2l(0, 0);
51941 ;
51942 return 0;
51943 }
51944 _ACEOF
51945 if ac_fn_cxx_try_compile "$LINENO"; then :
51946 glibcxx_cv_func_atan2l_use=yes
51947 else
51948 glibcxx_cv_func_atan2l_use=no
51949 fi
51950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51951 ac_ext=c
51952 ac_cpp='$CPP $CPPFLAGS'
51953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51956
51957
51958 fi
51959
51960 fi
51961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51962 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51963
51964 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51965 for ac_func in atan2l
51966 do :
51967 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51968 if test "x$ac_cv_func_atan2l" = xyes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define HAVE_ATAN2L 1
51971 _ACEOF
51972
51973 fi
51974 done
51975
51976 else
51977
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51979 $as_echo_n "checking for _atan2l declaration... " >&6; }
51980 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51981 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51982 $as_echo_n "(cached) " >&6
51983 else
51984
51985
51986 ac_ext=cpp
51987 ac_cpp='$CXXCPP $CPPFLAGS'
51988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51991
51992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51993 /* end confdefs.h. */
51994 #include <math.h>
51995 int
51996 main ()
51997 {
51998 _atan2l(0, 0);
51999 ;
52000 return 0;
52001 }
52002 _ACEOF
52003 if ac_fn_cxx_try_compile "$LINENO"; then :
52004 glibcxx_cv_func__atan2l_use=yes
52005 else
52006 glibcxx_cv_func__atan2l_use=no
52007 fi
52008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52009 ac_ext=c
52010 ac_cpp='$CPP $CPPFLAGS'
52011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52014
52015
52016 fi
52017
52018 fi
52019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52020 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52021
52022 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52023 for ac_func in _atan2l
52024 do :
52025 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52026 if test "x$ac_cv_func__atan2l" = xyes; then :
52027 cat >>confdefs.h <<_ACEOF
52028 #define HAVE__ATAN2L 1
52029 _ACEOF
52030
52031 fi
52032 done
52033
52034 fi
52035 fi
52036
52037
52038
52039
52040
52041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52042 $as_echo_n "checking for expl declaration... " >&6; }
52043 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52044 if ${glibcxx_cv_func_expl_use+:} false; then :
52045 $as_echo_n "(cached) " >&6
52046 else
52047
52048
52049 ac_ext=cpp
52050 ac_cpp='$CXXCPP $CPPFLAGS'
52051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52054
52055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52056 /* end confdefs.h. */
52057 #include <math.h>
52058 #ifdef HAVE_IEEEFP_H
52059 #include <ieeefp.h>
52060 #endif
52061
52062 int
52063 main ()
52064 {
52065 expl(0);
52066 ;
52067 return 0;
52068 }
52069 _ACEOF
52070 if ac_fn_cxx_try_compile "$LINENO"; then :
52071 glibcxx_cv_func_expl_use=yes
52072 else
52073 glibcxx_cv_func_expl_use=no
52074 fi
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076 ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52081
52082
52083 fi
52084
52085 fi
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52087 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52088
52089 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52090 for ac_func in expl
52091 do :
52092 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52093 if test "x$ac_cv_func_expl" = xyes; then :
52094 cat >>confdefs.h <<_ACEOF
52095 #define HAVE_EXPL 1
52096 _ACEOF
52097
52098 fi
52099 done
52100
52101 else
52102
52103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52104 $as_echo_n "checking for _expl declaration... " >&6; }
52105 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52106 if ${glibcxx_cv_func__expl_use+:} false; then :
52107 $as_echo_n "(cached) " >&6
52108 else
52109
52110
52111 ac_ext=cpp
52112 ac_cpp='$CXXCPP $CPPFLAGS'
52113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52116
52117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52118 /* end confdefs.h. */
52119 #include <math.h>
52120 #ifdef HAVE_IEEEFP_H
52121 #include <ieeefp.h>
52122 #endif
52123
52124 int
52125 main ()
52126 {
52127 _expl(0);
52128 ;
52129 return 0;
52130 }
52131 _ACEOF
52132 if ac_fn_cxx_try_compile "$LINENO"; then :
52133 glibcxx_cv_func__expl_use=yes
52134 else
52135 glibcxx_cv_func__expl_use=no
52136 fi
52137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52138 ac_ext=c
52139 ac_cpp='$CPP $CPPFLAGS'
52140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52143
52144
52145 fi
52146
52147 fi
52148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52149 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52150
52151 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52152 for ac_func in _expl
52153 do :
52154 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52155 if test "x$ac_cv_func__expl" = xyes; then :
52156 cat >>confdefs.h <<_ACEOF
52157 #define HAVE__EXPL 1
52158 _ACEOF
52159
52160 fi
52161 done
52162
52163 fi
52164 fi
52165
52166
52167
52168
52169
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52171 $as_echo_n "checking for fabsl declaration... " >&6; }
52172 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52173 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52174 $as_echo_n "(cached) " >&6
52175 else
52176
52177
52178 ac_ext=cpp
52179 ac_cpp='$CXXCPP $CPPFLAGS'
52180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52183
52184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52185 /* end confdefs.h. */
52186 #include <math.h>
52187 #ifdef HAVE_IEEEFP_H
52188 #include <ieeefp.h>
52189 #endif
52190
52191 int
52192 main ()
52193 {
52194 fabsl(0);
52195 ;
52196 return 0;
52197 }
52198 _ACEOF
52199 if ac_fn_cxx_try_compile "$LINENO"; then :
52200 glibcxx_cv_func_fabsl_use=yes
52201 else
52202 glibcxx_cv_func_fabsl_use=no
52203 fi
52204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52205 ac_ext=c
52206 ac_cpp='$CPP $CPPFLAGS'
52207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52210
52211
52212 fi
52213
52214 fi
52215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52216 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52217
52218 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52219 for ac_func in fabsl
52220 do :
52221 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52222 if test "x$ac_cv_func_fabsl" = xyes; then :
52223 cat >>confdefs.h <<_ACEOF
52224 #define HAVE_FABSL 1
52225 _ACEOF
52226
52227 fi
52228 done
52229
52230 else
52231
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52233 $as_echo_n "checking for _fabsl declaration... " >&6; }
52234 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52235 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52236 $as_echo_n "(cached) " >&6
52237 else
52238
52239
52240 ac_ext=cpp
52241 ac_cpp='$CXXCPP $CPPFLAGS'
52242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52245
52246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52247 /* end confdefs.h. */
52248 #include <math.h>
52249 #ifdef HAVE_IEEEFP_H
52250 #include <ieeefp.h>
52251 #endif
52252
52253 int
52254 main ()
52255 {
52256 _fabsl(0);
52257 ;
52258 return 0;
52259 }
52260 _ACEOF
52261 if ac_fn_cxx_try_compile "$LINENO"; then :
52262 glibcxx_cv_func__fabsl_use=yes
52263 else
52264 glibcxx_cv_func__fabsl_use=no
52265 fi
52266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52267 ac_ext=c
52268 ac_cpp='$CPP $CPPFLAGS'
52269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52272
52273
52274 fi
52275
52276 fi
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52278 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52279
52280 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52281 for ac_func in _fabsl
52282 do :
52283 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52284 if test "x$ac_cv_func__fabsl" = xyes; then :
52285 cat >>confdefs.h <<_ACEOF
52286 #define HAVE__FABSL 1
52287 _ACEOF
52288
52289 fi
52290 done
52291
52292 fi
52293 fi
52294
52295
52296
52297
52298
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52300 $as_echo_n "checking for fmodl declaration... " >&6; }
52301 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52302 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52303 $as_echo_n "(cached) " >&6
52304 else
52305
52306
52307 ac_ext=cpp
52308 ac_cpp='$CXXCPP $CPPFLAGS'
52309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52312
52313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52314 /* end confdefs.h. */
52315 #include <math.h>
52316 int
52317 main ()
52318 {
52319 fmodl(0, 0);
52320 ;
52321 return 0;
52322 }
52323 _ACEOF
52324 if ac_fn_cxx_try_compile "$LINENO"; then :
52325 glibcxx_cv_func_fmodl_use=yes
52326 else
52327 glibcxx_cv_func_fmodl_use=no
52328 fi
52329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52330 ac_ext=c
52331 ac_cpp='$CPP $CPPFLAGS'
52332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52335
52336
52337 fi
52338
52339 fi
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52341 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52342
52343 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52344 for ac_func in fmodl
52345 do :
52346 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52347 if test "x$ac_cv_func_fmodl" = xyes; then :
52348 cat >>confdefs.h <<_ACEOF
52349 #define HAVE_FMODL 1
52350 _ACEOF
52351
52352 fi
52353 done
52354
52355 else
52356
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52358 $as_echo_n "checking for _fmodl declaration... " >&6; }
52359 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52360 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52363
52364
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52370
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52374 int
52375 main ()
52376 {
52377 _fmodl(0, 0);
52378 ;
52379 return 0;
52380 }
52381 _ACEOF
52382 if ac_fn_cxx_try_compile "$LINENO"; then :
52383 glibcxx_cv_func__fmodl_use=yes
52384 else
52385 glibcxx_cv_func__fmodl_use=no
52386 fi
52387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52388 ac_ext=c
52389 ac_cpp='$CPP $CPPFLAGS'
52390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52393
52394
52395 fi
52396
52397 fi
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52399 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52400
52401 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52402 for ac_func in _fmodl
52403 do :
52404 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52405 if test "x$ac_cv_func__fmodl" = xyes; then :
52406 cat >>confdefs.h <<_ACEOF
52407 #define HAVE__FMODL 1
52408 _ACEOF
52409
52410 fi
52411 done
52412
52413 fi
52414 fi
52415
52416
52417
52418
52419
52420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52421 $as_echo_n "checking for frexpl declaration... " >&6; }
52422 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52423 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52424 $as_echo_n "(cached) " >&6
52425 else
52426
52427
52428 ac_ext=cpp
52429 ac_cpp='$CXXCPP $CPPFLAGS'
52430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52433
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52436 #include <math.h>
52437 int
52438 main ()
52439 {
52440 frexpl(0, 0);
52441 ;
52442 return 0;
52443 }
52444 _ACEOF
52445 if ac_fn_cxx_try_compile "$LINENO"; then :
52446 glibcxx_cv_func_frexpl_use=yes
52447 else
52448 glibcxx_cv_func_frexpl_use=no
52449 fi
52450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52451 ac_ext=c
52452 ac_cpp='$CPP $CPPFLAGS'
52453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52456
52457
52458 fi
52459
52460 fi
52461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52462 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52463
52464 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52465 for ac_func in frexpl
52466 do :
52467 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52468 if test "x$ac_cv_func_frexpl" = xyes; then :
52469 cat >>confdefs.h <<_ACEOF
52470 #define HAVE_FREXPL 1
52471 _ACEOF
52472
52473 fi
52474 done
52475
52476 else
52477
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52479 $as_echo_n "checking for _frexpl declaration... " >&6; }
52480 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52481 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52482 $as_echo_n "(cached) " >&6
52483 else
52484
52485
52486 ac_ext=cpp
52487 ac_cpp='$CXXCPP $CPPFLAGS'
52488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52491
52492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52493 /* end confdefs.h. */
52494 #include <math.h>
52495 int
52496 main ()
52497 {
52498 _frexpl(0, 0);
52499 ;
52500 return 0;
52501 }
52502 _ACEOF
52503 if ac_fn_cxx_try_compile "$LINENO"; then :
52504 glibcxx_cv_func__frexpl_use=yes
52505 else
52506 glibcxx_cv_func__frexpl_use=no
52507 fi
52508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52509 ac_ext=c
52510 ac_cpp='$CPP $CPPFLAGS'
52511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52514
52515
52516 fi
52517
52518 fi
52519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52520 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52521
52522 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52523 for ac_func in _frexpl
52524 do :
52525 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52526 if test "x$ac_cv_func__frexpl" = xyes; then :
52527 cat >>confdefs.h <<_ACEOF
52528 #define HAVE__FREXPL 1
52529 _ACEOF
52530
52531 fi
52532 done
52533
52534 fi
52535 fi
52536
52537
52538
52539
52540
52541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52542 $as_echo_n "checking for hypotl declaration... " >&6; }
52543 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52544 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52545 $as_echo_n "(cached) " >&6
52546 else
52547
52548
52549 ac_ext=cpp
52550 ac_cpp='$CXXCPP $CPPFLAGS'
52551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52554
52555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h. */
52557 #include <math.h>
52558 int
52559 main ()
52560 {
52561 hypotl(0, 0);
52562 ;
52563 return 0;
52564 }
52565 _ACEOF
52566 if ac_fn_cxx_try_compile "$LINENO"; then :
52567 glibcxx_cv_func_hypotl_use=yes
52568 else
52569 glibcxx_cv_func_hypotl_use=no
52570 fi
52571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52572 ac_ext=c
52573 ac_cpp='$CPP $CPPFLAGS'
52574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52577
52578
52579 fi
52580
52581 fi
52582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52583 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52584
52585 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52586 for ac_func in hypotl
52587 do :
52588 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52589 if test "x$ac_cv_func_hypotl" = xyes; then :
52590 cat >>confdefs.h <<_ACEOF
52591 #define HAVE_HYPOTL 1
52592 _ACEOF
52593
52594 fi
52595 done
52596
52597 else
52598
52599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52600 $as_echo_n "checking for _hypotl declaration... " >&6; }
52601 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52602 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52603 $as_echo_n "(cached) " >&6
52604 else
52605
52606
52607 ac_ext=cpp
52608 ac_cpp='$CXXCPP $CPPFLAGS'
52609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52612
52613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52614 /* end confdefs.h. */
52615 #include <math.h>
52616 int
52617 main ()
52618 {
52619 _hypotl(0, 0);
52620 ;
52621 return 0;
52622 }
52623 _ACEOF
52624 if ac_fn_cxx_try_compile "$LINENO"; then :
52625 glibcxx_cv_func__hypotl_use=yes
52626 else
52627 glibcxx_cv_func__hypotl_use=no
52628 fi
52629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52630 ac_ext=c
52631 ac_cpp='$CPP $CPPFLAGS'
52632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52635
52636
52637 fi
52638
52639 fi
52640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52641 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52642
52643 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52644 for ac_func in _hypotl
52645 do :
52646 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52647 if test "x$ac_cv_func__hypotl" = xyes; then :
52648 cat >>confdefs.h <<_ACEOF
52649 #define HAVE__HYPOTL 1
52650 _ACEOF
52651
52652 fi
52653 done
52654
52655 fi
52656 fi
52657
52658
52659
52660
52661
52662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52663 $as_echo_n "checking for ldexpl declaration... " >&6; }
52664 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52665 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52666 $as_echo_n "(cached) " >&6
52667 else
52668
52669
52670 ac_ext=cpp
52671 ac_cpp='$CXXCPP $CPPFLAGS'
52672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52675
52676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52677 /* end confdefs.h. */
52678 #include <math.h>
52679 int
52680 main ()
52681 {
52682 ldexpl(0, 0);
52683 ;
52684 return 0;
52685 }
52686 _ACEOF
52687 if ac_fn_cxx_try_compile "$LINENO"; then :
52688 glibcxx_cv_func_ldexpl_use=yes
52689 else
52690 glibcxx_cv_func_ldexpl_use=no
52691 fi
52692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52693 ac_ext=c
52694 ac_cpp='$CPP $CPPFLAGS'
52695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52698
52699
52700 fi
52701
52702 fi
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52704 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52705
52706 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52707 for ac_func in ldexpl
52708 do :
52709 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52710 if test "x$ac_cv_func_ldexpl" = xyes; then :
52711 cat >>confdefs.h <<_ACEOF
52712 #define HAVE_LDEXPL 1
52713 _ACEOF
52714
52715 fi
52716 done
52717
52718 else
52719
52720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52721 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52722 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52723 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52724 $as_echo_n "(cached) " >&6
52725 else
52726
52727
52728 ac_ext=cpp
52729 ac_cpp='$CXXCPP $CPPFLAGS'
52730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52733
52734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52735 /* end confdefs.h. */
52736 #include <math.h>
52737 int
52738 main ()
52739 {
52740 _ldexpl(0, 0);
52741 ;
52742 return 0;
52743 }
52744 _ACEOF
52745 if ac_fn_cxx_try_compile "$LINENO"; then :
52746 glibcxx_cv_func__ldexpl_use=yes
52747 else
52748 glibcxx_cv_func__ldexpl_use=no
52749 fi
52750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52751 ac_ext=c
52752 ac_cpp='$CPP $CPPFLAGS'
52753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52756
52757
52758 fi
52759
52760 fi
52761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52762 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52763
52764 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52765 for ac_func in _ldexpl
52766 do :
52767 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52768 if test "x$ac_cv_func__ldexpl" = xyes; then :
52769 cat >>confdefs.h <<_ACEOF
52770 #define HAVE__LDEXPL 1
52771 _ACEOF
52772
52773 fi
52774 done
52775
52776 fi
52777 fi
52778
52779
52780
52781
52782
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52784 $as_echo_n "checking for logl declaration... " >&6; }
52785 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52786 if ${glibcxx_cv_func_logl_use+:} false; then :
52787 $as_echo_n "(cached) " >&6
52788 else
52789
52790
52791 ac_ext=cpp
52792 ac_cpp='$CXXCPP $CPPFLAGS'
52793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52796
52797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52798 /* end confdefs.h. */
52799 #include <math.h>
52800 #ifdef HAVE_IEEEFP_H
52801 #include <ieeefp.h>
52802 #endif
52803
52804 int
52805 main ()
52806 {
52807 logl(0);
52808 ;
52809 return 0;
52810 }
52811 _ACEOF
52812 if ac_fn_cxx_try_compile "$LINENO"; then :
52813 glibcxx_cv_func_logl_use=yes
52814 else
52815 glibcxx_cv_func_logl_use=no
52816 fi
52817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52818 ac_ext=c
52819 ac_cpp='$CPP $CPPFLAGS'
52820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52823
52824
52825 fi
52826
52827 fi
52828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52829 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52830
52831 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52832 for ac_func in logl
52833 do :
52834 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52835 if test "x$ac_cv_func_logl" = xyes; then :
52836 cat >>confdefs.h <<_ACEOF
52837 #define HAVE_LOGL 1
52838 _ACEOF
52839
52840 fi
52841 done
52842
52843 else
52844
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52846 $as_echo_n "checking for _logl declaration... " >&6; }
52847 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52848 if ${glibcxx_cv_func__logl_use+:} false; then :
52849 $as_echo_n "(cached) " >&6
52850 else
52851
52852
52853 ac_ext=cpp
52854 ac_cpp='$CXXCPP $CPPFLAGS'
52855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52858
52859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52860 /* end confdefs.h. */
52861 #include <math.h>
52862 #ifdef HAVE_IEEEFP_H
52863 #include <ieeefp.h>
52864 #endif
52865
52866 int
52867 main ()
52868 {
52869 _logl(0);
52870 ;
52871 return 0;
52872 }
52873 _ACEOF
52874 if ac_fn_cxx_try_compile "$LINENO"; then :
52875 glibcxx_cv_func__logl_use=yes
52876 else
52877 glibcxx_cv_func__logl_use=no
52878 fi
52879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52880 ac_ext=c
52881 ac_cpp='$CPP $CPPFLAGS'
52882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52885
52886
52887 fi
52888
52889 fi
52890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52891 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52892
52893 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52894 for ac_func in _logl
52895 do :
52896 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52897 if test "x$ac_cv_func__logl" = xyes; then :
52898 cat >>confdefs.h <<_ACEOF
52899 #define HAVE__LOGL 1
52900 _ACEOF
52901
52902 fi
52903 done
52904
52905 fi
52906 fi
52907
52908
52909
52910
52911
52912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52913 $as_echo_n "checking for log10l declaration... " >&6; }
52914 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52915 if ${glibcxx_cv_func_log10l_use+:} false; then :
52916 $as_echo_n "(cached) " >&6
52917 else
52918
52919
52920 ac_ext=cpp
52921 ac_cpp='$CXXCPP $CPPFLAGS'
52922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52925
52926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52927 /* end confdefs.h. */
52928 #include <math.h>
52929 #ifdef HAVE_IEEEFP_H
52930 #include <ieeefp.h>
52931 #endif
52932
52933 int
52934 main ()
52935 {
52936 log10l(0);
52937 ;
52938 return 0;
52939 }
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942 glibcxx_cv_func_log10l_use=yes
52943 else
52944 glibcxx_cv_func_log10l_use=no
52945 fi
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947 ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52952
52953
52954 fi
52955
52956 fi
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52958 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52959
52960 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52961 for ac_func in log10l
52962 do :
52963 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52964 if test "x$ac_cv_func_log10l" = xyes; then :
52965 cat >>confdefs.h <<_ACEOF
52966 #define HAVE_LOG10L 1
52967 _ACEOF
52968
52969 fi
52970 done
52971
52972 else
52973
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52975 $as_echo_n "checking for _log10l declaration... " >&6; }
52976 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52977 if ${glibcxx_cv_func__log10l_use+:} false; then :
52978 $as_echo_n "(cached) " >&6
52979 else
52980
52981
52982 ac_ext=cpp
52983 ac_cpp='$CXXCPP $CPPFLAGS'
52984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52987
52988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52989 /* end confdefs.h. */
52990 #include <math.h>
52991 #ifdef HAVE_IEEEFP_H
52992 #include <ieeefp.h>
52993 #endif
52994
52995 int
52996 main ()
52997 {
52998 _log10l(0);
52999 ;
53000 return 0;
53001 }
53002 _ACEOF
53003 if ac_fn_cxx_try_compile "$LINENO"; then :
53004 glibcxx_cv_func__log10l_use=yes
53005 else
53006 glibcxx_cv_func__log10l_use=no
53007 fi
53008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53009 ac_ext=c
53010 ac_cpp='$CPP $CPPFLAGS'
53011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53014
53015
53016 fi
53017
53018 fi
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53020 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53021
53022 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53023 for ac_func in _log10l
53024 do :
53025 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53026 if test "x$ac_cv_func__log10l" = xyes; then :
53027 cat >>confdefs.h <<_ACEOF
53028 #define HAVE__LOG10L 1
53029 _ACEOF
53030
53031 fi
53032 done
53033
53034 fi
53035 fi
53036
53037
53038
53039
53040
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53042 $as_echo_n "checking for modfl declaration... " >&6; }
53043 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53044 if ${glibcxx_cv_func_modfl_use+:} false; then :
53045 $as_echo_n "(cached) " >&6
53046 else
53047
53048
53049 ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53054
53055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h. */
53057 #include <math.h>
53058 int
53059 main ()
53060 {
53061 modfl(0, 0);
53062 ;
53063 return 0;
53064 }
53065 _ACEOF
53066 if ac_fn_cxx_try_compile "$LINENO"; then :
53067 glibcxx_cv_func_modfl_use=yes
53068 else
53069 glibcxx_cv_func_modfl_use=no
53070 fi
53071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53072 ac_ext=c
53073 ac_cpp='$CPP $CPPFLAGS'
53074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53077
53078
53079 fi
53080
53081 fi
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53083 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53084
53085 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53086 for ac_func in modfl
53087 do :
53088 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53089 if test "x$ac_cv_func_modfl" = xyes; then :
53090 cat >>confdefs.h <<_ACEOF
53091 #define HAVE_MODFL 1
53092 _ACEOF
53093
53094 fi
53095 done
53096
53097 else
53098
53099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53100 $as_echo_n "checking for _modfl declaration... " >&6; }
53101 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53102 if ${glibcxx_cv_func__modfl_use+:} false; then :
53103 $as_echo_n "(cached) " >&6
53104 else
53105
53106
53107 ac_ext=cpp
53108 ac_cpp='$CXXCPP $CPPFLAGS'
53109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53112
53113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53114 /* end confdefs.h. */
53115 #include <math.h>
53116 int
53117 main ()
53118 {
53119 _modfl(0, 0);
53120 ;
53121 return 0;
53122 }
53123 _ACEOF
53124 if ac_fn_cxx_try_compile "$LINENO"; then :
53125 glibcxx_cv_func__modfl_use=yes
53126 else
53127 glibcxx_cv_func__modfl_use=no
53128 fi
53129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53135
53136
53137 fi
53138
53139 fi
53140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53141 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53142
53143 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53144 for ac_func in _modfl
53145 do :
53146 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53147 if test "x$ac_cv_func__modfl" = xyes; then :
53148 cat >>confdefs.h <<_ACEOF
53149 #define HAVE__MODFL 1
53150 _ACEOF
53151
53152 fi
53153 done
53154
53155 fi
53156 fi
53157
53158
53159
53160
53161
53162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53163 $as_echo_n "checking for powl declaration... " >&6; }
53164 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53165 if ${glibcxx_cv_func_powl_use+:} false; then :
53166 $as_echo_n "(cached) " >&6
53167 else
53168
53169
53170 ac_ext=cpp
53171 ac_cpp='$CXXCPP $CPPFLAGS'
53172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53175
53176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53177 /* end confdefs.h. */
53178 #include <math.h>
53179 int
53180 main ()
53181 {
53182 powl(0, 0);
53183 ;
53184 return 0;
53185 }
53186 _ACEOF
53187 if ac_fn_cxx_try_compile "$LINENO"; then :
53188 glibcxx_cv_func_powl_use=yes
53189 else
53190 glibcxx_cv_func_powl_use=no
53191 fi
53192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53193 ac_ext=c
53194 ac_cpp='$CPP $CPPFLAGS'
53195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53198
53199
53200 fi
53201
53202 fi
53203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53204 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53205
53206 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53207 for ac_func in powl
53208 do :
53209 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53210 if test "x$ac_cv_func_powl" = xyes; then :
53211 cat >>confdefs.h <<_ACEOF
53212 #define HAVE_POWL 1
53213 _ACEOF
53214
53215 fi
53216 done
53217
53218 else
53219
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53221 $as_echo_n "checking for _powl declaration... " >&6; }
53222 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53223 if ${glibcxx_cv_func__powl_use+:} false; then :
53224 $as_echo_n "(cached) " >&6
53225 else
53226
53227
53228 ac_ext=cpp
53229 ac_cpp='$CXXCPP $CPPFLAGS'
53230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53233
53234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53235 /* end confdefs.h. */
53236 #include <math.h>
53237 int
53238 main ()
53239 {
53240 _powl(0, 0);
53241 ;
53242 return 0;
53243 }
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246 glibcxx_cv_func__powl_use=yes
53247 else
53248 glibcxx_cv_func__powl_use=no
53249 fi
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251 ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53256
53257
53258 fi
53259
53260 fi
53261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53262 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53263
53264 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53265 for ac_func in _powl
53266 do :
53267 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53268 if test "x$ac_cv_func__powl" = xyes; then :
53269 cat >>confdefs.h <<_ACEOF
53270 #define HAVE__POWL 1
53271 _ACEOF
53272
53273 fi
53274 done
53275
53276 fi
53277 fi
53278
53279
53280
53281
53282
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53284 $as_echo_n "checking for sqrtl declaration... " >&6; }
53285 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53286 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53287 $as_echo_n "(cached) " >&6
53288 else
53289
53290
53291 ac_ext=cpp
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53296
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53299 #include <math.h>
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53302 #endif
53303
53304 int
53305 main ()
53306 {
53307 sqrtl(0);
53308 ;
53309 return 0;
53310 }
53311 _ACEOF
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func_sqrtl_use=yes
53314 else
53315 glibcxx_cv_func_sqrtl_use=no
53316 fi
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53318 ac_ext=c
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53323
53324
53325 fi
53326
53327 fi
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53329 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53330
53331 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53332 for ac_func in sqrtl
53333 do :
53334 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53335 if test "x$ac_cv_func_sqrtl" = xyes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE_SQRTL 1
53338 _ACEOF
53339
53340 fi
53341 done
53342
53343 else
53344
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53346 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53347 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53348 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53349 $as_echo_n "(cached) " >&6
53350 else
53351
53352
53353 ac_ext=cpp
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53358
53359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 #ifdef HAVE_IEEEFP_H
53363 #include <ieeefp.h>
53364 #endif
53365
53366 int
53367 main ()
53368 {
53369 _sqrtl(0);
53370 ;
53371 return 0;
53372 }
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375 glibcxx_cv_func__sqrtl_use=yes
53376 else
53377 glibcxx_cv_func__sqrtl_use=no
53378 fi
53379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53380 ac_ext=c
53381 ac_cpp='$CPP $CPPFLAGS'
53382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53385
53386
53387 fi
53388
53389 fi
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53391 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53392
53393 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53394 for ac_func in _sqrtl
53395 do :
53396 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53397 if test "x$ac_cv_func__sqrtl" = xyes; then :
53398 cat >>confdefs.h <<_ACEOF
53399 #define HAVE__SQRTL 1
53400 _ACEOF
53401
53402 fi
53403 done
53404
53405 fi
53406 fi
53407
53408
53409
53410
53411
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53413 $as_echo_n "checking for sincosl declaration... " >&6; }
53414 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53415 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53416 $as_echo_n "(cached) " >&6
53417 else
53418
53419
53420 ac_ext=cpp
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53425
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 #include <math.h>
53429 int
53430 main ()
53431 {
53432 sincosl(0, 0, 0);
53433 ;
53434 return 0;
53435 }
53436 _ACEOF
53437 if ac_fn_cxx_try_compile "$LINENO"; then :
53438 glibcxx_cv_func_sincosl_use=yes
53439 else
53440 glibcxx_cv_func_sincosl_use=no
53441 fi
53442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53443 ac_ext=c
53444 ac_cpp='$CPP $CPPFLAGS'
53445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53448
53449
53450 fi
53451
53452 fi
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53454 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53455
53456 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53457 for ac_func in sincosl
53458 do :
53459 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53460 if test "x$ac_cv_func_sincosl" = xyes; then :
53461 cat >>confdefs.h <<_ACEOF
53462 #define HAVE_SINCOSL 1
53463 _ACEOF
53464
53465 fi
53466 done
53467
53468 else
53469
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53471 $as_echo_n "checking for _sincosl declaration... " >&6; }
53472 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53473 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53474 $as_echo_n "(cached) " >&6
53475 else
53476
53477
53478 ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53483
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 #include <math.h>
53487 int
53488 main ()
53489 {
53490 _sincosl(0, 0, 0);
53491 ;
53492 return 0;
53493 }
53494 _ACEOF
53495 if ac_fn_cxx_try_compile "$LINENO"; then :
53496 glibcxx_cv_func__sincosl_use=yes
53497 else
53498 glibcxx_cv_func__sincosl_use=no
53499 fi
53500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53501 ac_ext=c
53502 ac_cpp='$CPP $CPPFLAGS'
53503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53506
53507
53508 fi
53509
53510 fi
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53512 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53513
53514 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53515 for ac_func in _sincosl
53516 do :
53517 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53518 if test "x$ac_cv_func__sincosl" = xyes; then :
53519 cat >>confdefs.h <<_ACEOF
53520 #define HAVE__SINCOSL 1
53521 _ACEOF
53522
53523 fi
53524 done
53525
53526 fi
53527 fi
53528
53529
53530
53531
53532
53533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53534 $as_echo_n "checking for finitel declaration... " >&6; }
53535 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53536 if ${glibcxx_cv_func_finitel_use+:} false; then :
53537 $as_echo_n "(cached) " >&6
53538 else
53539
53540
53541 ac_ext=cpp
53542 ac_cpp='$CXXCPP $CPPFLAGS'
53543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53546
53547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53548 /* end confdefs.h. */
53549 #include <math.h>
53550 #ifdef HAVE_IEEEFP_H
53551 #include <ieeefp.h>
53552 #endif
53553
53554 int
53555 main ()
53556 {
53557 finitel(0);
53558 ;
53559 return 0;
53560 }
53561 _ACEOF
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563 glibcxx_cv_func_finitel_use=yes
53564 else
53565 glibcxx_cv_func_finitel_use=no
53566 fi
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53568 ac_ext=c
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53573
53574
53575 fi
53576
53577 fi
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53579 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53580
53581 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53582 for ac_func in finitel
53583 do :
53584 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53585 if test "x$ac_cv_func_finitel" = xyes; then :
53586 cat >>confdefs.h <<_ACEOF
53587 #define HAVE_FINITEL 1
53588 _ACEOF
53589
53590 fi
53591 done
53592
53593 else
53594
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53596 $as_echo_n "checking for _finitel declaration... " >&6; }
53597 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53598 if ${glibcxx_cv_func__finitel_use+:} false; then :
53599 $as_echo_n "(cached) " >&6
53600 else
53601
53602
53603 ac_ext=cpp
53604 ac_cpp='$CXXCPP $CPPFLAGS'
53605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53608
53609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53610 /* end confdefs.h. */
53611 #include <math.h>
53612 #ifdef HAVE_IEEEFP_H
53613 #include <ieeefp.h>
53614 #endif
53615
53616 int
53617 main ()
53618 {
53619 _finitel(0);
53620 ;
53621 return 0;
53622 }
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625 glibcxx_cv_func__finitel_use=yes
53626 else
53627 glibcxx_cv_func__finitel_use=no
53628 fi
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630 ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53635
53636
53637 fi
53638
53639 fi
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53641 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53642
53643 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53644 for ac_func in _finitel
53645 do :
53646 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53647 if test "x$ac_cv_func__finitel" = xyes; then :
53648 cat >>confdefs.h <<_ACEOF
53649 #define HAVE__FINITEL 1
53650 _ACEOF
53651
53652 fi
53653 done
53654
53655 fi
53656 fi
53657
53658
53659
53660
53661 LIBS="$ac_save_LIBS"
53662 CXXFLAGS="$ac_save_CXXFLAGS"
53663
53664
53665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53666 ac_save_CXXFLAGS="$CXXFLAGS"
53667 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53668
53669
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53671 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53672 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53673 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53674 $as_echo_n "(cached) " >&6
53675 else
53676
53677
53678 ac_ext=cpp
53679 ac_cpp='$CXXCPP $CPPFLAGS'
53680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53683
53684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53685 /* end confdefs.h. */
53686 #include <stdlib.h>
53687 int
53688 main ()
53689 {
53690 at_quick_exit(0);
53691 ;
53692 return 0;
53693 }
53694 _ACEOF
53695 if ac_fn_cxx_try_compile "$LINENO"; then :
53696 glibcxx_cv_func_at_quick_exit_use=yes
53697 else
53698 glibcxx_cv_func_at_quick_exit_use=no
53699 fi
53700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53701 ac_ext=c
53702 ac_cpp='$CPP $CPPFLAGS'
53703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53706
53707
53708 fi
53709
53710 fi
53711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53712 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53713 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53714 for ac_func in at_quick_exit
53715 do :
53716 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53717 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE_AT_QUICK_EXIT 1
53720 _ACEOF
53721
53722 fi
53723 done
53724
53725 fi
53726
53727
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53729 $as_echo_n "checking for quick_exit declaration... " >&6; }
53730 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53731 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53732 $as_echo_n "(cached) " >&6
53733 else
53734
53735
53736 ac_ext=cpp
53737 ac_cpp='$CXXCPP $CPPFLAGS'
53738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53741
53742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53743 /* end confdefs.h. */
53744 #include <stdlib.h>
53745 int
53746 main ()
53747 {
53748 quick_exit(0);
53749 ;
53750 return 0;
53751 }
53752 _ACEOF
53753 if ac_fn_cxx_try_compile "$LINENO"; then :
53754 glibcxx_cv_func_quick_exit_use=yes
53755 else
53756 glibcxx_cv_func_quick_exit_use=no
53757 fi
53758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53759 ac_ext=c
53760 ac_cpp='$CPP $CPPFLAGS'
53761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53764
53765
53766 fi
53767
53768 fi
53769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53770 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53771 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53772 for ac_func in quick_exit
53773 do :
53774 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53775 if test "x$ac_cv_func_quick_exit" = xyes; then :
53776 cat >>confdefs.h <<_ACEOF
53777 #define HAVE_QUICK_EXIT 1
53778 _ACEOF
53779
53780 fi
53781 done
53782
53783 fi
53784
53785
53786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53787 $as_echo_n "checking for strtold declaration... " >&6; }
53788 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53789 if ${glibcxx_cv_func_strtold_use+:} false; then :
53790 $as_echo_n "(cached) " >&6
53791 else
53792
53793
53794 ac_ext=cpp
53795 ac_cpp='$CXXCPP $CPPFLAGS'
53796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53799
53800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53801 /* end confdefs.h. */
53802 #include <stdlib.h>
53803 int
53804 main ()
53805 {
53806 strtold(0, 0);
53807 ;
53808 return 0;
53809 }
53810 _ACEOF
53811 if ac_fn_cxx_try_compile "$LINENO"; then :
53812 glibcxx_cv_func_strtold_use=yes
53813 else
53814 glibcxx_cv_func_strtold_use=no
53815 fi
53816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53817 ac_ext=c
53818 ac_cpp='$CPP $CPPFLAGS'
53819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53822
53823
53824 fi
53825
53826 fi
53827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53828 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53829 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53830 for ac_func in strtold
53831 do :
53832 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53833 if test "x$ac_cv_func_strtold" = xyes; then :
53834 cat >>confdefs.h <<_ACEOF
53835 #define HAVE_STRTOLD 1
53836 _ACEOF
53837
53838 fi
53839 done
53840
53841 fi
53842
53843
53844
53845
53846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53847 $as_echo_n "checking for strtof declaration... " >&6; }
53848 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53849 if ${glibcxx_cv_func_strtof_use+:} false; then :
53850 $as_echo_n "(cached) " >&6
53851 else
53852
53853
53854 ac_ext=cpp
53855 ac_cpp='$CXXCPP $CPPFLAGS'
53856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53859
53860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53861 /* end confdefs.h. */
53862 #include <stdlib.h>
53863 int
53864 main ()
53865 {
53866 strtof(0, 0);
53867 ;
53868 return 0;
53869 }
53870 _ACEOF
53871 if ac_fn_cxx_try_compile "$LINENO"; then :
53872 glibcxx_cv_func_strtof_use=yes
53873 else
53874 glibcxx_cv_func_strtof_use=no
53875 fi
53876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53877 ac_ext=c
53878 ac_cpp='$CPP $CPPFLAGS'
53879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53882
53883
53884 fi
53885
53886 fi
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53888 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53889 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53890 for ac_func in strtof
53891 do :
53892 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53893 if test "x$ac_cv_func_strtof" = xyes; then :
53894 cat >>confdefs.h <<_ACEOF
53895 #define HAVE_STRTOF 1
53896 _ACEOF
53897
53898 fi
53899 done
53900
53901 fi
53902
53903
53904
53905
53906 CXXFLAGS="$ac_save_CXXFLAGS"
53907
53908 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53909
53910 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53911
53912
53913
53914 # Check whether --enable-tls was given.
53915 if test "${enable_tls+set}" = set; then :
53916 enableval=$enable_tls;
53917 case "$enableval" in
53918 yes|no) ;;
53919 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53920 esac
53921
53922 else
53923 enable_tls=yes
53924 fi
53925
53926
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53928 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53929 if ${gcc_cv_have_tls+:} false; then :
53930 $as_echo_n "(cached) " >&6
53931 else
53932
53933 if test "$cross_compiling" = yes; then :
53934 if test x$gcc_no_link = xyes; then
53935 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53936 fi
53937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53938 /* end confdefs.h. */
53939 __thread int a; int b; int main() { return a = b; }
53940 _ACEOF
53941 if ac_fn_c_try_link "$LINENO"; then :
53942 chktls_save_LDFLAGS="$LDFLAGS"
53943 case $host in
53944 *-*-linux* | -*-uclinuxfdpic*)
53945 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53946 ;;
53947 esac
53948 chktls_save_CFLAGS="$CFLAGS"
53949 CFLAGS="-fPIC $CFLAGS"
53950 if test x$gcc_no_link = xyes; then
53951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53952 fi
53953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954 /* end confdefs.h. */
53955 int f() { return 0; }
53956 _ACEOF
53957 if ac_fn_c_try_link "$LINENO"; then :
53958 if test x$gcc_no_link = xyes; then
53959 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53960 fi
53961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53962 /* end confdefs.h. */
53963 __thread int a; int b; int f() { return a = b; }
53964 _ACEOF
53965 if ac_fn_c_try_link "$LINENO"; then :
53966 gcc_cv_have_tls=yes
53967 else
53968 gcc_cv_have_tls=no
53969 fi
53970 rm -f core conftest.err conftest.$ac_objext \
53971 conftest$ac_exeext conftest.$ac_ext
53972 else
53973 gcc_cv_have_tls=yes
53974 fi
53975 rm -f core conftest.err conftest.$ac_objext \
53976 conftest$ac_exeext conftest.$ac_ext
53977 CFLAGS="$chktls_save_CFLAGS"
53978 LDFLAGS="$chktls_save_LDFLAGS"
53979 else
53980 gcc_cv_have_tls=no
53981 fi
53982 rm -f core conftest.err conftest.$ac_objext \
53983 conftest$ac_exeext conftest.$ac_ext
53984
53985
53986 else
53987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53988 /* end confdefs.h. */
53989 __thread int a; int b; int main() { return a = b; }
53990 _ACEOF
53991 if ac_fn_c_try_run "$LINENO"; then :
53992 chktls_save_LDFLAGS="$LDFLAGS"
53993 LDFLAGS="-static $LDFLAGS"
53994 if test x$gcc_no_link = xyes; then
53995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53996 fi
53997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53998 /* end confdefs.h. */
53999 int main() { return 0; }
54000 _ACEOF
54001 if ac_fn_c_try_link "$LINENO"; then :
54002 if test "$cross_compiling" = yes; then :
54003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54005 as_fn_error $? "cannot run test program while cross compiling
54006 See \`config.log' for more details" "$LINENO" 5; }
54007 else
54008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54009 /* end confdefs.h. */
54010 __thread int a; int b; int main() { return a = b; }
54011 _ACEOF
54012 if ac_fn_c_try_run "$LINENO"; then :
54013 gcc_cv_have_tls=yes
54014 else
54015 gcc_cv_have_tls=no
54016 fi
54017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54018 conftest.$ac_objext conftest.beam conftest.$ac_ext
54019 fi
54020
54021 else
54022 gcc_cv_have_tls=yes
54023 fi
54024 rm -f core conftest.err conftest.$ac_objext \
54025 conftest$ac_exeext conftest.$ac_ext
54026 LDFLAGS="$chktls_save_LDFLAGS"
54027 if test $gcc_cv_have_tls = yes; then
54028 chktls_save_CFLAGS="$CFLAGS"
54029 thread_CFLAGS=failed
54030 for flag in '' '-pthread' '-lpthread'; do
54031 CFLAGS="$flag $chktls_save_CFLAGS"
54032 if test x$gcc_no_link = xyes; then
54033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54034 fi
54035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54036 /* end confdefs.h. */
54037 #include <pthread.h>
54038 void *g(void *d) { return NULL; }
54039 int
54040 main ()
54041 {
54042 pthread_t t; pthread_create(&t,NULL,g,NULL);
54043 ;
54044 return 0;
54045 }
54046 _ACEOF
54047 if ac_fn_c_try_link "$LINENO"; then :
54048 thread_CFLAGS="$flag"
54049 fi
54050 rm -f core conftest.err conftest.$ac_objext \
54051 conftest$ac_exeext conftest.$ac_ext
54052 if test "X$thread_CFLAGS" != Xfailed; then
54053 break
54054 fi
54055 done
54056 CFLAGS="$chktls_save_CFLAGS"
54057 if test "X$thread_CFLAGS" != Xfailed; then
54058 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54059 if test "$cross_compiling" = yes; then :
54060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54062 as_fn_error $? "cannot run test program while cross compiling
54063 See \`config.log' for more details" "$LINENO" 5; }
54064 else
54065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h. */
54067 #include <pthread.h>
54068 __thread int a;
54069 static int *volatile a_in_other_thread;
54070 static void *
54071 thread_func (void *arg)
54072 {
54073 a_in_other_thread = &a;
54074 return (void *)0;
54075 }
54076 int
54077 main ()
54078 {
54079 pthread_t thread;
54080 void *thread_retval;
54081 int *volatile a_in_main_thread;
54082 a_in_main_thread = &a;
54083 if (pthread_create (&thread, (pthread_attr_t *)0,
54084 thread_func, (void *)0))
54085 return 0;
54086 if (pthread_join (thread, &thread_retval))
54087 return 0;
54088 return (a_in_other_thread == a_in_main_thread);
54089 ;
54090 return 0;
54091 }
54092 _ACEOF
54093 if ac_fn_c_try_run "$LINENO"; then :
54094 gcc_cv_have_tls=yes
54095 else
54096 gcc_cv_have_tls=no
54097 fi
54098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54099 conftest.$ac_objext conftest.beam conftest.$ac_ext
54100 fi
54101
54102 CFLAGS="$chktls_save_CFLAGS"
54103 fi
54104 fi
54105 else
54106 gcc_cv_have_tls=no
54107 fi
54108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54109 conftest.$ac_objext conftest.beam conftest.$ac_ext
54110 fi
54111
54112 fi
54113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54114 $as_echo "$gcc_cv_have_tls" >&6; }
54115 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54116
54117 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54118
54119 fi
54120 for ac_func in __cxa_thread_atexit_impl
54121 do :
54122 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54123 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54124 cat >>confdefs.h <<_ACEOF
54125 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54126 _ACEOF
54127
54128 fi
54129 done
54130
54131 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54132 do :
54133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54135 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54136 cat >>confdefs.h <<_ACEOF
54137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54138 _ACEOF
54139
54140 fi
54141 done
54142
54143 for ac_func in timespec_get
54144 do :
54145 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54146 if test "x$ac_cv_func_timespec_get" = xyes; then :
54147 cat >>confdefs.h <<_ACEOF
54148 #define HAVE_TIMESPEC_GET 1
54149 _ACEOF
54150
54151 fi
54152 done
54153
54154 for ac_func in sockatmark
54155 do :
54156 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54157 if test "x$ac_cv_func_sockatmark" = xyes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE_SOCKATMARK 1
54160 _ACEOF
54161
54162 fi
54163 done
54164
54165 for ac_func in uselocale
54166 do :
54167 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54168 if test "x$ac_cv_func_uselocale" = xyes; then :
54169 cat >>confdefs.h <<_ACEOF
54170 #define HAVE_USELOCALE 1
54171 _ACEOF
54172
54173 fi
54174 done
54175
54176
54177
54178
54179
54180
54181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54182 $as_echo_n "checking for iconv... " >&6; }
54183 if ${am_cv_func_iconv+:} false; then :
54184 $as_echo_n "(cached) " >&6
54185 else
54186
54187 am_cv_func_iconv="no, consider installing GNU libiconv"
54188 am_cv_lib_iconv=no
54189 am_save_CPPFLAGS="$CPPFLAGS"
54190 CPPFLAGS="$CPPFLAGS $INCICONV"
54191 if test x$gcc_no_link = xyes; then
54192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54193 fi
54194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54195 /* end confdefs.h. */
54196 #include <stdlib.h>
54197 #include <iconv.h>
54198 int
54199 main ()
54200 {
54201 iconv_t cd = iconv_open("","");
54202 iconv(cd,NULL,NULL,NULL,NULL);
54203 iconv_close(cd);
54204 ;
54205 return 0;
54206 }
54207 _ACEOF
54208 if ac_fn_c_try_link "$LINENO"; then :
54209 am_cv_func_iconv=yes
54210 fi
54211 rm -f core conftest.err conftest.$ac_objext \
54212 conftest$ac_exeext conftest.$ac_ext
54213 CPPFLAGS="$am_save_CPPFLAGS"
54214
54215 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54216 for _libs in .libs _libs; do
54217 am_save_CPPFLAGS="$CPPFLAGS"
54218 am_save_LIBS="$LIBS"
54219 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54220 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54221 if test x$gcc_no_link = xyes; then
54222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54223 fi
54224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54225 /* end confdefs.h. */
54226 #include <stdlib.h>
54227 #include <iconv.h>
54228 int
54229 main ()
54230 {
54231 iconv_t cd = iconv_open("","");
54232 iconv(cd,NULL,NULL,NULL,NULL);
54233 iconv_close(cd);
54234 ;
54235 return 0;
54236 }
54237 _ACEOF
54238 if ac_fn_c_try_link "$LINENO"; then :
54239 INCICONV="-I../libiconv/include"
54240 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54241 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54242 am_cv_lib_iconv=yes
54243 am_cv_func_iconv=yes
54244 fi
54245 rm -f core conftest.err conftest.$ac_objext \
54246 conftest$ac_exeext conftest.$ac_ext
54247 CPPFLAGS="$am_save_CPPFLAGS"
54248 LIBS="$am_save_LIBS"
54249 if test "$am_cv_func_iconv" = "yes"; then
54250 break
54251 fi
54252 done
54253 fi
54254
54255 if test "$am_cv_func_iconv" != yes; then
54256 am_save_CPPFLAGS="$CPPFLAGS"
54257 am_save_LIBS="$LIBS"
54258 CPPFLAGS="$CPPFLAGS $INCICONV"
54259 LIBS="$LIBS $LIBICONV"
54260 if test x$gcc_no_link = xyes; then
54261 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54262 fi
54263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54264 /* end confdefs.h. */
54265 #include <stdlib.h>
54266 #include <iconv.h>
54267 int
54268 main ()
54269 {
54270 iconv_t cd = iconv_open("","");
54271 iconv(cd,NULL,NULL,NULL,NULL);
54272 iconv_close(cd);
54273 ;
54274 return 0;
54275 }
54276 _ACEOF
54277 if ac_fn_c_try_link "$LINENO"; then :
54278 am_cv_lib_iconv=yes
54279 am_cv_func_iconv=yes
54280 fi
54281 rm -f core conftest.err conftest.$ac_objext \
54282 conftest$ac_exeext conftest.$ac_ext
54283 CPPFLAGS="$am_save_CPPFLAGS"
54284 LIBS="$am_save_LIBS"
54285 fi
54286
54287 fi
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54289 $as_echo "$am_cv_func_iconv" >&6; }
54290 if test "$am_cv_func_iconv" = yes; then
54291
54292 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54293
54294 fi
54295 if test "$am_cv_lib_iconv" = yes; then
54296
54297 for element in $INCICONV; do
54298 haveit=
54299 for x in $CPPFLAGS; do
54300
54301 acl_save_prefix="$prefix"
54302 prefix="$acl_final_prefix"
54303 acl_save_exec_prefix="$exec_prefix"
54304 exec_prefix="$acl_final_exec_prefix"
54305 eval x=\"$x\"
54306 exec_prefix="$acl_save_exec_prefix"
54307 prefix="$acl_save_prefix"
54308
54309 if test "X$x" = "X$element"; then
54310 haveit=yes
54311 break
54312 fi
54313 done
54314 if test -z "$haveit"; then
54315 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54316 fi
54317 done
54318
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54320 $as_echo_n "checking how to link with libiconv... " >&6; }
54321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54322 $as_echo "$LIBICONV" >&6; }
54323 else
54324 LIBICONV=
54325 LTLIBICONV=
54326 fi
54327
54328
54329
54330 if test "$am_cv_func_iconv" = yes; then
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54332 $as_echo_n "checking for iconv declaration... " >&6; }
54333 if ${am_cv_proto_iconv+:} false; then :
54334 $as_echo_n "(cached) " >&6
54335 else
54336
54337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54338 /* end confdefs.h. */
54339
54340 #include <stdlib.h>
54341 #include <iconv.h>
54342 extern
54343 #ifdef __cplusplus
54344 "C"
54345 #endif
54346 #if defined(__STDC__) || defined(__cplusplus)
54347 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54348 #else
54349 size_t iconv();
54350 #endif
54351
54352 int
54353 main ()
54354 {
54355
54356 ;
54357 return 0;
54358 }
54359 _ACEOF
54360 if ac_fn_c_try_compile "$LINENO"; then :
54361 am_cv_proto_iconv_arg1=""
54362 else
54363 am_cv_proto_iconv_arg1="const"
54364 fi
54365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54366 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);"
54367 fi
54368
54369 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54371 }$am_cv_proto_iconv" >&5
54372 $as_echo "${ac_t:-
54373 }$am_cv_proto_iconv" >&6; }
54374
54375 cat >>confdefs.h <<_ACEOF
54376 #define ICONV_CONST $am_cv_proto_iconv_arg1
54377 _ACEOF
54378
54379 fi
54380
54381 ;;
54382 *-mingw32*)
54383
54384 # If we're not using GNU ld, then there's no point in even trying these
54385 # tests. Check for that first. We should have already tested for gld
54386 # by now (in libtool), but require it now just to be safe...
54387 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54388 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54389
54390
54391
54392 # The name set by libtool depends on the version of libtool. Shame on us
54393 # for depending on an impl detail, but c'est la vie. Older versions used
54394 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54395 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54396 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54397 # set (hence we're using an older libtool), then set it.
54398 if test x${with_gnu_ld+set} != xset; then
54399 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54400 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54401 with_gnu_ld=no
54402 else
54403 with_gnu_ld=$ac_cv_prog_gnu_ld
54404 fi
54405 fi
54406
54407 # Start by getting the version number. I think the libtool test already
54408 # does some of this, but throws away the result.
54409 glibcxx_ld_is_gold=no
54410 glibcxx_ld_is_mold=no
54411 if test x"$with_gnu_ld" = x"yes"; then
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54413 $as_echo_n "checking for ld version... " >&6; }
54414
54415 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54416 glibcxx_ld_is_gold=yes
54417 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54418 glibcxx_ld_is_mold=yes
54419 fi
54420 ldver=`$LD --version 2>/dev/null |
54421 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54422
54423 glibcxx_gnu_ld_version=`echo $ldver | \
54424 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54426 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54427 fi
54428
54429 # Set --gc-sections.
54430 glibcxx_have_gc_sections=no
54431 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54432 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54433 glibcxx_have_gc_sections=yes
54434 fi
54435 else
54436 glibcxx_gcsections_min_ld=21602
54437 if test x"$with_gnu_ld" = x"yes" &&
54438 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54439 glibcxx_have_gc_sections=yes
54440 fi
54441 fi
54442 if test "$glibcxx_have_gc_sections" = "yes"; then
54443 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54444 # NB: This flag only works reliably after 2.16.1. Configure tests
54445 # for this are difficult, so hard wire a value that should work.
54446
54447 ac_test_CFLAGS="${CFLAGS+set}"
54448 ac_save_CFLAGS="$CFLAGS"
54449 CFLAGS='-Wl,--gc-sections'
54450
54451 # Check for -Wl,--gc-sections
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54453 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54454 if test x$gcc_no_link = xyes; then
54455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54456 fi
54457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54458 /* end confdefs.h. */
54459 int one(void) { return 1; }
54460 int two(void) { return 2; }
54461
54462 int
54463 main ()
54464 {
54465 two();
54466 ;
54467 return 0;
54468 }
54469 _ACEOF
54470 if ac_fn_c_try_link "$LINENO"; then :
54471 ac_gcsections=yes
54472 else
54473 ac_gcsections=no
54474 fi
54475 rm -f core conftest.err conftest.$ac_objext \
54476 conftest$ac_exeext conftest.$ac_ext
54477 if test "$ac_gcsections" = "yes"; then
54478 rm -f conftest.c
54479 touch conftest.c
54480 if $CC -c conftest.c; then
54481 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54482 grep "Warning: gc-sections option ignored" > /dev/null; then
54483 ac_gcsections=no
54484 fi
54485 fi
54486 rm -f conftest.c conftest.o conftest
54487 fi
54488 if test "$ac_gcsections" = "yes"; then
54489 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54490 fi
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54492 $as_echo "$ac_gcsections" >&6; }
54493
54494 if test "$ac_test_CFLAGS" = set; then
54495 CFLAGS="$ac_save_CFLAGS"
54496 else
54497 # this is the suspicious part
54498 CFLAGS=''
54499 fi
54500 fi
54501
54502 # Set -z,relro.
54503 # Note this is only for shared objects.
54504 ac_ld_relro=no
54505 if test x"$with_gnu_ld" = x"yes"; then
54506 # cygwin and mingw uses PE, which has no ELF relro support,
54507 # multi target ld may confuse configure machinery
54508 case "$host" in
54509 *-*-cygwin*)
54510 ;;
54511 *-*-mingw*)
54512 ;;
54513 *)
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54515 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54516 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54517 if test -n "$cxx_z_relo"; then
54518 OPT_LDFLAGS="-Wl,-z,relro"
54519 ac_ld_relro=yes
54520 fi
54521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54522 $as_echo "$ac_ld_relro" >&6; }
54523 esac
54524 fi
54525
54526 # Set linker optimization flags.
54527 if test x"$with_gnu_ld" = x"yes"; then
54528 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54529 fi
54530
54531
54532
54533
54534
54535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54536 ac_save_CXXFLAGS="$CXXFLAGS"
54537 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54538
54539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54540 $as_echo_n "checking for sin in -lm... " >&6; }
54541 if ${ac_cv_lib_m_sin+:} false; then :
54542 $as_echo_n "(cached) " >&6
54543 else
54544 ac_check_lib_save_LIBS=$LIBS
54545 LIBS="-lm $LIBS"
54546 if test x$gcc_no_link = xyes; then
54547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54548 fi
54549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54550 /* end confdefs.h. */
54551
54552 /* Override any GCC internal prototype to avoid an error.
54553 Use char because int might match the return type of a GCC
54554 builtin and then its argument prototype would still apply. */
54555 #ifdef __cplusplus
54556 extern "C"
54557 #endif
54558 char sin ();
54559 int
54560 main ()
54561 {
54562 return sin ();
54563 ;
54564 return 0;
54565 }
54566 _ACEOF
54567 if ac_fn_c_try_link "$LINENO"; then :
54568 ac_cv_lib_m_sin=yes
54569 else
54570 ac_cv_lib_m_sin=no
54571 fi
54572 rm -f core conftest.err conftest.$ac_objext \
54573 conftest$ac_exeext conftest.$ac_ext
54574 LIBS=$ac_check_lib_save_LIBS
54575 fi
54576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54577 $as_echo "$ac_cv_lib_m_sin" >&6; }
54578 if test "x$ac_cv_lib_m_sin" = xyes; then :
54579 libm="-lm"
54580 fi
54581
54582 ac_save_LIBS="$LIBS"
54583 LIBS="$LIBS $libm"
54584
54585
54586
54587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54588 $as_echo_n "checking for isinf declaration... " >&6; }
54589 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54590 if ${glibcxx_cv_func_isinf_use+:} false; then :
54591 $as_echo_n "(cached) " >&6
54592 else
54593
54594
54595 ac_ext=cpp
54596 ac_cpp='$CXXCPP $CPPFLAGS'
54597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54600
54601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54602 /* end confdefs.h. */
54603 #include <math.h>
54604 #ifdef HAVE_IEEEFP_H
54605 #include <ieeefp.h>
54606 #endif
54607
54608 int
54609 main ()
54610 {
54611 isinf(0);
54612 ;
54613 return 0;
54614 }
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617 glibcxx_cv_func_isinf_use=yes
54618 else
54619 glibcxx_cv_func_isinf_use=no
54620 fi
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622 ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54627
54628
54629 fi
54630
54631 fi
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54633 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54634
54635 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54636 for ac_func in isinf
54637 do :
54638 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54639 if test "x$ac_cv_func_isinf" = xyes; then :
54640 cat >>confdefs.h <<_ACEOF
54641 #define HAVE_ISINF 1
54642 _ACEOF
54643
54644 fi
54645 done
54646
54647 else
54648
54649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54650 $as_echo_n "checking for _isinf declaration... " >&6; }
54651 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54652 if ${glibcxx_cv_func__isinf_use+:} false; then :
54653 $as_echo_n "(cached) " >&6
54654 else
54655
54656
54657 ac_ext=cpp
54658 ac_cpp='$CXXCPP $CPPFLAGS'
54659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54662
54663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54664 /* end confdefs.h. */
54665 #include <math.h>
54666 #ifdef HAVE_IEEEFP_H
54667 #include <ieeefp.h>
54668 #endif
54669
54670 int
54671 main ()
54672 {
54673 _isinf(0);
54674 ;
54675 return 0;
54676 }
54677 _ACEOF
54678 if ac_fn_cxx_try_compile "$LINENO"; then :
54679 glibcxx_cv_func__isinf_use=yes
54680 else
54681 glibcxx_cv_func__isinf_use=no
54682 fi
54683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54684 ac_ext=c
54685 ac_cpp='$CPP $CPPFLAGS'
54686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54689
54690
54691 fi
54692
54693 fi
54694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54695 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54696
54697 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54698 for ac_func in _isinf
54699 do :
54700 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54701 if test "x$ac_cv_func__isinf" = xyes; then :
54702 cat >>confdefs.h <<_ACEOF
54703 #define HAVE__ISINF 1
54704 _ACEOF
54705
54706 fi
54707 done
54708
54709 fi
54710 fi
54711
54712
54713
54714
54715
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54717 $as_echo_n "checking for isnan declaration... " >&6; }
54718 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54719 if ${glibcxx_cv_func_isnan_use+:} false; then :
54720 $as_echo_n "(cached) " >&6
54721 else
54722
54723
54724 ac_ext=cpp
54725 ac_cpp='$CXXCPP $CPPFLAGS'
54726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54729
54730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54731 /* end confdefs.h. */
54732 #include <math.h>
54733 #ifdef HAVE_IEEEFP_H
54734 #include <ieeefp.h>
54735 #endif
54736
54737 int
54738 main ()
54739 {
54740 isnan(0);
54741 ;
54742 return 0;
54743 }
54744 _ACEOF
54745 if ac_fn_cxx_try_compile "$LINENO"; then :
54746 glibcxx_cv_func_isnan_use=yes
54747 else
54748 glibcxx_cv_func_isnan_use=no
54749 fi
54750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54751 ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54756
54757
54758 fi
54759
54760 fi
54761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54762 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54763
54764 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54765 for ac_func in isnan
54766 do :
54767 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54768 if test "x$ac_cv_func_isnan" = xyes; then :
54769 cat >>confdefs.h <<_ACEOF
54770 #define HAVE_ISNAN 1
54771 _ACEOF
54772
54773 fi
54774 done
54775
54776 else
54777
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54779 $as_echo_n "checking for _isnan declaration... " >&6; }
54780 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54781 if ${glibcxx_cv_func__isnan_use+:} false; then :
54782 $as_echo_n "(cached) " >&6
54783 else
54784
54785
54786 ac_ext=cpp
54787 ac_cpp='$CXXCPP $CPPFLAGS'
54788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54791
54792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54793 /* end confdefs.h. */
54794 #include <math.h>
54795 #ifdef HAVE_IEEEFP_H
54796 #include <ieeefp.h>
54797 #endif
54798
54799 int
54800 main ()
54801 {
54802 _isnan(0);
54803 ;
54804 return 0;
54805 }
54806 _ACEOF
54807 if ac_fn_cxx_try_compile "$LINENO"; then :
54808 glibcxx_cv_func__isnan_use=yes
54809 else
54810 glibcxx_cv_func__isnan_use=no
54811 fi
54812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54813 ac_ext=c
54814 ac_cpp='$CPP $CPPFLAGS'
54815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54818
54819
54820 fi
54821
54822 fi
54823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54824 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54825
54826 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54827 for ac_func in _isnan
54828 do :
54829 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54830 if test "x$ac_cv_func__isnan" = xyes; then :
54831 cat >>confdefs.h <<_ACEOF
54832 #define HAVE__ISNAN 1
54833 _ACEOF
54834
54835 fi
54836 done
54837
54838 fi
54839 fi
54840
54841
54842
54843
54844
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54846 $as_echo_n "checking for finite declaration... " >&6; }
54847 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54848 if ${glibcxx_cv_func_finite_use+:} false; then :
54849 $as_echo_n "(cached) " >&6
54850 else
54851
54852
54853 ac_ext=cpp
54854 ac_cpp='$CXXCPP $CPPFLAGS'
54855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54858
54859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54860 /* end confdefs.h. */
54861 #include <math.h>
54862 #ifdef HAVE_IEEEFP_H
54863 #include <ieeefp.h>
54864 #endif
54865
54866 int
54867 main ()
54868 {
54869 finite(0);
54870 ;
54871 return 0;
54872 }
54873 _ACEOF
54874 if ac_fn_cxx_try_compile "$LINENO"; then :
54875 glibcxx_cv_func_finite_use=yes
54876 else
54877 glibcxx_cv_func_finite_use=no
54878 fi
54879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54880 ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885
54886
54887 fi
54888
54889 fi
54890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54891 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54892
54893 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54894 for ac_func in finite
54895 do :
54896 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54897 if test "x$ac_cv_func_finite" = xyes; then :
54898 cat >>confdefs.h <<_ACEOF
54899 #define HAVE_FINITE 1
54900 _ACEOF
54901
54902 fi
54903 done
54904
54905 else
54906
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54908 $as_echo_n "checking for _finite declaration... " >&6; }
54909 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54910 if ${glibcxx_cv_func__finite_use+:} false; then :
54911 $as_echo_n "(cached) " >&6
54912 else
54913
54914
54915 ac_ext=cpp
54916 ac_cpp='$CXXCPP $CPPFLAGS'
54917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54920
54921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54922 /* end confdefs.h. */
54923 #include <math.h>
54924 #ifdef HAVE_IEEEFP_H
54925 #include <ieeefp.h>
54926 #endif
54927
54928 int
54929 main ()
54930 {
54931 _finite(0);
54932 ;
54933 return 0;
54934 }
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func__finite_use=yes
54938 else
54939 glibcxx_cv_func__finite_use=no
54940 fi
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54947
54948
54949 fi
54950
54951 fi
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54953 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54954
54955 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54956 for ac_func in _finite
54957 do :
54958 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54959 if test "x$ac_cv_func__finite" = xyes; then :
54960 cat >>confdefs.h <<_ACEOF
54961 #define HAVE__FINITE 1
54962 _ACEOF
54963
54964 fi
54965 done
54966
54967 fi
54968 fi
54969
54970
54971
54972
54973
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54975 $as_echo_n "checking for sincos declaration... " >&6; }
54976 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54977 if ${glibcxx_cv_func_sincos_use+:} false; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54980
54981
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54987
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54991 int
54992 main ()
54993 {
54994 sincos(0, 0, 0);
54995 ;
54996 return 0;
54997 }
54998 _ACEOF
54999 if ac_fn_cxx_try_compile "$LINENO"; then :
55000 glibcxx_cv_func_sincos_use=yes
55001 else
55002 glibcxx_cv_func_sincos_use=no
55003 fi
55004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55005 ac_ext=c
55006 ac_cpp='$CPP $CPPFLAGS'
55007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55010
55011
55012 fi
55013
55014 fi
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55016 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55017
55018 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55019 for ac_func in sincos
55020 do :
55021 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55022 if test "x$ac_cv_func_sincos" = xyes; then :
55023 cat >>confdefs.h <<_ACEOF
55024 #define HAVE_SINCOS 1
55025 _ACEOF
55026
55027 fi
55028 done
55029
55030 else
55031
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55033 $as_echo_n "checking for _sincos declaration... " >&6; }
55034 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55035 if ${glibcxx_cv_func__sincos_use+:} false; then :
55036 $as_echo_n "(cached) " >&6
55037 else
55038
55039
55040 ac_ext=cpp
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55045
55046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h. */
55048 #include <math.h>
55049 int
55050 main ()
55051 {
55052 _sincos(0, 0, 0);
55053 ;
55054 return 0;
55055 }
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058 glibcxx_cv_func__sincos_use=yes
55059 else
55060 glibcxx_cv_func__sincos_use=no
55061 fi
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063 ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55068
55069
55070 fi
55071
55072 fi
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55074 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55075
55076 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55077 for ac_func in _sincos
55078 do :
55079 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55080 if test "x$ac_cv_func__sincos" = xyes; then :
55081 cat >>confdefs.h <<_ACEOF
55082 #define HAVE__SINCOS 1
55083 _ACEOF
55084
55085 fi
55086 done
55087
55088 fi
55089 fi
55090
55091
55092
55093
55094
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55096 $as_echo_n "checking for fpclass declaration... " >&6; }
55097 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55098 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55099 $as_echo_n "(cached) " >&6
55100 else
55101
55102
55103 ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55108
55109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h. */
55111 #include <math.h>
55112 #ifdef HAVE_IEEEFP_H
55113 #include <ieeefp.h>
55114 #endif
55115
55116 int
55117 main ()
55118 {
55119 fpclass(0);
55120 ;
55121 return 0;
55122 }
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125 glibcxx_cv_func_fpclass_use=yes
55126 else
55127 glibcxx_cv_func_fpclass_use=no
55128 fi
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130 ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55135
55136
55137 fi
55138
55139 fi
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55141 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55142
55143 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55144 for ac_func in fpclass
55145 do :
55146 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55147 if test "x$ac_cv_func_fpclass" = xyes; then :
55148 cat >>confdefs.h <<_ACEOF
55149 #define HAVE_FPCLASS 1
55150 _ACEOF
55151
55152 fi
55153 done
55154
55155 else
55156
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55158 $as_echo_n "checking for _fpclass declaration... " >&6; }
55159 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55160 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55163
55164
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55170
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55174 #ifdef HAVE_IEEEFP_H
55175 #include <ieeefp.h>
55176 #endif
55177
55178 int
55179 main ()
55180 {
55181 _fpclass(0);
55182 ;
55183 return 0;
55184 }
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func__fpclass_use=yes
55188 else
55189 glibcxx_cv_func__fpclass_use=no
55190 fi
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55197
55198
55199 fi
55200
55201 fi
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55203 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55204
55205 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55206 for ac_func in _fpclass
55207 do :
55208 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55209 if test "x$ac_cv_func__fpclass" = xyes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE__FPCLASS 1
55212 _ACEOF
55213
55214 fi
55215 done
55216
55217 fi
55218 fi
55219
55220
55221
55222
55223
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55225 $as_echo_n "checking for qfpclass declaration... " >&6; }
55226 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55227 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55228 $as_echo_n "(cached) " >&6
55229 else
55230
55231
55232 ac_ext=cpp
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55237
55238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55239 /* end confdefs.h. */
55240 #include <math.h>
55241 #ifdef HAVE_IEEEFP_H
55242 #include <ieeefp.h>
55243 #endif
55244
55245 int
55246 main ()
55247 {
55248 qfpclass(0);
55249 ;
55250 return 0;
55251 }
55252 _ACEOF
55253 if ac_fn_cxx_try_compile "$LINENO"; then :
55254 glibcxx_cv_func_qfpclass_use=yes
55255 else
55256 glibcxx_cv_func_qfpclass_use=no
55257 fi
55258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55259 ac_ext=c
55260 ac_cpp='$CPP $CPPFLAGS'
55261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55264
55265
55266 fi
55267
55268 fi
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55270 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55271
55272 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55273 for ac_func in qfpclass
55274 do :
55275 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55276 if test "x$ac_cv_func_qfpclass" = xyes; then :
55277 cat >>confdefs.h <<_ACEOF
55278 #define HAVE_QFPCLASS 1
55279 _ACEOF
55280
55281 fi
55282 done
55283
55284 else
55285
55286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55287 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55288 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55289 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55290 $as_echo_n "(cached) " >&6
55291 else
55292
55293
55294 ac_ext=cpp
55295 ac_cpp='$CXXCPP $CPPFLAGS'
55296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55299
55300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55301 /* end confdefs.h. */
55302 #include <math.h>
55303 #ifdef HAVE_IEEEFP_H
55304 #include <ieeefp.h>
55305 #endif
55306
55307 int
55308 main ()
55309 {
55310 _qfpclass(0);
55311 ;
55312 return 0;
55313 }
55314 _ACEOF
55315 if ac_fn_cxx_try_compile "$LINENO"; then :
55316 glibcxx_cv_func__qfpclass_use=yes
55317 else
55318 glibcxx_cv_func__qfpclass_use=no
55319 fi
55320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55321 ac_ext=c
55322 ac_cpp='$CPP $CPPFLAGS'
55323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55326
55327
55328 fi
55329
55330 fi
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55332 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55333
55334 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55335 for ac_func in _qfpclass
55336 do :
55337 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55338 if test "x$ac_cv_func__qfpclass" = xyes; then :
55339 cat >>confdefs.h <<_ACEOF
55340 #define HAVE__QFPCLASS 1
55341 _ACEOF
55342
55343 fi
55344 done
55345
55346 fi
55347 fi
55348
55349
55350
55351
55352
55353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55354 $as_echo_n "checking for hypot declaration... " >&6; }
55355 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55356 if ${glibcxx_cv_func_hypot_use+:} false; then :
55357 $as_echo_n "(cached) " >&6
55358 else
55359
55360
55361 ac_ext=cpp
55362 ac_cpp='$CXXCPP $CPPFLAGS'
55363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55366
55367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55368 /* end confdefs.h. */
55369 #include <math.h>
55370 int
55371 main ()
55372 {
55373 hypot(0, 0);
55374 ;
55375 return 0;
55376 }
55377 _ACEOF
55378 if ac_fn_cxx_try_compile "$LINENO"; then :
55379 glibcxx_cv_func_hypot_use=yes
55380 else
55381 glibcxx_cv_func_hypot_use=no
55382 fi
55383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55384 ac_ext=c
55385 ac_cpp='$CPP $CPPFLAGS'
55386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55389
55390
55391 fi
55392
55393 fi
55394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55395 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55396
55397 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55398 for ac_func in hypot
55399 do :
55400 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55401 if test "x$ac_cv_func_hypot" = xyes; then :
55402 cat >>confdefs.h <<_ACEOF
55403 #define HAVE_HYPOT 1
55404 _ACEOF
55405
55406 fi
55407 done
55408
55409 else
55410
55411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55412 $as_echo_n "checking for _hypot declaration... " >&6; }
55413 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55414 if ${glibcxx_cv_func__hypot_use+:} false; then :
55415 $as_echo_n "(cached) " >&6
55416 else
55417
55418
55419 ac_ext=cpp
55420 ac_cpp='$CXXCPP $CPPFLAGS'
55421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55424
55425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55426 /* end confdefs.h. */
55427 #include <math.h>
55428 int
55429 main ()
55430 {
55431 _hypot(0, 0);
55432 ;
55433 return 0;
55434 }
55435 _ACEOF
55436 if ac_fn_cxx_try_compile "$LINENO"; then :
55437 glibcxx_cv_func__hypot_use=yes
55438 else
55439 glibcxx_cv_func__hypot_use=no
55440 fi
55441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55442 ac_ext=c
55443 ac_cpp='$CPP $CPPFLAGS'
55444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55447
55448
55449 fi
55450
55451 fi
55452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55453 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55454
55455 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55456 for ac_func in _hypot
55457 do :
55458 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55459 if test "x$ac_cv_func__hypot" = xyes; then :
55460 cat >>confdefs.h <<_ACEOF
55461 #define HAVE__HYPOT 1
55462 _ACEOF
55463
55464 fi
55465 done
55466
55467 fi
55468 fi
55469
55470
55471
55472
55473
55474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55475 $as_echo_n "checking for float trig functions... " >&6; }
55476 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55477 $as_echo_n "(cached) " >&6
55478 else
55479
55480
55481 ac_ext=cpp
55482 ac_cpp='$CXXCPP $CPPFLAGS'
55483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55486
55487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55488 /* end confdefs.h. */
55489 #include <math.h>
55490 int
55491 main ()
55492 {
55493 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55494 ;
55495 return 0;
55496 }
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499 glibcxx_cv_func_float_trig_use=yes
55500 else
55501 glibcxx_cv_func_float_trig_use=no
55502 fi
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504 ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509
55510 fi
55511
55512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55513 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55514 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55515 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55516 do :
55517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55520 cat >>confdefs.h <<_ACEOF
55521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55522 _ACEOF
55523
55524 fi
55525 done
55526
55527 else
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55529 $as_echo_n "checking for _float trig functions... " >&6; }
55530 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55531 $as_echo_n "(cached) " >&6
55532 else
55533
55534
55535 ac_ext=cpp
55536 ac_cpp='$CXXCPP $CPPFLAGS'
55537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55540
55541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55542 /* end confdefs.h. */
55543 #include <math.h>
55544 int
55545 main ()
55546 {
55547 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55548 ;
55549 return 0;
55550 }
55551 _ACEOF
55552 if ac_fn_cxx_try_compile "$LINENO"; then :
55553 glibcxx_cv_func__float_trig_use=yes
55554 else
55555 glibcxx_cv_func__float_trig_use=no
55556 fi
55557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55558 ac_ext=c
55559 ac_cpp='$CPP $CPPFLAGS'
55560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55563
55564 fi
55565
55566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55567 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55568 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55569 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55570 do :
55571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55574 cat >>confdefs.h <<_ACEOF
55575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55576 _ACEOF
55577
55578 fi
55579 done
55580
55581 fi
55582 fi
55583
55584
55585
55586
55587
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55589 $as_echo_n "checking for float round functions... " >&6; }
55590 if ${glibcxx_cv_func_float_round_use+:} false; then :
55591 $as_echo_n "(cached) " >&6
55592 else
55593
55594
55595 ac_ext=cpp
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55600
55601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55602 /* end confdefs.h. */
55603 #include <math.h>
55604 int
55605 main ()
55606 {
55607 ceilf (0); floorf (0);
55608 ;
55609 return 0;
55610 }
55611 _ACEOF
55612 if ac_fn_cxx_try_compile "$LINENO"; then :
55613 glibcxx_cv_func_float_round_use=yes
55614 else
55615 glibcxx_cv_func_float_round_use=no
55616 fi
55617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55618 ac_ext=c
55619 ac_cpp='$CPP $CPPFLAGS'
55620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55623
55624 fi
55625
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55627 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55628 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55629 for ac_func in ceilf floorf
55630 do :
55631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55634 cat >>confdefs.h <<_ACEOF
55635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55636 _ACEOF
55637
55638 fi
55639 done
55640
55641 else
55642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55643 $as_echo_n "checking for _float round functions... " >&6; }
55644 if ${glibcxx_cv_func__float_round_use+:} false; then :
55645 $as_echo_n "(cached) " >&6
55646 else
55647
55648
55649 ac_ext=cpp
55650 ac_cpp='$CXXCPP $CPPFLAGS'
55651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55654
55655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55656 /* end confdefs.h. */
55657 #include <math.h>
55658 int
55659 main ()
55660 {
55661 _ceilf (0); _floorf (0);
55662 ;
55663 return 0;
55664 }
55665 _ACEOF
55666 if ac_fn_cxx_try_compile "$LINENO"; then :
55667 glibcxx_cv_func__float_round_use=yes
55668 else
55669 glibcxx_cv_func__float_round_use=no
55670 fi
55671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55672 ac_ext=c
55673 ac_cpp='$CPP $CPPFLAGS'
55674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55677
55678 fi
55679
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55681 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55682 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55683 for ac_func in _ceilf _floorf
55684 do :
55685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55688 cat >>confdefs.h <<_ACEOF
55689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55690 _ACEOF
55691
55692 fi
55693 done
55694
55695 fi
55696 fi
55697
55698
55699
55700
55701
55702
55703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55704 $as_echo_n "checking for expf declaration... " >&6; }
55705 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55706 if ${glibcxx_cv_func_expf_use+:} false; then :
55707 $as_echo_n "(cached) " >&6
55708 else
55709
55710
55711 ac_ext=cpp
55712 ac_cpp='$CXXCPP $CPPFLAGS'
55713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55716
55717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55718 /* end confdefs.h. */
55719 #include <math.h>
55720 #ifdef HAVE_IEEEFP_H
55721 #include <ieeefp.h>
55722 #endif
55723
55724 int
55725 main ()
55726 {
55727 expf(0);
55728 ;
55729 return 0;
55730 }
55731 _ACEOF
55732 if ac_fn_cxx_try_compile "$LINENO"; then :
55733 glibcxx_cv_func_expf_use=yes
55734 else
55735 glibcxx_cv_func_expf_use=no
55736 fi
55737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55738 ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55743
55744
55745 fi
55746
55747 fi
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55749 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55750
55751 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55752 for ac_func in expf
55753 do :
55754 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55755 if test "x$ac_cv_func_expf" = xyes; then :
55756 cat >>confdefs.h <<_ACEOF
55757 #define HAVE_EXPF 1
55758 _ACEOF
55759
55760 fi
55761 done
55762
55763 else
55764
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55766 $as_echo_n "checking for _expf declaration... " >&6; }
55767 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55768 if ${glibcxx_cv_func__expf_use+:} false; then :
55769 $as_echo_n "(cached) " >&6
55770 else
55771
55772
55773 ac_ext=cpp
55774 ac_cpp='$CXXCPP $CPPFLAGS'
55775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55778
55779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55780 /* end confdefs.h. */
55781 #include <math.h>
55782 #ifdef HAVE_IEEEFP_H
55783 #include <ieeefp.h>
55784 #endif
55785
55786 int
55787 main ()
55788 {
55789 _expf(0);
55790 ;
55791 return 0;
55792 }
55793 _ACEOF
55794 if ac_fn_cxx_try_compile "$LINENO"; then :
55795 glibcxx_cv_func__expf_use=yes
55796 else
55797 glibcxx_cv_func__expf_use=no
55798 fi
55799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55800 ac_ext=c
55801 ac_cpp='$CPP $CPPFLAGS'
55802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55805
55806
55807 fi
55808
55809 fi
55810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55811 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55812
55813 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55814 for ac_func in _expf
55815 do :
55816 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55817 if test "x$ac_cv_func__expf" = xyes; then :
55818 cat >>confdefs.h <<_ACEOF
55819 #define HAVE__EXPF 1
55820 _ACEOF
55821
55822 fi
55823 done
55824
55825 fi
55826 fi
55827
55828
55829
55830
55831
55832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55833 $as_echo_n "checking for isnanf declaration... " >&6; }
55834 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55835 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55836 $as_echo_n "(cached) " >&6
55837 else
55838
55839
55840 ac_ext=cpp
55841 ac_cpp='$CXXCPP $CPPFLAGS'
55842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55845
55846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55847 /* end confdefs.h. */
55848 #include <math.h>
55849 #ifdef HAVE_IEEEFP_H
55850 #include <ieeefp.h>
55851 #endif
55852
55853 int
55854 main ()
55855 {
55856 isnanf(0);
55857 ;
55858 return 0;
55859 }
55860 _ACEOF
55861 if ac_fn_cxx_try_compile "$LINENO"; then :
55862 glibcxx_cv_func_isnanf_use=yes
55863 else
55864 glibcxx_cv_func_isnanf_use=no
55865 fi
55866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55867 ac_ext=c
55868 ac_cpp='$CPP $CPPFLAGS'
55869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55872
55873
55874 fi
55875
55876 fi
55877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55878 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55879
55880 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55881 for ac_func in isnanf
55882 do :
55883 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55884 if test "x$ac_cv_func_isnanf" = xyes; then :
55885 cat >>confdefs.h <<_ACEOF
55886 #define HAVE_ISNANF 1
55887 _ACEOF
55888
55889 fi
55890 done
55891
55892 else
55893
55894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55895 $as_echo_n "checking for _isnanf declaration... " >&6; }
55896 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55897 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55898 $as_echo_n "(cached) " >&6
55899 else
55900
55901
55902 ac_ext=cpp
55903 ac_cpp='$CXXCPP $CPPFLAGS'
55904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55907
55908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55909 /* end confdefs.h. */
55910 #include <math.h>
55911 #ifdef HAVE_IEEEFP_H
55912 #include <ieeefp.h>
55913 #endif
55914
55915 int
55916 main ()
55917 {
55918 _isnanf(0);
55919 ;
55920 return 0;
55921 }
55922 _ACEOF
55923 if ac_fn_cxx_try_compile "$LINENO"; then :
55924 glibcxx_cv_func__isnanf_use=yes
55925 else
55926 glibcxx_cv_func__isnanf_use=no
55927 fi
55928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55929 ac_ext=c
55930 ac_cpp='$CPP $CPPFLAGS'
55931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55934
55935
55936 fi
55937
55938 fi
55939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55940 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55941
55942 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55943 for ac_func in _isnanf
55944 do :
55945 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55946 if test "x$ac_cv_func__isnanf" = xyes; then :
55947 cat >>confdefs.h <<_ACEOF
55948 #define HAVE__ISNANF 1
55949 _ACEOF
55950
55951 fi
55952 done
55953
55954 fi
55955 fi
55956
55957
55958
55959
55960
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55962 $as_echo_n "checking for isinff declaration... " >&6; }
55963 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55964 if ${glibcxx_cv_func_isinff_use+:} false; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55967
55968
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55974
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55978 #ifdef HAVE_IEEEFP_H
55979 #include <ieeefp.h>
55980 #endif
55981
55982 int
55983 main ()
55984 {
55985 isinff(0);
55986 ;
55987 return 0;
55988 }
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func_isinff_use=yes
55992 else
55993 glibcxx_cv_func_isinff_use=no
55994 fi
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56001
56002
56003 fi
56004
56005 fi
56006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56007 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56008
56009 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56010 for ac_func in isinff
56011 do :
56012 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56013 if test "x$ac_cv_func_isinff" = xyes; then :
56014 cat >>confdefs.h <<_ACEOF
56015 #define HAVE_ISINFF 1
56016 _ACEOF
56017
56018 fi
56019 done
56020
56021 else
56022
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56024 $as_echo_n "checking for _isinff declaration... " >&6; }
56025 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56026 if ${glibcxx_cv_func__isinff_use+:} false; then :
56027 $as_echo_n "(cached) " >&6
56028 else
56029
56030
56031 ac_ext=cpp
56032 ac_cpp='$CXXCPP $CPPFLAGS'
56033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56036
56037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038 /* end confdefs.h. */
56039 #include <math.h>
56040 #ifdef HAVE_IEEEFP_H
56041 #include <ieeefp.h>
56042 #endif
56043
56044 int
56045 main ()
56046 {
56047 _isinff(0);
56048 ;
56049 return 0;
56050 }
56051 _ACEOF
56052 if ac_fn_cxx_try_compile "$LINENO"; then :
56053 glibcxx_cv_func__isinff_use=yes
56054 else
56055 glibcxx_cv_func__isinff_use=no
56056 fi
56057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56058 ac_ext=c
56059 ac_cpp='$CPP $CPPFLAGS'
56060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56063
56064
56065 fi
56066
56067 fi
56068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56069 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56070
56071 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56072 for ac_func in _isinff
56073 do :
56074 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56075 if test "x$ac_cv_func__isinff" = xyes; then :
56076 cat >>confdefs.h <<_ACEOF
56077 #define HAVE__ISINFF 1
56078 _ACEOF
56079
56080 fi
56081 done
56082
56083 fi
56084 fi
56085
56086
56087
56088
56089
56090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56091 $as_echo_n "checking for atan2f declaration... " >&6; }
56092 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56093 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56094 $as_echo_n "(cached) " >&6
56095 else
56096
56097
56098 ac_ext=cpp
56099 ac_cpp='$CXXCPP $CPPFLAGS'
56100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56103
56104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56105 /* end confdefs.h. */
56106 #include <math.h>
56107 int
56108 main ()
56109 {
56110 atan2f(0, 0);
56111 ;
56112 return 0;
56113 }
56114 _ACEOF
56115 if ac_fn_cxx_try_compile "$LINENO"; then :
56116 glibcxx_cv_func_atan2f_use=yes
56117 else
56118 glibcxx_cv_func_atan2f_use=no
56119 fi
56120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56121 ac_ext=c
56122 ac_cpp='$CPP $CPPFLAGS'
56123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56126
56127
56128 fi
56129
56130 fi
56131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56132 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56133
56134 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56135 for ac_func in atan2f
56136 do :
56137 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56138 if test "x$ac_cv_func_atan2f" = xyes; then :
56139 cat >>confdefs.h <<_ACEOF
56140 #define HAVE_ATAN2F 1
56141 _ACEOF
56142
56143 fi
56144 done
56145
56146 else
56147
56148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56149 $as_echo_n "checking for _atan2f declaration... " >&6; }
56150 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56151 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56152 $as_echo_n "(cached) " >&6
56153 else
56154
56155
56156 ac_ext=cpp
56157 ac_cpp='$CXXCPP $CPPFLAGS'
56158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56161
56162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56163 /* end confdefs.h. */
56164 #include <math.h>
56165 int
56166 main ()
56167 {
56168 _atan2f(0, 0);
56169 ;
56170 return 0;
56171 }
56172 _ACEOF
56173 if ac_fn_cxx_try_compile "$LINENO"; then :
56174 glibcxx_cv_func__atan2f_use=yes
56175 else
56176 glibcxx_cv_func__atan2f_use=no
56177 fi
56178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56179 ac_ext=c
56180 ac_cpp='$CPP $CPPFLAGS'
56181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56184
56185
56186 fi
56187
56188 fi
56189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56190 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56191
56192 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56193 for ac_func in _atan2f
56194 do :
56195 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56196 if test "x$ac_cv_func__atan2f" = xyes; then :
56197 cat >>confdefs.h <<_ACEOF
56198 #define HAVE__ATAN2F 1
56199 _ACEOF
56200
56201 fi
56202 done
56203
56204 fi
56205 fi
56206
56207
56208
56209
56210
56211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56212 $as_echo_n "checking for fabsf declaration... " >&6; }
56213 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56214 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56215 $as_echo_n "(cached) " >&6
56216 else
56217
56218
56219 ac_ext=cpp
56220 ac_cpp='$CXXCPP $CPPFLAGS'
56221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56224
56225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56226 /* end confdefs.h. */
56227 #include <math.h>
56228 #ifdef HAVE_IEEEFP_H
56229 #include <ieeefp.h>
56230 #endif
56231
56232 int
56233 main ()
56234 {
56235 fabsf(0);
56236 ;
56237 return 0;
56238 }
56239 _ACEOF
56240 if ac_fn_cxx_try_compile "$LINENO"; then :
56241 glibcxx_cv_func_fabsf_use=yes
56242 else
56243 glibcxx_cv_func_fabsf_use=no
56244 fi
56245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56251
56252
56253 fi
56254
56255 fi
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56257 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56258
56259 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56260 for ac_func in fabsf
56261 do :
56262 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56263 if test "x$ac_cv_func_fabsf" = xyes; then :
56264 cat >>confdefs.h <<_ACEOF
56265 #define HAVE_FABSF 1
56266 _ACEOF
56267
56268 fi
56269 done
56270
56271 else
56272
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56274 $as_echo_n "checking for _fabsf declaration... " >&6; }
56275 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56276 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56277 $as_echo_n "(cached) " >&6
56278 else
56279
56280
56281 ac_ext=cpp
56282 ac_cpp='$CXXCPP $CPPFLAGS'
56283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56286
56287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56288 /* end confdefs.h. */
56289 #include <math.h>
56290 #ifdef HAVE_IEEEFP_H
56291 #include <ieeefp.h>
56292 #endif
56293
56294 int
56295 main ()
56296 {
56297 _fabsf(0);
56298 ;
56299 return 0;
56300 }
56301 _ACEOF
56302 if ac_fn_cxx_try_compile "$LINENO"; then :
56303 glibcxx_cv_func__fabsf_use=yes
56304 else
56305 glibcxx_cv_func__fabsf_use=no
56306 fi
56307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56308 ac_ext=c
56309 ac_cpp='$CPP $CPPFLAGS'
56310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56313
56314
56315 fi
56316
56317 fi
56318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56319 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56320
56321 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56322 for ac_func in _fabsf
56323 do :
56324 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56325 if test "x$ac_cv_func__fabsf" = xyes; then :
56326 cat >>confdefs.h <<_ACEOF
56327 #define HAVE__FABSF 1
56328 _ACEOF
56329
56330 fi
56331 done
56332
56333 fi
56334 fi
56335
56336
56337
56338
56339
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56341 $as_echo_n "checking for fmodf declaration... " >&6; }
56342 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56343 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56344 $as_echo_n "(cached) " >&6
56345 else
56346
56347
56348 ac_ext=cpp
56349 ac_cpp='$CXXCPP $CPPFLAGS'
56350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56353
56354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56355 /* end confdefs.h. */
56356 #include <math.h>
56357 int
56358 main ()
56359 {
56360 fmodf(0, 0);
56361 ;
56362 return 0;
56363 }
56364 _ACEOF
56365 if ac_fn_cxx_try_compile "$LINENO"; then :
56366 glibcxx_cv_func_fmodf_use=yes
56367 else
56368 glibcxx_cv_func_fmodf_use=no
56369 fi
56370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56371 ac_ext=c
56372 ac_cpp='$CPP $CPPFLAGS'
56373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56376
56377
56378 fi
56379
56380 fi
56381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56382 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56383
56384 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56385 for ac_func in fmodf
56386 do :
56387 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56388 if test "x$ac_cv_func_fmodf" = xyes; then :
56389 cat >>confdefs.h <<_ACEOF
56390 #define HAVE_FMODF 1
56391 _ACEOF
56392
56393 fi
56394 done
56395
56396 else
56397
56398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56399 $as_echo_n "checking for _fmodf declaration... " >&6; }
56400 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56401 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56402 $as_echo_n "(cached) " >&6
56403 else
56404
56405
56406 ac_ext=cpp
56407 ac_cpp='$CXXCPP $CPPFLAGS'
56408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56411
56412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56413 /* end confdefs.h. */
56414 #include <math.h>
56415 int
56416 main ()
56417 {
56418 _fmodf(0, 0);
56419 ;
56420 return 0;
56421 }
56422 _ACEOF
56423 if ac_fn_cxx_try_compile "$LINENO"; then :
56424 glibcxx_cv_func__fmodf_use=yes
56425 else
56426 glibcxx_cv_func__fmodf_use=no
56427 fi
56428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434
56435
56436 fi
56437
56438 fi
56439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56440 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56441
56442 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56443 for ac_func in _fmodf
56444 do :
56445 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56446 if test "x$ac_cv_func__fmodf" = xyes; then :
56447 cat >>confdefs.h <<_ACEOF
56448 #define HAVE__FMODF 1
56449 _ACEOF
56450
56451 fi
56452 done
56453
56454 fi
56455 fi
56456
56457
56458
56459
56460
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56462 $as_echo_n "checking for frexpf declaration... " >&6; }
56463 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56464 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56465 $as_echo_n "(cached) " >&6
56466 else
56467
56468
56469 ac_ext=cpp
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56474
56475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56476 /* end confdefs.h. */
56477 #include <math.h>
56478 int
56479 main ()
56480 {
56481 frexpf(0, 0);
56482 ;
56483 return 0;
56484 }
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func_frexpf_use=yes
56488 else
56489 glibcxx_cv_func_frexpf_use=no
56490 fi
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56497
56498
56499 fi
56500
56501 fi
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56503 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56504
56505 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56506 for ac_func in frexpf
56507 do :
56508 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56509 if test "x$ac_cv_func_frexpf" = xyes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_FREXPF 1
56512 _ACEOF
56513
56514 fi
56515 done
56516
56517 else
56518
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56520 $as_echo_n "checking for _frexpf declaration... " >&6; }
56521 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56522 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56525
56526
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56532
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56536 int
56537 main ()
56538 {
56539 _frexpf(0, 0);
56540 ;
56541 return 0;
56542 }
56543 _ACEOF
56544 if ac_fn_cxx_try_compile "$LINENO"; then :
56545 glibcxx_cv_func__frexpf_use=yes
56546 else
56547 glibcxx_cv_func__frexpf_use=no
56548 fi
56549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56550 ac_ext=c
56551 ac_cpp='$CPP $CPPFLAGS'
56552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56555
56556
56557 fi
56558
56559 fi
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56561 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56562
56563 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56564 for ac_func in _frexpf
56565 do :
56566 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56567 if test "x$ac_cv_func__frexpf" = xyes; then :
56568 cat >>confdefs.h <<_ACEOF
56569 #define HAVE__FREXPF 1
56570 _ACEOF
56571
56572 fi
56573 done
56574
56575 fi
56576 fi
56577
56578
56579
56580
56581
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56583 $as_echo_n "checking for hypotf declaration... " >&6; }
56584 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56585 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56586 $as_echo_n "(cached) " >&6
56587 else
56588
56589
56590 ac_ext=cpp
56591 ac_cpp='$CXXCPP $CPPFLAGS'
56592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56595
56596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56597 /* end confdefs.h. */
56598 #include <math.h>
56599 int
56600 main ()
56601 {
56602 hypotf(0, 0);
56603 ;
56604 return 0;
56605 }
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func_hypotf_use=yes
56609 else
56610 glibcxx_cv_func_hypotf_use=no
56611 fi
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618
56619
56620 fi
56621
56622 fi
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56624 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56625
56626 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56627 for ac_func in hypotf
56628 do :
56629 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56630 if test "x$ac_cv_func_hypotf" = xyes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE_HYPOTF 1
56633 _ACEOF
56634
56635 fi
56636 done
56637
56638 else
56639
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56641 $as_echo_n "checking for _hypotf declaration... " >&6; }
56642 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56643 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56646
56647
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56653
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56657 int
56658 main ()
56659 {
56660 _hypotf(0, 0);
56661 ;
56662 return 0;
56663 }
56664 _ACEOF
56665 if ac_fn_cxx_try_compile "$LINENO"; then :
56666 glibcxx_cv_func__hypotf_use=yes
56667 else
56668 glibcxx_cv_func__hypotf_use=no
56669 fi
56670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56671 ac_ext=c
56672 ac_cpp='$CPP $CPPFLAGS'
56673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56676
56677
56678 fi
56679
56680 fi
56681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56682 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56683
56684 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56685 for ac_func in _hypotf
56686 do :
56687 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56688 if test "x$ac_cv_func__hypotf" = xyes; then :
56689 cat >>confdefs.h <<_ACEOF
56690 #define HAVE__HYPOTF 1
56691 _ACEOF
56692
56693 fi
56694 done
56695
56696 fi
56697 fi
56698
56699
56700
56701
56702
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56704 $as_echo_n "checking for ldexpf declaration... " >&6; }
56705 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56706 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56709
56710
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56716
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56720 int
56721 main ()
56722 {
56723 ldexpf(0, 0);
56724 ;
56725 return 0;
56726 }
56727 _ACEOF
56728 if ac_fn_cxx_try_compile "$LINENO"; then :
56729 glibcxx_cv_func_ldexpf_use=yes
56730 else
56731 glibcxx_cv_func_ldexpf_use=no
56732 fi
56733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734 ac_ext=c
56735 ac_cpp='$CPP $CPPFLAGS'
56736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739
56740
56741 fi
56742
56743 fi
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56745 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56746
56747 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56748 for ac_func in ldexpf
56749 do :
56750 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56751 if test "x$ac_cv_func_ldexpf" = xyes; then :
56752 cat >>confdefs.h <<_ACEOF
56753 #define HAVE_LDEXPF 1
56754 _ACEOF
56755
56756 fi
56757 done
56758
56759 else
56760
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56762 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56763 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56764 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56765 $as_echo_n "(cached) " >&6
56766 else
56767
56768
56769 ac_ext=cpp
56770 ac_cpp='$CXXCPP $CPPFLAGS'
56771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56774
56775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56776 /* end confdefs.h. */
56777 #include <math.h>
56778 int
56779 main ()
56780 {
56781 _ldexpf(0, 0);
56782 ;
56783 return 0;
56784 }
56785 _ACEOF
56786 if ac_fn_cxx_try_compile "$LINENO"; then :
56787 glibcxx_cv_func__ldexpf_use=yes
56788 else
56789 glibcxx_cv_func__ldexpf_use=no
56790 fi
56791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56792 ac_ext=c
56793 ac_cpp='$CPP $CPPFLAGS'
56794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56797
56798
56799 fi
56800
56801 fi
56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56803 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56804
56805 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56806 for ac_func in _ldexpf
56807 do :
56808 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56809 if test "x$ac_cv_func__ldexpf" = xyes; then :
56810 cat >>confdefs.h <<_ACEOF
56811 #define HAVE__LDEXPF 1
56812 _ACEOF
56813
56814 fi
56815 done
56816
56817 fi
56818 fi
56819
56820
56821
56822
56823
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56825 $as_echo_n "checking for logf declaration... " >&6; }
56826 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56827 if ${glibcxx_cv_func_logf_use+:} false; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56830
56831
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56837
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56841 #ifdef HAVE_IEEEFP_H
56842 #include <ieeefp.h>
56843 #endif
56844
56845 int
56846 main ()
56847 {
56848 logf(0);
56849 ;
56850 return 0;
56851 }
56852 _ACEOF
56853 if ac_fn_cxx_try_compile "$LINENO"; then :
56854 glibcxx_cv_func_logf_use=yes
56855 else
56856 glibcxx_cv_func_logf_use=no
56857 fi
56858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56859 ac_ext=c
56860 ac_cpp='$CPP $CPPFLAGS'
56861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56864
56865
56866 fi
56867
56868 fi
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56870 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56871
56872 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56873 for ac_func in logf
56874 do :
56875 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56876 if test "x$ac_cv_func_logf" = xyes; then :
56877 cat >>confdefs.h <<_ACEOF
56878 #define HAVE_LOGF 1
56879 _ACEOF
56880
56881 fi
56882 done
56883
56884 else
56885
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56887 $as_echo_n "checking for _logf declaration... " >&6; }
56888 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56889 if ${glibcxx_cv_func__logf_use+:} false; then :
56890 $as_echo_n "(cached) " >&6
56891 else
56892
56893
56894 ac_ext=cpp
56895 ac_cpp='$CXXCPP $CPPFLAGS'
56896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56899
56900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56901 /* end confdefs.h. */
56902 #include <math.h>
56903 #ifdef HAVE_IEEEFP_H
56904 #include <ieeefp.h>
56905 #endif
56906
56907 int
56908 main ()
56909 {
56910 _logf(0);
56911 ;
56912 return 0;
56913 }
56914 _ACEOF
56915 if ac_fn_cxx_try_compile "$LINENO"; then :
56916 glibcxx_cv_func__logf_use=yes
56917 else
56918 glibcxx_cv_func__logf_use=no
56919 fi
56920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56921 ac_ext=c
56922 ac_cpp='$CPP $CPPFLAGS'
56923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56926
56927
56928 fi
56929
56930 fi
56931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56932 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56933
56934 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56935 for ac_func in _logf
56936 do :
56937 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56938 if test "x$ac_cv_func__logf" = xyes; then :
56939 cat >>confdefs.h <<_ACEOF
56940 #define HAVE__LOGF 1
56941 _ACEOF
56942
56943 fi
56944 done
56945
56946 fi
56947 fi
56948
56949
56950
56951
56952
56953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56954 $as_echo_n "checking for log10f declaration... " >&6; }
56955 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56956 if ${glibcxx_cv_func_log10f_use+:} false; then :
56957 $as_echo_n "(cached) " >&6
56958 else
56959
56960
56961 ac_ext=cpp
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56966
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 #include <math.h>
56970 #ifdef HAVE_IEEEFP_H
56971 #include <ieeefp.h>
56972 #endif
56973
56974 int
56975 main ()
56976 {
56977 log10f(0);
56978 ;
56979 return 0;
56980 }
56981 _ACEOF
56982 if ac_fn_cxx_try_compile "$LINENO"; then :
56983 glibcxx_cv_func_log10f_use=yes
56984 else
56985 glibcxx_cv_func_log10f_use=no
56986 fi
56987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56993
56994
56995 fi
56996
56997 fi
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56999 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57000
57001 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57002 for ac_func in log10f
57003 do :
57004 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57005 if test "x$ac_cv_func_log10f" = xyes; then :
57006 cat >>confdefs.h <<_ACEOF
57007 #define HAVE_LOG10F 1
57008 _ACEOF
57009
57010 fi
57011 done
57012
57013 else
57014
57015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57016 $as_echo_n "checking for _log10f declaration... " >&6; }
57017 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57018 if ${glibcxx_cv_func__log10f_use+:} false; then :
57019 $as_echo_n "(cached) " >&6
57020 else
57021
57022
57023 ac_ext=cpp
57024 ac_cpp='$CXXCPP $CPPFLAGS'
57025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57028
57029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57030 /* end confdefs.h. */
57031 #include <math.h>
57032 #ifdef HAVE_IEEEFP_H
57033 #include <ieeefp.h>
57034 #endif
57035
57036 int
57037 main ()
57038 {
57039 _log10f(0);
57040 ;
57041 return 0;
57042 }
57043 _ACEOF
57044 if ac_fn_cxx_try_compile "$LINENO"; then :
57045 glibcxx_cv_func__log10f_use=yes
57046 else
57047 glibcxx_cv_func__log10f_use=no
57048 fi
57049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57050 ac_ext=c
57051 ac_cpp='$CPP $CPPFLAGS'
57052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57055
57056
57057 fi
57058
57059 fi
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57061 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57062
57063 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57064 for ac_func in _log10f
57065 do :
57066 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57067 if test "x$ac_cv_func__log10f" = xyes; then :
57068 cat >>confdefs.h <<_ACEOF
57069 #define HAVE__LOG10F 1
57070 _ACEOF
57071
57072 fi
57073 done
57074
57075 fi
57076 fi
57077
57078
57079
57080
57081
57082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57083 $as_echo_n "checking for modff declaration... " >&6; }
57084 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57085 if ${glibcxx_cv_func_modff_use+:} false; then :
57086 $as_echo_n "(cached) " >&6
57087 else
57088
57089
57090 ac_ext=cpp
57091 ac_cpp='$CXXCPP $CPPFLAGS'
57092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57095
57096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57097 /* end confdefs.h. */
57098 #include <math.h>
57099 int
57100 main ()
57101 {
57102 modff(0, 0);
57103 ;
57104 return 0;
57105 }
57106 _ACEOF
57107 if ac_fn_cxx_try_compile "$LINENO"; then :
57108 glibcxx_cv_func_modff_use=yes
57109 else
57110 glibcxx_cv_func_modff_use=no
57111 fi
57112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57113 ac_ext=c
57114 ac_cpp='$CPP $CPPFLAGS'
57115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57118
57119
57120 fi
57121
57122 fi
57123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57124 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57125
57126 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57127 for ac_func in modff
57128 do :
57129 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57130 if test "x$ac_cv_func_modff" = xyes; then :
57131 cat >>confdefs.h <<_ACEOF
57132 #define HAVE_MODFF 1
57133 _ACEOF
57134
57135 fi
57136 done
57137
57138 else
57139
57140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57141 $as_echo_n "checking for _modff declaration... " >&6; }
57142 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57143 if ${glibcxx_cv_func__modff_use+:} false; then :
57144 $as_echo_n "(cached) " >&6
57145 else
57146
57147
57148 ac_ext=cpp
57149 ac_cpp='$CXXCPP $CPPFLAGS'
57150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57153
57154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57155 /* end confdefs.h. */
57156 #include <math.h>
57157 int
57158 main ()
57159 {
57160 _modff(0, 0);
57161 ;
57162 return 0;
57163 }
57164 _ACEOF
57165 if ac_fn_cxx_try_compile "$LINENO"; then :
57166 glibcxx_cv_func__modff_use=yes
57167 else
57168 glibcxx_cv_func__modff_use=no
57169 fi
57170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57171 ac_ext=c
57172 ac_cpp='$CPP $CPPFLAGS'
57173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57176
57177
57178 fi
57179
57180 fi
57181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57182 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57183
57184 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57185 for ac_func in _modff
57186 do :
57187 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57188 if test "x$ac_cv_func__modff" = xyes; then :
57189 cat >>confdefs.h <<_ACEOF
57190 #define HAVE__MODFF 1
57191 _ACEOF
57192
57193 fi
57194 done
57195
57196 fi
57197 fi
57198
57199
57200
57201
57202
57203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57204 $as_echo_n "checking for modf declaration... " >&6; }
57205 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57206 if ${glibcxx_cv_func_modf_use+:} false; then :
57207 $as_echo_n "(cached) " >&6
57208 else
57209
57210
57211 ac_ext=cpp
57212 ac_cpp='$CXXCPP $CPPFLAGS'
57213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57216
57217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57218 /* end confdefs.h. */
57219 #include <math.h>
57220 int
57221 main ()
57222 {
57223 modf(0, 0);
57224 ;
57225 return 0;
57226 }
57227 _ACEOF
57228 if ac_fn_cxx_try_compile "$LINENO"; then :
57229 glibcxx_cv_func_modf_use=yes
57230 else
57231 glibcxx_cv_func_modf_use=no
57232 fi
57233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234 ac_ext=c
57235 ac_cpp='$CPP $CPPFLAGS'
57236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239
57240
57241 fi
57242
57243 fi
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57245 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57246
57247 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57248 for ac_func in modf
57249 do :
57250 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57251 if test "x$ac_cv_func_modf" = xyes; then :
57252 cat >>confdefs.h <<_ACEOF
57253 #define HAVE_MODF 1
57254 _ACEOF
57255
57256 fi
57257 done
57258
57259 else
57260
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57262 $as_echo_n "checking for _modf declaration... " >&6; }
57263 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57264 if ${glibcxx_cv_func__modf_use+:} false; then :
57265 $as_echo_n "(cached) " >&6
57266 else
57267
57268
57269 ac_ext=cpp
57270 ac_cpp='$CXXCPP $CPPFLAGS'
57271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57274
57275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57276 /* end confdefs.h. */
57277 #include <math.h>
57278 int
57279 main ()
57280 {
57281 _modf(0, 0);
57282 ;
57283 return 0;
57284 }
57285 _ACEOF
57286 if ac_fn_cxx_try_compile "$LINENO"; then :
57287 glibcxx_cv_func__modf_use=yes
57288 else
57289 glibcxx_cv_func__modf_use=no
57290 fi
57291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57292 ac_ext=c
57293 ac_cpp='$CPP $CPPFLAGS'
57294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57297
57298
57299 fi
57300
57301 fi
57302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57303 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57304
57305 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57306 for ac_func in _modf
57307 do :
57308 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57309 if test "x$ac_cv_func__modf" = xyes; then :
57310 cat >>confdefs.h <<_ACEOF
57311 #define HAVE__MODF 1
57312 _ACEOF
57313
57314 fi
57315 done
57316
57317 fi
57318 fi
57319
57320
57321
57322
57323
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57325 $as_echo_n "checking for powf declaration... " >&6; }
57326 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57327 if ${glibcxx_cv_func_powf_use+:} false; then :
57328 $as_echo_n "(cached) " >&6
57329 else
57330
57331
57332 ac_ext=cpp
57333 ac_cpp='$CXXCPP $CPPFLAGS'
57334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57337
57338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339 /* end confdefs.h. */
57340 #include <math.h>
57341 int
57342 main ()
57343 {
57344 powf(0, 0);
57345 ;
57346 return 0;
57347 }
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_powf_use=yes
57351 else
57352 glibcxx_cv_func_powf_use=no
57353 fi
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360
57361
57362 fi
57363
57364 fi
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57366 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57367
57368 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57369 for ac_func in powf
57370 do :
57371 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57372 if test "x$ac_cv_func_powf" = xyes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_POWF 1
57375 _ACEOF
57376
57377 fi
57378 done
57379
57380 else
57381
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57383 $as_echo_n "checking for _powf declaration... " >&6; }
57384 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57385 if ${glibcxx_cv_func__powf_use+:} false; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57388
57389
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 int
57400 main ()
57401 {
57402 _powf(0, 0);
57403 ;
57404 return 0;
57405 }
57406 _ACEOF
57407 if ac_fn_cxx_try_compile "$LINENO"; then :
57408 glibcxx_cv_func__powf_use=yes
57409 else
57410 glibcxx_cv_func__powf_use=no
57411 fi
57412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57413 ac_ext=c
57414 ac_cpp='$CPP $CPPFLAGS'
57415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57418
57419
57420 fi
57421
57422 fi
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57424 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57425
57426 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57427 for ac_func in _powf
57428 do :
57429 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57430 if test "x$ac_cv_func__powf" = xyes; then :
57431 cat >>confdefs.h <<_ACEOF
57432 #define HAVE__POWF 1
57433 _ACEOF
57434
57435 fi
57436 done
57437
57438 fi
57439 fi
57440
57441
57442
57443
57444
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57446 $as_echo_n "checking for sqrtf declaration... " >&6; }
57447 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57448 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57449 $as_echo_n "(cached) " >&6
57450 else
57451
57452
57453 ac_ext=cpp
57454 ac_cpp='$CXXCPP $CPPFLAGS'
57455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57458
57459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57460 /* end confdefs.h. */
57461 #include <math.h>
57462 #ifdef HAVE_IEEEFP_H
57463 #include <ieeefp.h>
57464 #endif
57465
57466 int
57467 main ()
57468 {
57469 sqrtf(0);
57470 ;
57471 return 0;
57472 }
57473 _ACEOF
57474 if ac_fn_cxx_try_compile "$LINENO"; then :
57475 glibcxx_cv_func_sqrtf_use=yes
57476 else
57477 glibcxx_cv_func_sqrtf_use=no
57478 fi
57479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57480 ac_ext=c
57481 ac_cpp='$CPP $CPPFLAGS'
57482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57485
57486
57487 fi
57488
57489 fi
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57491 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57492
57493 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57494 for ac_func in sqrtf
57495 do :
57496 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57497 if test "x$ac_cv_func_sqrtf" = xyes; then :
57498 cat >>confdefs.h <<_ACEOF
57499 #define HAVE_SQRTF 1
57500 _ACEOF
57501
57502 fi
57503 done
57504
57505 else
57506
57507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57508 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57509 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57510 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57511 $as_echo_n "(cached) " >&6
57512 else
57513
57514
57515 ac_ext=cpp
57516 ac_cpp='$CXXCPP $CPPFLAGS'
57517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57520
57521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57522 /* end confdefs.h. */
57523 #include <math.h>
57524 #ifdef HAVE_IEEEFP_H
57525 #include <ieeefp.h>
57526 #endif
57527
57528 int
57529 main ()
57530 {
57531 _sqrtf(0);
57532 ;
57533 return 0;
57534 }
57535 _ACEOF
57536 if ac_fn_cxx_try_compile "$LINENO"; then :
57537 glibcxx_cv_func__sqrtf_use=yes
57538 else
57539 glibcxx_cv_func__sqrtf_use=no
57540 fi
57541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57542 ac_ext=c
57543 ac_cpp='$CPP $CPPFLAGS'
57544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57547
57548
57549 fi
57550
57551 fi
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57553 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57554
57555 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57556 for ac_func in _sqrtf
57557 do :
57558 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57559 if test "x$ac_cv_func__sqrtf" = xyes; then :
57560 cat >>confdefs.h <<_ACEOF
57561 #define HAVE__SQRTF 1
57562 _ACEOF
57563
57564 fi
57565 done
57566
57567 fi
57568 fi
57569
57570
57571
57572
57573
57574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57575 $as_echo_n "checking for sincosf declaration... " >&6; }
57576 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57577 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57578 $as_echo_n "(cached) " >&6
57579 else
57580
57581
57582 ac_ext=cpp
57583 ac_cpp='$CXXCPP $CPPFLAGS'
57584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57587
57588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57589 /* end confdefs.h. */
57590 #include <math.h>
57591 int
57592 main ()
57593 {
57594 sincosf(0, 0, 0);
57595 ;
57596 return 0;
57597 }
57598 _ACEOF
57599 if ac_fn_cxx_try_compile "$LINENO"; then :
57600 glibcxx_cv_func_sincosf_use=yes
57601 else
57602 glibcxx_cv_func_sincosf_use=no
57603 fi
57604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57605 ac_ext=c
57606 ac_cpp='$CPP $CPPFLAGS'
57607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57610
57611
57612 fi
57613
57614 fi
57615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57616 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57617
57618 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57619 for ac_func in sincosf
57620 do :
57621 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57622 if test "x$ac_cv_func_sincosf" = xyes; then :
57623 cat >>confdefs.h <<_ACEOF
57624 #define HAVE_SINCOSF 1
57625 _ACEOF
57626
57627 fi
57628 done
57629
57630 else
57631
57632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57633 $as_echo_n "checking for _sincosf declaration... " >&6; }
57634 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57635 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57636 $as_echo_n "(cached) " >&6
57637 else
57638
57639
57640 ac_ext=cpp
57641 ac_cpp='$CXXCPP $CPPFLAGS'
57642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57645
57646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57647 /* end confdefs.h. */
57648 #include <math.h>
57649 int
57650 main ()
57651 {
57652 _sincosf(0, 0, 0);
57653 ;
57654 return 0;
57655 }
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func__sincosf_use=yes
57659 else
57660 glibcxx_cv_func__sincosf_use=no
57661 fi
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668
57669
57670 fi
57671
57672 fi
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57674 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57675
57676 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57677 for ac_func in _sincosf
57678 do :
57679 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57680 if test "x$ac_cv_func__sincosf" = xyes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE__SINCOSF 1
57683 _ACEOF
57684
57685 fi
57686 done
57687
57688 fi
57689 fi
57690
57691
57692
57693
57694
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57696 $as_echo_n "checking for finitef declaration... " >&6; }
57697 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57698 if ${glibcxx_cv_func_finitef_use+:} false; then :
57699 $as_echo_n "(cached) " >&6
57700 else
57701
57702
57703 ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57708
57709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h. */
57711 #include <math.h>
57712 #ifdef HAVE_IEEEFP_H
57713 #include <ieeefp.h>
57714 #endif
57715
57716 int
57717 main ()
57718 {
57719 finitef(0);
57720 ;
57721 return 0;
57722 }
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func_finitef_use=yes
57726 else
57727 glibcxx_cv_func_finitef_use=no
57728 fi
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57735
57736
57737 fi
57738
57739 fi
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57741 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57742
57743 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57744 for ac_func in finitef
57745 do :
57746 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57747 if test "x$ac_cv_func_finitef" = xyes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE_FINITEF 1
57750 _ACEOF
57751
57752 fi
57753 done
57754
57755 else
57756
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57758 $as_echo_n "checking for _finitef declaration... " >&6; }
57759 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57760 if ${glibcxx_cv_func__finitef_use+:} false; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57763
57764
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57770
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57774 #ifdef HAVE_IEEEFP_H
57775 #include <ieeefp.h>
57776 #endif
57777
57778 int
57779 main ()
57780 {
57781 _finitef(0);
57782 ;
57783 return 0;
57784 }
57785 _ACEOF
57786 if ac_fn_cxx_try_compile "$LINENO"; then :
57787 glibcxx_cv_func__finitef_use=yes
57788 else
57789 glibcxx_cv_func__finitef_use=no
57790 fi
57791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57792 ac_ext=c
57793 ac_cpp='$CPP $CPPFLAGS'
57794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57797
57798
57799 fi
57800
57801 fi
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57803 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57804
57805 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57806 for ac_func in _finitef
57807 do :
57808 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57809 if test "x$ac_cv_func__finitef" = xyes; then :
57810 cat >>confdefs.h <<_ACEOF
57811 #define HAVE__FINITEF 1
57812 _ACEOF
57813
57814 fi
57815 done
57816
57817 fi
57818 fi
57819
57820
57821
57822
57823
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57825 $as_echo_n "checking for long double trig functions... " >&6; }
57826 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57827 $as_echo_n "(cached) " >&6
57828 else
57829
57830
57831 ac_ext=cpp
57832 ac_cpp='$CXXCPP $CPPFLAGS'
57833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57836
57837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57838 /* end confdefs.h. */
57839 #include <math.h>
57840 int
57841 main ()
57842 {
57843 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57844 ;
57845 return 0;
57846 }
57847 _ACEOF
57848 if ac_fn_cxx_try_compile "$LINENO"; then :
57849 glibcxx_cv_func_long_double_trig_use=yes
57850 else
57851 glibcxx_cv_func_long_double_trig_use=no
57852 fi
57853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57854 ac_ext=c
57855 ac_cpp='$CPP $CPPFLAGS'
57856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57859
57860 fi
57861
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57863 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57864 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57865 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57866 do :
57867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57869 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57870 cat >>confdefs.h <<_ACEOF
57871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57872 _ACEOF
57873
57874 fi
57875 done
57876
57877 else
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57879 $as_echo_n "checking for _long double trig functions... " >&6; }
57880 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57881 $as_echo_n "(cached) " >&6
57882 else
57883
57884
57885 ac_ext=cpp
57886 ac_cpp='$CXXCPP $CPPFLAGS'
57887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57890
57891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57892 /* end confdefs.h. */
57893 #include <math.h>
57894 int
57895 main ()
57896 {
57897 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57898 ;
57899 return 0;
57900 }
57901 _ACEOF
57902 if ac_fn_cxx_try_compile "$LINENO"; then :
57903 glibcxx_cv_func__long_double_trig_use=yes
57904 else
57905 glibcxx_cv_func__long_double_trig_use=no
57906 fi
57907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57908 ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913
57914 fi
57915
57916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57917 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57918 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57919 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57920 do :
57921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57924 cat >>confdefs.h <<_ACEOF
57925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57926 _ACEOF
57927
57928 fi
57929 done
57930
57931 fi
57932 fi
57933
57934
57935
57936
57937
57938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57939 $as_echo_n "checking for long double round functions... " >&6; }
57940 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57941 $as_echo_n "(cached) " >&6
57942 else
57943
57944
57945 ac_ext=cpp
57946 ac_cpp='$CXXCPP $CPPFLAGS'
57947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57950
57951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57952 /* end confdefs.h. */
57953 #include <math.h>
57954 int
57955 main ()
57956 {
57957 ceill (0); floorl (0);
57958 ;
57959 return 0;
57960 }
57961 _ACEOF
57962 if ac_fn_cxx_try_compile "$LINENO"; then :
57963 glibcxx_cv_func_long_double_round_use=yes
57964 else
57965 glibcxx_cv_func_long_double_round_use=no
57966 fi
57967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57968 ac_ext=c
57969 ac_cpp='$CPP $CPPFLAGS'
57970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57973
57974 fi
57975
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57977 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57978 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57979 for ac_func in ceill floorl
57980 do :
57981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57983 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57984 cat >>confdefs.h <<_ACEOF
57985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57986 _ACEOF
57987
57988 fi
57989 done
57990
57991 else
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57993 $as_echo_n "checking for _long double round functions... " >&6; }
57994 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57995 $as_echo_n "(cached) " >&6
57996 else
57997
57998
57999 ac_ext=cpp
58000 ac_cpp='$CXXCPP $CPPFLAGS'
58001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58004
58005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58006 /* end confdefs.h. */
58007 #include <math.h>
58008 int
58009 main ()
58010 {
58011 _ceill (0); _floorl (0);
58012 ;
58013 return 0;
58014 }
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017 glibcxx_cv_func__long_double_round_use=yes
58018 else
58019 glibcxx_cv_func__long_double_round_use=no
58020 fi
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027
58028 fi
58029
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58031 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58032 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58033 for ac_func in _ceill _floorl
58034 do :
58035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58037 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58038 cat >>confdefs.h <<_ACEOF
58039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58040 _ACEOF
58041
58042 fi
58043 done
58044
58045 fi
58046 fi
58047
58048
58049
58050
58051
58052
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58054 $as_echo_n "checking for isnanl declaration... " >&6; }
58055 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58056 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58057 $as_echo_n "(cached) " >&6
58058 else
58059
58060
58061 ac_ext=cpp
58062 ac_cpp='$CXXCPP $CPPFLAGS'
58063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066
58067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068 /* end confdefs.h. */
58069 #include <math.h>
58070 #ifdef HAVE_IEEEFP_H
58071 #include <ieeefp.h>
58072 #endif
58073
58074 int
58075 main ()
58076 {
58077 isnanl(0);
58078 ;
58079 return 0;
58080 }
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func_isnanl_use=yes
58084 else
58085 glibcxx_cv_func_isnanl_use=no
58086 fi
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088 ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58093
58094
58095 fi
58096
58097 fi
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58099 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58100
58101 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58102 for ac_func in isnanl
58103 do :
58104 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58105 if test "x$ac_cv_func_isnanl" = xyes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE_ISNANL 1
58108 _ACEOF
58109
58110 fi
58111 done
58112
58113 else
58114
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58116 $as_echo_n "checking for _isnanl declaration... " >&6; }
58117 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58118 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58119 $as_echo_n "(cached) " >&6
58120 else
58121
58122
58123 ac_ext=cpp
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58128
58129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h. */
58131 #include <math.h>
58132 #ifdef HAVE_IEEEFP_H
58133 #include <ieeefp.h>
58134 #endif
58135
58136 int
58137 main ()
58138 {
58139 _isnanl(0);
58140 ;
58141 return 0;
58142 }
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func__isnanl_use=yes
58146 else
58147 glibcxx_cv_func__isnanl_use=no
58148 fi
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150 ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58155
58156
58157 fi
58158
58159 fi
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58161 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58162
58163 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58164 for ac_func in _isnanl
58165 do :
58166 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58167 if test "x$ac_cv_func__isnanl" = xyes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE__ISNANL 1
58170 _ACEOF
58171
58172 fi
58173 done
58174
58175 fi
58176 fi
58177
58178
58179
58180
58181
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58183 $as_echo_n "checking for isinfl declaration... " >&6; }
58184 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58185 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58186 $as_echo_n "(cached) " >&6
58187 else
58188
58189
58190 ac_ext=cpp
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58195
58196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h. */
58198 #include <math.h>
58199 #ifdef HAVE_IEEEFP_H
58200 #include <ieeefp.h>
58201 #endif
58202
58203 int
58204 main ()
58205 {
58206 isinfl(0);
58207 ;
58208 return 0;
58209 }
58210 _ACEOF
58211 if ac_fn_cxx_try_compile "$LINENO"; then :
58212 glibcxx_cv_func_isinfl_use=yes
58213 else
58214 glibcxx_cv_func_isinfl_use=no
58215 fi
58216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58217 ac_ext=c
58218 ac_cpp='$CPP $CPPFLAGS'
58219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58222
58223
58224 fi
58225
58226 fi
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58228 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58229
58230 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58231 for ac_func in isinfl
58232 do :
58233 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58234 if test "x$ac_cv_func_isinfl" = xyes; then :
58235 cat >>confdefs.h <<_ACEOF
58236 #define HAVE_ISINFL 1
58237 _ACEOF
58238
58239 fi
58240 done
58241
58242 else
58243
58244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58245 $as_echo_n "checking for _isinfl declaration... " >&6; }
58246 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58247 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58248 $as_echo_n "(cached) " >&6
58249 else
58250
58251
58252 ac_ext=cpp
58253 ac_cpp='$CXXCPP $CPPFLAGS'
58254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58257
58258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58259 /* end confdefs.h. */
58260 #include <math.h>
58261 #ifdef HAVE_IEEEFP_H
58262 #include <ieeefp.h>
58263 #endif
58264
58265 int
58266 main ()
58267 {
58268 _isinfl(0);
58269 ;
58270 return 0;
58271 }
58272 _ACEOF
58273 if ac_fn_cxx_try_compile "$LINENO"; then :
58274 glibcxx_cv_func__isinfl_use=yes
58275 else
58276 glibcxx_cv_func__isinfl_use=no
58277 fi
58278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58279 ac_ext=c
58280 ac_cpp='$CPP $CPPFLAGS'
58281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58284
58285
58286 fi
58287
58288 fi
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58290 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58291
58292 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58293 for ac_func in _isinfl
58294 do :
58295 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58296 if test "x$ac_cv_func__isinfl" = xyes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE__ISINFL 1
58299 _ACEOF
58300
58301 fi
58302 done
58303
58304 fi
58305 fi
58306
58307
58308
58309
58310
58311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58312 $as_echo_n "checking for atan2l declaration... " >&6; }
58313 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58314 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58315 $as_echo_n "(cached) " >&6
58316 else
58317
58318
58319 ac_ext=cpp
58320 ac_cpp='$CXXCPP $CPPFLAGS'
58321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58324
58325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58326 /* end confdefs.h. */
58327 #include <math.h>
58328 int
58329 main ()
58330 {
58331 atan2l(0, 0);
58332 ;
58333 return 0;
58334 }
58335 _ACEOF
58336 if ac_fn_cxx_try_compile "$LINENO"; then :
58337 glibcxx_cv_func_atan2l_use=yes
58338 else
58339 glibcxx_cv_func_atan2l_use=no
58340 fi
58341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58342 ac_ext=c
58343 ac_cpp='$CPP $CPPFLAGS'
58344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58347
58348
58349 fi
58350
58351 fi
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58353 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58354
58355 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58356 for ac_func in atan2l
58357 do :
58358 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58359 if test "x$ac_cv_func_atan2l" = xyes; then :
58360 cat >>confdefs.h <<_ACEOF
58361 #define HAVE_ATAN2L 1
58362 _ACEOF
58363
58364 fi
58365 done
58366
58367 else
58368
58369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58370 $as_echo_n "checking for _atan2l declaration... " >&6; }
58371 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58372 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58373 $as_echo_n "(cached) " >&6
58374 else
58375
58376
58377 ac_ext=cpp
58378 ac_cpp='$CXXCPP $CPPFLAGS'
58379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58382
58383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58384 /* end confdefs.h. */
58385 #include <math.h>
58386 int
58387 main ()
58388 {
58389 _atan2l(0, 0);
58390 ;
58391 return 0;
58392 }
58393 _ACEOF
58394 if ac_fn_cxx_try_compile "$LINENO"; then :
58395 glibcxx_cv_func__atan2l_use=yes
58396 else
58397 glibcxx_cv_func__atan2l_use=no
58398 fi
58399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58400 ac_ext=c
58401 ac_cpp='$CPP $CPPFLAGS'
58402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58405
58406
58407 fi
58408
58409 fi
58410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58411 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58412
58413 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58414 for ac_func in _atan2l
58415 do :
58416 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58417 if test "x$ac_cv_func__atan2l" = xyes; then :
58418 cat >>confdefs.h <<_ACEOF
58419 #define HAVE__ATAN2L 1
58420 _ACEOF
58421
58422 fi
58423 done
58424
58425 fi
58426 fi
58427
58428
58429
58430
58431
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58433 $as_echo_n "checking for expl declaration... " >&6; }
58434 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58435 if ${glibcxx_cv_func_expl_use+:} false; then :
58436 $as_echo_n "(cached) " >&6
58437 else
58438
58439
58440 ac_ext=cpp
58441 ac_cpp='$CXXCPP $CPPFLAGS'
58442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58445
58446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58447 /* end confdefs.h. */
58448 #include <math.h>
58449 #ifdef HAVE_IEEEFP_H
58450 #include <ieeefp.h>
58451 #endif
58452
58453 int
58454 main ()
58455 {
58456 expl(0);
58457 ;
58458 return 0;
58459 }
58460 _ACEOF
58461 if ac_fn_cxx_try_compile "$LINENO"; then :
58462 glibcxx_cv_func_expl_use=yes
58463 else
58464 glibcxx_cv_func_expl_use=no
58465 fi
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472
58473
58474 fi
58475
58476 fi
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58478 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58479
58480 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58481 for ac_func in expl
58482 do :
58483 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58484 if test "x$ac_cv_func_expl" = xyes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE_EXPL 1
58487 _ACEOF
58488
58489 fi
58490 done
58491
58492 else
58493
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58495 $as_echo_n "checking for _expl declaration... " >&6; }
58496 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58497 if ${glibcxx_cv_func__expl_use+:} false; then :
58498 $as_echo_n "(cached) " >&6
58499 else
58500
58501
58502 ac_ext=cpp
58503 ac_cpp='$CXXCPP $CPPFLAGS'
58504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58507
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <math.h>
58511 #ifdef HAVE_IEEEFP_H
58512 #include <ieeefp.h>
58513 #endif
58514
58515 int
58516 main ()
58517 {
58518 _expl(0);
58519 ;
58520 return 0;
58521 }
58522 _ACEOF
58523 if ac_fn_cxx_try_compile "$LINENO"; then :
58524 glibcxx_cv_func__expl_use=yes
58525 else
58526 glibcxx_cv_func__expl_use=no
58527 fi
58528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58529 ac_ext=c
58530 ac_cpp='$CPP $CPPFLAGS'
58531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58534
58535
58536 fi
58537
58538 fi
58539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58540 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58541
58542 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58543 for ac_func in _expl
58544 do :
58545 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58546 if test "x$ac_cv_func__expl" = xyes; then :
58547 cat >>confdefs.h <<_ACEOF
58548 #define HAVE__EXPL 1
58549 _ACEOF
58550
58551 fi
58552 done
58553
58554 fi
58555 fi
58556
58557
58558
58559
58560
58561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58562 $as_echo_n "checking for fabsl declaration... " >&6; }
58563 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58564 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58565 $as_echo_n "(cached) " >&6
58566 else
58567
58568
58569 ac_ext=cpp
58570 ac_cpp='$CXXCPP $CPPFLAGS'
58571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58574
58575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58576 /* end confdefs.h. */
58577 #include <math.h>
58578 #ifdef HAVE_IEEEFP_H
58579 #include <ieeefp.h>
58580 #endif
58581
58582 int
58583 main ()
58584 {
58585 fabsl(0);
58586 ;
58587 return 0;
58588 }
58589 _ACEOF
58590 if ac_fn_cxx_try_compile "$LINENO"; then :
58591 glibcxx_cv_func_fabsl_use=yes
58592 else
58593 glibcxx_cv_func_fabsl_use=no
58594 fi
58595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58596 ac_ext=c
58597 ac_cpp='$CPP $CPPFLAGS'
58598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58601
58602
58603 fi
58604
58605 fi
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58607 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58608
58609 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58610 for ac_func in fabsl
58611 do :
58612 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58613 if test "x$ac_cv_func_fabsl" = xyes; then :
58614 cat >>confdefs.h <<_ACEOF
58615 #define HAVE_FABSL 1
58616 _ACEOF
58617
58618 fi
58619 done
58620
58621 else
58622
58623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58624 $as_echo_n "checking for _fabsl declaration... " >&6; }
58625 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58626 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58627 $as_echo_n "(cached) " >&6
58628 else
58629
58630
58631 ac_ext=cpp
58632 ac_cpp='$CXXCPP $CPPFLAGS'
58633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58636
58637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58638 /* end confdefs.h. */
58639 #include <math.h>
58640 #ifdef HAVE_IEEEFP_H
58641 #include <ieeefp.h>
58642 #endif
58643
58644 int
58645 main ()
58646 {
58647 _fabsl(0);
58648 ;
58649 return 0;
58650 }
58651 _ACEOF
58652 if ac_fn_cxx_try_compile "$LINENO"; then :
58653 glibcxx_cv_func__fabsl_use=yes
58654 else
58655 glibcxx_cv_func__fabsl_use=no
58656 fi
58657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58658 ac_ext=c
58659 ac_cpp='$CPP $CPPFLAGS'
58660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58663
58664
58665 fi
58666
58667 fi
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58669 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58670
58671 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58672 for ac_func in _fabsl
58673 do :
58674 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58675 if test "x$ac_cv_func__fabsl" = xyes; then :
58676 cat >>confdefs.h <<_ACEOF
58677 #define HAVE__FABSL 1
58678 _ACEOF
58679
58680 fi
58681 done
58682
58683 fi
58684 fi
58685
58686
58687
58688
58689
58690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58691 $as_echo_n "checking for fmodl declaration... " >&6; }
58692 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58693 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58694 $as_echo_n "(cached) " >&6
58695 else
58696
58697
58698 ac_ext=cpp
58699 ac_cpp='$CXXCPP $CPPFLAGS'
58700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58703
58704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58705 /* end confdefs.h. */
58706 #include <math.h>
58707 int
58708 main ()
58709 {
58710 fmodl(0, 0);
58711 ;
58712 return 0;
58713 }
58714 _ACEOF
58715 if ac_fn_cxx_try_compile "$LINENO"; then :
58716 glibcxx_cv_func_fmodl_use=yes
58717 else
58718 glibcxx_cv_func_fmodl_use=no
58719 fi
58720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58721 ac_ext=c
58722 ac_cpp='$CPP $CPPFLAGS'
58723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58726
58727
58728 fi
58729
58730 fi
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58732 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58733
58734 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58735 for ac_func in fmodl
58736 do :
58737 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58738 if test "x$ac_cv_func_fmodl" = xyes; then :
58739 cat >>confdefs.h <<_ACEOF
58740 #define HAVE_FMODL 1
58741 _ACEOF
58742
58743 fi
58744 done
58745
58746 else
58747
58748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58749 $as_echo_n "checking for _fmodl declaration... " >&6; }
58750 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58751 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58752 $as_echo_n "(cached) " >&6
58753 else
58754
58755
58756 ac_ext=cpp
58757 ac_cpp='$CXXCPP $CPPFLAGS'
58758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58761
58762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58763 /* end confdefs.h. */
58764 #include <math.h>
58765 int
58766 main ()
58767 {
58768 _fmodl(0, 0);
58769 ;
58770 return 0;
58771 }
58772 _ACEOF
58773 if ac_fn_cxx_try_compile "$LINENO"; then :
58774 glibcxx_cv_func__fmodl_use=yes
58775 else
58776 glibcxx_cv_func__fmodl_use=no
58777 fi
58778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58779 ac_ext=c
58780 ac_cpp='$CPP $CPPFLAGS'
58781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58784
58785
58786 fi
58787
58788 fi
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58790 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58791
58792 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58793 for ac_func in _fmodl
58794 do :
58795 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58796 if test "x$ac_cv_func__fmodl" = xyes; then :
58797 cat >>confdefs.h <<_ACEOF
58798 #define HAVE__FMODL 1
58799 _ACEOF
58800
58801 fi
58802 done
58803
58804 fi
58805 fi
58806
58807
58808
58809
58810
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58812 $as_echo_n "checking for frexpl declaration... " >&6; }
58813 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58814 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58815 $as_echo_n "(cached) " >&6
58816 else
58817
58818
58819 ac_ext=cpp
58820 ac_cpp='$CXXCPP $CPPFLAGS'
58821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58824
58825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826 /* end confdefs.h. */
58827 #include <math.h>
58828 int
58829 main ()
58830 {
58831 frexpl(0, 0);
58832 ;
58833 return 0;
58834 }
58835 _ACEOF
58836 if ac_fn_cxx_try_compile "$LINENO"; then :
58837 glibcxx_cv_func_frexpl_use=yes
58838 else
58839 glibcxx_cv_func_frexpl_use=no
58840 fi
58841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58842 ac_ext=c
58843 ac_cpp='$CPP $CPPFLAGS'
58844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58847
58848
58849 fi
58850
58851 fi
58852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58853 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58854
58855 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58856 for ac_func in frexpl
58857 do :
58858 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58859 if test "x$ac_cv_func_frexpl" = xyes; then :
58860 cat >>confdefs.h <<_ACEOF
58861 #define HAVE_FREXPL 1
58862 _ACEOF
58863
58864 fi
58865 done
58866
58867 else
58868
58869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58870 $as_echo_n "checking for _frexpl declaration... " >&6; }
58871 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58872 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58873 $as_echo_n "(cached) " >&6
58874 else
58875
58876
58877 ac_ext=cpp
58878 ac_cpp='$CXXCPP $CPPFLAGS'
58879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58882
58883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58884 /* end confdefs.h. */
58885 #include <math.h>
58886 int
58887 main ()
58888 {
58889 _frexpl(0, 0);
58890 ;
58891 return 0;
58892 }
58893 _ACEOF
58894 if ac_fn_cxx_try_compile "$LINENO"; then :
58895 glibcxx_cv_func__frexpl_use=yes
58896 else
58897 glibcxx_cv_func__frexpl_use=no
58898 fi
58899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58900 ac_ext=c
58901 ac_cpp='$CPP $CPPFLAGS'
58902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58905
58906
58907 fi
58908
58909 fi
58910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58911 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58912
58913 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58914 for ac_func in _frexpl
58915 do :
58916 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58917 if test "x$ac_cv_func__frexpl" = xyes; then :
58918 cat >>confdefs.h <<_ACEOF
58919 #define HAVE__FREXPL 1
58920 _ACEOF
58921
58922 fi
58923 done
58924
58925 fi
58926 fi
58927
58928
58929
58930
58931
58932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58933 $as_echo_n "checking for hypotl declaration... " >&6; }
58934 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58935 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58936 $as_echo_n "(cached) " >&6
58937 else
58938
58939
58940 ac_ext=cpp
58941 ac_cpp='$CXXCPP $CPPFLAGS'
58942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58945
58946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58947 /* end confdefs.h. */
58948 #include <math.h>
58949 int
58950 main ()
58951 {
58952 hypotl(0, 0);
58953 ;
58954 return 0;
58955 }
58956 _ACEOF
58957 if ac_fn_cxx_try_compile "$LINENO"; then :
58958 glibcxx_cv_func_hypotl_use=yes
58959 else
58960 glibcxx_cv_func_hypotl_use=no
58961 fi
58962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58963 ac_ext=c
58964 ac_cpp='$CPP $CPPFLAGS'
58965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58968
58969
58970 fi
58971
58972 fi
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58974 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58975
58976 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58977 for ac_func in hypotl
58978 do :
58979 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58980 if test "x$ac_cv_func_hypotl" = xyes; then :
58981 cat >>confdefs.h <<_ACEOF
58982 #define HAVE_HYPOTL 1
58983 _ACEOF
58984
58985 fi
58986 done
58987
58988 else
58989
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58991 $as_echo_n "checking for _hypotl declaration... " >&6; }
58992 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58993 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58996
58997
58998 ac_ext=cpp
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59003
59004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005 /* end confdefs.h. */
59006 #include <math.h>
59007 int
59008 main ()
59009 {
59010 _hypotl(0, 0);
59011 ;
59012 return 0;
59013 }
59014 _ACEOF
59015 if ac_fn_cxx_try_compile "$LINENO"; then :
59016 glibcxx_cv_func__hypotl_use=yes
59017 else
59018 glibcxx_cv_func__hypotl_use=no
59019 fi
59020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59021 ac_ext=c
59022 ac_cpp='$CPP $CPPFLAGS'
59023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026
59027
59028 fi
59029
59030 fi
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59032 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59033
59034 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59035 for ac_func in _hypotl
59036 do :
59037 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59038 if test "x$ac_cv_func__hypotl" = xyes; then :
59039 cat >>confdefs.h <<_ACEOF
59040 #define HAVE__HYPOTL 1
59041 _ACEOF
59042
59043 fi
59044 done
59045
59046 fi
59047 fi
59048
59049
59050
59051
59052
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59054 $as_echo_n "checking for ldexpl declaration... " >&6; }
59055 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59056 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59057 $as_echo_n "(cached) " >&6
59058 else
59059
59060
59061 ac_ext=cpp
59062 ac_cpp='$CXXCPP $CPPFLAGS'
59063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59066
59067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59068 /* end confdefs.h. */
59069 #include <math.h>
59070 int
59071 main ()
59072 {
59073 ldexpl(0, 0);
59074 ;
59075 return 0;
59076 }
59077 _ACEOF
59078 if ac_fn_cxx_try_compile "$LINENO"; then :
59079 glibcxx_cv_func_ldexpl_use=yes
59080 else
59081 glibcxx_cv_func_ldexpl_use=no
59082 fi
59083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59084 ac_ext=c
59085 ac_cpp='$CPP $CPPFLAGS'
59086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59089
59090
59091 fi
59092
59093 fi
59094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59095 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59096
59097 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59098 for ac_func in ldexpl
59099 do :
59100 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59101 if test "x$ac_cv_func_ldexpl" = xyes; then :
59102 cat >>confdefs.h <<_ACEOF
59103 #define HAVE_LDEXPL 1
59104 _ACEOF
59105
59106 fi
59107 done
59108
59109 else
59110
59111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59112 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59113 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59114 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59115 $as_echo_n "(cached) " >&6
59116 else
59117
59118
59119 ac_ext=cpp
59120 ac_cpp='$CXXCPP $CPPFLAGS'
59121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59124
59125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59126 /* end confdefs.h. */
59127 #include <math.h>
59128 int
59129 main ()
59130 {
59131 _ldexpl(0, 0);
59132 ;
59133 return 0;
59134 }
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137 glibcxx_cv_func__ldexpl_use=yes
59138 else
59139 glibcxx_cv_func__ldexpl_use=no
59140 fi
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147
59148
59149 fi
59150
59151 fi
59152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59153 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59154
59155 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59156 for ac_func in _ldexpl
59157 do :
59158 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59159 if test "x$ac_cv_func__ldexpl" = xyes; then :
59160 cat >>confdefs.h <<_ACEOF
59161 #define HAVE__LDEXPL 1
59162 _ACEOF
59163
59164 fi
59165 done
59166
59167 fi
59168 fi
59169
59170
59171
59172
59173
59174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59175 $as_echo_n "checking for logl declaration... " >&6; }
59176 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59177 if ${glibcxx_cv_func_logl_use+:} false; then :
59178 $as_echo_n "(cached) " >&6
59179 else
59180
59181
59182 ac_ext=cpp
59183 ac_cpp='$CXXCPP $CPPFLAGS'
59184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187
59188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59189 /* end confdefs.h. */
59190 #include <math.h>
59191 #ifdef HAVE_IEEEFP_H
59192 #include <ieeefp.h>
59193 #endif
59194
59195 int
59196 main ()
59197 {
59198 logl(0);
59199 ;
59200 return 0;
59201 }
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204 glibcxx_cv_func_logl_use=yes
59205 else
59206 glibcxx_cv_func_logl_use=no
59207 fi
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214
59215
59216 fi
59217
59218 fi
59219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59220 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59221
59222 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59223 for ac_func in logl
59224 do :
59225 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59226 if test "x$ac_cv_func_logl" = xyes; then :
59227 cat >>confdefs.h <<_ACEOF
59228 #define HAVE_LOGL 1
59229 _ACEOF
59230
59231 fi
59232 done
59233
59234 else
59235
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59237 $as_echo_n "checking for _logl declaration... " >&6; }
59238 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59239 if ${glibcxx_cv_func__logl_use+:} false; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59242
59243
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59249
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 #ifdef HAVE_IEEEFP_H
59254 #include <ieeefp.h>
59255 #endif
59256
59257 int
59258 main ()
59259 {
59260 _logl(0);
59261 ;
59262 return 0;
59263 }
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func__logl_use=yes
59267 else
59268 glibcxx_cv_func__logl_use=no
59269 fi
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276
59277
59278 fi
59279
59280 fi
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59282 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59283
59284 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59285 for ac_func in _logl
59286 do :
59287 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59288 if test "x$ac_cv_func__logl" = xyes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE__LOGL 1
59291 _ACEOF
59292
59293 fi
59294 done
59295
59296 fi
59297 fi
59298
59299
59300
59301
59302
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59304 $as_echo_n "checking for log10l declaration... " >&6; }
59305 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59306 if ${glibcxx_cv_func_log10l_use+:} false; then :
59307 $as_echo_n "(cached) " >&6
59308 else
59309
59310
59311 ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316
59317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h. */
59319 #include <math.h>
59320 #ifdef HAVE_IEEEFP_H
59321 #include <ieeefp.h>
59322 #endif
59323
59324 int
59325 main ()
59326 {
59327 log10l(0);
59328 ;
59329 return 0;
59330 }
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func_log10l_use=yes
59334 else
59335 glibcxx_cv_func_log10l_use=no
59336 fi
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343
59344
59345 fi
59346
59347 fi
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59349 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59350
59351 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59352 for ac_func in log10l
59353 do :
59354 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59355 if test "x$ac_cv_func_log10l" = xyes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE_LOG10L 1
59358 _ACEOF
59359
59360 fi
59361 done
59362
59363 else
59364
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59366 $as_echo_n "checking for _log10l declaration... " >&6; }
59367 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59368 if ${glibcxx_cv_func__log10l_use+:} false; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59371
59372
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59385
59386 int
59387 main ()
59388 {
59389 _log10l(0);
59390 ;
59391 return 0;
59392 }
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func__log10l_use=yes
59396 else
59397 glibcxx_cv_func__log10l_use=no
59398 fi
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59405
59406
59407 fi
59408
59409 fi
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59411 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59412
59413 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59414 for ac_func in _log10l
59415 do :
59416 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59417 if test "x$ac_cv_func__log10l" = xyes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE__LOG10L 1
59420 _ACEOF
59421
59422 fi
59423 done
59424
59425 fi
59426 fi
59427
59428
59429
59430
59431
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59433 $as_echo_n "checking for modfl declaration... " >&6; }
59434 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59435 if ${glibcxx_cv_func_modfl_use+:} false; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59438
59439
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59445
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59449 int
59450 main ()
59451 {
59452 modfl(0, 0);
59453 ;
59454 return 0;
59455 }
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458 glibcxx_cv_func_modfl_use=yes
59459 else
59460 glibcxx_cv_func_modfl_use=no
59461 fi
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463 ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59468
59469
59470 fi
59471
59472 fi
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59474 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59475
59476 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59477 for ac_func in modfl
59478 do :
59479 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59480 if test "x$ac_cv_func_modfl" = xyes; then :
59481 cat >>confdefs.h <<_ACEOF
59482 #define HAVE_MODFL 1
59483 _ACEOF
59484
59485 fi
59486 done
59487
59488 else
59489
59490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59491 $as_echo_n "checking for _modfl declaration... " >&6; }
59492 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59493 if ${glibcxx_cv_func__modfl_use+:} false; then :
59494 $as_echo_n "(cached) " >&6
59495 else
59496
59497
59498 ac_ext=cpp
59499 ac_cpp='$CXXCPP $CPPFLAGS'
59500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59503
59504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59505 /* end confdefs.h. */
59506 #include <math.h>
59507 int
59508 main ()
59509 {
59510 _modfl(0, 0);
59511 ;
59512 return 0;
59513 }
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__modfl_use=yes
59517 else
59518 glibcxx_cv_func__modfl_use=no
59519 fi
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59526
59527
59528 fi
59529
59530 fi
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59532 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59533
59534 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59535 for ac_func in _modfl
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59538 if test "x$ac_cv_func__modfl" = xyes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__MODFL 1
59541 _ACEOF
59542
59543 fi
59544 done
59545
59546 fi
59547 fi
59548
59549
59550
59551
59552
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59554 $as_echo_n "checking for powl declaration... " >&6; }
59555 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59556 if ${glibcxx_cv_func_powl_use+:} false; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59559
59560
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59566
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 int
59571 main ()
59572 {
59573 powl(0, 0);
59574 ;
59575 return 0;
59576 }
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579 glibcxx_cv_func_powl_use=yes
59580 else
59581 glibcxx_cv_func_powl_use=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584 ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589
59590
59591 fi
59592
59593 fi
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59595 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59596
59597 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59598 for ac_func in powl
59599 do :
59600 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59601 if test "x$ac_cv_func_powl" = xyes; then :
59602 cat >>confdefs.h <<_ACEOF
59603 #define HAVE_POWL 1
59604 _ACEOF
59605
59606 fi
59607 done
59608
59609 else
59610
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59612 $as_echo_n "checking for _powl declaration... " >&6; }
59613 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59614 if ${glibcxx_cv_func__powl_use+:} false; then :
59615 $as_echo_n "(cached) " >&6
59616 else
59617
59618
59619 ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59624
59625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h. */
59627 #include <math.h>
59628 int
59629 main ()
59630 {
59631 _powl(0, 0);
59632 ;
59633 return 0;
59634 }
59635 _ACEOF
59636 if ac_fn_cxx_try_compile "$LINENO"; then :
59637 glibcxx_cv_func__powl_use=yes
59638 else
59639 glibcxx_cv_func__powl_use=no
59640 fi
59641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59642 ac_ext=c
59643 ac_cpp='$CPP $CPPFLAGS'
59644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59647
59648
59649 fi
59650
59651 fi
59652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59653 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59654
59655 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59656 for ac_func in _powl
59657 do :
59658 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59659 if test "x$ac_cv_func__powl" = xyes; then :
59660 cat >>confdefs.h <<_ACEOF
59661 #define HAVE__POWL 1
59662 _ACEOF
59663
59664 fi
59665 done
59666
59667 fi
59668 fi
59669
59670
59671
59672
59673
59674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59675 $as_echo_n "checking for sqrtl declaration... " >&6; }
59676 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59677 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59678 $as_echo_n "(cached) " >&6
59679 else
59680
59681
59682 ac_ext=cpp
59683 ac_cpp='$CXXCPP $CPPFLAGS'
59684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59687
59688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59689 /* end confdefs.h. */
59690 #include <math.h>
59691 #ifdef HAVE_IEEEFP_H
59692 #include <ieeefp.h>
59693 #endif
59694
59695 int
59696 main ()
59697 {
59698 sqrtl(0);
59699 ;
59700 return 0;
59701 }
59702 _ACEOF
59703 if ac_fn_cxx_try_compile "$LINENO"; then :
59704 glibcxx_cv_func_sqrtl_use=yes
59705 else
59706 glibcxx_cv_func_sqrtl_use=no
59707 fi
59708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59714
59715
59716 fi
59717
59718 fi
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59720 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59721
59722 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59723 for ac_func in sqrtl
59724 do :
59725 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59726 if test "x$ac_cv_func_sqrtl" = xyes; then :
59727 cat >>confdefs.h <<_ACEOF
59728 #define HAVE_SQRTL 1
59729 _ACEOF
59730
59731 fi
59732 done
59733
59734 else
59735
59736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59737 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59738 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59739 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59740 $as_echo_n "(cached) " >&6
59741 else
59742
59743
59744 ac_ext=cpp
59745 ac_cpp='$CXXCPP $CPPFLAGS'
59746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59749
59750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59751 /* end confdefs.h. */
59752 #include <math.h>
59753 #ifdef HAVE_IEEEFP_H
59754 #include <ieeefp.h>
59755 #endif
59756
59757 int
59758 main ()
59759 {
59760 _sqrtl(0);
59761 ;
59762 return 0;
59763 }
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766 glibcxx_cv_func__sqrtl_use=yes
59767 else
59768 glibcxx_cv_func__sqrtl_use=no
59769 fi
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771 ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59776
59777
59778 fi
59779
59780 fi
59781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59782 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59783
59784 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59785 for ac_func in _sqrtl
59786 do :
59787 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59788 if test "x$ac_cv_func__sqrtl" = xyes; then :
59789 cat >>confdefs.h <<_ACEOF
59790 #define HAVE__SQRTL 1
59791 _ACEOF
59792
59793 fi
59794 done
59795
59796 fi
59797 fi
59798
59799
59800
59801
59802
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59804 $as_echo_n "checking for sincosl declaration... " >&6; }
59805 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59806 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59807 $as_echo_n "(cached) " >&6
59808 else
59809
59810
59811 ac_ext=cpp
59812 ac_cpp='$CXXCPP $CPPFLAGS'
59813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59816
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 #include <math.h>
59820 int
59821 main ()
59822 {
59823 sincosl(0, 0, 0);
59824 ;
59825 return 0;
59826 }
59827 _ACEOF
59828 if ac_fn_cxx_try_compile "$LINENO"; then :
59829 glibcxx_cv_func_sincosl_use=yes
59830 else
59831 glibcxx_cv_func_sincosl_use=no
59832 fi
59833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59834 ac_ext=c
59835 ac_cpp='$CPP $CPPFLAGS'
59836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59839
59840
59841 fi
59842
59843 fi
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59845 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59846
59847 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59848 for ac_func in sincosl
59849 do :
59850 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59851 if test "x$ac_cv_func_sincosl" = xyes; then :
59852 cat >>confdefs.h <<_ACEOF
59853 #define HAVE_SINCOSL 1
59854 _ACEOF
59855
59856 fi
59857 done
59858
59859 else
59860
59861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59862 $as_echo_n "checking for _sincosl declaration... " >&6; }
59863 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59864 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59865 $as_echo_n "(cached) " >&6
59866 else
59867
59868
59869 ac_ext=cpp
59870 ac_cpp='$CXXCPP $CPPFLAGS'
59871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59874
59875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59876 /* end confdefs.h. */
59877 #include <math.h>
59878 int
59879 main ()
59880 {
59881 _sincosl(0, 0, 0);
59882 ;
59883 return 0;
59884 }
59885 _ACEOF
59886 if ac_fn_cxx_try_compile "$LINENO"; then :
59887 glibcxx_cv_func__sincosl_use=yes
59888 else
59889 glibcxx_cv_func__sincosl_use=no
59890 fi
59891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59892 ac_ext=c
59893 ac_cpp='$CPP $CPPFLAGS'
59894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59897
59898
59899 fi
59900
59901 fi
59902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59903 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59904
59905 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59906 for ac_func in _sincosl
59907 do :
59908 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59909 if test "x$ac_cv_func__sincosl" = xyes; then :
59910 cat >>confdefs.h <<_ACEOF
59911 #define HAVE__SINCOSL 1
59912 _ACEOF
59913
59914 fi
59915 done
59916
59917 fi
59918 fi
59919
59920
59921
59922
59923
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59925 $as_echo_n "checking for finitel declaration... " >&6; }
59926 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59927 if ${glibcxx_cv_func_finitel_use+:} false; then :
59928 $as_echo_n "(cached) " >&6
59929 else
59930
59931
59932 ac_ext=cpp
59933 ac_cpp='$CXXCPP $CPPFLAGS'
59934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59937
59938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59939 /* end confdefs.h. */
59940 #include <math.h>
59941 #ifdef HAVE_IEEEFP_H
59942 #include <ieeefp.h>
59943 #endif
59944
59945 int
59946 main ()
59947 {
59948 finitel(0);
59949 ;
59950 return 0;
59951 }
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954 glibcxx_cv_func_finitel_use=yes
59955 else
59956 glibcxx_cv_func_finitel_use=no
59957 fi
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959 ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59964
59965
59966 fi
59967
59968 fi
59969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59970 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59971
59972 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59973 for ac_func in finitel
59974 do :
59975 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59976 if test "x$ac_cv_func_finitel" = xyes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define HAVE_FINITEL 1
59979 _ACEOF
59980
59981 fi
59982 done
59983
59984 else
59985
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59987 $as_echo_n "checking for _finitel declaration... " >&6; }
59988 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59989 if ${glibcxx_cv_func__finitel_use+:} false; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59992
59993
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59999
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60003 #ifdef HAVE_IEEEFP_H
60004 #include <ieeefp.h>
60005 #endif
60006
60007 int
60008 main ()
60009 {
60010 _finitel(0);
60011 ;
60012 return 0;
60013 }
60014 _ACEOF
60015 if ac_fn_cxx_try_compile "$LINENO"; then :
60016 glibcxx_cv_func__finitel_use=yes
60017 else
60018 glibcxx_cv_func__finitel_use=no
60019 fi
60020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60021 ac_ext=c
60022 ac_cpp='$CPP $CPPFLAGS'
60023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60026
60027
60028 fi
60029
60030 fi
60031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60032 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60033
60034 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60035 for ac_func in _finitel
60036 do :
60037 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60038 if test "x$ac_cv_func__finitel" = xyes; then :
60039 cat >>confdefs.h <<_ACEOF
60040 #define HAVE__FINITEL 1
60041 _ACEOF
60042
60043 fi
60044 done
60045
60046 fi
60047 fi
60048
60049
60050
60051
60052 LIBS="$ac_save_LIBS"
60053 CXXFLAGS="$ac_save_CXXFLAGS"
60054
60055
60056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60057 ac_save_CXXFLAGS="$CXXFLAGS"
60058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60059
60060
60061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60062 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60063 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60064 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60065 $as_echo_n "(cached) " >&6
60066 else
60067
60068
60069 ac_ext=cpp
60070 ac_cpp='$CXXCPP $CPPFLAGS'
60071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60074
60075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60076 /* end confdefs.h. */
60077 #include <stdlib.h>
60078 int
60079 main ()
60080 {
60081 at_quick_exit(0);
60082 ;
60083 return 0;
60084 }
60085 _ACEOF
60086 if ac_fn_cxx_try_compile "$LINENO"; then :
60087 glibcxx_cv_func_at_quick_exit_use=yes
60088 else
60089 glibcxx_cv_func_at_quick_exit_use=no
60090 fi
60091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60092 ac_ext=c
60093 ac_cpp='$CPP $CPPFLAGS'
60094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60097
60098
60099 fi
60100
60101 fi
60102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60103 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60104 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60105 for ac_func in at_quick_exit
60106 do :
60107 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60108 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60109 cat >>confdefs.h <<_ACEOF
60110 #define HAVE_AT_QUICK_EXIT 1
60111 _ACEOF
60112
60113 fi
60114 done
60115
60116 fi
60117
60118
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60120 $as_echo_n "checking for quick_exit declaration... " >&6; }
60121 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60122 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60125
60126
60127 ac_ext=cpp
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60132
60133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60134 /* end confdefs.h. */
60135 #include <stdlib.h>
60136 int
60137 main ()
60138 {
60139 quick_exit(0);
60140 ;
60141 return 0;
60142 }
60143 _ACEOF
60144 if ac_fn_cxx_try_compile "$LINENO"; then :
60145 glibcxx_cv_func_quick_exit_use=yes
60146 else
60147 glibcxx_cv_func_quick_exit_use=no
60148 fi
60149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60150 ac_ext=c
60151 ac_cpp='$CPP $CPPFLAGS'
60152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60155
60156
60157 fi
60158
60159 fi
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60161 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60162 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60163 for ac_func in quick_exit
60164 do :
60165 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60166 if test "x$ac_cv_func_quick_exit" = xyes; then :
60167 cat >>confdefs.h <<_ACEOF
60168 #define HAVE_QUICK_EXIT 1
60169 _ACEOF
60170
60171 fi
60172 done
60173
60174 fi
60175
60176
60177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60178 $as_echo_n "checking for strtold declaration... " >&6; }
60179 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60180 if ${glibcxx_cv_func_strtold_use+:} false; then :
60181 $as_echo_n "(cached) " >&6
60182 else
60183
60184
60185 ac_ext=cpp
60186 ac_cpp='$CXXCPP $CPPFLAGS'
60187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60190
60191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60192 /* end confdefs.h. */
60193 #include <stdlib.h>
60194 int
60195 main ()
60196 {
60197 strtold(0, 0);
60198 ;
60199 return 0;
60200 }
60201 _ACEOF
60202 if ac_fn_cxx_try_compile "$LINENO"; then :
60203 glibcxx_cv_func_strtold_use=yes
60204 else
60205 glibcxx_cv_func_strtold_use=no
60206 fi
60207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60208 ac_ext=c
60209 ac_cpp='$CPP $CPPFLAGS'
60210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60213
60214
60215 fi
60216
60217 fi
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60219 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60220 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60221 for ac_func in strtold
60222 do :
60223 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60224 if test "x$ac_cv_func_strtold" = xyes; then :
60225 cat >>confdefs.h <<_ACEOF
60226 #define HAVE_STRTOLD 1
60227 _ACEOF
60228
60229 fi
60230 done
60231
60232 fi
60233
60234
60235
60236
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60238 $as_echo_n "checking for strtof declaration... " >&6; }
60239 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60240 if ${glibcxx_cv_func_strtof_use+:} false; then :
60241 $as_echo_n "(cached) " >&6
60242 else
60243
60244
60245 ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60250
60251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h. */
60253 #include <stdlib.h>
60254 int
60255 main ()
60256 {
60257 strtof(0, 0);
60258 ;
60259 return 0;
60260 }
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func_strtof_use=yes
60264 else
60265 glibcxx_cv_func_strtof_use=no
60266 fi
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60273
60274
60275 fi
60276
60277 fi
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60279 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60280 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60281 for ac_func in strtof
60282 do :
60283 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60284 if test "x$ac_cv_func_strtof" = xyes; then :
60285 cat >>confdefs.h <<_ACEOF
60286 #define HAVE_STRTOF 1
60287 _ACEOF
60288
60289 fi
60290 done
60291
60292 fi
60293
60294
60295
60296
60297 CXXFLAGS="$ac_save_CXXFLAGS"
60298
60299 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60300 do :
60301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60304 cat >>confdefs.h <<_ACEOF
60305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60306 _ACEOF
60307
60308 fi
60309 done
60310
60311 for ac_func in _wfopen
60312 do :
60313 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60314 if test "x$ac_cv_func__wfopen" = xyes; then :
60315 cat >>confdefs.h <<_ACEOF
60316 #define HAVE__WFOPEN 1
60317 _ACEOF
60318
60319 fi
60320 done
60321
60322
60323
60324 # Check whether --enable-tls was given.
60325 if test "${enable_tls+set}" = set; then :
60326 enableval=$enable_tls;
60327 case "$enableval" in
60328 yes|no) ;;
60329 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60330 esac
60331
60332 else
60333 enable_tls=yes
60334 fi
60335
60336
60337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60338 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60339 if ${gcc_cv_have_tls+:} false; then :
60340 $as_echo_n "(cached) " >&6
60341 else
60342
60343 if test "$cross_compiling" = yes; then :
60344 if test x$gcc_no_link = xyes; then
60345 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60346 fi
60347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60348 /* end confdefs.h. */
60349 __thread int a; int b; int main() { return a = b; }
60350 _ACEOF
60351 if ac_fn_c_try_link "$LINENO"; then :
60352 chktls_save_LDFLAGS="$LDFLAGS"
60353 case $host in
60354 *-*-linux* | -*-uclinuxfdpic*)
60355 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60356 ;;
60357 esac
60358 chktls_save_CFLAGS="$CFLAGS"
60359 CFLAGS="-fPIC $CFLAGS"
60360 if test x$gcc_no_link = xyes; then
60361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60362 fi
60363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60364 /* end confdefs.h. */
60365 int f() { return 0; }
60366 _ACEOF
60367 if ac_fn_c_try_link "$LINENO"; then :
60368 if test x$gcc_no_link = xyes; then
60369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60370 fi
60371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372 /* end confdefs.h. */
60373 __thread int a; int b; int f() { return a = b; }
60374 _ACEOF
60375 if ac_fn_c_try_link "$LINENO"; then :
60376 gcc_cv_have_tls=yes
60377 else
60378 gcc_cv_have_tls=no
60379 fi
60380 rm -f core conftest.err conftest.$ac_objext \
60381 conftest$ac_exeext conftest.$ac_ext
60382 else
60383 gcc_cv_have_tls=yes
60384 fi
60385 rm -f core conftest.err conftest.$ac_objext \
60386 conftest$ac_exeext conftest.$ac_ext
60387 CFLAGS="$chktls_save_CFLAGS"
60388 LDFLAGS="$chktls_save_LDFLAGS"
60389 else
60390 gcc_cv_have_tls=no
60391 fi
60392 rm -f core conftest.err conftest.$ac_objext \
60393 conftest$ac_exeext conftest.$ac_ext
60394
60395
60396 else
60397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60398 /* end confdefs.h. */
60399 __thread int a; int b; int main() { return a = b; }
60400 _ACEOF
60401 if ac_fn_c_try_run "$LINENO"; then :
60402 chktls_save_LDFLAGS="$LDFLAGS"
60403 LDFLAGS="-static $LDFLAGS"
60404 if test x$gcc_no_link = xyes; then
60405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60406 fi
60407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60408 /* end confdefs.h. */
60409 int main() { return 0; }
60410 _ACEOF
60411 if ac_fn_c_try_link "$LINENO"; then :
60412 if test "$cross_compiling" = yes; then :
60413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60415 as_fn_error $? "cannot run test program while cross compiling
60416 See \`config.log' for more details" "$LINENO" 5; }
60417 else
60418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60419 /* end confdefs.h. */
60420 __thread int a; int b; int main() { return a = b; }
60421 _ACEOF
60422 if ac_fn_c_try_run "$LINENO"; then :
60423 gcc_cv_have_tls=yes
60424 else
60425 gcc_cv_have_tls=no
60426 fi
60427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60428 conftest.$ac_objext conftest.beam conftest.$ac_ext
60429 fi
60430
60431 else
60432 gcc_cv_have_tls=yes
60433 fi
60434 rm -f core conftest.err conftest.$ac_objext \
60435 conftest$ac_exeext conftest.$ac_ext
60436 LDFLAGS="$chktls_save_LDFLAGS"
60437 if test $gcc_cv_have_tls = yes; then
60438 chktls_save_CFLAGS="$CFLAGS"
60439 thread_CFLAGS=failed
60440 for flag in '' '-pthread' '-lpthread'; do
60441 CFLAGS="$flag $chktls_save_CFLAGS"
60442 if test x$gcc_no_link = xyes; then
60443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60444 fi
60445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60446 /* end confdefs.h. */
60447 #include <pthread.h>
60448 void *g(void *d) { return NULL; }
60449 int
60450 main ()
60451 {
60452 pthread_t t; pthread_create(&t,NULL,g,NULL);
60453 ;
60454 return 0;
60455 }
60456 _ACEOF
60457 if ac_fn_c_try_link "$LINENO"; then :
60458 thread_CFLAGS="$flag"
60459 fi
60460 rm -f core conftest.err conftest.$ac_objext \
60461 conftest$ac_exeext conftest.$ac_ext
60462 if test "X$thread_CFLAGS" != Xfailed; then
60463 break
60464 fi
60465 done
60466 CFLAGS="$chktls_save_CFLAGS"
60467 if test "X$thread_CFLAGS" != Xfailed; then
60468 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60469 if test "$cross_compiling" = yes; then :
60470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60472 as_fn_error $? "cannot run test program while cross compiling
60473 See \`config.log' for more details" "$LINENO" 5; }
60474 else
60475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60476 /* end confdefs.h. */
60477 #include <pthread.h>
60478 __thread int a;
60479 static int *volatile a_in_other_thread;
60480 static void *
60481 thread_func (void *arg)
60482 {
60483 a_in_other_thread = &a;
60484 return (void *)0;
60485 }
60486 int
60487 main ()
60488 {
60489 pthread_t thread;
60490 void *thread_retval;
60491 int *volatile a_in_main_thread;
60492 a_in_main_thread = &a;
60493 if (pthread_create (&thread, (pthread_attr_t *)0,
60494 thread_func, (void *)0))
60495 return 0;
60496 if (pthread_join (thread, &thread_retval))
60497 return 0;
60498 return (a_in_other_thread == a_in_main_thread);
60499 ;
60500 return 0;
60501 }
60502 _ACEOF
60503 if ac_fn_c_try_run "$LINENO"; then :
60504 gcc_cv_have_tls=yes
60505 else
60506 gcc_cv_have_tls=no
60507 fi
60508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60509 conftest.$ac_objext conftest.beam conftest.$ac_ext
60510 fi
60511
60512 CFLAGS="$chktls_save_CFLAGS"
60513 fi
60514 fi
60515 else
60516 gcc_cv_have_tls=no
60517 fi
60518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60519 conftest.$ac_objext conftest.beam conftest.$ac_ext
60520 fi
60521
60522 fi
60523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60524 $as_echo "$gcc_cv_have_tls" >&6; }
60525 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60526
60527 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60528
60529 fi
60530 ;;
60531 *-netbsd* | *-openbsd*)
60532 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60533
60534
60535 # If we're not using GNU ld, then there's no point in even trying these
60536 # tests. Check for that first. We should have already tested for gld
60537 # by now (in libtool), but require it now just to be safe...
60538 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60539 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60540
60541
60542
60543 # The name set by libtool depends on the version of libtool. Shame on us
60544 # for depending on an impl detail, but c'est la vie. Older versions used
60545 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60546 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60547 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60548 # set (hence we're using an older libtool), then set it.
60549 if test x${with_gnu_ld+set} != xset; then
60550 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60551 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60552 with_gnu_ld=no
60553 else
60554 with_gnu_ld=$ac_cv_prog_gnu_ld
60555 fi
60556 fi
60557
60558 # Start by getting the version number. I think the libtool test already
60559 # does some of this, but throws away the result.
60560 glibcxx_ld_is_gold=no
60561 glibcxx_ld_is_mold=no
60562 if test x"$with_gnu_ld" = x"yes"; then
60563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60564 $as_echo_n "checking for ld version... " >&6; }
60565
60566 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60567 glibcxx_ld_is_gold=yes
60568 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60569 glibcxx_ld_is_mold=yes
60570 fi
60571 ldver=`$LD --version 2>/dev/null |
60572 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60573
60574 glibcxx_gnu_ld_version=`echo $ldver | \
60575 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60577 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60578 fi
60579
60580 # Set --gc-sections.
60581 glibcxx_have_gc_sections=no
60582 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60583 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60584 glibcxx_have_gc_sections=yes
60585 fi
60586 else
60587 glibcxx_gcsections_min_ld=21602
60588 if test x"$with_gnu_ld" = x"yes" &&
60589 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60590 glibcxx_have_gc_sections=yes
60591 fi
60592 fi
60593 if test "$glibcxx_have_gc_sections" = "yes"; then
60594 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60595 # NB: This flag only works reliably after 2.16.1. Configure tests
60596 # for this are difficult, so hard wire a value that should work.
60597
60598 ac_test_CFLAGS="${CFLAGS+set}"
60599 ac_save_CFLAGS="$CFLAGS"
60600 CFLAGS='-Wl,--gc-sections'
60601
60602 # Check for -Wl,--gc-sections
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60604 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60605 if test x$gcc_no_link = xyes; then
60606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60607 fi
60608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60609 /* end confdefs.h. */
60610 int one(void) { return 1; }
60611 int two(void) { return 2; }
60612
60613 int
60614 main ()
60615 {
60616 two();
60617 ;
60618 return 0;
60619 }
60620 _ACEOF
60621 if ac_fn_c_try_link "$LINENO"; then :
60622 ac_gcsections=yes
60623 else
60624 ac_gcsections=no
60625 fi
60626 rm -f core conftest.err conftest.$ac_objext \
60627 conftest$ac_exeext conftest.$ac_ext
60628 if test "$ac_gcsections" = "yes"; then
60629 rm -f conftest.c
60630 touch conftest.c
60631 if $CC -c conftest.c; then
60632 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60633 grep "Warning: gc-sections option ignored" > /dev/null; then
60634 ac_gcsections=no
60635 fi
60636 fi
60637 rm -f conftest.c conftest.o conftest
60638 fi
60639 if test "$ac_gcsections" = "yes"; then
60640 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60641 fi
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60643 $as_echo "$ac_gcsections" >&6; }
60644
60645 if test "$ac_test_CFLAGS" = set; then
60646 CFLAGS="$ac_save_CFLAGS"
60647 else
60648 # this is the suspicious part
60649 CFLAGS=''
60650 fi
60651 fi
60652
60653 # Set -z,relro.
60654 # Note this is only for shared objects.
60655 ac_ld_relro=no
60656 if test x"$with_gnu_ld" = x"yes"; then
60657 # cygwin and mingw uses PE, which has no ELF relro support,
60658 # multi target ld may confuse configure machinery
60659 case "$host" in
60660 *-*-cygwin*)
60661 ;;
60662 *-*-mingw*)
60663 ;;
60664 *)
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60666 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60667 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60668 if test -n "$cxx_z_relo"; then
60669 OPT_LDFLAGS="-Wl,-z,relro"
60670 ac_ld_relro=yes
60671 fi
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60673 $as_echo "$ac_ld_relro" >&6; }
60674 esac
60675 fi
60676
60677 # Set linker optimization flags.
60678 if test x"$with_gnu_ld" = x"yes"; then
60679 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60680 fi
60681
60682
60683
60684
60685 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60686
60687 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60688
60689 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60690
60691 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60692
60693 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60694
60695 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60696
60697 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60698
60699 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60700
60701 if test x"long_double_math_on_this_cpu" = x"yes"; then
60702 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60703
60704 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60705
60706 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60707
60708 fi
60709 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60710 do :
60711 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60712 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60713 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60716 _ACEOF
60717
60718 fi
60719 done
60720
60721 for ac_func in timespec_get
60722 do :
60723 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60724 if test "x$ac_cv_func_timespec_get" = xyes; then :
60725 cat >>confdefs.h <<_ACEOF
60726 #define HAVE_TIMESPEC_GET 1
60727 _ACEOF
60728
60729 fi
60730 done
60731
60732 for ac_func in sockatmark
60733 do :
60734 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60735 if test "x$ac_cv_func_sockatmark" = xyes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE_SOCKATMARK 1
60738 _ACEOF
60739
60740 fi
60741 done
60742
60743 ;;
60744 *-qnx6.1* | *-qnx6.2*)
60745 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60746
60747
60748 # If we're not using GNU ld, then there's no point in even trying these
60749 # tests. Check for that first. We should have already tested for gld
60750 # by now (in libtool), but require it now just to be safe...
60751 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60752 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60753
60754
60755
60756 # The name set by libtool depends on the version of libtool. Shame on us
60757 # for depending on an impl detail, but c'est la vie. Older versions used
60758 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60759 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60760 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60761 # set (hence we're using an older libtool), then set it.
60762 if test x${with_gnu_ld+set} != xset; then
60763 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60764 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60765 with_gnu_ld=no
60766 else
60767 with_gnu_ld=$ac_cv_prog_gnu_ld
60768 fi
60769 fi
60770
60771 # Start by getting the version number. I think the libtool test already
60772 # does some of this, but throws away the result.
60773 glibcxx_ld_is_gold=no
60774 glibcxx_ld_is_mold=no
60775 if test x"$with_gnu_ld" = x"yes"; then
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60777 $as_echo_n "checking for ld version... " >&6; }
60778
60779 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60780 glibcxx_ld_is_gold=yes
60781 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60782 glibcxx_ld_is_mold=yes
60783 fi
60784 ldver=`$LD --version 2>/dev/null |
60785 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60786
60787 glibcxx_gnu_ld_version=`echo $ldver | \
60788 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60790 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60791 fi
60792
60793 # Set --gc-sections.
60794 glibcxx_have_gc_sections=no
60795 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60796 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60797 glibcxx_have_gc_sections=yes
60798 fi
60799 else
60800 glibcxx_gcsections_min_ld=21602
60801 if test x"$with_gnu_ld" = x"yes" &&
60802 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60803 glibcxx_have_gc_sections=yes
60804 fi
60805 fi
60806 if test "$glibcxx_have_gc_sections" = "yes"; then
60807 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60808 # NB: This flag only works reliably after 2.16.1. Configure tests
60809 # for this are difficult, so hard wire a value that should work.
60810
60811 ac_test_CFLAGS="${CFLAGS+set}"
60812 ac_save_CFLAGS="$CFLAGS"
60813 CFLAGS='-Wl,--gc-sections'
60814
60815 # Check for -Wl,--gc-sections
60816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60817 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60818 if test x$gcc_no_link = xyes; then
60819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60820 fi
60821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60822 /* end confdefs.h. */
60823 int one(void) { return 1; }
60824 int two(void) { return 2; }
60825
60826 int
60827 main ()
60828 {
60829 two();
60830 ;
60831 return 0;
60832 }
60833 _ACEOF
60834 if ac_fn_c_try_link "$LINENO"; then :
60835 ac_gcsections=yes
60836 else
60837 ac_gcsections=no
60838 fi
60839 rm -f core conftest.err conftest.$ac_objext \
60840 conftest$ac_exeext conftest.$ac_ext
60841 if test "$ac_gcsections" = "yes"; then
60842 rm -f conftest.c
60843 touch conftest.c
60844 if $CC -c conftest.c; then
60845 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60846 grep "Warning: gc-sections option ignored" > /dev/null; then
60847 ac_gcsections=no
60848 fi
60849 fi
60850 rm -f conftest.c conftest.o conftest
60851 fi
60852 if test "$ac_gcsections" = "yes"; then
60853 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60854 fi
60855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60856 $as_echo "$ac_gcsections" >&6; }
60857
60858 if test "$ac_test_CFLAGS" = set; then
60859 CFLAGS="$ac_save_CFLAGS"
60860 else
60861 # this is the suspicious part
60862 CFLAGS=''
60863 fi
60864 fi
60865
60866 # Set -z,relro.
60867 # Note this is only for shared objects.
60868 ac_ld_relro=no
60869 if test x"$with_gnu_ld" = x"yes"; then
60870 # cygwin and mingw uses PE, which has no ELF relro support,
60871 # multi target ld may confuse configure machinery
60872 case "$host" in
60873 *-*-cygwin*)
60874 ;;
60875 *-*-mingw*)
60876 ;;
60877 *)
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60879 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60880 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60881 if test -n "$cxx_z_relo"; then
60882 OPT_LDFLAGS="-Wl,-z,relro"
60883 ac_ld_relro=yes
60884 fi
60885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60886 $as_echo "$ac_ld_relro" >&6; }
60887 esac
60888 fi
60889
60890 # Set linker optimization flags.
60891 if test x"$with_gnu_ld" = x"yes"; then
60892 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60893 fi
60894
60895
60896
60897
60898 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60899
60900 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60901
60902 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60903
60904 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60905
60906 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60907
60908 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60909
60910 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60911
60912 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60913
60914 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60915
60916 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60917
60918 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60919
60920 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60921
60922 ;;
60923 *-rtems*)
60924
60925 # All these tests are for C++; save the language and the compiler flags.
60926 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60927 # found in GLIBCXX_CONFIGURE.
60928
60929 ac_ext=cpp
60930 ac_cpp='$CXXCPP $CPPFLAGS'
60931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60934
60935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60936 ac_save_CXXFLAGS="$CXXFLAGS"
60937
60938 # Check for -ffunction-sections -fdata-sections
60939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60940 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60941 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60943 /* end confdefs.h. */
60944 int foo; void bar() { };
60945 int
60946 main ()
60947 {
60948
60949 ;
60950 return 0;
60951 }
60952 _ACEOF
60953 if ac_fn_cxx_try_compile "$LINENO"; then :
60954 ac_fdsections=yes
60955 else
60956 ac_fdsections=no
60957 fi
60958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60959 if test "$ac_test_CXXFLAGS" = set; then
60960 CXXFLAGS="$ac_save_CXXFLAGS"
60961 else
60962 # this is the suspicious part
60963 CXXFLAGS=''
60964 fi
60965 if test x"$ac_fdsections" = x"yes"; then
60966 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60967 fi
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60969 $as_echo "$ac_fdsections" >&6; }
60970
60971 ac_ext=c
60972 ac_cpp='$CPP $CPPFLAGS'
60973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60976
60977
60978
60979
60980 # If we're not using GNU ld, then there's no point in even trying these
60981 # tests. Check for that first. We should have already tested for gld
60982 # by now (in libtool), but require it now just to be safe...
60983 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60984 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60985
60986
60987
60988 # The name set by libtool depends on the version of libtool. Shame on us
60989 # for depending on an impl detail, but c'est la vie. Older versions used
60990 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60991 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60992 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60993 # set (hence we're using an older libtool), then set it.
60994 if test x${with_gnu_ld+set} != xset; then
60995 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60996 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60997 with_gnu_ld=no
60998 else
60999 with_gnu_ld=$ac_cv_prog_gnu_ld
61000 fi
61001 fi
61002
61003 # Start by getting the version number. I think the libtool test already
61004 # does some of this, but throws away the result.
61005 glibcxx_ld_is_gold=no
61006 glibcxx_ld_is_mold=no
61007 if test x"$with_gnu_ld" = x"yes"; then
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61009 $as_echo_n "checking for ld version... " >&6; }
61010
61011 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61012 glibcxx_ld_is_gold=yes
61013 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
61014 glibcxx_ld_is_mold=yes
61015 fi
61016 ldver=`$LD --version 2>/dev/null |
61017 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61018
61019 glibcxx_gnu_ld_version=`echo $ldver | \
61020 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61022 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61023 fi
61024
61025 # Set --gc-sections.
61026 glibcxx_have_gc_sections=no
61027 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
61028 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61029 glibcxx_have_gc_sections=yes
61030 fi
61031 else
61032 glibcxx_gcsections_min_ld=21602
61033 if test x"$with_gnu_ld" = x"yes" &&
61034 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61035 glibcxx_have_gc_sections=yes
61036 fi
61037 fi
61038 if test "$glibcxx_have_gc_sections" = "yes"; then
61039 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61040 # NB: This flag only works reliably after 2.16.1. Configure tests
61041 # for this are difficult, so hard wire a value that should work.
61042
61043 ac_test_CFLAGS="${CFLAGS+set}"
61044 ac_save_CFLAGS="$CFLAGS"
61045 CFLAGS='-Wl,--gc-sections'
61046
61047 # Check for -Wl,--gc-sections
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61049 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61050 if test x$gcc_no_link = xyes; then
61051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61052 fi
61053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61054 /* end confdefs.h. */
61055 int one(void) { return 1; }
61056 int two(void) { return 2; }
61057
61058 int
61059 main ()
61060 {
61061 two();
61062 ;
61063 return 0;
61064 }
61065 _ACEOF
61066 if ac_fn_c_try_link "$LINENO"; then :
61067 ac_gcsections=yes
61068 else
61069 ac_gcsections=no
61070 fi
61071 rm -f core conftest.err conftest.$ac_objext \
61072 conftest$ac_exeext conftest.$ac_ext
61073 if test "$ac_gcsections" = "yes"; then
61074 rm -f conftest.c
61075 touch conftest.c
61076 if $CC -c conftest.c; then
61077 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61078 grep "Warning: gc-sections option ignored" > /dev/null; then
61079 ac_gcsections=no
61080 fi
61081 fi
61082 rm -f conftest.c conftest.o conftest
61083 fi
61084 if test "$ac_gcsections" = "yes"; then
61085 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61086 fi
61087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61088 $as_echo "$ac_gcsections" >&6; }
61089
61090 if test "$ac_test_CFLAGS" = set; then
61091 CFLAGS="$ac_save_CFLAGS"
61092 else
61093 # this is the suspicious part
61094 CFLAGS=''
61095 fi
61096 fi
61097
61098 # Set -z,relro.
61099 # Note this is only for shared objects.
61100 ac_ld_relro=no
61101 if test x"$with_gnu_ld" = x"yes"; then
61102 # cygwin and mingw uses PE, which has no ELF relro support,
61103 # multi target ld may confuse configure machinery
61104 case "$host" in
61105 *-*-cygwin*)
61106 ;;
61107 *-*-mingw*)
61108 ;;
61109 *)
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61111 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61112 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61113 if test -n "$cxx_z_relo"; then
61114 OPT_LDFLAGS="-Wl,-z,relro"
61115 ac_ld_relro=yes
61116 fi
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61118 $as_echo "$ac_ld_relro" >&6; }
61119 esac
61120 fi
61121
61122 # Set linker optimization flags.
61123 if test x"$with_gnu_ld" = x"yes"; then
61124 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61125 fi
61126
61127
61128
61129
61130
61131 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61132 ac_save_CXXFLAGS="$CXXFLAGS"
61133 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61134
61135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61136 $as_echo_n "checking for sin in -lm... " >&6; }
61137 if ${ac_cv_lib_m_sin+:} false; then :
61138 $as_echo_n "(cached) " >&6
61139 else
61140 ac_check_lib_save_LIBS=$LIBS
61141 LIBS="-lm $LIBS"
61142 if test x$gcc_no_link = xyes; then
61143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61144 fi
61145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61146 /* end confdefs.h. */
61147
61148 /* Override any GCC internal prototype to avoid an error.
61149 Use char because int might match the return type of a GCC
61150 builtin and then its argument prototype would still apply. */
61151 #ifdef __cplusplus
61152 extern "C"
61153 #endif
61154 char sin ();
61155 int
61156 main ()
61157 {
61158 return sin ();
61159 ;
61160 return 0;
61161 }
61162 _ACEOF
61163 if ac_fn_c_try_link "$LINENO"; then :
61164 ac_cv_lib_m_sin=yes
61165 else
61166 ac_cv_lib_m_sin=no
61167 fi
61168 rm -f core conftest.err conftest.$ac_objext \
61169 conftest$ac_exeext conftest.$ac_ext
61170 LIBS=$ac_check_lib_save_LIBS
61171 fi
61172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61173 $as_echo "$ac_cv_lib_m_sin" >&6; }
61174 if test "x$ac_cv_lib_m_sin" = xyes; then :
61175 libm="-lm"
61176 fi
61177
61178 ac_save_LIBS="$LIBS"
61179 LIBS="$LIBS $libm"
61180
61181
61182
61183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61184 $as_echo_n "checking for isinf declaration... " >&6; }
61185 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61186 if ${glibcxx_cv_func_isinf_use+:} false; then :
61187 $as_echo_n "(cached) " >&6
61188 else
61189
61190
61191 ac_ext=cpp
61192 ac_cpp='$CXXCPP $CPPFLAGS'
61193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61196
61197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61198 /* end confdefs.h. */
61199 #include <math.h>
61200 #ifdef HAVE_IEEEFP_H
61201 #include <ieeefp.h>
61202 #endif
61203
61204 int
61205 main ()
61206 {
61207 isinf(0);
61208 ;
61209 return 0;
61210 }
61211 _ACEOF
61212 if ac_fn_cxx_try_compile "$LINENO"; then :
61213 glibcxx_cv_func_isinf_use=yes
61214 else
61215 glibcxx_cv_func_isinf_use=no
61216 fi
61217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61218 ac_ext=c
61219 ac_cpp='$CPP $CPPFLAGS'
61220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61223
61224
61225 fi
61226
61227 fi
61228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61229 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61230
61231 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61232 for ac_func in isinf
61233 do :
61234 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61235 if test "x$ac_cv_func_isinf" = xyes; then :
61236 cat >>confdefs.h <<_ACEOF
61237 #define HAVE_ISINF 1
61238 _ACEOF
61239
61240 fi
61241 done
61242
61243 else
61244
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61246 $as_echo_n "checking for _isinf declaration... " >&6; }
61247 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61248 if ${glibcxx_cv_func__isinf_use+:} false; then :
61249 $as_echo_n "(cached) " >&6
61250 else
61251
61252
61253 ac_ext=cpp
61254 ac_cpp='$CXXCPP $CPPFLAGS'
61255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61258
61259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61260 /* end confdefs.h. */
61261 #include <math.h>
61262 #ifdef HAVE_IEEEFP_H
61263 #include <ieeefp.h>
61264 #endif
61265
61266 int
61267 main ()
61268 {
61269 _isinf(0);
61270 ;
61271 return 0;
61272 }
61273 _ACEOF
61274 if ac_fn_cxx_try_compile "$LINENO"; then :
61275 glibcxx_cv_func__isinf_use=yes
61276 else
61277 glibcxx_cv_func__isinf_use=no
61278 fi
61279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61280 ac_ext=c
61281 ac_cpp='$CPP $CPPFLAGS'
61282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61285
61286
61287 fi
61288
61289 fi
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61291 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61292
61293 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61294 for ac_func in _isinf
61295 do :
61296 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61297 if test "x$ac_cv_func__isinf" = xyes; then :
61298 cat >>confdefs.h <<_ACEOF
61299 #define HAVE__ISINF 1
61300 _ACEOF
61301
61302 fi
61303 done
61304
61305 fi
61306 fi
61307
61308
61309
61310
61311
61312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61313 $as_echo_n "checking for isnan declaration... " >&6; }
61314 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61315 if ${glibcxx_cv_func_isnan_use+:} false; then :
61316 $as_echo_n "(cached) " >&6
61317 else
61318
61319
61320 ac_ext=cpp
61321 ac_cpp='$CXXCPP $CPPFLAGS'
61322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61325
61326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61327 /* end confdefs.h. */
61328 #include <math.h>
61329 #ifdef HAVE_IEEEFP_H
61330 #include <ieeefp.h>
61331 #endif
61332
61333 int
61334 main ()
61335 {
61336 isnan(0);
61337 ;
61338 return 0;
61339 }
61340 _ACEOF
61341 if ac_fn_cxx_try_compile "$LINENO"; then :
61342 glibcxx_cv_func_isnan_use=yes
61343 else
61344 glibcxx_cv_func_isnan_use=no
61345 fi
61346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61347 ac_ext=c
61348 ac_cpp='$CPP $CPPFLAGS'
61349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61352
61353
61354 fi
61355
61356 fi
61357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61358 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61359
61360 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61361 for ac_func in isnan
61362 do :
61363 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61364 if test "x$ac_cv_func_isnan" = xyes; then :
61365 cat >>confdefs.h <<_ACEOF
61366 #define HAVE_ISNAN 1
61367 _ACEOF
61368
61369 fi
61370 done
61371
61372 else
61373
61374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61375 $as_echo_n "checking for _isnan declaration... " >&6; }
61376 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61377 if ${glibcxx_cv_func__isnan_use+:} false; then :
61378 $as_echo_n "(cached) " >&6
61379 else
61380
61381
61382 ac_ext=cpp
61383 ac_cpp='$CXXCPP $CPPFLAGS'
61384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61387
61388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61389 /* end confdefs.h. */
61390 #include <math.h>
61391 #ifdef HAVE_IEEEFP_H
61392 #include <ieeefp.h>
61393 #endif
61394
61395 int
61396 main ()
61397 {
61398 _isnan(0);
61399 ;
61400 return 0;
61401 }
61402 _ACEOF
61403 if ac_fn_cxx_try_compile "$LINENO"; then :
61404 glibcxx_cv_func__isnan_use=yes
61405 else
61406 glibcxx_cv_func__isnan_use=no
61407 fi
61408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61409 ac_ext=c
61410 ac_cpp='$CPP $CPPFLAGS'
61411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61414
61415
61416 fi
61417
61418 fi
61419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61420 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61421
61422 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61423 for ac_func in _isnan
61424 do :
61425 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61426 if test "x$ac_cv_func__isnan" = xyes; then :
61427 cat >>confdefs.h <<_ACEOF
61428 #define HAVE__ISNAN 1
61429 _ACEOF
61430
61431 fi
61432 done
61433
61434 fi
61435 fi
61436
61437
61438
61439
61440
61441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61442 $as_echo_n "checking for finite declaration... " >&6; }
61443 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61444 if ${glibcxx_cv_func_finite_use+:} false; then :
61445 $as_echo_n "(cached) " >&6
61446 else
61447
61448
61449 ac_ext=cpp
61450 ac_cpp='$CXXCPP $CPPFLAGS'
61451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61454
61455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61456 /* end confdefs.h. */
61457 #include <math.h>
61458 #ifdef HAVE_IEEEFP_H
61459 #include <ieeefp.h>
61460 #endif
61461
61462 int
61463 main ()
61464 {
61465 finite(0);
61466 ;
61467 return 0;
61468 }
61469 _ACEOF
61470 if ac_fn_cxx_try_compile "$LINENO"; then :
61471 glibcxx_cv_func_finite_use=yes
61472 else
61473 glibcxx_cv_func_finite_use=no
61474 fi
61475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61476 ac_ext=c
61477 ac_cpp='$CPP $CPPFLAGS'
61478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61481
61482
61483 fi
61484
61485 fi
61486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61487 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61488
61489 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61490 for ac_func in finite
61491 do :
61492 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61493 if test "x$ac_cv_func_finite" = xyes; then :
61494 cat >>confdefs.h <<_ACEOF
61495 #define HAVE_FINITE 1
61496 _ACEOF
61497
61498 fi
61499 done
61500
61501 else
61502
61503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61504 $as_echo_n "checking for _finite declaration... " >&6; }
61505 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61506 if ${glibcxx_cv_func__finite_use+:} false; then :
61507 $as_echo_n "(cached) " >&6
61508 else
61509
61510
61511 ac_ext=cpp
61512 ac_cpp='$CXXCPP $CPPFLAGS'
61513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61516
61517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61518 /* end confdefs.h. */
61519 #include <math.h>
61520 #ifdef HAVE_IEEEFP_H
61521 #include <ieeefp.h>
61522 #endif
61523
61524 int
61525 main ()
61526 {
61527 _finite(0);
61528 ;
61529 return 0;
61530 }
61531 _ACEOF
61532 if ac_fn_cxx_try_compile "$LINENO"; then :
61533 glibcxx_cv_func__finite_use=yes
61534 else
61535 glibcxx_cv_func__finite_use=no
61536 fi
61537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61538 ac_ext=c
61539 ac_cpp='$CPP $CPPFLAGS'
61540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61543
61544
61545 fi
61546
61547 fi
61548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61549 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61550
61551 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61552 for ac_func in _finite
61553 do :
61554 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61555 if test "x$ac_cv_func__finite" = xyes; then :
61556 cat >>confdefs.h <<_ACEOF
61557 #define HAVE__FINITE 1
61558 _ACEOF
61559
61560 fi
61561 done
61562
61563 fi
61564 fi
61565
61566
61567
61568
61569
61570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61571 $as_echo_n "checking for sincos declaration... " >&6; }
61572 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61573 if ${glibcxx_cv_func_sincos_use+:} false; then :
61574 $as_echo_n "(cached) " >&6
61575 else
61576
61577
61578 ac_ext=cpp
61579 ac_cpp='$CXXCPP $CPPFLAGS'
61580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61583
61584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61585 /* end confdefs.h. */
61586 #include <math.h>
61587 int
61588 main ()
61589 {
61590 sincos(0, 0, 0);
61591 ;
61592 return 0;
61593 }
61594 _ACEOF
61595 if ac_fn_cxx_try_compile "$LINENO"; then :
61596 glibcxx_cv_func_sincos_use=yes
61597 else
61598 glibcxx_cv_func_sincos_use=no
61599 fi
61600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61601 ac_ext=c
61602 ac_cpp='$CPP $CPPFLAGS'
61603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61606
61607
61608 fi
61609
61610 fi
61611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61612 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61613
61614 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61615 for ac_func in sincos
61616 do :
61617 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61618 if test "x$ac_cv_func_sincos" = xyes; then :
61619 cat >>confdefs.h <<_ACEOF
61620 #define HAVE_SINCOS 1
61621 _ACEOF
61622
61623 fi
61624 done
61625
61626 else
61627
61628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61629 $as_echo_n "checking for _sincos declaration... " >&6; }
61630 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61631 if ${glibcxx_cv_func__sincos_use+:} false; then :
61632 $as_echo_n "(cached) " >&6
61633 else
61634
61635
61636 ac_ext=cpp
61637 ac_cpp='$CXXCPP $CPPFLAGS'
61638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61641
61642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61643 /* end confdefs.h. */
61644 #include <math.h>
61645 int
61646 main ()
61647 {
61648 _sincos(0, 0, 0);
61649 ;
61650 return 0;
61651 }
61652 _ACEOF
61653 if ac_fn_cxx_try_compile "$LINENO"; then :
61654 glibcxx_cv_func__sincos_use=yes
61655 else
61656 glibcxx_cv_func__sincos_use=no
61657 fi
61658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61659 ac_ext=c
61660 ac_cpp='$CPP $CPPFLAGS'
61661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61664
61665
61666 fi
61667
61668 fi
61669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61670 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61671
61672 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61673 for ac_func in _sincos
61674 do :
61675 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61676 if test "x$ac_cv_func__sincos" = xyes; then :
61677 cat >>confdefs.h <<_ACEOF
61678 #define HAVE__SINCOS 1
61679 _ACEOF
61680
61681 fi
61682 done
61683
61684 fi
61685 fi
61686
61687
61688
61689
61690
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61692 $as_echo_n "checking for fpclass declaration... " >&6; }
61693 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61694 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61695 $as_echo_n "(cached) " >&6
61696 else
61697
61698
61699 ac_ext=cpp
61700 ac_cpp='$CXXCPP $CPPFLAGS'
61701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61704
61705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61706 /* end confdefs.h. */
61707 #include <math.h>
61708 #ifdef HAVE_IEEEFP_H
61709 #include <ieeefp.h>
61710 #endif
61711
61712 int
61713 main ()
61714 {
61715 fpclass(0);
61716 ;
61717 return 0;
61718 }
61719 _ACEOF
61720 if ac_fn_cxx_try_compile "$LINENO"; then :
61721 glibcxx_cv_func_fpclass_use=yes
61722 else
61723 glibcxx_cv_func_fpclass_use=no
61724 fi
61725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61726 ac_ext=c
61727 ac_cpp='$CPP $CPPFLAGS'
61728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61731
61732
61733 fi
61734
61735 fi
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61737 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61738
61739 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61740 for ac_func in fpclass
61741 do :
61742 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61743 if test "x$ac_cv_func_fpclass" = xyes; then :
61744 cat >>confdefs.h <<_ACEOF
61745 #define HAVE_FPCLASS 1
61746 _ACEOF
61747
61748 fi
61749 done
61750
61751 else
61752
61753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61754 $as_echo_n "checking for _fpclass declaration... " >&6; }
61755 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61756 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61757 $as_echo_n "(cached) " >&6
61758 else
61759
61760
61761 ac_ext=cpp
61762 ac_cpp='$CXXCPP $CPPFLAGS'
61763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61766
61767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61768 /* end confdefs.h. */
61769 #include <math.h>
61770 #ifdef HAVE_IEEEFP_H
61771 #include <ieeefp.h>
61772 #endif
61773
61774 int
61775 main ()
61776 {
61777 _fpclass(0);
61778 ;
61779 return 0;
61780 }
61781 _ACEOF
61782 if ac_fn_cxx_try_compile "$LINENO"; then :
61783 glibcxx_cv_func__fpclass_use=yes
61784 else
61785 glibcxx_cv_func__fpclass_use=no
61786 fi
61787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61788 ac_ext=c
61789 ac_cpp='$CPP $CPPFLAGS'
61790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61793
61794
61795 fi
61796
61797 fi
61798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61799 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61800
61801 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61802 for ac_func in _fpclass
61803 do :
61804 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61805 if test "x$ac_cv_func__fpclass" = xyes; then :
61806 cat >>confdefs.h <<_ACEOF
61807 #define HAVE__FPCLASS 1
61808 _ACEOF
61809
61810 fi
61811 done
61812
61813 fi
61814 fi
61815
61816
61817
61818
61819
61820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61821 $as_echo_n "checking for qfpclass declaration... " >&6; }
61822 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61823 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61824 $as_echo_n "(cached) " >&6
61825 else
61826
61827
61828 ac_ext=cpp
61829 ac_cpp='$CXXCPP $CPPFLAGS'
61830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61833
61834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61835 /* end confdefs.h. */
61836 #include <math.h>
61837 #ifdef HAVE_IEEEFP_H
61838 #include <ieeefp.h>
61839 #endif
61840
61841 int
61842 main ()
61843 {
61844 qfpclass(0);
61845 ;
61846 return 0;
61847 }
61848 _ACEOF
61849 if ac_fn_cxx_try_compile "$LINENO"; then :
61850 glibcxx_cv_func_qfpclass_use=yes
61851 else
61852 glibcxx_cv_func_qfpclass_use=no
61853 fi
61854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61855 ac_ext=c
61856 ac_cpp='$CPP $CPPFLAGS'
61857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61860
61861
61862 fi
61863
61864 fi
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61866 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61867
61868 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61869 for ac_func in qfpclass
61870 do :
61871 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61872 if test "x$ac_cv_func_qfpclass" = xyes; then :
61873 cat >>confdefs.h <<_ACEOF
61874 #define HAVE_QFPCLASS 1
61875 _ACEOF
61876
61877 fi
61878 done
61879
61880 else
61881
61882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61883 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61884 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61885 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61886 $as_echo_n "(cached) " >&6
61887 else
61888
61889
61890 ac_ext=cpp
61891 ac_cpp='$CXXCPP $CPPFLAGS'
61892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61895
61896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61897 /* end confdefs.h. */
61898 #include <math.h>
61899 #ifdef HAVE_IEEEFP_H
61900 #include <ieeefp.h>
61901 #endif
61902
61903 int
61904 main ()
61905 {
61906 _qfpclass(0);
61907 ;
61908 return 0;
61909 }
61910 _ACEOF
61911 if ac_fn_cxx_try_compile "$LINENO"; then :
61912 glibcxx_cv_func__qfpclass_use=yes
61913 else
61914 glibcxx_cv_func__qfpclass_use=no
61915 fi
61916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61917 ac_ext=c
61918 ac_cpp='$CPP $CPPFLAGS'
61919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61922
61923
61924 fi
61925
61926 fi
61927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61928 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61929
61930 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61931 for ac_func in _qfpclass
61932 do :
61933 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61934 if test "x$ac_cv_func__qfpclass" = xyes; then :
61935 cat >>confdefs.h <<_ACEOF
61936 #define HAVE__QFPCLASS 1
61937 _ACEOF
61938
61939 fi
61940 done
61941
61942 fi
61943 fi
61944
61945
61946
61947
61948
61949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61950 $as_echo_n "checking for hypot declaration... " >&6; }
61951 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61952 if ${glibcxx_cv_func_hypot_use+:} false; then :
61953 $as_echo_n "(cached) " >&6
61954 else
61955
61956
61957 ac_ext=cpp
61958 ac_cpp='$CXXCPP $CPPFLAGS'
61959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61962
61963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61964 /* end confdefs.h. */
61965 #include <math.h>
61966 int
61967 main ()
61968 {
61969 hypot(0, 0);
61970 ;
61971 return 0;
61972 }
61973 _ACEOF
61974 if ac_fn_cxx_try_compile "$LINENO"; then :
61975 glibcxx_cv_func_hypot_use=yes
61976 else
61977 glibcxx_cv_func_hypot_use=no
61978 fi
61979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61980 ac_ext=c
61981 ac_cpp='$CPP $CPPFLAGS'
61982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61985
61986
61987 fi
61988
61989 fi
61990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61991 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61992
61993 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61994 for ac_func in hypot
61995 do :
61996 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61997 if test "x$ac_cv_func_hypot" = xyes; then :
61998 cat >>confdefs.h <<_ACEOF
61999 #define HAVE_HYPOT 1
62000 _ACEOF
62001
62002 fi
62003 done
62004
62005 else
62006
62007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62008 $as_echo_n "checking for _hypot declaration... " >&6; }
62009 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62010 if ${glibcxx_cv_func__hypot_use+:} false; then :
62011 $as_echo_n "(cached) " >&6
62012 else
62013
62014
62015 ac_ext=cpp
62016 ac_cpp='$CXXCPP $CPPFLAGS'
62017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62020
62021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62022 /* end confdefs.h. */
62023 #include <math.h>
62024 int
62025 main ()
62026 {
62027 _hypot(0, 0);
62028 ;
62029 return 0;
62030 }
62031 _ACEOF
62032 if ac_fn_cxx_try_compile "$LINENO"; then :
62033 glibcxx_cv_func__hypot_use=yes
62034 else
62035 glibcxx_cv_func__hypot_use=no
62036 fi
62037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62038 ac_ext=c
62039 ac_cpp='$CPP $CPPFLAGS'
62040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62043
62044
62045 fi
62046
62047 fi
62048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62049 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62050
62051 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62052 for ac_func in _hypot
62053 do :
62054 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62055 if test "x$ac_cv_func__hypot" = xyes; then :
62056 cat >>confdefs.h <<_ACEOF
62057 #define HAVE__HYPOT 1
62058 _ACEOF
62059
62060 fi
62061 done
62062
62063 fi
62064 fi
62065
62066
62067
62068
62069
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62071 $as_echo_n "checking for float trig functions... " >&6; }
62072 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62073 $as_echo_n "(cached) " >&6
62074 else
62075
62076
62077 ac_ext=cpp
62078 ac_cpp='$CXXCPP $CPPFLAGS'
62079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62082
62083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62084 /* end confdefs.h. */
62085 #include <math.h>
62086 int
62087 main ()
62088 {
62089 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62090 ;
62091 return 0;
62092 }
62093 _ACEOF
62094 if ac_fn_cxx_try_compile "$LINENO"; then :
62095 glibcxx_cv_func_float_trig_use=yes
62096 else
62097 glibcxx_cv_func_float_trig_use=no
62098 fi
62099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62100 ac_ext=c
62101 ac_cpp='$CPP $CPPFLAGS'
62102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62105
62106 fi
62107
62108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62109 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62110 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62111 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62112 do :
62113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62116 cat >>confdefs.h <<_ACEOF
62117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62118 _ACEOF
62119
62120 fi
62121 done
62122
62123 else
62124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62125 $as_echo_n "checking for _float trig functions... " >&6; }
62126 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62127 $as_echo_n "(cached) " >&6
62128 else
62129
62130
62131 ac_ext=cpp
62132 ac_cpp='$CXXCPP $CPPFLAGS'
62133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62136
62137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62138 /* end confdefs.h. */
62139 #include <math.h>
62140 int
62141 main ()
62142 {
62143 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62144 ;
62145 return 0;
62146 }
62147 _ACEOF
62148 if ac_fn_cxx_try_compile "$LINENO"; then :
62149 glibcxx_cv_func__float_trig_use=yes
62150 else
62151 glibcxx_cv_func__float_trig_use=no
62152 fi
62153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62154 ac_ext=c
62155 ac_cpp='$CPP $CPPFLAGS'
62156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62159
62160 fi
62161
62162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62163 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62164 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62165 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62166 do :
62167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62170 cat >>confdefs.h <<_ACEOF
62171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62172 _ACEOF
62173
62174 fi
62175 done
62176
62177 fi
62178 fi
62179
62180
62181
62182
62183
62184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62185 $as_echo_n "checking for float round functions... " >&6; }
62186 if ${glibcxx_cv_func_float_round_use+:} false; then :
62187 $as_echo_n "(cached) " >&6
62188 else
62189
62190
62191 ac_ext=cpp
62192 ac_cpp='$CXXCPP $CPPFLAGS'
62193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62196
62197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62198 /* end confdefs.h. */
62199 #include <math.h>
62200 int
62201 main ()
62202 {
62203 ceilf (0); floorf (0);
62204 ;
62205 return 0;
62206 }
62207 _ACEOF
62208 if ac_fn_cxx_try_compile "$LINENO"; then :
62209 glibcxx_cv_func_float_round_use=yes
62210 else
62211 glibcxx_cv_func_float_round_use=no
62212 fi
62213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62214 ac_ext=c
62215 ac_cpp='$CPP $CPPFLAGS'
62216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62219
62220 fi
62221
62222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62223 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62224 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62225 for ac_func in ceilf floorf
62226 do :
62227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62230 cat >>confdefs.h <<_ACEOF
62231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62232 _ACEOF
62233
62234 fi
62235 done
62236
62237 else
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62239 $as_echo_n "checking for _float round functions... " >&6; }
62240 if ${glibcxx_cv_func__float_round_use+:} false; then :
62241 $as_echo_n "(cached) " >&6
62242 else
62243
62244
62245 ac_ext=cpp
62246 ac_cpp='$CXXCPP $CPPFLAGS'
62247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62250
62251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62252 /* end confdefs.h. */
62253 #include <math.h>
62254 int
62255 main ()
62256 {
62257 _ceilf (0); _floorf (0);
62258 ;
62259 return 0;
62260 }
62261 _ACEOF
62262 if ac_fn_cxx_try_compile "$LINENO"; then :
62263 glibcxx_cv_func__float_round_use=yes
62264 else
62265 glibcxx_cv_func__float_round_use=no
62266 fi
62267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62268 ac_ext=c
62269 ac_cpp='$CPP $CPPFLAGS'
62270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62273
62274 fi
62275
62276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62279 for ac_func in _ceilf _floorf
62280 do :
62281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62284 cat >>confdefs.h <<_ACEOF
62285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62286 _ACEOF
62287
62288 fi
62289 done
62290
62291 fi
62292 fi
62293
62294
62295
62296
62297
62298
62299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62300 $as_echo_n "checking for expf declaration... " >&6; }
62301 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62302 if ${glibcxx_cv_func_expf_use+:} false; then :
62303 $as_echo_n "(cached) " >&6
62304 else
62305
62306
62307 ac_ext=cpp
62308 ac_cpp='$CXXCPP $CPPFLAGS'
62309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62312
62313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62314 /* end confdefs.h. */
62315 #include <math.h>
62316 #ifdef HAVE_IEEEFP_H
62317 #include <ieeefp.h>
62318 #endif
62319
62320 int
62321 main ()
62322 {
62323 expf(0);
62324 ;
62325 return 0;
62326 }
62327 _ACEOF
62328 if ac_fn_cxx_try_compile "$LINENO"; then :
62329 glibcxx_cv_func_expf_use=yes
62330 else
62331 glibcxx_cv_func_expf_use=no
62332 fi
62333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62334 ac_ext=c
62335 ac_cpp='$CPP $CPPFLAGS'
62336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62339
62340
62341 fi
62342
62343 fi
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62345 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62346
62347 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62348 for ac_func in expf
62349 do :
62350 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62351 if test "x$ac_cv_func_expf" = xyes; then :
62352 cat >>confdefs.h <<_ACEOF
62353 #define HAVE_EXPF 1
62354 _ACEOF
62355
62356 fi
62357 done
62358
62359 else
62360
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62362 $as_echo_n "checking for _expf declaration... " >&6; }
62363 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62364 if ${glibcxx_cv_func__expf_use+:} false; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62367
62368
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62374
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62378 #ifdef HAVE_IEEEFP_H
62379 #include <ieeefp.h>
62380 #endif
62381
62382 int
62383 main ()
62384 {
62385 _expf(0);
62386 ;
62387 return 0;
62388 }
62389 _ACEOF
62390 if ac_fn_cxx_try_compile "$LINENO"; then :
62391 glibcxx_cv_func__expf_use=yes
62392 else
62393 glibcxx_cv_func__expf_use=no
62394 fi
62395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62396 ac_ext=c
62397 ac_cpp='$CPP $CPPFLAGS'
62398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62401
62402
62403 fi
62404
62405 fi
62406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62407 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62408
62409 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62410 for ac_func in _expf
62411 do :
62412 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62413 if test "x$ac_cv_func__expf" = xyes; then :
62414 cat >>confdefs.h <<_ACEOF
62415 #define HAVE__EXPF 1
62416 _ACEOF
62417
62418 fi
62419 done
62420
62421 fi
62422 fi
62423
62424
62425
62426
62427
62428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62429 $as_echo_n "checking for isnanf declaration... " >&6; }
62430 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62431 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62432 $as_echo_n "(cached) " >&6
62433 else
62434
62435
62436 ac_ext=cpp
62437 ac_cpp='$CXXCPP $CPPFLAGS'
62438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62441
62442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62443 /* end confdefs.h. */
62444 #include <math.h>
62445 #ifdef HAVE_IEEEFP_H
62446 #include <ieeefp.h>
62447 #endif
62448
62449 int
62450 main ()
62451 {
62452 isnanf(0);
62453 ;
62454 return 0;
62455 }
62456 _ACEOF
62457 if ac_fn_cxx_try_compile "$LINENO"; then :
62458 glibcxx_cv_func_isnanf_use=yes
62459 else
62460 glibcxx_cv_func_isnanf_use=no
62461 fi
62462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62463 ac_ext=c
62464 ac_cpp='$CPP $CPPFLAGS'
62465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62468
62469
62470 fi
62471
62472 fi
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62474 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62475
62476 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62477 for ac_func in isnanf
62478 do :
62479 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62480 if test "x$ac_cv_func_isnanf" = xyes; then :
62481 cat >>confdefs.h <<_ACEOF
62482 #define HAVE_ISNANF 1
62483 _ACEOF
62484
62485 fi
62486 done
62487
62488 else
62489
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62491 $as_echo_n "checking for _isnanf declaration... " >&6; }
62492 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62493 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62496
62497
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62507 #ifdef HAVE_IEEEFP_H
62508 #include <ieeefp.h>
62509 #endif
62510
62511 int
62512 main ()
62513 {
62514 _isnanf(0);
62515 ;
62516 return 0;
62517 }
62518 _ACEOF
62519 if ac_fn_cxx_try_compile "$LINENO"; then :
62520 glibcxx_cv_func__isnanf_use=yes
62521 else
62522 glibcxx_cv_func__isnanf_use=no
62523 fi
62524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62525 ac_ext=c
62526 ac_cpp='$CPP $CPPFLAGS'
62527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62530
62531
62532 fi
62533
62534 fi
62535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62536 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62537
62538 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62539 for ac_func in _isnanf
62540 do :
62541 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62542 if test "x$ac_cv_func__isnanf" = xyes; then :
62543 cat >>confdefs.h <<_ACEOF
62544 #define HAVE__ISNANF 1
62545 _ACEOF
62546
62547 fi
62548 done
62549
62550 fi
62551 fi
62552
62553
62554
62555
62556
62557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62558 $as_echo_n "checking for isinff declaration... " >&6; }
62559 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62560 if ${glibcxx_cv_func_isinff_use+:} false; then :
62561 $as_echo_n "(cached) " >&6
62562 else
62563
62564
62565 ac_ext=cpp
62566 ac_cpp='$CXXCPP $CPPFLAGS'
62567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62570
62571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62572 /* end confdefs.h. */
62573 #include <math.h>
62574 #ifdef HAVE_IEEEFP_H
62575 #include <ieeefp.h>
62576 #endif
62577
62578 int
62579 main ()
62580 {
62581 isinff(0);
62582 ;
62583 return 0;
62584 }
62585 _ACEOF
62586 if ac_fn_cxx_try_compile "$LINENO"; then :
62587 glibcxx_cv_func_isinff_use=yes
62588 else
62589 glibcxx_cv_func_isinff_use=no
62590 fi
62591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62592 ac_ext=c
62593 ac_cpp='$CPP $CPPFLAGS'
62594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62597
62598
62599 fi
62600
62601 fi
62602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62603 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62604
62605 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62606 for ac_func in isinff
62607 do :
62608 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62609 if test "x$ac_cv_func_isinff" = xyes; then :
62610 cat >>confdefs.h <<_ACEOF
62611 #define HAVE_ISINFF 1
62612 _ACEOF
62613
62614 fi
62615 done
62616
62617 else
62618
62619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62620 $as_echo_n "checking for _isinff declaration... " >&6; }
62621 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62622 if ${glibcxx_cv_func__isinff_use+:} false; then :
62623 $as_echo_n "(cached) " >&6
62624 else
62625
62626
62627 ac_ext=cpp
62628 ac_cpp='$CXXCPP $CPPFLAGS'
62629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62632
62633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62634 /* end confdefs.h. */
62635 #include <math.h>
62636 #ifdef HAVE_IEEEFP_H
62637 #include <ieeefp.h>
62638 #endif
62639
62640 int
62641 main ()
62642 {
62643 _isinff(0);
62644 ;
62645 return 0;
62646 }
62647 _ACEOF
62648 if ac_fn_cxx_try_compile "$LINENO"; then :
62649 glibcxx_cv_func__isinff_use=yes
62650 else
62651 glibcxx_cv_func__isinff_use=no
62652 fi
62653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62654 ac_ext=c
62655 ac_cpp='$CPP $CPPFLAGS'
62656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62659
62660
62661 fi
62662
62663 fi
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62665 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62666
62667 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62668 for ac_func in _isinff
62669 do :
62670 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62671 if test "x$ac_cv_func__isinff" = xyes; then :
62672 cat >>confdefs.h <<_ACEOF
62673 #define HAVE__ISINFF 1
62674 _ACEOF
62675
62676 fi
62677 done
62678
62679 fi
62680 fi
62681
62682
62683
62684
62685
62686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62687 $as_echo_n "checking for atan2f declaration... " >&6; }
62688 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62689 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62690 $as_echo_n "(cached) " >&6
62691 else
62692
62693
62694 ac_ext=cpp
62695 ac_cpp='$CXXCPP $CPPFLAGS'
62696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62699
62700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62701 /* end confdefs.h. */
62702 #include <math.h>
62703 int
62704 main ()
62705 {
62706 atan2f(0, 0);
62707 ;
62708 return 0;
62709 }
62710 _ACEOF
62711 if ac_fn_cxx_try_compile "$LINENO"; then :
62712 glibcxx_cv_func_atan2f_use=yes
62713 else
62714 glibcxx_cv_func_atan2f_use=no
62715 fi
62716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62717 ac_ext=c
62718 ac_cpp='$CPP $CPPFLAGS'
62719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62722
62723
62724 fi
62725
62726 fi
62727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62728 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62729
62730 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62731 for ac_func in atan2f
62732 do :
62733 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62734 if test "x$ac_cv_func_atan2f" = xyes; then :
62735 cat >>confdefs.h <<_ACEOF
62736 #define HAVE_ATAN2F 1
62737 _ACEOF
62738
62739 fi
62740 done
62741
62742 else
62743
62744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62745 $as_echo_n "checking for _atan2f declaration... " >&6; }
62746 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62747 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62748 $as_echo_n "(cached) " >&6
62749 else
62750
62751
62752 ac_ext=cpp
62753 ac_cpp='$CXXCPP $CPPFLAGS'
62754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62757
62758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62759 /* end confdefs.h. */
62760 #include <math.h>
62761 int
62762 main ()
62763 {
62764 _atan2f(0, 0);
62765 ;
62766 return 0;
62767 }
62768 _ACEOF
62769 if ac_fn_cxx_try_compile "$LINENO"; then :
62770 glibcxx_cv_func__atan2f_use=yes
62771 else
62772 glibcxx_cv_func__atan2f_use=no
62773 fi
62774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62775 ac_ext=c
62776 ac_cpp='$CPP $CPPFLAGS'
62777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62780
62781
62782 fi
62783
62784 fi
62785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62786 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62787
62788 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62789 for ac_func in _atan2f
62790 do :
62791 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62792 if test "x$ac_cv_func__atan2f" = xyes; then :
62793 cat >>confdefs.h <<_ACEOF
62794 #define HAVE__ATAN2F 1
62795 _ACEOF
62796
62797 fi
62798 done
62799
62800 fi
62801 fi
62802
62803
62804
62805
62806
62807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62808 $as_echo_n "checking for fabsf declaration... " >&6; }
62809 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62810 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62811 $as_echo_n "(cached) " >&6
62812 else
62813
62814
62815 ac_ext=cpp
62816 ac_cpp='$CXXCPP $CPPFLAGS'
62817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62820
62821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62822 /* end confdefs.h. */
62823 #include <math.h>
62824 #ifdef HAVE_IEEEFP_H
62825 #include <ieeefp.h>
62826 #endif
62827
62828 int
62829 main ()
62830 {
62831 fabsf(0);
62832 ;
62833 return 0;
62834 }
62835 _ACEOF
62836 if ac_fn_cxx_try_compile "$LINENO"; then :
62837 glibcxx_cv_func_fabsf_use=yes
62838 else
62839 glibcxx_cv_func_fabsf_use=no
62840 fi
62841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62842 ac_ext=c
62843 ac_cpp='$CPP $CPPFLAGS'
62844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62847
62848
62849 fi
62850
62851 fi
62852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62853 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62854
62855 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62856 for ac_func in fabsf
62857 do :
62858 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62859 if test "x$ac_cv_func_fabsf" = xyes; then :
62860 cat >>confdefs.h <<_ACEOF
62861 #define HAVE_FABSF 1
62862 _ACEOF
62863
62864 fi
62865 done
62866
62867 else
62868
62869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62870 $as_echo_n "checking for _fabsf declaration... " >&6; }
62871 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62872 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62873 $as_echo_n "(cached) " >&6
62874 else
62875
62876
62877 ac_ext=cpp
62878 ac_cpp='$CXXCPP $CPPFLAGS'
62879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62882
62883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62884 /* end confdefs.h. */
62885 #include <math.h>
62886 #ifdef HAVE_IEEEFP_H
62887 #include <ieeefp.h>
62888 #endif
62889
62890 int
62891 main ()
62892 {
62893 _fabsf(0);
62894 ;
62895 return 0;
62896 }
62897 _ACEOF
62898 if ac_fn_cxx_try_compile "$LINENO"; then :
62899 glibcxx_cv_func__fabsf_use=yes
62900 else
62901 glibcxx_cv_func__fabsf_use=no
62902 fi
62903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62904 ac_ext=c
62905 ac_cpp='$CPP $CPPFLAGS'
62906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62909
62910
62911 fi
62912
62913 fi
62914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62915 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62916
62917 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62918 for ac_func in _fabsf
62919 do :
62920 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62921 if test "x$ac_cv_func__fabsf" = xyes; then :
62922 cat >>confdefs.h <<_ACEOF
62923 #define HAVE__FABSF 1
62924 _ACEOF
62925
62926 fi
62927 done
62928
62929 fi
62930 fi
62931
62932
62933
62934
62935
62936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62937 $as_echo_n "checking for fmodf declaration... " >&6; }
62938 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62939 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62940 $as_echo_n "(cached) " >&6
62941 else
62942
62943
62944 ac_ext=cpp
62945 ac_cpp='$CXXCPP $CPPFLAGS'
62946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62949
62950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62951 /* end confdefs.h. */
62952 #include <math.h>
62953 int
62954 main ()
62955 {
62956 fmodf(0, 0);
62957 ;
62958 return 0;
62959 }
62960 _ACEOF
62961 if ac_fn_cxx_try_compile "$LINENO"; then :
62962 glibcxx_cv_func_fmodf_use=yes
62963 else
62964 glibcxx_cv_func_fmodf_use=no
62965 fi
62966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62967 ac_ext=c
62968 ac_cpp='$CPP $CPPFLAGS'
62969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62972
62973
62974 fi
62975
62976 fi
62977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62978 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62979
62980 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62981 for ac_func in fmodf
62982 do :
62983 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62984 if test "x$ac_cv_func_fmodf" = xyes; then :
62985 cat >>confdefs.h <<_ACEOF
62986 #define HAVE_FMODF 1
62987 _ACEOF
62988
62989 fi
62990 done
62991
62992 else
62993
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62995 $as_echo_n "checking for _fmodf declaration... " >&6; }
62996 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62997 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62998 $as_echo_n "(cached) " >&6
62999 else
63000
63001
63002 ac_ext=cpp
63003 ac_cpp='$CXXCPP $CPPFLAGS'
63004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63007
63008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63009 /* end confdefs.h. */
63010 #include <math.h>
63011 int
63012 main ()
63013 {
63014 _fmodf(0, 0);
63015 ;
63016 return 0;
63017 }
63018 _ACEOF
63019 if ac_fn_cxx_try_compile "$LINENO"; then :
63020 glibcxx_cv_func__fmodf_use=yes
63021 else
63022 glibcxx_cv_func__fmodf_use=no
63023 fi
63024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63025 ac_ext=c
63026 ac_cpp='$CPP $CPPFLAGS'
63027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63030
63031
63032 fi
63033
63034 fi
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63036 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63037
63038 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63039 for ac_func in _fmodf
63040 do :
63041 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63042 if test "x$ac_cv_func__fmodf" = xyes; then :
63043 cat >>confdefs.h <<_ACEOF
63044 #define HAVE__FMODF 1
63045 _ACEOF
63046
63047 fi
63048 done
63049
63050 fi
63051 fi
63052
63053
63054
63055
63056
63057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63058 $as_echo_n "checking for frexpf declaration... " >&6; }
63059 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63060 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63061 $as_echo_n "(cached) " >&6
63062 else
63063
63064
63065 ac_ext=cpp
63066 ac_cpp='$CXXCPP $CPPFLAGS'
63067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63070
63071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63072 /* end confdefs.h. */
63073 #include <math.h>
63074 int
63075 main ()
63076 {
63077 frexpf(0, 0);
63078 ;
63079 return 0;
63080 }
63081 _ACEOF
63082 if ac_fn_cxx_try_compile "$LINENO"; then :
63083 glibcxx_cv_func_frexpf_use=yes
63084 else
63085 glibcxx_cv_func_frexpf_use=no
63086 fi
63087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63088 ac_ext=c
63089 ac_cpp='$CPP $CPPFLAGS'
63090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63093
63094
63095 fi
63096
63097 fi
63098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63099 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63100
63101 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63102 for ac_func in frexpf
63103 do :
63104 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63105 if test "x$ac_cv_func_frexpf" = xyes; then :
63106 cat >>confdefs.h <<_ACEOF
63107 #define HAVE_FREXPF 1
63108 _ACEOF
63109
63110 fi
63111 done
63112
63113 else
63114
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63116 $as_echo_n "checking for _frexpf declaration... " >&6; }
63117 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63118 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63119 $as_echo_n "(cached) " >&6
63120 else
63121
63122
63123 ac_ext=cpp
63124 ac_cpp='$CXXCPP $CPPFLAGS'
63125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63128
63129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63130 /* end confdefs.h. */
63131 #include <math.h>
63132 int
63133 main ()
63134 {
63135 _frexpf(0, 0);
63136 ;
63137 return 0;
63138 }
63139 _ACEOF
63140 if ac_fn_cxx_try_compile "$LINENO"; then :
63141 glibcxx_cv_func__frexpf_use=yes
63142 else
63143 glibcxx_cv_func__frexpf_use=no
63144 fi
63145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63146 ac_ext=c
63147 ac_cpp='$CPP $CPPFLAGS'
63148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63151
63152
63153 fi
63154
63155 fi
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63157 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63158
63159 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63160 for ac_func in _frexpf
63161 do :
63162 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63163 if test "x$ac_cv_func__frexpf" = xyes; then :
63164 cat >>confdefs.h <<_ACEOF
63165 #define HAVE__FREXPF 1
63166 _ACEOF
63167
63168 fi
63169 done
63170
63171 fi
63172 fi
63173
63174
63175
63176
63177
63178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63179 $as_echo_n "checking for hypotf declaration... " >&6; }
63180 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63181 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63182 $as_echo_n "(cached) " >&6
63183 else
63184
63185
63186 ac_ext=cpp
63187 ac_cpp='$CXXCPP $CPPFLAGS'
63188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63191
63192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63193 /* end confdefs.h. */
63194 #include <math.h>
63195 int
63196 main ()
63197 {
63198 hypotf(0, 0);
63199 ;
63200 return 0;
63201 }
63202 _ACEOF
63203 if ac_fn_cxx_try_compile "$LINENO"; then :
63204 glibcxx_cv_func_hypotf_use=yes
63205 else
63206 glibcxx_cv_func_hypotf_use=no
63207 fi
63208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63209 ac_ext=c
63210 ac_cpp='$CPP $CPPFLAGS'
63211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63214
63215
63216 fi
63217
63218 fi
63219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63220 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63221
63222 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63223 for ac_func in hypotf
63224 do :
63225 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63226 if test "x$ac_cv_func_hypotf" = xyes; then :
63227 cat >>confdefs.h <<_ACEOF
63228 #define HAVE_HYPOTF 1
63229 _ACEOF
63230
63231 fi
63232 done
63233
63234 else
63235
63236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63237 $as_echo_n "checking for _hypotf declaration... " >&6; }
63238 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63239 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63240 $as_echo_n "(cached) " >&6
63241 else
63242
63243
63244 ac_ext=cpp
63245 ac_cpp='$CXXCPP $CPPFLAGS'
63246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63249
63250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63251 /* end confdefs.h. */
63252 #include <math.h>
63253 int
63254 main ()
63255 {
63256 _hypotf(0, 0);
63257 ;
63258 return 0;
63259 }
63260 _ACEOF
63261 if ac_fn_cxx_try_compile "$LINENO"; then :
63262 glibcxx_cv_func__hypotf_use=yes
63263 else
63264 glibcxx_cv_func__hypotf_use=no
63265 fi
63266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63267 ac_ext=c
63268 ac_cpp='$CPP $CPPFLAGS'
63269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63272
63273
63274 fi
63275
63276 fi
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63278 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63279
63280 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63281 for ac_func in _hypotf
63282 do :
63283 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63284 if test "x$ac_cv_func__hypotf" = xyes; then :
63285 cat >>confdefs.h <<_ACEOF
63286 #define HAVE__HYPOTF 1
63287 _ACEOF
63288
63289 fi
63290 done
63291
63292 fi
63293 fi
63294
63295
63296
63297
63298
63299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63300 $as_echo_n "checking for ldexpf declaration... " >&6; }
63301 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63302 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63303 $as_echo_n "(cached) " >&6
63304 else
63305
63306
63307 ac_ext=cpp
63308 ac_cpp='$CXXCPP $CPPFLAGS'
63309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63312
63313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63314 /* end confdefs.h. */
63315 #include <math.h>
63316 int
63317 main ()
63318 {
63319 ldexpf(0, 0);
63320 ;
63321 return 0;
63322 }
63323 _ACEOF
63324 if ac_fn_cxx_try_compile "$LINENO"; then :
63325 glibcxx_cv_func_ldexpf_use=yes
63326 else
63327 glibcxx_cv_func_ldexpf_use=no
63328 fi
63329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63330 ac_ext=c
63331 ac_cpp='$CPP $CPPFLAGS'
63332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63335
63336
63337 fi
63338
63339 fi
63340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63341 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63342
63343 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63344 for ac_func in ldexpf
63345 do :
63346 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63347 if test "x$ac_cv_func_ldexpf" = xyes; then :
63348 cat >>confdefs.h <<_ACEOF
63349 #define HAVE_LDEXPF 1
63350 _ACEOF
63351
63352 fi
63353 done
63354
63355 else
63356
63357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63358 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63359 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63360 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63361 $as_echo_n "(cached) " >&6
63362 else
63363
63364
63365 ac_ext=cpp
63366 ac_cpp='$CXXCPP $CPPFLAGS'
63367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63370
63371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63372 /* end confdefs.h. */
63373 #include <math.h>
63374 int
63375 main ()
63376 {
63377 _ldexpf(0, 0);
63378 ;
63379 return 0;
63380 }
63381 _ACEOF
63382 if ac_fn_cxx_try_compile "$LINENO"; then :
63383 glibcxx_cv_func__ldexpf_use=yes
63384 else
63385 glibcxx_cv_func__ldexpf_use=no
63386 fi
63387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63388 ac_ext=c
63389 ac_cpp='$CPP $CPPFLAGS'
63390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63393
63394
63395 fi
63396
63397 fi
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63399 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63400
63401 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63402 for ac_func in _ldexpf
63403 do :
63404 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63405 if test "x$ac_cv_func__ldexpf" = xyes; then :
63406 cat >>confdefs.h <<_ACEOF
63407 #define HAVE__LDEXPF 1
63408 _ACEOF
63409
63410 fi
63411 done
63412
63413 fi
63414 fi
63415
63416
63417
63418
63419
63420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63421 $as_echo_n "checking for logf declaration... " >&6; }
63422 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63423 if ${glibcxx_cv_func_logf_use+:} false; then :
63424 $as_echo_n "(cached) " >&6
63425 else
63426
63427
63428 ac_ext=cpp
63429 ac_cpp='$CXXCPP $CPPFLAGS'
63430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63433
63434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63435 /* end confdefs.h. */
63436 #include <math.h>
63437 #ifdef HAVE_IEEEFP_H
63438 #include <ieeefp.h>
63439 #endif
63440
63441 int
63442 main ()
63443 {
63444 logf(0);
63445 ;
63446 return 0;
63447 }
63448 _ACEOF
63449 if ac_fn_cxx_try_compile "$LINENO"; then :
63450 glibcxx_cv_func_logf_use=yes
63451 else
63452 glibcxx_cv_func_logf_use=no
63453 fi
63454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63455 ac_ext=c
63456 ac_cpp='$CPP $CPPFLAGS'
63457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63460
63461
63462 fi
63463
63464 fi
63465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63466 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63467
63468 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63469 for ac_func in logf
63470 do :
63471 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63472 if test "x$ac_cv_func_logf" = xyes; then :
63473 cat >>confdefs.h <<_ACEOF
63474 #define HAVE_LOGF 1
63475 _ACEOF
63476
63477 fi
63478 done
63479
63480 else
63481
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63483 $as_echo_n "checking for _logf declaration... " >&6; }
63484 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63485 if ${glibcxx_cv_func__logf_use+:} false; then :
63486 $as_echo_n "(cached) " >&6
63487 else
63488
63489
63490 ac_ext=cpp
63491 ac_cpp='$CXXCPP $CPPFLAGS'
63492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63495
63496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63497 /* end confdefs.h. */
63498 #include <math.h>
63499 #ifdef HAVE_IEEEFP_H
63500 #include <ieeefp.h>
63501 #endif
63502
63503 int
63504 main ()
63505 {
63506 _logf(0);
63507 ;
63508 return 0;
63509 }
63510 _ACEOF
63511 if ac_fn_cxx_try_compile "$LINENO"; then :
63512 glibcxx_cv_func__logf_use=yes
63513 else
63514 glibcxx_cv_func__logf_use=no
63515 fi
63516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63517 ac_ext=c
63518 ac_cpp='$CPP $CPPFLAGS'
63519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63522
63523
63524 fi
63525
63526 fi
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63528 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63529
63530 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63531 for ac_func in _logf
63532 do :
63533 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63534 if test "x$ac_cv_func__logf" = xyes; then :
63535 cat >>confdefs.h <<_ACEOF
63536 #define HAVE__LOGF 1
63537 _ACEOF
63538
63539 fi
63540 done
63541
63542 fi
63543 fi
63544
63545
63546
63547
63548
63549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63550 $as_echo_n "checking for log10f declaration... " >&6; }
63551 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63552 if ${glibcxx_cv_func_log10f_use+:} false; then :
63553 $as_echo_n "(cached) " >&6
63554 else
63555
63556
63557 ac_ext=cpp
63558 ac_cpp='$CXXCPP $CPPFLAGS'
63559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63562
63563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63564 /* end confdefs.h. */
63565 #include <math.h>
63566 #ifdef HAVE_IEEEFP_H
63567 #include <ieeefp.h>
63568 #endif
63569
63570 int
63571 main ()
63572 {
63573 log10f(0);
63574 ;
63575 return 0;
63576 }
63577 _ACEOF
63578 if ac_fn_cxx_try_compile "$LINENO"; then :
63579 glibcxx_cv_func_log10f_use=yes
63580 else
63581 glibcxx_cv_func_log10f_use=no
63582 fi
63583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63584 ac_ext=c
63585 ac_cpp='$CPP $CPPFLAGS'
63586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63589
63590
63591 fi
63592
63593 fi
63594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63595 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63596
63597 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63598 for ac_func in log10f
63599 do :
63600 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63601 if test "x$ac_cv_func_log10f" = xyes; then :
63602 cat >>confdefs.h <<_ACEOF
63603 #define HAVE_LOG10F 1
63604 _ACEOF
63605
63606 fi
63607 done
63608
63609 else
63610
63611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63612 $as_echo_n "checking for _log10f declaration... " >&6; }
63613 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63614 if ${glibcxx_cv_func__log10f_use+:} false; then :
63615 $as_echo_n "(cached) " >&6
63616 else
63617
63618
63619 ac_ext=cpp
63620 ac_cpp='$CXXCPP $CPPFLAGS'
63621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63624
63625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63626 /* end confdefs.h. */
63627 #include <math.h>
63628 #ifdef HAVE_IEEEFP_H
63629 #include <ieeefp.h>
63630 #endif
63631
63632 int
63633 main ()
63634 {
63635 _log10f(0);
63636 ;
63637 return 0;
63638 }
63639 _ACEOF
63640 if ac_fn_cxx_try_compile "$LINENO"; then :
63641 glibcxx_cv_func__log10f_use=yes
63642 else
63643 glibcxx_cv_func__log10f_use=no
63644 fi
63645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63646 ac_ext=c
63647 ac_cpp='$CPP $CPPFLAGS'
63648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63651
63652
63653 fi
63654
63655 fi
63656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63657 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63658
63659 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63660 for ac_func in _log10f
63661 do :
63662 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63663 if test "x$ac_cv_func__log10f" = xyes; then :
63664 cat >>confdefs.h <<_ACEOF
63665 #define HAVE__LOG10F 1
63666 _ACEOF
63667
63668 fi
63669 done
63670
63671 fi
63672 fi
63673
63674
63675
63676
63677
63678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63679 $as_echo_n "checking for modff declaration... " >&6; }
63680 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63681 if ${glibcxx_cv_func_modff_use+:} false; then :
63682 $as_echo_n "(cached) " >&6
63683 else
63684
63685
63686 ac_ext=cpp
63687 ac_cpp='$CXXCPP $CPPFLAGS'
63688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63691
63692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63693 /* end confdefs.h. */
63694 #include <math.h>
63695 int
63696 main ()
63697 {
63698 modff(0, 0);
63699 ;
63700 return 0;
63701 }
63702 _ACEOF
63703 if ac_fn_cxx_try_compile "$LINENO"; then :
63704 glibcxx_cv_func_modff_use=yes
63705 else
63706 glibcxx_cv_func_modff_use=no
63707 fi
63708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63709 ac_ext=c
63710 ac_cpp='$CPP $CPPFLAGS'
63711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63714
63715
63716 fi
63717
63718 fi
63719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63720 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63721
63722 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63723 for ac_func in modff
63724 do :
63725 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63726 if test "x$ac_cv_func_modff" = xyes; then :
63727 cat >>confdefs.h <<_ACEOF
63728 #define HAVE_MODFF 1
63729 _ACEOF
63730
63731 fi
63732 done
63733
63734 else
63735
63736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63737 $as_echo_n "checking for _modff declaration... " >&6; }
63738 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63739 if ${glibcxx_cv_func__modff_use+:} false; then :
63740 $as_echo_n "(cached) " >&6
63741 else
63742
63743
63744 ac_ext=cpp
63745 ac_cpp='$CXXCPP $CPPFLAGS'
63746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63749
63750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63751 /* end confdefs.h. */
63752 #include <math.h>
63753 int
63754 main ()
63755 {
63756 _modff(0, 0);
63757 ;
63758 return 0;
63759 }
63760 _ACEOF
63761 if ac_fn_cxx_try_compile "$LINENO"; then :
63762 glibcxx_cv_func__modff_use=yes
63763 else
63764 glibcxx_cv_func__modff_use=no
63765 fi
63766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63767 ac_ext=c
63768 ac_cpp='$CPP $CPPFLAGS'
63769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63772
63773
63774 fi
63775
63776 fi
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63778 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63779
63780 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63781 for ac_func in _modff
63782 do :
63783 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63784 if test "x$ac_cv_func__modff" = xyes; then :
63785 cat >>confdefs.h <<_ACEOF
63786 #define HAVE__MODFF 1
63787 _ACEOF
63788
63789 fi
63790 done
63791
63792 fi
63793 fi
63794
63795
63796
63797
63798
63799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63800 $as_echo_n "checking for modf declaration... " >&6; }
63801 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63802 if ${glibcxx_cv_func_modf_use+:} false; then :
63803 $as_echo_n "(cached) " >&6
63804 else
63805
63806
63807 ac_ext=cpp
63808 ac_cpp='$CXXCPP $CPPFLAGS'
63809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63812
63813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63814 /* end confdefs.h. */
63815 #include <math.h>
63816 int
63817 main ()
63818 {
63819 modf(0, 0);
63820 ;
63821 return 0;
63822 }
63823 _ACEOF
63824 if ac_fn_cxx_try_compile "$LINENO"; then :
63825 glibcxx_cv_func_modf_use=yes
63826 else
63827 glibcxx_cv_func_modf_use=no
63828 fi
63829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63830 ac_ext=c
63831 ac_cpp='$CPP $CPPFLAGS'
63832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63835
63836
63837 fi
63838
63839 fi
63840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63841 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63842
63843 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63844 for ac_func in modf
63845 do :
63846 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63847 if test "x$ac_cv_func_modf" = xyes; then :
63848 cat >>confdefs.h <<_ACEOF
63849 #define HAVE_MODF 1
63850 _ACEOF
63851
63852 fi
63853 done
63854
63855 else
63856
63857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63858 $as_echo_n "checking for _modf declaration... " >&6; }
63859 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63860 if ${glibcxx_cv_func__modf_use+:} false; then :
63861 $as_echo_n "(cached) " >&6
63862 else
63863
63864
63865 ac_ext=cpp
63866 ac_cpp='$CXXCPP $CPPFLAGS'
63867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63870
63871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63872 /* end confdefs.h. */
63873 #include <math.h>
63874 int
63875 main ()
63876 {
63877 _modf(0, 0);
63878 ;
63879 return 0;
63880 }
63881 _ACEOF
63882 if ac_fn_cxx_try_compile "$LINENO"; then :
63883 glibcxx_cv_func__modf_use=yes
63884 else
63885 glibcxx_cv_func__modf_use=no
63886 fi
63887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63888 ac_ext=c
63889 ac_cpp='$CPP $CPPFLAGS'
63890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63893
63894
63895 fi
63896
63897 fi
63898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63899 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63900
63901 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63902 for ac_func in _modf
63903 do :
63904 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63905 if test "x$ac_cv_func__modf" = xyes; then :
63906 cat >>confdefs.h <<_ACEOF
63907 #define HAVE__MODF 1
63908 _ACEOF
63909
63910 fi
63911 done
63912
63913 fi
63914 fi
63915
63916
63917
63918
63919
63920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63921 $as_echo_n "checking for powf declaration... " >&6; }
63922 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63923 if ${glibcxx_cv_func_powf_use+:} false; then :
63924 $as_echo_n "(cached) " >&6
63925 else
63926
63927
63928 ac_ext=cpp
63929 ac_cpp='$CXXCPP $CPPFLAGS'
63930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63933
63934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63935 /* end confdefs.h. */
63936 #include <math.h>
63937 int
63938 main ()
63939 {
63940 powf(0, 0);
63941 ;
63942 return 0;
63943 }
63944 _ACEOF
63945 if ac_fn_cxx_try_compile "$LINENO"; then :
63946 glibcxx_cv_func_powf_use=yes
63947 else
63948 glibcxx_cv_func_powf_use=no
63949 fi
63950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63951 ac_ext=c
63952 ac_cpp='$CPP $CPPFLAGS'
63953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63956
63957
63958 fi
63959
63960 fi
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63962 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63963
63964 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63965 for ac_func in powf
63966 do :
63967 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63968 if test "x$ac_cv_func_powf" = xyes; then :
63969 cat >>confdefs.h <<_ACEOF
63970 #define HAVE_POWF 1
63971 _ACEOF
63972
63973 fi
63974 done
63975
63976 else
63977
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63979 $as_echo_n "checking for _powf declaration... " >&6; }
63980 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63981 if ${glibcxx_cv_func__powf_use+:} false; then :
63982 $as_echo_n "(cached) " >&6
63983 else
63984
63985
63986 ac_ext=cpp
63987 ac_cpp='$CXXCPP $CPPFLAGS'
63988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63991
63992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63993 /* end confdefs.h. */
63994 #include <math.h>
63995 int
63996 main ()
63997 {
63998 _powf(0, 0);
63999 ;
64000 return 0;
64001 }
64002 _ACEOF
64003 if ac_fn_cxx_try_compile "$LINENO"; then :
64004 glibcxx_cv_func__powf_use=yes
64005 else
64006 glibcxx_cv_func__powf_use=no
64007 fi
64008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64009 ac_ext=c
64010 ac_cpp='$CPP $CPPFLAGS'
64011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64014
64015
64016 fi
64017
64018 fi
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64020 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64021
64022 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64023 for ac_func in _powf
64024 do :
64025 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64026 if test "x$ac_cv_func__powf" = xyes; then :
64027 cat >>confdefs.h <<_ACEOF
64028 #define HAVE__POWF 1
64029 _ACEOF
64030
64031 fi
64032 done
64033
64034 fi
64035 fi
64036
64037
64038
64039
64040
64041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64042 $as_echo_n "checking for sqrtf declaration... " >&6; }
64043 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64044 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64045 $as_echo_n "(cached) " >&6
64046 else
64047
64048
64049 ac_ext=cpp
64050 ac_cpp='$CXXCPP $CPPFLAGS'
64051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64054
64055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64056 /* end confdefs.h. */
64057 #include <math.h>
64058 #ifdef HAVE_IEEEFP_H
64059 #include <ieeefp.h>
64060 #endif
64061
64062 int
64063 main ()
64064 {
64065 sqrtf(0);
64066 ;
64067 return 0;
64068 }
64069 _ACEOF
64070 if ac_fn_cxx_try_compile "$LINENO"; then :
64071 glibcxx_cv_func_sqrtf_use=yes
64072 else
64073 glibcxx_cv_func_sqrtf_use=no
64074 fi
64075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64076 ac_ext=c
64077 ac_cpp='$CPP $CPPFLAGS'
64078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64081
64082
64083 fi
64084
64085 fi
64086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64087 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64088
64089 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64090 for ac_func in sqrtf
64091 do :
64092 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64093 if test "x$ac_cv_func_sqrtf" = xyes; then :
64094 cat >>confdefs.h <<_ACEOF
64095 #define HAVE_SQRTF 1
64096 _ACEOF
64097
64098 fi
64099 done
64100
64101 else
64102
64103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64104 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64105 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64106 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64107 $as_echo_n "(cached) " >&6
64108 else
64109
64110
64111 ac_ext=cpp
64112 ac_cpp='$CXXCPP $CPPFLAGS'
64113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64116
64117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64118 /* end confdefs.h. */
64119 #include <math.h>
64120 #ifdef HAVE_IEEEFP_H
64121 #include <ieeefp.h>
64122 #endif
64123
64124 int
64125 main ()
64126 {
64127 _sqrtf(0);
64128 ;
64129 return 0;
64130 }
64131 _ACEOF
64132 if ac_fn_cxx_try_compile "$LINENO"; then :
64133 glibcxx_cv_func__sqrtf_use=yes
64134 else
64135 glibcxx_cv_func__sqrtf_use=no
64136 fi
64137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64138 ac_ext=c
64139 ac_cpp='$CPP $CPPFLAGS'
64140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64143
64144
64145 fi
64146
64147 fi
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64149 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64150
64151 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64152 for ac_func in _sqrtf
64153 do :
64154 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64155 if test "x$ac_cv_func__sqrtf" = xyes; then :
64156 cat >>confdefs.h <<_ACEOF
64157 #define HAVE__SQRTF 1
64158 _ACEOF
64159
64160 fi
64161 done
64162
64163 fi
64164 fi
64165
64166
64167
64168
64169
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64171 $as_echo_n "checking for sincosf declaration... " >&6; }
64172 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64173 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64174 $as_echo_n "(cached) " >&6
64175 else
64176
64177
64178 ac_ext=cpp
64179 ac_cpp='$CXXCPP $CPPFLAGS'
64180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64183
64184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64185 /* end confdefs.h. */
64186 #include <math.h>
64187 int
64188 main ()
64189 {
64190 sincosf(0, 0, 0);
64191 ;
64192 return 0;
64193 }
64194 _ACEOF
64195 if ac_fn_cxx_try_compile "$LINENO"; then :
64196 glibcxx_cv_func_sincosf_use=yes
64197 else
64198 glibcxx_cv_func_sincosf_use=no
64199 fi
64200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64201 ac_ext=c
64202 ac_cpp='$CPP $CPPFLAGS'
64203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64206
64207
64208 fi
64209
64210 fi
64211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64212 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64213
64214 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64215 for ac_func in sincosf
64216 do :
64217 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64218 if test "x$ac_cv_func_sincosf" = xyes; then :
64219 cat >>confdefs.h <<_ACEOF
64220 #define HAVE_SINCOSF 1
64221 _ACEOF
64222
64223 fi
64224 done
64225
64226 else
64227
64228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64229 $as_echo_n "checking for _sincosf declaration... " >&6; }
64230 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64231 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64232 $as_echo_n "(cached) " >&6
64233 else
64234
64235
64236 ac_ext=cpp
64237 ac_cpp='$CXXCPP $CPPFLAGS'
64238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64241
64242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64243 /* end confdefs.h. */
64244 #include <math.h>
64245 int
64246 main ()
64247 {
64248 _sincosf(0, 0, 0);
64249 ;
64250 return 0;
64251 }
64252 _ACEOF
64253 if ac_fn_cxx_try_compile "$LINENO"; then :
64254 glibcxx_cv_func__sincosf_use=yes
64255 else
64256 glibcxx_cv_func__sincosf_use=no
64257 fi
64258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64259 ac_ext=c
64260 ac_cpp='$CPP $CPPFLAGS'
64261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64264
64265
64266 fi
64267
64268 fi
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64270 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64271
64272 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64273 for ac_func in _sincosf
64274 do :
64275 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64276 if test "x$ac_cv_func__sincosf" = xyes; then :
64277 cat >>confdefs.h <<_ACEOF
64278 #define HAVE__SINCOSF 1
64279 _ACEOF
64280
64281 fi
64282 done
64283
64284 fi
64285 fi
64286
64287
64288
64289
64290
64291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64292 $as_echo_n "checking for finitef declaration... " >&6; }
64293 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64294 if ${glibcxx_cv_func_finitef_use+:} false; then :
64295 $as_echo_n "(cached) " >&6
64296 else
64297
64298
64299 ac_ext=cpp
64300 ac_cpp='$CXXCPP $CPPFLAGS'
64301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64304
64305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64306 /* end confdefs.h. */
64307 #include <math.h>
64308 #ifdef HAVE_IEEEFP_H
64309 #include <ieeefp.h>
64310 #endif
64311
64312 int
64313 main ()
64314 {
64315 finitef(0);
64316 ;
64317 return 0;
64318 }
64319 _ACEOF
64320 if ac_fn_cxx_try_compile "$LINENO"; then :
64321 glibcxx_cv_func_finitef_use=yes
64322 else
64323 glibcxx_cv_func_finitef_use=no
64324 fi
64325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64326 ac_ext=c
64327 ac_cpp='$CPP $CPPFLAGS'
64328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64331
64332
64333 fi
64334
64335 fi
64336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64337 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64338
64339 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64340 for ac_func in finitef
64341 do :
64342 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64343 if test "x$ac_cv_func_finitef" = xyes; then :
64344 cat >>confdefs.h <<_ACEOF
64345 #define HAVE_FINITEF 1
64346 _ACEOF
64347
64348 fi
64349 done
64350
64351 else
64352
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64354 $as_echo_n "checking for _finitef declaration... " >&6; }
64355 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64356 if ${glibcxx_cv_func__finitef_use+:} false; then :
64357 $as_echo_n "(cached) " >&6
64358 else
64359
64360
64361 ac_ext=cpp
64362 ac_cpp='$CXXCPP $CPPFLAGS'
64363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64366
64367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64368 /* end confdefs.h. */
64369 #include <math.h>
64370 #ifdef HAVE_IEEEFP_H
64371 #include <ieeefp.h>
64372 #endif
64373
64374 int
64375 main ()
64376 {
64377 _finitef(0);
64378 ;
64379 return 0;
64380 }
64381 _ACEOF
64382 if ac_fn_cxx_try_compile "$LINENO"; then :
64383 glibcxx_cv_func__finitef_use=yes
64384 else
64385 glibcxx_cv_func__finitef_use=no
64386 fi
64387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64388 ac_ext=c
64389 ac_cpp='$CPP $CPPFLAGS'
64390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64393
64394
64395 fi
64396
64397 fi
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64399 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64400
64401 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64402 for ac_func in _finitef
64403 do :
64404 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64405 if test "x$ac_cv_func__finitef" = xyes; then :
64406 cat >>confdefs.h <<_ACEOF
64407 #define HAVE__FINITEF 1
64408 _ACEOF
64409
64410 fi
64411 done
64412
64413 fi
64414 fi
64415
64416
64417
64418
64419
64420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64421 $as_echo_n "checking for long double trig functions... " >&6; }
64422 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64423 $as_echo_n "(cached) " >&6
64424 else
64425
64426
64427 ac_ext=cpp
64428 ac_cpp='$CXXCPP $CPPFLAGS'
64429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64432
64433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64434 /* end confdefs.h. */
64435 #include <math.h>
64436 int
64437 main ()
64438 {
64439 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64440 ;
64441 return 0;
64442 }
64443 _ACEOF
64444 if ac_fn_cxx_try_compile "$LINENO"; then :
64445 glibcxx_cv_func_long_double_trig_use=yes
64446 else
64447 glibcxx_cv_func_long_double_trig_use=no
64448 fi
64449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64450 ac_ext=c
64451 ac_cpp='$CPP $CPPFLAGS'
64452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64455
64456 fi
64457
64458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64459 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64460 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64461 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64462 do :
64463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64466 cat >>confdefs.h <<_ACEOF
64467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64468 _ACEOF
64469
64470 fi
64471 done
64472
64473 else
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64475 $as_echo_n "checking for _long double trig functions... " >&6; }
64476 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64477 $as_echo_n "(cached) " >&6
64478 else
64479
64480
64481 ac_ext=cpp
64482 ac_cpp='$CXXCPP $CPPFLAGS'
64483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64486
64487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64488 /* end confdefs.h. */
64489 #include <math.h>
64490 int
64491 main ()
64492 {
64493 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64494 ;
64495 return 0;
64496 }
64497 _ACEOF
64498 if ac_fn_cxx_try_compile "$LINENO"; then :
64499 glibcxx_cv_func__long_double_trig_use=yes
64500 else
64501 glibcxx_cv_func__long_double_trig_use=no
64502 fi
64503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64504 ac_ext=c
64505 ac_cpp='$CPP $CPPFLAGS'
64506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64509
64510 fi
64511
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64513 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64514 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64515 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64516 do :
64517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64520 cat >>confdefs.h <<_ACEOF
64521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64522 _ACEOF
64523
64524 fi
64525 done
64526
64527 fi
64528 fi
64529
64530
64531
64532
64533
64534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64535 $as_echo_n "checking for long double round functions... " >&6; }
64536 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64537 $as_echo_n "(cached) " >&6
64538 else
64539
64540
64541 ac_ext=cpp
64542 ac_cpp='$CXXCPP $CPPFLAGS'
64543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64546
64547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64548 /* end confdefs.h. */
64549 #include <math.h>
64550 int
64551 main ()
64552 {
64553 ceill (0); floorl (0);
64554 ;
64555 return 0;
64556 }
64557 _ACEOF
64558 if ac_fn_cxx_try_compile "$LINENO"; then :
64559 glibcxx_cv_func_long_double_round_use=yes
64560 else
64561 glibcxx_cv_func_long_double_round_use=no
64562 fi
64563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64564 ac_ext=c
64565 ac_cpp='$CPP $CPPFLAGS'
64566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64569
64570 fi
64571
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64573 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64574 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64575 for ac_func in ceill floorl
64576 do :
64577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64580 cat >>confdefs.h <<_ACEOF
64581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64582 _ACEOF
64583
64584 fi
64585 done
64586
64587 else
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64589 $as_echo_n "checking for _long double round functions... " >&6; }
64590 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64593
64594
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64600
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <math.h>
64604 int
64605 main ()
64606 {
64607 _ceill (0); _floorl (0);
64608 ;
64609 return 0;
64610 }
64611 _ACEOF
64612 if ac_fn_cxx_try_compile "$LINENO"; then :
64613 glibcxx_cv_func__long_double_round_use=yes
64614 else
64615 glibcxx_cv_func__long_double_round_use=no
64616 fi
64617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64618 ac_ext=c
64619 ac_cpp='$CPP $CPPFLAGS'
64620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64623
64624 fi
64625
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64627 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64628 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64629 for ac_func in _ceill _floorl
64630 do :
64631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64636 _ACEOF
64637
64638 fi
64639 done
64640
64641 fi
64642 fi
64643
64644
64645
64646
64647
64648
64649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64650 $as_echo_n "checking for isnanl declaration... " >&6; }
64651 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64652 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64653 $as_echo_n "(cached) " >&6
64654 else
64655
64656
64657 ac_ext=cpp
64658 ac_cpp='$CXXCPP $CPPFLAGS'
64659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64662
64663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64664 /* end confdefs.h. */
64665 #include <math.h>
64666 #ifdef HAVE_IEEEFP_H
64667 #include <ieeefp.h>
64668 #endif
64669
64670 int
64671 main ()
64672 {
64673 isnanl(0);
64674 ;
64675 return 0;
64676 }
64677 _ACEOF
64678 if ac_fn_cxx_try_compile "$LINENO"; then :
64679 glibcxx_cv_func_isnanl_use=yes
64680 else
64681 glibcxx_cv_func_isnanl_use=no
64682 fi
64683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64684 ac_ext=c
64685 ac_cpp='$CPP $CPPFLAGS'
64686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64689
64690
64691 fi
64692
64693 fi
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64695 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64696
64697 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64698 for ac_func in isnanl
64699 do :
64700 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64701 if test "x$ac_cv_func_isnanl" = xyes; then :
64702 cat >>confdefs.h <<_ACEOF
64703 #define HAVE_ISNANL 1
64704 _ACEOF
64705
64706 fi
64707 done
64708
64709 else
64710
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64712 $as_echo_n "checking for _isnanl declaration... " >&6; }
64713 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64714 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64715 $as_echo_n "(cached) " >&6
64716 else
64717
64718
64719 ac_ext=cpp
64720 ac_cpp='$CXXCPP $CPPFLAGS'
64721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724
64725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64726 /* end confdefs.h. */
64727 #include <math.h>
64728 #ifdef HAVE_IEEEFP_H
64729 #include <ieeefp.h>
64730 #endif
64731
64732 int
64733 main ()
64734 {
64735 _isnanl(0);
64736 ;
64737 return 0;
64738 }
64739 _ACEOF
64740 if ac_fn_cxx_try_compile "$LINENO"; then :
64741 glibcxx_cv_func__isnanl_use=yes
64742 else
64743 glibcxx_cv_func__isnanl_use=no
64744 fi
64745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64746 ac_ext=c
64747 ac_cpp='$CPP $CPPFLAGS'
64748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64751
64752
64753 fi
64754
64755 fi
64756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64757 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64758
64759 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64760 for ac_func in _isnanl
64761 do :
64762 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64763 if test "x$ac_cv_func__isnanl" = xyes; then :
64764 cat >>confdefs.h <<_ACEOF
64765 #define HAVE__ISNANL 1
64766 _ACEOF
64767
64768 fi
64769 done
64770
64771 fi
64772 fi
64773
64774
64775
64776
64777
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64779 $as_echo_n "checking for isinfl declaration... " >&6; }
64780 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64781 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64782 $as_echo_n "(cached) " >&6
64783 else
64784
64785
64786 ac_ext=cpp
64787 ac_cpp='$CXXCPP $CPPFLAGS'
64788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791
64792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h. */
64794 #include <math.h>
64795 #ifdef HAVE_IEEEFP_H
64796 #include <ieeefp.h>
64797 #endif
64798
64799 int
64800 main ()
64801 {
64802 isinfl(0);
64803 ;
64804 return 0;
64805 }
64806 _ACEOF
64807 if ac_fn_cxx_try_compile "$LINENO"; then :
64808 glibcxx_cv_func_isinfl_use=yes
64809 else
64810 glibcxx_cv_func_isinfl_use=no
64811 fi
64812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64813 ac_ext=c
64814 ac_cpp='$CPP $CPPFLAGS'
64815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64818
64819
64820 fi
64821
64822 fi
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64824 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64825
64826 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64827 for ac_func in isinfl
64828 do :
64829 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64830 if test "x$ac_cv_func_isinfl" = xyes; then :
64831 cat >>confdefs.h <<_ACEOF
64832 #define HAVE_ISINFL 1
64833 _ACEOF
64834
64835 fi
64836 done
64837
64838 else
64839
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64841 $as_echo_n "checking for _isinfl declaration... " >&6; }
64842 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64843 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64844 $as_echo_n "(cached) " >&6
64845 else
64846
64847
64848 ac_ext=cpp
64849 ac_cpp='$CXXCPP $CPPFLAGS'
64850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64853
64854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64855 /* end confdefs.h. */
64856 #include <math.h>
64857 #ifdef HAVE_IEEEFP_H
64858 #include <ieeefp.h>
64859 #endif
64860
64861 int
64862 main ()
64863 {
64864 _isinfl(0);
64865 ;
64866 return 0;
64867 }
64868 _ACEOF
64869 if ac_fn_cxx_try_compile "$LINENO"; then :
64870 glibcxx_cv_func__isinfl_use=yes
64871 else
64872 glibcxx_cv_func__isinfl_use=no
64873 fi
64874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64875 ac_ext=c
64876 ac_cpp='$CPP $CPPFLAGS'
64877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64880
64881
64882 fi
64883
64884 fi
64885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64886 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64887
64888 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64889 for ac_func in _isinfl
64890 do :
64891 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64892 if test "x$ac_cv_func__isinfl" = xyes; then :
64893 cat >>confdefs.h <<_ACEOF
64894 #define HAVE__ISINFL 1
64895 _ACEOF
64896
64897 fi
64898 done
64899
64900 fi
64901 fi
64902
64903
64904
64905
64906
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64908 $as_echo_n "checking for atan2l declaration... " >&6; }
64909 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64910 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64911 $as_echo_n "(cached) " >&6
64912 else
64913
64914
64915 ac_ext=cpp
64916 ac_cpp='$CXXCPP $CPPFLAGS'
64917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64920
64921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64922 /* end confdefs.h. */
64923 #include <math.h>
64924 int
64925 main ()
64926 {
64927 atan2l(0, 0);
64928 ;
64929 return 0;
64930 }
64931 _ACEOF
64932 if ac_fn_cxx_try_compile "$LINENO"; then :
64933 glibcxx_cv_func_atan2l_use=yes
64934 else
64935 glibcxx_cv_func_atan2l_use=no
64936 fi
64937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64938 ac_ext=c
64939 ac_cpp='$CPP $CPPFLAGS'
64940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64943
64944
64945 fi
64946
64947 fi
64948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64949 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64950
64951 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64952 for ac_func in atan2l
64953 do :
64954 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64955 if test "x$ac_cv_func_atan2l" = xyes; then :
64956 cat >>confdefs.h <<_ACEOF
64957 #define HAVE_ATAN2L 1
64958 _ACEOF
64959
64960 fi
64961 done
64962
64963 else
64964
64965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64966 $as_echo_n "checking for _atan2l declaration... " >&6; }
64967 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64968 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64969 $as_echo_n "(cached) " >&6
64970 else
64971
64972
64973 ac_ext=cpp
64974 ac_cpp='$CXXCPP $CPPFLAGS'
64975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64978
64979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64980 /* end confdefs.h. */
64981 #include <math.h>
64982 int
64983 main ()
64984 {
64985 _atan2l(0, 0);
64986 ;
64987 return 0;
64988 }
64989 _ACEOF
64990 if ac_fn_cxx_try_compile "$LINENO"; then :
64991 glibcxx_cv_func__atan2l_use=yes
64992 else
64993 glibcxx_cv_func__atan2l_use=no
64994 fi
64995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64996 ac_ext=c
64997 ac_cpp='$CPP $CPPFLAGS'
64998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65001
65002
65003 fi
65004
65005 fi
65006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65007 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65008
65009 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65010 for ac_func in _atan2l
65011 do :
65012 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65013 if test "x$ac_cv_func__atan2l" = xyes; then :
65014 cat >>confdefs.h <<_ACEOF
65015 #define HAVE__ATAN2L 1
65016 _ACEOF
65017
65018 fi
65019 done
65020
65021 fi
65022 fi
65023
65024
65025
65026
65027
65028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65029 $as_echo_n "checking for expl declaration... " >&6; }
65030 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65031 if ${glibcxx_cv_func_expl_use+:} false; then :
65032 $as_echo_n "(cached) " >&6
65033 else
65034
65035
65036 ac_ext=cpp
65037 ac_cpp='$CXXCPP $CPPFLAGS'
65038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65041
65042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65043 /* end confdefs.h. */
65044 #include <math.h>
65045 #ifdef HAVE_IEEEFP_H
65046 #include <ieeefp.h>
65047 #endif
65048
65049 int
65050 main ()
65051 {
65052 expl(0);
65053 ;
65054 return 0;
65055 }
65056 _ACEOF
65057 if ac_fn_cxx_try_compile "$LINENO"; then :
65058 glibcxx_cv_func_expl_use=yes
65059 else
65060 glibcxx_cv_func_expl_use=no
65061 fi
65062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65063 ac_ext=c
65064 ac_cpp='$CPP $CPPFLAGS'
65065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65068
65069
65070 fi
65071
65072 fi
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65074 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65075
65076 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65077 for ac_func in expl
65078 do :
65079 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65080 if test "x$ac_cv_func_expl" = xyes; then :
65081 cat >>confdefs.h <<_ACEOF
65082 #define HAVE_EXPL 1
65083 _ACEOF
65084
65085 fi
65086 done
65087
65088 else
65089
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65091 $as_echo_n "checking for _expl declaration... " >&6; }
65092 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65093 if ${glibcxx_cv_func__expl_use+:} false; then :
65094 $as_echo_n "(cached) " >&6
65095 else
65096
65097
65098 ac_ext=cpp
65099 ac_cpp='$CXXCPP $CPPFLAGS'
65100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103
65104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65105 /* end confdefs.h. */
65106 #include <math.h>
65107 #ifdef HAVE_IEEEFP_H
65108 #include <ieeefp.h>
65109 #endif
65110
65111 int
65112 main ()
65113 {
65114 _expl(0);
65115 ;
65116 return 0;
65117 }
65118 _ACEOF
65119 if ac_fn_cxx_try_compile "$LINENO"; then :
65120 glibcxx_cv_func__expl_use=yes
65121 else
65122 glibcxx_cv_func__expl_use=no
65123 fi
65124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65125 ac_ext=c
65126 ac_cpp='$CPP $CPPFLAGS'
65127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65130
65131
65132 fi
65133
65134 fi
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65136 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65137
65138 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65139 for ac_func in _expl
65140 do :
65141 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65142 if test "x$ac_cv_func__expl" = xyes; then :
65143 cat >>confdefs.h <<_ACEOF
65144 #define HAVE__EXPL 1
65145 _ACEOF
65146
65147 fi
65148 done
65149
65150 fi
65151 fi
65152
65153
65154
65155
65156
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65158 $as_echo_n "checking for fabsl declaration... " >&6; }
65159 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65160 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65161 $as_echo_n "(cached) " >&6
65162 else
65163
65164
65165 ac_ext=cpp
65166 ac_cpp='$CXXCPP $CPPFLAGS'
65167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65170
65171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65172 /* end confdefs.h. */
65173 #include <math.h>
65174 #ifdef HAVE_IEEEFP_H
65175 #include <ieeefp.h>
65176 #endif
65177
65178 int
65179 main ()
65180 {
65181 fabsl(0);
65182 ;
65183 return 0;
65184 }
65185 _ACEOF
65186 if ac_fn_cxx_try_compile "$LINENO"; then :
65187 glibcxx_cv_func_fabsl_use=yes
65188 else
65189 glibcxx_cv_func_fabsl_use=no
65190 fi
65191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65192 ac_ext=c
65193 ac_cpp='$CPP $CPPFLAGS'
65194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65197
65198
65199 fi
65200
65201 fi
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65203 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65204
65205 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65206 for ac_func in fabsl
65207 do :
65208 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65209 if test "x$ac_cv_func_fabsl" = xyes; then :
65210 cat >>confdefs.h <<_ACEOF
65211 #define HAVE_FABSL 1
65212 _ACEOF
65213
65214 fi
65215 done
65216
65217 else
65218
65219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65220 $as_echo_n "checking for _fabsl declaration... " >&6; }
65221 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65222 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65223 $as_echo_n "(cached) " >&6
65224 else
65225
65226
65227 ac_ext=cpp
65228 ac_cpp='$CXXCPP $CPPFLAGS'
65229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65232
65233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65234 /* end confdefs.h. */
65235 #include <math.h>
65236 #ifdef HAVE_IEEEFP_H
65237 #include <ieeefp.h>
65238 #endif
65239
65240 int
65241 main ()
65242 {
65243 _fabsl(0);
65244 ;
65245 return 0;
65246 }
65247 _ACEOF
65248 if ac_fn_cxx_try_compile "$LINENO"; then :
65249 glibcxx_cv_func__fabsl_use=yes
65250 else
65251 glibcxx_cv_func__fabsl_use=no
65252 fi
65253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65254 ac_ext=c
65255 ac_cpp='$CPP $CPPFLAGS'
65256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65259
65260
65261 fi
65262
65263 fi
65264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65265 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65266
65267 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65268 for ac_func in _fabsl
65269 do :
65270 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65271 if test "x$ac_cv_func__fabsl" = xyes; then :
65272 cat >>confdefs.h <<_ACEOF
65273 #define HAVE__FABSL 1
65274 _ACEOF
65275
65276 fi
65277 done
65278
65279 fi
65280 fi
65281
65282
65283
65284
65285
65286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65287 $as_echo_n "checking for fmodl declaration... " >&6; }
65288 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65289 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65290 $as_echo_n "(cached) " >&6
65291 else
65292
65293
65294 ac_ext=cpp
65295 ac_cpp='$CXXCPP $CPPFLAGS'
65296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65299
65300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65301 /* end confdefs.h. */
65302 #include <math.h>
65303 int
65304 main ()
65305 {
65306 fmodl(0, 0);
65307 ;
65308 return 0;
65309 }
65310 _ACEOF
65311 if ac_fn_cxx_try_compile "$LINENO"; then :
65312 glibcxx_cv_func_fmodl_use=yes
65313 else
65314 glibcxx_cv_func_fmodl_use=no
65315 fi
65316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65317 ac_ext=c
65318 ac_cpp='$CPP $CPPFLAGS'
65319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65322
65323
65324 fi
65325
65326 fi
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65328 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65329
65330 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65331 for ac_func in fmodl
65332 do :
65333 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65334 if test "x$ac_cv_func_fmodl" = xyes; then :
65335 cat >>confdefs.h <<_ACEOF
65336 #define HAVE_FMODL 1
65337 _ACEOF
65338
65339 fi
65340 done
65341
65342 else
65343
65344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65345 $as_echo_n "checking for _fmodl declaration... " >&6; }
65346 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65347 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65348 $as_echo_n "(cached) " >&6
65349 else
65350
65351
65352 ac_ext=cpp
65353 ac_cpp='$CXXCPP $CPPFLAGS'
65354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65357
65358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65359 /* end confdefs.h. */
65360 #include <math.h>
65361 int
65362 main ()
65363 {
65364 _fmodl(0, 0);
65365 ;
65366 return 0;
65367 }
65368 _ACEOF
65369 if ac_fn_cxx_try_compile "$LINENO"; then :
65370 glibcxx_cv_func__fmodl_use=yes
65371 else
65372 glibcxx_cv_func__fmodl_use=no
65373 fi
65374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65375 ac_ext=c
65376 ac_cpp='$CPP $CPPFLAGS'
65377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65380
65381
65382 fi
65383
65384 fi
65385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65386 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65387
65388 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65389 for ac_func in _fmodl
65390 do :
65391 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65392 if test "x$ac_cv_func__fmodl" = xyes; then :
65393 cat >>confdefs.h <<_ACEOF
65394 #define HAVE__FMODL 1
65395 _ACEOF
65396
65397 fi
65398 done
65399
65400 fi
65401 fi
65402
65403
65404
65405
65406
65407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65408 $as_echo_n "checking for frexpl declaration... " >&6; }
65409 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65410 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65411 $as_echo_n "(cached) " >&6
65412 else
65413
65414
65415 ac_ext=cpp
65416 ac_cpp='$CXXCPP $CPPFLAGS'
65417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65420
65421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65422 /* end confdefs.h. */
65423 #include <math.h>
65424 int
65425 main ()
65426 {
65427 frexpl(0, 0);
65428 ;
65429 return 0;
65430 }
65431 _ACEOF
65432 if ac_fn_cxx_try_compile "$LINENO"; then :
65433 glibcxx_cv_func_frexpl_use=yes
65434 else
65435 glibcxx_cv_func_frexpl_use=no
65436 fi
65437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65438 ac_ext=c
65439 ac_cpp='$CPP $CPPFLAGS'
65440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65443
65444
65445 fi
65446
65447 fi
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65449 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65450
65451 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65452 for ac_func in frexpl
65453 do :
65454 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65455 if test "x$ac_cv_func_frexpl" = xyes; then :
65456 cat >>confdefs.h <<_ACEOF
65457 #define HAVE_FREXPL 1
65458 _ACEOF
65459
65460 fi
65461 done
65462
65463 else
65464
65465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65466 $as_echo_n "checking for _frexpl declaration... " >&6; }
65467 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65468 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65469 $as_echo_n "(cached) " >&6
65470 else
65471
65472
65473 ac_ext=cpp
65474 ac_cpp='$CXXCPP $CPPFLAGS'
65475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65478
65479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65480 /* end confdefs.h. */
65481 #include <math.h>
65482 int
65483 main ()
65484 {
65485 _frexpl(0, 0);
65486 ;
65487 return 0;
65488 }
65489 _ACEOF
65490 if ac_fn_cxx_try_compile "$LINENO"; then :
65491 glibcxx_cv_func__frexpl_use=yes
65492 else
65493 glibcxx_cv_func__frexpl_use=no
65494 fi
65495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65496 ac_ext=c
65497 ac_cpp='$CPP $CPPFLAGS'
65498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65501
65502
65503 fi
65504
65505 fi
65506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65507 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65508
65509 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65510 for ac_func in _frexpl
65511 do :
65512 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65513 if test "x$ac_cv_func__frexpl" = xyes; then :
65514 cat >>confdefs.h <<_ACEOF
65515 #define HAVE__FREXPL 1
65516 _ACEOF
65517
65518 fi
65519 done
65520
65521 fi
65522 fi
65523
65524
65525
65526
65527
65528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65529 $as_echo_n "checking for hypotl declaration... " >&6; }
65530 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65531 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65532 $as_echo_n "(cached) " >&6
65533 else
65534
65535
65536 ac_ext=cpp
65537 ac_cpp='$CXXCPP $CPPFLAGS'
65538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65541
65542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65543 /* end confdefs.h. */
65544 #include <math.h>
65545 int
65546 main ()
65547 {
65548 hypotl(0, 0);
65549 ;
65550 return 0;
65551 }
65552 _ACEOF
65553 if ac_fn_cxx_try_compile "$LINENO"; then :
65554 glibcxx_cv_func_hypotl_use=yes
65555 else
65556 glibcxx_cv_func_hypotl_use=no
65557 fi
65558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65559 ac_ext=c
65560 ac_cpp='$CPP $CPPFLAGS'
65561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65564
65565
65566 fi
65567
65568 fi
65569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65570 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65571
65572 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65573 for ac_func in hypotl
65574 do :
65575 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65576 if test "x$ac_cv_func_hypotl" = xyes; then :
65577 cat >>confdefs.h <<_ACEOF
65578 #define HAVE_HYPOTL 1
65579 _ACEOF
65580
65581 fi
65582 done
65583
65584 else
65585
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65587 $as_echo_n "checking for _hypotl declaration... " >&6; }
65588 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65589 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65590 $as_echo_n "(cached) " >&6
65591 else
65592
65593
65594 ac_ext=cpp
65595 ac_cpp='$CXXCPP $CPPFLAGS'
65596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65599
65600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65601 /* end confdefs.h. */
65602 #include <math.h>
65603 int
65604 main ()
65605 {
65606 _hypotl(0, 0);
65607 ;
65608 return 0;
65609 }
65610 _ACEOF
65611 if ac_fn_cxx_try_compile "$LINENO"; then :
65612 glibcxx_cv_func__hypotl_use=yes
65613 else
65614 glibcxx_cv_func__hypotl_use=no
65615 fi
65616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65617 ac_ext=c
65618 ac_cpp='$CPP $CPPFLAGS'
65619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65622
65623
65624 fi
65625
65626 fi
65627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65628 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65629
65630 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65631 for ac_func in _hypotl
65632 do :
65633 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65634 if test "x$ac_cv_func__hypotl" = xyes; then :
65635 cat >>confdefs.h <<_ACEOF
65636 #define HAVE__HYPOTL 1
65637 _ACEOF
65638
65639 fi
65640 done
65641
65642 fi
65643 fi
65644
65645
65646
65647
65648
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65650 $as_echo_n "checking for ldexpl declaration... " >&6; }
65651 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65652 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65653 $as_echo_n "(cached) " >&6
65654 else
65655
65656
65657 ac_ext=cpp
65658 ac_cpp='$CXXCPP $CPPFLAGS'
65659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65662
65663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65664 /* end confdefs.h. */
65665 #include <math.h>
65666 int
65667 main ()
65668 {
65669 ldexpl(0, 0);
65670 ;
65671 return 0;
65672 }
65673 _ACEOF
65674 if ac_fn_cxx_try_compile "$LINENO"; then :
65675 glibcxx_cv_func_ldexpl_use=yes
65676 else
65677 glibcxx_cv_func_ldexpl_use=no
65678 fi
65679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65680 ac_ext=c
65681 ac_cpp='$CPP $CPPFLAGS'
65682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65685
65686
65687 fi
65688
65689 fi
65690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65691 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65692
65693 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65694 for ac_func in ldexpl
65695 do :
65696 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65697 if test "x$ac_cv_func_ldexpl" = xyes; then :
65698 cat >>confdefs.h <<_ACEOF
65699 #define HAVE_LDEXPL 1
65700 _ACEOF
65701
65702 fi
65703 done
65704
65705 else
65706
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65708 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65709 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65710 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65711 $as_echo_n "(cached) " >&6
65712 else
65713
65714
65715 ac_ext=cpp
65716 ac_cpp='$CXXCPP $CPPFLAGS'
65717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65720
65721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65722 /* end confdefs.h. */
65723 #include <math.h>
65724 int
65725 main ()
65726 {
65727 _ldexpl(0, 0);
65728 ;
65729 return 0;
65730 }
65731 _ACEOF
65732 if ac_fn_cxx_try_compile "$LINENO"; then :
65733 glibcxx_cv_func__ldexpl_use=yes
65734 else
65735 glibcxx_cv_func__ldexpl_use=no
65736 fi
65737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65738 ac_ext=c
65739 ac_cpp='$CPP $CPPFLAGS'
65740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65743
65744
65745 fi
65746
65747 fi
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65749 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65750
65751 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65752 for ac_func in _ldexpl
65753 do :
65754 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65755 if test "x$ac_cv_func__ldexpl" = xyes; then :
65756 cat >>confdefs.h <<_ACEOF
65757 #define HAVE__LDEXPL 1
65758 _ACEOF
65759
65760 fi
65761 done
65762
65763 fi
65764 fi
65765
65766
65767
65768
65769
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65771 $as_echo_n "checking for logl declaration... " >&6; }
65772 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65773 if ${glibcxx_cv_func_logl_use+:} false; then :
65774 $as_echo_n "(cached) " >&6
65775 else
65776
65777
65778 ac_ext=cpp
65779 ac_cpp='$CXXCPP $CPPFLAGS'
65780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65783
65784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65785 /* end confdefs.h. */
65786 #include <math.h>
65787 #ifdef HAVE_IEEEFP_H
65788 #include <ieeefp.h>
65789 #endif
65790
65791 int
65792 main ()
65793 {
65794 logl(0);
65795 ;
65796 return 0;
65797 }
65798 _ACEOF
65799 if ac_fn_cxx_try_compile "$LINENO"; then :
65800 glibcxx_cv_func_logl_use=yes
65801 else
65802 glibcxx_cv_func_logl_use=no
65803 fi
65804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65805 ac_ext=c
65806 ac_cpp='$CPP $CPPFLAGS'
65807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65810
65811
65812 fi
65813
65814 fi
65815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65816 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65817
65818 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65819 for ac_func in logl
65820 do :
65821 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65822 if test "x$ac_cv_func_logl" = xyes; then :
65823 cat >>confdefs.h <<_ACEOF
65824 #define HAVE_LOGL 1
65825 _ACEOF
65826
65827 fi
65828 done
65829
65830 else
65831
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65833 $as_echo_n "checking for _logl declaration... " >&6; }
65834 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65835 if ${glibcxx_cv_func__logl_use+:} false; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65838
65839
65840 ac_ext=cpp
65841 ac_cpp='$CXXCPP $CPPFLAGS'
65842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845
65846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65847 /* end confdefs.h. */
65848 #include <math.h>
65849 #ifdef HAVE_IEEEFP_H
65850 #include <ieeefp.h>
65851 #endif
65852
65853 int
65854 main ()
65855 {
65856 _logl(0);
65857 ;
65858 return 0;
65859 }
65860 _ACEOF
65861 if ac_fn_cxx_try_compile "$LINENO"; then :
65862 glibcxx_cv_func__logl_use=yes
65863 else
65864 glibcxx_cv_func__logl_use=no
65865 fi
65866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65867 ac_ext=c
65868 ac_cpp='$CPP $CPPFLAGS'
65869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65872
65873
65874 fi
65875
65876 fi
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65878 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65879
65880 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65881 for ac_func in _logl
65882 do :
65883 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65884 if test "x$ac_cv_func__logl" = xyes; then :
65885 cat >>confdefs.h <<_ACEOF
65886 #define HAVE__LOGL 1
65887 _ACEOF
65888
65889 fi
65890 done
65891
65892 fi
65893 fi
65894
65895
65896
65897
65898
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65900 $as_echo_n "checking for log10l declaration... " >&6; }
65901 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65902 if ${glibcxx_cv_func_log10l_use+:} false; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65905
65906
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65912
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <math.h>
65916 #ifdef HAVE_IEEEFP_H
65917 #include <ieeefp.h>
65918 #endif
65919
65920 int
65921 main ()
65922 {
65923 log10l(0);
65924 ;
65925 return 0;
65926 }
65927 _ACEOF
65928 if ac_fn_cxx_try_compile "$LINENO"; then :
65929 glibcxx_cv_func_log10l_use=yes
65930 else
65931 glibcxx_cv_func_log10l_use=no
65932 fi
65933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65934 ac_ext=c
65935 ac_cpp='$CPP $CPPFLAGS'
65936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65939
65940
65941 fi
65942
65943 fi
65944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65945 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65946
65947 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65948 for ac_func in log10l
65949 do :
65950 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65951 if test "x$ac_cv_func_log10l" = xyes; then :
65952 cat >>confdefs.h <<_ACEOF
65953 #define HAVE_LOG10L 1
65954 _ACEOF
65955
65956 fi
65957 done
65958
65959 else
65960
65961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65962 $as_echo_n "checking for _log10l declaration... " >&6; }
65963 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65964 if ${glibcxx_cv_func__log10l_use+:} false; then :
65965 $as_echo_n "(cached) " >&6
65966 else
65967
65968
65969 ac_ext=cpp
65970 ac_cpp='$CXXCPP $CPPFLAGS'
65971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65974
65975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65976 /* end confdefs.h. */
65977 #include <math.h>
65978 #ifdef HAVE_IEEEFP_H
65979 #include <ieeefp.h>
65980 #endif
65981
65982 int
65983 main ()
65984 {
65985 _log10l(0);
65986 ;
65987 return 0;
65988 }
65989 _ACEOF
65990 if ac_fn_cxx_try_compile "$LINENO"; then :
65991 glibcxx_cv_func__log10l_use=yes
65992 else
65993 glibcxx_cv_func__log10l_use=no
65994 fi
65995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65996 ac_ext=c
65997 ac_cpp='$CPP $CPPFLAGS'
65998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66001
66002
66003 fi
66004
66005 fi
66006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66007 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66008
66009 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66010 for ac_func in _log10l
66011 do :
66012 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66013 if test "x$ac_cv_func__log10l" = xyes; then :
66014 cat >>confdefs.h <<_ACEOF
66015 #define HAVE__LOG10L 1
66016 _ACEOF
66017
66018 fi
66019 done
66020
66021 fi
66022 fi
66023
66024
66025
66026
66027
66028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66029 $as_echo_n "checking for modfl declaration... " >&6; }
66030 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66031 if ${glibcxx_cv_func_modfl_use+:} false; then :
66032 $as_echo_n "(cached) " >&6
66033 else
66034
66035
66036 ac_ext=cpp
66037 ac_cpp='$CXXCPP $CPPFLAGS'
66038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66041
66042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66043 /* end confdefs.h. */
66044 #include <math.h>
66045 int
66046 main ()
66047 {
66048 modfl(0, 0);
66049 ;
66050 return 0;
66051 }
66052 _ACEOF
66053 if ac_fn_cxx_try_compile "$LINENO"; then :
66054 glibcxx_cv_func_modfl_use=yes
66055 else
66056 glibcxx_cv_func_modfl_use=no
66057 fi
66058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66059 ac_ext=c
66060 ac_cpp='$CPP $CPPFLAGS'
66061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66064
66065
66066 fi
66067
66068 fi
66069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66070 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66071
66072 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66073 for ac_func in modfl
66074 do :
66075 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66076 if test "x$ac_cv_func_modfl" = xyes; then :
66077 cat >>confdefs.h <<_ACEOF
66078 #define HAVE_MODFL 1
66079 _ACEOF
66080
66081 fi
66082 done
66083
66084 else
66085
66086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66087 $as_echo_n "checking for _modfl declaration... " >&6; }
66088 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66089 if ${glibcxx_cv_func__modfl_use+:} false; then :
66090 $as_echo_n "(cached) " >&6
66091 else
66092
66093
66094 ac_ext=cpp
66095 ac_cpp='$CXXCPP $CPPFLAGS'
66096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66099
66100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66101 /* end confdefs.h. */
66102 #include <math.h>
66103 int
66104 main ()
66105 {
66106 _modfl(0, 0);
66107 ;
66108 return 0;
66109 }
66110 _ACEOF
66111 if ac_fn_cxx_try_compile "$LINENO"; then :
66112 glibcxx_cv_func__modfl_use=yes
66113 else
66114 glibcxx_cv_func__modfl_use=no
66115 fi
66116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66117 ac_ext=c
66118 ac_cpp='$CPP $CPPFLAGS'
66119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66122
66123
66124 fi
66125
66126 fi
66127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66128 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66129
66130 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66131 for ac_func in _modfl
66132 do :
66133 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66134 if test "x$ac_cv_func__modfl" = xyes; then :
66135 cat >>confdefs.h <<_ACEOF
66136 #define HAVE__MODFL 1
66137 _ACEOF
66138
66139 fi
66140 done
66141
66142 fi
66143 fi
66144
66145
66146
66147
66148
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66150 $as_echo_n "checking for powl declaration... " >&6; }
66151 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66152 if ${glibcxx_cv_func_powl_use+:} false; then :
66153 $as_echo_n "(cached) " >&6
66154 else
66155
66156
66157 ac_ext=cpp
66158 ac_cpp='$CXXCPP $CPPFLAGS'
66159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66162
66163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66164 /* end confdefs.h. */
66165 #include <math.h>
66166 int
66167 main ()
66168 {
66169 powl(0, 0);
66170 ;
66171 return 0;
66172 }
66173 _ACEOF
66174 if ac_fn_cxx_try_compile "$LINENO"; then :
66175 glibcxx_cv_func_powl_use=yes
66176 else
66177 glibcxx_cv_func_powl_use=no
66178 fi
66179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66180 ac_ext=c
66181 ac_cpp='$CPP $CPPFLAGS'
66182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66185
66186
66187 fi
66188
66189 fi
66190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66191 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66192
66193 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66194 for ac_func in powl
66195 do :
66196 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66197 if test "x$ac_cv_func_powl" = xyes; then :
66198 cat >>confdefs.h <<_ACEOF
66199 #define HAVE_POWL 1
66200 _ACEOF
66201
66202 fi
66203 done
66204
66205 else
66206
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66208 $as_echo_n "checking for _powl declaration... " >&6; }
66209 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66210 if ${glibcxx_cv_func__powl_use+:} false; then :
66211 $as_echo_n "(cached) " >&6
66212 else
66213
66214
66215 ac_ext=cpp
66216 ac_cpp='$CXXCPP $CPPFLAGS'
66217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66220
66221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66222 /* end confdefs.h. */
66223 #include <math.h>
66224 int
66225 main ()
66226 {
66227 _powl(0, 0);
66228 ;
66229 return 0;
66230 }
66231 _ACEOF
66232 if ac_fn_cxx_try_compile "$LINENO"; then :
66233 glibcxx_cv_func__powl_use=yes
66234 else
66235 glibcxx_cv_func__powl_use=no
66236 fi
66237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66238 ac_ext=c
66239 ac_cpp='$CPP $CPPFLAGS'
66240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66243
66244
66245 fi
66246
66247 fi
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66249 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66250
66251 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66252 for ac_func in _powl
66253 do :
66254 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66255 if test "x$ac_cv_func__powl" = xyes; then :
66256 cat >>confdefs.h <<_ACEOF
66257 #define HAVE__POWL 1
66258 _ACEOF
66259
66260 fi
66261 done
66262
66263 fi
66264 fi
66265
66266
66267
66268
66269
66270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66271 $as_echo_n "checking for sqrtl declaration... " >&6; }
66272 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66273 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66274 $as_echo_n "(cached) " >&6
66275 else
66276
66277
66278 ac_ext=cpp
66279 ac_cpp='$CXXCPP $CPPFLAGS'
66280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66283
66284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66285 /* end confdefs.h. */
66286 #include <math.h>
66287 #ifdef HAVE_IEEEFP_H
66288 #include <ieeefp.h>
66289 #endif
66290
66291 int
66292 main ()
66293 {
66294 sqrtl(0);
66295 ;
66296 return 0;
66297 }
66298 _ACEOF
66299 if ac_fn_cxx_try_compile "$LINENO"; then :
66300 glibcxx_cv_func_sqrtl_use=yes
66301 else
66302 glibcxx_cv_func_sqrtl_use=no
66303 fi
66304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66305 ac_ext=c
66306 ac_cpp='$CPP $CPPFLAGS'
66307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66310
66311
66312 fi
66313
66314 fi
66315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66316 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66317
66318 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66319 for ac_func in sqrtl
66320 do :
66321 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66322 if test "x$ac_cv_func_sqrtl" = xyes; then :
66323 cat >>confdefs.h <<_ACEOF
66324 #define HAVE_SQRTL 1
66325 _ACEOF
66326
66327 fi
66328 done
66329
66330 else
66331
66332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66333 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66334 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66335 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66336 $as_echo_n "(cached) " >&6
66337 else
66338
66339
66340 ac_ext=cpp
66341 ac_cpp='$CXXCPP $CPPFLAGS'
66342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66345
66346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66347 /* end confdefs.h. */
66348 #include <math.h>
66349 #ifdef HAVE_IEEEFP_H
66350 #include <ieeefp.h>
66351 #endif
66352
66353 int
66354 main ()
66355 {
66356 _sqrtl(0);
66357 ;
66358 return 0;
66359 }
66360 _ACEOF
66361 if ac_fn_cxx_try_compile "$LINENO"; then :
66362 glibcxx_cv_func__sqrtl_use=yes
66363 else
66364 glibcxx_cv_func__sqrtl_use=no
66365 fi
66366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66367 ac_ext=c
66368 ac_cpp='$CPP $CPPFLAGS'
66369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66372
66373
66374 fi
66375
66376 fi
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66378 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66379
66380 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66381 for ac_func in _sqrtl
66382 do :
66383 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66384 if test "x$ac_cv_func__sqrtl" = xyes; then :
66385 cat >>confdefs.h <<_ACEOF
66386 #define HAVE__SQRTL 1
66387 _ACEOF
66388
66389 fi
66390 done
66391
66392 fi
66393 fi
66394
66395
66396
66397
66398
66399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66400 $as_echo_n "checking for sincosl declaration... " >&6; }
66401 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66402 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66403 $as_echo_n "(cached) " >&6
66404 else
66405
66406
66407 ac_ext=cpp
66408 ac_cpp='$CXXCPP $CPPFLAGS'
66409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66412
66413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66414 /* end confdefs.h. */
66415 #include <math.h>
66416 int
66417 main ()
66418 {
66419 sincosl(0, 0, 0);
66420 ;
66421 return 0;
66422 }
66423 _ACEOF
66424 if ac_fn_cxx_try_compile "$LINENO"; then :
66425 glibcxx_cv_func_sincosl_use=yes
66426 else
66427 glibcxx_cv_func_sincosl_use=no
66428 fi
66429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66430 ac_ext=c
66431 ac_cpp='$CPP $CPPFLAGS'
66432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66435
66436
66437 fi
66438
66439 fi
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66441 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66442
66443 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66444 for ac_func in sincosl
66445 do :
66446 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66447 if test "x$ac_cv_func_sincosl" = xyes; then :
66448 cat >>confdefs.h <<_ACEOF
66449 #define HAVE_SINCOSL 1
66450 _ACEOF
66451
66452 fi
66453 done
66454
66455 else
66456
66457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66458 $as_echo_n "checking for _sincosl declaration... " >&6; }
66459 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66460 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66461 $as_echo_n "(cached) " >&6
66462 else
66463
66464
66465 ac_ext=cpp
66466 ac_cpp='$CXXCPP $CPPFLAGS'
66467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66470
66471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66472 /* end confdefs.h. */
66473 #include <math.h>
66474 int
66475 main ()
66476 {
66477 _sincosl(0, 0, 0);
66478 ;
66479 return 0;
66480 }
66481 _ACEOF
66482 if ac_fn_cxx_try_compile "$LINENO"; then :
66483 glibcxx_cv_func__sincosl_use=yes
66484 else
66485 glibcxx_cv_func__sincosl_use=no
66486 fi
66487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66488 ac_ext=c
66489 ac_cpp='$CPP $CPPFLAGS'
66490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66493
66494
66495 fi
66496
66497 fi
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66499 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66500
66501 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66502 for ac_func in _sincosl
66503 do :
66504 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66505 if test "x$ac_cv_func__sincosl" = xyes; then :
66506 cat >>confdefs.h <<_ACEOF
66507 #define HAVE__SINCOSL 1
66508 _ACEOF
66509
66510 fi
66511 done
66512
66513 fi
66514 fi
66515
66516
66517
66518
66519
66520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66521 $as_echo_n "checking for finitel declaration... " >&6; }
66522 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66523 if ${glibcxx_cv_func_finitel_use+:} false; then :
66524 $as_echo_n "(cached) " >&6
66525 else
66526
66527
66528 ac_ext=cpp
66529 ac_cpp='$CXXCPP $CPPFLAGS'
66530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66533
66534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66535 /* end confdefs.h. */
66536 #include <math.h>
66537 #ifdef HAVE_IEEEFP_H
66538 #include <ieeefp.h>
66539 #endif
66540
66541 int
66542 main ()
66543 {
66544 finitel(0);
66545 ;
66546 return 0;
66547 }
66548 _ACEOF
66549 if ac_fn_cxx_try_compile "$LINENO"; then :
66550 glibcxx_cv_func_finitel_use=yes
66551 else
66552 glibcxx_cv_func_finitel_use=no
66553 fi
66554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66555 ac_ext=c
66556 ac_cpp='$CPP $CPPFLAGS'
66557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66560
66561
66562 fi
66563
66564 fi
66565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66566 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66567
66568 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66569 for ac_func in finitel
66570 do :
66571 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66572 if test "x$ac_cv_func_finitel" = xyes; then :
66573 cat >>confdefs.h <<_ACEOF
66574 #define HAVE_FINITEL 1
66575 _ACEOF
66576
66577 fi
66578 done
66579
66580 else
66581
66582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66583 $as_echo_n "checking for _finitel declaration... " >&6; }
66584 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66585 if ${glibcxx_cv_func__finitel_use+:} false; then :
66586 $as_echo_n "(cached) " >&6
66587 else
66588
66589
66590 ac_ext=cpp
66591 ac_cpp='$CXXCPP $CPPFLAGS'
66592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66595
66596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66597 /* end confdefs.h. */
66598 #include <math.h>
66599 #ifdef HAVE_IEEEFP_H
66600 #include <ieeefp.h>
66601 #endif
66602
66603 int
66604 main ()
66605 {
66606 _finitel(0);
66607 ;
66608 return 0;
66609 }
66610 _ACEOF
66611 if ac_fn_cxx_try_compile "$LINENO"; then :
66612 glibcxx_cv_func__finitel_use=yes
66613 else
66614 glibcxx_cv_func__finitel_use=no
66615 fi
66616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66617 ac_ext=c
66618 ac_cpp='$CPP $CPPFLAGS'
66619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66622
66623
66624 fi
66625
66626 fi
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66628 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66629
66630 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66631 for ac_func in _finitel
66632 do :
66633 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66634 if test "x$ac_cv_func__finitel" = xyes; then :
66635 cat >>confdefs.h <<_ACEOF
66636 #define HAVE__FINITEL 1
66637 _ACEOF
66638
66639 fi
66640 done
66641
66642 fi
66643 fi
66644
66645
66646
66647
66648 LIBS="$ac_save_LIBS"
66649 CXXFLAGS="$ac_save_CXXFLAGS"
66650
66651
66652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66653 ac_save_CXXFLAGS="$CXXFLAGS"
66654 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66655
66656
66657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66658 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66659 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66660 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66661 $as_echo_n "(cached) " >&6
66662 else
66663
66664
66665 ac_ext=cpp
66666 ac_cpp='$CXXCPP $CPPFLAGS'
66667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66670
66671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66672 /* end confdefs.h. */
66673 #include <stdlib.h>
66674 int
66675 main ()
66676 {
66677 at_quick_exit(0);
66678 ;
66679 return 0;
66680 }
66681 _ACEOF
66682 if ac_fn_cxx_try_compile "$LINENO"; then :
66683 glibcxx_cv_func_at_quick_exit_use=yes
66684 else
66685 glibcxx_cv_func_at_quick_exit_use=no
66686 fi
66687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66693
66694
66695 fi
66696
66697 fi
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66699 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66700 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66701 for ac_func in at_quick_exit
66702 do :
66703 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66704 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66705 cat >>confdefs.h <<_ACEOF
66706 #define HAVE_AT_QUICK_EXIT 1
66707 _ACEOF
66708
66709 fi
66710 done
66711
66712 fi
66713
66714
66715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66716 $as_echo_n "checking for quick_exit declaration... " >&6; }
66717 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66718 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66719 $as_echo_n "(cached) " >&6
66720 else
66721
66722
66723 ac_ext=cpp
66724 ac_cpp='$CXXCPP $CPPFLAGS'
66725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728
66729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730 /* end confdefs.h. */
66731 #include <stdlib.h>
66732 int
66733 main ()
66734 {
66735 quick_exit(0);
66736 ;
66737 return 0;
66738 }
66739 _ACEOF
66740 if ac_fn_cxx_try_compile "$LINENO"; then :
66741 glibcxx_cv_func_quick_exit_use=yes
66742 else
66743 glibcxx_cv_func_quick_exit_use=no
66744 fi
66745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66746 ac_ext=c
66747 ac_cpp='$CPP $CPPFLAGS'
66748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66751
66752
66753 fi
66754
66755 fi
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66757 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66758 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66759 for ac_func in quick_exit
66760 do :
66761 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66762 if test "x$ac_cv_func_quick_exit" = xyes; then :
66763 cat >>confdefs.h <<_ACEOF
66764 #define HAVE_QUICK_EXIT 1
66765 _ACEOF
66766
66767 fi
66768 done
66769
66770 fi
66771
66772
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66774 $as_echo_n "checking for strtold declaration... " >&6; }
66775 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66776 if ${glibcxx_cv_func_strtold_use+:} false; then :
66777 $as_echo_n "(cached) " >&6
66778 else
66779
66780
66781 ac_ext=cpp
66782 ac_cpp='$CXXCPP $CPPFLAGS'
66783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66786
66787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66788 /* end confdefs.h. */
66789 #include <stdlib.h>
66790 int
66791 main ()
66792 {
66793 strtold(0, 0);
66794 ;
66795 return 0;
66796 }
66797 _ACEOF
66798 if ac_fn_cxx_try_compile "$LINENO"; then :
66799 glibcxx_cv_func_strtold_use=yes
66800 else
66801 glibcxx_cv_func_strtold_use=no
66802 fi
66803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66804 ac_ext=c
66805 ac_cpp='$CPP $CPPFLAGS'
66806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66809
66810
66811 fi
66812
66813 fi
66814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66815 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66816 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66817 for ac_func in strtold
66818 do :
66819 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66820 if test "x$ac_cv_func_strtold" = xyes; then :
66821 cat >>confdefs.h <<_ACEOF
66822 #define HAVE_STRTOLD 1
66823 _ACEOF
66824
66825 fi
66826 done
66827
66828 fi
66829
66830
66831
66832
66833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66834 $as_echo_n "checking for strtof declaration... " >&6; }
66835 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66836 if ${glibcxx_cv_func_strtof_use+:} false; then :
66837 $as_echo_n "(cached) " >&6
66838 else
66839
66840
66841 ac_ext=cpp
66842 ac_cpp='$CXXCPP $CPPFLAGS'
66843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66846
66847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66848 /* end confdefs.h. */
66849 #include <stdlib.h>
66850 int
66851 main ()
66852 {
66853 strtof(0, 0);
66854 ;
66855 return 0;
66856 }
66857 _ACEOF
66858 if ac_fn_cxx_try_compile "$LINENO"; then :
66859 glibcxx_cv_func_strtof_use=yes
66860 else
66861 glibcxx_cv_func_strtof_use=no
66862 fi
66863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66864 ac_ext=c
66865 ac_cpp='$CPP $CPPFLAGS'
66866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66869
66870
66871 fi
66872
66873 fi
66874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66875 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66876 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66877 for ac_func in strtof
66878 do :
66879 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66880 if test "x$ac_cv_func_strtof" = xyes; then :
66881 cat >>confdefs.h <<_ACEOF
66882 #define HAVE_STRTOF 1
66883 _ACEOF
66884
66885 fi
66886 done
66887
66888 fi
66889
66890
66891
66892
66893 CXXFLAGS="$ac_save_CXXFLAGS"
66894
66895 ;;
66896 *-tpf)
66897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66898 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66899
66900 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66901
66902 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66903
66904 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66905
66906 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66907
66908 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66909
66910 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66911
66912 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66913
66914 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66915
66916 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66917
66918 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66919
66920 if test x"long_double_math_on_this_cpu" = x"yes"; then
66921 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66922
66923 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66924
66925 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66926
66927 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66928
66929 fi
66930 ;;
66931 *-*vms*)
66932 # Check for available headers.
66933 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66934
66935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66936 ac_save_CXXFLAGS="$CXXFLAGS"
66937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66938
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66940 $as_echo_n "checking for sin in -lm... " >&6; }
66941 if ${ac_cv_lib_m_sin+:} false; then :
66942 $as_echo_n "(cached) " >&6
66943 else
66944 ac_check_lib_save_LIBS=$LIBS
66945 LIBS="-lm $LIBS"
66946 if test x$gcc_no_link = xyes; then
66947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66948 fi
66949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66950 /* end confdefs.h. */
66951
66952 /* Override any GCC internal prototype to avoid an error.
66953 Use char because int might match the return type of a GCC
66954 builtin and then its argument prototype would still apply. */
66955 #ifdef __cplusplus
66956 extern "C"
66957 #endif
66958 char sin ();
66959 int
66960 main ()
66961 {
66962 return sin ();
66963 ;
66964 return 0;
66965 }
66966 _ACEOF
66967 if ac_fn_c_try_link "$LINENO"; then :
66968 ac_cv_lib_m_sin=yes
66969 else
66970 ac_cv_lib_m_sin=no
66971 fi
66972 rm -f core conftest.err conftest.$ac_objext \
66973 conftest$ac_exeext conftest.$ac_ext
66974 LIBS=$ac_check_lib_save_LIBS
66975 fi
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66977 $as_echo "$ac_cv_lib_m_sin" >&6; }
66978 if test "x$ac_cv_lib_m_sin" = xyes; then :
66979 libm="-lm"
66980 fi
66981
66982 ac_save_LIBS="$LIBS"
66983 LIBS="$LIBS $libm"
66984
66985
66986
66987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66988 $as_echo_n "checking for isinf declaration... " >&6; }
66989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66990 if ${glibcxx_cv_func_isinf_use+:} false; then :
66991 $as_echo_n "(cached) " >&6
66992 else
66993
66994
66995 ac_ext=cpp
66996 ac_cpp='$CXXCPP $CPPFLAGS'
66997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67000
67001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67002 /* end confdefs.h. */
67003 #include <math.h>
67004 #ifdef HAVE_IEEEFP_H
67005 #include <ieeefp.h>
67006 #endif
67007
67008 int
67009 main ()
67010 {
67011 isinf(0);
67012 ;
67013 return 0;
67014 }
67015 _ACEOF
67016 if ac_fn_cxx_try_compile "$LINENO"; then :
67017 glibcxx_cv_func_isinf_use=yes
67018 else
67019 glibcxx_cv_func_isinf_use=no
67020 fi
67021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67022 ac_ext=c
67023 ac_cpp='$CPP $CPPFLAGS'
67024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67027
67028
67029 fi
67030
67031 fi
67032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67034
67035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67036 for ac_func in isinf
67037 do :
67038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67039 if test "x$ac_cv_func_isinf" = xyes; then :
67040 cat >>confdefs.h <<_ACEOF
67041 #define HAVE_ISINF 1
67042 _ACEOF
67043
67044 fi
67045 done
67046
67047 else
67048
67049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67050 $as_echo_n "checking for _isinf declaration... " >&6; }
67051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67052 if ${glibcxx_cv_func__isinf_use+:} false; then :
67053 $as_echo_n "(cached) " >&6
67054 else
67055
67056
67057 ac_ext=cpp
67058 ac_cpp='$CXXCPP $CPPFLAGS'
67059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67062
67063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67064 /* end confdefs.h. */
67065 #include <math.h>
67066 #ifdef HAVE_IEEEFP_H
67067 #include <ieeefp.h>
67068 #endif
67069
67070 int
67071 main ()
67072 {
67073 _isinf(0);
67074 ;
67075 return 0;
67076 }
67077 _ACEOF
67078 if ac_fn_cxx_try_compile "$LINENO"; then :
67079 glibcxx_cv_func__isinf_use=yes
67080 else
67081 glibcxx_cv_func__isinf_use=no
67082 fi
67083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67084 ac_ext=c
67085 ac_cpp='$CPP $CPPFLAGS'
67086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67089
67090
67091 fi
67092
67093 fi
67094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67096
67097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67098 for ac_func in _isinf
67099 do :
67100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67101 if test "x$ac_cv_func__isinf" = xyes; then :
67102 cat >>confdefs.h <<_ACEOF
67103 #define HAVE__ISINF 1
67104 _ACEOF
67105
67106 fi
67107 done
67108
67109 fi
67110 fi
67111
67112
67113
67114
67115
67116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67117 $as_echo_n "checking for isnan declaration... " >&6; }
67118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67119 if ${glibcxx_cv_func_isnan_use+:} false; then :
67120 $as_echo_n "(cached) " >&6
67121 else
67122
67123
67124 ac_ext=cpp
67125 ac_cpp='$CXXCPP $CPPFLAGS'
67126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67129
67130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67131 /* end confdefs.h. */
67132 #include <math.h>
67133 #ifdef HAVE_IEEEFP_H
67134 #include <ieeefp.h>
67135 #endif
67136
67137 int
67138 main ()
67139 {
67140 isnan(0);
67141 ;
67142 return 0;
67143 }
67144 _ACEOF
67145 if ac_fn_cxx_try_compile "$LINENO"; then :
67146 glibcxx_cv_func_isnan_use=yes
67147 else
67148 glibcxx_cv_func_isnan_use=no
67149 fi
67150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67151 ac_ext=c
67152 ac_cpp='$CPP $CPPFLAGS'
67153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67156
67157
67158 fi
67159
67160 fi
67161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67163
67164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67165 for ac_func in isnan
67166 do :
67167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67168 if test "x$ac_cv_func_isnan" = xyes; then :
67169 cat >>confdefs.h <<_ACEOF
67170 #define HAVE_ISNAN 1
67171 _ACEOF
67172
67173 fi
67174 done
67175
67176 else
67177
67178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67179 $as_echo_n "checking for _isnan declaration... " >&6; }
67180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67181 if ${glibcxx_cv_func__isnan_use+:} false; then :
67182 $as_echo_n "(cached) " >&6
67183 else
67184
67185
67186 ac_ext=cpp
67187 ac_cpp='$CXXCPP $CPPFLAGS'
67188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67191
67192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67193 /* end confdefs.h. */
67194 #include <math.h>
67195 #ifdef HAVE_IEEEFP_H
67196 #include <ieeefp.h>
67197 #endif
67198
67199 int
67200 main ()
67201 {
67202 _isnan(0);
67203 ;
67204 return 0;
67205 }
67206 _ACEOF
67207 if ac_fn_cxx_try_compile "$LINENO"; then :
67208 glibcxx_cv_func__isnan_use=yes
67209 else
67210 glibcxx_cv_func__isnan_use=no
67211 fi
67212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67213 ac_ext=c
67214 ac_cpp='$CPP $CPPFLAGS'
67215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67218
67219
67220 fi
67221
67222 fi
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67225
67226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67227 for ac_func in _isnan
67228 do :
67229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67230 if test "x$ac_cv_func__isnan" = xyes; then :
67231 cat >>confdefs.h <<_ACEOF
67232 #define HAVE__ISNAN 1
67233 _ACEOF
67234
67235 fi
67236 done
67237
67238 fi
67239 fi
67240
67241
67242
67243
67244
67245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67246 $as_echo_n "checking for finite declaration... " >&6; }
67247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67248 if ${glibcxx_cv_func_finite_use+:} false; then :
67249 $as_echo_n "(cached) " >&6
67250 else
67251
67252
67253 ac_ext=cpp
67254 ac_cpp='$CXXCPP $CPPFLAGS'
67255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67258
67259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67260 /* end confdefs.h. */
67261 #include <math.h>
67262 #ifdef HAVE_IEEEFP_H
67263 #include <ieeefp.h>
67264 #endif
67265
67266 int
67267 main ()
67268 {
67269 finite(0);
67270 ;
67271 return 0;
67272 }
67273 _ACEOF
67274 if ac_fn_cxx_try_compile "$LINENO"; then :
67275 glibcxx_cv_func_finite_use=yes
67276 else
67277 glibcxx_cv_func_finite_use=no
67278 fi
67279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67280 ac_ext=c
67281 ac_cpp='$CPP $CPPFLAGS'
67282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67285
67286
67287 fi
67288
67289 fi
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67292
67293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67294 for ac_func in finite
67295 do :
67296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67297 if test "x$ac_cv_func_finite" = xyes; then :
67298 cat >>confdefs.h <<_ACEOF
67299 #define HAVE_FINITE 1
67300 _ACEOF
67301
67302 fi
67303 done
67304
67305 else
67306
67307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67308 $as_echo_n "checking for _finite declaration... " >&6; }
67309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67310 if ${glibcxx_cv_func__finite_use+:} false; then :
67311 $as_echo_n "(cached) " >&6
67312 else
67313
67314
67315 ac_ext=cpp
67316 ac_cpp='$CXXCPP $CPPFLAGS'
67317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67320
67321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67322 /* end confdefs.h. */
67323 #include <math.h>
67324 #ifdef HAVE_IEEEFP_H
67325 #include <ieeefp.h>
67326 #endif
67327
67328 int
67329 main ()
67330 {
67331 _finite(0);
67332 ;
67333 return 0;
67334 }
67335 _ACEOF
67336 if ac_fn_cxx_try_compile "$LINENO"; then :
67337 glibcxx_cv_func__finite_use=yes
67338 else
67339 glibcxx_cv_func__finite_use=no
67340 fi
67341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67342 ac_ext=c
67343 ac_cpp='$CPP $CPPFLAGS'
67344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67347
67348
67349 fi
67350
67351 fi
67352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67354
67355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67356 for ac_func in _finite
67357 do :
67358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67359 if test "x$ac_cv_func__finite" = xyes; then :
67360 cat >>confdefs.h <<_ACEOF
67361 #define HAVE__FINITE 1
67362 _ACEOF
67363
67364 fi
67365 done
67366
67367 fi
67368 fi
67369
67370
67371
67372
67373
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67375 $as_echo_n "checking for sincos declaration... " >&6; }
67376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67377 if ${glibcxx_cv_func_sincos_use+:} false; then :
67378 $as_echo_n "(cached) " >&6
67379 else
67380
67381
67382 ac_ext=cpp
67383 ac_cpp='$CXXCPP $CPPFLAGS'
67384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67387
67388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67389 /* end confdefs.h. */
67390 #include <math.h>
67391 int
67392 main ()
67393 {
67394 sincos(0, 0, 0);
67395 ;
67396 return 0;
67397 }
67398 _ACEOF
67399 if ac_fn_cxx_try_compile "$LINENO"; then :
67400 glibcxx_cv_func_sincos_use=yes
67401 else
67402 glibcxx_cv_func_sincos_use=no
67403 fi
67404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67405 ac_ext=c
67406 ac_cpp='$CPP $CPPFLAGS'
67407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67410
67411
67412 fi
67413
67414 fi
67415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67417
67418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67419 for ac_func in sincos
67420 do :
67421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67422 if test "x$ac_cv_func_sincos" = xyes; then :
67423 cat >>confdefs.h <<_ACEOF
67424 #define HAVE_SINCOS 1
67425 _ACEOF
67426
67427 fi
67428 done
67429
67430 else
67431
67432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67433 $as_echo_n "checking for _sincos declaration... " >&6; }
67434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67435 if ${glibcxx_cv_func__sincos_use+:} false; then :
67436 $as_echo_n "(cached) " >&6
67437 else
67438
67439
67440 ac_ext=cpp
67441 ac_cpp='$CXXCPP $CPPFLAGS'
67442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67445
67446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67447 /* end confdefs.h. */
67448 #include <math.h>
67449 int
67450 main ()
67451 {
67452 _sincos(0, 0, 0);
67453 ;
67454 return 0;
67455 }
67456 _ACEOF
67457 if ac_fn_cxx_try_compile "$LINENO"; then :
67458 glibcxx_cv_func__sincos_use=yes
67459 else
67460 glibcxx_cv_func__sincos_use=no
67461 fi
67462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 ac_ext=c
67464 ac_cpp='$CPP $CPPFLAGS'
67465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468
67469
67470 fi
67471
67472 fi
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67475
67476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67477 for ac_func in _sincos
67478 do :
67479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67480 if test "x$ac_cv_func__sincos" = xyes; then :
67481 cat >>confdefs.h <<_ACEOF
67482 #define HAVE__SINCOS 1
67483 _ACEOF
67484
67485 fi
67486 done
67487
67488 fi
67489 fi
67490
67491
67492
67493
67494
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67496 $as_echo_n "checking for fpclass declaration... " >&6; }
67497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67498 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67499 $as_echo_n "(cached) " >&6
67500 else
67501
67502
67503 ac_ext=cpp
67504 ac_cpp='$CXXCPP $CPPFLAGS'
67505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67508
67509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67510 /* end confdefs.h. */
67511 #include <math.h>
67512 #ifdef HAVE_IEEEFP_H
67513 #include <ieeefp.h>
67514 #endif
67515
67516 int
67517 main ()
67518 {
67519 fpclass(0);
67520 ;
67521 return 0;
67522 }
67523 _ACEOF
67524 if ac_fn_cxx_try_compile "$LINENO"; then :
67525 glibcxx_cv_func_fpclass_use=yes
67526 else
67527 glibcxx_cv_func_fpclass_use=no
67528 fi
67529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67530 ac_ext=c
67531 ac_cpp='$CPP $CPPFLAGS'
67532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67535
67536
67537 fi
67538
67539 fi
67540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67542
67543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67544 for ac_func in fpclass
67545 do :
67546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67547 if test "x$ac_cv_func_fpclass" = xyes; then :
67548 cat >>confdefs.h <<_ACEOF
67549 #define HAVE_FPCLASS 1
67550 _ACEOF
67551
67552 fi
67553 done
67554
67555 else
67556
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67558 $as_echo_n "checking for _fpclass declaration... " >&6; }
67559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67560 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67561 $as_echo_n "(cached) " >&6
67562 else
67563
67564
67565 ac_ext=cpp
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67570
67571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67572 /* end confdefs.h. */
67573 #include <math.h>
67574 #ifdef HAVE_IEEEFP_H
67575 #include <ieeefp.h>
67576 #endif
67577
67578 int
67579 main ()
67580 {
67581 _fpclass(0);
67582 ;
67583 return 0;
67584 }
67585 _ACEOF
67586 if ac_fn_cxx_try_compile "$LINENO"; then :
67587 glibcxx_cv_func__fpclass_use=yes
67588 else
67589 glibcxx_cv_func__fpclass_use=no
67590 fi
67591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67592 ac_ext=c
67593 ac_cpp='$CPP $CPPFLAGS'
67594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67597
67598
67599 fi
67600
67601 fi
67602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67604
67605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67606 for ac_func in _fpclass
67607 do :
67608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67609 if test "x$ac_cv_func__fpclass" = xyes; then :
67610 cat >>confdefs.h <<_ACEOF
67611 #define HAVE__FPCLASS 1
67612 _ACEOF
67613
67614 fi
67615 done
67616
67617 fi
67618 fi
67619
67620
67621
67622
67623
67624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67625 $as_echo_n "checking for qfpclass declaration... " >&6; }
67626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67627 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67628 $as_echo_n "(cached) " >&6
67629 else
67630
67631
67632 ac_ext=cpp
67633 ac_cpp='$CXXCPP $CPPFLAGS'
67634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67637
67638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67639 /* end confdefs.h. */
67640 #include <math.h>
67641 #ifdef HAVE_IEEEFP_H
67642 #include <ieeefp.h>
67643 #endif
67644
67645 int
67646 main ()
67647 {
67648 qfpclass(0);
67649 ;
67650 return 0;
67651 }
67652 _ACEOF
67653 if ac_fn_cxx_try_compile "$LINENO"; then :
67654 glibcxx_cv_func_qfpclass_use=yes
67655 else
67656 glibcxx_cv_func_qfpclass_use=no
67657 fi
67658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67659 ac_ext=c
67660 ac_cpp='$CPP $CPPFLAGS'
67661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67664
67665
67666 fi
67667
67668 fi
67669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67671
67672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67673 for ac_func in qfpclass
67674 do :
67675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67676 if test "x$ac_cv_func_qfpclass" = xyes; then :
67677 cat >>confdefs.h <<_ACEOF
67678 #define HAVE_QFPCLASS 1
67679 _ACEOF
67680
67681 fi
67682 done
67683
67684 else
67685
67686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67689 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67690 $as_echo_n "(cached) " >&6
67691 else
67692
67693
67694 ac_ext=cpp
67695 ac_cpp='$CXXCPP $CPPFLAGS'
67696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67699
67700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67701 /* end confdefs.h. */
67702 #include <math.h>
67703 #ifdef HAVE_IEEEFP_H
67704 #include <ieeefp.h>
67705 #endif
67706
67707 int
67708 main ()
67709 {
67710 _qfpclass(0);
67711 ;
67712 return 0;
67713 }
67714 _ACEOF
67715 if ac_fn_cxx_try_compile "$LINENO"; then :
67716 glibcxx_cv_func__qfpclass_use=yes
67717 else
67718 glibcxx_cv_func__qfpclass_use=no
67719 fi
67720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67721 ac_ext=c
67722 ac_cpp='$CPP $CPPFLAGS'
67723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67726
67727
67728 fi
67729
67730 fi
67731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67733
67734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67735 for ac_func in _qfpclass
67736 do :
67737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67738 if test "x$ac_cv_func__qfpclass" = xyes; then :
67739 cat >>confdefs.h <<_ACEOF
67740 #define HAVE__QFPCLASS 1
67741 _ACEOF
67742
67743 fi
67744 done
67745
67746 fi
67747 fi
67748
67749
67750
67751
67752
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67754 $as_echo_n "checking for hypot declaration... " >&6; }
67755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67756 if ${glibcxx_cv_func_hypot_use+:} false; then :
67757 $as_echo_n "(cached) " >&6
67758 else
67759
67760
67761 ac_ext=cpp
67762 ac_cpp='$CXXCPP $CPPFLAGS'
67763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67766
67767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67768 /* end confdefs.h. */
67769 #include <math.h>
67770 int
67771 main ()
67772 {
67773 hypot(0, 0);
67774 ;
67775 return 0;
67776 }
67777 _ACEOF
67778 if ac_fn_cxx_try_compile "$LINENO"; then :
67779 glibcxx_cv_func_hypot_use=yes
67780 else
67781 glibcxx_cv_func_hypot_use=no
67782 fi
67783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67784 ac_ext=c
67785 ac_cpp='$CPP $CPPFLAGS'
67786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67789
67790
67791 fi
67792
67793 fi
67794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67796
67797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67798 for ac_func in hypot
67799 do :
67800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67801 if test "x$ac_cv_func_hypot" = xyes; then :
67802 cat >>confdefs.h <<_ACEOF
67803 #define HAVE_HYPOT 1
67804 _ACEOF
67805
67806 fi
67807 done
67808
67809 else
67810
67811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67812 $as_echo_n "checking for _hypot declaration... " >&6; }
67813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67814 if ${glibcxx_cv_func__hypot_use+:} false; then :
67815 $as_echo_n "(cached) " >&6
67816 else
67817
67818
67819 ac_ext=cpp
67820 ac_cpp='$CXXCPP $CPPFLAGS'
67821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67824
67825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67826 /* end confdefs.h. */
67827 #include <math.h>
67828 int
67829 main ()
67830 {
67831 _hypot(0, 0);
67832 ;
67833 return 0;
67834 }
67835 _ACEOF
67836 if ac_fn_cxx_try_compile "$LINENO"; then :
67837 glibcxx_cv_func__hypot_use=yes
67838 else
67839 glibcxx_cv_func__hypot_use=no
67840 fi
67841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842 ac_ext=c
67843 ac_cpp='$CPP $CPPFLAGS'
67844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67847
67848
67849 fi
67850
67851 fi
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67854
67855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67856 for ac_func in _hypot
67857 do :
67858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67859 if test "x$ac_cv_func__hypot" = xyes; then :
67860 cat >>confdefs.h <<_ACEOF
67861 #define HAVE__HYPOT 1
67862 _ACEOF
67863
67864 fi
67865 done
67866
67867 fi
67868 fi
67869
67870
67871
67872
67873
67874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67875 $as_echo_n "checking for float trig functions... " >&6; }
67876 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67877 $as_echo_n "(cached) " >&6
67878 else
67879
67880
67881 ac_ext=cpp
67882 ac_cpp='$CXXCPP $CPPFLAGS'
67883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67886
67887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67888 /* end confdefs.h. */
67889 #include <math.h>
67890 int
67891 main ()
67892 {
67893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67894 ;
67895 return 0;
67896 }
67897 _ACEOF
67898 if ac_fn_cxx_try_compile "$LINENO"; then :
67899 glibcxx_cv_func_float_trig_use=yes
67900 else
67901 glibcxx_cv_func_float_trig_use=no
67902 fi
67903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67904 ac_ext=c
67905 ac_cpp='$CPP $CPPFLAGS'
67906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67909
67910 fi
67911
67912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67916 do :
67917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67920 cat >>confdefs.h <<_ACEOF
67921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67922 _ACEOF
67923
67924 fi
67925 done
67926
67927 else
67928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67929 $as_echo_n "checking for _float trig functions... " >&6; }
67930 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67931 $as_echo_n "(cached) " >&6
67932 else
67933
67934
67935 ac_ext=cpp
67936 ac_cpp='$CXXCPP $CPPFLAGS'
67937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67940
67941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67942 /* end confdefs.h. */
67943 #include <math.h>
67944 int
67945 main ()
67946 {
67947 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67948 ;
67949 return 0;
67950 }
67951 _ACEOF
67952 if ac_fn_cxx_try_compile "$LINENO"; then :
67953 glibcxx_cv_func__float_trig_use=yes
67954 else
67955 glibcxx_cv_func__float_trig_use=no
67956 fi
67957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67958 ac_ext=c
67959 ac_cpp='$CPP $CPPFLAGS'
67960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67963
67964 fi
67965
67966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67967 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67968 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67969 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67970 do :
67971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67974 cat >>confdefs.h <<_ACEOF
67975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67976 _ACEOF
67977
67978 fi
67979 done
67980
67981 fi
67982 fi
67983
67984
67985
67986
67987
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67989 $as_echo_n "checking for float round functions... " >&6; }
67990 if ${glibcxx_cv_func_float_round_use+:} false; then :
67991 $as_echo_n "(cached) " >&6
67992 else
67993
67994
67995 ac_ext=cpp
67996 ac_cpp='$CXXCPP $CPPFLAGS'
67997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68000
68001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68002 /* end confdefs.h. */
68003 #include <math.h>
68004 int
68005 main ()
68006 {
68007 ceilf (0); floorf (0);
68008 ;
68009 return 0;
68010 }
68011 _ACEOF
68012 if ac_fn_cxx_try_compile "$LINENO"; then :
68013 glibcxx_cv_func_float_round_use=yes
68014 else
68015 glibcxx_cv_func_float_round_use=no
68016 fi
68017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68018 ac_ext=c
68019 ac_cpp='$CPP $CPPFLAGS'
68020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68023
68024 fi
68025
68026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68027 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68028 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68029 for ac_func in ceilf floorf
68030 do :
68031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68033 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68034 cat >>confdefs.h <<_ACEOF
68035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68036 _ACEOF
68037
68038 fi
68039 done
68040
68041 else
68042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68043 $as_echo_n "checking for _float round functions... " >&6; }
68044 if ${glibcxx_cv_func__float_round_use+:} false; then :
68045 $as_echo_n "(cached) " >&6
68046 else
68047
68048
68049 ac_ext=cpp
68050 ac_cpp='$CXXCPP $CPPFLAGS'
68051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68054
68055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68056 /* end confdefs.h. */
68057 #include <math.h>
68058 int
68059 main ()
68060 {
68061 _ceilf (0); _floorf (0);
68062 ;
68063 return 0;
68064 }
68065 _ACEOF
68066 if ac_fn_cxx_try_compile "$LINENO"; then :
68067 glibcxx_cv_func__float_round_use=yes
68068 else
68069 glibcxx_cv_func__float_round_use=no
68070 fi
68071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68072 ac_ext=c
68073 ac_cpp='$CPP $CPPFLAGS'
68074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077
68078 fi
68079
68080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68081 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68082 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68083 for ac_func in _ceilf _floorf
68084 do :
68085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68088 cat >>confdefs.h <<_ACEOF
68089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68090 _ACEOF
68091
68092 fi
68093 done
68094
68095 fi
68096 fi
68097
68098
68099
68100
68101
68102
68103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68104 $as_echo_n "checking for expf declaration... " >&6; }
68105 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68106 if ${glibcxx_cv_func_expf_use+:} false; then :
68107 $as_echo_n "(cached) " >&6
68108 else
68109
68110
68111 ac_ext=cpp
68112 ac_cpp='$CXXCPP $CPPFLAGS'
68113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68116
68117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68118 /* end confdefs.h. */
68119 #include <math.h>
68120 #ifdef HAVE_IEEEFP_H
68121 #include <ieeefp.h>
68122 #endif
68123
68124 int
68125 main ()
68126 {
68127 expf(0);
68128 ;
68129 return 0;
68130 }
68131 _ACEOF
68132 if ac_fn_cxx_try_compile "$LINENO"; then :
68133 glibcxx_cv_func_expf_use=yes
68134 else
68135 glibcxx_cv_func_expf_use=no
68136 fi
68137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68138 ac_ext=c
68139 ac_cpp='$CPP $CPPFLAGS'
68140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68143
68144
68145 fi
68146
68147 fi
68148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68149 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68150
68151 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68152 for ac_func in expf
68153 do :
68154 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68155 if test "x$ac_cv_func_expf" = xyes; then :
68156 cat >>confdefs.h <<_ACEOF
68157 #define HAVE_EXPF 1
68158 _ACEOF
68159
68160 fi
68161 done
68162
68163 else
68164
68165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68166 $as_echo_n "checking for _expf declaration... " >&6; }
68167 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68168 if ${glibcxx_cv_func__expf_use+:} false; then :
68169 $as_echo_n "(cached) " >&6
68170 else
68171
68172
68173 ac_ext=cpp
68174 ac_cpp='$CXXCPP $CPPFLAGS'
68175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68178
68179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68180 /* end confdefs.h. */
68181 #include <math.h>
68182 #ifdef HAVE_IEEEFP_H
68183 #include <ieeefp.h>
68184 #endif
68185
68186 int
68187 main ()
68188 {
68189 _expf(0);
68190 ;
68191 return 0;
68192 }
68193 _ACEOF
68194 if ac_fn_cxx_try_compile "$LINENO"; then :
68195 glibcxx_cv_func__expf_use=yes
68196 else
68197 glibcxx_cv_func__expf_use=no
68198 fi
68199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68200 ac_ext=c
68201 ac_cpp='$CPP $CPPFLAGS'
68202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68205
68206
68207 fi
68208
68209 fi
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68211 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68212
68213 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68214 for ac_func in _expf
68215 do :
68216 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68217 if test "x$ac_cv_func__expf" = xyes; then :
68218 cat >>confdefs.h <<_ACEOF
68219 #define HAVE__EXPF 1
68220 _ACEOF
68221
68222 fi
68223 done
68224
68225 fi
68226 fi
68227
68228
68229
68230
68231
68232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68233 $as_echo_n "checking for isnanf declaration... " >&6; }
68234 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68235 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68236 $as_echo_n "(cached) " >&6
68237 else
68238
68239
68240 ac_ext=cpp
68241 ac_cpp='$CXXCPP $CPPFLAGS'
68242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68245
68246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68247 /* end confdefs.h. */
68248 #include <math.h>
68249 #ifdef HAVE_IEEEFP_H
68250 #include <ieeefp.h>
68251 #endif
68252
68253 int
68254 main ()
68255 {
68256 isnanf(0);
68257 ;
68258 return 0;
68259 }
68260 _ACEOF
68261 if ac_fn_cxx_try_compile "$LINENO"; then :
68262 glibcxx_cv_func_isnanf_use=yes
68263 else
68264 glibcxx_cv_func_isnanf_use=no
68265 fi
68266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68267 ac_ext=c
68268 ac_cpp='$CPP $CPPFLAGS'
68269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68272
68273
68274 fi
68275
68276 fi
68277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68278 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68279
68280 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68281 for ac_func in isnanf
68282 do :
68283 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68284 if test "x$ac_cv_func_isnanf" = xyes; then :
68285 cat >>confdefs.h <<_ACEOF
68286 #define HAVE_ISNANF 1
68287 _ACEOF
68288
68289 fi
68290 done
68291
68292 else
68293
68294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68295 $as_echo_n "checking for _isnanf declaration... " >&6; }
68296 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68297 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68298 $as_echo_n "(cached) " >&6
68299 else
68300
68301
68302 ac_ext=cpp
68303 ac_cpp='$CXXCPP $CPPFLAGS'
68304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68307
68308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68309 /* end confdefs.h. */
68310 #include <math.h>
68311 #ifdef HAVE_IEEEFP_H
68312 #include <ieeefp.h>
68313 #endif
68314
68315 int
68316 main ()
68317 {
68318 _isnanf(0);
68319 ;
68320 return 0;
68321 }
68322 _ACEOF
68323 if ac_fn_cxx_try_compile "$LINENO"; then :
68324 glibcxx_cv_func__isnanf_use=yes
68325 else
68326 glibcxx_cv_func__isnanf_use=no
68327 fi
68328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68329 ac_ext=c
68330 ac_cpp='$CPP $CPPFLAGS'
68331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68334
68335
68336 fi
68337
68338 fi
68339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68340 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68341
68342 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68343 for ac_func in _isnanf
68344 do :
68345 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68346 if test "x$ac_cv_func__isnanf" = xyes; then :
68347 cat >>confdefs.h <<_ACEOF
68348 #define HAVE__ISNANF 1
68349 _ACEOF
68350
68351 fi
68352 done
68353
68354 fi
68355 fi
68356
68357
68358
68359
68360
68361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68362 $as_echo_n "checking for isinff declaration... " >&6; }
68363 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68364 if ${glibcxx_cv_func_isinff_use+:} false; then :
68365 $as_echo_n "(cached) " >&6
68366 else
68367
68368
68369 ac_ext=cpp
68370 ac_cpp='$CXXCPP $CPPFLAGS'
68371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68374
68375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68376 /* end confdefs.h. */
68377 #include <math.h>
68378 #ifdef HAVE_IEEEFP_H
68379 #include <ieeefp.h>
68380 #endif
68381
68382 int
68383 main ()
68384 {
68385 isinff(0);
68386 ;
68387 return 0;
68388 }
68389 _ACEOF
68390 if ac_fn_cxx_try_compile "$LINENO"; then :
68391 glibcxx_cv_func_isinff_use=yes
68392 else
68393 glibcxx_cv_func_isinff_use=no
68394 fi
68395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68396 ac_ext=c
68397 ac_cpp='$CPP $CPPFLAGS'
68398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68401
68402
68403 fi
68404
68405 fi
68406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68407 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68408
68409 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68410 for ac_func in isinff
68411 do :
68412 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68413 if test "x$ac_cv_func_isinff" = xyes; then :
68414 cat >>confdefs.h <<_ACEOF
68415 #define HAVE_ISINFF 1
68416 _ACEOF
68417
68418 fi
68419 done
68420
68421 else
68422
68423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68424 $as_echo_n "checking for _isinff declaration... " >&6; }
68425 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68426 if ${glibcxx_cv_func__isinff_use+:} false; then :
68427 $as_echo_n "(cached) " >&6
68428 else
68429
68430
68431 ac_ext=cpp
68432 ac_cpp='$CXXCPP $CPPFLAGS'
68433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68436
68437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68438 /* end confdefs.h. */
68439 #include <math.h>
68440 #ifdef HAVE_IEEEFP_H
68441 #include <ieeefp.h>
68442 #endif
68443
68444 int
68445 main ()
68446 {
68447 _isinff(0);
68448 ;
68449 return 0;
68450 }
68451 _ACEOF
68452 if ac_fn_cxx_try_compile "$LINENO"; then :
68453 glibcxx_cv_func__isinff_use=yes
68454 else
68455 glibcxx_cv_func__isinff_use=no
68456 fi
68457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68458 ac_ext=c
68459 ac_cpp='$CPP $CPPFLAGS'
68460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68463
68464
68465 fi
68466
68467 fi
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68469 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68470
68471 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68472 for ac_func in _isinff
68473 do :
68474 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68475 if test "x$ac_cv_func__isinff" = xyes; then :
68476 cat >>confdefs.h <<_ACEOF
68477 #define HAVE__ISINFF 1
68478 _ACEOF
68479
68480 fi
68481 done
68482
68483 fi
68484 fi
68485
68486
68487
68488
68489
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68491 $as_echo_n "checking for atan2f declaration... " >&6; }
68492 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68493 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68494 $as_echo_n "(cached) " >&6
68495 else
68496
68497
68498 ac_ext=cpp
68499 ac_cpp='$CXXCPP $CPPFLAGS'
68500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68503
68504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68505 /* end confdefs.h. */
68506 #include <math.h>
68507 int
68508 main ()
68509 {
68510 atan2f(0, 0);
68511 ;
68512 return 0;
68513 }
68514 _ACEOF
68515 if ac_fn_cxx_try_compile "$LINENO"; then :
68516 glibcxx_cv_func_atan2f_use=yes
68517 else
68518 glibcxx_cv_func_atan2f_use=no
68519 fi
68520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68521 ac_ext=c
68522 ac_cpp='$CPP $CPPFLAGS'
68523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68526
68527
68528 fi
68529
68530 fi
68531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68532 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68533
68534 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68535 for ac_func in atan2f
68536 do :
68537 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68538 if test "x$ac_cv_func_atan2f" = xyes; then :
68539 cat >>confdefs.h <<_ACEOF
68540 #define HAVE_ATAN2F 1
68541 _ACEOF
68542
68543 fi
68544 done
68545
68546 else
68547
68548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68549 $as_echo_n "checking for _atan2f declaration... " >&6; }
68550 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68551 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68552 $as_echo_n "(cached) " >&6
68553 else
68554
68555
68556 ac_ext=cpp
68557 ac_cpp='$CXXCPP $CPPFLAGS'
68558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68561
68562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68563 /* end confdefs.h. */
68564 #include <math.h>
68565 int
68566 main ()
68567 {
68568 _atan2f(0, 0);
68569 ;
68570 return 0;
68571 }
68572 _ACEOF
68573 if ac_fn_cxx_try_compile "$LINENO"; then :
68574 glibcxx_cv_func__atan2f_use=yes
68575 else
68576 glibcxx_cv_func__atan2f_use=no
68577 fi
68578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68579 ac_ext=c
68580 ac_cpp='$CPP $CPPFLAGS'
68581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68584
68585
68586 fi
68587
68588 fi
68589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68590 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68591
68592 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68593 for ac_func in _atan2f
68594 do :
68595 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68596 if test "x$ac_cv_func__atan2f" = xyes; then :
68597 cat >>confdefs.h <<_ACEOF
68598 #define HAVE__ATAN2F 1
68599 _ACEOF
68600
68601 fi
68602 done
68603
68604 fi
68605 fi
68606
68607
68608
68609
68610
68611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68612 $as_echo_n "checking for fabsf declaration... " >&6; }
68613 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68614 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68615 $as_echo_n "(cached) " >&6
68616 else
68617
68618
68619 ac_ext=cpp
68620 ac_cpp='$CXXCPP $CPPFLAGS'
68621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68624
68625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68626 /* end confdefs.h. */
68627 #include <math.h>
68628 #ifdef HAVE_IEEEFP_H
68629 #include <ieeefp.h>
68630 #endif
68631
68632 int
68633 main ()
68634 {
68635 fabsf(0);
68636 ;
68637 return 0;
68638 }
68639 _ACEOF
68640 if ac_fn_cxx_try_compile "$LINENO"; then :
68641 glibcxx_cv_func_fabsf_use=yes
68642 else
68643 glibcxx_cv_func_fabsf_use=no
68644 fi
68645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68646 ac_ext=c
68647 ac_cpp='$CPP $CPPFLAGS'
68648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68651
68652
68653 fi
68654
68655 fi
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68657 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68658
68659 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68660 for ac_func in fabsf
68661 do :
68662 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68663 if test "x$ac_cv_func_fabsf" = xyes; then :
68664 cat >>confdefs.h <<_ACEOF
68665 #define HAVE_FABSF 1
68666 _ACEOF
68667
68668 fi
68669 done
68670
68671 else
68672
68673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68674 $as_echo_n "checking for _fabsf declaration... " >&6; }
68675 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68676 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68677 $as_echo_n "(cached) " >&6
68678 else
68679
68680
68681 ac_ext=cpp
68682 ac_cpp='$CXXCPP $CPPFLAGS'
68683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68686
68687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68688 /* end confdefs.h. */
68689 #include <math.h>
68690 #ifdef HAVE_IEEEFP_H
68691 #include <ieeefp.h>
68692 #endif
68693
68694 int
68695 main ()
68696 {
68697 _fabsf(0);
68698 ;
68699 return 0;
68700 }
68701 _ACEOF
68702 if ac_fn_cxx_try_compile "$LINENO"; then :
68703 glibcxx_cv_func__fabsf_use=yes
68704 else
68705 glibcxx_cv_func__fabsf_use=no
68706 fi
68707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68708 ac_ext=c
68709 ac_cpp='$CPP $CPPFLAGS'
68710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68713
68714
68715 fi
68716
68717 fi
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68719 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68720
68721 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68722 for ac_func in _fabsf
68723 do :
68724 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68725 if test "x$ac_cv_func__fabsf" = xyes; then :
68726 cat >>confdefs.h <<_ACEOF
68727 #define HAVE__FABSF 1
68728 _ACEOF
68729
68730 fi
68731 done
68732
68733 fi
68734 fi
68735
68736
68737
68738
68739
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68741 $as_echo_n "checking for fmodf declaration... " >&6; }
68742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68743 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68744 $as_echo_n "(cached) " >&6
68745 else
68746
68747
68748 ac_ext=cpp
68749 ac_cpp='$CXXCPP $CPPFLAGS'
68750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68753
68754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68755 /* end confdefs.h. */
68756 #include <math.h>
68757 int
68758 main ()
68759 {
68760 fmodf(0, 0);
68761 ;
68762 return 0;
68763 }
68764 _ACEOF
68765 if ac_fn_cxx_try_compile "$LINENO"; then :
68766 glibcxx_cv_func_fmodf_use=yes
68767 else
68768 glibcxx_cv_func_fmodf_use=no
68769 fi
68770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68771 ac_ext=c
68772 ac_cpp='$CPP $CPPFLAGS'
68773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68776
68777
68778 fi
68779
68780 fi
68781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68782 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68783
68784 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68785 for ac_func in fmodf
68786 do :
68787 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68788 if test "x$ac_cv_func_fmodf" = xyes; then :
68789 cat >>confdefs.h <<_ACEOF
68790 #define HAVE_FMODF 1
68791 _ACEOF
68792
68793 fi
68794 done
68795
68796 else
68797
68798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68799 $as_echo_n "checking for _fmodf declaration... " >&6; }
68800 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68801 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68802 $as_echo_n "(cached) " >&6
68803 else
68804
68805
68806 ac_ext=cpp
68807 ac_cpp='$CXXCPP $CPPFLAGS'
68808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68811
68812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68813 /* end confdefs.h. */
68814 #include <math.h>
68815 int
68816 main ()
68817 {
68818 _fmodf(0, 0);
68819 ;
68820 return 0;
68821 }
68822 _ACEOF
68823 if ac_fn_cxx_try_compile "$LINENO"; then :
68824 glibcxx_cv_func__fmodf_use=yes
68825 else
68826 glibcxx_cv_func__fmodf_use=no
68827 fi
68828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68829 ac_ext=c
68830 ac_cpp='$CPP $CPPFLAGS'
68831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68834
68835
68836 fi
68837
68838 fi
68839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68840 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68841
68842 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68843 for ac_func in _fmodf
68844 do :
68845 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68846 if test "x$ac_cv_func__fmodf" = xyes; then :
68847 cat >>confdefs.h <<_ACEOF
68848 #define HAVE__FMODF 1
68849 _ACEOF
68850
68851 fi
68852 done
68853
68854 fi
68855 fi
68856
68857
68858
68859
68860
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68862 $as_echo_n "checking for frexpf declaration... " >&6; }
68863 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68864 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68865 $as_echo_n "(cached) " >&6
68866 else
68867
68868
68869 ac_ext=cpp
68870 ac_cpp='$CXXCPP $CPPFLAGS'
68871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68874
68875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68876 /* end confdefs.h. */
68877 #include <math.h>
68878 int
68879 main ()
68880 {
68881 frexpf(0, 0);
68882 ;
68883 return 0;
68884 }
68885 _ACEOF
68886 if ac_fn_cxx_try_compile "$LINENO"; then :
68887 glibcxx_cv_func_frexpf_use=yes
68888 else
68889 glibcxx_cv_func_frexpf_use=no
68890 fi
68891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68892 ac_ext=c
68893 ac_cpp='$CPP $CPPFLAGS'
68894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68897
68898
68899 fi
68900
68901 fi
68902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68903 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68904
68905 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68906 for ac_func in frexpf
68907 do :
68908 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68909 if test "x$ac_cv_func_frexpf" = xyes; then :
68910 cat >>confdefs.h <<_ACEOF
68911 #define HAVE_FREXPF 1
68912 _ACEOF
68913
68914 fi
68915 done
68916
68917 else
68918
68919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68920 $as_echo_n "checking for _frexpf declaration... " >&6; }
68921 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68922 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68923 $as_echo_n "(cached) " >&6
68924 else
68925
68926
68927 ac_ext=cpp
68928 ac_cpp='$CXXCPP $CPPFLAGS'
68929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68932
68933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68934 /* end confdefs.h. */
68935 #include <math.h>
68936 int
68937 main ()
68938 {
68939 _frexpf(0, 0);
68940 ;
68941 return 0;
68942 }
68943 _ACEOF
68944 if ac_fn_cxx_try_compile "$LINENO"; then :
68945 glibcxx_cv_func__frexpf_use=yes
68946 else
68947 glibcxx_cv_func__frexpf_use=no
68948 fi
68949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68950 ac_ext=c
68951 ac_cpp='$CPP $CPPFLAGS'
68952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68955
68956
68957 fi
68958
68959 fi
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68961 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68962
68963 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68964 for ac_func in _frexpf
68965 do :
68966 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68967 if test "x$ac_cv_func__frexpf" = xyes; then :
68968 cat >>confdefs.h <<_ACEOF
68969 #define HAVE__FREXPF 1
68970 _ACEOF
68971
68972 fi
68973 done
68974
68975 fi
68976 fi
68977
68978
68979
68980
68981
68982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68983 $as_echo_n "checking for hypotf declaration... " >&6; }
68984 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68985 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68986 $as_echo_n "(cached) " >&6
68987 else
68988
68989
68990 ac_ext=cpp
68991 ac_cpp='$CXXCPP $CPPFLAGS'
68992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68995
68996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68997 /* end confdefs.h. */
68998 #include <math.h>
68999 int
69000 main ()
69001 {
69002 hypotf(0, 0);
69003 ;
69004 return 0;
69005 }
69006 _ACEOF
69007 if ac_fn_cxx_try_compile "$LINENO"; then :
69008 glibcxx_cv_func_hypotf_use=yes
69009 else
69010 glibcxx_cv_func_hypotf_use=no
69011 fi
69012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69018
69019
69020 fi
69021
69022 fi
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69024 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69025
69026 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69027 for ac_func in hypotf
69028 do :
69029 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69030 if test "x$ac_cv_func_hypotf" = xyes; then :
69031 cat >>confdefs.h <<_ACEOF
69032 #define HAVE_HYPOTF 1
69033 _ACEOF
69034
69035 fi
69036 done
69037
69038 else
69039
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69041 $as_echo_n "checking for _hypotf declaration... " >&6; }
69042 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69043 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69044 $as_echo_n "(cached) " >&6
69045 else
69046
69047
69048 ac_ext=cpp
69049 ac_cpp='$CXXCPP $CPPFLAGS'
69050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69053
69054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69055 /* end confdefs.h. */
69056 #include <math.h>
69057 int
69058 main ()
69059 {
69060 _hypotf(0, 0);
69061 ;
69062 return 0;
69063 }
69064 _ACEOF
69065 if ac_fn_cxx_try_compile "$LINENO"; then :
69066 glibcxx_cv_func__hypotf_use=yes
69067 else
69068 glibcxx_cv_func__hypotf_use=no
69069 fi
69070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69071 ac_ext=c
69072 ac_cpp='$CPP $CPPFLAGS'
69073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69076
69077
69078 fi
69079
69080 fi
69081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69082 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69083
69084 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69085 for ac_func in _hypotf
69086 do :
69087 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69088 if test "x$ac_cv_func__hypotf" = xyes; then :
69089 cat >>confdefs.h <<_ACEOF
69090 #define HAVE__HYPOTF 1
69091 _ACEOF
69092
69093 fi
69094 done
69095
69096 fi
69097 fi
69098
69099
69100
69101
69102
69103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69104 $as_echo_n "checking for ldexpf declaration... " >&6; }
69105 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69106 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69107 $as_echo_n "(cached) " >&6
69108 else
69109
69110
69111 ac_ext=cpp
69112 ac_cpp='$CXXCPP $CPPFLAGS'
69113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69116
69117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69118 /* end confdefs.h. */
69119 #include <math.h>
69120 int
69121 main ()
69122 {
69123 ldexpf(0, 0);
69124 ;
69125 return 0;
69126 }
69127 _ACEOF
69128 if ac_fn_cxx_try_compile "$LINENO"; then :
69129 glibcxx_cv_func_ldexpf_use=yes
69130 else
69131 glibcxx_cv_func_ldexpf_use=no
69132 fi
69133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69134 ac_ext=c
69135 ac_cpp='$CPP $CPPFLAGS'
69136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69139
69140
69141 fi
69142
69143 fi
69144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69145 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69146
69147 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69148 for ac_func in ldexpf
69149 do :
69150 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69151 if test "x$ac_cv_func_ldexpf" = xyes; then :
69152 cat >>confdefs.h <<_ACEOF
69153 #define HAVE_LDEXPF 1
69154 _ACEOF
69155
69156 fi
69157 done
69158
69159 else
69160
69161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69162 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69163 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69164 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69165 $as_echo_n "(cached) " >&6
69166 else
69167
69168
69169 ac_ext=cpp
69170 ac_cpp='$CXXCPP $CPPFLAGS'
69171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69174
69175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69176 /* end confdefs.h. */
69177 #include <math.h>
69178 int
69179 main ()
69180 {
69181 _ldexpf(0, 0);
69182 ;
69183 return 0;
69184 }
69185 _ACEOF
69186 if ac_fn_cxx_try_compile "$LINENO"; then :
69187 glibcxx_cv_func__ldexpf_use=yes
69188 else
69189 glibcxx_cv_func__ldexpf_use=no
69190 fi
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192 ac_ext=c
69193 ac_cpp='$CPP $CPPFLAGS'
69194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69197
69198
69199 fi
69200
69201 fi
69202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69203 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69204
69205 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69206 for ac_func in _ldexpf
69207 do :
69208 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69209 if test "x$ac_cv_func__ldexpf" = xyes; then :
69210 cat >>confdefs.h <<_ACEOF
69211 #define HAVE__LDEXPF 1
69212 _ACEOF
69213
69214 fi
69215 done
69216
69217 fi
69218 fi
69219
69220
69221
69222
69223
69224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69225 $as_echo_n "checking for logf declaration... " >&6; }
69226 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69227 if ${glibcxx_cv_func_logf_use+:} false; then :
69228 $as_echo_n "(cached) " >&6
69229 else
69230
69231
69232 ac_ext=cpp
69233 ac_cpp='$CXXCPP $CPPFLAGS'
69234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69237
69238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69239 /* end confdefs.h. */
69240 #include <math.h>
69241 #ifdef HAVE_IEEEFP_H
69242 #include <ieeefp.h>
69243 #endif
69244
69245 int
69246 main ()
69247 {
69248 logf(0);
69249 ;
69250 return 0;
69251 }
69252 _ACEOF
69253 if ac_fn_cxx_try_compile "$LINENO"; then :
69254 glibcxx_cv_func_logf_use=yes
69255 else
69256 glibcxx_cv_func_logf_use=no
69257 fi
69258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69259 ac_ext=c
69260 ac_cpp='$CPP $CPPFLAGS'
69261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69264
69265
69266 fi
69267
69268 fi
69269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69270 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69271
69272 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69273 for ac_func in logf
69274 do :
69275 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69276 if test "x$ac_cv_func_logf" = xyes; then :
69277 cat >>confdefs.h <<_ACEOF
69278 #define HAVE_LOGF 1
69279 _ACEOF
69280
69281 fi
69282 done
69283
69284 else
69285
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69287 $as_echo_n "checking for _logf declaration... " >&6; }
69288 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69289 if ${glibcxx_cv_func__logf_use+:} false; then :
69290 $as_echo_n "(cached) " >&6
69291 else
69292
69293
69294 ac_ext=cpp
69295 ac_cpp='$CXXCPP $CPPFLAGS'
69296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69299
69300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69301 /* end confdefs.h. */
69302 #include <math.h>
69303 #ifdef HAVE_IEEEFP_H
69304 #include <ieeefp.h>
69305 #endif
69306
69307 int
69308 main ()
69309 {
69310 _logf(0);
69311 ;
69312 return 0;
69313 }
69314 _ACEOF
69315 if ac_fn_cxx_try_compile "$LINENO"; then :
69316 glibcxx_cv_func__logf_use=yes
69317 else
69318 glibcxx_cv_func__logf_use=no
69319 fi
69320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69321 ac_ext=c
69322 ac_cpp='$CPP $CPPFLAGS'
69323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69326
69327
69328 fi
69329
69330 fi
69331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69332 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69333
69334 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69335 for ac_func in _logf
69336 do :
69337 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69338 if test "x$ac_cv_func__logf" = xyes; then :
69339 cat >>confdefs.h <<_ACEOF
69340 #define HAVE__LOGF 1
69341 _ACEOF
69342
69343 fi
69344 done
69345
69346 fi
69347 fi
69348
69349
69350
69351
69352
69353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69354 $as_echo_n "checking for log10f declaration... " >&6; }
69355 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69356 if ${glibcxx_cv_func_log10f_use+:} false; then :
69357 $as_echo_n "(cached) " >&6
69358 else
69359
69360
69361 ac_ext=cpp
69362 ac_cpp='$CXXCPP $CPPFLAGS'
69363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69366
69367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69368 /* end confdefs.h. */
69369 #include <math.h>
69370 #ifdef HAVE_IEEEFP_H
69371 #include <ieeefp.h>
69372 #endif
69373
69374 int
69375 main ()
69376 {
69377 log10f(0);
69378 ;
69379 return 0;
69380 }
69381 _ACEOF
69382 if ac_fn_cxx_try_compile "$LINENO"; then :
69383 glibcxx_cv_func_log10f_use=yes
69384 else
69385 glibcxx_cv_func_log10f_use=no
69386 fi
69387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69388 ac_ext=c
69389 ac_cpp='$CPP $CPPFLAGS'
69390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69393
69394
69395 fi
69396
69397 fi
69398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69399 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69400
69401 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69402 for ac_func in log10f
69403 do :
69404 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69405 if test "x$ac_cv_func_log10f" = xyes; then :
69406 cat >>confdefs.h <<_ACEOF
69407 #define HAVE_LOG10F 1
69408 _ACEOF
69409
69410 fi
69411 done
69412
69413 else
69414
69415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69416 $as_echo_n "checking for _log10f declaration... " >&6; }
69417 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69418 if ${glibcxx_cv_func__log10f_use+:} false; then :
69419 $as_echo_n "(cached) " >&6
69420 else
69421
69422
69423 ac_ext=cpp
69424 ac_cpp='$CXXCPP $CPPFLAGS'
69425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69428
69429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69430 /* end confdefs.h. */
69431 #include <math.h>
69432 #ifdef HAVE_IEEEFP_H
69433 #include <ieeefp.h>
69434 #endif
69435
69436 int
69437 main ()
69438 {
69439 _log10f(0);
69440 ;
69441 return 0;
69442 }
69443 _ACEOF
69444 if ac_fn_cxx_try_compile "$LINENO"; then :
69445 glibcxx_cv_func__log10f_use=yes
69446 else
69447 glibcxx_cv_func__log10f_use=no
69448 fi
69449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69450 ac_ext=c
69451 ac_cpp='$CPP $CPPFLAGS'
69452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69455
69456
69457 fi
69458
69459 fi
69460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69461 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69462
69463 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69464 for ac_func in _log10f
69465 do :
69466 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69467 if test "x$ac_cv_func__log10f" = xyes; then :
69468 cat >>confdefs.h <<_ACEOF
69469 #define HAVE__LOG10F 1
69470 _ACEOF
69471
69472 fi
69473 done
69474
69475 fi
69476 fi
69477
69478
69479
69480
69481
69482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69483 $as_echo_n "checking for modff declaration... " >&6; }
69484 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69485 if ${glibcxx_cv_func_modff_use+:} false; then :
69486 $as_echo_n "(cached) " >&6
69487 else
69488
69489
69490 ac_ext=cpp
69491 ac_cpp='$CXXCPP $CPPFLAGS'
69492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69495
69496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69497 /* end confdefs.h. */
69498 #include <math.h>
69499 int
69500 main ()
69501 {
69502 modff(0, 0);
69503 ;
69504 return 0;
69505 }
69506 _ACEOF
69507 if ac_fn_cxx_try_compile "$LINENO"; then :
69508 glibcxx_cv_func_modff_use=yes
69509 else
69510 glibcxx_cv_func_modff_use=no
69511 fi
69512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69513 ac_ext=c
69514 ac_cpp='$CPP $CPPFLAGS'
69515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69518
69519
69520 fi
69521
69522 fi
69523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69524 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69525
69526 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69527 for ac_func in modff
69528 do :
69529 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69530 if test "x$ac_cv_func_modff" = xyes; then :
69531 cat >>confdefs.h <<_ACEOF
69532 #define HAVE_MODFF 1
69533 _ACEOF
69534
69535 fi
69536 done
69537
69538 else
69539
69540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69541 $as_echo_n "checking for _modff declaration... " >&6; }
69542 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69543 if ${glibcxx_cv_func__modff_use+:} false; then :
69544 $as_echo_n "(cached) " >&6
69545 else
69546
69547
69548 ac_ext=cpp
69549 ac_cpp='$CXXCPP $CPPFLAGS'
69550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69553
69554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69555 /* end confdefs.h. */
69556 #include <math.h>
69557 int
69558 main ()
69559 {
69560 _modff(0, 0);
69561 ;
69562 return 0;
69563 }
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566 glibcxx_cv_func__modff_use=yes
69567 else
69568 glibcxx_cv_func__modff_use=no
69569 fi
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69576
69577
69578 fi
69579
69580 fi
69581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69582 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69583
69584 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69585 for ac_func in _modff
69586 do :
69587 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69588 if test "x$ac_cv_func__modff" = xyes; then :
69589 cat >>confdefs.h <<_ACEOF
69590 #define HAVE__MODFF 1
69591 _ACEOF
69592
69593 fi
69594 done
69595
69596 fi
69597 fi
69598
69599
69600
69601
69602
69603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69604 $as_echo_n "checking for modf declaration... " >&6; }
69605 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69606 if ${glibcxx_cv_func_modf_use+:} false; then :
69607 $as_echo_n "(cached) " >&6
69608 else
69609
69610
69611 ac_ext=cpp
69612 ac_cpp='$CXXCPP $CPPFLAGS'
69613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69616
69617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69618 /* end confdefs.h. */
69619 #include <math.h>
69620 int
69621 main ()
69622 {
69623 modf(0, 0);
69624 ;
69625 return 0;
69626 }
69627 _ACEOF
69628 if ac_fn_cxx_try_compile "$LINENO"; then :
69629 glibcxx_cv_func_modf_use=yes
69630 else
69631 glibcxx_cv_func_modf_use=no
69632 fi
69633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69634 ac_ext=c
69635 ac_cpp='$CPP $CPPFLAGS'
69636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69639
69640
69641 fi
69642
69643 fi
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69645 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69646
69647 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69648 for ac_func in modf
69649 do :
69650 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69651 if test "x$ac_cv_func_modf" = xyes; then :
69652 cat >>confdefs.h <<_ACEOF
69653 #define HAVE_MODF 1
69654 _ACEOF
69655
69656 fi
69657 done
69658
69659 else
69660
69661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69662 $as_echo_n "checking for _modf declaration... " >&6; }
69663 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69664 if ${glibcxx_cv_func__modf_use+:} false; then :
69665 $as_echo_n "(cached) " >&6
69666 else
69667
69668
69669 ac_ext=cpp
69670 ac_cpp='$CXXCPP $CPPFLAGS'
69671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69674
69675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69676 /* end confdefs.h. */
69677 #include <math.h>
69678 int
69679 main ()
69680 {
69681 _modf(0, 0);
69682 ;
69683 return 0;
69684 }
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687 glibcxx_cv_func__modf_use=yes
69688 else
69689 glibcxx_cv_func__modf_use=no
69690 fi
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692 ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69697
69698
69699 fi
69700
69701 fi
69702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69703 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69704
69705 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69706 for ac_func in _modf
69707 do :
69708 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69709 if test "x$ac_cv_func__modf" = xyes; then :
69710 cat >>confdefs.h <<_ACEOF
69711 #define HAVE__MODF 1
69712 _ACEOF
69713
69714 fi
69715 done
69716
69717 fi
69718 fi
69719
69720
69721
69722
69723
69724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69725 $as_echo_n "checking for powf declaration... " >&6; }
69726 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69727 if ${glibcxx_cv_func_powf_use+:} false; then :
69728 $as_echo_n "(cached) " >&6
69729 else
69730
69731
69732 ac_ext=cpp
69733 ac_cpp='$CXXCPP $CPPFLAGS'
69734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69737
69738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69739 /* end confdefs.h. */
69740 #include <math.h>
69741 int
69742 main ()
69743 {
69744 powf(0, 0);
69745 ;
69746 return 0;
69747 }
69748 _ACEOF
69749 if ac_fn_cxx_try_compile "$LINENO"; then :
69750 glibcxx_cv_func_powf_use=yes
69751 else
69752 glibcxx_cv_func_powf_use=no
69753 fi
69754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69755 ac_ext=c
69756 ac_cpp='$CPP $CPPFLAGS'
69757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69760
69761
69762 fi
69763
69764 fi
69765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69766 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69767
69768 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69769 for ac_func in powf
69770 do :
69771 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69772 if test "x$ac_cv_func_powf" = xyes; then :
69773 cat >>confdefs.h <<_ACEOF
69774 #define HAVE_POWF 1
69775 _ACEOF
69776
69777 fi
69778 done
69779
69780 else
69781
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69783 $as_echo_n "checking for _powf declaration... " >&6; }
69784 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69785 if ${glibcxx_cv_func__powf_use+:} false; then :
69786 $as_echo_n "(cached) " >&6
69787 else
69788
69789
69790 ac_ext=cpp
69791 ac_cpp='$CXXCPP $CPPFLAGS'
69792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69795
69796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69797 /* end confdefs.h. */
69798 #include <math.h>
69799 int
69800 main ()
69801 {
69802 _powf(0, 0);
69803 ;
69804 return 0;
69805 }
69806 _ACEOF
69807 if ac_fn_cxx_try_compile "$LINENO"; then :
69808 glibcxx_cv_func__powf_use=yes
69809 else
69810 glibcxx_cv_func__powf_use=no
69811 fi
69812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69813 ac_ext=c
69814 ac_cpp='$CPP $CPPFLAGS'
69815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69818
69819
69820 fi
69821
69822 fi
69823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69824 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69825
69826 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69827 for ac_func in _powf
69828 do :
69829 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69830 if test "x$ac_cv_func__powf" = xyes; then :
69831 cat >>confdefs.h <<_ACEOF
69832 #define HAVE__POWF 1
69833 _ACEOF
69834
69835 fi
69836 done
69837
69838 fi
69839 fi
69840
69841
69842
69843
69844
69845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69846 $as_echo_n "checking for sqrtf declaration... " >&6; }
69847 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69848 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69849 $as_echo_n "(cached) " >&6
69850 else
69851
69852
69853 ac_ext=cpp
69854 ac_cpp='$CXXCPP $CPPFLAGS'
69855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69858
69859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69860 /* end confdefs.h. */
69861 #include <math.h>
69862 #ifdef HAVE_IEEEFP_H
69863 #include <ieeefp.h>
69864 #endif
69865
69866 int
69867 main ()
69868 {
69869 sqrtf(0);
69870 ;
69871 return 0;
69872 }
69873 _ACEOF
69874 if ac_fn_cxx_try_compile "$LINENO"; then :
69875 glibcxx_cv_func_sqrtf_use=yes
69876 else
69877 glibcxx_cv_func_sqrtf_use=no
69878 fi
69879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69880 ac_ext=c
69881 ac_cpp='$CPP $CPPFLAGS'
69882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69885
69886
69887 fi
69888
69889 fi
69890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69891 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69892
69893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69894 for ac_func in sqrtf
69895 do :
69896 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69897 if test "x$ac_cv_func_sqrtf" = xyes; then :
69898 cat >>confdefs.h <<_ACEOF
69899 #define HAVE_SQRTF 1
69900 _ACEOF
69901
69902 fi
69903 done
69904
69905 else
69906
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69908 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69909 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69910 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69911 $as_echo_n "(cached) " >&6
69912 else
69913
69914
69915 ac_ext=cpp
69916 ac_cpp='$CXXCPP $CPPFLAGS'
69917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69920
69921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69922 /* end confdefs.h. */
69923 #include <math.h>
69924 #ifdef HAVE_IEEEFP_H
69925 #include <ieeefp.h>
69926 #endif
69927
69928 int
69929 main ()
69930 {
69931 _sqrtf(0);
69932 ;
69933 return 0;
69934 }
69935 _ACEOF
69936 if ac_fn_cxx_try_compile "$LINENO"; then :
69937 glibcxx_cv_func__sqrtf_use=yes
69938 else
69939 glibcxx_cv_func__sqrtf_use=no
69940 fi
69941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69942 ac_ext=c
69943 ac_cpp='$CPP $CPPFLAGS'
69944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69947
69948
69949 fi
69950
69951 fi
69952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69953 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69954
69955 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69956 for ac_func in _sqrtf
69957 do :
69958 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69959 if test "x$ac_cv_func__sqrtf" = xyes; then :
69960 cat >>confdefs.h <<_ACEOF
69961 #define HAVE__SQRTF 1
69962 _ACEOF
69963
69964 fi
69965 done
69966
69967 fi
69968 fi
69969
69970
69971
69972
69973
69974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69975 $as_echo_n "checking for sincosf declaration... " >&6; }
69976 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69977 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69978 $as_echo_n "(cached) " >&6
69979 else
69980
69981
69982 ac_ext=cpp
69983 ac_cpp='$CXXCPP $CPPFLAGS'
69984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69987
69988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69989 /* end confdefs.h. */
69990 #include <math.h>
69991 int
69992 main ()
69993 {
69994 sincosf(0, 0, 0);
69995 ;
69996 return 0;
69997 }
69998 _ACEOF
69999 if ac_fn_cxx_try_compile "$LINENO"; then :
70000 glibcxx_cv_func_sincosf_use=yes
70001 else
70002 glibcxx_cv_func_sincosf_use=no
70003 fi
70004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70005 ac_ext=c
70006 ac_cpp='$CPP $CPPFLAGS'
70007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70010
70011
70012 fi
70013
70014 fi
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70016 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70017
70018 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70019 for ac_func in sincosf
70020 do :
70021 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70022 if test "x$ac_cv_func_sincosf" = xyes; then :
70023 cat >>confdefs.h <<_ACEOF
70024 #define HAVE_SINCOSF 1
70025 _ACEOF
70026
70027 fi
70028 done
70029
70030 else
70031
70032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70033 $as_echo_n "checking for _sincosf declaration... " >&6; }
70034 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70035 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70036 $as_echo_n "(cached) " >&6
70037 else
70038
70039
70040 ac_ext=cpp
70041 ac_cpp='$CXXCPP $CPPFLAGS'
70042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70045
70046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70047 /* end confdefs.h. */
70048 #include <math.h>
70049 int
70050 main ()
70051 {
70052 _sincosf(0, 0, 0);
70053 ;
70054 return 0;
70055 }
70056 _ACEOF
70057 if ac_fn_cxx_try_compile "$LINENO"; then :
70058 glibcxx_cv_func__sincosf_use=yes
70059 else
70060 glibcxx_cv_func__sincosf_use=no
70061 fi
70062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70063 ac_ext=c
70064 ac_cpp='$CPP $CPPFLAGS'
70065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70068
70069
70070 fi
70071
70072 fi
70073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70074 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70075
70076 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70077 for ac_func in _sincosf
70078 do :
70079 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70080 if test "x$ac_cv_func__sincosf" = xyes; then :
70081 cat >>confdefs.h <<_ACEOF
70082 #define HAVE__SINCOSF 1
70083 _ACEOF
70084
70085 fi
70086 done
70087
70088 fi
70089 fi
70090
70091
70092
70093
70094
70095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70096 $as_echo_n "checking for finitef declaration... " >&6; }
70097 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70098 if ${glibcxx_cv_func_finitef_use+:} false; then :
70099 $as_echo_n "(cached) " >&6
70100 else
70101
70102
70103 ac_ext=cpp
70104 ac_cpp='$CXXCPP $CPPFLAGS'
70105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70108
70109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70110 /* end confdefs.h. */
70111 #include <math.h>
70112 #ifdef HAVE_IEEEFP_H
70113 #include <ieeefp.h>
70114 #endif
70115
70116 int
70117 main ()
70118 {
70119 finitef(0);
70120 ;
70121 return 0;
70122 }
70123 _ACEOF
70124 if ac_fn_cxx_try_compile "$LINENO"; then :
70125 glibcxx_cv_func_finitef_use=yes
70126 else
70127 glibcxx_cv_func_finitef_use=no
70128 fi
70129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70130 ac_ext=c
70131 ac_cpp='$CPP $CPPFLAGS'
70132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70135
70136
70137 fi
70138
70139 fi
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70141 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70142
70143 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70144 for ac_func in finitef
70145 do :
70146 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70147 if test "x$ac_cv_func_finitef" = xyes; then :
70148 cat >>confdefs.h <<_ACEOF
70149 #define HAVE_FINITEF 1
70150 _ACEOF
70151
70152 fi
70153 done
70154
70155 else
70156
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70158 $as_echo_n "checking for _finitef declaration... " >&6; }
70159 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70160 if ${glibcxx_cv_func__finitef_use+:} false; then :
70161 $as_echo_n "(cached) " >&6
70162 else
70163
70164
70165 ac_ext=cpp
70166 ac_cpp='$CXXCPP $CPPFLAGS'
70167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70170
70171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70172 /* end confdefs.h. */
70173 #include <math.h>
70174 #ifdef HAVE_IEEEFP_H
70175 #include <ieeefp.h>
70176 #endif
70177
70178 int
70179 main ()
70180 {
70181 _finitef(0);
70182 ;
70183 return 0;
70184 }
70185 _ACEOF
70186 if ac_fn_cxx_try_compile "$LINENO"; then :
70187 glibcxx_cv_func__finitef_use=yes
70188 else
70189 glibcxx_cv_func__finitef_use=no
70190 fi
70191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70192 ac_ext=c
70193 ac_cpp='$CPP $CPPFLAGS'
70194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70197
70198
70199 fi
70200
70201 fi
70202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70203 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70204
70205 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70206 for ac_func in _finitef
70207 do :
70208 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70209 if test "x$ac_cv_func__finitef" = xyes; then :
70210 cat >>confdefs.h <<_ACEOF
70211 #define HAVE__FINITEF 1
70212 _ACEOF
70213
70214 fi
70215 done
70216
70217 fi
70218 fi
70219
70220
70221
70222
70223
70224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70225 $as_echo_n "checking for long double trig functions... " >&6; }
70226 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70227 $as_echo_n "(cached) " >&6
70228 else
70229
70230
70231 ac_ext=cpp
70232 ac_cpp='$CXXCPP $CPPFLAGS'
70233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70236
70237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70238 /* end confdefs.h. */
70239 #include <math.h>
70240 int
70241 main ()
70242 {
70243 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70244 ;
70245 return 0;
70246 }
70247 _ACEOF
70248 if ac_fn_cxx_try_compile "$LINENO"; then :
70249 glibcxx_cv_func_long_double_trig_use=yes
70250 else
70251 glibcxx_cv_func_long_double_trig_use=no
70252 fi
70253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70254 ac_ext=c
70255 ac_cpp='$CPP $CPPFLAGS'
70256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70259
70260 fi
70261
70262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70263 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70264 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70265 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70266 do :
70267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70270 cat >>confdefs.h <<_ACEOF
70271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70272 _ACEOF
70273
70274 fi
70275 done
70276
70277 else
70278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70279 $as_echo_n "checking for _long double trig functions... " >&6; }
70280 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70281 $as_echo_n "(cached) " >&6
70282 else
70283
70284
70285 ac_ext=cpp
70286 ac_cpp='$CXXCPP $CPPFLAGS'
70287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70290
70291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70292 /* end confdefs.h. */
70293 #include <math.h>
70294 int
70295 main ()
70296 {
70297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70298 ;
70299 return 0;
70300 }
70301 _ACEOF
70302 if ac_fn_cxx_try_compile "$LINENO"; then :
70303 glibcxx_cv_func__long_double_trig_use=yes
70304 else
70305 glibcxx_cv_func__long_double_trig_use=no
70306 fi
70307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70308 ac_ext=c
70309 ac_cpp='$CPP $CPPFLAGS'
70310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70313
70314 fi
70315
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70317 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70318 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70319 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70320 do :
70321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70324 cat >>confdefs.h <<_ACEOF
70325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70326 _ACEOF
70327
70328 fi
70329 done
70330
70331 fi
70332 fi
70333
70334
70335
70336
70337
70338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70339 $as_echo_n "checking for long double round functions... " >&6; }
70340 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70341 $as_echo_n "(cached) " >&6
70342 else
70343
70344
70345 ac_ext=cpp
70346 ac_cpp='$CXXCPP $CPPFLAGS'
70347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70350
70351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70352 /* end confdefs.h. */
70353 #include <math.h>
70354 int
70355 main ()
70356 {
70357 ceill (0); floorl (0);
70358 ;
70359 return 0;
70360 }
70361 _ACEOF
70362 if ac_fn_cxx_try_compile "$LINENO"; then :
70363 glibcxx_cv_func_long_double_round_use=yes
70364 else
70365 glibcxx_cv_func_long_double_round_use=no
70366 fi
70367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70368 ac_ext=c
70369 ac_cpp='$CPP $CPPFLAGS'
70370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70373
70374 fi
70375
70376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70377 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70378 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70379 for ac_func in ceill floorl
70380 do :
70381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70384 cat >>confdefs.h <<_ACEOF
70385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70386 _ACEOF
70387
70388 fi
70389 done
70390
70391 else
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70393 $as_echo_n "checking for _long double round functions... " >&6; }
70394 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70395 $as_echo_n "(cached) " >&6
70396 else
70397
70398
70399 ac_ext=cpp
70400 ac_cpp='$CXXCPP $CPPFLAGS'
70401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70404
70405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70406 /* end confdefs.h. */
70407 #include <math.h>
70408 int
70409 main ()
70410 {
70411 _ceill (0); _floorl (0);
70412 ;
70413 return 0;
70414 }
70415 _ACEOF
70416 if ac_fn_cxx_try_compile "$LINENO"; then :
70417 glibcxx_cv_func__long_double_round_use=yes
70418 else
70419 glibcxx_cv_func__long_double_round_use=no
70420 fi
70421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70422 ac_ext=c
70423 ac_cpp='$CPP $CPPFLAGS'
70424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70427
70428 fi
70429
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70431 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70432 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70433 for ac_func in _ceill _floorl
70434 do :
70435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70440 _ACEOF
70441
70442 fi
70443 done
70444
70445 fi
70446 fi
70447
70448
70449
70450
70451
70452
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70454 $as_echo_n "checking for isnanl declaration... " >&6; }
70455 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70456 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70457 $as_echo_n "(cached) " >&6
70458 else
70459
70460
70461 ac_ext=cpp
70462 ac_cpp='$CXXCPP $CPPFLAGS'
70463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70466
70467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70468 /* end confdefs.h. */
70469 #include <math.h>
70470 #ifdef HAVE_IEEEFP_H
70471 #include <ieeefp.h>
70472 #endif
70473
70474 int
70475 main ()
70476 {
70477 isnanl(0);
70478 ;
70479 return 0;
70480 }
70481 _ACEOF
70482 if ac_fn_cxx_try_compile "$LINENO"; then :
70483 glibcxx_cv_func_isnanl_use=yes
70484 else
70485 glibcxx_cv_func_isnanl_use=no
70486 fi
70487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70488 ac_ext=c
70489 ac_cpp='$CPP $CPPFLAGS'
70490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70493
70494
70495 fi
70496
70497 fi
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70499 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70500
70501 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70502 for ac_func in isnanl
70503 do :
70504 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70505 if test "x$ac_cv_func_isnanl" = xyes; then :
70506 cat >>confdefs.h <<_ACEOF
70507 #define HAVE_ISNANL 1
70508 _ACEOF
70509
70510 fi
70511 done
70512
70513 else
70514
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70516 $as_echo_n "checking for _isnanl declaration... " >&6; }
70517 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70518 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70519 $as_echo_n "(cached) " >&6
70520 else
70521
70522
70523 ac_ext=cpp
70524 ac_cpp='$CXXCPP $CPPFLAGS'
70525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70528
70529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70530 /* end confdefs.h. */
70531 #include <math.h>
70532 #ifdef HAVE_IEEEFP_H
70533 #include <ieeefp.h>
70534 #endif
70535
70536 int
70537 main ()
70538 {
70539 _isnanl(0);
70540 ;
70541 return 0;
70542 }
70543 _ACEOF
70544 if ac_fn_cxx_try_compile "$LINENO"; then :
70545 glibcxx_cv_func__isnanl_use=yes
70546 else
70547 glibcxx_cv_func__isnanl_use=no
70548 fi
70549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70550 ac_ext=c
70551 ac_cpp='$CPP $CPPFLAGS'
70552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70555
70556
70557 fi
70558
70559 fi
70560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70561 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70562
70563 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70564 for ac_func in _isnanl
70565 do :
70566 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70567 if test "x$ac_cv_func__isnanl" = xyes; then :
70568 cat >>confdefs.h <<_ACEOF
70569 #define HAVE__ISNANL 1
70570 _ACEOF
70571
70572 fi
70573 done
70574
70575 fi
70576 fi
70577
70578
70579
70580
70581
70582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70583 $as_echo_n "checking for isinfl declaration... " >&6; }
70584 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70585 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70586 $as_echo_n "(cached) " >&6
70587 else
70588
70589
70590 ac_ext=cpp
70591 ac_cpp='$CXXCPP $CPPFLAGS'
70592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70595
70596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70597 /* end confdefs.h. */
70598 #include <math.h>
70599 #ifdef HAVE_IEEEFP_H
70600 #include <ieeefp.h>
70601 #endif
70602
70603 int
70604 main ()
70605 {
70606 isinfl(0);
70607 ;
70608 return 0;
70609 }
70610 _ACEOF
70611 if ac_fn_cxx_try_compile "$LINENO"; then :
70612 glibcxx_cv_func_isinfl_use=yes
70613 else
70614 glibcxx_cv_func_isinfl_use=no
70615 fi
70616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70617 ac_ext=c
70618 ac_cpp='$CPP $CPPFLAGS'
70619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70622
70623
70624 fi
70625
70626 fi
70627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70628 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70629
70630 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70631 for ac_func in isinfl
70632 do :
70633 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70634 if test "x$ac_cv_func_isinfl" = xyes; then :
70635 cat >>confdefs.h <<_ACEOF
70636 #define HAVE_ISINFL 1
70637 _ACEOF
70638
70639 fi
70640 done
70641
70642 else
70643
70644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70645 $as_echo_n "checking for _isinfl declaration... " >&6; }
70646 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70647 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70648 $as_echo_n "(cached) " >&6
70649 else
70650
70651
70652 ac_ext=cpp
70653 ac_cpp='$CXXCPP $CPPFLAGS'
70654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70657
70658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70659 /* end confdefs.h. */
70660 #include <math.h>
70661 #ifdef HAVE_IEEEFP_H
70662 #include <ieeefp.h>
70663 #endif
70664
70665 int
70666 main ()
70667 {
70668 _isinfl(0);
70669 ;
70670 return 0;
70671 }
70672 _ACEOF
70673 if ac_fn_cxx_try_compile "$LINENO"; then :
70674 glibcxx_cv_func__isinfl_use=yes
70675 else
70676 glibcxx_cv_func__isinfl_use=no
70677 fi
70678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70679 ac_ext=c
70680 ac_cpp='$CPP $CPPFLAGS'
70681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70684
70685
70686 fi
70687
70688 fi
70689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70690 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70691
70692 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70693 for ac_func in _isinfl
70694 do :
70695 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70696 if test "x$ac_cv_func__isinfl" = xyes; then :
70697 cat >>confdefs.h <<_ACEOF
70698 #define HAVE__ISINFL 1
70699 _ACEOF
70700
70701 fi
70702 done
70703
70704 fi
70705 fi
70706
70707
70708
70709
70710
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70712 $as_echo_n "checking for atan2l declaration... " >&6; }
70713 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70714 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70715 $as_echo_n "(cached) " >&6
70716 else
70717
70718
70719 ac_ext=cpp
70720 ac_cpp='$CXXCPP $CPPFLAGS'
70721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70724
70725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70726 /* end confdefs.h. */
70727 #include <math.h>
70728 int
70729 main ()
70730 {
70731 atan2l(0, 0);
70732 ;
70733 return 0;
70734 }
70735 _ACEOF
70736 if ac_fn_cxx_try_compile "$LINENO"; then :
70737 glibcxx_cv_func_atan2l_use=yes
70738 else
70739 glibcxx_cv_func_atan2l_use=no
70740 fi
70741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70742 ac_ext=c
70743 ac_cpp='$CPP $CPPFLAGS'
70744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70747
70748
70749 fi
70750
70751 fi
70752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70753 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70754
70755 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70756 for ac_func in atan2l
70757 do :
70758 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70759 if test "x$ac_cv_func_atan2l" = xyes; then :
70760 cat >>confdefs.h <<_ACEOF
70761 #define HAVE_ATAN2L 1
70762 _ACEOF
70763
70764 fi
70765 done
70766
70767 else
70768
70769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70770 $as_echo_n "checking for _atan2l declaration... " >&6; }
70771 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70772 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70773 $as_echo_n "(cached) " >&6
70774 else
70775
70776
70777 ac_ext=cpp
70778 ac_cpp='$CXXCPP $CPPFLAGS'
70779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70782
70783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70784 /* end confdefs.h. */
70785 #include <math.h>
70786 int
70787 main ()
70788 {
70789 _atan2l(0, 0);
70790 ;
70791 return 0;
70792 }
70793 _ACEOF
70794 if ac_fn_cxx_try_compile "$LINENO"; then :
70795 glibcxx_cv_func__atan2l_use=yes
70796 else
70797 glibcxx_cv_func__atan2l_use=no
70798 fi
70799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70800 ac_ext=c
70801 ac_cpp='$CPP $CPPFLAGS'
70802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70805
70806
70807 fi
70808
70809 fi
70810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70811 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70812
70813 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70814 for ac_func in _atan2l
70815 do :
70816 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70817 if test "x$ac_cv_func__atan2l" = xyes; then :
70818 cat >>confdefs.h <<_ACEOF
70819 #define HAVE__ATAN2L 1
70820 _ACEOF
70821
70822 fi
70823 done
70824
70825 fi
70826 fi
70827
70828
70829
70830
70831
70832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70833 $as_echo_n "checking for expl declaration... " >&6; }
70834 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70835 if ${glibcxx_cv_func_expl_use+:} false; then :
70836 $as_echo_n "(cached) " >&6
70837 else
70838
70839
70840 ac_ext=cpp
70841 ac_cpp='$CXXCPP $CPPFLAGS'
70842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70845
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <math.h>
70849 #ifdef HAVE_IEEEFP_H
70850 #include <ieeefp.h>
70851 #endif
70852
70853 int
70854 main ()
70855 {
70856 expl(0);
70857 ;
70858 return 0;
70859 }
70860 _ACEOF
70861 if ac_fn_cxx_try_compile "$LINENO"; then :
70862 glibcxx_cv_func_expl_use=yes
70863 else
70864 glibcxx_cv_func_expl_use=no
70865 fi
70866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70867 ac_ext=c
70868 ac_cpp='$CPP $CPPFLAGS'
70869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70872
70873
70874 fi
70875
70876 fi
70877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70878 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70879
70880 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70881 for ac_func in expl
70882 do :
70883 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70884 if test "x$ac_cv_func_expl" = xyes; then :
70885 cat >>confdefs.h <<_ACEOF
70886 #define HAVE_EXPL 1
70887 _ACEOF
70888
70889 fi
70890 done
70891
70892 else
70893
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70895 $as_echo_n "checking for _expl declaration... " >&6; }
70896 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70897 if ${glibcxx_cv_func__expl_use+:} false; then :
70898 $as_echo_n "(cached) " >&6
70899 else
70900
70901
70902 ac_ext=cpp
70903 ac_cpp='$CXXCPP $CPPFLAGS'
70904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70907
70908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70909 /* end confdefs.h. */
70910 #include <math.h>
70911 #ifdef HAVE_IEEEFP_H
70912 #include <ieeefp.h>
70913 #endif
70914
70915 int
70916 main ()
70917 {
70918 _expl(0);
70919 ;
70920 return 0;
70921 }
70922 _ACEOF
70923 if ac_fn_cxx_try_compile "$LINENO"; then :
70924 glibcxx_cv_func__expl_use=yes
70925 else
70926 glibcxx_cv_func__expl_use=no
70927 fi
70928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70929 ac_ext=c
70930 ac_cpp='$CPP $CPPFLAGS'
70931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70934
70935
70936 fi
70937
70938 fi
70939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70940 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70941
70942 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70943 for ac_func in _expl
70944 do :
70945 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70946 if test "x$ac_cv_func__expl" = xyes; then :
70947 cat >>confdefs.h <<_ACEOF
70948 #define HAVE__EXPL 1
70949 _ACEOF
70950
70951 fi
70952 done
70953
70954 fi
70955 fi
70956
70957
70958
70959
70960
70961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70962 $as_echo_n "checking for fabsl declaration... " >&6; }
70963 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70964 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70965 $as_echo_n "(cached) " >&6
70966 else
70967
70968
70969 ac_ext=cpp
70970 ac_cpp='$CXXCPP $CPPFLAGS'
70971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70974
70975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70976 /* end confdefs.h. */
70977 #include <math.h>
70978 #ifdef HAVE_IEEEFP_H
70979 #include <ieeefp.h>
70980 #endif
70981
70982 int
70983 main ()
70984 {
70985 fabsl(0);
70986 ;
70987 return 0;
70988 }
70989 _ACEOF
70990 if ac_fn_cxx_try_compile "$LINENO"; then :
70991 glibcxx_cv_func_fabsl_use=yes
70992 else
70993 glibcxx_cv_func_fabsl_use=no
70994 fi
70995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70996 ac_ext=c
70997 ac_cpp='$CPP $CPPFLAGS'
70998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71001
71002
71003 fi
71004
71005 fi
71006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71007 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71008
71009 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71010 for ac_func in fabsl
71011 do :
71012 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71013 if test "x$ac_cv_func_fabsl" = xyes; then :
71014 cat >>confdefs.h <<_ACEOF
71015 #define HAVE_FABSL 1
71016 _ACEOF
71017
71018 fi
71019 done
71020
71021 else
71022
71023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71024 $as_echo_n "checking for _fabsl declaration... " >&6; }
71025 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71026 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71027 $as_echo_n "(cached) " >&6
71028 else
71029
71030
71031 ac_ext=cpp
71032 ac_cpp='$CXXCPP $CPPFLAGS'
71033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71036
71037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71038 /* end confdefs.h. */
71039 #include <math.h>
71040 #ifdef HAVE_IEEEFP_H
71041 #include <ieeefp.h>
71042 #endif
71043
71044 int
71045 main ()
71046 {
71047 _fabsl(0);
71048 ;
71049 return 0;
71050 }
71051 _ACEOF
71052 if ac_fn_cxx_try_compile "$LINENO"; then :
71053 glibcxx_cv_func__fabsl_use=yes
71054 else
71055 glibcxx_cv_func__fabsl_use=no
71056 fi
71057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71058 ac_ext=c
71059 ac_cpp='$CPP $CPPFLAGS'
71060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71063
71064
71065 fi
71066
71067 fi
71068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71069 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71070
71071 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71072 for ac_func in _fabsl
71073 do :
71074 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71075 if test "x$ac_cv_func__fabsl" = xyes; then :
71076 cat >>confdefs.h <<_ACEOF
71077 #define HAVE__FABSL 1
71078 _ACEOF
71079
71080 fi
71081 done
71082
71083 fi
71084 fi
71085
71086
71087
71088
71089
71090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71091 $as_echo_n "checking for fmodl declaration... " >&6; }
71092 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71093 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71094 $as_echo_n "(cached) " >&6
71095 else
71096
71097
71098 ac_ext=cpp
71099 ac_cpp='$CXXCPP $CPPFLAGS'
71100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71103
71104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71105 /* end confdefs.h. */
71106 #include <math.h>
71107 int
71108 main ()
71109 {
71110 fmodl(0, 0);
71111 ;
71112 return 0;
71113 }
71114 _ACEOF
71115 if ac_fn_cxx_try_compile "$LINENO"; then :
71116 glibcxx_cv_func_fmodl_use=yes
71117 else
71118 glibcxx_cv_func_fmodl_use=no
71119 fi
71120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71121 ac_ext=c
71122 ac_cpp='$CPP $CPPFLAGS'
71123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71126
71127
71128 fi
71129
71130 fi
71131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71132 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71133
71134 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71135 for ac_func in fmodl
71136 do :
71137 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71138 if test "x$ac_cv_func_fmodl" = xyes; then :
71139 cat >>confdefs.h <<_ACEOF
71140 #define HAVE_FMODL 1
71141 _ACEOF
71142
71143 fi
71144 done
71145
71146 else
71147
71148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71149 $as_echo_n "checking for _fmodl declaration... " >&6; }
71150 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71151 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71152 $as_echo_n "(cached) " >&6
71153 else
71154
71155
71156 ac_ext=cpp
71157 ac_cpp='$CXXCPP $CPPFLAGS'
71158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71161
71162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71163 /* end confdefs.h. */
71164 #include <math.h>
71165 int
71166 main ()
71167 {
71168 _fmodl(0, 0);
71169 ;
71170 return 0;
71171 }
71172 _ACEOF
71173 if ac_fn_cxx_try_compile "$LINENO"; then :
71174 glibcxx_cv_func__fmodl_use=yes
71175 else
71176 glibcxx_cv_func__fmodl_use=no
71177 fi
71178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71179 ac_ext=c
71180 ac_cpp='$CPP $CPPFLAGS'
71181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71184
71185
71186 fi
71187
71188 fi
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71190 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71191
71192 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71193 for ac_func in _fmodl
71194 do :
71195 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71196 if test "x$ac_cv_func__fmodl" = xyes; then :
71197 cat >>confdefs.h <<_ACEOF
71198 #define HAVE__FMODL 1
71199 _ACEOF
71200
71201 fi
71202 done
71203
71204 fi
71205 fi
71206
71207
71208
71209
71210
71211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71212 $as_echo_n "checking for frexpl declaration... " >&6; }
71213 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71214 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71215 $as_echo_n "(cached) " >&6
71216 else
71217
71218
71219 ac_ext=cpp
71220 ac_cpp='$CXXCPP $CPPFLAGS'
71221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71224
71225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71226 /* end confdefs.h. */
71227 #include <math.h>
71228 int
71229 main ()
71230 {
71231 frexpl(0, 0);
71232 ;
71233 return 0;
71234 }
71235 _ACEOF
71236 if ac_fn_cxx_try_compile "$LINENO"; then :
71237 glibcxx_cv_func_frexpl_use=yes
71238 else
71239 glibcxx_cv_func_frexpl_use=no
71240 fi
71241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71242 ac_ext=c
71243 ac_cpp='$CPP $CPPFLAGS'
71244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71247
71248
71249 fi
71250
71251 fi
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71253 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71254
71255 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71256 for ac_func in frexpl
71257 do :
71258 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71259 if test "x$ac_cv_func_frexpl" = xyes; then :
71260 cat >>confdefs.h <<_ACEOF
71261 #define HAVE_FREXPL 1
71262 _ACEOF
71263
71264 fi
71265 done
71266
71267 else
71268
71269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71270 $as_echo_n "checking for _frexpl declaration... " >&6; }
71271 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71272 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71273 $as_echo_n "(cached) " >&6
71274 else
71275
71276
71277 ac_ext=cpp
71278 ac_cpp='$CXXCPP $CPPFLAGS'
71279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71282
71283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71284 /* end confdefs.h. */
71285 #include <math.h>
71286 int
71287 main ()
71288 {
71289 _frexpl(0, 0);
71290 ;
71291 return 0;
71292 }
71293 _ACEOF
71294 if ac_fn_cxx_try_compile "$LINENO"; then :
71295 glibcxx_cv_func__frexpl_use=yes
71296 else
71297 glibcxx_cv_func__frexpl_use=no
71298 fi
71299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71300 ac_ext=c
71301 ac_cpp='$CPP $CPPFLAGS'
71302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71305
71306
71307 fi
71308
71309 fi
71310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71311 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71312
71313 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71314 for ac_func in _frexpl
71315 do :
71316 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71317 if test "x$ac_cv_func__frexpl" = xyes; then :
71318 cat >>confdefs.h <<_ACEOF
71319 #define HAVE__FREXPL 1
71320 _ACEOF
71321
71322 fi
71323 done
71324
71325 fi
71326 fi
71327
71328
71329
71330
71331
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71333 $as_echo_n "checking for hypotl declaration... " >&6; }
71334 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71335 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71336 $as_echo_n "(cached) " >&6
71337 else
71338
71339
71340 ac_ext=cpp
71341 ac_cpp='$CXXCPP $CPPFLAGS'
71342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71345
71346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71347 /* end confdefs.h. */
71348 #include <math.h>
71349 int
71350 main ()
71351 {
71352 hypotl(0, 0);
71353 ;
71354 return 0;
71355 }
71356 _ACEOF
71357 if ac_fn_cxx_try_compile "$LINENO"; then :
71358 glibcxx_cv_func_hypotl_use=yes
71359 else
71360 glibcxx_cv_func_hypotl_use=no
71361 fi
71362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71363 ac_ext=c
71364 ac_cpp='$CPP $CPPFLAGS'
71365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71368
71369
71370 fi
71371
71372 fi
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71374 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71375
71376 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71377 for ac_func in hypotl
71378 do :
71379 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71380 if test "x$ac_cv_func_hypotl" = xyes; then :
71381 cat >>confdefs.h <<_ACEOF
71382 #define HAVE_HYPOTL 1
71383 _ACEOF
71384
71385 fi
71386 done
71387
71388 else
71389
71390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71391 $as_echo_n "checking for _hypotl declaration... " >&6; }
71392 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71393 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71394 $as_echo_n "(cached) " >&6
71395 else
71396
71397
71398 ac_ext=cpp
71399 ac_cpp='$CXXCPP $CPPFLAGS'
71400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71403
71404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71405 /* end confdefs.h. */
71406 #include <math.h>
71407 int
71408 main ()
71409 {
71410 _hypotl(0, 0);
71411 ;
71412 return 0;
71413 }
71414 _ACEOF
71415 if ac_fn_cxx_try_compile "$LINENO"; then :
71416 glibcxx_cv_func__hypotl_use=yes
71417 else
71418 glibcxx_cv_func__hypotl_use=no
71419 fi
71420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71421 ac_ext=c
71422 ac_cpp='$CPP $CPPFLAGS'
71423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71426
71427
71428 fi
71429
71430 fi
71431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71432 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71433
71434 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71435 for ac_func in _hypotl
71436 do :
71437 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71438 if test "x$ac_cv_func__hypotl" = xyes; then :
71439 cat >>confdefs.h <<_ACEOF
71440 #define HAVE__HYPOTL 1
71441 _ACEOF
71442
71443 fi
71444 done
71445
71446 fi
71447 fi
71448
71449
71450
71451
71452
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71454 $as_echo_n "checking for ldexpl declaration... " >&6; }
71455 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71456 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71457 $as_echo_n "(cached) " >&6
71458 else
71459
71460
71461 ac_ext=cpp
71462 ac_cpp='$CXXCPP $CPPFLAGS'
71463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71466
71467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71468 /* end confdefs.h. */
71469 #include <math.h>
71470 int
71471 main ()
71472 {
71473 ldexpl(0, 0);
71474 ;
71475 return 0;
71476 }
71477 _ACEOF
71478 if ac_fn_cxx_try_compile "$LINENO"; then :
71479 glibcxx_cv_func_ldexpl_use=yes
71480 else
71481 glibcxx_cv_func_ldexpl_use=no
71482 fi
71483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71484 ac_ext=c
71485 ac_cpp='$CPP $CPPFLAGS'
71486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71489
71490
71491 fi
71492
71493 fi
71494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71495 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71496
71497 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71498 for ac_func in ldexpl
71499 do :
71500 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71501 if test "x$ac_cv_func_ldexpl" = xyes; then :
71502 cat >>confdefs.h <<_ACEOF
71503 #define HAVE_LDEXPL 1
71504 _ACEOF
71505
71506 fi
71507 done
71508
71509 else
71510
71511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71512 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71513 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71514 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71515 $as_echo_n "(cached) " >&6
71516 else
71517
71518
71519 ac_ext=cpp
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71524
71525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71526 /* end confdefs.h. */
71527 #include <math.h>
71528 int
71529 main ()
71530 {
71531 _ldexpl(0, 0);
71532 ;
71533 return 0;
71534 }
71535 _ACEOF
71536 if ac_fn_cxx_try_compile "$LINENO"; then :
71537 glibcxx_cv_func__ldexpl_use=yes
71538 else
71539 glibcxx_cv_func__ldexpl_use=no
71540 fi
71541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71542 ac_ext=c
71543 ac_cpp='$CPP $CPPFLAGS'
71544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71547
71548
71549 fi
71550
71551 fi
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71553 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71554
71555 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71556 for ac_func in _ldexpl
71557 do :
71558 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71559 if test "x$ac_cv_func__ldexpl" = xyes; then :
71560 cat >>confdefs.h <<_ACEOF
71561 #define HAVE__LDEXPL 1
71562 _ACEOF
71563
71564 fi
71565 done
71566
71567 fi
71568 fi
71569
71570
71571
71572
71573
71574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71575 $as_echo_n "checking for logl declaration... " >&6; }
71576 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71577 if ${glibcxx_cv_func_logl_use+:} false; then :
71578 $as_echo_n "(cached) " >&6
71579 else
71580
71581
71582 ac_ext=cpp
71583 ac_cpp='$CXXCPP $CPPFLAGS'
71584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71587
71588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71589 /* end confdefs.h. */
71590 #include <math.h>
71591 #ifdef HAVE_IEEEFP_H
71592 #include <ieeefp.h>
71593 #endif
71594
71595 int
71596 main ()
71597 {
71598 logl(0);
71599 ;
71600 return 0;
71601 }
71602 _ACEOF
71603 if ac_fn_cxx_try_compile "$LINENO"; then :
71604 glibcxx_cv_func_logl_use=yes
71605 else
71606 glibcxx_cv_func_logl_use=no
71607 fi
71608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71609 ac_ext=c
71610 ac_cpp='$CPP $CPPFLAGS'
71611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71614
71615
71616 fi
71617
71618 fi
71619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71620 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71621
71622 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71623 for ac_func in logl
71624 do :
71625 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71626 if test "x$ac_cv_func_logl" = xyes; then :
71627 cat >>confdefs.h <<_ACEOF
71628 #define HAVE_LOGL 1
71629 _ACEOF
71630
71631 fi
71632 done
71633
71634 else
71635
71636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71637 $as_echo_n "checking for _logl declaration... " >&6; }
71638 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71639 if ${glibcxx_cv_func__logl_use+:} false; then :
71640 $as_echo_n "(cached) " >&6
71641 else
71642
71643
71644 ac_ext=cpp
71645 ac_cpp='$CXXCPP $CPPFLAGS'
71646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71649
71650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71651 /* end confdefs.h. */
71652 #include <math.h>
71653 #ifdef HAVE_IEEEFP_H
71654 #include <ieeefp.h>
71655 #endif
71656
71657 int
71658 main ()
71659 {
71660 _logl(0);
71661 ;
71662 return 0;
71663 }
71664 _ACEOF
71665 if ac_fn_cxx_try_compile "$LINENO"; then :
71666 glibcxx_cv_func__logl_use=yes
71667 else
71668 glibcxx_cv_func__logl_use=no
71669 fi
71670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71671 ac_ext=c
71672 ac_cpp='$CPP $CPPFLAGS'
71673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71676
71677
71678 fi
71679
71680 fi
71681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71682 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71683
71684 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71685 for ac_func in _logl
71686 do :
71687 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71688 if test "x$ac_cv_func__logl" = xyes; then :
71689 cat >>confdefs.h <<_ACEOF
71690 #define HAVE__LOGL 1
71691 _ACEOF
71692
71693 fi
71694 done
71695
71696 fi
71697 fi
71698
71699
71700
71701
71702
71703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71704 $as_echo_n "checking for log10l declaration... " >&6; }
71705 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71706 if ${glibcxx_cv_func_log10l_use+:} false; then :
71707 $as_echo_n "(cached) " >&6
71708 else
71709
71710
71711 ac_ext=cpp
71712 ac_cpp='$CXXCPP $CPPFLAGS'
71713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71716
71717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71718 /* end confdefs.h. */
71719 #include <math.h>
71720 #ifdef HAVE_IEEEFP_H
71721 #include <ieeefp.h>
71722 #endif
71723
71724 int
71725 main ()
71726 {
71727 log10l(0);
71728 ;
71729 return 0;
71730 }
71731 _ACEOF
71732 if ac_fn_cxx_try_compile "$LINENO"; then :
71733 glibcxx_cv_func_log10l_use=yes
71734 else
71735 glibcxx_cv_func_log10l_use=no
71736 fi
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71743
71744
71745 fi
71746
71747 fi
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71749 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71750
71751 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71752 for ac_func in log10l
71753 do :
71754 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71755 if test "x$ac_cv_func_log10l" = xyes; then :
71756 cat >>confdefs.h <<_ACEOF
71757 #define HAVE_LOG10L 1
71758 _ACEOF
71759
71760 fi
71761 done
71762
71763 else
71764
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71766 $as_echo_n "checking for _log10l declaration... " >&6; }
71767 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71768 if ${glibcxx_cv_func__log10l_use+:} false; then :
71769 $as_echo_n "(cached) " >&6
71770 else
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780 /* end confdefs.h. */
71781 #include <math.h>
71782 #ifdef HAVE_IEEEFP_H
71783 #include <ieeefp.h>
71784 #endif
71785
71786 int
71787 main ()
71788 {
71789 _log10l(0);
71790 ;
71791 return 0;
71792 }
71793 _ACEOF
71794 if ac_fn_cxx_try_compile "$LINENO"; then :
71795 glibcxx_cv_func__log10l_use=yes
71796 else
71797 glibcxx_cv_func__log10l_use=no
71798 fi
71799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71800 ac_ext=c
71801 ac_cpp='$CPP $CPPFLAGS'
71802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71805
71806
71807 fi
71808
71809 fi
71810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71811 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71812
71813 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71814 for ac_func in _log10l
71815 do :
71816 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71817 if test "x$ac_cv_func__log10l" = xyes; then :
71818 cat >>confdefs.h <<_ACEOF
71819 #define HAVE__LOG10L 1
71820 _ACEOF
71821
71822 fi
71823 done
71824
71825 fi
71826 fi
71827
71828
71829
71830
71831
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71833 $as_echo_n "checking for modfl declaration... " >&6; }
71834 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71835 if ${glibcxx_cv_func_modfl_use+:} false; then :
71836 $as_echo_n "(cached) " >&6
71837 else
71838
71839
71840 ac_ext=cpp
71841 ac_cpp='$CXXCPP $CPPFLAGS'
71842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71845
71846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71847 /* end confdefs.h. */
71848 #include <math.h>
71849 int
71850 main ()
71851 {
71852 modfl(0, 0);
71853 ;
71854 return 0;
71855 }
71856 _ACEOF
71857 if ac_fn_cxx_try_compile "$LINENO"; then :
71858 glibcxx_cv_func_modfl_use=yes
71859 else
71860 glibcxx_cv_func_modfl_use=no
71861 fi
71862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71868
71869
71870 fi
71871
71872 fi
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71874 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71875
71876 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71877 for ac_func in modfl
71878 do :
71879 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71880 if test "x$ac_cv_func_modfl" = xyes; then :
71881 cat >>confdefs.h <<_ACEOF
71882 #define HAVE_MODFL 1
71883 _ACEOF
71884
71885 fi
71886 done
71887
71888 else
71889
71890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71891 $as_echo_n "checking for _modfl declaration... " >&6; }
71892 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71893 if ${glibcxx_cv_func__modfl_use+:} false; then :
71894 $as_echo_n "(cached) " >&6
71895 else
71896
71897
71898 ac_ext=cpp
71899 ac_cpp='$CXXCPP $CPPFLAGS'
71900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71903
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71906 #include <math.h>
71907 int
71908 main ()
71909 {
71910 _modfl(0, 0);
71911 ;
71912 return 0;
71913 }
71914 _ACEOF
71915 if ac_fn_cxx_try_compile "$LINENO"; then :
71916 glibcxx_cv_func__modfl_use=yes
71917 else
71918 glibcxx_cv_func__modfl_use=no
71919 fi
71920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921 ac_ext=c
71922 ac_cpp='$CPP $CPPFLAGS'
71923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71926
71927
71928 fi
71929
71930 fi
71931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71932 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71933
71934 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71935 for ac_func in _modfl
71936 do :
71937 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71938 if test "x$ac_cv_func__modfl" = xyes; then :
71939 cat >>confdefs.h <<_ACEOF
71940 #define HAVE__MODFL 1
71941 _ACEOF
71942
71943 fi
71944 done
71945
71946 fi
71947 fi
71948
71949
71950
71951
71952
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71954 $as_echo_n "checking for powl declaration... " >&6; }
71955 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71956 if ${glibcxx_cv_func_powl_use+:} false; then :
71957 $as_echo_n "(cached) " >&6
71958 else
71959
71960
71961 ac_ext=cpp
71962 ac_cpp='$CXXCPP $CPPFLAGS'
71963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71966
71967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71968 /* end confdefs.h. */
71969 #include <math.h>
71970 int
71971 main ()
71972 {
71973 powl(0, 0);
71974 ;
71975 return 0;
71976 }
71977 _ACEOF
71978 if ac_fn_cxx_try_compile "$LINENO"; then :
71979 glibcxx_cv_func_powl_use=yes
71980 else
71981 glibcxx_cv_func_powl_use=no
71982 fi
71983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71984 ac_ext=c
71985 ac_cpp='$CPP $CPPFLAGS'
71986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71989
71990
71991 fi
71992
71993 fi
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71995 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71996
71997 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71998 for ac_func in powl
71999 do :
72000 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72001 if test "x$ac_cv_func_powl" = xyes; then :
72002 cat >>confdefs.h <<_ACEOF
72003 #define HAVE_POWL 1
72004 _ACEOF
72005
72006 fi
72007 done
72008
72009 else
72010
72011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72012 $as_echo_n "checking for _powl declaration... " >&6; }
72013 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72014 if ${glibcxx_cv_func__powl_use+:} false; then :
72015 $as_echo_n "(cached) " >&6
72016 else
72017
72018
72019 ac_ext=cpp
72020 ac_cpp='$CXXCPP $CPPFLAGS'
72021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72024
72025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72026 /* end confdefs.h. */
72027 #include <math.h>
72028 int
72029 main ()
72030 {
72031 _powl(0, 0);
72032 ;
72033 return 0;
72034 }
72035 _ACEOF
72036 if ac_fn_cxx_try_compile "$LINENO"; then :
72037 glibcxx_cv_func__powl_use=yes
72038 else
72039 glibcxx_cv_func__powl_use=no
72040 fi
72041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72042 ac_ext=c
72043 ac_cpp='$CPP $CPPFLAGS'
72044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72047
72048
72049 fi
72050
72051 fi
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72053 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72054
72055 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72056 for ac_func in _powl
72057 do :
72058 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72059 if test "x$ac_cv_func__powl" = xyes; then :
72060 cat >>confdefs.h <<_ACEOF
72061 #define HAVE__POWL 1
72062 _ACEOF
72063
72064 fi
72065 done
72066
72067 fi
72068 fi
72069
72070
72071
72072
72073
72074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72075 $as_echo_n "checking for sqrtl declaration... " >&6; }
72076 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72077 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72078 $as_echo_n "(cached) " >&6
72079 else
72080
72081
72082 ac_ext=cpp
72083 ac_cpp='$CXXCPP $CPPFLAGS'
72084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72087
72088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72089 /* end confdefs.h. */
72090 #include <math.h>
72091 #ifdef HAVE_IEEEFP_H
72092 #include <ieeefp.h>
72093 #endif
72094
72095 int
72096 main ()
72097 {
72098 sqrtl(0);
72099 ;
72100 return 0;
72101 }
72102 _ACEOF
72103 if ac_fn_cxx_try_compile "$LINENO"; then :
72104 glibcxx_cv_func_sqrtl_use=yes
72105 else
72106 glibcxx_cv_func_sqrtl_use=no
72107 fi
72108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72109 ac_ext=c
72110 ac_cpp='$CPP $CPPFLAGS'
72111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72114
72115
72116 fi
72117
72118 fi
72119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72120 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72121
72122 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72123 for ac_func in sqrtl
72124 do :
72125 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72126 if test "x$ac_cv_func_sqrtl" = xyes; then :
72127 cat >>confdefs.h <<_ACEOF
72128 #define HAVE_SQRTL 1
72129 _ACEOF
72130
72131 fi
72132 done
72133
72134 else
72135
72136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72137 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72138 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72139 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72140 $as_echo_n "(cached) " >&6
72141 else
72142
72143
72144 ac_ext=cpp
72145 ac_cpp='$CXXCPP $CPPFLAGS'
72146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72149
72150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72151 /* end confdefs.h. */
72152 #include <math.h>
72153 #ifdef HAVE_IEEEFP_H
72154 #include <ieeefp.h>
72155 #endif
72156
72157 int
72158 main ()
72159 {
72160 _sqrtl(0);
72161 ;
72162 return 0;
72163 }
72164 _ACEOF
72165 if ac_fn_cxx_try_compile "$LINENO"; then :
72166 glibcxx_cv_func__sqrtl_use=yes
72167 else
72168 glibcxx_cv_func__sqrtl_use=no
72169 fi
72170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72171 ac_ext=c
72172 ac_cpp='$CPP $CPPFLAGS'
72173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72176
72177
72178 fi
72179
72180 fi
72181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72182 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72183
72184 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72185 for ac_func in _sqrtl
72186 do :
72187 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72188 if test "x$ac_cv_func__sqrtl" = xyes; then :
72189 cat >>confdefs.h <<_ACEOF
72190 #define HAVE__SQRTL 1
72191 _ACEOF
72192
72193 fi
72194 done
72195
72196 fi
72197 fi
72198
72199
72200
72201
72202
72203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72204 $as_echo_n "checking for sincosl declaration... " >&6; }
72205 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72206 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72207 $as_echo_n "(cached) " >&6
72208 else
72209
72210
72211 ac_ext=cpp
72212 ac_cpp='$CXXCPP $CPPFLAGS'
72213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72216
72217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72218 /* end confdefs.h. */
72219 #include <math.h>
72220 int
72221 main ()
72222 {
72223 sincosl(0, 0, 0);
72224 ;
72225 return 0;
72226 }
72227 _ACEOF
72228 if ac_fn_cxx_try_compile "$LINENO"; then :
72229 glibcxx_cv_func_sincosl_use=yes
72230 else
72231 glibcxx_cv_func_sincosl_use=no
72232 fi
72233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72234 ac_ext=c
72235 ac_cpp='$CPP $CPPFLAGS'
72236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72239
72240
72241 fi
72242
72243 fi
72244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72245 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72246
72247 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72248 for ac_func in sincosl
72249 do :
72250 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72251 if test "x$ac_cv_func_sincosl" = xyes; then :
72252 cat >>confdefs.h <<_ACEOF
72253 #define HAVE_SINCOSL 1
72254 _ACEOF
72255
72256 fi
72257 done
72258
72259 else
72260
72261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72262 $as_echo_n "checking for _sincosl declaration... " >&6; }
72263 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72264 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72265 $as_echo_n "(cached) " >&6
72266 else
72267
72268
72269 ac_ext=cpp
72270 ac_cpp='$CXXCPP $CPPFLAGS'
72271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72274
72275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h. */
72277 #include <math.h>
72278 int
72279 main ()
72280 {
72281 _sincosl(0, 0, 0);
72282 ;
72283 return 0;
72284 }
72285 _ACEOF
72286 if ac_fn_cxx_try_compile "$LINENO"; then :
72287 glibcxx_cv_func__sincosl_use=yes
72288 else
72289 glibcxx_cv_func__sincosl_use=no
72290 fi
72291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72292 ac_ext=c
72293 ac_cpp='$CPP $CPPFLAGS'
72294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72297
72298
72299 fi
72300
72301 fi
72302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72303 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72304
72305 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72306 for ac_func in _sincosl
72307 do :
72308 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72309 if test "x$ac_cv_func__sincosl" = xyes; then :
72310 cat >>confdefs.h <<_ACEOF
72311 #define HAVE__SINCOSL 1
72312 _ACEOF
72313
72314 fi
72315 done
72316
72317 fi
72318 fi
72319
72320
72321
72322
72323
72324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72325 $as_echo_n "checking for finitel declaration... " >&6; }
72326 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72327 if ${glibcxx_cv_func_finitel_use+:} false; then :
72328 $as_echo_n "(cached) " >&6
72329 else
72330
72331
72332 ac_ext=cpp
72333 ac_cpp='$CXXCPP $CPPFLAGS'
72334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72337
72338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72339 /* end confdefs.h. */
72340 #include <math.h>
72341 #ifdef HAVE_IEEEFP_H
72342 #include <ieeefp.h>
72343 #endif
72344
72345 int
72346 main ()
72347 {
72348 finitel(0);
72349 ;
72350 return 0;
72351 }
72352 _ACEOF
72353 if ac_fn_cxx_try_compile "$LINENO"; then :
72354 glibcxx_cv_func_finitel_use=yes
72355 else
72356 glibcxx_cv_func_finitel_use=no
72357 fi
72358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72359 ac_ext=c
72360 ac_cpp='$CPP $CPPFLAGS'
72361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72364
72365
72366 fi
72367
72368 fi
72369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72370 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72371
72372 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72373 for ac_func in finitel
72374 do :
72375 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72376 if test "x$ac_cv_func_finitel" = xyes; then :
72377 cat >>confdefs.h <<_ACEOF
72378 #define HAVE_FINITEL 1
72379 _ACEOF
72380
72381 fi
72382 done
72383
72384 else
72385
72386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72387 $as_echo_n "checking for _finitel declaration... " >&6; }
72388 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72389 if ${glibcxx_cv_func__finitel_use+:} false; then :
72390 $as_echo_n "(cached) " >&6
72391 else
72392
72393
72394 ac_ext=cpp
72395 ac_cpp='$CXXCPP $CPPFLAGS'
72396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72399
72400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72401 /* end confdefs.h. */
72402 #include <math.h>
72403 #ifdef HAVE_IEEEFP_H
72404 #include <ieeefp.h>
72405 #endif
72406
72407 int
72408 main ()
72409 {
72410 _finitel(0);
72411 ;
72412 return 0;
72413 }
72414 _ACEOF
72415 if ac_fn_cxx_try_compile "$LINENO"; then :
72416 glibcxx_cv_func__finitel_use=yes
72417 else
72418 glibcxx_cv_func__finitel_use=no
72419 fi
72420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72421 ac_ext=c
72422 ac_cpp='$CPP $CPPFLAGS'
72423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72426
72427
72428 fi
72429
72430 fi
72431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72432 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72433
72434 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72435 for ac_func in _finitel
72436 do :
72437 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72438 if test "x$ac_cv_func__finitel" = xyes; then :
72439 cat >>confdefs.h <<_ACEOF
72440 #define HAVE__FINITEL 1
72441 _ACEOF
72442
72443 fi
72444 done
72445
72446 fi
72447 fi
72448
72449
72450
72451
72452 LIBS="$ac_save_LIBS"
72453 CXXFLAGS="$ac_save_CXXFLAGS"
72454
72455
72456 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72457 ac_save_CXXFLAGS="$CXXFLAGS"
72458 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72459
72460
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72462 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72463 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72464 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72465 $as_echo_n "(cached) " >&6
72466 else
72467
72468
72469 ac_ext=cpp
72470 ac_cpp='$CXXCPP $CPPFLAGS'
72471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72474
72475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72476 /* end confdefs.h. */
72477 #include <stdlib.h>
72478 int
72479 main ()
72480 {
72481 at_quick_exit(0);
72482 ;
72483 return 0;
72484 }
72485 _ACEOF
72486 if ac_fn_cxx_try_compile "$LINENO"; then :
72487 glibcxx_cv_func_at_quick_exit_use=yes
72488 else
72489 glibcxx_cv_func_at_quick_exit_use=no
72490 fi
72491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72492 ac_ext=c
72493 ac_cpp='$CPP $CPPFLAGS'
72494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72497
72498
72499 fi
72500
72501 fi
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72503 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72504 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72505 for ac_func in at_quick_exit
72506 do :
72507 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72508 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72509 cat >>confdefs.h <<_ACEOF
72510 #define HAVE_AT_QUICK_EXIT 1
72511 _ACEOF
72512
72513 fi
72514 done
72515
72516 fi
72517
72518
72519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72520 $as_echo_n "checking for quick_exit declaration... " >&6; }
72521 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72522 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72523 $as_echo_n "(cached) " >&6
72524 else
72525
72526
72527 ac_ext=cpp
72528 ac_cpp='$CXXCPP $CPPFLAGS'
72529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72532
72533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72534 /* end confdefs.h. */
72535 #include <stdlib.h>
72536 int
72537 main ()
72538 {
72539 quick_exit(0);
72540 ;
72541 return 0;
72542 }
72543 _ACEOF
72544 if ac_fn_cxx_try_compile "$LINENO"; then :
72545 glibcxx_cv_func_quick_exit_use=yes
72546 else
72547 glibcxx_cv_func_quick_exit_use=no
72548 fi
72549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72550 ac_ext=c
72551 ac_cpp='$CPP $CPPFLAGS'
72552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72555
72556
72557 fi
72558
72559 fi
72560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72561 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72562 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72563 for ac_func in quick_exit
72564 do :
72565 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72566 if test "x$ac_cv_func_quick_exit" = xyes; then :
72567 cat >>confdefs.h <<_ACEOF
72568 #define HAVE_QUICK_EXIT 1
72569 _ACEOF
72570
72571 fi
72572 done
72573
72574 fi
72575
72576
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72578 $as_echo_n "checking for strtold declaration... " >&6; }
72579 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72580 if ${glibcxx_cv_func_strtold_use+:} false; then :
72581 $as_echo_n "(cached) " >&6
72582 else
72583
72584
72585 ac_ext=cpp
72586 ac_cpp='$CXXCPP $CPPFLAGS'
72587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72590
72591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72592 /* end confdefs.h. */
72593 #include <stdlib.h>
72594 int
72595 main ()
72596 {
72597 strtold(0, 0);
72598 ;
72599 return 0;
72600 }
72601 _ACEOF
72602 if ac_fn_cxx_try_compile "$LINENO"; then :
72603 glibcxx_cv_func_strtold_use=yes
72604 else
72605 glibcxx_cv_func_strtold_use=no
72606 fi
72607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72608 ac_ext=c
72609 ac_cpp='$CPP $CPPFLAGS'
72610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72613
72614
72615 fi
72616
72617 fi
72618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72619 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72620 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72621 for ac_func in strtold
72622 do :
72623 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72624 if test "x$ac_cv_func_strtold" = xyes; then :
72625 cat >>confdefs.h <<_ACEOF
72626 #define HAVE_STRTOLD 1
72627 _ACEOF
72628
72629 fi
72630 done
72631
72632 fi
72633
72634
72635
72636
72637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72638 $as_echo_n "checking for strtof declaration... " >&6; }
72639 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72640 if ${glibcxx_cv_func_strtof_use+:} false; then :
72641 $as_echo_n "(cached) " >&6
72642 else
72643
72644
72645 ac_ext=cpp
72646 ac_cpp='$CXXCPP $CPPFLAGS'
72647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72650
72651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72652 /* end confdefs.h. */
72653 #include <stdlib.h>
72654 int
72655 main ()
72656 {
72657 strtof(0, 0);
72658 ;
72659 return 0;
72660 }
72661 _ACEOF
72662 if ac_fn_cxx_try_compile "$LINENO"; then :
72663 glibcxx_cv_func_strtof_use=yes
72664 else
72665 glibcxx_cv_func_strtof_use=no
72666 fi
72667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72668 ac_ext=c
72669 ac_cpp='$CPP $CPPFLAGS'
72670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72673
72674
72675 fi
72676
72677 fi
72678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72679 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72680 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72681 for ac_func in strtof
72682 do :
72683 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72684 if test "x$ac_cv_func_strtof" = xyes; then :
72685 cat >>confdefs.h <<_ACEOF
72686 #define HAVE_STRTOF 1
72687 _ACEOF
72688
72689 fi
72690 done
72691
72692 fi
72693
72694
72695
72696
72697 CXXFLAGS="$ac_save_CXXFLAGS"
72698
72699 ;;
72700 *-vxworks*)
72701 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72702
72703 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72704
72705 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72706
72707 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72708
72709 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72710
72711 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72712
72713 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72714
72715 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72716
72717 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72718
72719 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72720
72721 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72722
72723 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72724
72725 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72726
72727 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72728
72729 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72730
72731 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72732
72733 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72734
72735 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72736
72737 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72738
72739 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72740
72741
72742
72743
72744
72745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72746 $as_echo_n "checking for acosl declaration... " >&6; }
72747 if ${glibcxx_cv_func_acosl_use+:} false; then :
72748 $as_echo_n "(cached) " >&6
72749 else
72750
72751
72752 ac_ext=c
72753 ac_cpp='$CPP $CPPFLAGS'
72754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72757
72758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72759 /* end confdefs.h. */
72760
72761 #include <math.h>
72762 #ifdef HAVE_IEEEFP_H
72763 # include <ieeefp.h>
72764 #endif
72765 #undef acosl
72766
72767 int
72768 main ()
72769 {
72770
72771 void (*f)(void) = (void (*)(void))acosl;
72772
72773 ;
72774 return 0;
72775 }
72776 _ACEOF
72777 if ac_fn_c_try_compile "$LINENO"; then :
72778 glibcxx_cv_func_acosl_use=yes
72779
72780 else
72781 glibcxx_cv_func_acosl_use=no
72782 fi
72783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72784 fi
72785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72786 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72787 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72788 cat >>confdefs.h <<_ACEOF
72789 #define HAVE_ACOSL 1
72790 _ACEOF
72791
72792 fi
72793
72794
72795
72796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72797 $as_echo_n "checking for asinl declaration... " >&6; }
72798 if ${glibcxx_cv_func_asinl_use+:} false; then :
72799 $as_echo_n "(cached) " >&6
72800 else
72801
72802
72803 ac_ext=c
72804 ac_cpp='$CPP $CPPFLAGS'
72805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72808
72809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72810 /* end confdefs.h. */
72811
72812 #include <math.h>
72813 #ifdef HAVE_IEEEFP_H
72814 # include <ieeefp.h>
72815 #endif
72816 #undef asinl
72817
72818 int
72819 main ()
72820 {
72821
72822 void (*f)(void) = (void (*)(void))asinl;
72823
72824 ;
72825 return 0;
72826 }
72827 _ACEOF
72828 if ac_fn_c_try_compile "$LINENO"; then :
72829 glibcxx_cv_func_asinl_use=yes
72830
72831 else
72832 glibcxx_cv_func_asinl_use=no
72833 fi
72834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72835 fi
72836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72837 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72838 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72839 cat >>confdefs.h <<_ACEOF
72840 #define HAVE_ASINL 1
72841 _ACEOF
72842
72843 fi
72844
72845
72846
72847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72848 $as_echo_n "checking for atan2l declaration... " >&6; }
72849 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72850 $as_echo_n "(cached) " >&6
72851 else
72852
72853
72854 ac_ext=c
72855 ac_cpp='$CPP $CPPFLAGS'
72856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72859
72860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72861 /* end confdefs.h. */
72862
72863 #include <math.h>
72864 #ifdef HAVE_IEEEFP_H
72865 # include <ieeefp.h>
72866 #endif
72867 #undef atan2l
72868
72869 int
72870 main ()
72871 {
72872
72873 void (*f)(void) = (void (*)(void))atan2l;
72874
72875 ;
72876 return 0;
72877 }
72878 _ACEOF
72879 if ac_fn_c_try_compile "$LINENO"; then :
72880 glibcxx_cv_func_atan2l_use=yes
72881
72882 else
72883 glibcxx_cv_func_atan2l_use=no
72884 fi
72885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72886 fi
72887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72888 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72889 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72890 cat >>confdefs.h <<_ACEOF
72891 #define HAVE_ATAN2L 1
72892 _ACEOF
72893
72894 fi
72895
72896
72897
72898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72899 $as_echo_n "checking for atanl declaration... " >&6; }
72900 if ${glibcxx_cv_func_atanl_use+:} false; then :
72901 $as_echo_n "(cached) " >&6
72902 else
72903
72904
72905 ac_ext=c
72906 ac_cpp='$CPP $CPPFLAGS'
72907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72910
72911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72912 /* end confdefs.h. */
72913
72914 #include <math.h>
72915 #ifdef HAVE_IEEEFP_H
72916 # include <ieeefp.h>
72917 #endif
72918 #undef atanl
72919
72920 int
72921 main ()
72922 {
72923
72924 void (*f)(void) = (void (*)(void))atanl;
72925
72926 ;
72927 return 0;
72928 }
72929 _ACEOF
72930 if ac_fn_c_try_compile "$LINENO"; then :
72931 glibcxx_cv_func_atanl_use=yes
72932
72933 else
72934 glibcxx_cv_func_atanl_use=no
72935 fi
72936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72937 fi
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72939 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72940 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72941 cat >>confdefs.h <<_ACEOF
72942 #define HAVE_ATANL 1
72943 _ACEOF
72944
72945 fi
72946
72947
72948
72949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72950 $as_echo_n "checking for ceill declaration... " >&6; }
72951 if ${glibcxx_cv_func_ceill_use+:} false; then :
72952 $as_echo_n "(cached) " >&6
72953 else
72954
72955
72956 ac_ext=c
72957 ac_cpp='$CPP $CPPFLAGS'
72958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72961
72962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72963 /* end confdefs.h. */
72964
72965 #include <math.h>
72966 #ifdef HAVE_IEEEFP_H
72967 # include <ieeefp.h>
72968 #endif
72969 #undef ceill
72970
72971 int
72972 main ()
72973 {
72974
72975 void (*f)(void) = (void (*)(void))ceill;
72976
72977 ;
72978 return 0;
72979 }
72980 _ACEOF
72981 if ac_fn_c_try_compile "$LINENO"; then :
72982 glibcxx_cv_func_ceill_use=yes
72983
72984 else
72985 glibcxx_cv_func_ceill_use=no
72986 fi
72987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72988 fi
72989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72990 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72991 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72992 cat >>confdefs.h <<_ACEOF
72993 #define HAVE_CEILL 1
72994 _ACEOF
72995
72996 fi
72997
72998
72999
73000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73001 $as_echo_n "checking for cosl declaration... " >&6; }
73002 if ${glibcxx_cv_func_cosl_use+:} false; then :
73003 $as_echo_n "(cached) " >&6
73004 else
73005
73006
73007 ac_ext=c
73008 ac_cpp='$CPP $CPPFLAGS'
73009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73012
73013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73014 /* end confdefs.h. */
73015
73016 #include <math.h>
73017 #ifdef HAVE_IEEEFP_H
73018 # include <ieeefp.h>
73019 #endif
73020 #undef cosl
73021
73022 int
73023 main ()
73024 {
73025
73026 void (*f)(void) = (void (*)(void))cosl;
73027
73028 ;
73029 return 0;
73030 }
73031 _ACEOF
73032 if ac_fn_c_try_compile "$LINENO"; then :
73033 glibcxx_cv_func_cosl_use=yes
73034
73035 else
73036 glibcxx_cv_func_cosl_use=no
73037 fi
73038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73039 fi
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73041 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73042 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73043 cat >>confdefs.h <<_ACEOF
73044 #define HAVE_COSL 1
73045 _ACEOF
73046
73047 fi
73048
73049
73050
73051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73052 $as_echo_n "checking for coshl declaration... " >&6; }
73053 if ${glibcxx_cv_func_coshl_use+:} false; then :
73054 $as_echo_n "(cached) " >&6
73055 else
73056
73057
73058 ac_ext=c
73059 ac_cpp='$CPP $CPPFLAGS'
73060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73063
73064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73065 /* end confdefs.h. */
73066
73067 #include <math.h>
73068 #ifdef HAVE_IEEEFP_H
73069 # include <ieeefp.h>
73070 #endif
73071 #undef coshl
73072
73073 int
73074 main ()
73075 {
73076
73077 void (*f)(void) = (void (*)(void))coshl;
73078
73079 ;
73080 return 0;
73081 }
73082 _ACEOF
73083 if ac_fn_c_try_compile "$LINENO"; then :
73084 glibcxx_cv_func_coshl_use=yes
73085
73086 else
73087 glibcxx_cv_func_coshl_use=no
73088 fi
73089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73090 fi
73091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73092 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73093 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73094 cat >>confdefs.h <<_ACEOF
73095 #define HAVE_COSHL 1
73096 _ACEOF
73097
73098 fi
73099
73100
73101
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73103 $as_echo_n "checking for expl declaration... " >&6; }
73104 if ${glibcxx_cv_func_expl_use+:} false; then :
73105 $as_echo_n "(cached) " >&6
73106 else
73107
73108
73109 ac_ext=c
73110 ac_cpp='$CPP $CPPFLAGS'
73111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73114
73115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73116 /* end confdefs.h. */
73117
73118 #include <math.h>
73119 #ifdef HAVE_IEEEFP_H
73120 # include <ieeefp.h>
73121 #endif
73122 #undef expl
73123
73124 int
73125 main ()
73126 {
73127
73128 void (*f)(void) = (void (*)(void))expl;
73129
73130 ;
73131 return 0;
73132 }
73133 _ACEOF
73134 if ac_fn_c_try_compile "$LINENO"; then :
73135 glibcxx_cv_func_expl_use=yes
73136
73137 else
73138 glibcxx_cv_func_expl_use=no
73139 fi
73140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73141 fi
73142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73143 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73144 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73145 cat >>confdefs.h <<_ACEOF
73146 #define HAVE_EXPL 1
73147 _ACEOF
73148
73149 fi
73150
73151
73152
73153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73154 $as_echo_n "checking for fabsl declaration... " >&6; }
73155 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73156 $as_echo_n "(cached) " >&6
73157 else
73158
73159
73160 ac_ext=c
73161 ac_cpp='$CPP $CPPFLAGS'
73162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73165
73166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73167 /* end confdefs.h. */
73168
73169 #include <math.h>
73170 #ifdef HAVE_IEEEFP_H
73171 # include <ieeefp.h>
73172 #endif
73173 #undef fabsl
73174
73175 int
73176 main ()
73177 {
73178
73179 void (*f)(void) = (void (*)(void))fabsl;
73180
73181 ;
73182 return 0;
73183 }
73184 _ACEOF
73185 if ac_fn_c_try_compile "$LINENO"; then :
73186 glibcxx_cv_func_fabsl_use=yes
73187
73188 else
73189 glibcxx_cv_func_fabsl_use=no
73190 fi
73191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73192 fi
73193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73194 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73195 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE_FABSL 1
73198 _ACEOF
73199
73200 fi
73201
73202
73203
73204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73205 $as_echo_n "checking for floorl declaration... " >&6; }
73206 if ${glibcxx_cv_func_floorl_use+:} false; then :
73207 $as_echo_n "(cached) " >&6
73208 else
73209
73210
73211 ac_ext=c
73212 ac_cpp='$CPP $CPPFLAGS'
73213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73216
73217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73218 /* end confdefs.h. */
73219
73220 #include <math.h>
73221 #ifdef HAVE_IEEEFP_H
73222 # include <ieeefp.h>
73223 #endif
73224 #undef floorl
73225
73226 int
73227 main ()
73228 {
73229
73230 void (*f)(void) = (void (*)(void))floorl;
73231
73232 ;
73233 return 0;
73234 }
73235 _ACEOF
73236 if ac_fn_c_try_compile "$LINENO"; then :
73237 glibcxx_cv_func_floorl_use=yes
73238
73239 else
73240 glibcxx_cv_func_floorl_use=no
73241 fi
73242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73243 fi
73244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73245 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73246 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73247 cat >>confdefs.h <<_ACEOF
73248 #define HAVE_FLOORL 1
73249 _ACEOF
73250
73251 fi
73252
73253
73254
73255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73256 $as_echo_n "checking for fmodl declaration... " >&6; }
73257 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73258 $as_echo_n "(cached) " >&6
73259 else
73260
73261
73262 ac_ext=c
73263 ac_cpp='$CPP $CPPFLAGS'
73264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73267
73268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73269 /* end confdefs.h. */
73270
73271 #include <math.h>
73272 #ifdef HAVE_IEEEFP_H
73273 # include <ieeefp.h>
73274 #endif
73275 #undef fmodl
73276
73277 int
73278 main ()
73279 {
73280
73281 void (*f)(void) = (void (*)(void))fmodl;
73282
73283 ;
73284 return 0;
73285 }
73286 _ACEOF
73287 if ac_fn_c_try_compile "$LINENO"; then :
73288 glibcxx_cv_func_fmodl_use=yes
73289
73290 else
73291 glibcxx_cv_func_fmodl_use=no
73292 fi
73293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73294 fi
73295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73297 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73298 cat >>confdefs.h <<_ACEOF
73299 #define HAVE_FMODL 1
73300 _ACEOF
73301
73302 fi
73303
73304
73305
73306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73307 $as_echo_n "checking for frexpl declaration... " >&6; }
73308 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73309 $as_echo_n "(cached) " >&6
73310 else
73311
73312
73313 ac_ext=c
73314 ac_cpp='$CPP $CPPFLAGS'
73315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73318
73319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73320 /* end confdefs.h. */
73321
73322 #include <math.h>
73323 #ifdef HAVE_IEEEFP_H
73324 # include <ieeefp.h>
73325 #endif
73326 #undef frexpl
73327
73328 int
73329 main ()
73330 {
73331
73332 void (*f)(void) = (void (*)(void))frexpl;
73333
73334 ;
73335 return 0;
73336 }
73337 _ACEOF
73338 if ac_fn_c_try_compile "$LINENO"; then :
73339 glibcxx_cv_func_frexpl_use=yes
73340
73341 else
73342 glibcxx_cv_func_frexpl_use=no
73343 fi
73344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73345 fi
73346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73347 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73348 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73349 cat >>confdefs.h <<_ACEOF
73350 #define HAVE_FREXPL 1
73351 _ACEOF
73352
73353 fi
73354
73355
73356
73357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73358 $as_echo_n "checking for ldexpl declaration... " >&6; }
73359 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73360 $as_echo_n "(cached) " >&6
73361 else
73362
73363
73364 ac_ext=c
73365 ac_cpp='$CPP $CPPFLAGS'
73366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73369
73370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73371 /* end confdefs.h. */
73372
73373 #include <math.h>
73374 #ifdef HAVE_IEEEFP_H
73375 # include <ieeefp.h>
73376 #endif
73377 #undef ldexpl
73378
73379 int
73380 main ()
73381 {
73382
73383 void (*f)(void) = (void (*)(void))ldexpl;
73384
73385 ;
73386 return 0;
73387 }
73388 _ACEOF
73389 if ac_fn_c_try_compile "$LINENO"; then :
73390 glibcxx_cv_func_ldexpl_use=yes
73391
73392 else
73393 glibcxx_cv_func_ldexpl_use=no
73394 fi
73395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73396 fi
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73398 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73399 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73400 cat >>confdefs.h <<_ACEOF
73401 #define HAVE_LDEXPL 1
73402 _ACEOF
73403
73404 fi
73405
73406
73407
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73409 $as_echo_n "checking for log10l declaration... " >&6; }
73410 if ${glibcxx_cv_func_log10l_use+:} false; then :
73411 $as_echo_n "(cached) " >&6
73412 else
73413
73414
73415 ac_ext=c
73416 ac_cpp='$CPP $CPPFLAGS'
73417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73420
73421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73422 /* end confdefs.h. */
73423
73424 #include <math.h>
73425 #ifdef HAVE_IEEEFP_H
73426 # include <ieeefp.h>
73427 #endif
73428 #undef log10l
73429
73430 int
73431 main ()
73432 {
73433
73434 void (*f)(void) = (void (*)(void))log10l;
73435
73436 ;
73437 return 0;
73438 }
73439 _ACEOF
73440 if ac_fn_c_try_compile "$LINENO"; then :
73441 glibcxx_cv_func_log10l_use=yes
73442
73443 else
73444 glibcxx_cv_func_log10l_use=no
73445 fi
73446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73447 fi
73448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73449 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73450 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73451 cat >>confdefs.h <<_ACEOF
73452 #define HAVE_LOG10L 1
73453 _ACEOF
73454
73455 fi
73456
73457
73458
73459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73460 $as_echo_n "checking for logl declaration... " >&6; }
73461 if ${glibcxx_cv_func_logl_use+:} false; then :
73462 $as_echo_n "(cached) " >&6
73463 else
73464
73465
73466 ac_ext=c
73467 ac_cpp='$CPP $CPPFLAGS'
73468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73471
73472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73473 /* end confdefs.h. */
73474
73475 #include <math.h>
73476 #ifdef HAVE_IEEEFP_H
73477 # include <ieeefp.h>
73478 #endif
73479 #undef logl
73480
73481 int
73482 main ()
73483 {
73484
73485 void (*f)(void) = (void (*)(void))logl;
73486
73487 ;
73488 return 0;
73489 }
73490 _ACEOF
73491 if ac_fn_c_try_compile "$LINENO"; then :
73492 glibcxx_cv_func_logl_use=yes
73493
73494 else
73495 glibcxx_cv_func_logl_use=no
73496 fi
73497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73498 fi
73499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73500 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73501 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73502 cat >>confdefs.h <<_ACEOF
73503 #define HAVE_LOGL 1
73504 _ACEOF
73505
73506 fi
73507
73508
73509
73510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73511 $as_echo_n "checking for modfl declaration... " >&6; }
73512 if ${glibcxx_cv_func_modfl_use+:} false; then :
73513 $as_echo_n "(cached) " >&6
73514 else
73515
73516
73517 ac_ext=c
73518 ac_cpp='$CPP $CPPFLAGS'
73519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73522
73523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73524 /* end confdefs.h. */
73525
73526 #include <math.h>
73527 #ifdef HAVE_IEEEFP_H
73528 # include <ieeefp.h>
73529 #endif
73530 #undef modfl
73531
73532 int
73533 main ()
73534 {
73535
73536 void (*f)(void) = (void (*)(void))modfl;
73537
73538 ;
73539 return 0;
73540 }
73541 _ACEOF
73542 if ac_fn_c_try_compile "$LINENO"; then :
73543 glibcxx_cv_func_modfl_use=yes
73544
73545 else
73546 glibcxx_cv_func_modfl_use=no
73547 fi
73548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73549 fi
73550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73551 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73552 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73553 cat >>confdefs.h <<_ACEOF
73554 #define HAVE_MODFL 1
73555 _ACEOF
73556
73557 fi
73558
73559
73560
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73562 $as_echo_n "checking for powl declaration... " >&6; }
73563 if ${glibcxx_cv_func_powl_use+:} false; then :
73564 $as_echo_n "(cached) " >&6
73565 else
73566
73567
73568 ac_ext=c
73569 ac_cpp='$CPP $CPPFLAGS'
73570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73573
73574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73575 /* end confdefs.h. */
73576
73577 #include <math.h>
73578 #ifdef HAVE_IEEEFP_H
73579 # include <ieeefp.h>
73580 #endif
73581 #undef powl
73582
73583 int
73584 main ()
73585 {
73586
73587 void (*f)(void) = (void (*)(void))powl;
73588
73589 ;
73590 return 0;
73591 }
73592 _ACEOF
73593 if ac_fn_c_try_compile "$LINENO"; then :
73594 glibcxx_cv_func_powl_use=yes
73595
73596 else
73597 glibcxx_cv_func_powl_use=no
73598 fi
73599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73600 fi
73601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73602 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73603 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73604 cat >>confdefs.h <<_ACEOF
73605 #define HAVE_POWL 1
73606 _ACEOF
73607
73608 fi
73609
73610
73611
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73613 $as_echo_n "checking for sinl declaration... " >&6; }
73614 if ${glibcxx_cv_func_sinl_use+:} false; then :
73615 $as_echo_n "(cached) " >&6
73616 else
73617
73618
73619 ac_ext=c
73620 ac_cpp='$CPP $CPPFLAGS'
73621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73624
73625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73626 /* end confdefs.h. */
73627
73628 #include <math.h>
73629 #ifdef HAVE_IEEEFP_H
73630 # include <ieeefp.h>
73631 #endif
73632 #undef sinl
73633
73634 int
73635 main ()
73636 {
73637
73638 void (*f)(void) = (void (*)(void))sinl;
73639
73640 ;
73641 return 0;
73642 }
73643 _ACEOF
73644 if ac_fn_c_try_compile "$LINENO"; then :
73645 glibcxx_cv_func_sinl_use=yes
73646
73647 else
73648 glibcxx_cv_func_sinl_use=no
73649 fi
73650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73651 fi
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73653 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73654 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73655 cat >>confdefs.h <<_ACEOF
73656 #define HAVE_SINL 1
73657 _ACEOF
73658
73659 fi
73660
73661
73662
73663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73664 $as_echo_n "checking for sinhl declaration... " >&6; }
73665 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73666 $as_echo_n "(cached) " >&6
73667 else
73668
73669
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73675
73676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73677 /* end confdefs.h. */
73678
73679 #include <math.h>
73680 #ifdef HAVE_IEEEFP_H
73681 # include <ieeefp.h>
73682 #endif
73683 #undef sinhl
73684
73685 int
73686 main ()
73687 {
73688
73689 void (*f)(void) = (void (*)(void))sinhl;
73690
73691 ;
73692 return 0;
73693 }
73694 _ACEOF
73695 if ac_fn_c_try_compile "$LINENO"; then :
73696 glibcxx_cv_func_sinhl_use=yes
73697
73698 else
73699 glibcxx_cv_func_sinhl_use=no
73700 fi
73701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73702 fi
73703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73704 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73705 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73706 cat >>confdefs.h <<_ACEOF
73707 #define HAVE_SINHL 1
73708 _ACEOF
73709
73710 fi
73711
73712
73713
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73715 $as_echo_n "checking for sqrtl declaration... " >&6; }
73716 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73717 $as_echo_n "(cached) " >&6
73718 else
73719
73720
73721 ac_ext=c
73722 ac_cpp='$CPP $CPPFLAGS'
73723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73726
73727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73728 /* end confdefs.h. */
73729
73730 #include <math.h>
73731 #ifdef HAVE_IEEEFP_H
73732 # include <ieeefp.h>
73733 #endif
73734 #undef sqrtl
73735
73736 int
73737 main ()
73738 {
73739
73740 void (*f)(void) = (void (*)(void))sqrtl;
73741
73742 ;
73743 return 0;
73744 }
73745 _ACEOF
73746 if ac_fn_c_try_compile "$LINENO"; then :
73747 glibcxx_cv_func_sqrtl_use=yes
73748
73749 else
73750 glibcxx_cv_func_sqrtl_use=no
73751 fi
73752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73753 fi
73754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73755 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73756 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73757 cat >>confdefs.h <<_ACEOF
73758 #define HAVE_SQRTL 1
73759 _ACEOF
73760
73761 fi
73762
73763
73764
73765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73766 $as_echo_n "checking for tanl declaration... " >&6; }
73767 if ${glibcxx_cv_func_tanl_use+:} false; then :
73768 $as_echo_n "(cached) " >&6
73769 else
73770
73771
73772 ac_ext=c
73773 ac_cpp='$CPP $CPPFLAGS'
73774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73777
73778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73779 /* end confdefs.h. */
73780
73781 #include <math.h>
73782 #ifdef HAVE_IEEEFP_H
73783 # include <ieeefp.h>
73784 #endif
73785 #undef tanl
73786
73787 int
73788 main ()
73789 {
73790
73791 void (*f)(void) = (void (*)(void))tanl;
73792
73793 ;
73794 return 0;
73795 }
73796 _ACEOF
73797 if ac_fn_c_try_compile "$LINENO"; then :
73798 glibcxx_cv_func_tanl_use=yes
73799
73800 else
73801 glibcxx_cv_func_tanl_use=no
73802 fi
73803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73804 fi
73805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73806 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73807 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73808 cat >>confdefs.h <<_ACEOF
73809 #define HAVE_TANL 1
73810 _ACEOF
73811
73812 fi
73813
73814
73815
73816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73817 $as_echo_n "checking for tanhl declaration... " >&6; }
73818 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73819 $as_echo_n "(cached) " >&6
73820 else
73821
73822
73823 ac_ext=c
73824 ac_cpp='$CPP $CPPFLAGS'
73825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73828
73829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73830 /* end confdefs.h. */
73831
73832 #include <math.h>
73833 #ifdef HAVE_IEEEFP_H
73834 # include <ieeefp.h>
73835 #endif
73836 #undef tanhl
73837
73838 int
73839 main ()
73840 {
73841
73842 void (*f)(void) = (void (*)(void))tanhl;
73843
73844 ;
73845 return 0;
73846 }
73847 _ACEOF
73848 if ac_fn_c_try_compile "$LINENO"; then :
73849 glibcxx_cv_func_tanhl_use=yes
73850
73851 else
73852 glibcxx_cv_func_tanhl_use=no
73853 fi
73854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73855 fi
73856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73857 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73858 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73859 cat >>confdefs.h <<_ACEOF
73860 #define HAVE_TANHL 1
73861 _ACEOF
73862
73863 fi
73864
73865
73866
73867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73868 $as_echo_n "checking for hypotl declaration... " >&6; }
73869 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73870 $as_echo_n "(cached) " >&6
73871 else
73872
73873
73874 ac_ext=c
73875 ac_cpp='$CPP $CPPFLAGS'
73876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73879
73880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73881 /* end confdefs.h. */
73882
73883 #include <math.h>
73884 #ifdef HAVE_IEEEFP_H
73885 # include <ieeefp.h>
73886 #endif
73887 #undef hypotl
73888
73889 int
73890 main ()
73891 {
73892
73893 void (*f)(void) = (void (*)(void))hypotl;
73894
73895 ;
73896 return 0;
73897 }
73898 _ACEOF
73899 if ac_fn_c_try_compile "$LINENO"; then :
73900 glibcxx_cv_func_hypotl_use=yes
73901
73902 else
73903 glibcxx_cv_func_hypotl_use=no
73904 fi
73905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73906 fi
73907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73908 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73909 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73910 cat >>confdefs.h <<_ACEOF
73911 #define HAVE_HYPOTL 1
73912 _ACEOF
73913
73914 fi
73915
73916
73917
73918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73919 $as_echo_n "checking for ldexpf declaration... " >&6; }
73920 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73921 $as_echo_n "(cached) " >&6
73922 else
73923
73924
73925 ac_ext=c
73926 ac_cpp='$CPP $CPPFLAGS'
73927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73930
73931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73932 /* end confdefs.h. */
73933
73934 #include <math.h>
73935 #ifdef HAVE_IEEEFP_H
73936 # include <ieeefp.h>
73937 #endif
73938 #undef ldexpf
73939
73940 int
73941 main ()
73942 {
73943
73944 void (*f)(void) = (void (*)(void))ldexpf;
73945
73946 ;
73947 return 0;
73948 }
73949 _ACEOF
73950 if ac_fn_c_try_compile "$LINENO"; then :
73951 glibcxx_cv_func_ldexpf_use=yes
73952
73953 else
73954 glibcxx_cv_func_ldexpf_use=no
73955 fi
73956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73957 fi
73958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73959 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73960 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73961 cat >>confdefs.h <<_ACEOF
73962 #define HAVE_LDEXPF 1
73963 _ACEOF
73964
73965 fi
73966
73967
73968
73969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73970 $as_echo_n "checking for modff declaration... " >&6; }
73971 if ${glibcxx_cv_func_modff_use+:} false; then :
73972 $as_echo_n "(cached) " >&6
73973 else
73974
73975
73976 ac_ext=c
73977 ac_cpp='$CPP $CPPFLAGS'
73978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73981
73982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73983 /* end confdefs.h. */
73984
73985 #include <math.h>
73986 #ifdef HAVE_IEEEFP_H
73987 # include <ieeefp.h>
73988 #endif
73989 #undef modff
73990
73991 int
73992 main ()
73993 {
73994
73995 void (*f)(void) = (void (*)(void))modff;
73996
73997 ;
73998 return 0;
73999 }
74000 _ACEOF
74001 if ac_fn_c_try_compile "$LINENO"; then :
74002 glibcxx_cv_func_modff_use=yes
74003
74004 else
74005 glibcxx_cv_func_modff_use=no
74006 fi
74007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74008 fi
74009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74010 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74011 if test "x$glibcxx_cv_func_modff_use" = xyes; then
74012 cat >>confdefs.h <<_ACEOF
74013 #define HAVE_MODFF 1
74014 _ACEOF
74015
74016 fi
74017
74018
74019
74020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74021 $as_echo_n "checking for hypotf declaration... " >&6; }
74022 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74023 $as_echo_n "(cached) " >&6
74024 else
74025
74026
74027 ac_ext=c
74028 ac_cpp='$CPP $CPPFLAGS'
74029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74032
74033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74034 /* end confdefs.h. */
74035
74036 #include <math.h>
74037 #ifdef HAVE_IEEEFP_H
74038 # include <ieeefp.h>
74039 #endif
74040 #undef hypotf
74041
74042 int
74043 main ()
74044 {
74045
74046 void (*f)(void) = (void (*)(void))hypotf;
74047
74048 ;
74049 return 0;
74050 }
74051 _ACEOF
74052 if ac_fn_c_try_compile "$LINENO"; then :
74053 glibcxx_cv_func_hypotf_use=yes
74054
74055 else
74056 glibcxx_cv_func_hypotf_use=no
74057 fi
74058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74059 fi
74060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74061 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74062 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
74063 cat >>confdefs.h <<_ACEOF
74064 #define HAVE_HYPOTF 1
74065 _ACEOF
74066
74067 fi
74068
74069
74070
74071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74072 $as_echo_n "checking for frexpf declaration... " >&6; }
74073 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74074 $as_echo_n "(cached) " >&6
74075 else
74076
74077
74078 ac_ext=c
74079 ac_cpp='$CPP $CPPFLAGS'
74080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74083
74084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74085 /* end confdefs.h. */
74086
74087 #include <math.h>
74088 #ifdef HAVE_IEEEFP_H
74089 # include <ieeefp.h>
74090 #endif
74091 #undef frexpf
74092
74093 int
74094 main ()
74095 {
74096
74097 void (*f)(void) = (void (*)(void))frexpf;
74098
74099 ;
74100 return 0;
74101 }
74102 _ACEOF
74103 if ac_fn_c_try_compile "$LINENO"; then :
74104 glibcxx_cv_func_frexpf_use=yes
74105
74106 else
74107 glibcxx_cv_func_frexpf_use=no
74108 fi
74109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74110 fi
74111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74112 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74113 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74114 cat >>confdefs.h <<_ACEOF
74115 #define HAVE_FREXPF 1
74116 _ACEOF
74117
74118 fi
74119
74120
74121
74122 ;;
74123 *)
74124 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74125 ;;
74126 esac
74127
74128 fi
74129
74130 # At some point, we should differentiate between architectures
74131 # like x86, which have long double versions, and alpha/powerpc/etc.,
74132 # which don't. For the time being, punt.
74133 if test x"long_double_math_on_this_cpu" = x"yes"; then
74134 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74135
74136 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74137
74138 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74139
74140 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74141
74142 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74143
74144 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74145
74146 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74147
74148 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74149
74150 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74151
74152 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74153
74154 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74155
74156 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74157
74158 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74159
74160 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74161
74162 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74163
74164 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74165
74166 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74167
74168 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74169
74170 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74171
74172 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74173
74174 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74175
74176 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74177
74178 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74179
74180 fi
74181 fi
74182
74183 # Check for _Unwind_GetIPInfo.
74184
74185
74186 # Check whether --with-system-libunwind was given.
74187 if test "${with_system_libunwind+set}" = set; then :
74188 withval=$with_system_libunwind;
74189 fi
74190
74191 # If system-libunwind was not specifically set, pick a default setting.
74192 if test x$with_system_libunwind = x; then
74193 case ${target} in
74194 ia64-*-hpux*) with_system_libunwind=yes ;;
74195 *) with_system_libunwind=no ;;
74196 esac
74197 fi
74198 # Based on system-libunwind and target, do we have ipinfo?
74199 if test x$with_system_libunwind = xyes; then
74200 case ${target} in
74201 ia64-*-*) have_unwind_getipinfo=no ;;
74202 *) have_unwind_getipinfo=yes ;;
74203 esac
74204 else
74205 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74206
74207 case ${target} in
74208 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74209 *) have_unwind_getipinfo=yes ;;
74210 esac
74211
74212 fi
74213
74214 if test x$have_unwind_getipinfo = xyes; then
74215
74216 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74217
74218 fi
74219
74220
74221 # Check whether --enable-linux-futex was given.
74222 if test "${enable_linux_futex+set}" = set; then :
74223 enableval=$enable_linux_futex;
74224 case "$enableval" in
74225 yes|no|default) ;;
74226 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74227 esac
74228
74229 else
74230 enable_linux_futex=default
74231 fi
74232
74233
74234 case "$target" in
74235 *-linux* | *-uclinux*)
74236 case "$enable_linux_futex" in
74237 default)
74238 # If headers don't have gettid/futex syscalls definition, then
74239 # default to no, otherwise there will be compile time failures.
74240 # Otherwise, default to yes. If we don't detect we are
74241 # compiled/linked against NPTL and not cross-compiling, check
74242 # if programs are run by default against NPTL and if not, issue
74243 # a warning.
74244 enable_linux_futex=no
74245 if test x$gcc_no_link = xyes; then
74246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74247 fi
74248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74249 /* end confdefs.h. */
74250 #include <sys/syscall.h>
74251 #include <unistd.h>
74252 int lk;
74253 int
74254 main ()
74255 {
74256 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74257 ;
74258 return 0;
74259 }
74260 _ACEOF
74261 if ac_fn_c_try_link "$LINENO"; then :
74262 save_LIBS="$LIBS"
74263 LIBS="-lpthread $LIBS"
74264 if test x$gcc_no_link = xyes; then
74265 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74266 fi
74267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74268 /* end confdefs.h. */
74269 #ifndef _GNU_SOURCE
74270 #define _GNU_SOURCE 1
74271 #endif
74272 #include <pthread.h>
74273 pthread_t th; void *status;
74274 int
74275 main ()
74276 {
74277 pthread_tryjoin_np (th, &status);
74278 ;
74279 return 0;
74280 }
74281 _ACEOF
74282 if ac_fn_c_try_link "$LINENO"; then :
74283 enable_linux_futex=yes
74284 else
74285 if test x$cross_compiling = xno; then
74286 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74287 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74289 If so, please configure with --disable-linux-futex" >&5
74290 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74291 If so, please configure with --disable-linux-futex" >&2;}
74292 fi
74293 fi
74294 enable_linux_futex=yes
74295 fi
74296 rm -f core conftest.err conftest.$ac_objext \
74297 conftest$ac_exeext conftest.$ac_ext
74298 LIBS="$save_LIBS"
74299 fi
74300 rm -f core conftest.err conftest.$ac_objext \
74301 conftest$ac_exeext conftest.$ac_ext
74302 ;;
74303 yes)
74304 if test x$gcc_no_link = xyes; then
74305 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74306 fi
74307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74308 /* end confdefs.h. */
74309 #include <sys/syscall.h>
74310 #include <unistd.h>
74311 int lk;
74312 int
74313 main ()
74314 {
74315 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74316 ;
74317 return 0;
74318 }
74319 _ACEOF
74320 if ac_fn_c_try_link "$LINENO"; then :
74321
74322 else
74323 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74324 fi
74325 rm -f core conftest.err conftest.$ac_objext \
74326 conftest$ac_exeext conftest.$ac_ext
74327 ;;
74328 esac
74329 ;;
74330 *)
74331 enable_linux_futex=no
74332 ;;
74333 esac
74334 if test x$enable_linux_futex = xyes; then
74335
74336 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74337
74338 fi
74339
74340
74341 if test "$is_hosted" = yes; then
74342 # TODO: remove this and change src/c++11/compatibility-atomic-c++0x.cc to
74343 # use <stdint.h> instead of <gstdint.h>.
74344
74345
74346 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74347
74348 acx_cv_header_stdint=stddef.h
74349 acx_cv_header_stdint_kind="(already complete)"
74350 for i in stdint.h $inttype_headers; do
74351 unset ac_cv_type_uintptr_t
74352 unset ac_cv_type_uintmax_t
74353 unset ac_cv_type_int_least32_t
74354 unset ac_cv_type_int_fast32_t
74355 unset ac_cv_type_uint64_t
74356 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74357 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74358 #include <$i>
74359 "
74360 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74361 acx_cv_header_stdint=$i
74362 else
74363 continue
74364 fi
74365
74366 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74367 #include <$i>
74368 "
74369 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74370
74371 else
74372 acx_cv_header_stdint_kind="(mostly complete)"
74373 fi
74374
74375 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74376 #include <$i>
74377 "
74378 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74379
74380 else
74381 acx_cv_header_stdint_kind="(mostly complete)"
74382 fi
74383
74384 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74385 #include <$i>
74386 "
74387 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74388
74389 else
74390 acx_cv_header_stdint_kind="(mostly complete)"
74391 fi
74392
74393 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74394 #include <$i>
74395 "
74396 if test "x$ac_cv_type_uint64_t" = xyes; then :
74397
74398 else
74399 acx_cv_header_stdint_kind="(lacks uint64_t)"
74400 fi
74401
74402 break
74403 done
74404 if test "$acx_cv_header_stdint" = stddef.h; then
74405 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74406 for i in stdint.h $inttype_headers; do
74407 unset ac_cv_type_uintptr_t
74408 unset ac_cv_type_uint32_t
74409 unset ac_cv_type_uint64_t
74410 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74411 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74412 #include <$i>
74413 "
74414 if test "x$ac_cv_type_uint32_t" = xyes; then :
74415 acx_cv_header_stdint=$i
74416 else
74417 continue
74418 fi
74419
74420 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74421 #include <$i>
74422 "
74423 if test "x$ac_cv_type_uint64_t" = xyes; then :
74424
74425 fi
74426
74427 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74428 #include <$i>
74429 "
74430 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74431
74432 fi
74433
74434 break
74435 done
74436 fi
74437 if test "$acx_cv_header_stdint" = stddef.h; then
74438 acx_cv_header_stdint_kind="(u_intXX_t style)"
74439 for i in sys/types.h $inttype_headers; do
74440 unset ac_cv_type_u_int32_t
74441 unset ac_cv_type_u_int64_t
74442 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74443 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74444 #include <$i>
74445 "
74446 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74447 acx_cv_header_stdint=$i
74448 else
74449 continue
74450 fi
74451
74452 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74453 #include <$i>
74454 "
74455 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74456
74457 fi
74458
74459 break
74460 done
74461 fi
74462 if test "$acx_cv_header_stdint" = stddef.h; then
74463 acx_cv_header_stdint_kind="(using manual detection)"
74464 fi
74465
74466 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74467 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74468 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74469 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74470 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74471
74472 # ----------------- Summarize what we found so far
74473
74474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74475 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74476
74477 case `$as_basename -- include/gstdint.h ||
74478 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74479 Xinclude/gstdint.h : 'X\(//\)$' \| \
74480 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74481 $as_echo X/include/gstdint.h |
74482 sed '/^.*\/\([^/][^/]*\)\/*$/{
74483 s//\1/
74484 q
74485 }
74486 /^X\/\(\/\/\)$/{
74487 s//\1/
74488 q
74489 }
74490 /^X\/\(\/\).*/{
74491 s//\1/
74492 q
74493 }
74494 s/.*/./; q'` in
74495 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74496 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74497 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74498 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74499 *) ;;
74500 esac
74501
74502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74503 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74504
74505 # ----------------- done included file, check C basic types --------
74506
74507 # Lacking an uintptr_t? Test size of void *
74508 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74509 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74512 # This bug is HP SR number 8606223364.
74513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74514 $as_echo_n "checking size of void *... " >&6; }
74515 if ${ac_cv_sizeof_void_p+:} false; then :
74516 $as_echo_n "(cached) " >&6
74517 else
74518 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74519
74520 else
74521 if test "$ac_cv_type_void_p" = yes; then
74522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74524 as_fn_error 77 "cannot compute sizeof (void *)
74525 See \`config.log' for more details" "$LINENO" 5; }
74526 else
74527 ac_cv_sizeof_void_p=0
74528 fi
74529 fi
74530
74531 fi
74532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74533 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74534
74535
74536
74537 cat >>confdefs.h <<_ACEOF
74538 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74539 _ACEOF
74540
74541 ;;
74542 esac
74543
74544 # Lacking an uint64_t? Test size of long
74545 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74546 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74549 # This bug is HP SR number 8606223364.
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74551 $as_echo_n "checking size of long... " >&6; }
74552 if ${ac_cv_sizeof_long+:} false; then :
74553 $as_echo_n "(cached) " >&6
74554 else
74555 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74556
74557 else
74558 if test "$ac_cv_type_long" = yes; then
74559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74561 as_fn_error 77 "cannot compute sizeof (long)
74562 See \`config.log' for more details" "$LINENO" 5; }
74563 else
74564 ac_cv_sizeof_long=0
74565 fi
74566 fi
74567
74568 fi
74569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74570 $as_echo "$ac_cv_sizeof_long" >&6; }
74571
74572
74573
74574 cat >>confdefs.h <<_ACEOF
74575 #define SIZEOF_LONG $ac_cv_sizeof_long
74576 _ACEOF
74577
74578 ;;
74579 esac
74580
74581 if test $acx_cv_header_stdint = stddef.h; then
74582 # Lacking a good header? Test size of everything and deduce all types.
74583 # The cast to long int works around a bug in the HP C Compiler
74584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74586 # This bug is HP SR number 8606223364.
74587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74588 $as_echo_n "checking size of int... " >&6; }
74589 if ${ac_cv_sizeof_int+:} false; then :
74590 $as_echo_n "(cached) " >&6
74591 else
74592 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74593
74594 else
74595 if test "$ac_cv_type_int" = yes; then
74596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74598 as_fn_error 77 "cannot compute sizeof (int)
74599 See \`config.log' for more details" "$LINENO" 5; }
74600 else
74601 ac_cv_sizeof_int=0
74602 fi
74603 fi
74604
74605 fi
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74607 $as_echo "$ac_cv_sizeof_int" >&6; }
74608
74609
74610
74611 cat >>confdefs.h <<_ACEOF
74612 #define SIZEOF_INT $ac_cv_sizeof_int
74613 _ACEOF
74614
74615
74616 # The cast to long int works around a bug in the HP C Compiler
74617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74619 # This bug is HP SR number 8606223364.
74620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74621 $as_echo_n "checking size of short... " >&6; }
74622 if ${ac_cv_sizeof_short+:} false; then :
74623 $as_echo_n "(cached) " >&6
74624 else
74625 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74626
74627 else
74628 if test "$ac_cv_type_short" = yes; then
74629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74631 as_fn_error 77 "cannot compute sizeof (short)
74632 See \`config.log' for more details" "$LINENO" 5; }
74633 else
74634 ac_cv_sizeof_short=0
74635 fi
74636 fi
74637
74638 fi
74639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74640 $as_echo "$ac_cv_sizeof_short" >&6; }
74641
74642
74643
74644 cat >>confdefs.h <<_ACEOF
74645 #define SIZEOF_SHORT $ac_cv_sizeof_short
74646 _ACEOF
74647
74648
74649 # The cast to long int works around a bug in the HP C Compiler
74650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74652 # This bug is HP SR number 8606223364.
74653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74654 $as_echo_n "checking size of char... " >&6; }
74655 if ${ac_cv_sizeof_char+:} false; then :
74656 $as_echo_n "(cached) " >&6
74657 else
74658 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74659
74660 else
74661 if test "$ac_cv_type_char" = yes; then
74662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74664 as_fn_error 77 "cannot compute sizeof (char)
74665 See \`config.log' for more details" "$LINENO" 5; }
74666 else
74667 ac_cv_sizeof_char=0
74668 fi
74669 fi
74670
74671 fi
74672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74673 $as_echo "$ac_cv_sizeof_char" >&6; }
74674
74675
74676
74677 cat >>confdefs.h <<_ACEOF
74678 #define SIZEOF_CHAR $ac_cv_sizeof_char
74679 _ACEOF
74680
74681
74682
74683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74684 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74685 case "$ac_cv_sizeof_char" in
74686 1) acx_cv_type_int8_t=char ;;
74687 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74688 esac
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74690 $as_echo "$acx_cv_type_int8_t" >&6; }
74691
74692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74693 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74694 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74695 2:*) acx_cv_type_int16_t=int ;;
74696 *:2) acx_cv_type_int16_t=short ;;
74697 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74698 esac
74699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74700 $as_echo "$acx_cv_type_int16_t" >&6; }
74701
74702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74703 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74704 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74705 4:*) acx_cv_type_int32_t=int ;;
74706 *:4) acx_cv_type_int32_t=long ;;
74707 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74708 esac
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74710 $as_echo "$acx_cv_type_int32_t" >&6; }
74711 fi
74712
74713 # These tests are here to make the output prettier
74714
74715 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74716 case "$ac_cv_sizeof_long" in
74717 8) acx_cv_type_int64_t=long ;;
74718 esac
74719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74720 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74722 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74723 fi
74724
74725 # Now we can use the above types
74726
74727 if test "$ac_cv_type_uintptr_t" != yes; then
74728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74729 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74730 case $ac_cv_sizeof_void_p in
74731 2) acx_cv_type_intptr_t=int16_t ;;
74732 4) acx_cv_type_intptr_t=int32_t ;;
74733 8) acx_cv_type_intptr_t=int64_t ;;
74734 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74735 esac
74736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74737 $as_echo "$acx_cv_type_intptr_t" >&6; }
74738 fi
74739
74740 # ----------------- done all checks, emit header -------------
74741 ac_config_commands="$ac_config_commands include/gstdint.h"
74742
74743
74744
74745 fi
74746
74747
74748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74749 $as_echo_n "checking for GNU c++filt... " >&6; }
74750 if ${ac_cv_path_CXXFILT+:} false; then :
74751 $as_echo_n "(cached) " >&6
74752 else
74753 if test -z "$CXXFILT"; then
74754 ac_path_CXXFILT_found=false
74755 # Loop through the user's path and test for each of PROGNAME-LIST
74756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74757 for as_dir in $PATH
74758 do
74759 IFS=$as_save_IFS
74760 test -z "$as_dir" && as_dir=.
74761 for ac_prog in c++filt gc++filt; do
74762 for ac_exec_ext in '' $ac_executable_extensions; do
74763 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74764 as_fn_executable_p "$ac_path_CXXFILT" || continue
74765 # Check for GNU $ac_path_CXXFILT
74766 case `"$ac_path_CXXFILT" --version 2>&1` in
74767 *GNU*)
74768 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74769 esac
74770
74771 $ac_path_CXXFILT_found && break 3
74772 done
74773 done
74774 done
74775 IFS=$as_save_IFS
74776 if test -z "$ac_cv_path_CXXFILT"; then
74777 :
74778 fi
74779 else
74780 ac_cv_path_CXXFILT=$CXXFILT
74781 fi
74782
74783 fi
74784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74785 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74786 CXXFILT=$ac_cv_path_CXXFILT
74787
74788
74789
74790 # Check whether --enable-symvers was given.
74791 if test "${enable_symvers+set}" = set; then :
74792 enableval=$enable_symvers;
74793 case "$enableval" in
74794 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74795 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74796 esac
74797
74798 else
74799 enable_symvers=yes
74800 fi
74801
74802
74803
74804 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74805 # don't know enough about $LD to do tricks...
74806
74807 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74808 # with extern "C++" in version scripts.
74809
74810
74811 # Turn a 'yes' into a suitable default.
74812 if test x$enable_symvers = xyes ; then
74813 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74814 enable_symvers=no
74815 else
74816 if test $with_gnu_ld = yes ; then
74817 case ${target_os} in
74818 hpux*)
74819 enable_symvers=no ;;
74820 *)
74821 enable_symvers=gnu ;;
74822 esac
74823 else
74824 case ${target_os} in
74825 darwin*)
74826 enable_symvers=darwin ;;
74827 # Sun symbol versioning exists since Solaris 2.5.
74828 solaris2.[5-9]* | solaris2.1[0-9]*)
74829 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74830 # version scripts, so disable symbol versioning if none can be
74831 # found.
74832 if test -z "$ac_cv_path_CXXFILT"; then
74833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74834 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74836 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74838 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74839 enable_symvers=no
74840 else
74841 enable_symvers=sun
74842 fi
74843 ;;
74844 *)
74845 enable_symvers=no ;;
74846 esac
74847 fi
74848 fi
74849 fi
74850
74851 # Check to see if 'darwin' or 'darwin-export' can win.
74852 if test x$enable_symvers = xdarwin-export ; then
74853 enable_symvers=darwin
74854 fi
74855
74856 # Check if 'sun' was requested on non-Solaris 2 platforms.
74857 if test x$enable_symvers = xsun ; then
74858 case ${target_os} in
74859 solaris2*)
74860 # All fine.
74861 ;;
74862 *)
74863 # Unlikely to work.
74864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74865 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74867 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74869 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74870 enable_symvers=no
74871 ;;
74872 esac
74873 fi
74874
74875 # Check to see if 'gnu' can win.
74876 if test $enable_symvers = gnu ||
74877 test $enable_symvers = gnu-versioned-namespace ||
74878 test $enable_symvers = sun; then
74879 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74881 $as_echo_n "checking for shared libgcc... " >&6; }
74882 ac_save_CFLAGS="$CFLAGS"
74883 CFLAGS=' -lgcc_s'
74884 if test x$gcc_no_link = xyes; then
74885 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74886 fi
74887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74888 /* end confdefs.h. */
74889
74890 int
74891 main ()
74892 {
74893 return 0;
74894 ;
74895 return 0;
74896 }
74897 _ACEOF
74898 if ac_fn_c_try_link "$LINENO"; then :
74899 glibcxx_shared_libgcc=yes
74900 else
74901 glibcxx_shared_libgcc=no
74902 fi
74903 rm -f core conftest.err conftest.$ac_objext \
74904 conftest$ac_exeext conftest.$ac_ext
74905 CFLAGS="$ac_save_CFLAGS"
74906 if test $glibcxx_shared_libgcc = no; then
74907 cat > conftest.c <<EOF
74908 int main (void) { return 0; }
74909 EOF
74910 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74911 -shared -shared-libgcc -o conftest.so \
74912 conftest.c -v 2>&1 >/dev/null \
74913 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74914 rm -f conftest.c conftest.so
74915 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74916 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74917 if test x$gcc_no_link = xyes; then
74918 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74919 fi
74920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74921 /* end confdefs.h. */
74922
74923 int
74924 main ()
74925 {
74926 return 0;
74927 ;
74928 return 0;
74929 }
74930 _ACEOF
74931 if ac_fn_c_try_link "$LINENO"; then :
74932 glibcxx_shared_libgcc=yes
74933 fi
74934 rm -f core conftest.err conftest.$ac_objext \
74935 conftest$ac_exeext conftest.$ac_ext
74936 CFLAGS="$ac_save_CFLAGS"
74937 fi
74938 fi
74939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74940 $as_echo "$glibcxx_shared_libgcc" >&6; }
74941
74942 # For GNU ld, we need at least this version. The format is described in
74943 # GLIBCXX_CHECK_LINKER_FEATURES above.
74944 glibcxx_min_gnu_ld_version=21400
74945
74946 # If no shared libgcc, can't win.
74947 if test $glibcxx_shared_libgcc != yes; then
74948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74949 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74951 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74953 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74954 enable_symvers=no
74955 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74956 : All interesting versions of Sun ld support sun style symbol versioning.
74957 elif test $with_gnu_ld != yes ; then
74958 # just fail for now
74959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74960 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74962 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74964 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74965 enable_symvers=no
74966 elif test $glibcxx_ld_is_gold = yes ; then
74967 : All versions of gold support symbol versioning.
74968 elif test $glibcxx_ld_is_mold = yes ; then
74969 : All versions of mold support symbol versioning.
74970 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74971 # The right tools, the right setup, but too old. Fallbacks?
74972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74973 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74975 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74977 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74979 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74981 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74982 enable_symvers=no
74983 fi
74984 fi
74985
74986 # For libtool versioning info, format is CURRENT:REVISION:AGE
74987 libtool_VERSION=6:30:0
74988
74989 # Everything parsed; figure out what files and settings to use.
74990 case $enable_symvers in
74991 no)
74992 SYMVER_FILE=config/abi/pre/none.ver
74993 ;;
74994 gnu)
74995 SYMVER_FILE=config/abi/pre/gnu.ver
74996
74997 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74998
74999 ;;
75000 gnu-versioned-namespace)
75001 libtool_VERSION=8:0:0
75002 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
75003
75004 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
75005
75006 ;;
75007 darwin)
75008 SYMVER_FILE=config/abi/pre/gnu.ver
75009
75010 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75011
75012 ;;
75013 sun)
75014 SYMVER_FILE=config/abi/pre/gnu.ver
75015
75016 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75017
75018 ;;
75019 esac
75020
75021 if test x$enable_symvers != xno ; then
75022
75023 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75024
75025 fi
75026
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75028 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75029 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75030 $as_echo_n "(cached) " >&6
75031 else
75032
75033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75034 /* end confdefs.h. */
75035 void foo (void); __asm (".symver foo, bar@SYMVER");
75036 int
75037 main ()
75038 {
75039
75040 ;
75041 return 0;
75042 }
75043 _ACEOF
75044 if ac_fn_c_try_compile "$LINENO"; then :
75045 glibcxx_cv_have_as_symver_directive=yes
75046 else
75047 glibcxx_cv_have_as_symver_directive=no
75048 fi
75049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75050 fi
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75052 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75053 if test $glibcxx_cv_have_as_symver_directive = yes; then
75054
75055 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75056
75057 fi
75058
75059
75060
75061
75062
75063
75064
75065
75066 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75067 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75068
75069 if test $enable_symvers != no ; then
75070 case ${target_os} in
75071 # The Solaris 2 runtime linker doesn't support the GNU extension of
75072 # binding the same symbol to different versions
75073 solaris2*)
75074 ;;
75075 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75076 *)
75077
75078 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75079
75080 ;;
75081 esac
75082 fi
75083
75084 # Now, set up compatibility support, if any.
75085 # In addition, need this to deal with std::size_t mangling in
75086 # src/compatibility.cc. In a perfect world, could use
75087 # typeid(std::size_t).name()[0] to do direct substitution.
75088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75089 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75090 ac_save_CFLAGS="$CFLAGS"
75091 CFLAGS="-Werror"
75092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75093 /* end confdefs.h. */
75094
75095 int
75096 main ()
75097 {
75098 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75099 ;
75100 return 0;
75101 }
75102 _ACEOF
75103 if ac_fn_c_try_compile "$LINENO"; then :
75104 glibcxx_size_t_is_i=yes
75105 else
75106 glibcxx_size_t_is_i=no
75107 fi
75108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75109 CFLAGS=$ac_save_CFLAGS
75110 if test "$glibcxx_size_t_is_i" = yes; then
75111
75112 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75113
75114 fi
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75116 $as_echo "$glibcxx_size_t_is_i" >&6; }
75117
75118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75119 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75120 ac_save_CFLAGS="$CFLAGS"
75121 CFLAGS="-Werror"
75122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75123 /* end confdefs.h. */
75124
75125 int
75126 main ()
75127 {
75128 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75129 ;
75130 return 0;
75131 }
75132 _ACEOF
75133 if ac_fn_c_try_compile "$LINENO"; then :
75134 glibcxx_ptrdiff_t_is_i=yes
75135 else
75136 glibcxx_ptrdiff_t_is_i=no
75137 fi
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 CFLAGS=$ac_save_CFLAGS
75140 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75141
75142 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75143
75144 fi
75145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75146 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75147
75148
75149
75150
75151 # Check whether --enable-libstdcxx-visibility was given.
75152 if test "${enable_libstdcxx_visibility+set}" = set; then :
75153 enableval=$enable_libstdcxx_visibility;
75154 case "$enableval" in
75155 yes|no) ;;
75156 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75157 esac
75158
75159 else
75160 enable_libstdcxx_visibility=yes
75161 fi
75162
75163
75164
75165 if test x$enable_libstdcxx_visibility = xyes ; then
75166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75167 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75168 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75169 $as_echo_n "(cached) " >&6
75170 else
75171
75172 save_CFLAGS="$CFLAGS"
75173 CFLAGS="$CFLAGS -Werror"
75174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75175 /* end confdefs.h. */
75176 void __attribute__((visibility("hidden"))) foo(void) { }
75177 int
75178 main ()
75179 {
75180
75181 ;
75182 return 0;
75183 }
75184 _ACEOF
75185 if ac_fn_c_try_compile "$LINENO"; then :
75186 glibcxx_cv_have_attribute_visibility=yes
75187 else
75188 glibcxx_cv_have_attribute_visibility=no
75189 fi
75190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75191 CFLAGS="$save_CFLAGS"
75192 fi
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75194 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75195 if test $glibcxx_cv_have_attribute_visibility = no; then
75196 enable_libstdcxx_visibility=no
75197 fi
75198 fi
75199
75200
75201 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75202 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75203
75204
75205
75206 # Check whether --enable-libstdcxx-dual-abi was given.
75207 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75208 enableval=$enable_libstdcxx_dual_abi;
75209 case "$enableval" in
75210 yes|no) ;;
75211 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75212 esac
75213
75214 else
75215 enable_libstdcxx_dual_abi=yes
75216 fi
75217
75218
75219 if test x$enable_symvers = xgnu-versioned-namespace; then
75220 # gnu-versioned-namespace is incompatible with the dual ABI.
75221 enable_libstdcxx_dual_abi="no"
75222 fi
75223 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75224 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75225 $as_echo "$as_me: dual ABI is disabled" >&6;}
75226 default_libstdcxx_abi="gcc4-compatible"
75227 fi
75228
75229
75230
75231 if test x$enable_libstdcxx_dual_abi = xyes; then
75232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75233 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75234
75235 # Check whether --with-default-libstdcxx-abi was given.
75236 if test "${with_default_libstdcxx_abi+set}" = set; then :
75237 withval=$with_default_libstdcxx_abi; case "$withval" in
75238 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75239 new|cxx11) default_libstdcxx_abi="new" ;;
75240 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75241 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75242 esac
75243
75244 else
75245 default_libstdcxx_abi="new"
75246 fi
75247
75248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75249 $as_echo "${default_libstdcxx_abi}" >&6; }
75250 fi
75251 if test $default_libstdcxx_abi = "new"; then
75252 glibcxx_cxx11_abi=1
75253 glibcxx_cxx98_abi=0
75254 else
75255 glibcxx_cxx11_abi=0
75256 glibcxx_cxx98_abi=1
75257 fi
75258
75259
75260
75261
75262 ac_ldbl_compat=no
75263 ac_ldbl_alt128_compat=no
75264 ac_ldbl_ieee128_default=no
75265 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75266 LONG_DOUBLE_128_FLAGS=
75267 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75268 case "$target" in
75269 powerpc*-*-linux* | \
75270 sparc*-*-linux* | \
75271 s390*-*-linux* | \
75272 alpha*-*-linux*)
75273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75274 /* end confdefs.h. */
75275
75276 int
75277 main ()
75278 {
75279
75280 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75281 #error no need for long double compatibility
75282 #endif
75283
75284 ;
75285 return 0;
75286 }
75287 _ACEOF
75288 if ac_fn_c_try_compile "$LINENO"; then :
75289 ac_ldbl_compat=yes
75290 else
75291 ac_ldbl_compat=no
75292 fi
75293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75294 if test "$ac_ldbl_compat" = yes; then
75295
75296 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75297
75298 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75299 case "$target" in
75300 powerpc*-*-linux*)
75301 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75302 # Check for IEEE128 support in libm:
75303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75304 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75305 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75308 ac_check_lib_save_LIBS=$LIBS
75309 LIBS="-lm $LIBS"
75310 if test x$gcc_no_link = xyes; then
75311 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75312 fi
75313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75314 /* end confdefs.h. */
75315
75316 /* Override any GCC internal prototype to avoid an error.
75317 Use char because int might match the return type of a GCC
75318 builtin and then its argument prototype would still apply. */
75319 #ifdef __cplusplus
75320 extern "C"
75321 #endif
75322 char __frexpieee128 ();
75323 int
75324 main ()
75325 {
75326 return __frexpieee128 ();
75327 ;
75328 return 0;
75329 }
75330 _ACEOF
75331 if ac_fn_c_try_link "$LINENO"; then :
75332 ac_cv_lib_m___frexpieee128=yes
75333 else
75334 ac_cv_lib_m___frexpieee128=no
75335 fi
75336 rm -f core conftest.err conftest.$ac_objext \
75337 conftest$ac_exeext conftest.$ac_ext
75338 LIBS=$ac_check_lib_save_LIBS
75339 fi
75340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75341 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75342 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75343 ac_ldbl_ieee128_in_libc=yes
75344 else
75345 ac_ldbl_ieee128_in_libc=no
75346 fi
75347
75348 if test $ac_ldbl_ieee128_in_libc = yes; then
75349 # Determine which long double format is the compiler's default:
75350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75351 /* end confdefs.h. */
75352
75353 int
75354 main ()
75355 {
75356
75357 #ifndef __LONG_DOUBLE_IEEE128__
75358 #error compiler defaults to ibm128
75359 #endif
75360
75361 ;
75362 return 0;
75363 }
75364 _ACEOF
75365 if ac_fn_c_try_compile "$LINENO"; then :
75366 ac_ldbl_ieee128_default=yes
75367 else
75368 ac_ldbl_ieee128_default=no
75369 fi
75370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75371 # Library objects should use default long double format.
75372 if test "$ac_ldbl_ieee128_default" = yes; then
75373 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75374 # Except for the ones that explicitly use these flags:
75375 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75376 else
75377 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75378 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75379 fi
75380
75381 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75382
75383 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75384 ac_ldbl_alt128_compat=yes
75385 else
75386 ac_ldbl_alt128_compat=no
75387 fi
75388 ;;
75389 esac
75390 fi
75391 esac
75392
75393
75394
75395
75396
75397
75398 # Check if assembler supports disabling hardware capability support.
75399
75400 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75401
75402 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75403 # with a different meaning.
75404 case ${target_os} in
75405 solaris2*)
75406 ac_save_CFLAGS="$CFLAGS"
75407 CFLAGS="$CFLAGS -Wa,-nH"
75408
75409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75410 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75412 /* end confdefs.h. */
75413
75414 int
75415 main ()
75416 {
75417 return 0;
75418 ;
75419 return 0;
75420 }
75421 _ACEOF
75422 if ac_fn_c_try_compile "$LINENO"; then :
75423 ac_hwcap_flags=yes
75424 else
75425 ac_hwcap_flags=no
75426 fi
75427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75428 if test "$ac_hwcap_flags" = "yes"; then
75429 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75430 fi
75431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75432 $as_echo "$ac_hwcap_flags" >&6; }
75433
75434 CFLAGS="$ac_save_CFLAGS"
75435 ;;
75436 esac
75437
75438
75439
75440
75441 # Check if assembler supports rdrand opcode.
75442
75443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75444 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75445 if ${ac_cv_x86_rdrand+:} false; then :
75446 $as_echo_n "(cached) " >&6
75447 else
75448
75449 ac_cv_x86_rdrand=no
75450 case "$target" in
75451 i?86-*-* | \
75452 x86_64-*-*)
75453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75454 /* end confdefs.h. */
75455
75456 int
75457 main ()
75458 {
75459 asm("rdrand %eax");
75460 ;
75461 return 0;
75462 }
75463 _ACEOF
75464 if ac_fn_c_try_compile "$LINENO"; then :
75465 ac_cv_x86_rdrand=yes
75466 else
75467 ac_cv_x86_rdrand=no
75468 fi
75469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75470 esac
75471
75472 fi
75473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75474 $as_echo "$ac_cv_x86_rdrand" >&6; }
75475 if test $ac_cv_x86_rdrand = yes; then
75476
75477 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75478
75479 fi
75480
75481 # Check if assembler supports rdseed opcode.
75482
75483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75484 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75485 if ${ac_cv_x86_rdseed+:} false; then :
75486 $as_echo_n "(cached) " >&6
75487 else
75488
75489 ac_cv_x86_rdseed=no
75490 case "$target" in
75491 i?86-*-* | \
75492 x86_64-*-*)
75493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75494 /* end confdefs.h. */
75495
75496 int
75497 main ()
75498 {
75499 asm("rdseed %eax");
75500 ;
75501 return 0;
75502 }
75503 _ACEOF
75504 if ac_fn_c_try_compile "$LINENO"; then :
75505 ac_cv_x86_rdseed=yes
75506 else
75507 ac_cv_x86_rdseed=no
75508 fi
75509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75510 esac
75511
75512 fi
75513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75514 $as_echo "$ac_cv_x86_rdseed" >&6; }
75515 if test $ac_cv_x86_rdseed = yes; then
75516
75517 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75518
75519 fi
75520
75521
75522 # Check for other random number APIs
75523
75524
75525
75526 ac_ext=cpp
75527 ac_cpp='$CXXCPP $CPPFLAGS'
75528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75531
75532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
75533 $as_echo_n "checking for getentropy... " >&6; }
75534 if ${glibcxx_cv_getentropy+:} false; then :
75535 $as_echo_n "(cached) " >&6
75536 else
75537
75538 if test x$gcc_no_link = xyes; then
75539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75540 /* end confdefs.h. */
75541 #include <unistd.h>
75542 int
75543 main ()
75544 {
75545 unsigned i;
75546 ::getentropy(&i, sizeof(i));
75547 ;
75548 return 0;
75549 }
75550 _ACEOF
75551 if ac_fn_cxx_try_compile "$LINENO"; then :
75552 glibcxx_cv_getentropy=yes
75553 else
75554 glibcxx_cv_getentropy=no
75555 fi
75556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75557 else
75558 if test x$gcc_no_link = xyes; then
75559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75560 fi
75561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75562 /* end confdefs.h. */
75563 #include <unistd.h>
75564 int
75565 main ()
75566 {
75567 unsigned i;
75568 ::getentropy(&i, sizeof(i));
75569 ;
75570 return 0;
75571 }
75572 _ACEOF
75573 if ac_fn_cxx_try_link "$LINENO"; then :
75574 glibcxx_cv_getentropy=yes
75575 else
75576 glibcxx_cv_getentropy=no
75577 fi
75578 rm -f core conftest.err conftest.$ac_objext \
75579 conftest$ac_exeext conftest.$ac_ext
75580 fi
75581
75582 fi
75583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
75584 $as_echo "$glibcxx_cv_getentropy" >&6; }
75585
75586 if test $glibcxx_cv_getentropy = yes; then
75587
75588 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
75589
75590 fi
75591 ac_ext=c
75592 ac_cpp='$CPP $CPPFLAGS'
75593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75596
75597
75598
75599
75600
75601 ac_ext=cpp
75602 ac_cpp='$CXXCPP $CPPFLAGS'
75603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75606
75607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
75608 $as_echo_n "checking for arc4random... " >&6; }
75609 if ${glibcxx_cv_arc4random+:} false; then :
75610 $as_echo_n "(cached) " >&6
75611 else
75612
75613 if test x$gcc_no_link = xyes; then
75614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75615 /* end confdefs.h. */
75616 #include <stdlib.h>
75617 int
75618 main ()
75619 {
75620 unsigned i = ::arc4random();
75621 ;
75622 return 0;
75623 }
75624 _ACEOF
75625 if ac_fn_cxx_try_compile "$LINENO"; then :
75626 glibcxx_cv_arc4random=yes
75627 else
75628 glibcxx_cv_arc4random=no
75629 fi
75630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75631 else
75632 if test x$gcc_no_link = xyes; then
75633 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75634 fi
75635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75636 /* end confdefs.h. */
75637 #include <stdlib.h>
75638 int
75639 main ()
75640 {
75641 unsigned i = ::arc4random();
75642 ;
75643 return 0;
75644 }
75645 _ACEOF
75646 if ac_fn_cxx_try_link "$LINENO"; then :
75647 glibcxx_cv_arc4random=yes
75648 else
75649 glibcxx_cv_arc4random=no
75650 fi
75651 rm -f core conftest.err conftest.$ac_objext \
75652 conftest$ac_exeext conftest.$ac_ext
75653 fi
75654
75655 fi
75656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
75657 $as_echo "$glibcxx_cv_arc4random" >&6; }
75658
75659 if test $glibcxx_cv_arc4random = yes; then
75660
75661 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
75662
75663 fi
75664 ac_ext=c
75665 ac_cpp='$CPP $CPPFLAGS'
75666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75669
75670
75671
75672 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75673
75674 # Do checks for resource limit functions.
75675
75676
75677 ac_ext=cpp
75678 ac_cpp='$CXXCPP $CPPFLAGS'
75679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75682
75683 setrlimit_have_headers=yes
75684 for ac_header in unistd.h sys/time.h sys/resource.h
75685 do :
75686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75687 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75689 cat >>confdefs.h <<_ACEOF
75690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75691 _ACEOF
75692
75693 else
75694 setrlimit_have_headers=no
75695 fi
75696
75697 done
75698
75699 # If don't have the headers, then we can't run the tests now, and we
75700 # won't be seeing any of these during testsuite compilation.
75701 if test $setrlimit_have_headers = yes; then
75702 # Can't do these in a loop, else the resulting syntax is wrong.
75703
75704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75705 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75707 /* end confdefs.h. */
75708 #include <unistd.h>
75709 #include <sys/time.h>
75710 #include <sys/resource.h>
75711
75712 int
75713 main ()
75714 {
75715 int f = RLIMIT_DATA ;
75716 ;
75717 return 0;
75718 }
75719 _ACEOF
75720 if ac_fn_cxx_try_compile "$LINENO"; then :
75721 glibcxx_mresult=1
75722 else
75723 glibcxx_mresult=0
75724 fi
75725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75726
75727 cat >>confdefs.h <<_ACEOF
75728 #define HAVE_LIMIT_DATA $glibcxx_mresult
75729 _ACEOF
75730
75731 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75733 $as_echo "$res" >&6; }
75734
75735
75736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75737 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75739 /* end confdefs.h. */
75740 #include <unistd.h>
75741 #include <sys/time.h>
75742 #include <sys/resource.h>
75743
75744 int
75745 main ()
75746 {
75747 int f = RLIMIT_RSS ;
75748 ;
75749 return 0;
75750 }
75751 _ACEOF
75752 if ac_fn_cxx_try_compile "$LINENO"; then :
75753 glibcxx_mresult=1
75754 else
75755 glibcxx_mresult=0
75756 fi
75757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75758
75759 cat >>confdefs.h <<_ACEOF
75760 #define HAVE_LIMIT_RSS $glibcxx_mresult
75761 _ACEOF
75762
75763 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75765 $as_echo "$res" >&6; }
75766
75767
75768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75769 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75771 /* end confdefs.h. */
75772 #include <unistd.h>
75773 #include <sys/time.h>
75774 #include <sys/resource.h>
75775
75776 int
75777 main ()
75778 {
75779 int f = RLIMIT_VMEM ;
75780 ;
75781 return 0;
75782 }
75783 _ACEOF
75784 if ac_fn_cxx_try_compile "$LINENO"; then :
75785 glibcxx_mresult=1
75786 else
75787 glibcxx_mresult=0
75788 fi
75789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75790
75791 cat >>confdefs.h <<_ACEOF
75792 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75793 _ACEOF
75794
75795 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75797 $as_echo "$res" >&6; }
75798
75799
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75801 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75803 /* end confdefs.h. */
75804 #include <unistd.h>
75805 #include <sys/time.h>
75806 #include <sys/resource.h>
75807
75808 int
75809 main ()
75810 {
75811 int f = RLIMIT_AS ;
75812 ;
75813 return 0;
75814 }
75815 _ACEOF
75816 if ac_fn_cxx_try_compile "$LINENO"; then :
75817 glibcxx_mresult=1
75818 else
75819 glibcxx_mresult=0
75820 fi
75821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75822
75823 cat >>confdefs.h <<_ACEOF
75824 #define HAVE_LIMIT_AS $glibcxx_mresult
75825 _ACEOF
75826
75827 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75829 $as_echo "$res" >&6; }
75830
75831
75832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75833 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <unistd.h>
75837 #include <sys/time.h>
75838 #include <sys/resource.h>
75839
75840 int
75841 main ()
75842 {
75843 int f = RLIMIT_FSIZE ;
75844 ;
75845 return 0;
75846 }
75847 _ACEOF
75848 if ac_fn_cxx_try_compile "$LINENO"; then :
75849 glibcxx_mresult=1
75850 else
75851 glibcxx_mresult=0
75852 fi
75853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75854
75855 cat >>confdefs.h <<_ACEOF
75856 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75857 _ACEOF
75858
75859 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75861 $as_echo "$res" >&6; }
75862
75863
75864 # Check for rlimit, setrlimit.
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75866 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75867 if ${glibcxx_cv_setrlimit+:} false; then :
75868 $as_echo_n "(cached) " >&6
75869 else
75870
75871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75872 /* end confdefs.h. */
75873 #include <unistd.h>
75874 #include <sys/time.h>
75875 #include <sys/resource.h>
75876
75877 int
75878 main ()
75879 {
75880 struct rlimit r;
75881 setrlimit(0, &r);
75882 ;
75883 return 0;
75884 }
75885 _ACEOF
75886 if ac_fn_cxx_try_compile "$LINENO"; then :
75887 glibcxx_cv_setrlimit=yes
75888 else
75889 glibcxx_cv_setrlimit=no
75890 fi
75891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75892
75893 fi
75894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
75895 $as_echo "$glibcxx_cv_setrlimit" >&6; }
75896
75897 if test $glibcxx_cv_setrlimit = yes; then
75898
75899 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75900
75901 fi
75902 fi
75903 ac_ext=c
75904 ac_cpp='$CPP $CPPFLAGS'
75905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75908
75909
75910
75911 if $GLIBCXX_IS_NATIVE ; then
75912 # Look for setenv, so that extended locale tests can be performed.
75913
75914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75915 $as_echo_n "checking for setenv declaration... " >&6; }
75916 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75917 if ${glibcxx_cv_func_setenv_use+:} false; then :
75918 $as_echo_n "(cached) " >&6
75919 else
75920
75921
75922 ac_ext=cpp
75923 ac_cpp='$CXXCPP $CPPFLAGS'
75924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75927
75928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75929 /* end confdefs.h. */
75930 #include <stdlib.h>
75931 int
75932 main ()
75933 {
75934 setenv(0, 0, 0);
75935 ;
75936 return 0;
75937 }
75938 _ACEOF
75939 if ac_fn_cxx_try_compile "$LINENO"; then :
75940 glibcxx_cv_func_setenv_use=yes
75941 else
75942 glibcxx_cv_func_setenv_use=no
75943 fi
75944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75945 ac_ext=c
75946 ac_cpp='$CPP $CPPFLAGS'
75947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75950
75951
75952 fi
75953
75954 fi
75955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75956 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75957 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75958 for ac_func in setenv
75959 do :
75960 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75961 if test "x$ac_cv_func_setenv" = xyes; then :
75962 cat >>confdefs.h <<_ACEOF
75963 #define HAVE_SETENV 1
75964 _ACEOF
75965
75966 fi
75967 done
75968
75969 fi
75970
75971 fi
75972
75973 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75974 test $enable_symvers != no; then
75975 case "$host" in
75976 *-*-cygwin*)
75977 enable_abi_check=no ;;
75978 *)
75979 enable_abi_check=yes ;;
75980 esac
75981 else
75982 # Only build this as native, since automake does not understand
75983 # CXX_FOR_BUILD.
75984 enable_abi_check=no
75985 fi
75986
75987 # Export file names for ABI checking.
75988 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75989
75990 baseline_subdir_switch="$abi_baseline_subdir_switch"
75991
75992
75993
75994 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75995
75996 # Check whether --enable-libstdcxx-threads was given.
75997 if test "${enable_libstdcxx_threads+set}" = set; then :
75998 enableval=$enable_libstdcxx_threads;
75999 case "$enableval" in
76000 yes|no) ;;
76001 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
76002 esac
76003
76004 else
76005 enable_libstdcxx_threads=auto
76006 fi
76007
76008
76009
76010 if test x$enable_libstdcxx_threads = xauto ||
76011 test x$enable_libstdcxx_threads = xyes; then
76012
76013
76014 ac_ext=cpp
76015 ac_cpp='$CXXCPP $CPPFLAGS'
76016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76019
76020
76021 ac_save_CXXFLAGS="$CXXFLAGS"
76022 CXXFLAGS="$CXXFLAGS -fno-exceptions \
76023 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
76024
76025 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
76026 case $target_thread_file in
76027 posix)
76028 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
76029 esac
76030
76031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
76032 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
76033
76034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76035 /* end confdefs.h. */
76036 #include <unistd.h>
76037 int
76038 main ()
76039 {
76040
76041 // In case of POSIX threads check _POSIX_TIMEOUTS.
76042 #if (defined(_PTHREADS) \
76043 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
76044 #error
76045 #endif
76046
76047 ;
76048 return 0;
76049 }
76050 _ACEOF
76051 if ac_fn_cxx_try_compile "$LINENO"; then :
76052 ac_gthread_use_mutex_timedlock=1
76053 else
76054 ac_gthread_use_mutex_timedlock=0
76055 fi
76056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76057
76058
76059 cat >>confdefs.h <<_ACEOF
76060 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
76061 _ACEOF
76062
76063
76064 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
76065 else res_mutex_timedlock=no ; fi
76066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
76067 $as_echo "$res_mutex_timedlock" >&6; }
76068
76069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
76070 $as_echo_n "checking for gthreads library... " >&6; }
76071
76072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76073 /* end confdefs.h. */
76074 #include "gthr.h"
76075 int
76076 main ()
76077 {
76078
76079 #ifndef __GTHREADS_CXX0X
76080 #error
76081 #endif
76082
76083 ;
76084 return 0;
76085 }
76086 _ACEOF
76087 if ac_fn_cxx_try_compile "$LINENO"; then :
76088 ac_has_gthreads=yes
76089 else
76090 ac_has_gthreads=no
76091 fi
76092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76093 else
76094 ac_has_gthreads=no
76095 fi
76096
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
76098 $as_echo "$ac_has_gthreads" >&6; }
76099
76100 if test x"$ac_has_gthreads" = x"yes"; then
76101
76102 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
76103
76104
76105 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
76106 # but only do so if we're using pthread in the gthread library.
76107 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
76108 # but the pthread library is not there by default and the gthread library
76109 # does not use it.
76110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76111 /* end confdefs.h. */
76112 #include "gthr.h"
76113 int
76114 main ()
76115 {
76116
76117 #if (!defined(_PTHREADS))
76118 #error
76119 #endif
76120
76121 ;
76122 return 0;
76123 }
76124 _ACEOF
76125 if ac_fn_cxx_try_compile "$LINENO"; then :
76126 ac_gthread_use_pthreads=yes
76127 else
76128 ac_gthread_use_pthreads=no
76129 fi
76130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76131 if test x"$ac_gthread_use_pthreads" = x"yes"; then
76132 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
76133 "
76134 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
76135
76136 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76137
76138 fi
76139
76140 fi
76141 fi
76142
76143 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
76144 if test "x$ac_cv_header_semaphore_h" = xyes; then :
76145
76146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
76147 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
76148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76149 /* end confdefs.h. */
76150
76151 #include <unistd.h>
76152 #include <semaphore.h>
76153 #include <limits.h>
76154
76155 int
76156 main ()
76157 {
76158
76159 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
76160 # error "POSIX Timeouts option not supported"
76161 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
76162 # error "POSIX Semaphores option not supported"
76163 #else
76164 #if defined SEM_VALUE_MAX
76165 constexpr int sem_value_max = SEM_VALUE_MAX;
76166 #elif defined _POSIX_SEM_VALUE_MAX
76167 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
76168 #else
76169 # error "SEM_VALUE_MAX not available"
76170 #endif
76171 sem_t sem;
76172 sem_init(&sem, 0, sem_value_max);
76173 struct timespec ts = { 0 };
76174 sem_timedwait(&sem, &ts);
76175 #endif
76176
76177 ;
76178 return 0;
76179 }
76180 _ACEOF
76181 if ac_fn_cxx_try_compile "$LINENO"; then :
76182 ac_have_posix_semaphore=yes
76183 else
76184 ac_have_posix_semaphore=no
76185 fi
76186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76187 else
76188 ac_have_posix_semaphore=no
76189 fi
76190
76191
76192
76193 if test $ac_have_posix_semaphore = yes ; then
76194
76195 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
76196
76197 fi
76198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
76199 $as_echo "$ac_have_posix_semaphore" >&6; }
76200
76201 CXXFLAGS="$ac_save_CXXFLAGS"
76202 ac_ext=c
76203 ac_cpp='$CPP $CPPFLAGS'
76204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76207
76208
76209
76210 # For Filesystem TS.
76211 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76212 do :
76213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76214 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76215 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76216 cat >>confdefs.h <<_ACEOF
76217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76218 _ACEOF
76219
76220 fi
76221
76222 done
76223
76224
76225 # Check whether --enable-libstdcxx-filesystem-ts was given.
76226 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76227 enableval=$enable_libstdcxx_filesystem_ts;
76228 case "$enableval" in
76229 yes|no|auto) ;;
76230 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76231 esac
76232
76233 else
76234 enable_libstdcxx_filesystem_ts=auto
76235 fi
76236
76237
76238
76239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76240 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76241 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76242 enable_libstdcxx_filesystem_ts=no
76243 fi
76244 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76245 case "${target_os}" in
76246 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76247 enable_libstdcxx_filesystem_ts=yes
76248 ;;
76249 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76250 enable_libstdcxx_filesystem_ts=yes
76251 ;;
76252 rtems*)
76253 enable_libstdcxx_filesystem_ts=yes
76254 ;;
76255 solaris*)
76256 enable_libstdcxx_filesystem_ts=yes
76257 ;;
76258 mingw*)
76259 enable_libstdcxx_filesystem_ts=yes
76260 ;;
76261 *)
76262 enable_libstdcxx_filesystem_ts=no
76263 ;;
76264 esac
76265 fi
76266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76267 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76268
76269
76270
76271 ac_ext=cpp
76272 ac_cpp='$CXXCPP $CPPFLAGS'
76273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76276
76277 ac_save_CXXFLAGS="$CXXFLAGS"
76278 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76280 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76281 if ${glibcxx_cv_dirent_d_type+:} false; then :
76282 $as_echo_n "(cached) " >&6
76283 else
76284 if test x$gcc_no_link = xyes; then
76285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76286 /* end confdefs.h. */
76287 #include <dirent.h>
76288 int
76289 main ()
76290 {
76291
76292 struct dirent d;
76293 if (sizeof d.d_type) return 0;
76294
76295 ;
76296 return 0;
76297 }
76298 _ACEOF
76299 if ac_fn_cxx_try_compile "$LINENO"; then :
76300 glibcxx_cv_dirent_d_type=yes
76301 else
76302 glibcxx_cv_dirent_d_type=no
76303 fi
76304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76305 else
76306 if test x$gcc_no_link = xyes; then
76307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76308 fi
76309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76310 /* end confdefs.h. */
76311 #include <dirent.h>
76312 int
76313 main ()
76314 {
76315
76316 struct dirent d;
76317 if (sizeof d.d_type) return 0;
76318
76319 ;
76320 return 0;
76321 }
76322 _ACEOF
76323 if ac_fn_cxx_try_link "$LINENO"; then :
76324 glibcxx_cv_dirent_d_type=yes
76325 else
76326 glibcxx_cv_dirent_d_type=no
76327 fi
76328 rm -f core conftest.err conftest.$ac_objext \
76329 conftest$ac_exeext conftest.$ac_ext
76330 fi
76331
76332 fi
76333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76334 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76335 if test $glibcxx_cv_dirent_d_type = yes; then
76336
76337 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76338
76339 fi
76340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76341 $as_echo_n "checking for realpath... " >&6; }
76342 if ${glibcxx_cv_realpath+:} false; then :
76343 $as_echo_n "(cached) " >&6
76344 else
76345 if test x$gcc_no_link = xyes; then
76346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76347 /* end confdefs.h. */
76348
76349 #include <limits.h>
76350 #include <stdlib.h>
76351 #include <unistd.h>
76352
76353 int
76354 main ()
76355 {
76356
76357 #if _XOPEN_VERSION < 500
76358 #error
76359 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76360 char *tmp = realpath((const char*)NULL, (char*)NULL);
76361 #else
76362 #error
76363 #endif
76364
76365 ;
76366 return 0;
76367 }
76368 _ACEOF
76369 if ac_fn_cxx_try_compile "$LINENO"; then :
76370 glibcxx_cv_realpath=yes
76371 else
76372 glibcxx_cv_realpath=no
76373 fi
76374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76375 else
76376 if test x$gcc_no_link = xyes; then
76377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76378 fi
76379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76380 /* end confdefs.h. */
76381
76382 #include <limits.h>
76383 #include <stdlib.h>
76384 #include <unistd.h>
76385
76386 int
76387 main ()
76388 {
76389
76390 #if _XOPEN_VERSION < 500
76391 #error
76392 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76393 char *tmp = realpath((const char*)NULL, (char*)NULL);
76394 #else
76395 #error
76396 #endif
76397
76398 ;
76399 return 0;
76400 }
76401 _ACEOF
76402 if ac_fn_cxx_try_link "$LINENO"; then :
76403 glibcxx_cv_realpath=yes
76404 else
76405 glibcxx_cv_realpath=no
76406 fi
76407 rm -f core conftest.err conftest.$ac_objext \
76408 conftest$ac_exeext conftest.$ac_ext
76409 fi
76410
76411 fi
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76413 $as_echo "$glibcxx_cv_realpath" >&6; }
76414 if test $glibcxx_cv_realpath = yes; then
76415
76416 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76417
76418 fi
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76420 $as_echo_n "checking for utimensat... " >&6; }
76421 if ${glibcxx_cv_utimensat+:} false; then :
76422 $as_echo_n "(cached) " >&6
76423 else
76424 if test x$gcc_no_link = xyes; then
76425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76426 /* end confdefs.h. */
76427
76428 #include <fcntl.h>
76429 #include <sys/stat.h>
76430
76431 int
76432 main ()
76433 {
76434
76435 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76436 int i = utimensat(AT_FDCWD, "path", ts, 0);
76437
76438 ;
76439 return 0;
76440 }
76441 _ACEOF
76442 if ac_fn_cxx_try_compile "$LINENO"; then :
76443 glibcxx_cv_utimensat=yes
76444 else
76445 glibcxx_cv_utimensat=no
76446 fi
76447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76448 else
76449 if test x$gcc_no_link = xyes; then
76450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76451 fi
76452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76453 /* end confdefs.h. */
76454
76455 #include <fcntl.h>
76456 #include <sys/stat.h>
76457
76458 int
76459 main ()
76460 {
76461
76462 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76463 int i = utimensat(AT_FDCWD, "path", ts, 0);
76464
76465 ;
76466 return 0;
76467 }
76468 _ACEOF
76469 if ac_fn_cxx_try_link "$LINENO"; then :
76470 glibcxx_cv_utimensat=yes
76471 else
76472 glibcxx_cv_utimensat=no
76473 fi
76474 rm -f core conftest.err conftest.$ac_objext \
76475 conftest$ac_exeext conftest.$ac_ext
76476 fi
76477
76478 fi
76479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76480 $as_echo "$glibcxx_cv_utimensat" >&6; }
76481 if test $glibcxx_cv_utimensat = yes; then
76482
76483 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76484
76485 fi
76486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76487 $as_echo_n "checking for utime... " >&6; }
76488 if ${glibcxx_cv_utime+:} false; then :
76489 $as_echo_n "(cached) " >&6
76490 else
76491 if test x$gcc_no_link = xyes; then
76492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76493 /* end confdefs.h. */
76494
76495 #include <utime.h>
76496
76497 int
76498 main ()
76499 {
76500
76501 struct utimbuf t = { 1, 1 };
76502 int i = utime("path", &t);
76503
76504 ;
76505 return 0;
76506 }
76507 _ACEOF
76508 if ac_fn_cxx_try_compile "$LINENO"; then :
76509 glibcxx_cv_utime=yes
76510 else
76511 glibcxx_cv_utime=no
76512 fi
76513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76514 else
76515 if test x$gcc_no_link = xyes; then
76516 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76517 fi
76518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76519 /* end confdefs.h. */
76520
76521 #include <utime.h>
76522
76523 int
76524 main ()
76525 {
76526
76527 struct utimbuf t = { 1, 1 };
76528 int i = utime("path", &t);
76529
76530 ;
76531 return 0;
76532 }
76533 _ACEOF
76534 if ac_fn_cxx_try_link "$LINENO"; then :
76535 glibcxx_cv_utime=yes
76536 else
76537 glibcxx_cv_utime=no
76538 fi
76539 rm -f core conftest.err conftest.$ac_objext \
76540 conftest$ac_exeext conftest.$ac_ext
76541 fi
76542
76543 fi
76544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76545 $as_echo "$glibcxx_cv_utime" >&6; }
76546 if test $glibcxx_cv_utime = yes; then
76547
76548 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76549
76550 fi
76551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76552 $as_echo_n "checking for lstat... " >&6; }
76553 if ${glibcxx_cv_lstat+:} false; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76556 if test x$gcc_no_link = xyes; then
76557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76558 /* end confdefs.h. */
76559 #include <sys/stat.h>
76560 int
76561 main ()
76562 {
76563
76564 struct stat st;
76565 int i = lstat("path", &st);
76566
76567 ;
76568 return 0;
76569 }
76570 _ACEOF
76571 if ac_fn_cxx_try_compile "$LINENO"; then :
76572 glibcxx_cv_lstat=yes
76573 else
76574 glibcxx_cv_lstat=no
76575 fi
76576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76577 else
76578 if test x$gcc_no_link = xyes; then
76579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76580 fi
76581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76582 /* end confdefs.h. */
76583 #include <sys/stat.h>
76584 int
76585 main ()
76586 {
76587
76588 struct stat st;
76589 int i = lstat("path", &st);
76590
76591 ;
76592 return 0;
76593 }
76594 _ACEOF
76595 if ac_fn_cxx_try_link "$LINENO"; then :
76596 glibcxx_cv_lstat=yes
76597 else
76598 glibcxx_cv_lstat=no
76599 fi
76600 rm -f core conftest.err conftest.$ac_objext \
76601 conftest$ac_exeext conftest.$ac_ext
76602 fi
76603
76604 fi
76605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76606 $as_echo "$glibcxx_cv_lstat" >&6; }
76607 if test $glibcxx_cv_lstat = yes; then
76608
76609 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76610
76611 fi
76612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76613 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76614 if ${glibcxx_cv_st_mtim+:} false; then :
76615 $as_echo_n "(cached) " >&6
76616 else
76617 if test x$gcc_no_link = xyes; then
76618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76619 /* end confdefs.h. */
76620 #include <sys/stat.h>
76621 int
76622 main ()
76623 {
76624
76625 struct stat st;
76626 return st.st_mtim.tv_nsec;
76627
76628 ;
76629 return 0;
76630 }
76631 _ACEOF
76632 if ac_fn_cxx_try_compile "$LINENO"; then :
76633 glibcxx_cv_st_mtim=yes
76634 else
76635 glibcxx_cv_st_mtim=no
76636 fi
76637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76638 else
76639 if test x$gcc_no_link = xyes; then
76640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76641 fi
76642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76643 /* end confdefs.h. */
76644 #include <sys/stat.h>
76645 int
76646 main ()
76647 {
76648
76649 struct stat st;
76650 return st.st_mtim.tv_nsec;
76651
76652 ;
76653 return 0;
76654 }
76655 _ACEOF
76656 if ac_fn_cxx_try_link "$LINENO"; then :
76657 glibcxx_cv_st_mtim=yes
76658 else
76659 glibcxx_cv_st_mtim=no
76660 fi
76661 rm -f core conftest.err conftest.$ac_objext \
76662 conftest$ac_exeext conftest.$ac_ext
76663 fi
76664
76665 fi
76666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76667 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76668 if test $glibcxx_cv_st_mtim = yes; then
76669
76670 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76671
76672 fi
76673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76674 $as_echo_n "checking for fchmod... " >&6; }
76675 if ${glibcxx_cv_fchmod+:} false; then :
76676 $as_echo_n "(cached) " >&6
76677 else
76678 if test x$gcc_no_link = xyes; then
76679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76680 /* end confdefs.h. */
76681 #include <sys/stat.h>
76682 int
76683 main ()
76684 {
76685 fchmod(1, S_IWUSR);
76686 ;
76687 return 0;
76688 }
76689 _ACEOF
76690 if ac_fn_cxx_try_compile "$LINENO"; then :
76691 glibcxx_cv_fchmod=yes
76692 else
76693 glibcxx_cv_fchmod=no
76694 fi
76695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76696 else
76697 if test x$gcc_no_link = xyes; then
76698 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76699 fi
76700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76701 /* end confdefs.h. */
76702 #include <sys/stat.h>
76703 int
76704 main ()
76705 {
76706 fchmod(1, S_IWUSR);
76707 ;
76708 return 0;
76709 }
76710 _ACEOF
76711 if ac_fn_cxx_try_link "$LINENO"; then :
76712 glibcxx_cv_fchmod=yes
76713 else
76714 glibcxx_cv_fchmod=no
76715 fi
76716 rm -f core conftest.err conftest.$ac_objext \
76717 conftest$ac_exeext conftest.$ac_ext
76718 fi
76719
76720 fi
76721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76722 $as_echo "$glibcxx_cv_fchmod" >&6; }
76723 if test $glibcxx_cv_fchmod = yes; then
76724
76725 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76726
76727 fi
76728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76729 $as_echo_n "checking for fchmodat... " >&6; }
76730 if ${glibcxx_cv_fchmodat+:} false; then :
76731 $as_echo_n "(cached) " >&6
76732 else
76733 if test x$gcc_no_link = xyes; then
76734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76735 /* end confdefs.h. */
76736
76737 #include <fcntl.h>
76738 #include <sys/stat.h>
76739
76740 int
76741 main ()
76742 {
76743 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76744 ;
76745 return 0;
76746 }
76747 _ACEOF
76748 if ac_fn_cxx_try_compile "$LINENO"; then :
76749 glibcxx_cv_fchmodat=yes
76750 else
76751 glibcxx_cv_fchmodat=no
76752 fi
76753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76754 else
76755 if test x$gcc_no_link = xyes; then
76756 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76757 fi
76758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76759 /* end confdefs.h. */
76760
76761 #include <fcntl.h>
76762 #include <sys/stat.h>
76763
76764 int
76765 main ()
76766 {
76767 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76768 ;
76769 return 0;
76770 }
76771 _ACEOF
76772 if ac_fn_cxx_try_link "$LINENO"; then :
76773 glibcxx_cv_fchmodat=yes
76774 else
76775 glibcxx_cv_fchmodat=no
76776 fi
76777 rm -f core conftest.err conftest.$ac_objext \
76778 conftest$ac_exeext conftest.$ac_ext
76779 fi
76780
76781 fi
76782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76783 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76784 if test $glibcxx_cv_fchmodat = yes; then
76785
76786 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76787
76788 fi
76789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76790 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76791 if ${glibcxx_cv_sendfile+:} false; then :
76792 $as_echo_n "(cached) " >&6
76793 else
76794 case "${target_os}" in
76795 gnu* | linux* | solaris* | uclinux*)
76796 if test x$gcc_no_link = xyes; then
76797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76798 /* end confdefs.h. */
76799 #include <sys/sendfile.h>
76800 int
76801 main ()
76802 {
76803 sendfile(1, 2, (off_t*)0, sizeof 1);
76804 ;
76805 return 0;
76806 }
76807 _ACEOF
76808 if ac_fn_cxx_try_compile "$LINENO"; then :
76809 glibcxx_cv_sendfile=yes
76810 else
76811 glibcxx_cv_sendfile=no
76812 fi
76813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76814 else
76815 if test x$gcc_no_link = xyes; then
76816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76817 fi
76818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76819 /* end confdefs.h. */
76820 #include <sys/sendfile.h>
76821 int
76822 main ()
76823 {
76824 sendfile(1, 2, (off_t*)0, sizeof 1);
76825 ;
76826 return 0;
76827 }
76828 _ACEOF
76829 if ac_fn_cxx_try_link "$LINENO"; then :
76830 glibcxx_cv_sendfile=yes
76831 else
76832 glibcxx_cv_sendfile=no
76833 fi
76834 rm -f core conftest.err conftest.$ac_objext \
76835 conftest$ac_exeext conftest.$ac_ext
76836 fi
76837 ;;
76838 *)
76839 glibcxx_cv_sendfile=no
76840 ;;
76841 esac
76842
76843 fi
76844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76845 $as_echo "$glibcxx_cv_sendfile" >&6; }
76846 if test $glibcxx_cv_sendfile = yes; then
76847
76848 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76849
76850 fi
76851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76852 $as_echo_n "checking for link... " >&6; }
76853 if ${glibcxx_cv_link+:} false; then :
76854 $as_echo_n "(cached) " >&6
76855 else
76856 if test x$gcc_no_link = xyes; then
76857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76858 /* end confdefs.h. */
76859 #include <unistd.h>
76860 int
76861 main ()
76862 {
76863 link("", "");
76864 ;
76865 return 0;
76866 }
76867 _ACEOF
76868 if ac_fn_cxx_try_compile "$LINENO"; then :
76869 glibcxx_cv_link=yes
76870 else
76871 glibcxx_cv_link=no
76872 fi
76873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76874 else
76875 if test x$gcc_no_link = xyes; then
76876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76877 fi
76878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76879 /* end confdefs.h. */
76880 #include <unistd.h>
76881 int
76882 main ()
76883 {
76884 link("", "");
76885 ;
76886 return 0;
76887 }
76888 _ACEOF
76889 if ac_fn_cxx_try_link "$LINENO"; then :
76890 glibcxx_cv_link=yes
76891 else
76892 glibcxx_cv_link=no
76893 fi
76894 rm -f core conftest.err conftest.$ac_objext \
76895 conftest$ac_exeext conftest.$ac_ext
76896 fi
76897
76898 fi
76899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76900 $as_echo "$glibcxx_cv_link" >&6; }
76901 if test $glibcxx_cv_link = yes; then
76902
76903 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76904
76905 fi
76906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76907 $as_echo_n "checking for readlink... " >&6; }
76908 if ${glibcxx_cv_readlink+:} false; then :
76909 $as_echo_n "(cached) " >&6
76910 else
76911 if test x$gcc_no_link = xyes; then
76912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76913 /* end confdefs.h. */
76914 #include <unistd.h>
76915 int
76916 main ()
76917 {
76918 char buf[32]; readlink("", buf, sizeof(buf));
76919 ;
76920 return 0;
76921 }
76922 _ACEOF
76923 if ac_fn_cxx_try_compile "$LINENO"; then :
76924 glibcxx_cv_readlink=yes
76925 else
76926 glibcxx_cv_readlink=no
76927 fi
76928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76929 else
76930 if test x$gcc_no_link = xyes; then
76931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76932 fi
76933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76934 /* end confdefs.h. */
76935 #include <unistd.h>
76936 int
76937 main ()
76938 {
76939 char buf[32]; readlink("", buf, sizeof(buf));
76940 ;
76941 return 0;
76942 }
76943 _ACEOF
76944 if ac_fn_cxx_try_link "$LINENO"; then :
76945 glibcxx_cv_readlink=yes
76946 else
76947 glibcxx_cv_readlink=no
76948 fi
76949 rm -f core conftest.err conftest.$ac_objext \
76950 conftest$ac_exeext conftest.$ac_ext
76951 fi
76952
76953 fi
76954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76955 $as_echo "$glibcxx_cv_readlink" >&6; }
76956 if test $glibcxx_cv_readlink = yes; then
76957
76958 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76959
76960 fi
76961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76962 $as_echo_n "checking for symlink... " >&6; }
76963 if ${glibcxx_cv_symlink+:} false; then :
76964 $as_echo_n "(cached) " >&6
76965 else
76966 if test x$gcc_no_link = xyes; then
76967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76968 /* end confdefs.h. */
76969 #include <unistd.h>
76970 int
76971 main ()
76972 {
76973 symlink("", "");
76974 ;
76975 return 0;
76976 }
76977 _ACEOF
76978 if ac_fn_cxx_try_compile "$LINENO"; then :
76979 glibcxx_cv_symlink=yes
76980 else
76981 glibcxx_cv_symlink=no
76982 fi
76983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76984 else
76985 if test x$gcc_no_link = xyes; then
76986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76987 fi
76988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76989 /* end confdefs.h. */
76990 #include <unistd.h>
76991 int
76992 main ()
76993 {
76994 symlink("", "");
76995 ;
76996 return 0;
76997 }
76998 _ACEOF
76999 if ac_fn_cxx_try_link "$LINENO"; then :
77000 glibcxx_cv_symlink=yes
77001 else
77002 glibcxx_cv_symlink=no
77003 fi
77004 rm -f core conftest.err conftest.$ac_objext \
77005 conftest$ac_exeext conftest.$ac_ext
77006 fi
77007
77008 fi
77009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
77010 $as_echo "$glibcxx_cv_symlink" >&6; }
77011 if test $glibcxx_cv_symlink = yes; then
77012
77013 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
77014
77015 fi
77016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
77017 $as_echo_n "checking for truncate... " >&6; }
77018 if ${glibcxx_cv_truncate+:} false; then :
77019 $as_echo_n "(cached) " >&6
77020 else
77021 if test x$gcc_no_link = xyes; then
77022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77023 /* end confdefs.h. */
77024 #include <unistd.h>
77025 int
77026 main ()
77027 {
77028 truncate("", 99);
77029 ;
77030 return 0;
77031 }
77032 _ACEOF
77033 if ac_fn_cxx_try_compile "$LINENO"; then :
77034 glibcxx_cv_truncate=yes
77035 else
77036 glibcxx_cv_truncate=no
77037 fi
77038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77039 else
77040 if test x$gcc_no_link = xyes; then
77041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77042 fi
77043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77044 /* end confdefs.h. */
77045 #include <unistd.h>
77046 int
77047 main ()
77048 {
77049 truncate("", 99);
77050 ;
77051 return 0;
77052 }
77053 _ACEOF
77054 if ac_fn_cxx_try_link "$LINENO"; then :
77055 glibcxx_cv_truncate=yes
77056 else
77057 glibcxx_cv_truncate=no
77058 fi
77059 rm -f core conftest.err conftest.$ac_objext \
77060 conftest$ac_exeext conftest.$ac_ext
77061 fi
77062
77063 fi
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
77065 $as_echo "$glibcxx_cv_truncate" >&6; }
77066 if test $glibcxx_cv_truncate = yes; then
77067
77068 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
77069
77070 fi
77071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
77072 $as_echo_n "checking for fdopendir... " >&6; }
77073 if ${glibcxx_cv_fdopendir+:} false; then :
77074 $as_echo_n "(cached) " >&6
77075 else
77076 if test x$gcc_no_link = xyes; then
77077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77078 /* end confdefs.h. */
77079 #include <dirent.h>
77080 int
77081 main ()
77082 {
77083 ::DIR* dir = ::fdopendir(1);
77084 ;
77085 return 0;
77086 }
77087 _ACEOF
77088 if ac_fn_cxx_try_compile "$LINENO"; then :
77089 glibcxx_cv_fdopendir=yes
77090 else
77091 glibcxx_cv_fdopendir=no
77092 fi
77093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77094 else
77095 if test x$gcc_no_link = xyes; then
77096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77097 fi
77098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77099 /* end confdefs.h. */
77100 #include <dirent.h>
77101 int
77102 main ()
77103 {
77104 ::DIR* dir = ::fdopendir(1);
77105 ;
77106 return 0;
77107 }
77108 _ACEOF
77109 if ac_fn_cxx_try_link "$LINENO"; then :
77110 glibcxx_cv_fdopendir=yes
77111 else
77112 glibcxx_cv_fdopendir=no
77113 fi
77114 rm -f core conftest.err conftest.$ac_objext \
77115 conftest$ac_exeext conftest.$ac_ext
77116 fi
77117
77118 fi
77119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
77120 $as_echo "$glibcxx_cv_fdopendir" >&6; }
77121 if test $glibcxx_cv_fdopendir = yes; then
77122
77123 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
77124
77125 fi
77126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
77127 $as_echo_n "checking for dirfd... " >&6; }
77128 if ${glibcxx_cv_dirfd+:} false; then :
77129 $as_echo_n "(cached) " >&6
77130 else
77131 if test x$gcc_no_link = xyes; then
77132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77133 /* end confdefs.h. */
77134 #include <dirent.h>
77135 int
77136 main ()
77137 {
77138 int fd = ::dirfd((::DIR*)0);
77139 ;
77140 return 0;
77141 }
77142 _ACEOF
77143 if ac_fn_cxx_try_compile "$LINENO"; then :
77144 glibcxx_cv_dirfd=yes
77145 else
77146 glibcxx_cv_dirfd=no
77147 fi
77148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77149 else
77150 if test x$gcc_no_link = xyes; then
77151 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77152 fi
77153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77154 /* end confdefs.h. */
77155 #include <dirent.h>
77156 int
77157 main ()
77158 {
77159 int fd = ::dirfd((::DIR*)0);
77160 ;
77161 return 0;
77162 }
77163 _ACEOF
77164 if ac_fn_cxx_try_link "$LINENO"; then :
77165 glibcxx_cv_dirfd=yes
77166 else
77167 glibcxx_cv_dirfd=no
77168 fi
77169 rm -f core conftest.err conftest.$ac_objext \
77170 conftest$ac_exeext conftest.$ac_ext
77171 fi
77172
77173 fi
77174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
77175 $as_echo "$glibcxx_cv_dirfd" >&6; }
77176 if test $glibcxx_cv_dirfd = yes; then
77177
77178 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
77179
77180 fi
77181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
77182 $as_echo_n "checking for unlinkat... " >&6; }
77183 if ${glibcxx_cv_unlinkat+:} false; then :
77184 $as_echo_n "(cached) " >&6
77185 else
77186 if test x$gcc_no_link = xyes; then
77187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77188 /* end confdefs.h. */
77189 #include <fcntl.h>
77190 #include <unistd.h>
77191 int
77192 main ()
77193 {
77194 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
77195 ;
77196 return 0;
77197 }
77198 _ACEOF
77199 if ac_fn_cxx_try_compile "$LINENO"; then :
77200 glibcxx_cv_unlinkat=yes
77201 else
77202 glibcxx_cv_unlinkat=no
77203 fi
77204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77205 else
77206 if test x$gcc_no_link = xyes; then
77207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77208 fi
77209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77210 /* end confdefs.h. */
77211 #include <fcntl.h>
77212 #include <unistd.h>
77213 int
77214 main ()
77215 {
77216 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
77217 ;
77218 return 0;
77219 }
77220 _ACEOF
77221 if ac_fn_cxx_try_link "$LINENO"; then :
77222 glibcxx_cv_unlinkat=yes
77223 else
77224 glibcxx_cv_unlinkat=no
77225 fi
77226 rm -f core conftest.err conftest.$ac_objext \
77227 conftest$ac_exeext conftest.$ac_ext
77228 fi
77229
77230 fi
77231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
77232 $as_echo "$glibcxx_cv_unlinkat" >&6; }
77233 if test $glibcxx_cv_unlinkat = yes; then
77234
77235 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
77236
77237 fi
77238 CXXFLAGS="$ac_save_CXXFLAGS"
77239 ac_ext=c
77240 ac_cpp='$CPP $CPPFLAGS'
77241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77244
77245
77246
77247
77248 # Check whether --enable-libstdcxx-backtrace was given.
77249 if test "${enable_libstdcxx_backtrace+set}" = set; then :
77250 enableval=$enable_libstdcxx_backtrace;
77251 case "$enableval" in
77252 yes|no|auto) ;;
77253 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
77254 esac
77255
77256 else
77257 enable_libstdcxx_backtrace=auto
77258 fi
77259
77260
77261
77262 # Most of this is adapted from libsanitizer/configure.ac
77263
77264 BACKTRACE_CPPFLAGS=
77265
77266 # libbacktrace only needs atomics for int, which we've already tested
77267 if test "$glibcxx_cv_atomic_int" = "yes"; then
77268 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
77269 fi
77270
77271 # Test for __sync support.
77272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
77273 $as_echo_n "checking __sync extensions... " >&6; }
77274 if ${glibcxx_cv_sys_sync+:} false; then :
77275 $as_echo_n "(cached) " >&6
77276 else
77277 if test x$gcc_no_link = xyes; then
77278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77279 /* end confdefs.h. */
77280 int i;
77281 int
77282 main ()
77283 {
77284 __sync_bool_compare_and_swap (&i, i, i);
77285 __sync_lock_test_and_set (&i, 1);
77286 __sync_lock_release (&i);
77287 ;
77288 return 0;
77289 }
77290 _ACEOF
77291 if ac_fn_c_try_compile "$LINENO"; then :
77292 glibcxx_cv_sys_sync=yes
77293 else
77294 glibcxx_cv_sys_sync=no
77295 fi
77296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77297 else
77298 if test x$gcc_no_link = xyes; then
77299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77300 fi
77301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77302 /* end confdefs.h. */
77303 int i;
77304 int
77305 main ()
77306 {
77307 __sync_bool_compare_and_swap (&i, i, i);
77308 __sync_lock_test_and_set (&i, 1);
77309 __sync_lock_release (&i);
77310 ;
77311 return 0;
77312 }
77313 _ACEOF
77314 if ac_fn_c_try_link "$LINENO"; then :
77315 glibcxx_cv_sys_sync=yes
77316 else
77317 glibcxx_cv_sys_sync=no
77318 fi
77319 rm -f core conftest.err conftest.$ac_objext \
77320 conftest$ac_exeext conftest.$ac_ext
77321 fi
77322
77323 fi
77324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
77325 $as_echo "$glibcxx_cv_sys_sync" >&6; }
77326 if test "$glibcxx_cv_sys_sync" = "yes"; then
77327 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
77328 fi
77329
77330 # Check for dl_iterate_phdr.
77331 for ac_header in link.h
77332 do :
77333 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
77334 if test "x$ac_cv_header_link_h" = xyes; then :
77335 cat >>confdefs.h <<_ACEOF
77336 #define HAVE_LINK_H 1
77337 _ACEOF
77338
77339 fi
77340
77341 done
77342
77343 if test "$ac_cv_header_link_h" = "no"; then
77344 have_dl_iterate_phdr=no
77345 else
77346 # When built as a GCC target library, we can't do a link test.
77347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77348 /* end confdefs.h. */
77349 #include <link.h>
77350
77351 _ACEOF
77352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
77353 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
77354 have_dl_iterate_phdr=yes
77355 else
77356 have_dl_iterate_phdr=no
77357 fi
77358 rm -f conftest*
77359
77360 fi
77361 if test "$have_dl_iterate_phdr" = "yes"; then
77362 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
77363 fi
77364
77365 # Check for the fcntl function.
77366 if test -n "${with_target_subdir}"; then
77367 case "${host}" in
77368 *-*-mingw*) have_fcntl=no ;;
77369 *) have_fcntl=yes ;;
77370 esac
77371 else
77372 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
77373 if test "x$ac_cv_func_fcntl" = xyes; then :
77374 have_fcntl=yes
77375 else
77376 have_fcntl=no
77377 fi
77378
77379 fi
77380 if test "$have_fcntl" = "yes"; then
77381 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
77382 fi
77383
77384 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
77385 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
77386 ac_have_decl=1
77387 else
77388 ac_have_decl=0
77389 fi
77390
77391 cat >>confdefs.h <<_ACEOF
77392 #define HAVE_DECL_STRNLEN $ac_have_decl
77393 _ACEOF
77394
77395
77396 # Check for getexecname function.
77397 if test -n "${with_target_subdir}"; then
77398 case "${host}" in
77399 *-*-solaris2*) have_getexecname=yes ;;
77400 *) have_getexecname=no ;;
77401 esac
77402 else
77403 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
77404 if test "x$ac_cv_func_getexecname" = xyes; then :
77405 have_getexecname=yes
77406 else
77407 have_getexecname=no
77408 fi
77409
77410 fi
77411 if test "$have_getexecname" = "yes"; then
77412 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
77413 fi
77414
77415 # The library needs to be able to read the executable itself. Compile
77416 # a file to determine the executable format. The awk script
77417 # filetype.awk prints out the file type.
77418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
77419 $as_echo_n "checking output filetype... " >&6; }
77420 if ${glibcxx_cv_sys_filetype+:} false; then :
77421 $as_echo_n "(cached) " >&6
77422 else
77423 filetype=
77424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77425 /* end confdefs.h. */
77426 int i;
77427 int
77428 main ()
77429 {
77430 int j;
77431 ;
77432 return 0;
77433 }
77434 _ACEOF
77435 if ac_fn_c_try_compile "$LINENO"; then :
77436 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
77437 else
77438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77440 as_fn_error $? "compiler failed
77441 See \`config.log' for more details" "$LINENO" 5; }
77442 fi
77443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77444 glibcxx_cv_sys_filetype=$filetype
77445 fi
77446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
77447 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
77448
77449 # Match the file type to decide what files to compile.
77450 FORMAT_FILE=
77451 case "$glibcxx_cv_sys_filetype" in
77452 elf*) FORMAT_FILE="elf.lo" ;;
77453 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
77454 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
77455 FORMAT_FILE="unknown.lo"
77456 enable_libstdcxx_backtrace=no
77457 ;;
77458 esac
77459
77460
77461 # ELF defines.
77462 elfsize=
77463 case "$glibcxx_cv_sys_filetype" in
77464 elf32) elfsize=32 ;;
77465 elf64) elfsize=64 ;;
77466 esac
77467 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
77468
77469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
77470 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
77471 if test "$enable_libstdcxx_backtrace" = "auto"; then
77472 enable_libstdcxx_backtrace=no
77473 fi
77474 if test "$enable_libstdcxx_backtrace" = "yes"; then
77475 BACKTRACE_SUPPORTED=1
77476
77477 for ac_header in sys/mman.h
77478 do :
77479 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
77480 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
77481 cat >>confdefs.h <<_ACEOF
77482 #define HAVE_SYS_MMAN_H 1
77483 _ACEOF
77484
77485 fi
77486
77487 done
77488
77489 case "${host}" in
77490 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
77491 have_mmap=no ;;
77492 *-*-*)
77493 have_mmap="$ac_cv_header_sys_mman_h" ;;
77494 esac
77495
77496 if test "$have_mmap" = "no"; then
77497 VIEW_FILE=read.lo
77498 ALLOC_FILE=alloc.lo
77499 else
77500 VIEW_FILE=mmapio.lo
77501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77502 /* end confdefs.h. */
77503
77504 #include <sys/mman.h>
77505 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
77506 #error no MAP_ANONYMOUS
77507 #endif
77508
77509 _ACEOF
77510 if ac_fn_c_try_cpp "$LINENO"; then :
77511 ALLOC_FILE=mmap.lo
77512 else
77513 ALLOC_FILE=alloc.lo
77514 fi
77515 rm -f conftest.err conftest.i conftest.$ac_ext
77516 fi
77517
77518
77519
77520 BACKTRACE_USES_MALLOC=0
77521 if test "$ALLOC_FILE" = "alloc.lo"; then
77522 BACKTRACE_USES_MALLOC=1
77523 fi
77524
77525 if test "$ac_has_gthreads" = "yes"; then
77526 BACKTRACE_SUPPORTS_THREADS=1
77527 else
77528 BACKTRACE_SUPPORTS_THREADS=0
77529 fi
77530
77531
77532
77533
77534
77535 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
77536
77537 else
77538 BACKTRACE_SUPPORTED=0
77539 BACKTRACE_USES_MALLOC=0
77540 BACKTRACE_SUPPORTS_THREADS=0
77541 fi
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
77543 $as_echo "$enable_libstdcxx_backtrace" >&6; }
77544
77545
77546
77547 # For Networking TS.
77548 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
77549 do :
77550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77551 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
77552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
77553 cat >>confdefs.h <<_ACEOF
77554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77555 _ACEOF
77556
77557 fi
77558
77559 done
77560
77561 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
77562 "
77563 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
77564
77565 fi
77566
77567 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
77568 "
77569 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
77570
77571 fi
77572
77573 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
77574 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
77575 "
77576 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
77577
77578 fi
77579
77580 fi
77581
77582 # For Transactional Memory TS
77583
77584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
77585 $as_echo_n "checking how size_t is mangled... " >&6; }
77586 if ${glibcxx_cv_size_t_mangling+:} false; then :
77587 $as_echo_n "(cached) " >&6
77588 else
77589
77590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77591 /* end confdefs.h. */
77592
77593 int
77594 main ()
77595 {
77596 extern __SIZE_TYPE__ x; extern unsigned long x;
77597 ;
77598 return 0;
77599 }
77600 _ACEOF
77601 if ac_fn_c_try_compile "$LINENO"; then :
77602 glibcxx_cv_size_t_mangling=m
77603 else
77604
77605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77606 /* end confdefs.h. */
77607
77608 int
77609 main ()
77610 {
77611 extern __SIZE_TYPE__ x; extern unsigned int x;
77612 ;
77613 return 0;
77614 }
77615 _ACEOF
77616 if ac_fn_c_try_compile "$LINENO"; then :
77617 glibcxx_cv_size_t_mangling=j
77618 else
77619
77620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77621 /* end confdefs.h. */
77622
77623 int
77624 main ()
77625 {
77626 extern __SIZE_TYPE__ x; extern unsigned long long x;
77627 ;
77628 return 0;
77629 }
77630 _ACEOF
77631 if ac_fn_c_try_compile "$LINENO"; then :
77632 glibcxx_cv_size_t_mangling=y
77633 else
77634
77635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77636 /* end confdefs.h. */
77637
77638 int
77639 main ()
77640 {
77641 extern __SIZE_TYPE__ x; extern unsigned short x;
77642 ;
77643 return 0;
77644 }
77645 _ACEOF
77646 if ac_fn_c_try_compile "$LINENO"; then :
77647 glibcxx_cv_size_t_mangling=t
77648 else
77649
77650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77651 /* end confdefs.h. */
77652
77653 int
77654 main ()
77655 {
77656 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77657 ;
77658 return 0;
77659 }
77660 _ACEOF
77661 if ac_fn_c_try_compile "$LINENO"; then :
77662 glibcxx_cv_size_t_mangling=u6uint20
77663 else
77664 glibcxx_cv_size_t_mangling=x
77665 fi
77666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77667
77668 fi
77669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77670
77671 fi
77672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77673
77674 fi
77675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77676
77677 fi
77678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77679
77680 fi
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77682 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77683 if test $glibcxx_cv_size_t_mangling = x; then
77684 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77685 fi
77686
77687 cat >>confdefs.h <<_ACEOF
77688 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77689 _ACEOF
77690
77691
77692
77693 # Check which release added std::exception_ptr for the target
77694
77695 if test $enable_symvers != no; then
77696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77697 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77698 case ${target} in
77699 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77700 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77701 ac_exception_ptr_since_gcc46=yes
77702 ;;
77703 *)
77704 # If the value of this macro changes then we will need to hardcode
77705 # yes/no here for additional targets based on the original value.
77706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77707 /* end confdefs.h. */
77708
77709 int
77710 main ()
77711 {
77712
77713 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77714 # error atomic int not always lock free
77715 #endif
77716
77717 ;
77718 return 0;
77719 }
77720 _ACEOF
77721 if ac_fn_c_try_compile "$LINENO"; then :
77722 ac_exception_ptr_since_gcc46=yes
77723 else
77724 ac_exception_ptr_since_gcc46=no
77725 fi
77726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77727 ;;
77728 esac
77729 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77730
77731 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77732
77733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77734 $as_echo "4.6.0" >&6; }
77735 else
77736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77737 $as_echo "7.1.0" >&6; }
77738 fi
77739 fi
77740
77741
77742 # Define documentation rules conditionally.
77743
77744 # See if makeinfo has been installed and is modern enough
77745 # that we can use it.
77746
77747 # Extract the first word of "makeinfo", so it can be a program name with args.
77748 set dummy makeinfo; ac_word=$2
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77750 $as_echo_n "checking for $ac_word... " >&6; }
77751 if ${ac_cv_prog_MAKEINFO+:} false; then :
77752 $as_echo_n "(cached) " >&6
77753 else
77754 if test -n "$MAKEINFO"; then
77755 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77756 else
77757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77758 for as_dir in $PATH
77759 do
77760 IFS=$as_save_IFS
77761 test -z "$as_dir" && as_dir=.
77762 for ac_exec_ext in '' $ac_executable_extensions; do
77763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77764 ac_cv_prog_MAKEINFO="makeinfo"
77765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77766 break 2
77767 fi
77768 done
77769 done
77770 IFS=$as_save_IFS
77771
77772 fi
77773 fi
77774 MAKEINFO=$ac_cv_prog_MAKEINFO
77775 if test -n "$MAKEINFO"; then
77776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77777 $as_echo "$MAKEINFO" >&6; }
77778 else
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77780 $as_echo "no" >&6; }
77781 fi
77782
77783
77784 if test -n "$MAKEINFO"; then
77785 # Found it, now check the version.
77786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77787 $as_echo_n "checking for modern makeinfo... " >&6; }
77788 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77789 $as_echo_n "(cached) " >&6
77790 else
77791 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77792 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77793
77794 case $ac_prog_version in
77795 '') gcc_cv_prog_makeinfo_modern=no;;
77796 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77797 *) gcc_cv_prog_makeinfo_modern=no;;
77798 esac
77799
77800 fi
77801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77802 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77803 else
77804 gcc_cv_prog_makeinfo_modern=no
77805 fi
77806 if test $gcc_cv_prog_makeinfo_modern = no; then
77807 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77808 fi
77809
77810 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77811 BUILD_INFO_TRUE=
77812 BUILD_INFO_FALSE='#'
77813 else
77814 BUILD_INFO_TRUE='#'
77815 BUILD_INFO_FALSE=
77816 fi
77817
77818
77819 # Check for doxygen
77820 # Extract the first word of "doxygen", so it can be a program name with args.
77821 set dummy doxygen; ac_word=$2
77822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77823 $as_echo_n "checking for $ac_word... " >&6; }
77824 if ${ac_cv_prog_DOXYGEN+:} false; then :
77825 $as_echo_n "(cached) " >&6
77826 else
77827 if test -n "$DOXYGEN"; then
77828 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77829 else
77830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77831 for as_dir in $PATH
77832 do
77833 IFS=$as_save_IFS
77834 test -z "$as_dir" && as_dir=.
77835 for ac_exec_ext in '' $ac_executable_extensions; do
77836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77837 ac_cv_prog_DOXYGEN="yes"
77838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77839 break 2
77840 fi
77841 done
77842 done
77843 IFS=$as_save_IFS
77844
77845 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77846 fi
77847 fi
77848 DOXYGEN=$ac_cv_prog_DOXYGEN
77849 if test -n "$DOXYGEN"; then
77850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77851 $as_echo "$DOXYGEN" >&6; }
77852 else
77853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77854 $as_echo "no" >&6; }
77855 fi
77856
77857
77858 # Extract the first word of "dot", so it can be a program name with args.
77859 set dummy dot; ac_word=$2
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77861 $as_echo_n "checking for $ac_word... " >&6; }
77862 if ${ac_cv_prog_DOT+:} false; then :
77863 $as_echo_n "(cached) " >&6
77864 else
77865 if test -n "$DOT"; then
77866 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77867 else
77868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77869 for as_dir in $PATH
77870 do
77871 IFS=$as_save_IFS
77872 test -z "$as_dir" && as_dir=.
77873 for ac_exec_ext in '' $ac_executable_extensions; do
77874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77875 ac_cv_prog_DOT="yes"
77876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77877 break 2
77878 fi
77879 done
77880 done
77881 IFS=$as_save_IFS
77882
77883 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77884 fi
77885 fi
77886 DOT=$ac_cv_prog_DOT
77887 if test -n "$DOT"; then
77888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77889 $as_echo "$DOT" >&6; }
77890 else
77891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77892 $as_echo "no" >&6; }
77893 fi
77894
77895
77896
77897 # Check for docbook
77898 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77899 set dummy xmlcatalog; ac_word=$2
77900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77901 $as_echo_n "checking for $ac_word... " >&6; }
77902 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77903 $as_echo_n "(cached) " >&6
77904 else
77905 if test -n "$XMLCATALOG"; then
77906 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77907 else
77908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77909 for as_dir in $PATH
77910 do
77911 IFS=$as_save_IFS
77912 test -z "$as_dir" && as_dir=.
77913 for ac_exec_ext in '' $ac_executable_extensions; do
77914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77915 ac_cv_prog_XMLCATALOG="yes"
77916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77917 break 2
77918 fi
77919 done
77920 done
77921 IFS=$as_save_IFS
77922
77923 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77924 fi
77925 fi
77926 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77927 if test -n "$XMLCATALOG"; then
77928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77929 $as_echo "$XMLCATALOG" >&6; }
77930 else
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77932 $as_echo "no" >&6; }
77933 fi
77934
77935
77936 # Extract the first word of "xsltproc", so it can be a program name with args.
77937 set dummy xsltproc; ac_word=$2
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77939 $as_echo_n "checking for $ac_word... " >&6; }
77940 if ${ac_cv_prog_XSLTPROC+:} false; then :
77941 $as_echo_n "(cached) " >&6
77942 else
77943 if test -n "$XSLTPROC"; then
77944 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77945 else
77946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77947 for as_dir in $PATH
77948 do
77949 IFS=$as_save_IFS
77950 test -z "$as_dir" && as_dir=.
77951 for ac_exec_ext in '' $ac_executable_extensions; do
77952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77953 ac_cv_prog_XSLTPROC="yes"
77954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77955 break 2
77956 fi
77957 done
77958 done
77959 IFS=$as_save_IFS
77960
77961 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77962 fi
77963 fi
77964 XSLTPROC=$ac_cv_prog_XSLTPROC
77965 if test -n "$XSLTPROC"; then
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77967 $as_echo "$XSLTPROC" >&6; }
77968 else
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77970 $as_echo "no" >&6; }
77971 fi
77972
77973
77974 # Extract the first word of "xmllint", so it can be a program name with args.
77975 set dummy xmllint; ac_word=$2
77976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77977 $as_echo_n "checking for $ac_word... " >&6; }
77978 if ${ac_cv_prog_XMLLINT+:} false; then :
77979 $as_echo_n "(cached) " >&6
77980 else
77981 if test -n "$XMLLINT"; then
77982 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77983 else
77984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77985 for as_dir in $PATH
77986 do
77987 IFS=$as_save_IFS
77988 test -z "$as_dir" && as_dir=.
77989 for ac_exec_ext in '' $ac_executable_extensions; do
77990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77991 ac_cv_prog_XMLLINT="yes"
77992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77993 break 2
77994 fi
77995 done
77996 done
77997 IFS=$as_save_IFS
77998
77999 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78000 fi
78001 fi
78002 XMLLINT=$ac_cv_prog_XMLLINT
78003 if test -n "$XMLLINT"; then
78004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78005 $as_echo "$XMLLINT" >&6; }
78006 else
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78008 $as_echo "no" >&6; }
78009 fi
78010
78011
78012
78013
78014 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
78015
78016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78017 $as_echo_n "checking for local stylesheet directory... " >&6; }
78018 glibcxx_local_stylesheets=no
78019 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
78020 then
78021 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
78022 glibcxx_local_stylesheets=yes
78023 else
78024 for dir in \
78025 /usr/share/sgml/docbook/xsl-ns-stylesheets \
78026 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
78027 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
78028 /usr/share/xml/docbook/stylesheet/nwalsh/current
78029 do
78030 if test -d $dir; then
78031 glibcxx_local_stylesheets=yes
78032 XSL_STYLE_DIR=$dir
78033 break
78034 fi
78035 done
78036 fi
78037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78038 $as_echo "$glibcxx_local_stylesheets" >&6; }
78039
78040 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78041
78042 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
78043 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
78044
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78046 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78047 glibcxx_stylesheets=no
78048 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
78049 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
78050 glibcxx_stylesheets=yes
78051 fi
78052 fi
78053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78054 $as_echo "$glibcxx_stylesheets" >&6; }
78055
78056 else
78057 glibcxx_stylesheets=no
78058 fi
78059
78060 # Check for epub3 dependencies.
78061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78062 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78063 glibcxx_epub_stylesheets=no
78064 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78065 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78066 glibcxx_epub_stylesheets=yes
78067 fi
78068 fi
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
78070 $as_echo "$glibcxx_epub_stylesheets" >&6; }
78071 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
78072 BUILD_EPUB_TRUE=
78073 BUILD_EPUB_FALSE='#'
78074 else
78075 BUILD_EPUB_TRUE='#'
78076 BUILD_EPUB_FALSE=
78077 fi
78078
78079
78080
78081
78082 # Check for xml/html dependencies.
78083 if test $ac_cv_prog_DOXYGEN = "yes" &&
78084 test $ac_cv_prog_DOT = "yes" &&
78085 test $ac_cv_prog_XSLTPROC = "yes" &&
78086 test $ac_cv_prog_XMLLINT = "yes" &&
78087 test $glibcxx_stylesheets = "yes"; then
78088 BUILD_XML_TRUE=
78089 BUILD_XML_FALSE='#'
78090 else
78091 BUILD_XML_TRUE='#'
78092 BUILD_XML_FALSE=
78093 fi
78094
78095
78096 if test $ac_cv_prog_DOXYGEN = "yes" &&
78097 test $ac_cv_prog_DOT = "yes" &&
78098 test $ac_cv_prog_XSLTPROC = "yes" &&
78099 test $ac_cv_prog_XMLLINT = "yes" &&
78100 test $glibcxx_stylesheets = "yes"; then
78101 BUILD_HTML_TRUE=
78102 BUILD_HTML_FALSE='#'
78103 else
78104 BUILD_HTML_TRUE='#'
78105 BUILD_HTML_FALSE=
78106 fi
78107
78108
78109 # Check for man dependencies.
78110 if test $ac_cv_prog_DOXYGEN = "yes" &&
78111 test $ac_cv_prog_DOT = "yes"; then
78112 BUILD_MAN_TRUE=
78113 BUILD_MAN_FALSE='#'
78114 else
78115 BUILD_MAN_TRUE='#'
78116 BUILD_MAN_FALSE=
78117 fi
78118
78119
78120 # Check for pdf dependencies.
78121 # Extract the first word of "dblatex", so it can be a program name with args.
78122 set dummy dblatex; ac_word=$2
78123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78124 $as_echo_n "checking for $ac_word... " >&6; }
78125 if ${ac_cv_prog_DBLATEX+:} false; then :
78126 $as_echo_n "(cached) " >&6
78127 else
78128 if test -n "$DBLATEX"; then
78129 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
78130 else
78131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78132 for as_dir in $PATH
78133 do
78134 IFS=$as_save_IFS
78135 test -z "$as_dir" && as_dir=.
78136 for ac_exec_ext in '' $ac_executable_extensions; do
78137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
78138 ac_cv_prog_DBLATEX="yes"
78139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78140 break 2
78141 fi
78142 done
78143 done
78144 IFS=$as_save_IFS
78145
78146 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
78147 fi
78148 fi
78149 DBLATEX=$ac_cv_prog_DBLATEX
78150 if test -n "$DBLATEX"; then
78151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
78152 $as_echo "$DBLATEX" >&6; }
78153 else
78154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78155 $as_echo "no" >&6; }
78156 fi
78157
78158
78159 # Extract the first word of "pdflatex", so it can be a program name with args.
78160 set dummy pdflatex; ac_word=$2
78161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78162 $as_echo_n "checking for $ac_word... " >&6; }
78163 if ${ac_cv_prog_PDFLATEX+:} false; then :
78164 $as_echo_n "(cached) " >&6
78165 else
78166 if test -n "$PDFLATEX"; then
78167 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
78168 else
78169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78170 for as_dir in $PATH
78171 do
78172 IFS=$as_save_IFS
78173 test -z "$as_dir" && as_dir=.
78174 for ac_exec_ext in '' $ac_executable_extensions; do
78175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
78176 ac_cv_prog_PDFLATEX="yes"
78177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78178 break 2
78179 fi
78180 done
78181 done
78182 IFS=$as_save_IFS
78183
78184 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
78185 fi
78186 fi
78187 PDFLATEX=$ac_cv_prog_PDFLATEX
78188 if test -n "$PDFLATEX"; then
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
78190 $as_echo "$PDFLATEX" >&6; }
78191 else
78192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78193 $as_echo "no" >&6; }
78194 fi
78195
78196
78197 if test $ac_cv_prog_DOXYGEN = "yes" &&
78198 test $ac_cv_prog_DOT = "yes" &&
78199 test $ac_cv_prog_XSLTPROC = "yes" &&
78200 test $ac_cv_prog_XMLLINT = "yes" &&
78201 test $ac_cv_prog_DBLATEX = "yes" &&
78202 test $ac_cv_prog_PDFLATEX = "yes"; then
78203 BUILD_PDF_TRUE=
78204 BUILD_PDF_FALSE='#'
78205 else
78206 BUILD_PDF_TRUE='#'
78207 BUILD_PDF_FALSE=
78208 fi
78209
78210
78211 case "$build" in
78212 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
78213 * ) glibcxx_include_dir_notparallel=no ;;
78214 esac
78215 if test $glibcxx_include_dir_notparallel = "yes"; then
78216 INCLUDE_DIR_NOTPARALLEL_TRUE=
78217 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
78218 else
78219 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
78220 INCLUDE_DIR_NOTPARALLEL_FALSE=
78221 fi
78222
78223
78224 # Propagate the target-specific source directories through the build chain.
78225 ATOMICITY_SRCDIR=config/${atomicity_dir}
78226 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
78227 ATOMIC_FLAGS=${atomic_flags}
78228 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
78229 OS_INC_SRCDIR=config/${os_include_dir}
78230 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
78231 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
78232 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
78233 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
78234
78235
78236
78237
78238
78239
78240
78241
78242
78243
78244 # Conditionalize the makefile for this target machine.
78245 tmake_file_=
78246 for f in ${tmake_file}
78247 do
78248 if test -f ${srcdir}/config/$f
78249 then
78250 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
78251 fi
78252 done
78253 tmake_file="${tmake_file_}"
78254
78255
78256 # Add CET specific flags if Intel CET is enabled.
78257 # Check whether --enable-cet was given.
78258 if test "${enable_cet+set}" = set; then :
78259 enableval=$enable_cet;
78260 case "$enableval" in
78261 yes|no|auto) ;;
78262 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
78263 esac
78264
78265 else
78266 enable_cet=auto
78267 fi
78268
78269
78270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
78271 $as_echo_n "checking for CET support... " >&6; }
78272
78273 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
78274 case "$host" in
78275 i[34567]86-*-linux* | x86_64-*-linux*)
78276 case "$enable_cet" in
78277 auto)
78278 # Check if target supports multi-byte NOPs
78279 # and if compiler and assembler support CET insn.
78280 cet_save_CFLAGS="$CFLAGS"
78281 CFLAGS="$CFLAGS -fcf-protection"
78282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78283 /* end confdefs.h. */
78284
78285 int
78286 main ()
78287 {
78288
78289 #if !defined(__SSE2__)
78290 #error target does not support multi-byte NOPs
78291 #else
78292 asm ("setssbsy");
78293 #endif
78294
78295 ;
78296 return 0;
78297 }
78298 _ACEOF
78299 if ac_fn_c_try_compile "$LINENO"; then :
78300 enable_cet=yes
78301 else
78302 enable_cet=no
78303 fi
78304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78305 CFLAGS="$cet_save_CFLAGS"
78306 ;;
78307 yes)
78308 # Check if assembler supports CET.
78309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78310 /* end confdefs.h. */
78311
78312 int
78313 main ()
78314 {
78315 asm ("setssbsy");
78316 ;
78317 return 0;
78318 }
78319 _ACEOF
78320 if ac_fn_c_try_compile "$LINENO"; then :
78321
78322 else
78323 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
78324 fi
78325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78326 ;;
78327 esac
78328 ;;
78329 *)
78330 enable_cet=no
78331 ;;
78332 esac
78333 if test x$enable_cet = xyes; then
78334 CET_FLAGS="-fcf-protection -mshstk"
78335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
78336 $as_echo "yes" >&6; }
78337 else
78338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78339 $as_echo "no" >&6; }
78340 fi
78341
78342 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
78343 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
78344
78345
78346
78347 # Determine cross-compile flags and AM_CONDITIONALs.
78348 #AC_SUBST(GLIBCXX_IS_NATIVE)
78349 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
78350 if test $is_hosted = yes; then
78351 GLIBCXX_HOSTED_TRUE=
78352 GLIBCXX_HOSTED_FALSE='#'
78353 else
78354 GLIBCXX_HOSTED_TRUE='#'
78355 GLIBCXX_HOSTED_FALSE=
78356 fi
78357
78358
78359 if test $enable_libstdcxx_pch = yes; then
78360 GLIBCXX_BUILD_PCH_TRUE=
78361 GLIBCXX_BUILD_PCH_FALSE='#'
78362 else
78363 GLIBCXX_BUILD_PCH_TRUE='#'
78364 GLIBCXX_BUILD_PCH_FALSE=
78365 fi
78366
78367
78368 if test $enable_float128 = yes; then
78369 ENABLE_FLOAT128_TRUE=
78370 ENABLE_FLOAT128_FALSE='#'
78371 else
78372 ENABLE_FLOAT128_TRUE='#'
78373 ENABLE_FLOAT128_FALSE=
78374 fi
78375
78376
78377 if test $enable_libstdcxx_allocator_flag = new; then
78378 ENABLE_ALLOCATOR_NEW_TRUE=
78379 ENABLE_ALLOCATOR_NEW_FALSE='#'
78380 else
78381 ENABLE_ALLOCATOR_NEW_TRUE='#'
78382 ENABLE_ALLOCATOR_NEW_FALSE=
78383 fi
78384
78385
78386 if test $enable_cheaders = c; then
78387 GLIBCXX_C_HEADERS_C_TRUE=
78388 GLIBCXX_C_HEADERS_C_FALSE='#'
78389 else
78390 GLIBCXX_C_HEADERS_C_TRUE='#'
78391 GLIBCXX_C_HEADERS_C_FALSE=
78392 fi
78393
78394
78395 if test $enable_cheaders = c_std; then
78396 GLIBCXX_C_HEADERS_C_STD_TRUE=
78397 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
78398 else
78399 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
78400 GLIBCXX_C_HEADERS_C_STD_FALSE=
78401 fi
78402
78403
78404 if test $enable_cheaders = c_global; then
78405 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
78406 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
78407 else
78408 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
78409 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
78410 fi
78411
78412
78413 if test $c_compatibility = yes; then
78414 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
78415 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
78416 else
78417 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
78418 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
78419 fi
78420
78421
78422 if test $enable_libstdcxx_debug = yes; then
78423 GLIBCXX_BUILD_DEBUG_TRUE=
78424 GLIBCXX_BUILD_DEBUG_FALSE='#'
78425 else
78426 GLIBCXX_BUILD_DEBUG_TRUE='#'
78427 GLIBCXX_BUILD_DEBUG_FALSE=
78428 fi
78429
78430
78431 if test $enable_extern_template = yes; then
78432 ENABLE_EXTERN_TEMPLATE_TRUE=
78433 ENABLE_EXTERN_TEMPLATE_FALSE='#'
78434 else
78435 ENABLE_EXTERN_TEMPLATE_TRUE='#'
78436 ENABLE_EXTERN_TEMPLATE_FALSE=
78437 fi
78438
78439
78440 if test $python_mod_dir != no; then
78441 ENABLE_PYTHONDIR_TRUE=
78442 ENABLE_PYTHONDIR_FALSE='#'
78443 else
78444 ENABLE_PYTHONDIR_TRUE='#'
78445 ENABLE_PYTHONDIR_FALSE=
78446 fi
78447
78448
78449 if test $enable_werror = yes; then
78450 ENABLE_WERROR_TRUE=
78451 ENABLE_WERROR_FALSE='#'
78452 else
78453 ENABLE_WERROR_TRUE='#'
78454 ENABLE_WERROR_FALSE=
78455 fi
78456
78457
78458 if test $enable_vtable_verify = yes; then
78459 ENABLE_VTABLE_VERIFY_TRUE=
78460 ENABLE_VTABLE_VERIFY_FALSE='#'
78461 else
78462 ENABLE_VTABLE_VERIFY_TRUE='#'
78463 ENABLE_VTABLE_VERIFY_FALSE=
78464 fi
78465
78466
78467 if test $enable_symvers != no; then
78468 ENABLE_SYMVERS_TRUE=
78469 ENABLE_SYMVERS_FALSE='#'
78470 else
78471 ENABLE_SYMVERS_TRUE='#'
78472 ENABLE_SYMVERS_FALSE=
78473 fi
78474
78475
78476 if test $enable_symvers = gnu; then
78477 ENABLE_SYMVERS_GNU_TRUE=
78478 ENABLE_SYMVERS_GNU_FALSE='#'
78479 else
78480 ENABLE_SYMVERS_GNU_TRUE='#'
78481 ENABLE_SYMVERS_GNU_FALSE=
78482 fi
78483
78484
78485 if test $enable_symvers = gnu-versioned-namespace; then
78486 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
78487 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
78488 else
78489 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
78490 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
78491 fi
78492
78493
78494 if test $enable_symvers = darwin; then
78495 ENABLE_SYMVERS_DARWIN_TRUE=
78496 ENABLE_SYMVERS_DARWIN_FALSE='#'
78497 else
78498 ENABLE_SYMVERS_DARWIN_TRUE='#'
78499 ENABLE_SYMVERS_DARWIN_FALSE=
78500 fi
78501
78502
78503 if test $enable_symvers = sun; then
78504 ENABLE_SYMVERS_SUN_TRUE=
78505 ENABLE_SYMVERS_SUN_FALSE='#'
78506 else
78507 ENABLE_SYMVERS_SUN_TRUE='#'
78508 ENABLE_SYMVERS_SUN_FALSE=
78509 fi
78510
78511
78512 if test $enable_libstdcxx_visibility = yes; then
78513 ENABLE_VISIBILITY_TRUE=
78514 ENABLE_VISIBILITY_FALSE='#'
78515 else
78516 ENABLE_VISIBILITY_TRUE='#'
78517 ENABLE_VISIBILITY_FALSE=
78518 fi
78519
78520
78521 if test $enable_libstdcxx_dual_abi = yes; then
78522 ENABLE_DUAL_ABI_TRUE=
78523 ENABLE_DUAL_ABI_FALSE='#'
78524 else
78525 ENABLE_DUAL_ABI_TRUE='#'
78526 ENABLE_DUAL_ABI_FALSE=
78527 fi
78528
78529
78530 if test $glibcxx_cxx11_abi = 1; then
78531 ENABLE_CXX11_ABI_TRUE=
78532 ENABLE_CXX11_ABI_FALSE='#'
78533 else
78534 ENABLE_CXX11_ABI_TRUE='#'
78535 ENABLE_CXX11_ABI_FALSE=
78536 fi
78537
78538
78539 if test $ac_ldbl_compat = yes; then
78540 GLIBCXX_LDBL_COMPAT_TRUE=
78541 GLIBCXX_LDBL_COMPAT_FALSE='#'
78542 else
78543 GLIBCXX_LDBL_COMPAT_TRUE='#'
78544 GLIBCXX_LDBL_COMPAT_FALSE=
78545 fi
78546
78547
78548 if test $ac_ldbl_alt128_compat = yes; then
78549 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
78550 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
78551 else
78552 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
78553 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
78554 fi
78555
78556
78557 if test $enable_libstdcxx_filesystem_ts = yes; then
78558 ENABLE_FILESYSTEM_TS_TRUE=
78559 ENABLE_FILESYSTEM_TS_FALSE='#'
78560 else
78561 ENABLE_FILESYSTEM_TS_TRUE='#'
78562 ENABLE_FILESYSTEM_TS_FALSE=
78563 fi
78564
78565
78566 if test "$enable_libstdcxx_backtrace" = yes; then
78567 ENABLE_BACKTRACE_TRUE=
78568 ENABLE_BACKTRACE_FALSE='#'
78569 else
78570 ENABLE_BACKTRACE_TRUE='#'
78571 ENABLE_BACKTRACE_FALSE=
78572 fi
78573
78574
78575
78576
78577 cat >confcache <<\_ACEOF
78578 # This file is a shell script that caches the results of configure
78579 # tests run on this system so they can be shared between configure
78580 # scripts and configure runs, see configure's option --config-cache.
78581 # It is not useful on other systems. If it contains results you don't
78582 # want to keep, you may remove or edit it.
78583 #
78584 # config.status only pays attention to the cache file if you give it
78585 # the --recheck option to rerun configure.
78586 #
78587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78589 # following values.
78590
78591 _ACEOF
78592
78593 # The following way of writing the cache mishandles newlines in values,
78594 # but we know of no workaround that is simple, portable, and efficient.
78595 # So, we kill variables containing newlines.
78596 # Ultrix sh set writes to stderr and can't be redirected directly,
78597 # and sets the high bit in the cache file unless we assign to the vars.
78598 (
78599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78600 eval ac_val=\$$ac_var
78601 case $ac_val in #(
78602 *${as_nl}*)
78603 case $ac_var in #(
78604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78606 esac
78607 case $ac_var in #(
78608 _ | IFS | as_nl) ;; #(
78609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78610 *) { eval $ac_var=; unset $ac_var;} ;;
78611 esac ;;
78612 esac
78613 done
78614
78615 (set) 2>&1 |
78616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78617 *${as_nl}ac_space=\ *)
78618 # `set' does not quote correctly, so add quotes: double-quote
78619 # substitution turns \\\\ into \\, and sed turns \\ into \.
78620 sed -n \
78621 "s/'/'\\\\''/g;
78622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78623 ;; #(
78624 *)
78625 # `set' quotes correctly as required by POSIX, so do not add quotes.
78626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78627 ;;
78628 esac |
78629 sort
78630 ) |
78631 sed '
78632 /^ac_cv_env_/b end
78633 t clear
78634 :clear
78635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78636 t end
78637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78638 :end' >>confcache
78639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78640 if test -w "$cache_file"; then
78641 if test "x$cache_file" != "x/dev/null"; then
78642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78643 $as_echo "$as_me: updating cache $cache_file" >&6;}
78644 if test ! -f "$cache_file" || test -h "$cache_file"; then
78645 cat confcache >"$cache_file"
78646 else
78647 case $cache_file in #(
78648 */* | ?:*)
78649 mv -f confcache "$cache_file"$$ &&
78650 mv -f "$cache_file"$$ "$cache_file" ;; #(
78651 *)
78652 mv -f confcache "$cache_file" ;;
78653 esac
78654 fi
78655 fi
78656 else
78657 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78658 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78659 fi
78660 fi
78661 rm -f confcache
78662
78663 if test ${multilib} = yes; then
78664 multilib_arg="--enable-multilib"
78665 else
78666 multilib_arg=
78667 fi
78668
78669 # Export all the install information.
78670
78671 glibcxx_toolexecdir=no
78672 glibcxx_toolexeclibdir=no
78673 glibcxx_prefixdir=$prefix
78674
78675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78676 $as_echo_n "checking for gxx-include-dir... " >&6; }
78677
78678 # Check whether --with-gxx-include-dir was given.
78679 if test "${with_gxx_include_dir+set}" = set; then :
78680 withval=$with_gxx_include_dir; case "$withval" in
78681 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78682 no) gxx_include_dir=no ;;
78683 *) gxx_include_dir=$withval ;;
78684 esac
78685 else
78686 gxx_include_dir=no
78687 fi
78688
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78690 $as_echo "$gxx_include_dir" >&6; }
78691
78692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78693 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78694 # Check whether --enable-version-specific-runtime-libs was given.
78695 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78696 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78697 yes) version_specific_libs=yes ;;
78698 no) version_specific_libs=no ;;
78699 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78700 esac
78701 else
78702 version_specific_libs=no
78703 fi
78704
78705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78706 $as_echo "$version_specific_libs" >&6; }
78707
78708
78709 # Check whether --with-toolexeclibdir was given.
78710 if test "${with_toolexeclibdir+set}" = set; then :
78711 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78712 /)
78713 ;;
78714 */)
78715 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78716 ;;
78717 esac
78718 else
78719 with_toolexeclibdir=no
78720 fi
78721
78722
78723
78724 # Default case for install directory for include files.
78725 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78726 gxx_include_dir='include/c++/${gcc_version}'
78727 if test -n "$with_cross_host" &&
78728 test x"$with_cross_host" != x"no"; then
78729 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78730 else
78731 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78732 fi
78733 fi
78734
78735 # Version-specific runtime libs processing.
78736 if test $version_specific_libs = yes; then
78737 # Need the gcc compiler version to know where to install libraries
78738 # and header files if --enable-version-specific-runtime-libs option
78739 # is selected. FIXME: these variables are misnamed, there are
78740 # no executables installed in _toolexecdir or _toolexeclibdir.
78741 if test x"$gxx_include_dir" = x"no"; then
78742 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78743 fi
78744 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78745 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78746 fi
78747
78748 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78749 # Install a library built with a cross compiler in tooldir, not libdir.
78750 if test x"$glibcxx_toolexecdir" = x"no"; then
78751 if test -n "$with_cross_host" &&
78752 test x"$with_cross_host" != x"no"; then
78753 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78754 case ${with_toolexeclibdir} in
78755 no)
78756 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78757 ;;
78758 *)
78759 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78760 ;;
78761 esac
78762 else
78763 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78764 glibcxx_toolexeclibdir='${libdir}'
78765 fi
78766 multi_os_directory=`$CXX -print-multi-os-directory`
78767 case $multi_os_directory in
78768 .) ;; # Avoid trailing /.
78769 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78770 esac
78771 fi
78772
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78774 $as_echo_n "checking for install location... " >&6; }
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78776 $as_echo "$gxx_include_dir" >&6; }
78777
78778
78779
78780
78781
78782
78783
78784 # Export all the include and flag information to Makefiles.
78785
78786 # Used for every C++ compile we perform.
78787 GLIBCXX_INCLUDES="\
78788 -I$glibcxx_builddir/include/$host_alias \
78789 -I$glibcxx_builddir/include \
78790 -I$glibcxx_srcdir/libsupc++"
78791
78792 # For Canadian crosses, pick this up too.
78793 if test $CANADIAN = yes; then
78794 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78795 fi
78796
78797 # Stuff in the actual top level. Currently only used by libsupc++ to
78798 # get unwind* headers from the libgcc dir.
78799 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78800 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78801
78802 # Now, export this to all the little Makefiles....
78803
78804
78805
78806
78807 # Optimization flags that are probably a good idea for thrill-seekers. Just
78808 # uncomment the lines below and make, everything else is ready to go...
78809 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78810 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78811
78812
78813 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78814
78815
78816
78817 # Determine what GCC version number to use in filesystem paths.
78818
78819 get_gcc_base_ver="cat"
78820
78821 # Check whether --with-gcc-major-version-only was given.
78822 if test "${with_gcc_major_version_only+set}" = set; then :
78823 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78824 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78825 fi
78826
78827 fi
78828
78829
78830
78831
78832 ac_config_files="$ac_config_files Makefile"
78833
78834 ac_config_files="$ac_config_files scripts/testsuite_flags"
78835
78836 ac_config_files="$ac_config_files scripts/extract_symvers"
78837
78838 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78839
78840 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
78841
78842
78843 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78844 # that multilib installs will end up installed in the correct place.
78845 # The testsuite needs it for multilib-aware ABI baseline files.
78846 # To work around this not being passed down from config-ml.in ->
78847 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78848 # append it here. Only modify Makefiles that have just been created.
78849 #
78850 # Also, get rid of this simulated-VPATH thing that automake does.
78851 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 doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78852
78853
78854 ac_config_commands="$ac_config_commands generate-headers"
78855
78856
78857 cat >confcache <<\_ACEOF
78858 # This file is a shell script that caches the results of configure
78859 # tests run on this system so they can be shared between configure
78860 # scripts and configure runs, see configure's option --config-cache.
78861 # It is not useful on other systems. If it contains results you don't
78862 # want to keep, you may remove or edit it.
78863 #
78864 # config.status only pays attention to the cache file if you give it
78865 # the --recheck option to rerun configure.
78866 #
78867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78869 # following values.
78870
78871 _ACEOF
78872
78873 # The following way of writing the cache mishandles newlines in values,
78874 # but we know of no workaround that is simple, portable, and efficient.
78875 # So, we kill variables containing newlines.
78876 # Ultrix sh set writes to stderr and can't be redirected directly,
78877 # and sets the high bit in the cache file unless we assign to the vars.
78878 (
78879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78880 eval ac_val=\$$ac_var
78881 case $ac_val in #(
78882 *${as_nl}*)
78883 case $ac_var in #(
78884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78886 esac
78887 case $ac_var in #(
78888 _ | IFS | as_nl) ;; #(
78889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78890 *) { eval $ac_var=; unset $ac_var;} ;;
78891 esac ;;
78892 esac
78893 done
78894
78895 (set) 2>&1 |
78896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78897 *${as_nl}ac_space=\ *)
78898 # `set' does not quote correctly, so add quotes: double-quote
78899 # substitution turns \\\\ into \\, and sed turns \\ into \.
78900 sed -n \
78901 "s/'/'\\\\''/g;
78902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78903 ;; #(
78904 *)
78905 # `set' quotes correctly as required by POSIX, so do not add quotes.
78906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78907 ;;
78908 esac |
78909 sort
78910 ) |
78911 sed '
78912 /^ac_cv_env_/b end
78913 t clear
78914 :clear
78915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78916 t end
78917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78918 :end' >>confcache
78919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78920 if test -w "$cache_file"; then
78921 if test "x$cache_file" != "x/dev/null"; then
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78923 $as_echo "$as_me: updating cache $cache_file" >&6;}
78924 if test ! -f "$cache_file" || test -h "$cache_file"; then
78925 cat confcache >"$cache_file"
78926 else
78927 case $cache_file in #(
78928 */* | ?:*)
78929 mv -f confcache "$cache_file"$$ &&
78930 mv -f "$cache_file"$$ "$cache_file" ;; #(
78931 *)
78932 mv -f confcache "$cache_file" ;;
78933 esac
78934 fi
78935 fi
78936 else
78937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78939 fi
78940 fi
78941 rm -f confcache
78942
78943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78944 # Let make expand exec_prefix.
78945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78946
78947 DEFS=-DHAVE_CONFIG_H
78948
78949 ac_libobjs=
78950 ac_ltlibobjs=
78951 U=
78952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78953 # 1. Remove the extension, and $U if already installed.
78954 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78955 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78957 # will be set to the directory where LIBOBJS objects are built.
78958 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78959 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78960 done
78961 LIBOBJS=$ac_libobjs
78962
78963 LTLIBOBJS=$ac_ltlibobjs
78964
78965
78966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78967 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78968 if test -n "$am_sleep_pid"; then
78969 # Hide warnings about reused PIDs.
78970 wait $am_sleep_pid 2>/dev/null
78971 fi
78972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78973 $as_echo "done" >&6; }
78974 if test -n "$EXEEXT"; then
78975 am__EXEEXT_TRUE=
78976 am__EXEEXT_FALSE='#'
78977 else
78978 am__EXEEXT_TRUE='#'
78979 am__EXEEXT_FALSE=
78980 fi
78981
78982 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78983 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78985 fi
78986 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78987 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78989 fi
78990 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78991 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78993 fi
78994 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78995 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78997 fi
78998 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78999 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
79000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79001 fi
79002 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79003 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79005 fi
79006 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79007 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79009 fi
79010 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79011 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79013 fi
79014 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79015 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79017 fi
79018 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79019 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79021 fi
79022 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79023 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79025 fi
79026 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79027 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
79028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79029 fi
79030 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79031 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
79032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79033 fi
79034 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79035 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
79036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79037 fi
79038 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79039 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79041 fi
79042 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79043 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
79044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79045 fi
79046 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79047 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79049 fi
79050 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79051 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79053 fi
79054 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79055 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79057 fi
79058 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79059 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79061 fi
79062 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79063 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
79064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79065 fi
79066 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79067 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
79068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79069 fi
79070 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79071 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
79072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79073 fi
79074 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79075 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79077 fi
79078 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
79079 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
79080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79081 fi
79082 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
79083 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
79084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79085 fi
79086 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
79087 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
79088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79089 fi
79090 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79091 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
79092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79093 fi
79094 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79095 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
79096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79097 fi
79098 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79099 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
79100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79101 fi
79102 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79103 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
79104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79105 fi
79106 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79107 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
79108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79109 fi
79110 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79111 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
79112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79113 fi
79114 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
79115 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
79116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79117 fi
79118
79119 : "${CONFIG_STATUS=./config.status}"
79120 ac_write_fail=0
79121 ac_clean_files_save=$ac_clean_files
79122 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79125 as_write_fail=0
79126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79127 #! $SHELL
79128 # Generated by $as_me.
79129 # Run this file to recreate the current configuration.
79130 # Compiler output produced by configure, useful for debugging
79131 # configure, is in config.log if it exists.
79132
79133 debug=false
79134 ac_cs_recheck=false
79135 ac_cs_silent=false
79136
79137 SHELL=\${CONFIG_SHELL-$SHELL}
79138 export SHELL
79139 _ASEOF
79140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79141 ## -------------------- ##
79142 ## M4sh Initialization. ##
79143 ## -------------------- ##
79144
79145 # Be more Bourne compatible
79146 DUALCASE=1; export DUALCASE # for MKS sh
79147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79148 emulate sh
79149 NULLCMD=:
79150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79151 # is contrary to our usage. Disable this feature.
79152 alias -g '${1+"$@"}'='"$@"'
79153 setopt NO_GLOB_SUBST
79154 else
79155 case `(set -o) 2>/dev/null` in #(
79156 *posix*) :
79157 set -o posix ;; #(
79158 *) :
79159 ;;
79160 esac
79161 fi
79162
79163
79164 as_nl='
79165 '
79166 export as_nl
79167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79168 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79171 # Prefer a ksh shell builtin over an external printf program on Solaris,
79172 # but without wasting forks for bash or zsh.
79173 if test -z "$BASH_VERSION$ZSH_VERSION" \
79174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79175 as_echo='print -r --'
79176 as_echo_n='print -rn --'
79177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79178 as_echo='printf %s\n'
79179 as_echo_n='printf %s'
79180 else
79181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79182 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79183 as_echo_n='/usr/ucb/echo -n'
79184 else
79185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79186 as_echo_n_body='eval
79187 arg=$1;
79188 case $arg in #(
79189 *"$as_nl"*)
79190 expr "X$arg" : "X\\(.*\\)$as_nl";
79191 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79192 esac;
79193 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79194 '
79195 export as_echo_n_body
79196 as_echo_n='sh -c $as_echo_n_body as_echo'
79197 fi
79198 export as_echo_body
79199 as_echo='sh -c $as_echo_body as_echo'
79200 fi
79201
79202 # The user is always right.
79203 if test "${PATH_SEPARATOR+set}" != set; then
79204 PATH_SEPARATOR=:
79205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79207 PATH_SEPARATOR=';'
79208 }
79209 fi
79210
79211
79212 # IFS
79213 # We need space, tab and new line, in precisely that order. Quoting is
79214 # there to prevent editors from complaining about space-tab.
79215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79216 # splitting by setting IFS to empty value.)
79217 IFS=" "" $as_nl"
79218
79219 # Find who we are. Look in the path if we contain no directory separator.
79220 as_myself=
79221 case $0 in #((
79222 *[\\/]* ) as_myself=$0 ;;
79223 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79224 for as_dir in $PATH
79225 do
79226 IFS=$as_save_IFS
79227 test -z "$as_dir" && as_dir=.
79228 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79229 done
79230 IFS=$as_save_IFS
79231
79232 ;;
79233 esac
79234 # We did not find ourselves, most probably we were run as `sh COMMAND'
79235 # in which case we are not to be found in the path.
79236 if test "x$as_myself" = x; then
79237 as_myself=$0
79238 fi
79239 if test ! -f "$as_myself"; then
79240 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79241 exit 1
79242 fi
79243
79244 # Unset variables that we do not need and which cause bugs (e.g. in
79245 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79246 # suppresses any "Segmentation fault" message there. '((' could
79247 # trigger a bug in pdksh 5.2.14.
79248 for as_var in BASH_ENV ENV MAIL MAILPATH
79249 do eval test x\${$as_var+set} = xset \
79250 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79251 done
79252 PS1='$ '
79253 PS2='> '
79254 PS4='+ '
79255
79256 # NLS nuisances.
79257 LC_ALL=C
79258 export LC_ALL
79259 LANGUAGE=C
79260 export LANGUAGE
79261
79262 # CDPATH.
79263 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79264
79265
79266 # as_fn_error STATUS ERROR [LINENO LOG_FD]
79267 # ----------------------------------------
79268 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79269 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79270 # script with STATUS, using 1 if that was 0.
79271 as_fn_error ()
79272 {
79273 as_status=$1; test $as_status -eq 0 && as_status=1
79274 if test "$4"; then
79275 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79276 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
79277 fi
79278 $as_echo "$as_me: error: $2" >&2
79279 as_fn_exit $as_status
79280 } # as_fn_error
79281
79282
79283 # as_fn_set_status STATUS
79284 # -----------------------
79285 # Set $? to STATUS, without forking.
79286 as_fn_set_status ()
79287 {
79288 return $1
79289 } # as_fn_set_status
79290
79291 # as_fn_exit STATUS
79292 # -----------------
79293 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79294 as_fn_exit ()
79295 {
79296 set +e
79297 as_fn_set_status $1
79298 exit $1
79299 } # as_fn_exit
79300
79301 # as_fn_unset VAR
79302 # ---------------
79303 # Portably unset VAR.
79304 as_fn_unset ()
79305 {
79306 { eval $1=; unset $1;}
79307 }
79308 as_unset=as_fn_unset
79309 # as_fn_append VAR VALUE
79310 # ----------------------
79311 # Append the text in VALUE to the end of the definition contained in VAR. Take
79312 # advantage of any shell optimizations that allow amortized linear growth over
79313 # repeated appends, instead of the typical quadratic growth present in naive
79314 # implementations.
79315 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79316 eval 'as_fn_append ()
79317 {
79318 eval $1+=\$2
79319 }'
79320 else
79321 as_fn_append ()
79322 {
79323 eval $1=\$$1\$2
79324 }
79325 fi # as_fn_append
79326
79327 # as_fn_arith ARG...
79328 # ------------------
79329 # Perform arithmetic evaluation on the ARGs, and store the result in the
79330 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79331 # must be portable across $(()) and expr.
79332 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79333 eval 'as_fn_arith ()
79334 {
79335 as_val=$(( $* ))
79336 }'
79337 else
79338 as_fn_arith ()
79339 {
79340 as_val=`expr "$@" || test $? -eq 1`
79341 }
79342 fi # as_fn_arith
79343
79344
79345 if expr a : '\(a\)' >/dev/null 2>&1 &&
79346 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79347 as_expr=expr
79348 else
79349 as_expr=false
79350 fi
79351
79352 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79353 as_basename=basename
79354 else
79355 as_basename=false
79356 fi
79357
79358 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79359 as_dirname=dirname
79360 else
79361 as_dirname=false
79362 fi
79363
79364 as_me=`$as_basename -- "$0" ||
79365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
79366 X"$0" : 'X\(//\)$' \| \
79367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
79368 $as_echo X/"$0" |
79369 sed '/^.*\/\([^/][^/]*\)\/*$/{
79370 s//\1/
79371 q
79372 }
79373 /^X\/\(\/\/\)$/{
79374 s//\1/
79375 q
79376 }
79377 /^X\/\(\/\).*/{
79378 s//\1/
79379 q
79380 }
79381 s/.*/./; q'`
79382
79383 # Avoid depending upon Character Ranges.
79384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
79387 as_cr_digits='0123456789'
79388 as_cr_alnum=$as_cr_Letters$as_cr_digits
79389
79390 ECHO_C= ECHO_N= ECHO_T=
79391 case `echo -n x` in #(((((
79392 -n*)
79393 case `echo 'xy\c'` in
79394 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
79395 xy) ECHO_C='\c';;
79396 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
79397 ECHO_T=' ';;
79398 esac;;
79399 *)
79400 ECHO_N='-n';;
79401 esac
79402
79403 rm -f conf$$ conf$$.exe conf$$.file
79404 if test -d conf$$.dir; then
79405 rm -f conf$$.dir/conf$$.file
79406 else
79407 rm -f conf$$.dir
79408 mkdir conf$$.dir 2>/dev/null
79409 fi
79410 if (echo >conf$$.file) 2>/dev/null; then
79411 if ln -s conf$$.file conf$$ 2>/dev/null; then
79412 as_ln_s='ln -s'
79413 # ... but there are two gotchas:
79414 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
79415 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
79416 # In both cases, we have to default to `cp -pR'.
79417 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
79418 as_ln_s='cp -pR'
79419 elif ln conf$$.file conf$$ 2>/dev/null; then
79420 as_ln_s=ln
79421 else
79422 as_ln_s='cp -pR'
79423 fi
79424 else
79425 as_ln_s='cp -pR'
79426 fi
79427 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
79428 rmdir conf$$.dir 2>/dev/null
79429
79430
79431 # as_fn_mkdir_p
79432 # -------------
79433 # Create "$as_dir" as a directory, including parents if necessary.
79434 as_fn_mkdir_p ()
79435 {
79436
79437 case $as_dir in #(
79438 -*) as_dir=./$as_dir;;
79439 esac
79440 test -d "$as_dir" || eval $as_mkdir_p || {
79441 as_dirs=
79442 while :; do
79443 case $as_dir in #(
79444 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
79445 *) as_qdir=$as_dir;;
79446 esac
79447 as_dirs="'$as_qdir' $as_dirs"
79448 as_dir=`$as_dirname -- "$as_dir" ||
79449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79450 X"$as_dir" : 'X\(//\)[^/]' \| \
79451 X"$as_dir" : 'X\(//\)$' \| \
79452 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
79453 $as_echo X"$as_dir" |
79454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79455 s//\1/
79456 q
79457 }
79458 /^X\(\/\/\)[^/].*/{
79459 s//\1/
79460 q
79461 }
79462 /^X\(\/\/\)$/{
79463 s//\1/
79464 q
79465 }
79466 /^X\(\/\).*/{
79467 s//\1/
79468 q
79469 }
79470 s/.*/./; q'`
79471 test -d "$as_dir" && break
79472 done
79473 test -z "$as_dirs" || eval "mkdir $as_dirs"
79474 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
79475
79476
79477 } # as_fn_mkdir_p
79478 if mkdir -p . 2>/dev/null; then
79479 as_mkdir_p='mkdir -p "$as_dir"'
79480 else
79481 test -d ./-p && rmdir ./-p
79482 as_mkdir_p=false
79483 fi
79484
79485
79486 # as_fn_executable_p FILE
79487 # -----------------------
79488 # Test if FILE is an executable regular file.
79489 as_fn_executable_p ()
79490 {
79491 test -f "$1" && test -x "$1"
79492 } # as_fn_executable_p
79493 as_test_x='test -x'
79494 as_executable_p=as_fn_executable_p
79495
79496 # Sed expression to map a string onto a valid CPP name.
79497 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
79498
79499 # Sed expression to map a string onto a valid variable name.
79500 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
79501
79502
79503 exec 6>&1
79504 ## ----------------------------------- ##
79505 ## Main body of $CONFIG_STATUS script. ##
79506 ## ----------------------------------- ##
79507 _ASEOF
79508 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
79509
79510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79511 # Save the log message, to keep $0 and so on meaningful, and to
79512 # report actual input values of CONFIG_FILES etc. instead of their
79513 # values after options handling.
79514 ac_log="
79515 This file was extended by package-unused $as_me version-unused, which was
79516 generated by GNU Autoconf 2.69. Invocation command line was
79517
79518 CONFIG_FILES = $CONFIG_FILES
79519 CONFIG_HEADERS = $CONFIG_HEADERS
79520 CONFIG_LINKS = $CONFIG_LINKS
79521 CONFIG_COMMANDS = $CONFIG_COMMANDS
79522 $ $0 $@
79523
79524 on `(hostname || uname -n) 2>/dev/null | sed 1q`
79525 "
79526
79527 _ACEOF
79528
79529 case $ac_config_files in *"
79530 "*) set x $ac_config_files; shift; ac_config_files=$*;;
79531 esac
79532
79533 case $ac_config_headers in *"
79534 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
79535 esac
79536
79537
79538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79539 # Files that config.status was made for.
79540 config_files="$ac_config_files"
79541 config_headers="$ac_config_headers"
79542 config_commands="$ac_config_commands"
79543
79544 _ACEOF
79545
79546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79547 ac_cs_usage="\
79548 \`$as_me' instantiates files and other configuration actions
79549 from templates according to the current configuration. Unless the files
79550 and actions are specified as TAGs, all are instantiated by default.
79551
79552 Usage: $0 [OPTION]... [TAG]...
79553
79554 -h, --help print this help, then exit
79555 -V, --version print version number and configuration settings, then exit
79556 --config print configuration, then exit
79557 -q, --quiet, --silent
79558 do not print progress messages
79559 -d, --debug don't remove temporary files
79560 --recheck update $as_me by reconfiguring in the same conditions
79561 --file=FILE[:TEMPLATE]
79562 instantiate the configuration file FILE
79563 --header=FILE[:TEMPLATE]
79564 instantiate the configuration header FILE
79565
79566 Configuration files:
79567 $config_files
79568
79569 Configuration headers:
79570 $config_headers
79571
79572 Configuration commands:
79573 $config_commands
79574
79575 Report bugs to the package provider."
79576
79577 _ACEOF
79578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79579 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
79580 ac_cs_version="\\
79581 package-unused config.status version-unused
79582 configured by $0, generated by GNU Autoconf 2.69,
79583 with options \\"\$ac_cs_config\\"
79584
79585 Copyright (C) 2012 Free Software Foundation, Inc.
79586 This config.status script is free software; the Free Software Foundation
79587 gives unlimited permission to copy, distribute and modify it."
79588
79589 ac_pwd='$ac_pwd'
79590 srcdir='$srcdir'
79591 INSTALL='$INSTALL'
79592 MKDIR_P='$MKDIR_P'
79593 AWK='$AWK'
79594 test -n "\$AWK" || AWK=awk
79595 _ACEOF
79596
79597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79598 # The default lists apply if the user does not specify any file.
79599 ac_need_defaults=:
79600 while test $# != 0
79601 do
79602 case $1 in
79603 --*=?*)
79604 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79605 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
79606 ac_shift=:
79607 ;;
79608 --*=)
79609 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79610 ac_optarg=
79611 ac_shift=:
79612 ;;
79613 *)
79614 ac_option=$1
79615 ac_optarg=$2
79616 ac_shift=shift
79617 ;;
79618 esac
79619
79620 case $ac_option in
79621 # Handling of the options.
79622 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79623 ac_cs_recheck=: ;;
79624 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79625 $as_echo "$ac_cs_version"; exit ;;
79626 --config | --confi | --conf | --con | --co | --c )
79627 $as_echo "$ac_cs_config"; exit ;;
79628 --debug | --debu | --deb | --de | --d | -d )
79629 debug=: ;;
79630 --file | --fil | --fi | --f )
79631 $ac_shift
79632 case $ac_optarg in
79633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79634 '') as_fn_error $? "missing file argument" ;;
79635 esac
79636 as_fn_append CONFIG_FILES " '$ac_optarg'"
79637 ac_need_defaults=false;;
79638 --header | --heade | --head | --hea )
79639 $ac_shift
79640 case $ac_optarg in
79641 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79642 esac
79643 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79644 ac_need_defaults=false;;
79645 --he | --h)
79646 # Conflict between --help and --header
79647 as_fn_error $? "ambiguous option: \`$1'
79648 Try \`$0 --help' for more information.";;
79649 --help | --hel | -h )
79650 $as_echo "$ac_cs_usage"; exit ;;
79651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79652 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79653 ac_cs_silent=: ;;
79654
79655 # This is an error.
79656 -*) as_fn_error $? "unrecognized option: \`$1'
79657 Try \`$0 --help' for more information." ;;
79658
79659 *) as_fn_append ac_config_targets " $1"
79660 ac_need_defaults=false ;;
79661
79662 esac
79663 shift
79664 done
79665
79666 ac_configure_extra_args=
79667
79668 if $ac_cs_silent; then
79669 exec 6>/dev/null
79670 ac_configure_extra_args="$ac_configure_extra_args --silent"
79671 fi
79672
79673 _ACEOF
79674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79675 if \$ac_cs_recheck; then
79676 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79677 shift
79678 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79679 CONFIG_SHELL='$SHELL'
79680 export CONFIG_SHELL
79681 exec "\$@"
79682 fi
79683
79684 _ACEOF
79685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79686 exec 5>>config.log
79687 {
79688 echo
79689 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79690 ## Running $as_me. ##
79691 _ASBOX
79692 $as_echo "$ac_log"
79693 } >&5
79694
79695 _ACEOF
79696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79697 #
79698 # INIT-COMMANDS
79699 #
79700
79701 srcdir="$srcdir"
79702 host="$host"
79703 target="$target"
79704 with_multisubdir="$with_multisubdir"
79705 with_multisrctop="$with_multisrctop"
79706 with_target_subdir="$with_target_subdir"
79707 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79708 multi_basedir="$multi_basedir"
79709 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79710 CC="$CC"
79711 CXX="$CXX"
79712 GFORTRAN="$GFORTRAN"
79713 GDC="$GDC"
79714
79715
79716 # The HP-UX ksh and POSIX shell print the target directory to stdout
79717 # if CDPATH is set.
79718 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79719
79720 sed_quote_subst='$sed_quote_subst'
79721 double_quote_subst='$double_quote_subst'
79722 delay_variable_subst='$delay_variable_subst'
79723 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79724 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79725 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79726 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79727 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79728 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79729 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79730 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79731 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79732 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79733 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79734 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79735 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79736 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79737 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79738 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79739 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79740 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79741 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79742 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79743 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79744 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79745 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79746 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79747 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79748 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79749 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79750 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79751 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79752 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79753 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79754 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79755 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79756 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79757 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79758 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79759 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79760 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79761 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79762 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79763 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79764 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79765 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79766 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79767 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79768 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79769 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79770 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79771 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"`'
79772 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79773 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79774 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79775 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79777 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79778 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79779 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79780 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79781 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79782 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79783 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79784 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79785 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79786 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79787 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79788 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79789 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79790 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79791 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79792 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79793 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79794 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79795 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79796 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79797 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79798 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79799 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79800 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79801 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79802 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79803 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79804 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79805 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79806 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79807 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79808 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79809 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79810 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79811 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79812 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79818 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79819 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79820 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79821 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79822 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79823 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79824 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79825 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79826 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79827 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79828 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79829 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79830 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79831 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79832 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79833 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79834 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79835 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79836 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79837 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79838 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79839 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79840 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79841 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79842 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79843 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79844 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79845 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79846 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79847 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79848 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79849 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79850 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79851 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79852 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79853 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79854 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79855 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79856 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79857 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79858 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79859 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79860 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79861 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79862 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79863 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79864 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79865 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79866 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79867 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79868 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79869 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79870 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79871 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79872 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79873 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79874 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79875 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79876 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79877 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79878 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79879 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79880 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79881 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79882 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79883 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79884 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79885 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79886 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79887 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79888 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79889 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79890 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79891 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79892 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79893 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79894 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79895 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79896 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79897 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79898
79899 LTCC='$LTCC'
79900 LTCFLAGS='$LTCFLAGS'
79901 compiler='$compiler_DEFAULT'
79902
79903 # A function that is used when there is no print builtin or printf.
79904 func_fallback_echo ()
79905 {
79906 eval 'cat <<_LTECHO_EOF
79907 \$1
79908 _LTECHO_EOF'
79909 }
79910
79911 # Quote evaled strings.
79912 for var in SHELL \
79913 ECHO \
79914 SED \
79915 GREP \
79916 EGREP \
79917 FGREP \
79918 LD \
79919 NM \
79920 LN_S \
79921 lt_SP2NL \
79922 lt_NL2SP \
79923 reload_flag \
79924 OBJDUMP \
79925 deplibs_check_method \
79926 file_magic_cmd \
79927 AR \
79928 AR_FLAGS \
79929 STRIP \
79930 RANLIB \
79931 CC \
79932 CFLAGS \
79933 compiler \
79934 lt_cv_sys_global_symbol_pipe \
79935 lt_cv_sys_global_symbol_to_cdecl \
79936 lt_cv_sys_global_symbol_to_c_name_address \
79937 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79938 lt_prog_compiler_no_builtin_flag \
79939 lt_prog_compiler_wl \
79940 lt_prog_compiler_pic \
79941 lt_prog_compiler_static \
79942 lt_cv_prog_compiler_c_o \
79943 need_locks \
79944 DSYMUTIL \
79945 NMEDIT \
79946 LIPO \
79947 OTOOL \
79948 OTOOL64 \
79949 shrext_cmds \
79950 export_dynamic_flag_spec \
79951 whole_archive_flag_spec \
79952 compiler_needs_object \
79953 with_gnu_ld \
79954 allow_undefined_flag \
79955 no_undefined_flag \
79956 hardcode_libdir_flag_spec \
79957 hardcode_libdir_flag_spec_ld \
79958 hardcode_libdir_separator \
79959 fix_srcfile_path \
79960 exclude_expsyms \
79961 include_expsyms \
79962 file_list_spec \
79963 variables_saved_for_relink \
79964 libname_spec \
79965 library_names_spec \
79966 soname_spec \
79967 install_override_mode \
79968 finish_eval \
79969 old_striplib \
79970 striplib \
79971 compiler_lib_search_dirs \
79972 predep_objects \
79973 postdep_objects \
79974 predeps \
79975 postdeps \
79976 compiler_lib_search_path \
79977 LD_CXX \
79978 reload_flag_CXX \
79979 compiler_CXX \
79980 lt_prog_compiler_no_builtin_flag_CXX \
79981 lt_prog_compiler_wl_CXX \
79982 lt_prog_compiler_pic_CXX \
79983 lt_prog_compiler_static_CXX \
79984 lt_cv_prog_compiler_c_o_CXX \
79985 export_dynamic_flag_spec_CXX \
79986 whole_archive_flag_spec_CXX \
79987 compiler_needs_object_CXX \
79988 with_gnu_ld_CXX \
79989 allow_undefined_flag_CXX \
79990 no_undefined_flag_CXX \
79991 hardcode_libdir_flag_spec_CXX \
79992 hardcode_libdir_flag_spec_ld_CXX \
79993 hardcode_libdir_separator_CXX \
79994 fix_srcfile_path_CXX \
79995 exclude_expsyms_CXX \
79996 include_expsyms_CXX \
79997 file_list_spec_CXX \
79998 compiler_lib_search_dirs_CXX \
79999 predep_objects_CXX \
80000 postdep_objects_CXX \
80001 predeps_CXX \
80002 postdeps_CXX \
80003 compiler_lib_search_path_CXX; do
80004 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80005 *[\\\\\\\`\\"\\\$]*)
80006 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80007 ;;
80008 *)
80009 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80010 ;;
80011 esac
80012 done
80013
80014 # Double-quote double-evaled strings.
80015 for var in reload_cmds \
80016 old_postinstall_cmds \
80017 old_postuninstall_cmds \
80018 old_archive_cmds \
80019 extract_expsyms_cmds \
80020 old_archive_from_new_cmds \
80021 old_archive_from_expsyms_cmds \
80022 archive_cmds \
80023 archive_expsym_cmds \
80024 module_cmds \
80025 module_expsym_cmds \
80026 export_symbols_cmds \
80027 prelink_cmds \
80028 postinstall_cmds \
80029 postuninstall_cmds \
80030 finish_cmds \
80031 sys_lib_search_path_spec \
80032 sys_lib_dlsearch_path_spec \
80033 reload_cmds_CXX \
80034 old_archive_cmds_CXX \
80035 old_archive_from_new_cmds_CXX \
80036 old_archive_from_expsyms_cmds_CXX \
80037 archive_cmds_CXX \
80038 archive_expsym_cmds_CXX \
80039 module_cmds_CXX \
80040 module_expsym_cmds_CXX \
80041 export_symbols_cmds_CXX \
80042 prelink_cmds_CXX; do
80043 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80044 *[\\\\\\\`\\"\\\$]*)
80045 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80046 ;;
80047 *)
80048 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80049 ;;
80050 esac
80051 done
80052
80053 ac_aux_dir='$ac_aux_dir'
80054 xsi_shell='$xsi_shell'
80055 lt_shell_append='$lt_shell_append'
80056
80057 # See if we are running on zsh, and set the options which allow our
80058 # commands through without removal of \ escapes INIT.
80059 if test -n "\${ZSH_VERSION+set}" ; then
80060 setopt NO_GLOB_SUBST
80061 fi
80062
80063
80064 PACKAGE='$PACKAGE'
80065 VERSION='$VERSION'
80066 TIMESTAMP='$TIMESTAMP'
80067 RM='$RM'
80068 ofile='$ofile'
80069
80070
80071
80072
80073
80074
80075 GCC="$GCC"
80076 CC="$CC"
80077 acx_cv_header_stdint="$acx_cv_header_stdint"
80078 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80079 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80080 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80081 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80082 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80083 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80084 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80085 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80086 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80087 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80088 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80089 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80090 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80091
80092
80093 _ACEOF
80094
80095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80096
80097 # Handling of arguments.
80098 for ac_config_target in $ac_config_targets
80099 do
80100 case $ac_config_target in
80101 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80102 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80103 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80104 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80105 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80106 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80107 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80108 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80109 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
80110 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80111 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80112 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80113 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80114 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80115 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
80116 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
80117 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
80118 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
80119 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80120 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80121 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80122 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80123 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80124
80125 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80126 esac
80127 done
80128
80129
80130 # If the user did not use the arguments to specify the items to instantiate,
80131 # then the envvar interface is used. Set only those that are not.
80132 # We use the long form for the default assignment because of an extremely
80133 # bizarre bug on SunOS 4.1.3.
80134 if $ac_need_defaults; then
80135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80136 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80137 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80138 fi
80139
80140 # Have a temporary directory for convenience. Make it in the build tree
80141 # simply because there is no reason against having it here, and in addition,
80142 # creating and moving files from /tmp can sometimes cause problems.
80143 # Hook for its removal unless debugging.
80144 # Note that there is a small window in which the directory will not be cleaned:
80145 # after its creation but before its name has been assigned to `$tmp'.
80146 $debug ||
80147 {
80148 tmp= ac_tmp=
80149 trap 'exit_status=$?
80150 : "${ac_tmp:=$tmp}"
80151 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
80152 ' 0
80153 trap 'as_fn_exit 1' 1 2 13 15
80154 }
80155 # Create a (secure) tmp directory for tmp files.
80156
80157 {
80158 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80159 test -d "$tmp"
80160 } ||
80161 {
80162 tmp=./conf$$-$RANDOM
80163 (umask 077 && mkdir "$tmp")
80164 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
80165 ac_tmp=$tmp
80166
80167 # Set up the scripts for CONFIG_FILES section.
80168 # No need to generate them if there are no CONFIG_FILES.
80169 # This happens for instance with `./config.status config.h'.
80170 if test -n "$CONFIG_FILES"; then
80171
80172
80173 ac_cr=`echo X | tr X '\015'`
80174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80175 # But we know of no other shell where ac_cr would be empty at this
80176 # point, so we can use a bashism as a fallback.
80177 if test "x$ac_cr" = x; then
80178 eval ac_cr=\$\'\\r\'
80179 fi
80180 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80182 ac_cs_awk_cr='\\r'
80183 else
80184 ac_cs_awk_cr=$ac_cr
80185 fi
80186
80187 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
80188 _ACEOF
80189
80190
80191 {
80192 echo "cat >conf$$subs.awk <<_ACEOF" &&
80193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80194 echo "_ACEOF"
80195 } >conf$$subs.sh ||
80196 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
80198 ac_delim='%!_!# '
80199 for ac_last_try in false false false false false :; do
80200 . ./conf$$subs.sh ||
80201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80202
80203 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80204 if test $ac_delim_n = $ac_delim_num; then
80205 break
80206 elif $ac_last_try; then
80207 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80208 else
80209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80210 fi
80211 done
80212 rm -f conf$$subs.sh
80213
80214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80215 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
80216 _ACEOF
80217 sed -n '
80218 h
80219 s/^/S["/; s/!.*/"]=/
80220 p
80221 g
80222 s/^[^!]*!//
80223 :repl
80224 t repl
80225 s/'"$ac_delim"'$//
80226 t delim
80227 :nl
80228 h
80229 s/\(.\{148\}\)..*/\1/
80230 t more1
80231 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80232 p
80233 n
80234 b repl
80235 :more1
80236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80237 p
80238 g
80239 s/.\{148\}//
80240 t nl
80241 :delim
80242 h
80243 s/\(.\{148\}\)..*/\1/
80244 t more2
80245 s/["\\]/\\&/g; s/^/"/; s/$/"/
80246 p
80247 b
80248 :more2
80249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80250 p
80251 g
80252 s/.\{148\}//
80253 t delim
80254 ' <conf$$subs.awk | sed '
80255 /^[^""]/{
80256 N
80257 s/\n//
80258 }
80259 ' >>$CONFIG_STATUS || ac_write_fail=1
80260 rm -f conf$$subs.awk
80261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80262 _ACAWK
80263 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
80264 for (key in S) S_is_set[key] = 1
80265 FS = "\a"
80266
80267 }
80268 {
80269 line = $ 0
80270 nfields = split(line, field, "@")
80271 substed = 0
80272 len = length(field[1])
80273 for (i = 2; i < nfields; i++) {
80274 key = field[i]
80275 keylen = length(key)
80276 if (S_is_set[key]) {
80277 value = S[key]
80278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80279 len += length(value) + length(field[++i])
80280 substed = 1
80281 } else
80282 len += 1 + keylen
80283 }
80284
80285 print line
80286 }
80287
80288 _ACAWK
80289 _ACEOF
80290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80291 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80292 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80293 else
80294 cat
80295 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
80296 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
80297 _ACEOF
80298
80299 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
80300 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
80301 # trailing colons and then remove the whole line if VPATH becomes empty
80302 # (actually we leave an empty line to preserve line numbers).
80303 if test "x$srcdir" = x.; then
80304 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
80305 h
80306 s///
80307 s/^/:/
80308 s/[ ]*$/:/
80309 s/:\$(srcdir):/:/g
80310 s/:\${srcdir}:/:/g
80311 s/:@srcdir@:/:/g
80312 s/^:*//
80313 s/:*$//
80314 x
80315 s/\(=[ ]*\).*/\1/
80316 G
80317 s/\n//
80318 s/^[^=]*=[ ]*$//
80319 }'
80320 fi
80321
80322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80323 fi # test -n "$CONFIG_FILES"
80324
80325 # Set up the scripts for CONFIG_HEADERS section.
80326 # No need to generate them if there are no CONFIG_HEADERS.
80327 # This happens for instance with `./config.status Makefile'.
80328 if test -n "$CONFIG_HEADERS"; then
80329 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
80330 BEGIN {
80331 _ACEOF
80332
80333 # Transform confdefs.h into an awk script `defines.awk', embedded as
80334 # here-document in config.status, that substitutes the proper values into
80335 # config.h.in to produce config.h.
80336
80337 # Create a delimiter string that does not exist in confdefs.h, to ease
80338 # handling of long lines.
80339 ac_delim='%!_!# '
80340 for ac_last_try in false false :; do
80341 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
80342 if test -z "$ac_tt"; then
80343 break
80344 elif $ac_last_try; then
80345 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
80346 else
80347 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80348 fi
80349 done
80350
80351 # For the awk script, D is an array of macro values keyed by name,
80352 # likewise P contains macro parameters if any. Preserve backslash
80353 # newline sequences.
80354
80355 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80356 sed -n '
80357 s/.\{148\}/&'"$ac_delim"'/g
80358 t rset
80359 :rset
80360 s/^[ ]*#[ ]*define[ ][ ]*/ /
80361 t def
80362 d
80363 :def
80364 s/\\$//
80365 t bsnl
80366 s/["\\]/\\&/g
80367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80368 D["\1"]=" \3"/p
80369 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80370 d
80371 :bsnl
80372 s/["\\]/\\&/g
80373 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80374 D["\1"]=" \3\\\\\\n"\\/p
80375 t cont
80376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
80377 t cont
80378 d
80379 :cont
80380 n
80381 s/.\{148\}/&'"$ac_delim"'/g
80382 t clear
80383 :clear
80384 s/\\$//
80385 t bsnlc
80386 s/["\\]/\\&/g; s/^/"/; s/$/"/p
80387 d
80388 :bsnlc
80389 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
80390 b cont
80391 ' <confdefs.h | sed '
80392 s/'"$ac_delim"'/"\\\
80393 "/g' >>$CONFIG_STATUS || ac_write_fail=1
80394
80395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80396 for (key in D) D_is_set[key] = 1
80397 FS = "\a"
80398 }
80399 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
80400 line = \$ 0
80401 split(line, arg, " ")
80402 if (arg[1] == "#") {
80403 defundef = arg[2]
80404 mac1 = arg[3]
80405 } else {
80406 defundef = substr(arg[1], 2)
80407 mac1 = arg[2]
80408 }
80409 split(mac1, mac2, "(") #)
80410 macro = mac2[1]
80411 prefix = substr(line, 1, index(line, defundef) - 1)
80412 if (D_is_set[macro]) {
80413 # Preserve the white space surrounding the "#".
80414 print prefix "define", macro P[macro] D[macro]
80415 next
80416 } else {
80417 # Replace #undef with comments. This is necessary, for example,
80418 # in the case of _POSIX_SOURCE, which is predefined and required
80419 # on some systems where configure will not decide to define it.
80420 if (defundef == "undef") {
80421 print "/*", prefix defundef, macro, "*/"
80422 next
80423 }
80424 }
80425 }
80426 { print }
80427 _ACAWK
80428 _ACEOF
80429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80430 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
80431 fi # test -n "$CONFIG_HEADERS"
80432
80433
80434 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
80435 shift
80436 for ac_tag
80437 do
80438 case $ac_tag in
80439 :[FHLC]) ac_mode=$ac_tag; continue;;
80440 esac
80441 case $ac_mode$ac_tag in
80442 :[FHL]*:*);;
80443 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
80444 :[FH]-) ac_tag=-:-;;
80445 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
80446 esac
80447 ac_save_IFS=$IFS
80448 IFS=:
80449 set x $ac_tag
80450 IFS=$ac_save_IFS
80451 shift
80452 ac_file=$1
80453 shift
80454
80455 case $ac_mode in
80456 :L) ac_source=$1;;
80457 :[FH])
80458 ac_file_inputs=
80459 for ac_f
80460 do
80461 case $ac_f in
80462 -) ac_f="$ac_tmp/stdin";;
80463 *) # Look for the file first in the build tree, then in the source tree
80464 # (if the path is not absolute). The absolute path cannot be DOS-style,
80465 # because $ac_f cannot contain `:'.
80466 test -f "$ac_f" ||
80467 case $ac_f in
80468 [\\/$]*) false;;
80469 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
80470 esac ||
80471 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
80472 esac
80473 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
80474 as_fn_append ac_file_inputs " '$ac_f'"
80475 done
80476
80477 # Let's still pretend it is `configure' which instantiates (i.e., don't
80478 # use $as_me), people would be surprised to read:
80479 # /* config.h. Generated by config.status. */
80480 configure_input='Generated from '`
80481 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
80482 `' by configure.'
80483 if test x"$ac_file" != x-; then
80484 configure_input="$ac_file. $configure_input"
80485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
80486 $as_echo "$as_me: creating $ac_file" >&6;}
80487 fi
80488 # Neutralize special characters interpreted by sed in replacement strings.
80489 case $configure_input in #(
80490 *\&* | *\|* | *\\* )
80491 ac_sed_conf_input=`$as_echo "$configure_input" |
80492 sed 's/[\\\\&|]/\\\\&/g'`;; #(
80493 *) ac_sed_conf_input=$configure_input;;
80494 esac
80495
80496 case $ac_tag in
80497 *:-:* | *:-) cat >"$ac_tmp/stdin" \
80498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
80499 esac
80500 ;;
80501 esac
80502
80503 ac_dir=`$as_dirname -- "$ac_file" ||
80504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80505 X"$ac_file" : 'X\(//\)[^/]' \| \
80506 X"$ac_file" : 'X\(//\)$' \| \
80507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
80508 $as_echo X"$ac_file" |
80509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80510 s//\1/
80511 q
80512 }
80513 /^X\(\/\/\)[^/].*/{
80514 s//\1/
80515 q
80516 }
80517 /^X\(\/\/\)$/{
80518 s//\1/
80519 q
80520 }
80521 /^X\(\/\).*/{
80522 s//\1/
80523 q
80524 }
80525 s/.*/./; q'`
80526 as_dir="$ac_dir"; as_fn_mkdir_p
80527 ac_builddir=.
80528
80529 case "$ac_dir" in
80530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
80531 *)
80532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
80533 # A ".." for each directory in $ac_dir_suffix.
80534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
80535 case $ac_top_builddir_sub in
80536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
80537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
80538 esac ;;
80539 esac
80540 ac_abs_top_builddir=$ac_pwd
80541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
80542 # for backward compatibility:
80543 ac_top_builddir=$ac_top_build_prefix
80544
80545 case $srcdir in
80546 .) # We are building in place.
80547 ac_srcdir=.
80548 ac_top_srcdir=$ac_top_builddir_sub
80549 ac_abs_top_srcdir=$ac_pwd ;;
80550 [\\/]* | ?:[\\/]* ) # Absolute name.
80551 ac_srcdir=$srcdir$ac_dir_suffix;
80552 ac_top_srcdir=$srcdir
80553 ac_abs_top_srcdir=$srcdir ;;
80554 *) # Relative name.
80555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
80556 ac_top_srcdir=$ac_top_build_prefix$srcdir
80557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
80558 esac
80559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
80560
80561
80562 case $ac_mode in
80563 :F)
80564 #
80565 # CONFIG_FILE
80566 #
80567
80568 case $INSTALL in
80569 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
80570 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
80571 esac
80572 ac_MKDIR_P=$MKDIR_P
80573 case $MKDIR_P in
80574 [\\/$]* | ?:[\\/]* ) ;;
80575 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
80576 esac
80577 _ACEOF
80578
80579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80580 # If the template does not know about datarootdir, expand it.
80581 # FIXME: This hack should be removed a few years after 2.60.
80582 ac_datarootdir_hack=; ac_datarootdir_seen=
80583 ac_sed_dataroot='
80584 /datarootdir/ {
80585 p
80586 q
80587 }
80588 /@datadir@/p
80589 /@docdir@/p
80590 /@infodir@/p
80591 /@localedir@/p
80592 /@mandir@/p'
80593 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
80594 *datarootdir*) ac_datarootdir_seen=yes;;
80595 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
80596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
80597 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
80598 _ACEOF
80599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80600 ac_datarootdir_hack='
80601 s&@datadir@&$datadir&g
80602 s&@docdir@&$docdir&g
80603 s&@infodir@&$infodir&g
80604 s&@localedir@&$localedir&g
80605 s&@mandir@&$mandir&g
80606 s&\\\${datarootdir}&$datarootdir&g' ;;
80607 esac
80608 _ACEOF
80609
80610 # Neutralize VPATH when `$srcdir' = `.'.
80611 # Shell code in configure.ac might set extrasub.
80612 # FIXME: do we really want to maintain this feature?
80613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80614 ac_sed_extra="$ac_vpsub
80615 $extrasub
80616 _ACEOF
80617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80618 :t
80619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
80620 s|@configure_input@|$ac_sed_conf_input|;t t
80621 s&@top_builddir@&$ac_top_builddir_sub&;t t
80622 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80623 s&@srcdir@&$ac_srcdir&;t t
80624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80625 s&@top_srcdir@&$ac_top_srcdir&;t t
80626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80627 s&@builddir@&$ac_builddir&;t t
80628 s&@abs_builddir@&$ac_abs_builddir&;t t
80629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80630 s&@INSTALL@&$ac_INSTALL&;t t
80631 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80632 $ac_datarootdir_hack
80633 "
80634 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80635 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80636
80637 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80638 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80639 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80640 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80642 which seems to be undefined. Please make sure it is defined" >&5
80643 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80644 which seems to be undefined. Please make sure it is defined" >&2;}
80645
80646 rm -f "$ac_tmp/stdin"
80647 case $ac_file in
80648 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80649 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80650 esac \
80651 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80652 ;;
80653 :H)
80654 #
80655 # CONFIG_HEADER
80656 #
80657 if test x"$ac_file" != x-; then
80658 {
80659 $as_echo "/* $configure_input */" \
80660 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80661 } >"$ac_tmp/config.h" \
80662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80663 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80664 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80665 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80666 else
80667 rm -f "$ac_file"
80668 mv "$ac_tmp/config.h" "$ac_file" \
80669 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80670 fi
80671 else
80672 $as_echo "/* $configure_input */" \
80673 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80674 || as_fn_error $? "could not create -" "$LINENO" 5
80675 fi
80676 # Compute "$ac_file"'s index in $config_headers.
80677 _am_arg="$ac_file"
80678 _am_stamp_count=1
80679 for _am_header in $config_headers :; do
80680 case $_am_header in
80681 $_am_arg | $_am_arg:* )
80682 break ;;
80683 * )
80684 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80685 esac
80686 done
80687 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80688 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80689 X"$_am_arg" : 'X\(//\)[^/]' \| \
80690 X"$_am_arg" : 'X\(//\)$' \| \
80691 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80692 $as_echo X"$_am_arg" |
80693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80694 s//\1/
80695 q
80696 }
80697 /^X\(\/\/\)[^/].*/{
80698 s//\1/
80699 q
80700 }
80701 /^X\(\/\/\)$/{
80702 s//\1/
80703 q
80704 }
80705 /^X\(\/\).*/{
80706 s//\1/
80707 q
80708 }
80709 s/.*/./; q'`/stamp-h$_am_stamp_count
80710 ;;
80711
80712 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80713 $as_echo "$as_me: executing $ac_file commands" >&6;}
80714 ;;
80715 esac
80716
80717
80718 case $ac_file$ac_mode in
80719 "default-1":C)
80720 # Only add multilib support code if we just rebuilt the top-level
80721 # Makefile.
80722 case " $CONFIG_FILES " in
80723 *" Makefile "*)
80724 ac_file=Makefile . ${multi_basedir}/config-ml.in
80725 ;;
80726 esac ;;
80727 "libtool":C)
80728
80729 # See if we are running on zsh, and set the options which allow our
80730 # commands through without removal of \ escapes.
80731 if test -n "${ZSH_VERSION+set}" ; then
80732 setopt NO_GLOB_SUBST
80733 fi
80734
80735 cfgfile="${ofile}T"
80736 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80737 $RM "$cfgfile"
80738
80739 cat <<_LT_EOF >> "$cfgfile"
80740 #! $SHELL
80741
80742 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80743 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80744 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80745 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80746 #
80747 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80748 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80749 # Written by Gordon Matzigkeit, 1996
80750 #
80751 # This file is part of GNU Libtool.
80752 #
80753 # GNU Libtool is free software; you can redistribute it and/or
80754 # modify it under the terms of the GNU General Public License as
80755 # published by the Free Software Foundation; either version 2 of
80756 # the License, or (at your option) any later version.
80757 #
80758 # As a special exception to the GNU General Public License,
80759 # if you distribute this file as part of a program or library that
80760 # is built using GNU Libtool, you may include this file under the
80761 # same distribution terms that you use for the rest of that program.
80762 #
80763 # GNU Libtool is distributed in the hope that it will be useful,
80764 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80765 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80766 # GNU General Public License for more details.
80767 #
80768 # You should have received a copy of the GNU General Public License
80769 # along with GNU Libtool; see the file COPYING. If not, a copy
80770 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80771 # obtained by writing to the Free Software Foundation, Inc.,
80772 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80773
80774
80775 # The names of the tagged configurations supported by this script.
80776 available_tags="CXX "
80777
80778 # ### BEGIN LIBTOOL CONFIG
80779
80780 # Which release of libtool.m4 was used?
80781 macro_version=$macro_version
80782 macro_revision=$macro_revision
80783
80784 # Whether or not to build shared libraries.
80785 build_libtool_libs=$enable_shared
80786
80787 # Whether or not to build static libraries.
80788 build_old_libs=$enable_static
80789
80790 # What type of objects to build.
80791 pic_mode=$pic_mode
80792
80793 # Whether or not to optimize for fast installation.
80794 fast_install=$enable_fast_install
80795
80796 # Shell to use when invoking shell scripts.
80797 SHELL=$lt_SHELL
80798
80799 # An echo program that protects backslashes.
80800 ECHO=$lt_ECHO
80801
80802 # The host system.
80803 host_alias=$host_alias
80804 host=$host
80805 host_os=$host_os
80806
80807 # The build system.
80808 build_alias=$build_alias
80809 build=$build
80810 build_os=$build_os
80811
80812 # A sed program that does not truncate output.
80813 SED=$lt_SED
80814
80815 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80816 Xsed="\$SED -e 1s/^X//"
80817
80818 # A grep program that handles long lines.
80819 GREP=$lt_GREP
80820
80821 # An ERE matcher.
80822 EGREP=$lt_EGREP
80823
80824 # A literal string matcher.
80825 FGREP=$lt_FGREP
80826
80827 # A BSD- or MS-compatible name lister.
80828 NM=$lt_NM
80829
80830 # Whether we need soft or hard links.
80831 LN_S=$lt_LN_S
80832
80833 # What is the maximum length of a command?
80834 max_cmd_len=$max_cmd_len
80835
80836 # Object file suffix (normally "o").
80837 objext=$ac_objext
80838
80839 # Executable file suffix (normally "").
80840 exeext=$exeext
80841
80842 # whether the shell understands "unset".
80843 lt_unset=$lt_unset
80844
80845 # turn spaces into newlines.
80846 SP2NL=$lt_lt_SP2NL
80847
80848 # turn newlines into spaces.
80849 NL2SP=$lt_lt_NL2SP
80850
80851 # An object symbol dumper.
80852 OBJDUMP=$lt_OBJDUMP
80853
80854 # Method to check whether dependent libraries are shared objects.
80855 deplibs_check_method=$lt_deplibs_check_method
80856
80857 # Command to use when deplibs_check_method == "file_magic".
80858 file_magic_cmd=$lt_file_magic_cmd
80859
80860 # The archiver.
80861 AR=$lt_AR
80862 AR_FLAGS=$lt_AR_FLAGS
80863
80864 # A symbol stripping program.
80865 STRIP=$lt_STRIP
80866
80867 # Commands used to install an old-style archive.
80868 RANLIB=$lt_RANLIB
80869 old_postinstall_cmds=$lt_old_postinstall_cmds
80870 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80871
80872 # Whether to use a lock for old archive extraction.
80873 lock_old_archive_extraction=$lock_old_archive_extraction
80874
80875 # A C compiler.
80876 LTCC=$lt_CC
80877
80878 # LTCC compiler flags.
80879 LTCFLAGS=$lt_CFLAGS
80880
80881 # Take the output of nm and produce a listing of raw symbols and C names.
80882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80883
80884 # Transform the output of nm in a proper C declaration.
80885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80886
80887 # Transform the output of nm in a C name address pair.
80888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80889
80890 # Transform the output of nm in a C name address pair when lib prefix is needed.
80891 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80892
80893 # The name of the directory that contains temporary libtool files.
80894 objdir=$objdir
80895
80896 # Used to examine libraries when file_magic_cmd begins with "file".
80897 MAGIC_CMD=$MAGIC_CMD
80898
80899 # Must we lock files when doing compilation?
80900 need_locks=$lt_need_locks
80901
80902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80903 DSYMUTIL=$lt_DSYMUTIL
80904
80905 # Tool to change global to local symbols on Mac OS X.
80906 NMEDIT=$lt_NMEDIT
80907
80908 # Tool to manipulate fat objects and archives on Mac OS X.
80909 LIPO=$lt_LIPO
80910
80911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80912 OTOOL=$lt_OTOOL
80913
80914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80915 OTOOL64=$lt_OTOOL64
80916
80917 # Old archive suffix (normally "a").
80918 libext=$libext
80919
80920 # Shared library suffix (normally ".so").
80921 shrext_cmds=$lt_shrext_cmds
80922
80923 # The commands to extract the exported symbol list from a shared archive.
80924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80925
80926 # Variables whose values should be saved in libtool wrapper scripts and
80927 # restored at link time.
80928 variables_saved_for_relink=$lt_variables_saved_for_relink
80929
80930 # Do we need the "lib" prefix for modules?
80931 need_lib_prefix=$need_lib_prefix
80932
80933 # Do we need a version for libraries?
80934 need_version=$need_version
80935
80936 # Library versioning type.
80937 version_type=$version_type
80938
80939 # Shared library runtime path variable.
80940 runpath_var=$runpath_var
80941
80942 # Shared library path variable.
80943 shlibpath_var=$shlibpath_var
80944
80945 # Is shlibpath searched before the hard-coded library search path?
80946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80947
80948 # Format of library name prefix.
80949 libname_spec=$lt_libname_spec
80950
80951 # List of archive names. First name is the real one, the rest are links.
80952 # The last name is the one that the linker finds with -lNAME
80953 library_names_spec=$lt_library_names_spec
80954
80955 # The coded name of the library, if different from the real name.
80956 soname_spec=$lt_soname_spec
80957
80958 # Permission mode override for installation of shared libraries.
80959 install_override_mode=$lt_install_override_mode
80960
80961 # Command to use after installation of a shared archive.
80962 postinstall_cmds=$lt_postinstall_cmds
80963
80964 # Command to use after uninstallation of a shared archive.
80965 postuninstall_cmds=$lt_postuninstall_cmds
80966
80967 # Commands used to finish a libtool library installation in a directory.
80968 finish_cmds=$lt_finish_cmds
80969
80970 # As "finish_cmds", except a single script fragment to be evaled but
80971 # not shown.
80972 finish_eval=$lt_finish_eval
80973
80974 # Whether we should hardcode library paths into libraries.
80975 hardcode_into_libs=$hardcode_into_libs
80976
80977 # Compile-time system search path for libraries.
80978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80979
80980 # Run-time system search path for libraries.
80981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80982
80983 # Whether dlopen is supported.
80984 dlopen_support=$enable_dlopen
80985
80986 # Whether dlopen of programs is supported.
80987 dlopen_self=$enable_dlopen_self
80988
80989 # Whether dlopen of statically linked programs is supported.
80990 dlopen_self_static=$enable_dlopen_self_static
80991
80992 # Commands to strip libraries.
80993 old_striplib=$lt_old_striplib
80994 striplib=$lt_striplib
80995
80996
80997 # The linker used to build libraries.
80998 LD=$lt_LD
80999
81000 # How to create reloadable object files.
81001 reload_flag=$lt_reload_flag
81002 reload_cmds=$lt_reload_cmds
81003
81004 # Commands used to build an old-style archive.
81005 old_archive_cmds=$lt_old_archive_cmds
81006
81007 # A language specific compiler.
81008 CC=$lt_compiler
81009
81010 # Is the compiler the GNU compiler?
81011 with_gcc=$GCC
81012
81013 # Compiler flag to turn off builtin functions.
81014 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81015
81016 # How to pass a linker flag through the compiler.
81017 wl=$lt_lt_prog_compiler_wl
81018
81019 # Additional compiler flags for building library objects.
81020 pic_flag=$lt_lt_prog_compiler_pic
81021
81022 # Compiler flag to prevent dynamic linking.
81023 link_static_flag=$lt_lt_prog_compiler_static
81024
81025 # Does compiler simultaneously support -c and -o options?
81026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81027
81028 # Whether or not to add -lc for building shared libraries.
81029 build_libtool_need_lc=$archive_cmds_need_lc
81030
81031 # Whether or not to disallow shared libs when runtime libs are static.
81032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81033
81034 # Compiler flag to allow reflexive dlopens.
81035 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81036
81037 # Compiler flag to generate shared objects directly from archives.
81038 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81039
81040 # Whether the compiler copes with passing no objects directly.
81041 compiler_needs_object=$lt_compiler_needs_object
81042
81043 # Create an old-style archive from a shared archive.
81044 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81045
81046 # Create a temporary old-style archive to link instead of a shared archive.
81047 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81048
81049 # Commands used to build a shared archive.
81050 archive_cmds=$lt_archive_cmds
81051 archive_expsym_cmds=$lt_archive_expsym_cmds
81052
81053 # Commands used to build a loadable module if different from building
81054 # a shared archive.
81055 module_cmds=$lt_module_cmds
81056 module_expsym_cmds=$lt_module_expsym_cmds
81057
81058 # Whether we are building with GNU ld or not.
81059 with_gnu_ld=$lt_with_gnu_ld
81060
81061 # Flag that allows shared libraries with undefined symbols to be built.
81062 allow_undefined_flag=$lt_allow_undefined_flag
81063
81064 # Flag that enforces no undefined symbols.
81065 no_undefined_flag=$lt_no_undefined_flag
81066
81067 # Flag to hardcode \$libdir into a binary during linking.
81068 # This must work even if \$libdir does not exist
81069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81070
81071 # If ld is used when linking, flag to hardcode \$libdir into a binary
81072 # during linking. This must work even if \$libdir does not exist.
81073 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81074
81075 # Whether we need a single "-rpath" flag with a separated argument.
81076 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81077
81078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81079 # DIR into the resulting binary.
81080 hardcode_direct=$hardcode_direct
81081
81082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81083 # DIR into the resulting binary and the resulting library dependency is
81084 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81085 # library is relocated.
81086 hardcode_direct_absolute=$hardcode_direct_absolute
81087
81088 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81089 # into the resulting binary.
81090 hardcode_minus_L=$hardcode_minus_L
81091
81092 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81093 # into the resulting binary.
81094 hardcode_shlibpath_var=$hardcode_shlibpath_var
81095
81096 # Set to "yes" if building a shared library automatically hardcodes DIR
81097 # into the library and all subsequent libraries and executables linked
81098 # against it.
81099 hardcode_automatic=$hardcode_automatic
81100
81101 # Set to yes if linker adds runtime paths of dependent libraries
81102 # to runtime path list.
81103 inherit_rpath=$inherit_rpath
81104
81105 # Whether libtool must link a program against all its dependency libraries.
81106 link_all_deplibs=$link_all_deplibs
81107
81108 # Fix the shell variable \$srcfile for the compiler.
81109 fix_srcfile_path=$lt_fix_srcfile_path
81110
81111 # Set to "yes" if exported symbols are required.
81112 always_export_symbols=$always_export_symbols
81113
81114 # The commands to list exported symbols.
81115 export_symbols_cmds=$lt_export_symbols_cmds
81116
81117 # Symbols that should not be listed in the preloaded symbols.
81118 exclude_expsyms=$lt_exclude_expsyms
81119
81120 # Symbols that must always be exported.
81121 include_expsyms=$lt_include_expsyms
81122
81123 # Commands necessary for linking programs (against libraries) with templates.
81124 prelink_cmds=$lt_prelink_cmds
81125
81126 # Specify filename containing input files.
81127 file_list_spec=$lt_file_list_spec
81128
81129 # How to hardcode a shared library path into an executable.
81130 hardcode_action=$hardcode_action
81131
81132 # The directories searched by this compiler when creating a shared library.
81133 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81134
81135 # Dependencies to place before and after the objects being linked to
81136 # create a shared library.
81137 predep_objects=$lt_predep_objects
81138 postdep_objects=$lt_postdep_objects
81139 predeps=$lt_predeps
81140 postdeps=$lt_postdeps
81141
81142 # The library search path used internally by the compiler when linking
81143 # a shared library.
81144 compiler_lib_search_path=$lt_compiler_lib_search_path
81145
81146 # ### END LIBTOOL CONFIG
81147
81148 _LT_EOF
81149
81150 case $host_os in
81151 aix3*)
81152 cat <<\_LT_EOF >> "$cfgfile"
81153 # AIX sometimes has problems with the GCC collect2 program. For some
81154 # reason, if we set the COLLECT_NAMES environment variable, the problems
81155 # vanish in a puff of smoke.
81156 if test "X${COLLECT_NAMES+set}" != Xset; then
81157 COLLECT_NAMES=
81158 export COLLECT_NAMES
81159 fi
81160 _LT_EOF
81161 ;;
81162 esac
81163
81164
81165 ltmain="$ac_aux_dir/ltmain.sh"
81166
81167
81168 # We use sed instead of cat because bash on DJGPP gets confused if
81169 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81170 # text mode, it properly converts lines to CR/LF. This bash problem
81171 # is reportedly fixed, but why not run on old versions too?
81172 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81173 || (rm -f "$cfgfile"; exit 1)
81174
81175 case $xsi_shell in
81176 yes)
81177 cat << \_LT_EOF >> "$cfgfile"
81178
81179 # func_dirname file append nondir_replacement
81180 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81181 # otherwise set result to NONDIR_REPLACEMENT.
81182 func_dirname ()
81183 {
81184 case ${1} in
81185 */*) func_dirname_result="${1%/*}${2}" ;;
81186 * ) func_dirname_result="${3}" ;;
81187 esac
81188 }
81189
81190 # func_basename file
81191 func_basename ()
81192 {
81193 func_basename_result="${1##*/}"
81194 }
81195
81196 # func_dirname_and_basename file append nondir_replacement
81197 # perform func_basename and func_dirname in a single function
81198 # call:
81199 # dirname: Compute the dirname of FILE. If nonempty,
81200 # add APPEND to the result, otherwise set result
81201 # to NONDIR_REPLACEMENT.
81202 # value returned in "$func_dirname_result"
81203 # basename: Compute filename of FILE.
81204 # value retuned in "$func_basename_result"
81205 # Implementation must be kept synchronized with func_dirname
81206 # and func_basename. For efficiency, we do not delegate to
81207 # those functions but instead duplicate the functionality here.
81208 func_dirname_and_basename ()
81209 {
81210 case ${1} in
81211 */*) func_dirname_result="${1%/*}${2}" ;;
81212 * ) func_dirname_result="${3}" ;;
81213 esac
81214 func_basename_result="${1##*/}"
81215 }
81216
81217 # func_stripname prefix suffix name
81218 # strip PREFIX and SUFFIX off of NAME.
81219 # PREFIX and SUFFIX must not contain globbing or regex special
81220 # characters, hashes, percent signs, but SUFFIX may contain a leading
81221 # dot (in which case that matches only a dot).
81222 func_stripname ()
81223 {
81224 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81225 # positional parameters, so assign one to ordinary parameter first.
81226 func_stripname_result=${3}
81227 func_stripname_result=${func_stripname_result#"${1}"}
81228 func_stripname_result=${func_stripname_result%"${2}"}
81229 }
81230
81231 # func_opt_split
81232 func_opt_split ()
81233 {
81234 func_opt_split_opt=${1%%=*}
81235 func_opt_split_arg=${1#*=}
81236 }
81237
81238 # func_lo2o object
81239 func_lo2o ()
81240 {
81241 case ${1} in
81242 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81243 *) func_lo2o_result=${1} ;;
81244 esac
81245 }
81246
81247 # func_xform libobj-or-source
81248 func_xform ()
81249 {
81250 func_xform_result=${1%.*}.lo
81251 }
81252
81253 # func_arith arithmetic-term...
81254 func_arith ()
81255 {
81256 func_arith_result=$(( $* ))
81257 }
81258
81259 # func_len string
81260 # STRING may not start with a hyphen.
81261 func_len ()
81262 {
81263 func_len_result=${#1}
81264 }
81265
81266 _LT_EOF
81267 ;;
81268 *) # Bourne compatible functions.
81269 cat << \_LT_EOF >> "$cfgfile"
81270
81271 # func_dirname file append nondir_replacement
81272 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81273 # otherwise set result to NONDIR_REPLACEMENT.
81274 func_dirname ()
81275 {
81276 # Extract subdirectory from the argument.
81277 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81278 if test "X$func_dirname_result" = "X${1}"; then
81279 func_dirname_result="${3}"
81280 else
81281 func_dirname_result="$func_dirname_result${2}"
81282 fi
81283 }
81284
81285 # func_basename file
81286 func_basename ()
81287 {
81288 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81289 }
81290
81291
81292 # func_stripname prefix suffix name
81293 # strip PREFIX and SUFFIX off of NAME.
81294 # PREFIX and SUFFIX must not contain globbing or regex special
81295 # characters, hashes, percent signs, but SUFFIX may contain a leading
81296 # dot (in which case that matches only a dot).
81297 # func_strip_suffix prefix name
81298 func_stripname ()
81299 {
81300 case ${2} in
81301 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81302 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81303 esac
81304 }
81305
81306 # sed scripts:
81307 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81308 my_sed_long_arg='1s/^-[^=]*=//'
81309
81310 # func_opt_split
81311 func_opt_split ()
81312 {
81313 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81314 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81315 }
81316
81317 # func_lo2o object
81318 func_lo2o ()
81319 {
81320 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81321 }
81322
81323 # func_xform libobj-or-source
81324 func_xform ()
81325 {
81326 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81327 }
81328
81329 # func_arith arithmetic-term...
81330 func_arith ()
81331 {
81332 func_arith_result=`expr "$@"`
81333 }
81334
81335 # func_len string
81336 # STRING may not start with a hyphen.
81337 func_len ()
81338 {
81339 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81340 }
81341
81342 _LT_EOF
81343 esac
81344
81345 case $lt_shell_append in
81346 yes)
81347 cat << \_LT_EOF >> "$cfgfile"
81348
81349 # func_append var value
81350 # Append VALUE to the end of shell variable VAR.
81351 func_append ()
81352 {
81353 eval "$1+=\$2"
81354 }
81355 _LT_EOF
81356 ;;
81357 *)
81358 cat << \_LT_EOF >> "$cfgfile"
81359
81360 # func_append var value
81361 # Append VALUE to the end of shell variable VAR.
81362 func_append ()
81363 {
81364 eval "$1=\$$1\$2"
81365 }
81366
81367 _LT_EOF
81368 ;;
81369 esac
81370
81371
81372 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81373 || (rm -f "$cfgfile"; exit 1)
81374
81375 mv -f "$cfgfile" "$ofile" ||
81376 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
81377 chmod +x "$ofile"
81378
81379
81380 cat <<_LT_EOF >> "$ofile"
81381
81382 # ### BEGIN LIBTOOL TAG CONFIG: CXX
81383
81384 # The linker used to build libraries.
81385 LD=$lt_LD_CXX
81386
81387 # How to create reloadable object files.
81388 reload_flag=$lt_reload_flag_CXX
81389 reload_cmds=$lt_reload_cmds_CXX
81390
81391 # Commands used to build an old-style archive.
81392 old_archive_cmds=$lt_old_archive_cmds_CXX
81393
81394 # A language specific compiler.
81395 CC=$lt_compiler_CXX
81396
81397 # Is the compiler the GNU compiler?
81398 with_gcc=$GCC_CXX
81399
81400 # Compiler flag to turn off builtin functions.
81401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
81402
81403 # How to pass a linker flag through the compiler.
81404 wl=$lt_lt_prog_compiler_wl_CXX
81405
81406 # Additional compiler flags for building library objects.
81407 pic_flag=$lt_lt_prog_compiler_pic_CXX
81408
81409 # Compiler flag to prevent dynamic linking.
81410 link_static_flag=$lt_lt_prog_compiler_static_CXX
81411
81412 # Does compiler simultaneously support -c and -o options?
81413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
81414
81415 # Whether or not to add -lc for building shared libraries.
81416 build_libtool_need_lc=$archive_cmds_need_lc_CXX
81417
81418 # Whether or not to disallow shared libs when runtime libs are static.
81419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
81420
81421 # Compiler flag to allow reflexive dlopens.
81422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
81423
81424 # Compiler flag to generate shared objects directly from archives.
81425 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
81426
81427 # Whether the compiler copes with passing no objects directly.
81428 compiler_needs_object=$lt_compiler_needs_object_CXX
81429
81430 # Create an old-style archive from a shared archive.
81431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
81432
81433 # Create a temporary old-style archive to link instead of a shared archive.
81434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
81435
81436 # Commands used to build a shared archive.
81437 archive_cmds=$lt_archive_cmds_CXX
81438 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
81439
81440 # Commands used to build a loadable module if different from building
81441 # a shared archive.
81442 module_cmds=$lt_module_cmds_CXX
81443 module_expsym_cmds=$lt_module_expsym_cmds_CXX
81444
81445 # Whether we are building with GNU ld or not.
81446 with_gnu_ld=$lt_with_gnu_ld_CXX
81447
81448 # Flag that allows shared libraries with undefined symbols to be built.
81449 allow_undefined_flag=$lt_allow_undefined_flag_CXX
81450
81451 # Flag that enforces no undefined symbols.
81452 no_undefined_flag=$lt_no_undefined_flag_CXX
81453
81454 # Flag to hardcode \$libdir into a binary during linking.
81455 # This must work even if \$libdir does not exist
81456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
81457
81458 # If ld is used when linking, flag to hardcode \$libdir into a binary
81459 # during linking. This must work even if \$libdir does not exist.
81460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
81461
81462 # Whether we need a single "-rpath" flag with a separated argument.
81463 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
81464
81465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81466 # DIR into the resulting binary.
81467 hardcode_direct=$hardcode_direct_CXX
81468
81469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81470 # DIR into the resulting binary and the resulting library dependency is
81471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81472 # library is relocated.
81473 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
81474
81475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81476 # into the resulting binary.
81477 hardcode_minus_L=$hardcode_minus_L_CXX
81478
81479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81480 # into the resulting binary.
81481 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
81482
81483 # Set to "yes" if building a shared library automatically hardcodes DIR
81484 # into the library and all subsequent libraries and executables linked
81485 # against it.
81486 hardcode_automatic=$hardcode_automatic_CXX
81487
81488 # Set to yes if linker adds runtime paths of dependent libraries
81489 # to runtime path list.
81490 inherit_rpath=$inherit_rpath_CXX
81491
81492 # Whether libtool must link a program against all its dependency libraries.
81493 link_all_deplibs=$link_all_deplibs_CXX
81494
81495 # Fix the shell variable \$srcfile for the compiler.
81496 fix_srcfile_path=$lt_fix_srcfile_path_CXX
81497
81498 # Set to "yes" if exported symbols are required.
81499 always_export_symbols=$always_export_symbols_CXX
81500
81501 # The commands to list exported symbols.
81502 export_symbols_cmds=$lt_export_symbols_cmds_CXX
81503
81504 # Symbols that should not be listed in the preloaded symbols.
81505 exclude_expsyms=$lt_exclude_expsyms_CXX
81506
81507 # Symbols that must always be exported.
81508 include_expsyms=$lt_include_expsyms_CXX
81509
81510 # Commands necessary for linking programs (against libraries) with templates.
81511 prelink_cmds=$lt_prelink_cmds_CXX
81512
81513 # Specify filename containing input files.
81514 file_list_spec=$lt_file_list_spec_CXX
81515
81516 # How to hardcode a shared library path into an executable.
81517 hardcode_action=$hardcode_action_CXX
81518
81519 # The directories searched by this compiler when creating a shared library.
81520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
81521
81522 # Dependencies to place before and after the objects being linked to
81523 # create a shared library.
81524 predep_objects=$lt_predep_objects_CXX
81525 postdep_objects=$lt_postdep_objects_CXX
81526 predeps=$lt_predeps_CXX
81527 postdeps=$lt_postdeps_CXX
81528
81529 # The library search path used internally by the compiler when linking
81530 # a shared library.
81531 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
81532
81533 # ### END LIBTOOL TAG CONFIG: CXX
81534 _LT_EOF
81535
81536 ;;
81537 "include/gstdint.h":C)
81538 if test "$GCC" = yes; then
81539 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
81540 else
81541 echo "/* generated for $CC */" > tmp-stdint.h
81542 fi
81543
81544 sed 's/^ *//' >> tmp-stdint.h <<EOF
81545
81546 #ifndef GCC_GENERATED_STDINT_H
81547 #define GCC_GENERATED_STDINT_H 1
81548
81549 #include <sys/types.h>
81550 EOF
81551
81552 if test "$acx_cv_header_stdint" != stdint.h; then
81553 echo "#include <stddef.h>" >> tmp-stdint.h
81554 fi
81555 if test "$acx_cv_header_stdint" != stddef.h; then
81556 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
81557 fi
81558
81559 sed 's/^ *//' >> tmp-stdint.h <<EOF
81560 /* glibc uses these symbols as guards to prevent redefinitions. */
81561 #ifdef __int8_t_defined
81562 #define _INT8_T
81563 #define _INT16_T
81564 #define _INT32_T
81565 #endif
81566 #ifdef __uint32_t_defined
81567 #define _UINT32_T
81568 #endif
81569
81570 EOF
81571
81572 # ----------------- done header, emit basic int types -------------
81573 if test "$acx_cv_header_stdint" = stddef.h; then
81574 sed 's/^ *//' >> tmp-stdint.h <<EOF
81575
81576 #ifndef _UINT8_T
81577 #define _UINT8_T
81578 #ifndef __uint8_t_defined
81579 #define __uint8_t_defined
81580 #ifndef uint8_t
81581 typedef unsigned $acx_cv_type_int8_t uint8_t;
81582 #endif
81583 #endif
81584 #endif
81585
81586 #ifndef _UINT16_T
81587 #define _UINT16_T
81588 #ifndef __uint16_t_defined
81589 #define __uint16_t_defined
81590 #ifndef uint16_t
81591 typedef unsigned $acx_cv_type_int16_t uint16_t;
81592 #endif
81593 #endif
81594 #endif
81595
81596 #ifndef _UINT32_T
81597 #define _UINT32_T
81598 #ifndef __uint32_t_defined
81599 #define __uint32_t_defined
81600 #ifndef uint32_t
81601 typedef unsigned $acx_cv_type_int32_t uint32_t;
81602 #endif
81603 #endif
81604 #endif
81605
81606 #ifndef _INT8_T
81607 #define _INT8_T
81608 #ifndef __int8_t_defined
81609 #define __int8_t_defined
81610 #ifndef int8_t
81611 typedef $acx_cv_type_int8_t int8_t;
81612 #endif
81613 #endif
81614 #endif
81615
81616 #ifndef _INT16_T
81617 #define _INT16_T
81618 #ifndef __int16_t_defined
81619 #define __int16_t_defined
81620 #ifndef int16_t
81621 typedef $acx_cv_type_int16_t int16_t;
81622 #endif
81623 #endif
81624 #endif
81625
81626 #ifndef _INT32_T
81627 #define _INT32_T
81628 #ifndef __int32_t_defined
81629 #define __int32_t_defined
81630 #ifndef int32_t
81631 typedef $acx_cv_type_int32_t int32_t;
81632 #endif
81633 #endif
81634 #endif
81635 EOF
81636 elif test "$ac_cv_type_u_int32_t" = yes; then
81637 sed 's/^ *//' >> tmp-stdint.h <<EOF
81638
81639 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81640 #ifndef _INT8_T
81641 #define _INT8_T
81642 #endif
81643 #ifndef _INT16_T
81644 #define _INT16_T
81645 #endif
81646 #ifndef _INT32_T
81647 #define _INT32_T
81648 #endif
81649
81650 #ifndef _UINT8_T
81651 #define _UINT8_T
81652 #ifndef __uint8_t_defined
81653 #define __uint8_t_defined
81654 #ifndef uint8_t
81655 typedef u_int8_t uint8_t;
81656 #endif
81657 #endif
81658 #endif
81659
81660 #ifndef _UINT16_T
81661 #define _UINT16_T
81662 #ifndef __uint16_t_defined
81663 #define __uint16_t_defined
81664 #ifndef uint16_t
81665 typedef u_int16_t uint16_t;
81666 #endif
81667 #endif
81668 #endif
81669
81670 #ifndef _UINT32_T
81671 #define _UINT32_T
81672 #ifndef __uint32_t_defined
81673 #define __uint32_t_defined
81674 #ifndef uint32_t
81675 typedef u_int32_t uint32_t;
81676 #endif
81677 #endif
81678 #endif
81679 EOF
81680 else
81681 sed 's/^ *//' >> tmp-stdint.h <<EOF
81682
81683 /* Some systems have guard macros to prevent redefinitions, define them. */
81684 #ifndef _INT8_T
81685 #define _INT8_T
81686 #endif
81687 #ifndef _INT16_T
81688 #define _INT16_T
81689 #endif
81690 #ifndef _INT32_T
81691 #define _INT32_T
81692 #endif
81693 #ifndef _UINT8_T
81694 #define _UINT8_T
81695 #endif
81696 #ifndef _UINT16_T
81697 #define _UINT16_T
81698 #endif
81699 #ifndef _UINT32_T
81700 #define _UINT32_T
81701 #endif
81702 EOF
81703 fi
81704
81705 # ------------- done basic int types, emit int64_t types ------------
81706 if test "$ac_cv_type_uint64_t" = yes; then
81707 sed 's/^ *//' >> tmp-stdint.h <<EOF
81708
81709 /* system headers have good uint64_t and int64_t */
81710 #ifndef _INT64_T
81711 #define _INT64_T
81712 #endif
81713 #ifndef _UINT64_T
81714 #define _UINT64_T
81715 #endif
81716 EOF
81717 elif test "$ac_cv_type_u_int64_t" = yes; then
81718 sed 's/^ *//' >> tmp-stdint.h <<EOF
81719
81720 /* system headers have an u_int64_t (and int64_t) */
81721 #ifndef _INT64_T
81722 #define _INT64_T
81723 #endif
81724 #ifndef _UINT64_T
81725 #define _UINT64_T
81726 #ifndef __uint64_t_defined
81727 #define __uint64_t_defined
81728 #ifndef uint64_t
81729 typedef u_int64_t uint64_t;
81730 #endif
81731 #endif
81732 #endif
81733 EOF
81734 elif test -n "$acx_cv_type_int64_t"; then
81735 sed 's/^ *//' >> tmp-stdint.h <<EOF
81736
81737 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81738 #ifndef _INT64_T
81739 #define _INT64_T
81740 #ifndef int64_t
81741 typedef $acx_cv_type_int64_t int64_t;
81742 #endif
81743 #endif
81744 #ifndef _UINT64_T
81745 #define _UINT64_T
81746 #ifndef __uint64_t_defined
81747 #define __uint64_t_defined
81748 #ifndef uint64_t
81749 typedef unsigned $acx_cv_type_int64_t uint64_t;
81750 #endif
81751 #endif
81752 #endif
81753 EOF
81754 else
81755 sed 's/^ *//' >> tmp-stdint.h <<EOF
81756
81757 /* some common heuristics for int64_t, using compiler-specific tests */
81758 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81759 #ifndef _INT64_T
81760 #define _INT64_T
81761 #ifndef __int64_t_defined
81762 #ifndef int64_t
81763 typedef long long int64_t;
81764 #endif
81765 #endif
81766 #endif
81767 #ifndef _UINT64_T
81768 #define _UINT64_T
81769 #ifndef uint64_t
81770 typedef unsigned long long uint64_t;
81771 #endif
81772 #endif
81773
81774 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81775 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81776 does not implement __extension__. But that compiler doesn't define
81777 __GNUC_MINOR__. */
81778 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81779 # define __extension__
81780 # endif
81781
81782 # ifndef _INT64_T
81783 # define _INT64_T
81784 # ifndef int64_t
81785 __extension__ typedef long long int64_t;
81786 # endif
81787 # endif
81788 # ifndef _UINT64_T
81789 # define _UINT64_T
81790 # ifndef uint64_t
81791 __extension__ typedef unsigned long long uint64_t;
81792 # endif
81793 # endif
81794
81795 #elif !defined __STRICT_ANSI__
81796 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81797
81798 # ifndef _INT64_T
81799 # define _INT64_T
81800 # ifndef int64_t
81801 typedef __int64 int64_t;
81802 # endif
81803 # endif
81804 # ifndef _UINT64_T
81805 # define _UINT64_T
81806 # ifndef uint64_t
81807 typedef unsigned __int64 uint64_t;
81808 # endif
81809 # endif
81810 # endif /* compiler */
81811
81812 #endif /* ANSI version */
81813 EOF
81814 fi
81815
81816 # ------------- done int64_t types, emit intptr types ------------
81817 if test "$ac_cv_type_uintptr_t" != yes; then
81818 sed 's/^ *//' >> tmp-stdint.h <<EOF
81819
81820 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81821 #ifndef __uintptr_t_defined
81822 #ifndef uintptr_t
81823 typedef u$acx_cv_type_intptr_t uintptr_t;
81824 #endif
81825 #endif
81826 #ifndef __intptr_t_defined
81827 #ifndef intptr_t
81828 typedef $acx_cv_type_intptr_t intptr_t;
81829 #endif
81830 #endif
81831 EOF
81832 fi
81833
81834 # ------------- done intptr types, emit int_least types ------------
81835 if test "$ac_cv_type_int_least32_t" != yes; then
81836 sed 's/^ *//' >> tmp-stdint.h <<EOF
81837
81838 /* Define int_least types */
81839 typedef int8_t int_least8_t;
81840 typedef int16_t int_least16_t;
81841 typedef int32_t int_least32_t;
81842 #ifdef _INT64_T
81843 typedef int64_t int_least64_t;
81844 #endif
81845
81846 typedef uint8_t uint_least8_t;
81847 typedef uint16_t uint_least16_t;
81848 typedef uint32_t uint_least32_t;
81849 #ifdef _UINT64_T
81850 typedef uint64_t uint_least64_t;
81851 #endif
81852 EOF
81853 fi
81854
81855 # ------------- done intptr types, emit int_fast types ------------
81856 if test "$ac_cv_type_int_fast32_t" != yes; then
81857 sed 's/^ *//' >> tmp-stdint.h <<EOF
81858
81859 /* Define int_fast types. short is often slow */
81860 typedef int8_t int_fast8_t;
81861 typedef int int_fast16_t;
81862 typedef int32_t int_fast32_t;
81863 #ifdef _INT64_T
81864 typedef int64_t int_fast64_t;
81865 #endif
81866
81867 typedef uint8_t uint_fast8_t;
81868 typedef unsigned int uint_fast16_t;
81869 typedef uint32_t uint_fast32_t;
81870 #ifdef _UINT64_T
81871 typedef uint64_t uint_fast64_t;
81872 #endif
81873 EOF
81874 fi
81875
81876 if test "$ac_cv_type_uintmax_t" != yes; then
81877 sed 's/^ *//' >> tmp-stdint.h <<EOF
81878
81879 /* Define intmax based on what we found */
81880 #ifndef intmax_t
81881 #ifdef _INT64_T
81882 typedef int64_t intmax_t;
81883 #else
81884 typedef long intmax_t;
81885 #endif
81886 #endif
81887 #ifndef uintmax_t
81888 #ifdef _UINT64_T
81889 typedef uint64_t uintmax_t;
81890 #else
81891 typedef unsigned long uintmax_t;
81892 #endif
81893 #endif
81894 EOF
81895 fi
81896
81897 sed 's/^ *//' >> tmp-stdint.h <<EOF
81898
81899 #endif /* GCC_GENERATED_STDINT_H */
81900 EOF
81901
81902 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81903 rm -f tmp-stdint.h
81904 else
81905 mv -f tmp-stdint.h include/gstdint.h
81906 fi
81907
81908 ;;
81909 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81910 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81911 "include/Makefile":F) cat > vpsed$$ << \_EOF
81912 s!`test -f '$<' || echo '$(srcdir)/'`!!
81913 _EOF
81914 sed -f vpsed$$ $ac_file > tmp$$
81915 mv tmp$$ $ac_file
81916 rm vpsed$$
81917 echo 'MULTISUBDIR =' >> $ac_file
81918 ml_norecursion=yes
81919 . ${multi_basedir}/config-ml.in
81920 { ml_norecursion=; unset ml_norecursion;}
81921 ;;
81922 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81923 s!`test -f '$<' || echo '$(srcdir)/'`!!
81924 _EOF
81925 sed -f vpsed$$ $ac_file > tmp$$
81926 mv tmp$$ $ac_file
81927 rm vpsed$$
81928 echo 'MULTISUBDIR =' >> $ac_file
81929 ml_norecursion=yes
81930 . ${multi_basedir}/config-ml.in
81931 { ml_norecursion=; unset ml_norecursion;}
81932 ;;
81933 "src/Makefile":F) cat > vpsed$$ << \_EOF
81934 s!`test -f '$<' || echo '$(srcdir)/'`!!
81935 _EOF
81936 sed -f vpsed$$ $ac_file > tmp$$
81937 mv tmp$$ $ac_file
81938 rm vpsed$$
81939 echo 'MULTISUBDIR =' >> $ac_file
81940 ml_norecursion=yes
81941 . ${multi_basedir}/config-ml.in
81942 { ml_norecursion=; unset ml_norecursion;}
81943 ;;
81944 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81945 s!`test -f '$<' || echo '$(srcdir)/'`!!
81946 _EOF
81947 sed -f vpsed$$ $ac_file > tmp$$
81948 mv tmp$$ $ac_file
81949 rm vpsed$$
81950 echo 'MULTISUBDIR =' >> $ac_file
81951 ml_norecursion=yes
81952 . ${multi_basedir}/config-ml.in
81953 { ml_norecursion=; unset ml_norecursion;}
81954 ;;
81955 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81956 s!`test -f '$<' || echo '$(srcdir)/'`!!
81957 _EOF
81958 sed -f vpsed$$ $ac_file > tmp$$
81959 mv tmp$$ $ac_file
81960 rm vpsed$$
81961 echo 'MULTISUBDIR =' >> $ac_file
81962 ml_norecursion=yes
81963 . ${multi_basedir}/config-ml.in
81964 { ml_norecursion=; unset ml_norecursion;}
81965 ;;
81966 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81967 s!`test -f '$<' || echo '$(srcdir)/'`!!
81968 _EOF
81969 sed -f vpsed$$ $ac_file > tmp$$
81970 mv tmp$$ $ac_file
81971 rm vpsed$$
81972 echo 'MULTISUBDIR =' >> $ac_file
81973 ml_norecursion=yes
81974 . ${multi_basedir}/config-ml.in
81975 { ml_norecursion=; unset ml_norecursion;}
81976 ;;
81977 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81978 s!`test -f '$<' || echo '$(srcdir)/'`!!
81979 _EOF
81980 sed -f vpsed$$ $ac_file > tmp$$
81981 mv tmp$$ $ac_file
81982 rm vpsed$$
81983 echo 'MULTISUBDIR =' >> $ac_file
81984 ml_norecursion=yes
81985 . ${multi_basedir}/config-ml.in
81986 { ml_norecursion=; unset ml_norecursion;}
81987 ;;
81988 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81989 s!`test -f '$<' || echo '$(srcdir)/'`!!
81990 _EOF
81991 sed -f vpsed$$ $ac_file > tmp$$
81992 mv tmp$$ $ac_file
81993 rm vpsed$$
81994 echo 'MULTISUBDIR =' >> $ac_file
81995 ml_norecursion=yes
81996 . ${multi_basedir}/config-ml.in
81997 { ml_norecursion=; unset ml_norecursion;}
81998 ;;
81999 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
82000 s!`test -f '$<' || echo '$(srcdir)/'`!!
82001 _EOF
82002 sed -f vpsed$$ $ac_file > tmp$$
82003 mv tmp$$ $ac_file
82004 rm vpsed$$
82005 echo 'MULTISUBDIR =' >> $ac_file
82006 ml_norecursion=yes
82007 . ${multi_basedir}/config-ml.in
82008 { ml_norecursion=; unset ml_norecursion;}
82009 ;;
82010 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82011 s!`test -f '$<' || echo '$(srcdir)/'`!!
82012 _EOF
82013 sed -f vpsed$$ $ac_file > tmp$$
82014 mv tmp$$ $ac_file
82015 rm vpsed$$
82016 echo 'MULTISUBDIR =' >> $ac_file
82017 ml_norecursion=yes
82018 . ${multi_basedir}/config-ml.in
82019 { ml_norecursion=; unset ml_norecursion;}
82020 ;;
82021 "po/Makefile":F) cat > vpsed$$ << \_EOF
82022 s!`test -f '$<' || echo '$(srcdir)/'`!!
82023 _EOF
82024 sed -f vpsed$$ $ac_file > tmp$$
82025 mv tmp$$ $ac_file
82026 rm vpsed$$
82027 echo 'MULTISUBDIR =' >> $ac_file
82028 ml_norecursion=yes
82029 . ${multi_basedir}/config-ml.in
82030 { ml_norecursion=; unset ml_norecursion;}
82031 ;;
82032 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82033 s!`test -f '$<' || echo '$(srcdir)/'`!!
82034 _EOF
82035 sed -f vpsed$$ $ac_file > tmp$$
82036 mv tmp$$ $ac_file
82037 rm vpsed$$
82038 echo 'MULTISUBDIR =' >> $ac_file
82039 ml_norecursion=yes
82040 . ${multi_basedir}/config-ml.in
82041 { ml_norecursion=; unset ml_norecursion;}
82042 ;;
82043 "python/Makefile":F) cat > vpsed$$ << \_EOF
82044 s!`test -f '$<' || echo '$(srcdir)/'`!!
82045 _EOF
82046 sed -f vpsed$$ $ac_file > tmp$$
82047 mv tmp$$ $ac_file
82048 rm vpsed$$
82049 echo 'MULTISUBDIR =' >> $ac_file
82050 ml_norecursion=yes
82051 . ${multi_basedir}/config-ml.in
82052 { ml_norecursion=; unset ml_norecursion;}
82053 ;;
82054 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82055
82056 esac
82057 done # for ac_tag
82058
82059
82060 as_fn_exit 0
82061 _ACEOF
82062 ac_clean_files=$ac_clean_files_save
82063
82064 test $ac_write_fail = 0 ||
82065 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
82066
82067
82068 # configure is writing to config.log, and then calls config.status.
82069 # config.status does its own redirection, appending to config.log.
82070 # Unfortunately, on DOS this fails, as config.log is still kept open
82071 # by configure, so config.status won't be able to write to it; its
82072 # output is simply discarded. So we exec the FD to /dev/null,
82073 # effectively closing config.log, so it can be properly (re)opened and
82074 # appended to by config.status. When coming back to configure, we
82075 # need to make the FD available again.
82076 if test "$no_create" != yes; then
82077 ac_cs_success=:
82078 ac_config_status_args=
82079 test "$silent" = yes &&
82080 ac_config_status_args="$ac_config_status_args --quiet"
82081 exec 5>/dev/null
82082 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82083 exec 5>>config.log
82084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82085 # would make configure fail if this is the last instruction.
82086 $ac_cs_success || as_fn_exit 1
82087 fi
82088 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82090 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82091 fi
82092
This page took 4.475058 seconds and 5 git commands to generate.